NODEDC_BIM_VIEWER/docs/ast/source/contextMenus/CanvasContextMenu.js.json

43087 lines
1.8 MiB

{
"type": "File",
"start": 0,
"end": 6927,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 147,
"column": 27
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6927,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 147,
"column": 27
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 75,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 75
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
},
{
"type": "ImportSpecifier",
"start": 14,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 14,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "ContextMenu"
},
"name": "ContextMenu"
},
"local": {
"type": "Identifier",
"start": 14,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "ContextMenu"
},
"name": "ContextMenu"
}
}
],
"source": {
"type": "StringLiteral",
"start": 32,
"end": 74,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 74
}
},
"extra": {
"rawValue": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js",
"raw": "\"@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js\""
},
"value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 77,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 5,
"column": 3
}
}
}
]
},
{
"type": "Identifier",
"start": 97,
"end": 6898,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 103,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "CanvasContextMenu"
},
"name": "CanvasContextMenu",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 129,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 43
},
"identifierName": "ContextMenu"
},
"name": "ContextMenu"
},
"body": {
"type": "ClassBody",
"start": 141,
"end": 6898,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 145,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 147,
"end": 6896,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 144,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 147,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "AssignmentPattern",
"start": 159,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 159,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 19
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 165,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 24
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 169,
"end": 6896,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 144,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 179,
"end": 6890,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 143,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 179,
"end": 6889,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 143,
"column": 10
}
},
"callee": {
"type": "Super",
"start": 179,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"start": 185,
"end": 6888,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 143,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 199,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 199,
"end": 211,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "hideOnAction"
},
"name": "hideOnAction"
},
"value": {
"type": "MemberExpression",
"start": 213,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 213,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 29
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 42
},
"identifierName": "hideOnAction"
},
"name": "hideOnAction"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 243,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 243,
"end": 250,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"value": {
"type": "MemberExpression",
"start": 252,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 252,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 24
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 256,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 32
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 277,
"end": 6878,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 142,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 277,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 17
},
"identifierName": "items"
},
"name": "items"
},
"value": {
"type": "ArrayExpression",
"start": 284,
"end": 6878,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 142,
"column": 13
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 302,
"end": 2084,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 46,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 324,
"end": 1098,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 350,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 16,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 350,
"end": 358,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 360,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 16,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 373,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 16,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 403,
"end": 499,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 124
}
},
"argument": {
"type": "LogicalExpression",
"start": 410,
"end": 498,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 123
}
},
"left": {
"type": "CallExpression",
"start": 410,
"end": 480,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 410,
"end": 448,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 410,
"end": 438,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 410,
"end": 424,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 410,
"end": 417,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 418,
"end": 424,
"loc": {
"start": {
"line": 15,
"column": 43
},
"end": {
"line": 15,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 425,
"end": 438,
"loc": {
"start": {
"line": 15,
"column": 50
},
"end": {
"line": 15,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 439,
"end": 448,
"loc": {
"start": {
"line": 15,
"column": 64
},
"end": {
"line": 15,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 449,
"end": 479,
"loc": {
"start": {
"line": 15,
"column": 74
},
"end": {
"line": 15,
"column": 104
}
},
"extra": {
"rawValue": "canvasContextMenu.viewFitAll",
"raw": "\"canvasContextMenu.viewFitAll\""
},
"value": "canvasContextMenu.viewFitAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 484,
"end": 498,
"loc": {
"start": {
"line": 15,
"column": 109
},
"end": {
"line": 15,
"column": 123
}
},
"extra": {
"rawValue": "View Fit All",
"raw": "\"View Fit All\""
},
"value": "View Fit All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 551,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 26,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 551,
"end": 559,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 561,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 26,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 562,
"end": 569,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 574,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 47
},
"end": {
"line": 26,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 604,
"end": 634,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 610,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 619,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 619,
"end": 626,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 50
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 627,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 57
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 663,
"end": 690,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 669,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 669,
"end": 674,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 677,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 677,
"end": 683,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 48
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 49
},
"end": {
"line": 19,
"column": 54
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 719,
"end": 775,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 84
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 725,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 83
}
},
"id": {
"type": "Identifier",
"start": 725,
"end": 734,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 43
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 737,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 737,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 737,
"end": 742,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 51
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 743,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 59
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 751,
"end": 773,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 751,
"end": 756,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 65
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 757,
"end": 773,
"loc": {
"start": {
"line": 20,
"column": 66
},
"end": {
"line": 20,
"column": 82
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 804,
"end": 958,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 24,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 804,
"end": 957,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 24,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 804,
"end": 829,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 804,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 811,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 35
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 824,
"end": 829,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 53
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 830,
"end": 956,
"loc": {
"start": {
"line": 21,
"column": 54
},
"end": {
"line": 24,
"column": 29
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 864,
"end": 879,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 864,
"end": 868,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 36
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 870,
"end": 879,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 47
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 913,
"end": 926,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 913,
"end": 921,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 40
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 923,
"end": 926,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 45
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 987,
"end": 1050,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 91
}
},
"expression": {
"type": "AssignmentExpression",
"start": 987,
"end": 1049,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 90
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 987,
"end": 1016,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 987,
"end": 1007,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 987,
"end": 993,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 994,
"end": 1007,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 48
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 25,
"column": 49
},
"end": {
"line": 25,
"column": 57
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1019,
"end": 1049,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 1019,
"end": 1038,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 64
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 25,
"column": 65
},
"end": {
"line": 25,
"column": 79
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1039,
"end": 1048,
"loc": {
"start": {
"line": 25,
"column": 80
},
"end": {
"line": 25,
"column": 89
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 1120,
"end": 2066,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1146,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1146,
"end": 1154,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1156,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 31,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1157,
"end": 1164,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1169,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 31,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1199,
"end": 1306,
"loc": {
"start": {
"line": 30,
"column": 28
},
"end": {
"line": 30,
"column": 135
}
},
"argument": {
"type": "LogicalExpression",
"start": 1206,
"end": 1305,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 134
}
},
"left": {
"type": "CallExpression",
"start": 1206,
"end": 1282,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 111
}
},
"callee": {
"type": "MemberExpression",
"start": 1206,
"end": 1244,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 1206,
"end": 1234,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 1206,
"end": 1220,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1213,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1220,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1221,
"end": 1234,
"loc": {
"start": {
"line": 30,
"column": 50
},
"end": {
"line": 30,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1235,
"end": 1244,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1245,
"end": 1281,
"loc": {
"start": {
"line": 30,
"column": 74
},
"end": {
"line": 30,
"column": 110
}
},
"extra": {
"rawValue": "canvasContextMenu.viewFitSelection",
"raw": "\"canvasContextMenu.viewFitSelection\""
},
"value": "canvasContextMenu.viewFitSelection"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 1286,
"end": 1305,
"loc": {
"start": {
"line": 30,
"column": 115
},
"end": {
"line": 30,
"column": 134
}
},
"extra": {
"rawValue": "View Fit Selected",
"raw": "\"View Fit Selected\""
},
"value": "View Fit Selected"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 1358,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1358,
"end": 1368,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1370,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 34,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1371,
"end": 1378,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1383,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 49
},
"end": {
"line": 34,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1413,
"end": 1466,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 81
}
},
"argument": {
"type": "BinaryExpression",
"start": 1421,
"end": 1464,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 1421,
"end": 1460,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 1421,
"end": 1441,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1421,
"end": 1435,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1421,
"end": 1428,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1429,
"end": 1435,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1436,
"end": 1441,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1442,
"end": 1460,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 75
},
"identifierName": "numSelectedObjects"
},
"name": "numSelectedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 33,
"column": 78
},
"end": {
"line": 33,
"column": 79
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 1420
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 1518,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1528,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 44,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1529,
"end": 1536,
"loc": {
"start": {
"line": 35,
"column": 35
},
"end": {
"line": 35,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1541,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 44,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1571,
"end": 1601,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1577,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 1577,
"end": 1583,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1586,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1586,
"end": 1593,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 50
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1594,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 57
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1630,
"end": 1657,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1636,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 1636,
"end": 1641,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 1644,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 1644,
"end": 1650,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 48
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1651,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 49
},
"end": {
"line": 37,
"column": 54
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1686,
"end": 1743,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 85
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1692,
"end": 1742,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 84
}
},
"id": {
"type": "Identifier",
"start": 1692,
"end": 1701,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 43
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 1704,
"end": 1742,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 1704,
"end": 1717,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 1704,
"end": 1709,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 51
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1710,
"end": 1717,
"loc": {
"start": {
"line": 38,
"column": 52
},
"end": {
"line": 38,
"column": 59
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1718,
"end": 1741,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 1718,
"end": 1723,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 65
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1724,
"end": 1741,
"loc": {
"start": {
"line": 38,
"column": 66
},
"end": {
"line": 38,
"column": 83
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1772,
"end": 1926,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 42,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 1772,
"end": 1925,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 42,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 1772,
"end": 1797,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1772,
"end": 1791,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1772,
"end": 1778,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1779,
"end": 1791,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 47
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1792,
"end": 1797,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 53
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1798,
"end": 1924,
"loc": {
"start": {
"line": 39,
"column": 54
},
"end": {
"line": 42,
"column": 29
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1832,
"end": 1847,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1832,
"end": 1836,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 36
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 1838,
"end": 1847,
"loc": {
"start": {
"line": 40,
"column": 38
},
"end": {
"line": 40,
"column": 47
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 1881,
"end": 1894,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1881,
"end": 1889,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 40
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 1891,
"end": 1894,
"loc": {
"start": {
"line": 41,
"column": 42
},
"end": {
"line": 41,
"column": 45
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1955,
"end": 2018,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 91
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1955,
"end": 2017,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 90
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1955,
"end": 1984,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1955,
"end": 1975,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1955,
"end": 1961,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1962,
"end": 1975,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 48
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1976,
"end": 1984,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 57
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1987,
"end": 2017,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 1987,
"end": 2006,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 1987,
"end": 1991,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 64
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1992,
"end": 2006,
"loc": {
"start": {
"line": 43,
"column": 65
},
"end": {
"line": 43,
"column": 79
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2007,
"end": 2016,
"loc": {
"start": {
"line": 43,
"column": 80
},
"end": {
"line": 43,
"column": 89
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 2102,
"end": 3515,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 2124,
"end": 2689,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2150,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 51,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2150,
"end": 2158,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2160,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 51,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2161,
"end": 2168,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2173,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 47
},
"end": {
"line": 51,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2203,
"end": 2292,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 50,
"column": 117
}
},
"argument": {
"type": "LogicalExpression",
"start": 2210,
"end": 2291,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 116
}
},
"left": {
"type": "CallExpression",
"start": 2210,
"end": 2277,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 2210,
"end": 2248,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 2210,
"end": 2238,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2210,
"end": 2224,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2210,
"end": 2217,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2218,
"end": 2224,
"loc": {
"start": {
"line": 50,
"column": 43
},
"end": {
"line": 50,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2225,
"end": 2238,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2239,
"end": 2248,
"loc": {
"start": {
"line": 50,
"column": 64
},
"end": {
"line": 50,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2249,
"end": 2276,
"loc": {
"start": {
"line": 50,
"column": 74
},
"end": {
"line": 50,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.hideAll",
"raw": "\"canvasContextMenu.hideAll\""
},
"value": "canvasContextMenu.hideAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 2281,
"end": 2291,
"loc": {
"start": {
"line": 50,
"column": 106
},
"end": {
"line": 50,
"column": 116
}
},
"extra": {
"rawValue": "Hide All",
"raw": "\"Hide All\""
},
"value": "Hide All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2344,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2344,
"end": 2354,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2356,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 54,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2357,
"end": 2364,
"loc": {
"start": {
"line": 52,
"column": 37
},
"end": {
"line": 52,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2369,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 54,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2399,
"end": 2451,
"loc": {
"start": {
"line": 53,
"column": 28
},
"end": {
"line": 53,
"column": 80
}
},
"argument": {
"type": "BinaryExpression",
"start": 2407,
"end": 2449,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 78
}
},
"left": {
"type": "MemberExpression",
"start": 2407,
"end": 2445,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 2407,
"end": 2427,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 2407,
"end": 2421,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2407,
"end": 2414,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2415,
"end": 2421,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2422,
"end": 2427,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2428,
"end": 2445,
"loc": {
"start": {
"line": 53,
"column": 57
},
"end": {
"line": 53,
"column": 74
},
"identifierName": "numVisibleObjects"
},
"name": "numVisibleObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 53,
"column": 77
},
"end": {
"line": 53,
"column": 78
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 2406
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2503,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 57,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2503,
"end": 2511,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2513,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 57,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2514,
"end": 2521,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2526,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 57,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2556,
"end": 2641,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 113
}
},
"expression": {
"type": "CallExpression",
"start": 2556,
"end": 2640,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 112
}
},
"callee": {
"type": "MemberExpression",
"start": 2556,
"end": 2594,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2556,
"end": 2576,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2556,
"end": 2570,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 2556,
"end": 2563,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2564,
"end": 2570,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2571,
"end": 2576,
"loc": {
"start": {
"line": 56,
"column": 43
},
"end": {
"line": 56,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2577,
"end": 2594,
"loc": {
"start": {
"line": 56,
"column": 49
},
"end": {
"line": 56,
"column": 66
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2595,
"end": 2632,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 104
}
},
"object": {
"type": "MemberExpression",
"start": 2595,
"end": 2615,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 87
}
},
"object": {
"type": "MemberExpression",
"start": 2595,
"end": 2609,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 2595,
"end": 2602,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 74
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2603,
"end": 2609,
"loc": {
"start": {
"line": 56,
"column": 75
},
"end": {
"line": 56,
"column": 81
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2610,
"end": 2615,
"loc": {
"start": {
"line": 56,
"column": 82
},
"end": {
"line": 56,
"column": 87
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2616,
"end": 2632,
"loc": {
"start": {
"line": 56,
"column": 88
},
"end": {
"line": 56,
"column": 104
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 2634,
"end": 2639,
"loc": {
"start": {
"line": 56,
"column": 106
},
"end": {
"line": 56,
"column": 111
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 2711,
"end": 3497,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2737,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2737,
"end": 2745,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2747,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 62,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2748,
"end": 2755,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2760,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 47
},
"end": {
"line": 62,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2790,
"end": 2879,
"loc": {
"start": {
"line": 61,
"column": 28
},
"end": {
"line": 61,
"column": 117
}
},
"argument": {
"type": "LogicalExpression",
"start": 2797,
"end": 2878,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 116
}
},
"left": {
"type": "CallExpression",
"start": 2797,
"end": 2864,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 2797,
"end": 2835,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2825,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2811,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2797,
"end": 2804,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2805,
"end": 2811,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2812,
"end": 2825,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2826,
"end": 2835,
"loc": {
"start": {
"line": 61,
"column": 64
},
"end": {
"line": 61,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2836,
"end": 2863,
"loc": {
"start": {
"line": 61,
"column": 74
},
"end": {
"line": 61,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.showAll",
"raw": "\"canvasContextMenu.showAll\""
},
"value": "canvasContextMenu.showAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 2868,
"end": 2878,
"loc": {
"start": {
"line": 61,
"column": 106
},
"end": {
"line": 61,
"column": 116
}
},
"extra": {
"rawValue": "Show All",
"raw": "\"Show All\""
},
"value": "Show All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2931,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2931,
"end": 2941,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2943,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 36
},
"end": {
"line": 66,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2944,
"end": 2951,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2956,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 49
},
"end": {
"line": 66,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2986,
"end": 3021,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2992,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 2992,
"end": 2997,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3000,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3000,
"end": 3014,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3000,
"end": 3007,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3008,
"end": 3014,
"loc": {
"start": {
"line": 64,
"column": 50
},
"end": {
"line": 64,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3015,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 3050,
"end": 3151,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 129
}
},
"argument": {
"type": "LogicalExpression",
"start": 3058,
"end": 3149,
"loc": {
"start": {
"line": 65,
"column": 36
},
"end": {
"line": 65,
"column": 127
}
},
"left": {
"type": "BinaryExpression",
"start": 3059,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 3059,
"end": 3082,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 3059,
"end": 3064,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 42
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3065,
"end": 3082,
"loc": {
"start": {
"line": 65,
"column": 43
},
"end": {
"line": 65,
"column": 60
},
"identifierName": "numVisibleObjects"
},
"name": "numVisibleObjects"
},
"computed": false
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3085,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 63
},
"end": {
"line": 65,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 3085,
"end": 3090,
"loc": {
"start": {
"line": 65,
"column": 63
},
"end": {
"line": 65,
"column": 68
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3091,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 69
},
"end": {
"line": 65,
"column": 79
},
"identifierName": "numObjects"
},
"name": "numObjects"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 3058
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3107,
"end": 3148,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 126
}
},
"left": {
"type": "MemberExpression",
"start": 3107,
"end": 3144,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 122
}
},
"object": {
"type": "MemberExpression",
"start": 3107,
"end": 3127,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 105
}
},
"object": {
"type": "MemberExpression",
"start": 3107,
"end": 3121,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 99
}
},
"object": {
"type": "Identifier",
"start": 3107,
"end": 3114,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 92
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3115,
"end": 3121,
"loc": {
"start": {
"line": 65,
"column": 93
},
"end": {
"line": 65,
"column": 99
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3122,
"end": 3127,
"loc": {
"start": {
"line": 65,
"column": 100
},
"end": {
"line": 65,
"column": 105
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3128,
"end": 3144,
"loc": {
"start": {
"line": 65,
"column": 106
},
"end": {
"line": 65,
"column": 122
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3147,
"end": 3148,
"loc": {
"start": {
"line": 65,
"column": 125
},
"end": {
"line": 65,
"column": 126
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 3106
}
},
"extra": {
"parenthesized": true,
"parenStart": 3057
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3203,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 71,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3203,
"end": 3211,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3213,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 71,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3214,
"end": 3221,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3226,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 71,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3256,
"end": 3291,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3262,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 3262,
"end": 3267,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3270,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3270,
"end": 3284,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3270,
"end": 3277,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3278,
"end": 3284,
"loc": {
"start": {
"line": 68,
"column": 50
},
"end": {
"line": 68,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3285,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3320,
"end": 3367,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 3320,
"end": 3366,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 3320,
"end": 3343,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 3320,
"end": 3325,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3326,
"end": 3343,
"loc": {
"start": {
"line": 69,
"column": 34
},
"end": {
"line": 69,
"column": 51
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3344,
"end": 3359,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 3344,
"end": 3349,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 57
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3350,
"end": 3359,
"loc": {
"start": {
"line": 69,
"column": 58
},
"end": {
"line": 69,
"column": 67
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 3361,
"end": 3365,
"loc": {
"start": {
"line": 69,
"column": 69
},
"end": {
"line": 69,
"column": 73
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3396,
"end": 3449,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 3396,
"end": 3448,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 3396,
"end": 3418,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3396,
"end": 3401,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3402,
"end": 3418,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 50
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3419,
"end": 3440,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 3419,
"end": 3424,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3425,
"end": 3440,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 72
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 3442,
"end": 3447,
"loc": {
"start": {
"line": 70,
"column": 74
},
"end": {
"line": 70,
"column": 79
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 3533,
"end": 5243,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 3555,
"end": 4477,
"loc": {
"start": {
"line": 75,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3581,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 78,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3581,
"end": 3589,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3591,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 78,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3592,
"end": 3599,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3604,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 47
},
"end": {
"line": 78,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3634,
"end": 3724,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 118
}
},
"argument": {
"type": "LogicalExpression",
"start": 3641,
"end": 3723,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 117
}
},
"left": {
"type": "CallExpression",
"start": 3641,
"end": 3708,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 3641,
"end": 3679,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 3641,
"end": 3669,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 3641,
"end": 3655,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3641,
"end": 3648,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3649,
"end": 3655,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3656,
"end": 3669,
"loc": {
"start": {
"line": 77,
"column": 50
},
"end": {
"line": 77,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3670,
"end": 3679,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3680,
"end": 3707,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.xRayAll",
"raw": "\"canvasContextMenu.xRayAll\""
},
"value": "canvasContextMenu.xRayAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 3712,
"end": 3723,
"loc": {
"start": {
"line": 77,
"column": 106
},
"end": {
"line": 77,
"column": 117
}
},
"extra": {
"rawValue": "X-Ray All",
"raw": "\"X-Ray All\""
},
"value": "X-Ray All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3776,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3776,
"end": 3786,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3788,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 82,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3789,
"end": 3796,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3801,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 49
},
"end": {
"line": 82,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3831,
"end": 3866,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3837,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 3837,
"end": 3842,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3845,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3845,
"end": 3859,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3845,
"end": 3852,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3853,
"end": 3859,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3860,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 80,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 3895,
"end": 3946,
"loc": {
"start": {
"line": 81,
"column": 28
},
"end": {
"line": 81,
"column": 79
}
},
"argument": {
"type": "BinaryExpression",
"start": 3903,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 77
}
},
"left": {
"type": "MemberExpression",
"start": 3903,
"end": 3925,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 3903,
"end": 3908,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 41
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3909,
"end": 3925,
"loc": {
"start": {
"line": 81,
"column": 42
},
"end": {
"line": 81,
"column": 58
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3928,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 3928,
"end": 3933,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 66
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3934,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 77
},
"identifierName": "numObjects"
},
"name": "numObjects"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 3902
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3998,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3998,
"end": 4006,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4008,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 34
},
"end": {
"line": 90,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4009,
"end": 4016,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4021,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 90,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4051,
"end": 4086,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4057,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 4057,
"end": 4062,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 4065,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 4065,
"end": 4079,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 4065,
"end": 4072,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4073,
"end": 4079,
"loc": {
"start": {
"line": 84,
"column": 50
},
"end": {
"line": 84,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4080,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 57
},
"end": {
"line": 84,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4115,
"end": 4162,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 4115,
"end": 4161,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 4115,
"end": 4138,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 4115,
"end": 4120,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4121,
"end": 4138,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 51
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4139,
"end": 4154,
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 4139,
"end": 4144,
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 57
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4145,
"end": 4154,
"loc": {
"start": {
"line": 85,
"column": 58
},
"end": {
"line": 85,
"column": 67
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4156,
"end": 4160,
"loc": {
"start": {
"line": 85,
"column": 69
},
"end": {
"line": 85,
"column": 73
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4191,
"end": 4237,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 4191,
"end": 4236,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 4191,
"end": 4213,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4191,
"end": 4196,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4197,
"end": 4213,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 50
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4214,
"end": 4229,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4214,
"end": 4219,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4220,
"end": 4229,
"loc": {
"start": {
"line": 86,
"column": 57
},
"end": {
"line": 86,
"column": 66
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4231,
"end": 4235,
"loc": {
"start": {
"line": 86,
"column": 68
},
"end": {
"line": 86,
"column": 72
}
},
"value": true
}
]
}
},
{
"type": "IfStatement",
"start": 4266,
"end": 4429,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 89,
"column": 29
}
},
"test": {
"type": "UnaryExpression",
"start": 4270,
"end": 4314,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 76
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 4271,
"end": 4314,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 4271,
"end": 4298,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 4271,
"end": 4288,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4271,
"end": 4278,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 40
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4279,
"end": 4288,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 50
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4289,
"end": 4298,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 60
},
"identifierName": "getConfig"
},
"name": "getConfig"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4299,
"end": 4313,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 75
}
},
"extra": {
"rawValue": "xrayPickable",
"raw": "\"xrayPickable\""
},
"value": "xrayPickable"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4316,
"end": 4429,
"loc": {
"start": {
"line": 87,
"column": 78
},
"end": {
"line": 89,
"column": 29
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4350,
"end": 4399,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 4350,
"end": 4398,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 4350,
"end": 4374,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 4350,
"end": 4355,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 37
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4356,
"end": 4374,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 56
},
"identifierName": "setObjectsPickable"
},
"name": "setObjectsPickable"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4375,
"end": 4390,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 4375,
"end": 4380,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4381,
"end": 4390,
"loc": {
"start": {
"line": 88,
"column": 63
},
"end": {
"line": 88,
"column": 72
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4392,
"end": 4397,
"loc": {
"start": {
"line": 88,
"column": 74
},
"end": {
"line": 88,
"column": 79
}
},
"value": false
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 4499,
"end": 5225,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 104,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4525,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 95,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4525,
"end": 4533,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4535,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 95,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4536,
"end": 4543,
"loc": {
"start": {
"line": 93,
"column": 35
},
"end": {
"line": 93,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4548,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 47
},
"end": {
"line": 95,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4578,
"end": 4670,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 120
}
},
"argument": {
"type": "LogicalExpression",
"start": 4585,
"end": 4669,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 119
}
},
"left": {
"type": "CallExpression",
"start": 4585,
"end": 4653,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 103
}
},
"callee": {
"type": "MemberExpression",
"start": 4585,
"end": 4623,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 4585,
"end": 4613,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 4585,
"end": 4599,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 4585,
"end": 4592,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4593,
"end": 4599,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4600,
"end": 4613,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4614,
"end": 4623,
"loc": {
"start": {
"line": 94,
"column": 64
},
"end": {
"line": 94,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4624,
"end": 4652,
"loc": {
"start": {
"line": 94,
"column": 74
},
"end": {
"line": 94,
"column": 102
}
},
"extra": {
"rawValue": "canvasContextMenu.xRayNone",
"raw": "\"canvasContextMenu.xRayNone\""
},
"value": "canvasContextMenu.xRayNone"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 4657,
"end": 4669,
"loc": {
"start": {
"line": 94,
"column": 107
},
"end": {
"line": 94,
"column": 119
}
},
"extra": {
"rawValue": "X-Ray None",
"raw": "\"X-Ray None\""
},
"value": "X-Ray None"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 4722,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 98,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4722,
"end": 4732,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4734,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 98,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4735,
"end": 4742,
"loc": {
"start": {
"line": 96,
"column": 37
},
"end": {
"line": 96,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4747,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 98,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4777,
"end": 4828,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 79
}
},
"argument": {
"type": "BinaryExpression",
"start": 4785,
"end": 4826,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 77
}
},
"left": {
"type": "MemberExpression",
"start": 4785,
"end": 4822,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 4785,
"end": 4805,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 4785,
"end": 4799,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4785,
"end": 4792,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4793,
"end": 4799,
"loc": {
"start": {
"line": 97,
"column": 44
},
"end": {
"line": 97,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4800,
"end": 4805,
"loc": {
"start": {
"line": 97,
"column": 51
},
"end": {
"line": 97,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4806,
"end": 4822,
"loc": {
"start": {
"line": 97,
"column": 57
},
"end": {
"line": 97,
"column": 73
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 4825,
"end": 4826,
"loc": {
"start": {
"line": 97,
"column": 76
},
"end": {
"line": 97,
"column": 77
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 4784
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 4880,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 103,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4880,
"end": 4888,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4890,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 103,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4891,
"end": 4898,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4903,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 47
},
"end": {
"line": 103,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4933,
"end": 4994,
"loc": {
"start": {
"line": 100,
"column": 28
},
"end": {
"line": 100,
"column": 89
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4939,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 88
}
},
"id": {
"type": "Identifier",
"start": 4939,
"end": 4954,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 49
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"init": {
"type": "MemberExpression",
"start": 4957,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 88
}
},
"object": {
"type": "MemberExpression",
"start": 4957,
"end": 4977,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 4957,
"end": 4971,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4957,
"end": 4964,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 59
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4965,
"end": 4971,
"loc": {
"start": {
"line": 100,
"column": 60
},
"end": {
"line": 100,
"column": 66
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4972,
"end": 4977,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 72
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4978,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 73
},
"end": {
"line": 100,
"column": 88
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 5023,
"end": 5086,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 91
}
},
"expression": {
"type": "CallExpression",
"start": 5023,
"end": 5085,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 5023,
"end": 5062,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 5023,
"end": 5043,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5023,
"end": 5037,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5023,
"end": 5030,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5031,
"end": 5037,
"loc": {
"start": {
"line": 101,
"column": 36
},
"end": {
"line": 101,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5038,
"end": 5043,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5044,
"end": 5062,
"loc": {
"start": {
"line": 101,
"column": 49
},
"end": {
"line": 101,
"column": 67
},
"identifierName": "setObjectsPickable"
},
"name": "setObjectsPickable"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5063,
"end": 5078,
"loc": {
"start": {
"line": 101,
"column": 68
},
"end": {
"line": 101,
"column": 83
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
{
"type": "BooleanLiteral",
"start": 5080,
"end": 5084,
"loc": {
"start": {
"line": 101,
"column": 85
},
"end": {
"line": 101,
"column": 89
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5115,
"end": 5177,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 90
}
},
"expression": {
"type": "CallExpression",
"start": 5115,
"end": 5176,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 5115,
"end": 5152,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 5115,
"end": 5135,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5115,
"end": 5129,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5115,
"end": 5122,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5123,
"end": 5129,
"loc": {
"start": {
"line": 102,
"column": 36
},
"end": {
"line": 102,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5130,
"end": 5135,
"loc": {
"start": {
"line": 102,
"column": 43
},
"end": {
"line": 102,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5136,
"end": 5152,
"loc": {
"start": {
"line": 102,
"column": 49
},
"end": {
"line": 102,
"column": 65
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5153,
"end": 5168,
"loc": {
"start": {
"line": 102,
"column": 66
},
"end": {
"line": 102,
"column": 81
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
{
"type": "BooleanLiteral",
"start": 5170,
"end": 5175,
"loc": {
"start": {
"line": 102,
"column": 83
},
"end": {
"line": 102,
"column": 88
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 5261,
"end": 5875,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 118,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 5283,
"end": 5857,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 117,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5309,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 110,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5309,
"end": 5317,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5319,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 110,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5320,
"end": 5327,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5332,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 47
},
"end": {
"line": 110,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5362,
"end": 5457,
"loc": {
"start": {
"line": 109,
"column": 28
},
"end": {
"line": 109,
"column": 123
}
},
"argument": {
"type": "LogicalExpression",
"start": 5369,
"end": 5456,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 122
}
},
"left": {
"type": "CallExpression",
"start": 5369,
"end": 5439,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 5369,
"end": 5407,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 5369,
"end": 5397,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 5369,
"end": 5383,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 5369,
"end": 5376,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5377,
"end": 5383,
"loc": {
"start": {
"line": 109,
"column": 43
},
"end": {
"line": 109,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5384,
"end": 5397,
"loc": {
"start": {
"line": 109,
"column": 50
},
"end": {
"line": 109,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5398,
"end": 5407,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5408,
"end": 5438,
"loc": {
"start": {
"line": 109,
"column": 74
},
"end": {
"line": 109,
"column": 104
}
},
"extra": {
"rawValue": "canvasContextMenu.selectNone",
"raw": "\"canvasContextMenu.selectNone\""
},
"value": "canvasContextMenu.selectNone"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 5443,
"end": 5456,
"loc": {
"start": {
"line": 109,
"column": 109
},
"end": {
"line": 109,
"column": 122
}
},
"extra": {
"rawValue": "Select None",
"raw": "\"Select None\""
},
"value": "Select None"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 5509,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 113,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5509,
"end": 5519,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5521,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 113,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5522,
"end": 5529,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5534,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 49
},
"end": {
"line": 113,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5564,
"end": 5617,
"loc": {
"start": {
"line": 112,
"column": 28
},
"end": {
"line": 112,
"column": 81
}
},
"argument": {
"type": "BinaryExpression",
"start": 5572,
"end": 5615,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 5572,
"end": 5611,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 5572,
"end": 5592,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 5572,
"end": 5586,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 5572,
"end": 5579,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5580,
"end": 5586,
"loc": {
"start": {
"line": 112,
"column": 44
},
"end": {
"line": 112,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5587,
"end": 5592,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5593,
"end": 5611,
"loc": {
"start": {
"line": 112,
"column": 57
},
"end": {
"line": 112,
"column": 75
},
"identifierName": "numSelectedObjects"
},
"name": "numSelectedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 112,
"column": 78
},
"end": {
"line": 112,
"column": 79
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 5571
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 5669,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 116,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5669,
"end": 5677,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5679,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 116,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5680,
"end": 5687,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5692,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 116,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5722,
"end": 5809,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 115
}
},
"expression": {
"type": "CallExpression",
"start": 5722,
"end": 5808,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 114
}
},
"callee": {
"type": "MemberExpression",
"start": 5722,
"end": 5761,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 5722,
"end": 5742,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5722,
"end": 5736,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5722,
"end": 5729,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5730,
"end": 5736,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5737,
"end": 5742,
"loc": {
"start": {
"line": 115,
"column": 43
},
"end": {
"line": 115,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5743,
"end": 5761,
"loc": {
"start": {
"line": 115,
"column": 49
},
"end": {
"line": 115,
"column": 67
},
"identifierName": "setObjectsSelected"
},
"name": "setObjectsSelected"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5762,
"end": 5800,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 106
}
},
"object": {
"type": "MemberExpression",
"start": 5762,
"end": 5782,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 88
}
},
"object": {
"type": "MemberExpression",
"start": 5762,
"end": 5776,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 5762,
"end": 5769,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 75
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5770,
"end": 5776,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 82
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5777,
"end": 5782,
"loc": {
"start": {
"line": 115,
"column": 83
},
"end": {
"line": 115,
"column": 88
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5783,
"end": 5800,
"loc": {
"start": {
"line": 115,
"column": 89
},
"end": {
"line": 115,
"column": 106
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 5802,
"end": 5807,
"loc": {
"start": {
"line": 115,
"column": 108
},
"end": {
"line": 115,
"column": 113
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 5893,
"end": 6288,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 128,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 5915,
"end": 6270,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 127,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5941,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 123,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5941,
"end": 5949,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5951,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 34
},
"end": {
"line": 123,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5952,
"end": 5959,
"loc": {
"start": {
"line": 121,
"column": 35
},
"end": {
"line": 121,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5964,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 47
},
"end": {
"line": 123,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5994,
"end": 6087,
"loc": {
"start": {
"line": 122,
"column": 28
},
"end": {
"line": 122,
"column": 121
}
},
"argument": {
"type": "LogicalExpression",
"start": 6001,
"end": 6086,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 120
}
},
"left": {
"type": "CallExpression",
"start": 6001,
"end": 6070,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 104
}
},
"callee": {
"type": "MemberExpression",
"start": 6001,
"end": 6039,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 6001,
"end": 6029,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6001,
"end": 6015,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 6001,
"end": 6008,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6009,
"end": 6015,
"loc": {
"start": {
"line": 122,
"column": 43
},
"end": {
"line": 122,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6016,
"end": 6029,
"loc": {
"start": {
"line": 122,
"column": 50
},
"end": {
"line": 122,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6030,
"end": 6039,
"loc": {
"start": {
"line": 122,
"column": 64
},
"end": {
"line": 122,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 6040,
"end": 6069,
"loc": {
"start": {
"line": 122,
"column": 74
},
"end": {
"line": 122,
"column": 103
}
},
"extra": {
"rawValue": "canvasContextMenu.resetView",
"raw": "\"canvasContextMenu.resetView\""
},
"value": "canvasContextMenu.resetView"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 6074,
"end": 6086,
"loc": {
"start": {
"line": 122,
"column": 108
},
"end": {
"line": 122,
"column": 120
}
},
"extra": {
"rawValue": "Reset View",
"raw": "\"Reset View\""
},
"value": "Reset View"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6139,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 24
},
"end": {
"line": 126,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6139,
"end": 6147,
"loc": {
"start": {
"line": 124,
"column": 24
},
"end": {
"line": 124,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6149,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 34
},
"end": {
"line": 126,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6150,
"end": 6157,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6162,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 47
},
"end": {
"line": 126,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6192,
"end": 6222,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 6192,
"end": 6221,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 6192,
"end": 6219,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 6192,
"end": 6209,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 6192,
"end": 6199,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6200,
"end": 6209,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 45
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6210,
"end": 6219,
"loc": {
"start": {
"line": 125,
"column": 46
},
"end": {
"line": 125,
"column": 55
},
"identifierName": "resetView"
},
"name": "resetView"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 6306,
"end": 6864,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 141,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 6328,
"end": 6846,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 140,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6354,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 24
},
"end": {
"line": 133,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6354,
"end": 6362,
"loc": {
"start": {
"line": 131,
"column": 24
},
"end": {
"line": 131,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6364,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 34
},
"end": {
"line": 133,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6365,
"end": 6372,
"loc": {
"start": {
"line": 131,
"column": 35
},
"end": {
"line": 131,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6377,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 47
},
"end": {
"line": 133,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6407,
"end": 6504,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 125
}
},
"argument": {
"type": "LogicalExpression",
"start": 6414,
"end": 6503,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 124
}
},
"left": {
"type": "CallExpression",
"start": 6414,
"end": 6485,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 6414,
"end": 6452,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 6414,
"end": 6442,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6414,
"end": 6428,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 6414,
"end": 6421,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6422,
"end": 6428,
"loc": {
"start": {
"line": 132,
"column": 43
},
"end": {
"line": 132,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6429,
"end": 6442,
"loc": {
"start": {
"line": 132,
"column": 50
},
"end": {
"line": 132,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6443,
"end": 6452,
"loc": {
"start": {
"line": 132,
"column": 64
},
"end": {
"line": 132,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 6453,
"end": 6484,
"loc": {
"start": {
"line": 132,
"column": 74
},
"end": {
"line": 132,
"column": 105
}
},
"extra": {
"rawValue": "canvasContextMenu.clearSlices",
"raw": "\"canvasContextMenu.clearSlices\""
},
"value": "canvasContextMenu.clearSlices"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 6489,
"end": 6503,
"loc": {
"start": {
"line": 132,
"column": 110
},
"end": {
"line": 132,
"column": 124
}
},
"extra": {
"rawValue": "Clear Slices",
"raw": "\"Clear Slices\""
},
"value": "Clear Slices"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6556,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 136,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6556,
"end": 6566,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6568,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 36
},
"end": {
"line": 136,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6569,
"end": 6576,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6581,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 49
},
"end": {
"line": 136,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6611,
"end": 6659,
"loc": {
"start": {
"line": 135,
"column": 28
},
"end": {
"line": 135,
"column": 76
}
},
"argument": {
"type": "BinaryExpression",
"start": 6619,
"end": 6657,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 74
}
},
"left": {
"type": "CallExpression",
"start": 6619,
"end": 6653,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 6619,
"end": 6651,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 6619,
"end": 6636,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 6619,
"end": 6626,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6627,
"end": 6636,
"loc": {
"start": {
"line": 135,
"column": 44
},
"end": {
"line": 135,
"column": 53
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6637,
"end": 6651,
"loc": {
"start": {
"line": 135,
"column": 54
},
"end": {
"line": 135,
"column": 68
},
"identifierName": "getNumSections"
},
"name": "getNumSections"
},
"computed": false
},
"arguments": []
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 135,
"column": 73
},
"end": {
"line": 135,
"column": 74
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 6618
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6711,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 24
},
"end": {
"line": 139,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6711,
"end": 6719,
"loc": {
"start": {
"line": 137,
"column": 24
},
"end": {
"line": 137,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6721,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 34
},
"end": {
"line": 139,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6722,
"end": 6729,
"loc": {
"start": {
"line": 137,
"column": 35
},
"end": {
"line": 137,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6734,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 47
},
"end": {
"line": 139,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6764,
"end": 6798,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 6764,
"end": 6797,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 6764,
"end": 6795,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 6764,
"end": 6781,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 6764,
"end": 6771,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6772,
"end": 6781,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 45
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6782,
"end": 6795,
"loc": {
"start": {
"line": 138,
"column": 46
},
"end": {
"line": 138,
"column": 59
},
"identifierName": "clearSections"
},
"name": "clearSections"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
}
]
}
}
]
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 6900,
"end": 6927,
"loc": {
"start": {
"line": 147,
"column": 0
},
"end": {
"line": 147,
"column": 27
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 6908,
"end": 6925,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 25
}
},
"local": {
"type": "Identifier",
"start": 6908,
"end": 6925,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 25
},
"identifierName": "CanvasContextMenu"
},
"name": "CanvasContextMenu"
},
"exported": {
"type": "Identifier",
"start": 6908,
"end": 6925,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 25
},
"identifierName": "CanvasContextMenu"
},
"name": "CanvasContextMenu"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 6900,
"end": 6927,
"loc": {
"start": {
"line": 147,
"column": 0
},
"end": {
"line": 147,
"column": 27
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 97,
"end": 6898,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 103,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "CanvasContextMenu"
},
"name": "CanvasContextMenu",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 129,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 43
},
"identifierName": "ContextMenu"
},
"name": "ContextMenu"
},
"body": {
"type": "ClassBody",
"start": 141,
"end": 6898,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 145,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 147,
"end": 6896,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 144,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 147,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "AssignmentPattern",
"start": 159,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 159,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 19
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 165,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 24
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 169,
"end": 6896,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 144,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 179,
"end": 6890,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 143,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 179,
"end": 6889,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 143,
"column": 10
}
},
"callee": {
"type": "Super",
"start": 179,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"start": 185,
"end": 6888,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 143,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 199,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 199,
"end": 211,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "hideOnAction"
},
"name": "hideOnAction"
},
"value": {
"type": "MemberExpression",
"start": 213,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 213,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 29
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 42
},
"identifierName": "hideOnAction"
},
"name": "hideOnAction"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 243,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 243,
"end": 250,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"value": {
"type": "MemberExpression",
"start": 252,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 252,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 24
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 256,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 32
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 277,
"end": 6878,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 142,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 277,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 17
},
"identifierName": "items"
},
"name": "items"
},
"value": {
"type": "ArrayExpression",
"start": 284,
"end": 6878,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 142,
"column": 13
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 302,
"end": 2084,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 46,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 324,
"end": 1098,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 350,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 16,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 350,
"end": 358,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 360,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 16,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 373,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 16,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 403,
"end": 499,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 124
}
},
"argument": {
"type": "LogicalExpression",
"start": 410,
"end": 498,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 123
}
},
"left": {
"type": "CallExpression",
"start": 410,
"end": 480,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 410,
"end": 448,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 410,
"end": 438,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 410,
"end": 424,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 410,
"end": 417,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 418,
"end": 424,
"loc": {
"start": {
"line": 15,
"column": 43
},
"end": {
"line": 15,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 425,
"end": 438,
"loc": {
"start": {
"line": 15,
"column": 50
},
"end": {
"line": 15,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 439,
"end": 448,
"loc": {
"start": {
"line": 15,
"column": 64
},
"end": {
"line": 15,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 449,
"end": 479,
"loc": {
"start": {
"line": 15,
"column": 74
},
"end": {
"line": 15,
"column": 104
}
},
"extra": {
"rawValue": "canvasContextMenu.viewFitAll",
"raw": "\"canvasContextMenu.viewFitAll\""
},
"value": "canvasContextMenu.viewFitAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 484,
"end": 498,
"loc": {
"start": {
"line": 15,
"column": 109
},
"end": {
"line": 15,
"column": 123
}
},
"extra": {
"rawValue": "View Fit All",
"raw": "\"View Fit All\""
},
"value": "View Fit All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 551,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 26,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 551,
"end": 559,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 561,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 26,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 562,
"end": 569,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 574,
"end": 1076,
"loc": {
"start": {
"line": 17,
"column": 47
},
"end": {
"line": 26,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 604,
"end": 634,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 610,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 619,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 619,
"end": 626,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 50
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 627,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 57
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 663,
"end": 690,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 669,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 669,
"end": 674,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 677,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 677,
"end": 683,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 48
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 49
},
"end": {
"line": 19,
"column": 54
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 719,
"end": 775,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 84
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 725,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 83
}
},
"id": {
"type": "Identifier",
"start": 725,
"end": 734,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 43
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 737,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 737,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 737,
"end": 742,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 51
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 743,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 59
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 751,
"end": 773,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 751,
"end": 756,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 65
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 757,
"end": 773,
"loc": {
"start": {
"line": 20,
"column": 66
},
"end": {
"line": 20,
"column": 82
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 804,
"end": 958,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 24,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 804,
"end": 957,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 24,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 804,
"end": 829,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 804,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 811,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 35
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 824,
"end": 829,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 53
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 830,
"end": 956,
"loc": {
"start": {
"line": 21,
"column": 54
},
"end": {
"line": 24,
"column": 29
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 864,
"end": 879,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 864,
"end": 868,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 36
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 870,
"end": 879,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 47
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 913,
"end": 926,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 913,
"end": 921,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 40
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 923,
"end": 926,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 45
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 987,
"end": 1050,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 91
}
},
"expression": {
"type": "AssignmentExpression",
"start": 987,
"end": 1049,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 90
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 987,
"end": 1016,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 987,
"end": 1007,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 987,
"end": 993,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 994,
"end": 1007,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 48
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 25,
"column": 49
},
"end": {
"line": 25,
"column": 57
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1019,
"end": 1049,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 1019,
"end": 1038,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 64
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 25,
"column": 65
},
"end": {
"line": 25,
"column": 79
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1039,
"end": 1048,
"loc": {
"start": {
"line": 25,
"column": 80
},
"end": {
"line": 25,
"column": 89
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 1120,
"end": 2066,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1146,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1146,
"end": 1154,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1156,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 31,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1157,
"end": 1164,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1169,
"end": 1332,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 31,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1199,
"end": 1306,
"loc": {
"start": {
"line": 30,
"column": 28
},
"end": {
"line": 30,
"column": 135
}
},
"argument": {
"type": "LogicalExpression",
"start": 1206,
"end": 1305,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 134
}
},
"left": {
"type": "CallExpression",
"start": 1206,
"end": 1282,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 111
}
},
"callee": {
"type": "MemberExpression",
"start": 1206,
"end": 1244,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 1206,
"end": 1234,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 1206,
"end": 1220,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1213,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1220,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1221,
"end": 1234,
"loc": {
"start": {
"line": 30,
"column": 50
},
"end": {
"line": 30,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1235,
"end": 1244,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1245,
"end": 1281,
"loc": {
"start": {
"line": 30,
"column": 74
},
"end": {
"line": 30,
"column": 110
}
},
"extra": {
"rawValue": "canvasContextMenu.viewFitSelection",
"raw": "\"canvasContextMenu.viewFitSelection\""
},
"value": "canvasContextMenu.viewFitSelection"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 1286,
"end": 1305,
"loc": {
"start": {
"line": 30,
"column": 115
},
"end": {
"line": 30,
"column": 134
}
},
"extra": {
"rawValue": "View Fit Selected",
"raw": "\"View Fit Selected\""
},
"value": "View Fit Selected"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 1358,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1358,
"end": 1368,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1370,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 34,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1371,
"end": 1378,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1383,
"end": 1492,
"loc": {
"start": {
"line": 32,
"column": 49
},
"end": {
"line": 34,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1413,
"end": 1466,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 81
}
},
"argument": {
"type": "BinaryExpression",
"start": 1421,
"end": 1464,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 1421,
"end": 1460,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 1421,
"end": 1441,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1421,
"end": 1435,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1421,
"end": 1428,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1429,
"end": 1435,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1436,
"end": 1441,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1442,
"end": 1460,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 75
},
"identifierName": "numSelectedObjects"
},
"name": "numSelectedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 33,
"column": 78
},
"end": {
"line": 33,
"column": 79
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 1420
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 1518,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1528,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 44,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1529,
"end": 1536,
"loc": {
"start": {
"line": 35,
"column": 35
},
"end": {
"line": 35,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1541,
"end": 2044,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 44,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1571,
"end": 1601,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1577,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 1577,
"end": 1583,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1586,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1586,
"end": 1593,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 50
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1594,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 57
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1630,
"end": 1657,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1636,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 1636,
"end": 1641,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 1644,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 1644,
"end": 1650,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 48
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1651,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 49
},
"end": {
"line": 37,
"column": 54
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1686,
"end": 1743,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 85
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1692,
"end": 1742,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 84
}
},
"id": {
"type": "Identifier",
"start": 1692,
"end": 1701,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 43
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 1704,
"end": 1742,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 1704,
"end": 1717,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 1704,
"end": 1709,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 51
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1710,
"end": 1717,
"loc": {
"start": {
"line": 38,
"column": 52
},
"end": {
"line": 38,
"column": 59
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1718,
"end": 1741,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 1718,
"end": 1723,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 65
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1724,
"end": 1741,
"loc": {
"start": {
"line": 38,
"column": 66
},
"end": {
"line": 38,
"column": 83
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1772,
"end": 1926,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 42,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 1772,
"end": 1925,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 42,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 1772,
"end": 1797,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1772,
"end": 1791,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1772,
"end": 1778,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1779,
"end": 1791,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 47
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1792,
"end": 1797,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 53
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1798,
"end": 1924,
"loc": {
"start": {
"line": 39,
"column": 54
},
"end": {
"line": 42,
"column": 29
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1832,
"end": 1847,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1832,
"end": 1836,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 36
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 1838,
"end": 1847,
"loc": {
"start": {
"line": 40,
"column": 38
},
"end": {
"line": 40,
"column": 47
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 1881,
"end": 1894,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1881,
"end": 1889,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 40
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 1891,
"end": 1894,
"loc": {
"start": {
"line": 41,
"column": 42
},
"end": {
"line": 41,
"column": 45
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1955,
"end": 2018,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 91
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1955,
"end": 2017,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 90
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1955,
"end": 1984,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1955,
"end": 1975,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1955,
"end": 1961,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1962,
"end": 1975,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 48
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1976,
"end": 1984,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 57
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1987,
"end": 2017,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 1987,
"end": 2006,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 1987,
"end": 1991,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 64
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1992,
"end": 2006,
"loc": {
"start": {
"line": 43,
"column": 65
},
"end": {
"line": 43,
"column": 79
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2007,
"end": 2016,
"loc": {
"start": {
"line": 43,
"column": 80
},
"end": {
"line": 43,
"column": 89
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 2102,
"end": 3515,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 2124,
"end": 2689,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2150,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 51,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2150,
"end": 2158,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2160,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 51,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2161,
"end": 2168,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2173,
"end": 2318,
"loc": {
"start": {
"line": 49,
"column": 47
},
"end": {
"line": 51,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2203,
"end": 2292,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 50,
"column": 117
}
},
"argument": {
"type": "LogicalExpression",
"start": 2210,
"end": 2291,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 116
}
},
"left": {
"type": "CallExpression",
"start": 2210,
"end": 2277,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 2210,
"end": 2248,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 2210,
"end": 2238,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2210,
"end": 2224,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2210,
"end": 2217,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2218,
"end": 2224,
"loc": {
"start": {
"line": 50,
"column": 43
},
"end": {
"line": 50,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2225,
"end": 2238,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2239,
"end": 2248,
"loc": {
"start": {
"line": 50,
"column": 64
},
"end": {
"line": 50,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2249,
"end": 2276,
"loc": {
"start": {
"line": 50,
"column": 74
},
"end": {
"line": 50,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.hideAll",
"raw": "\"canvasContextMenu.hideAll\""
},
"value": "canvasContextMenu.hideAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 2281,
"end": 2291,
"loc": {
"start": {
"line": 50,
"column": 106
},
"end": {
"line": 50,
"column": 116
}
},
"extra": {
"rawValue": "Hide All",
"raw": "\"Hide All\""
},
"value": "Hide All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2344,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2344,
"end": 2354,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2356,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 54,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2357,
"end": 2364,
"loc": {
"start": {
"line": 52,
"column": 37
},
"end": {
"line": 52,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2369,
"end": 2477,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 54,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2399,
"end": 2451,
"loc": {
"start": {
"line": 53,
"column": 28
},
"end": {
"line": 53,
"column": 80
}
},
"argument": {
"type": "BinaryExpression",
"start": 2407,
"end": 2449,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 78
}
},
"left": {
"type": "MemberExpression",
"start": 2407,
"end": 2445,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 2407,
"end": 2427,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 2407,
"end": 2421,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2407,
"end": 2414,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2415,
"end": 2421,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2422,
"end": 2427,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2428,
"end": 2445,
"loc": {
"start": {
"line": 53,
"column": 57
},
"end": {
"line": 53,
"column": 74
},
"identifierName": "numVisibleObjects"
},
"name": "numVisibleObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 53,
"column": 77
},
"end": {
"line": 53,
"column": 78
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 2406
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2503,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 57,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2503,
"end": 2511,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2513,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 57,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2514,
"end": 2521,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2526,
"end": 2667,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 57,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2556,
"end": 2641,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 113
}
},
"expression": {
"type": "CallExpression",
"start": 2556,
"end": 2640,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 112
}
},
"callee": {
"type": "MemberExpression",
"start": 2556,
"end": 2594,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2556,
"end": 2576,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2556,
"end": 2570,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 2556,
"end": 2563,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2564,
"end": 2570,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2571,
"end": 2576,
"loc": {
"start": {
"line": 56,
"column": 43
},
"end": {
"line": 56,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2577,
"end": 2594,
"loc": {
"start": {
"line": 56,
"column": 49
},
"end": {
"line": 56,
"column": 66
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2595,
"end": 2632,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 104
}
},
"object": {
"type": "MemberExpression",
"start": 2595,
"end": 2615,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 87
}
},
"object": {
"type": "MemberExpression",
"start": 2595,
"end": 2609,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 2595,
"end": 2602,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 74
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2603,
"end": 2609,
"loc": {
"start": {
"line": 56,
"column": 75
},
"end": {
"line": 56,
"column": 81
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2610,
"end": 2615,
"loc": {
"start": {
"line": 56,
"column": 82
},
"end": {
"line": 56,
"column": 87
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2616,
"end": 2632,
"loc": {
"start": {
"line": 56,
"column": 88
},
"end": {
"line": 56,
"column": 104
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 2634,
"end": 2639,
"loc": {
"start": {
"line": 56,
"column": 106
},
"end": {
"line": 56,
"column": 111
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 2711,
"end": 3497,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2737,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2737,
"end": 2745,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2747,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 62,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2748,
"end": 2755,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2760,
"end": 2905,
"loc": {
"start": {
"line": 60,
"column": 47
},
"end": {
"line": 62,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2790,
"end": 2879,
"loc": {
"start": {
"line": 61,
"column": 28
},
"end": {
"line": 61,
"column": 117
}
},
"argument": {
"type": "LogicalExpression",
"start": 2797,
"end": 2878,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 116
}
},
"left": {
"type": "CallExpression",
"start": 2797,
"end": 2864,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 2797,
"end": 2835,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2825,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2811,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2797,
"end": 2804,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2805,
"end": 2811,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2812,
"end": 2825,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2826,
"end": 2835,
"loc": {
"start": {
"line": 61,
"column": 64
},
"end": {
"line": 61,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2836,
"end": 2863,
"loc": {
"start": {
"line": 61,
"column": 74
},
"end": {
"line": 61,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.showAll",
"raw": "\"canvasContextMenu.showAll\""
},
"value": "canvasContextMenu.showAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 2868,
"end": 2878,
"loc": {
"start": {
"line": 61,
"column": 106
},
"end": {
"line": 61,
"column": 116
}
},
"extra": {
"rawValue": "Show All",
"raw": "\"Show All\""
},
"value": "Show All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 2931,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2931,
"end": 2941,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 2943,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 36
},
"end": {
"line": 66,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2944,
"end": 2951,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 2956,
"end": 3177,
"loc": {
"start": {
"line": 63,
"column": 49
},
"end": {
"line": 66,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2986,
"end": 3021,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2992,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 2992,
"end": 2997,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3000,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3000,
"end": 3014,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3000,
"end": 3007,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3008,
"end": 3014,
"loc": {
"start": {
"line": 64,
"column": 50
},
"end": {
"line": 64,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3015,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 3050,
"end": 3151,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 129
}
},
"argument": {
"type": "LogicalExpression",
"start": 3058,
"end": 3149,
"loc": {
"start": {
"line": 65,
"column": 36
},
"end": {
"line": 65,
"column": 127
}
},
"left": {
"type": "BinaryExpression",
"start": 3059,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 3059,
"end": 3082,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 3059,
"end": 3064,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 42
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3065,
"end": 3082,
"loc": {
"start": {
"line": 65,
"column": 43
},
"end": {
"line": 65,
"column": 60
},
"identifierName": "numVisibleObjects"
},
"name": "numVisibleObjects"
},
"computed": false
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3085,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 63
},
"end": {
"line": 65,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 3085,
"end": 3090,
"loc": {
"start": {
"line": 65,
"column": 63
},
"end": {
"line": 65,
"column": 68
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3091,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 69
},
"end": {
"line": 65,
"column": 79
},
"identifierName": "numObjects"
},
"name": "numObjects"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 3058
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3107,
"end": 3148,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 126
}
},
"left": {
"type": "MemberExpression",
"start": 3107,
"end": 3144,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 122
}
},
"object": {
"type": "MemberExpression",
"start": 3107,
"end": 3127,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 105
}
},
"object": {
"type": "MemberExpression",
"start": 3107,
"end": 3121,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 99
}
},
"object": {
"type": "Identifier",
"start": 3107,
"end": 3114,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 92
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3115,
"end": 3121,
"loc": {
"start": {
"line": 65,
"column": 93
},
"end": {
"line": 65,
"column": 99
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3122,
"end": 3127,
"loc": {
"start": {
"line": 65,
"column": 100
},
"end": {
"line": 65,
"column": 105
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3128,
"end": 3144,
"loc": {
"start": {
"line": 65,
"column": 106
},
"end": {
"line": 65,
"column": 122
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3147,
"end": 3148,
"loc": {
"start": {
"line": 65,
"column": 125
},
"end": {
"line": 65,
"column": 126
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 3106
}
},
"extra": {
"parenthesized": true,
"parenStart": 3057
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3203,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 71,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3203,
"end": 3211,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3213,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 71,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3214,
"end": 3221,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3226,
"end": 3475,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 71,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3256,
"end": 3291,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3262,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 3262,
"end": 3267,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3270,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3270,
"end": 3284,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3270,
"end": 3277,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3278,
"end": 3284,
"loc": {
"start": {
"line": 68,
"column": 50
},
"end": {
"line": 68,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3285,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3320,
"end": 3367,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 3320,
"end": 3366,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 3320,
"end": 3343,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 3320,
"end": 3325,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3326,
"end": 3343,
"loc": {
"start": {
"line": 69,
"column": 34
},
"end": {
"line": 69,
"column": 51
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3344,
"end": 3359,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 3344,
"end": 3349,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 57
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3350,
"end": 3359,
"loc": {
"start": {
"line": 69,
"column": 58
},
"end": {
"line": 69,
"column": 67
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 3361,
"end": 3365,
"loc": {
"start": {
"line": 69,
"column": 69
},
"end": {
"line": 69,
"column": 73
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3396,
"end": 3449,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 3396,
"end": 3448,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 3396,
"end": 3418,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3396,
"end": 3401,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3402,
"end": 3418,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 50
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3419,
"end": 3440,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 3419,
"end": 3424,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3425,
"end": 3440,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 72
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 3442,
"end": 3447,
"loc": {
"start": {
"line": 70,
"column": 74
},
"end": {
"line": 70,
"column": 79
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 3533,
"end": 5243,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 3555,
"end": 4477,
"loc": {
"start": {
"line": 75,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3581,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 78,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3581,
"end": 3589,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3591,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 78,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3592,
"end": 3599,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3604,
"end": 3750,
"loc": {
"start": {
"line": 76,
"column": 47
},
"end": {
"line": 78,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3634,
"end": 3724,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 118
}
},
"argument": {
"type": "LogicalExpression",
"start": 3641,
"end": 3723,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 117
}
},
"left": {
"type": "CallExpression",
"start": 3641,
"end": 3708,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 3641,
"end": 3679,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 3641,
"end": 3669,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 3641,
"end": 3655,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3641,
"end": 3648,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3649,
"end": 3655,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3656,
"end": 3669,
"loc": {
"start": {
"line": 77,
"column": 50
},
"end": {
"line": 77,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3670,
"end": 3679,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3680,
"end": 3707,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 101
}
},
"extra": {
"rawValue": "canvasContextMenu.xRayAll",
"raw": "\"canvasContextMenu.xRayAll\""
},
"value": "canvasContextMenu.xRayAll"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 3712,
"end": 3723,
"loc": {
"start": {
"line": 77,
"column": 106
},
"end": {
"line": 77,
"column": 117
}
},
"extra": {
"rawValue": "X-Ray All",
"raw": "\"X-Ray All\""
},
"value": "X-Ray All"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3776,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3776,
"end": 3786,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3788,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 82,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3789,
"end": 3796,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 3801,
"end": 3972,
"loc": {
"start": {
"line": 79,
"column": 49
},
"end": {
"line": 82,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3831,
"end": 3866,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3837,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 3837,
"end": 3842,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3845,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3845,
"end": 3859,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3845,
"end": 3852,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3853,
"end": 3859,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3860,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 80,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 3895,
"end": 3946,
"loc": {
"start": {
"line": 81,
"column": 28
},
"end": {
"line": 81,
"column": 79
}
},
"argument": {
"type": "BinaryExpression",
"start": 3903,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 77
}
},
"left": {
"type": "MemberExpression",
"start": 3903,
"end": 3925,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 3903,
"end": 3908,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 41
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3909,
"end": 3925,
"loc": {
"start": {
"line": 81,
"column": 42
},
"end": {
"line": 81,
"column": 58
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3928,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 3928,
"end": 3933,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 66
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3934,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 77
},
"identifierName": "numObjects"
},
"name": "numObjects"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 3902
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 3998,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3998,
"end": 4006,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4008,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 34
},
"end": {
"line": 90,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4009,
"end": 4016,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4021,
"end": 4455,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 90,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4051,
"end": 4086,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4057,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 4057,
"end": 4062,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 4065,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 4065,
"end": 4079,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 4065,
"end": 4072,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 49
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4073,
"end": 4079,
"loc": {
"start": {
"line": 84,
"column": 50
},
"end": {
"line": 84,
"column": 56
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4080,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 57
},
"end": {
"line": 84,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4115,
"end": 4162,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 4115,
"end": 4161,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 4115,
"end": 4138,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 4115,
"end": 4120,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4121,
"end": 4138,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 51
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4139,
"end": 4154,
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 4139,
"end": 4144,
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 57
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4145,
"end": 4154,
"loc": {
"start": {
"line": 85,
"column": 58
},
"end": {
"line": 85,
"column": 67
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4156,
"end": 4160,
"loc": {
"start": {
"line": 85,
"column": 69
},
"end": {
"line": 85,
"column": 73
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4191,
"end": 4237,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 4191,
"end": 4236,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 4191,
"end": 4213,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4191,
"end": 4196,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 33
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4197,
"end": 4213,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 50
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4214,
"end": 4229,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4214,
"end": 4219,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4220,
"end": 4229,
"loc": {
"start": {
"line": 86,
"column": 57
},
"end": {
"line": 86,
"column": 66
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4231,
"end": 4235,
"loc": {
"start": {
"line": 86,
"column": 68
},
"end": {
"line": 86,
"column": 72
}
},
"value": true
}
]
}
},
{
"type": "IfStatement",
"start": 4266,
"end": 4429,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 89,
"column": 29
}
},
"test": {
"type": "UnaryExpression",
"start": 4270,
"end": 4314,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 76
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 4271,
"end": 4314,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 4271,
"end": 4298,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 4271,
"end": 4288,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4271,
"end": 4278,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 40
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4279,
"end": 4288,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 50
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4289,
"end": 4298,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 60
},
"identifierName": "getConfig"
},
"name": "getConfig"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4299,
"end": 4313,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 75
}
},
"extra": {
"rawValue": "xrayPickable",
"raw": "\"xrayPickable\""
},
"value": "xrayPickable"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4316,
"end": 4429,
"loc": {
"start": {
"line": 87,
"column": 78
},
"end": {
"line": 89,
"column": 29
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4350,
"end": 4399,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 4350,
"end": 4398,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 4350,
"end": 4374,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 4350,
"end": 4355,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 37
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4356,
"end": 4374,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 56
},
"identifierName": "setObjectsPickable"
},
"name": "setObjectsPickable"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4375,
"end": 4390,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 4375,
"end": 4380,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 62
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 4381,
"end": 4390,
"loc": {
"start": {
"line": 88,
"column": 63
},
"end": {
"line": 88,
"column": 72
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 4392,
"end": 4397,
"loc": {
"start": {
"line": 88,
"column": 74
},
"end": {
"line": 88,
"column": 79
}
},
"value": false
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 4499,
"end": 5225,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 104,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4525,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 95,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4525,
"end": 4533,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4535,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 95,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4536,
"end": 4543,
"loc": {
"start": {
"line": 93,
"column": 35
},
"end": {
"line": 93,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4548,
"end": 4696,
"loc": {
"start": {
"line": 93,
"column": 47
},
"end": {
"line": 95,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4578,
"end": 4670,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 120
}
},
"argument": {
"type": "LogicalExpression",
"start": 4585,
"end": 4669,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 119
}
},
"left": {
"type": "CallExpression",
"start": 4585,
"end": 4653,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 103
}
},
"callee": {
"type": "MemberExpression",
"start": 4585,
"end": 4623,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 4585,
"end": 4613,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 4585,
"end": 4599,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 4585,
"end": 4592,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4593,
"end": 4599,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4600,
"end": 4613,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4614,
"end": 4623,
"loc": {
"start": {
"line": 94,
"column": 64
},
"end": {
"line": 94,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4624,
"end": 4652,
"loc": {
"start": {
"line": 94,
"column": 74
},
"end": {
"line": 94,
"column": 102
}
},
"extra": {
"rawValue": "canvasContextMenu.xRayNone",
"raw": "\"canvasContextMenu.xRayNone\""
},
"value": "canvasContextMenu.xRayNone"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 4657,
"end": 4669,
"loc": {
"start": {
"line": 94,
"column": 107
},
"end": {
"line": 94,
"column": 119
}
},
"extra": {
"rawValue": "X-Ray None",
"raw": "\"X-Ray None\""
},
"value": "X-Ray None"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 4722,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 98,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4722,
"end": 4732,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4734,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 98,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4735,
"end": 4742,
"loc": {
"start": {
"line": 96,
"column": 37
},
"end": {
"line": 96,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4747,
"end": 4854,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 98,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4777,
"end": 4828,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 79
}
},
"argument": {
"type": "BinaryExpression",
"start": 4785,
"end": 4826,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 77
}
},
"left": {
"type": "MemberExpression",
"start": 4785,
"end": 4822,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 4785,
"end": 4805,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 4785,
"end": 4799,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4785,
"end": 4792,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4793,
"end": 4799,
"loc": {
"start": {
"line": 97,
"column": 44
},
"end": {
"line": 97,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4800,
"end": 4805,
"loc": {
"start": {
"line": 97,
"column": 51
},
"end": {
"line": 97,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4806,
"end": 4822,
"loc": {
"start": {
"line": 97,
"column": 57
},
"end": {
"line": 97,
"column": 73
},
"identifierName": "numXRayedObjects"
},
"name": "numXRayedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 4825,
"end": 4826,
"loc": {
"start": {
"line": 97,
"column": 76
},
"end": {
"line": 97,
"column": 77
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 4784
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 4880,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 103,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4880,
"end": 4888,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4890,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 103,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4891,
"end": 4898,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 4903,
"end": 5203,
"loc": {
"start": {
"line": 99,
"column": 47
},
"end": {
"line": 103,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4933,
"end": 4994,
"loc": {
"start": {
"line": 100,
"column": 28
},
"end": {
"line": 100,
"column": 89
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4939,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 88
}
},
"id": {
"type": "Identifier",
"start": 4939,
"end": 4954,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 49
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"init": {
"type": "MemberExpression",
"start": 4957,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 88
}
},
"object": {
"type": "MemberExpression",
"start": 4957,
"end": 4977,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 4957,
"end": 4971,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4957,
"end": 4964,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 59
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4965,
"end": 4971,
"loc": {
"start": {
"line": 100,
"column": 60
},
"end": {
"line": 100,
"column": 66
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4972,
"end": 4977,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 72
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4978,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 73
},
"end": {
"line": 100,
"column": 88
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 5023,
"end": 5086,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 91
}
},
"expression": {
"type": "CallExpression",
"start": 5023,
"end": 5085,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 5023,
"end": 5062,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 5023,
"end": 5043,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5023,
"end": 5037,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5023,
"end": 5030,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5031,
"end": 5037,
"loc": {
"start": {
"line": 101,
"column": 36
},
"end": {
"line": 101,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5038,
"end": 5043,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5044,
"end": 5062,
"loc": {
"start": {
"line": 101,
"column": 49
},
"end": {
"line": 101,
"column": 67
},
"identifierName": "setObjectsPickable"
},
"name": "setObjectsPickable"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5063,
"end": 5078,
"loc": {
"start": {
"line": 101,
"column": 68
},
"end": {
"line": 101,
"column": 83
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
{
"type": "BooleanLiteral",
"start": 5080,
"end": 5084,
"loc": {
"start": {
"line": 101,
"column": 85
},
"end": {
"line": 101,
"column": 89
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5115,
"end": 5177,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 90
}
},
"expression": {
"type": "CallExpression",
"start": 5115,
"end": 5176,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 5115,
"end": 5152,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 5115,
"end": 5135,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5115,
"end": 5129,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5115,
"end": 5122,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5123,
"end": 5129,
"loc": {
"start": {
"line": 102,
"column": 36
},
"end": {
"line": 102,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5130,
"end": 5135,
"loc": {
"start": {
"line": 102,
"column": 43
},
"end": {
"line": 102,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5136,
"end": 5152,
"loc": {
"start": {
"line": 102,
"column": 49
},
"end": {
"line": 102,
"column": 65
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5153,
"end": 5168,
"loc": {
"start": {
"line": 102,
"column": 66
},
"end": {
"line": 102,
"column": 81
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
{
"type": "BooleanLiteral",
"start": 5170,
"end": 5175,
"loc": {
"start": {
"line": 102,
"column": 83
},
"end": {
"line": 102,
"column": 88
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 5261,
"end": 5875,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 118,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 5283,
"end": 5857,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 117,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5309,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 110,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5309,
"end": 5317,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5319,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 110,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5320,
"end": 5327,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5332,
"end": 5483,
"loc": {
"start": {
"line": 108,
"column": 47
},
"end": {
"line": 110,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5362,
"end": 5457,
"loc": {
"start": {
"line": 109,
"column": 28
},
"end": {
"line": 109,
"column": 123
}
},
"argument": {
"type": "LogicalExpression",
"start": 5369,
"end": 5456,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 122
}
},
"left": {
"type": "CallExpression",
"start": 5369,
"end": 5439,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 5369,
"end": 5407,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 5369,
"end": 5397,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 5369,
"end": 5383,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 5369,
"end": 5376,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5377,
"end": 5383,
"loc": {
"start": {
"line": 109,
"column": 43
},
"end": {
"line": 109,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5384,
"end": 5397,
"loc": {
"start": {
"line": 109,
"column": 50
},
"end": {
"line": 109,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5398,
"end": 5407,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5408,
"end": 5438,
"loc": {
"start": {
"line": 109,
"column": 74
},
"end": {
"line": 109,
"column": 104
}
},
"extra": {
"rawValue": "canvasContextMenu.selectNone",
"raw": "\"canvasContextMenu.selectNone\""
},
"value": "canvasContextMenu.selectNone"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 5443,
"end": 5456,
"loc": {
"start": {
"line": 109,
"column": 109
},
"end": {
"line": 109,
"column": 122
}
},
"extra": {
"rawValue": "Select None",
"raw": "\"Select None\""
},
"value": "Select None"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 5509,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 113,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5509,
"end": 5519,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5521,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 113,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5522,
"end": 5529,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5534,
"end": 5643,
"loc": {
"start": {
"line": 111,
"column": 49
},
"end": {
"line": 113,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5564,
"end": 5617,
"loc": {
"start": {
"line": 112,
"column": 28
},
"end": {
"line": 112,
"column": 81
}
},
"argument": {
"type": "BinaryExpression",
"start": 5572,
"end": 5615,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 5572,
"end": 5611,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 5572,
"end": 5592,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 5572,
"end": 5586,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 5572,
"end": 5579,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5580,
"end": 5586,
"loc": {
"start": {
"line": 112,
"column": 44
},
"end": {
"line": 112,
"column": 50
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5587,
"end": 5592,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 56
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5593,
"end": 5611,
"loc": {
"start": {
"line": 112,
"column": 57
},
"end": {
"line": 112,
"column": 75
},
"identifierName": "numSelectedObjects"
},
"name": "numSelectedObjects"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 112,
"column": 78
},
"end": {
"line": 112,
"column": 79
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 5571
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 5669,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 116,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5669,
"end": 5677,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5679,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 116,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5680,
"end": 5687,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5692,
"end": 5835,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 116,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5722,
"end": 5809,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 115
}
},
"expression": {
"type": "CallExpression",
"start": 5722,
"end": 5808,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 114
}
},
"callee": {
"type": "MemberExpression",
"start": 5722,
"end": 5761,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 5722,
"end": 5742,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5722,
"end": 5736,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5722,
"end": 5729,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5730,
"end": 5736,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5737,
"end": 5742,
"loc": {
"start": {
"line": 115,
"column": 43
},
"end": {
"line": 115,
"column": 48
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5743,
"end": 5761,
"loc": {
"start": {
"line": 115,
"column": 49
},
"end": {
"line": 115,
"column": 67
},
"identifierName": "setObjectsSelected"
},
"name": "setObjectsSelected"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5762,
"end": 5800,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 106
}
},
"object": {
"type": "MemberExpression",
"start": 5762,
"end": 5782,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 88
}
},
"object": {
"type": "MemberExpression",
"start": 5762,
"end": 5776,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 5762,
"end": 5769,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 75
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5770,
"end": 5776,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 82
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5777,
"end": 5782,
"loc": {
"start": {
"line": 115,
"column": 83
},
"end": {
"line": 115,
"column": 88
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5783,
"end": 5800,
"loc": {
"start": {
"line": 115,
"column": 89
},
"end": {
"line": 115,
"column": 106
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 5802,
"end": 5807,
"loc": {
"start": {
"line": 115,
"column": 108
},
"end": {
"line": 115,
"column": 113
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 5893,
"end": 6288,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 128,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 5915,
"end": 6270,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 127,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5941,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 123,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5941,
"end": 5949,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 5951,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 34
},
"end": {
"line": 123,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5952,
"end": 5959,
"loc": {
"start": {
"line": 121,
"column": 35
},
"end": {
"line": 121,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 5964,
"end": 6113,
"loc": {
"start": {
"line": 121,
"column": 47
},
"end": {
"line": 123,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5994,
"end": 6087,
"loc": {
"start": {
"line": 122,
"column": 28
},
"end": {
"line": 122,
"column": 121
}
},
"argument": {
"type": "LogicalExpression",
"start": 6001,
"end": 6086,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 120
}
},
"left": {
"type": "CallExpression",
"start": 6001,
"end": 6070,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 104
}
},
"callee": {
"type": "MemberExpression",
"start": 6001,
"end": 6039,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 6001,
"end": 6029,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6001,
"end": 6015,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 6001,
"end": 6008,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6009,
"end": 6015,
"loc": {
"start": {
"line": 122,
"column": 43
},
"end": {
"line": 122,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6016,
"end": 6029,
"loc": {
"start": {
"line": 122,
"column": 50
},
"end": {
"line": 122,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6030,
"end": 6039,
"loc": {
"start": {
"line": 122,
"column": 64
},
"end": {
"line": 122,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 6040,
"end": 6069,
"loc": {
"start": {
"line": 122,
"column": 74
},
"end": {
"line": 122,
"column": 103
}
},
"extra": {
"rawValue": "canvasContextMenu.resetView",
"raw": "\"canvasContextMenu.resetView\""
},
"value": "canvasContextMenu.resetView"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 6074,
"end": 6086,
"loc": {
"start": {
"line": 122,
"column": 108
},
"end": {
"line": 122,
"column": 120
}
},
"extra": {
"rawValue": "Reset View",
"raw": "\"Reset View\""
},
"value": "Reset View"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6139,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 24
},
"end": {
"line": 126,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6139,
"end": 6147,
"loc": {
"start": {
"line": 124,
"column": 24
},
"end": {
"line": 124,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6149,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 34
},
"end": {
"line": 126,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6150,
"end": 6157,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6162,
"end": 6248,
"loc": {
"start": {
"line": 124,
"column": 47
},
"end": {
"line": 126,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6192,
"end": 6222,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 6192,
"end": 6221,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 6192,
"end": 6219,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 6192,
"end": 6209,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 6192,
"end": 6199,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6200,
"end": 6209,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 45
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6210,
"end": 6219,
"loc": {
"start": {
"line": 125,
"column": 46
},
"end": {
"line": 125,
"column": 55
},
"identifierName": "resetView"
},
"name": "resetView"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 6306,
"end": 6864,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 141,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 6328,
"end": 6846,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 140,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6354,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 24
},
"end": {
"line": 133,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6354,
"end": 6362,
"loc": {
"start": {
"line": 131,
"column": 24
},
"end": {
"line": 131,
"column": 32
},
"identifierName": "getTitle"
},
"name": "getTitle"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6364,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 34
},
"end": {
"line": 133,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6365,
"end": 6372,
"loc": {
"start": {
"line": 131,
"column": 35
},
"end": {
"line": 131,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6377,
"end": 6530,
"loc": {
"start": {
"line": 131,
"column": 47
},
"end": {
"line": 133,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6407,
"end": 6504,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 125
}
},
"argument": {
"type": "LogicalExpression",
"start": 6414,
"end": 6503,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 124
}
},
"left": {
"type": "CallExpression",
"start": 6414,
"end": 6485,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 6414,
"end": 6452,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 6414,
"end": 6442,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6414,
"end": 6428,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 6414,
"end": 6421,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 42
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6422,
"end": 6428,
"loc": {
"start": {
"line": 132,
"column": 43
},
"end": {
"line": 132,
"column": 49
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6429,
"end": 6442,
"loc": {
"start": {
"line": 132,
"column": 50
},
"end": {
"line": 132,
"column": 63
},
"identifierName": "localeService"
},
"name": "localeService"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6443,
"end": 6452,
"loc": {
"start": {
"line": 132,
"column": 64
},
"end": {
"line": 132,
"column": 73
},
"identifierName": "translate"
},
"name": "translate"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 6453,
"end": 6484,
"loc": {
"start": {
"line": 132,
"column": 74
},
"end": {
"line": 132,
"column": 105
}
},
"extra": {
"rawValue": "canvasContextMenu.clearSlices",
"raw": "\"canvasContextMenu.clearSlices\""
},
"value": "canvasContextMenu.clearSlices"
}
]
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 6489,
"end": 6503,
"loc": {
"start": {
"line": 132,
"column": 110
},
"end": {
"line": 132,
"column": 124
}
},
"extra": {
"rawValue": "Clear Slices",
"raw": "\"Clear Slices\""
},
"value": "Clear Slices"
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6556,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 136,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6556,
"end": 6566,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 34
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6568,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 36
},
"end": {
"line": 136,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6569,
"end": 6576,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 44
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6581,
"end": 6685,
"loc": {
"start": {
"line": 134,
"column": 49
},
"end": {
"line": 136,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6611,
"end": 6659,
"loc": {
"start": {
"line": 135,
"column": 28
},
"end": {
"line": 135,
"column": 76
}
},
"argument": {
"type": "BinaryExpression",
"start": 6619,
"end": 6657,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 74
}
},
"left": {
"type": "CallExpression",
"start": 6619,
"end": 6653,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 6619,
"end": 6651,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 6619,
"end": 6636,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 6619,
"end": 6626,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 43
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6627,
"end": 6636,
"loc": {
"start": {
"line": 135,
"column": 44
},
"end": {
"line": 135,
"column": 53
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6637,
"end": 6651,
"loc": {
"start": {
"line": 135,
"column": 54
},
"end": {
"line": 135,
"column": 68
},
"identifierName": "getNumSections"
},
"name": "getNumSections"
},
"computed": false
},
"arguments": []
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 135,
"column": 73
},
"end": {
"line": 135,
"column": 74
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 6618
}
}
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 6711,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 24
},
"end": {
"line": 139,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6711,
"end": 6719,
"loc": {
"start": {
"line": 137,
"column": 24
},
"end": {
"line": 137,
"column": 32
},
"identifierName": "doAction"
},
"name": "doAction"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 6721,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 34
},
"end": {
"line": 139,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6722,
"end": 6729,
"loc": {
"start": {
"line": 137,
"column": 35
},
"end": {
"line": 137,
"column": 42
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 6734,
"end": 6824,
"loc": {
"start": {
"line": 137,
"column": 47
},
"end": {
"line": 139,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6764,
"end": 6798,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 6764,
"end": 6797,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 6764,
"end": 6795,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 6764,
"end": 6781,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 6764,
"end": 6771,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 6772,
"end": 6781,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 45
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6782,
"end": 6795,
"loc": {
"start": {
"line": 138,
"column": 46
},
"end": {
"line": 138,
"column": 59
},
"identifierName": "clearSections"
},
"name": "clearSections"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
}
]
}
}
]
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 77,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 5,
"column": 3
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 77,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 5,
"column": 3
}
}
}
],
"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": "math",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ContextMenu",
"start": 14,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 27,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js",
"start": 32,
"end": 74,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 74,
"end": 75,
"loc": {
"start": {
"line": 1,
"column": 74
},
"end": {
"line": 1,
"column": 75
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 77,
"end": 96,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 5,
"column": 3
}
}
},
{
"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": 97,
"end": 102,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CanvasContextMenu",
"start": 103,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"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": 121,
"end": 128,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ContextMenu",
"start": 129,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 6,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 147,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 158,
"end": 159,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 159,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 165,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 166,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"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": 179,
"end": 184,
"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": 184,
"end": 185,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 185,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hideOnAction",
"start": 199,
"end": 211,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 211,
"end": 212,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 213,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 216,
"end": 217,
"loc": {
"start": {
"line": 9,
"column": 29
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hideOnAction",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 9,
"column": 42
},
"end": {
"line": 9,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 243,
"end": 250,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 252,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 256,
"end": 263,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 263,
"end": 264,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "items",
"start": 277,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 324,
"end": 325,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 350,
"end": 358,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 14,
"column": 32
},
"end": {
"line": 14,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 368,
"end": 369,
"loc": {
"start": {
"line": 14,
"column": 42
},
"end": {
"line": 14,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 370,
"end": 372,
"loc": {
"start": {
"line": 14,
"column": 44
},
"end": {
"line": 14,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 373,
"end": 374,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 14,
"column": 48
}
}
},
{
"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": 403,
"end": 409,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 410,
"end": 417,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 417,
"end": 418,
"loc": {
"start": {
"line": 15,
"column": 42
},
"end": {
"line": 15,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 418,
"end": 424,
"loc": {
"start": {
"line": 15,
"column": 43
},
"end": {
"line": 15,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 15,
"column": 49
},
"end": {
"line": 15,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 425,
"end": 438,
"loc": {
"start": {
"line": 15,
"column": 50
},
"end": {
"line": 15,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 438,
"end": 439,
"loc": {
"start": {
"line": 15,
"column": 63
},
"end": {
"line": 15,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 439,
"end": 448,
"loc": {
"start": {
"line": 15,
"column": 64
},
"end": {
"line": 15,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 15,
"column": 73
},
"end": {
"line": 15,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.viewFitAll",
"start": 449,
"end": 479,
"loc": {
"start": {
"line": 15,
"column": 74
},
"end": {
"line": 15,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 479,
"end": 480,
"loc": {
"start": {
"line": 15,
"column": 104
},
"end": {
"line": 15,
"column": 105
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 481,
"end": 483,
"loc": {
"start": {
"line": 15,
"column": 106
},
"end": {
"line": 15,
"column": 108
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "View Fit All",
"start": 484,
"end": 498,
"loc": {
"start": {
"line": 15,
"column": 109
},
"end": {
"line": 15,
"column": 123
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 498,
"end": 499,
"loc": {
"start": {
"line": 15,
"column": 123
},
"end": {
"line": 15,
"column": 124
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 524,
"end": 525,
"loc": {
"start": {
"line": 16,
"column": 24
},
"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": 525,
"end": 526,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 551,
"end": 559,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 559,
"end": 560,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 561,
"end": 562,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 562,
"end": 569,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 17,
"column": 42
},
"end": {
"line": 17,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 571,
"end": 573,
"loc": {
"start": {
"line": 17,
"column": 44
},
"end": {
"line": 17,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 574,
"end": 575,
"loc": {
"start": {
"line": 17,
"column": 47
},
"end": {
"line": 17,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 604,
"end": 609,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 617,
"end": 618,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 619,
"end": 626,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 626,
"end": 627,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 627,
"end": 633,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 633,
"end": 634,
"loc": {
"start": {
"line": 18,
"column": 57
},
"end": {
"line": 18,
"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": 663,
"end": 668,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 669,
"end": 674,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 677,
"end": 683,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 683,
"end": 684,
"loc": {
"start": {
"line": 19,
"column": 48
},
"end": {
"line": 19,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 19,
"column": 49
},
"end": {
"line": 19,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 19,
"column": 54
},
"end": {
"line": 19,
"column": 55
}
}
},
{
"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": 719,
"end": 724,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 725,
"end": 734,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 735,
"end": 736,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 737,
"end": 742,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 742,
"end": 743,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 743,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 20,
"column": 59
},
"end": {
"line": 20,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 751,
"end": 756,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 20,
"column": 65
},
"end": {
"line": 20,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 757,
"end": 773,
"loc": {
"start": {
"line": 20,
"column": 66
},
"end": {
"line": 20,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 773,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 82
},
"end": {
"line": 20,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 20,
"column": 83
},
"end": {
"line": 20,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 811,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 35
},
"end": {
"line": 21,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 21,
"column": 47
},
"end": {
"line": 21,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 824,
"end": 829,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 21,
"column": 53
},
"end": {
"line": 21,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 830,
"end": 831,
"loc": {
"start": {
"line": 21,
"column": 54
},
"end": {
"line": 21,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 864,
"end": 868,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 36
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 22,
"column": 36
},
"end": {
"line": 22,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 870,
"end": 879,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 879,
"end": 880,
"loc": {
"start": {
"line": 22,
"column": 47
},
"end": {
"line": 22,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 913,
"end": 921,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 40
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 921,
"end": 922,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 923,
"end": 926,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 955,
"end": 956,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 956,
"end": 957,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 957,
"end": 958,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 987,
"end": 993,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 993,
"end": 994,
"loc": {
"start": {
"line": 25,
"column": 34
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 994,
"end": 1007,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1007,
"end": 1008,
"loc": {
"start": {
"line": 25,
"column": 48
},
"end": {
"line": 25,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pivotPos",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 25,
"column": 49
},
"end": {
"line": 25,
"column": 57
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1017,
"end": 1018,
"loc": {
"start": {
"line": 25,
"column": 58
},
"end": {
"line": 25,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 25,
"column": 64
},
"end": {
"line": 25,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Center",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 25,
"column": 65
},
"end": {
"line": 25,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1038,
"end": 1039,
"loc": {
"start": {
"line": 25,
"column": 79
},
"end": {
"line": 25,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 1039,
"end": 1048,
"loc": {
"start": {
"line": 25,
"column": 80
},
"end": {
"line": 25,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 25,
"column": 89
},
"end": {
"line": 25,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1049,
"end": 1050,
"loc": {
"start": {
"line": 25,
"column": 90
},
"end": {
"line": 25,
"column": 91
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1075,
"end": 1076,
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1097,
"end": 1098,
"loc": {
"start": {
"line": 27,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1120,
"end": 1121,
"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": "getTitle",
"start": 1146,
"end": 1154,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 29,
"column": 32
},
"end": {
"line": 29,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1157,
"end": 1164,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1164,
"end": 1165,
"loc": {
"start": {
"line": 29,
"column": 42
},
"end": {
"line": 29,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1166,
"end": 1168,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1169,
"end": 1170,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 29,
"column": 48
}
}
},
{
"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": 1199,
"end": 1205,
"loc": {
"start": {
"line": 30,
"column": 28
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1206,
"end": 1213,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1214,
"end": 1220,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1220,
"end": 1221,
"loc": {
"start": {
"line": 30,
"column": 49
},
"end": {
"line": 30,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 1221,
"end": 1234,
"loc": {
"start": {
"line": 30,
"column": 50
},
"end": {
"line": 30,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1234,
"end": 1235,
"loc": {
"start": {
"line": 30,
"column": 63
},
"end": {
"line": 30,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 1235,
"end": 1244,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 30,
"column": 73
},
"end": {
"line": 30,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.viewFitSelection",
"start": 1245,
"end": 1281,
"loc": {
"start": {
"line": 30,
"column": 74
},
"end": {
"line": 30,
"column": 110
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 30,
"column": 110
},
"end": {
"line": 30,
"column": 111
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1283,
"end": 1285,
"loc": {
"start": {
"line": 30,
"column": 112
},
"end": {
"line": 30,
"column": 114
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "View Fit Selected",
"start": 1286,
"end": 1305,
"loc": {
"start": {
"line": 30,
"column": 115
},
"end": {
"line": 30,
"column": 134
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1305,
"end": 1306,
"loc": {
"start": {
"line": 30,
"column": 134
},
"end": {
"line": 30,
"column": 135
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1331,
"end": 1332,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1332,
"end": 1333,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1358,
"end": 1368,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 32,
"column": 34
},
"end": {
"line": 32,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1371,
"end": 1378,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1380,
"end": 1382,
"loc": {
"start": {
"line": 32,
"column": 46
},
"end": {
"line": 32,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 32,
"column": 49
},
"end": {
"line": 32,
"column": 50
}
}
},
{
"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": 1413,
"end": 1419,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 34
}
}
},
{
"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": 33,
"column": 35
},
"end": {
"line": 33,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1421,
"end": 1428,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1428,
"end": 1429,
"loc": {
"start": {
"line": 33,
"column": 43
},
"end": {
"line": 33,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1429,
"end": 1435,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 33,
"column": 50
},
"end": {
"line": 33,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1436,
"end": 1441,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1441,
"end": 1442,
"loc": {
"start": {
"line": 33,
"column": 56
},
"end": {
"line": 33,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numSelectedObjects",
"start": 1442,
"end": 1460,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 75
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 1461,
"end": 1462,
"loc": {
"start": {
"line": 33,
"column": 76
},
"end": {
"line": 33,
"column": 77
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 33,
"column": 78
},
"end": {
"line": 33,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1464,
"end": 1465,
"loc": {
"start": {
"line": 33,
"column": 79
},
"end": {
"line": 33,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1465,
"end": 1466,
"loc": {
"start": {
"line": 33,
"column": 80
},
"end": {
"line": 33,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1491,
"end": 1492,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1492,
"end": 1493,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1526,
"end": 1527,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1528,
"end": 1529,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 35,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1529,
"end": 1536,
"loc": {
"start": {
"line": 35,
"column": 35
},
"end": {
"line": 35,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1536,
"end": 1537,
"loc": {
"start": {
"line": 35,
"column": 42
},
"end": {
"line": 35,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1538,
"end": 1540,
"loc": {
"start": {
"line": 35,
"column": 44
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1571,
"end": 1576,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1577,
"end": 1583,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1584,
"end": 1585,
"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": "context",
"start": 1586,
"end": 1593,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1593,
"end": 1594,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1594,
"end": 1600,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1600,
"end": 1601,
"loc": {
"start": {
"line": 36,
"column": 57
},
"end": {
"line": 36,
"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": 1630,
"end": 1635,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1636,
"end": 1641,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1642,
"end": 1643,
"loc": {
"start": {
"line": 37,
"column": 40
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1644,
"end": 1650,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1651,
"end": 1656,
"loc": {
"start": {
"line": 37,
"column": 49
},
"end": {
"line": 37,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 37,
"column": 54
},
"end": {
"line": 37,
"column": 55
}
}
},
{
"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": 1686,
"end": 1691,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 1692,
"end": 1701,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1704,
"end": 1709,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 38,
"column": 51
},
"end": {
"line": 38,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 1710,
"end": 1717,
"loc": {
"start": {
"line": 38,
"column": 52
},
"end": {
"line": 38,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1717,
"end": 1718,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1718,
"end": 1723,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1723,
"end": 1724,
"loc": {
"start": {
"line": 38,
"column": 65
},
"end": {
"line": 38,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectedObjectIds",
"start": 1724,
"end": 1741,
"loc": {
"start": {
"line": 38,
"column": 66
},
"end": {
"line": 38,
"column": 83
}
}
},
{
"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": 38,
"column": 83
},
"end": {
"line": 38,
"column": 84
}
}
},
{
"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": 38,
"column": 84
},
"end": {
"line": 38,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1772,
"end": 1778,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1778,
"end": 1779,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1779,
"end": 1791,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1791,
"end": 1792,
"loc": {
"start": {
"line": 39,
"column": 47
},
"end": {
"line": 39,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 1792,
"end": 1797,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1797,
"end": 1798,
"loc": {
"start": {
"line": 39,
"column": 53
},
"end": {
"line": 39,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1798,
"end": 1799,
"loc": {
"start": {
"line": 39,
"column": 54
},
"end": {
"line": 39,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1832,
"end": 1836,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 36
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 1838,
"end": 1847,
"loc": {
"start": {
"line": 40,
"column": 38
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1881,
"end": 1889,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 40
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1889,
"end": 1890,
"loc": {
"start": {
"line": 41,
"column": 40
},
"end": {
"line": 41,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 1891,
"end": 1894,
"loc": {
"start": {
"line": 41,
"column": 42
},
"end": {
"line": 41,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 42,
"column": 28
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1924,
"end": 1925,
"loc": {
"start": {
"line": 42,
"column": 29
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1925,
"end": 1926,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1955,
"end": 1961,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1961,
"end": 1962,
"loc": {
"start": {
"line": 43,
"column": 34
},
"end": {
"line": 43,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1962,
"end": 1975,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1975,
"end": 1976,
"loc": {
"start": {
"line": 43,
"column": 48
},
"end": {
"line": 43,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pivotPos",
"start": 1976,
"end": 1984,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 57
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1985,
"end": 1986,
"loc": {
"start": {
"line": 43,
"column": 58
},
"end": {
"line": 43,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 1987,
"end": 1991,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1991,
"end": 1992,
"loc": {
"start": {
"line": 43,
"column": 64
},
"end": {
"line": 43,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Center",
"start": 1992,
"end": 2006,
"loc": {
"start": {
"line": 43,
"column": 65
},
"end": {
"line": 43,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2006,
"end": 2007,
"loc": {
"start": {
"line": 43,
"column": 79
},
"end": {
"line": 43,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 2007,
"end": 2016,
"loc": {
"start": {
"line": 43,
"column": 80
},
"end": {
"line": 43,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2016,
"end": 2017,
"loc": {
"start": {
"line": 43,
"column": 89
},
"end": {
"line": 43,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 43,
"column": 90
},
"end": {
"line": 43,
"column": 91
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2043,
"end": 2044,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2065,
"end": 2066,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2083,
"end": 2084,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2084,
"end": 2085,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2102,
"end": 2103,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2124,
"end": 2125,
"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": "getTitle",
"start": 2150,
"end": 2158,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2158,
"end": 2159,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2160,
"end": 2161,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2161,
"end": 2168,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2168,
"end": 2169,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2170,
"end": 2172,
"loc": {
"start": {
"line": 49,
"column": 44
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2173,
"end": 2174,
"loc": {
"start": {
"line": 49,
"column": 47
},
"end": {
"line": 49,
"column": 48
}
}
},
{
"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": 2203,
"end": 2209,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 50,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2210,
"end": 2217,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2217,
"end": 2218,
"loc": {
"start": {
"line": 50,
"column": 42
},
"end": {
"line": 50,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2218,
"end": 2224,
"loc": {
"start": {
"line": 50,
"column": 43
},
"end": {
"line": 50,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2224,
"end": 2225,
"loc": {
"start": {
"line": 50,
"column": 49
},
"end": {
"line": 50,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 2225,
"end": 2238,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2238,
"end": 2239,
"loc": {
"start": {
"line": 50,
"column": 63
},
"end": {
"line": 50,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 2239,
"end": 2248,
"loc": {
"start": {
"line": 50,
"column": 64
},
"end": {
"line": 50,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 50,
"column": 73
},
"end": {
"line": 50,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.hideAll",
"start": 2249,
"end": 2276,
"loc": {
"start": {
"line": 50,
"column": 74
},
"end": {
"line": 50,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2276,
"end": 2277,
"loc": {
"start": {
"line": 50,
"column": 101
},
"end": {
"line": 50,
"column": 102
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2278,
"end": 2280,
"loc": {
"start": {
"line": 50,
"column": 103
},
"end": {
"line": 50,
"column": 105
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Hide All",
"start": 2281,
"end": 2291,
"loc": {
"start": {
"line": 50,
"column": 106
},
"end": {
"line": 50,
"column": 116
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2291,
"end": 2292,
"loc": {
"start": {
"line": 50,
"column": 116
},
"end": {
"line": 50,
"column": 117
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2317,
"end": 2318,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2318,
"end": 2319,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2344,
"end": 2354,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2354,
"end": 2355,
"loc": {
"start": {
"line": 52,
"column": 34
},
"end": {
"line": 52,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2356,
"end": 2357,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2357,
"end": 2364,
"loc": {
"start": {
"line": 52,
"column": 37
},
"end": {
"line": 52,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2364,
"end": 2365,
"loc": {
"start": {
"line": 52,
"column": 44
},
"end": {
"line": 52,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2366,
"end": 2368,
"loc": {
"start": {
"line": 52,
"column": 46
},
"end": {
"line": 52,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2369,
"end": 2370,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 52,
"column": 50
}
}
},
{
"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": 2399,
"end": 2405,
"loc": {
"start": {
"line": 53,
"column": 28
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2407,
"end": 2414,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2414,
"end": 2415,
"loc": {
"start": {
"line": 53,
"column": 43
},
"end": {
"line": 53,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2415,
"end": 2421,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2421,
"end": 2422,
"loc": {
"start": {
"line": 53,
"column": 50
},
"end": {
"line": 53,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2422,
"end": 2427,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2427,
"end": 2428,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numVisibleObjects",
"start": 2428,
"end": 2445,
"loc": {
"start": {
"line": 53,
"column": 57
},
"end": {
"line": 53,
"column": 74
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2446,
"end": 2447,
"loc": {
"start": {
"line": 53,
"column": 75
},
"end": {
"line": 53,
"column": 76
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 53,
"column": 77
},
"end": {
"line": 53,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 53,
"column": 78
},
"end": {
"line": 53,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2450,
"end": 2451,
"loc": {
"start": {
"line": 53,
"column": 79
},
"end": {
"line": 53,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2476,
"end": 2477,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2477,
"end": 2478,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 2503,
"end": 2511,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2511,
"end": 2512,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2513,
"end": 2514,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2514,
"end": 2521,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2521,
"end": 2522,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2523,
"end": 2525,
"loc": {
"start": {
"line": 55,
"column": 44
},
"end": {
"line": 55,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2526,
"end": 2527,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2556,
"end": 2563,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2563,
"end": 2564,
"loc": {
"start": {
"line": 56,
"column": 35
},
"end": {
"line": 56,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2564,
"end": 2570,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2570,
"end": 2571,
"loc": {
"start": {
"line": 56,
"column": 42
},
"end": {
"line": 56,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2571,
"end": 2576,
"loc": {
"start": {
"line": 56,
"column": 43
},
"end": {
"line": 56,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2576,
"end": 2577,
"loc": {
"start": {
"line": 56,
"column": 48
},
"end": {
"line": 56,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsVisible",
"start": 2577,
"end": 2594,
"loc": {
"start": {
"line": 56,
"column": 49
},
"end": {
"line": 56,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2594,
"end": 2595,
"loc": {
"start": {
"line": 56,
"column": 66
},
"end": {
"line": 56,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2595,
"end": 2602,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2602,
"end": 2603,
"loc": {
"start": {
"line": 56,
"column": 74
},
"end": {
"line": 56,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2603,
"end": 2609,
"loc": {
"start": {
"line": 56,
"column": 75
},
"end": {
"line": 56,
"column": 81
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 56,
"column": 81
},
"end": {
"line": 56,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2610,
"end": 2615,
"loc": {
"start": {
"line": 56,
"column": 82
},
"end": {
"line": 56,
"column": 87
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2615,
"end": 2616,
"loc": {
"start": {
"line": 56,
"column": 87
},
"end": {
"line": 56,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 2616,
"end": 2632,
"loc": {
"start": {
"line": 56,
"column": 88
},
"end": {
"line": 56,
"column": 104
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2632,
"end": 2633,
"loc": {
"start": {
"line": 56,
"column": 104
},
"end": {
"line": 56,
"column": 105
}
}
},
{
"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": 2634,
"end": 2639,
"loc": {
"start": {
"line": 56,
"column": 106
},
"end": {
"line": 56,
"column": 111
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 56,
"column": 111
},
"end": {
"line": 56,
"column": 112
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2640,
"end": 2641,
"loc": {
"start": {
"line": 56,
"column": 112
},
"end": {
"line": 56,
"column": 113
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2666,
"end": 2667,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2711,
"end": 2712,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 2737,
"end": 2745,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 60,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2748,
"end": 2755,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2755,
"end": 2756,
"loc": {
"start": {
"line": 60,
"column": 42
},
"end": {
"line": 60,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2757,
"end": 2759,
"loc": {
"start": {
"line": 60,
"column": 44
},
"end": {
"line": 60,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2760,
"end": 2761,
"loc": {
"start": {
"line": 60,
"column": 47
},
"end": {
"line": 60,
"column": 48
}
}
},
{
"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": 2790,
"end": 2796,
"loc": {
"start": {
"line": 61,
"column": 28
},
"end": {
"line": 61,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2797,
"end": 2804,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 61,
"column": 42
},
"end": {
"line": 61,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2805,
"end": 2811,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2811,
"end": 2812,
"loc": {
"start": {
"line": 61,
"column": 49
},
"end": {
"line": 61,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 2812,
"end": 2825,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2825,
"end": 2826,
"loc": {
"start": {
"line": 61,
"column": 63
},
"end": {
"line": 61,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 2826,
"end": 2835,
"loc": {
"start": {
"line": 61,
"column": 64
},
"end": {
"line": 61,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 61,
"column": 73
},
"end": {
"line": 61,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.showAll",
"start": 2836,
"end": 2863,
"loc": {
"start": {
"line": 61,
"column": 74
},
"end": {
"line": 61,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2863,
"end": 2864,
"loc": {
"start": {
"line": 61,
"column": 101
},
"end": {
"line": 61,
"column": 102
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2865,
"end": 2867,
"loc": {
"start": {
"line": 61,
"column": 103
},
"end": {
"line": 61,
"column": 105
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Show All",
"start": 2868,
"end": 2878,
"loc": {
"start": {
"line": 61,
"column": 106
},
"end": {
"line": 61,
"column": 116
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 61,
"column": 116
},
"end": {
"line": 61,
"column": 117
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2905,
"end": 2906,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2931,
"end": 2941,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2941,
"end": 2942,
"loc": {
"start": {
"line": 63,
"column": 34
},
"end": {
"line": 63,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2943,
"end": 2944,
"loc": {
"start": {
"line": 63,
"column": 36
},
"end": {
"line": 63,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2944,
"end": 2951,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2951,
"end": 2952,
"loc": {
"start": {
"line": 63,
"column": 44
},
"end": {
"line": 63,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2953,
"end": 2955,
"loc": {
"start": {
"line": 63,
"column": 46
},
"end": {
"line": 63,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2956,
"end": 2957,
"loc": {
"start": {
"line": 63,
"column": 49
},
"end": {
"line": 63,
"column": 50
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2986,
"end": 2991,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2992,
"end": 2997,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2998,
"end": 2999,
"loc": {
"start": {
"line": 64,
"column": 40
},
"end": {
"line": 64,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3000,
"end": 3007,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3007,
"end": 3008,
"loc": {
"start": {
"line": 64,
"column": 49
},
"end": {
"line": 64,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3008,
"end": 3014,
"loc": {
"start": {
"line": 64,
"column": 50
},
"end": {
"line": 64,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3014,
"end": 3015,
"loc": {
"start": {
"line": 64,
"column": 56
},
"end": {
"line": 64,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3015,
"end": 3020,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3020,
"end": 3021,
"loc": {
"start": {
"line": 64,
"column": 62
},
"end": {
"line": 64,
"column": 63
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3050,
"end": 3056,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3057,
"end": 3058,
"loc": {
"start": {
"line": 65,
"column": 35
},
"end": {
"line": 65,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3058,
"end": 3059,
"loc": {
"start": {
"line": 65,
"column": 36
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3059,
"end": 3064,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3064,
"end": 3065,
"loc": {
"start": {
"line": 65,
"column": 42
},
"end": {
"line": 65,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numVisibleObjects",
"start": 3065,
"end": 3082,
"loc": {
"start": {
"line": 65,
"column": 43
},
"end": {
"line": 65,
"column": 60
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 3083,
"end": 3084,
"loc": {
"start": {
"line": 65,
"column": 61
},
"end": {
"line": 65,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3085,
"end": 3090,
"loc": {
"start": {
"line": 65,
"column": 63
},
"end": {
"line": 65,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3090,
"end": 3091,
"loc": {
"start": {
"line": 65,
"column": 68
},
"end": {
"line": 65,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numObjects",
"start": 3091,
"end": 3101,
"loc": {
"start": {
"line": 65,
"column": 69
},
"end": {
"line": 65,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3101,
"end": 3102,
"loc": {
"start": {
"line": 65,
"column": 79
},
"end": {
"line": 65,
"column": 80
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3103,
"end": 3105,
"loc": {
"start": {
"line": 65,
"column": 81
},
"end": {
"line": 65,
"column": 83
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3106,
"end": 3107,
"loc": {
"start": {
"line": 65,
"column": 84
},
"end": {
"line": 65,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3107,
"end": 3114,
"loc": {
"start": {
"line": 65,
"column": 85
},
"end": {
"line": 65,
"column": 92
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3114,
"end": 3115,
"loc": {
"start": {
"line": 65,
"column": 92
},
"end": {
"line": 65,
"column": 93
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3115,
"end": 3121,
"loc": {
"start": {
"line": 65,
"column": 93
},
"end": {
"line": 65,
"column": 99
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3121,
"end": 3122,
"loc": {
"start": {
"line": 65,
"column": 99
},
"end": {
"line": 65,
"column": 100
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3122,
"end": 3127,
"loc": {
"start": {
"line": 65,
"column": 100
},
"end": {
"line": 65,
"column": 105
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3127,
"end": 3128,
"loc": {
"start": {
"line": 65,
"column": 105
},
"end": {
"line": 65,
"column": 106
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numXRayedObjects",
"start": 3128,
"end": 3144,
"loc": {
"start": {
"line": 65,
"column": 106
},
"end": {
"line": 65,
"column": 122
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3145,
"end": 3146,
"loc": {
"start": {
"line": 65,
"column": 123
},
"end": {
"line": 65,
"column": 124
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3147,
"end": 3148,
"loc": {
"start": {
"line": 65,
"column": 125
},
"end": {
"line": 65,
"column": 126
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3148,
"end": 3149,
"loc": {
"start": {
"line": 65,
"column": 126
},
"end": {
"line": 65,
"column": 127
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3149,
"end": 3150,
"loc": {
"start": {
"line": 65,
"column": 127
},
"end": {
"line": 65,
"column": 128
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3150,
"end": 3151,
"loc": {
"start": {
"line": 65,
"column": 128
},
"end": {
"line": 65,
"column": 129
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3176,
"end": 3177,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3177,
"end": 3178,
"loc": {
"start": {
"line": 66,
"column": 25
},
"end": {
"line": 66,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 3203,
"end": 3211,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3211,
"end": 3212,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3213,
"end": 3214,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3214,
"end": 3221,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3221,
"end": 3222,
"loc": {
"start": {
"line": 67,
"column": 42
},
"end": {
"line": 67,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3223,
"end": 3225,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3226,
"end": 3227,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 67,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3256,
"end": 3261,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3262,
"end": 3267,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3268,
"end": 3269,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3270,
"end": 3277,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3277,
"end": 3278,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3278,
"end": 3284,
"loc": {
"start": {
"line": 68,
"column": 50
},
"end": {
"line": 68,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3284,
"end": 3285,
"loc": {
"start": {
"line": 68,
"column": 56
},
"end": {
"line": 68,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3285,
"end": 3290,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3290,
"end": 3291,
"loc": {
"start": {
"line": 68,
"column": 62
},
"end": {
"line": 68,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3320,
"end": 3325,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3325,
"end": 3326,
"loc": {
"start": {
"line": 69,
"column": 33
},
"end": {
"line": 69,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsVisible",
"start": 3326,
"end": 3343,
"loc": {
"start": {
"line": 69,
"column": 34
},
"end": {
"line": 69,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3343,
"end": 3344,
"loc": {
"start": {
"line": 69,
"column": 51
},
"end": {
"line": 69,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3344,
"end": 3349,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3349,
"end": 3350,
"loc": {
"start": {
"line": 69,
"column": 57
},
"end": {
"line": 69,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 3350,
"end": 3359,
"loc": {
"start": {
"line": 69,
"column": 58
},
"end": {
"line": 69,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3359,
"end": 3360,
"loc": {
"start": {
"line": 69,
"column": 67
},
"end": {
"line": 69,
"column": 68
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3361,
"end": 3365,
"loc": {
"start": {
"line": 69,
"column": 69
},
"end": {
"line": 69,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3365,
"end": 3366,
"loc": {
"start": {
"line": 69,
"column": 73
},
"end": {
"line": 69,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3366,
"end": 3367,
"loc": {
"start": {
"line": 69,
"column": 74
},
"end": {
"line": 69,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3396,
"end": 3401,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3401,
"end": 3402,
"loc": {
"start": {
"line": 70,
"column": 33
},
"end": {
"line": 70,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsXRayed",
"start": 3402,
"end": 3418,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3418,
"end": 3419,
"loc": {
"start": {
"line": 70,
"column": 50
},
"end": {
"line": 70,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3419,
"end": 3424,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3424,
"end": 3425,
"loc": {
"start": {
"line": 70,
"column": 56
},
"end": {
"line": 70,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 3425,
"end": 3440,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3440,
"end": 3441,
"loc": {
"start": {
"line": 70,
"column": 72
},
"end": {
"line": 70,
"column": 73
}
}
},
{
"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": 3442,
"end": 3447,
"loc": {
"start": {
"line": 70,
"column": 74
},
"end": {
"line": 70,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3447,
"end": 3448,
"loc": {
"start": {
"line": 70,
"column": 79
},
"end": {
"line": 70,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3448,
"end": 3449,
"loc": {
"start": {
"line": 70,
"column": 80
},
"end": {
"line": 70,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3474,
"end": 3475,
"loc": {
"start": {
"line": 71,
"column": 24
},
"end": {
"line": 71,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3496,
"end": 3497,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3514,
"end": 3515,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3515,
"end": 3516,
"loc": {
"start": {
"line": 73,
"column": 17
},
"end": {
"line": 73,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3533,
"end": 3534,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3555,
"end": 3556,
"loc": {
"start": {
"line": 75,
"column": 20
},
"end": {
"line": 75,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 3581,
"end": 3589,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3589,
"end": 3590,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3591,
"end": 3592,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 76,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3592,
"end": 3599,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3599,
"end": 3600,
"loc": {
"start": {
"line": 76,
"column": 42
},
"end": {
"line": 76,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3601,
"end": 3603,
"loc": {
"start": {
"line": 76,
"column": 44
},
"end": {
"line": 76,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3604,
"end": 3605,
"loc": {
"start": {
"line": 76,
"column": 47
},
"end": {
"line": 76,
"column": 48
}
}
},
{
"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": 3634,
"end": 3640,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3641,
"end": 3648,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3648,
"end": 3649,
"loc": {
"start": {
"line": 77,
"column": 42
},
"end": {
"line": 77,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3649,
"end": 3655,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3655,
"end": 3656,
"loc": {
"start": {
"line": 77,
"column": 49
},
"end": {
"line": 77,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 3656,
"end": 3669,
"loc": {
"start": {
"line": 77,
"column": 50
},
"end": {
"line": 77,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3669,
"end": 3670,
"loc": {
"start": {
"line": 77,
"column": 63
},
"end": {
"line": 77,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 3670,
"end": 3679,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3679,
"end": 3680,
"loc": {
"start": {
"line": 77,
"column": 73
},
"end": {
"line": 77,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.xRayAll",
"start": 3680,
"end": 3707,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3707,
"end": 3708,
"loc": {
"start": {
"line": 77,
"column": 101
},
"end": {
"line": 77,
"column": 102
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3709,
"end": 3711,
"loc": {
"start": {
"line": 77,
"column": 103
},
"end": {
"line": 77,
"column": 105
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "X-Ray All",
"start": 3712,
"end": 3723,
"loc": {
"start": {
"line": 77,
"column": 106
},
"end": {
"line": 77,
"column": 117
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3723,
"end": 3724,
"loc": {
"start": {
"line": 77,
"column": 117
},
"end": {
"line": 77,
"column": 118
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3749,
"end": 3750,
"loc": {
"start": {
"line": 78,
"column": 24
},
"end": {
"line": 78,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3750,
"end": 3751,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 3776,
"end": 3786,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 79,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3786,
"end": 3787,
"loc": {
"start": {
"line": 79,
"column": 34
},
"end": {
"line": 79,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3788,
"end": 3789,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 79,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3789,
"end": 3796,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3796,
"end": 3797,
"loc": {
"start": {
"line": 79,
"column": 44
},
"end": {
"line": 79,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3798,
"end": 3800,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3801,
"end": 3802,
"loc": {
"start": {
"line": 79,
"column": 49
},
"end": {
"line": 79,
"column": 50
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3831,
"end": 3836,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3837,
"end": 3842,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3843,
"end": 3844,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 80,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3845,
"end": 3852,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3852,
"end": 3853,
"loc": {
"start": {
"line": 80,
"column": 49
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3853,
"end": 3859,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3859,
"end": 3860,
"loc": {
"start": {
"line": 80,
"column": 56
},
"end": {
"line": 80,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3860,
"end": 3865,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 80,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3865,
"end": 3866,
"loc": {
"start": {
"line": 80,
"column": 62
},
"end": {
"line": 80,
"column": 63
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3895,
"end": 3901,
"loc": {
"start": {
"line": 81,
"column": 28
},
"end": {
"line": 81,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3902,
"end": 3903,
"loc": {
"start": {
"line": 81,
"column": 35
},
"end": {
"line": 81,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3903,
"end": 3908,
"loc": {
"start": {
"line": 81,
"column": 36
},
"end": {
"line": 81,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3908,
"end": 3909,
"loc": {
"start": {
"line": 81,
"column": 41
},
"end": {
"line": 81,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numXRayedObjects",
"start": 3909,
"end": 3925,
"loc": {
"start": {
"line": 81,
"column": 42
},
"end": {
"line": 81,
"column": 58
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 3926,
"end": 3927,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3928,
"end": 3933,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3933,
"end": 3934,
"loc": {
"start": {
"line": 81,
"column": 66
},
"end": {
"line": 81,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numObjects",
"start": 3934,
"end": 3944,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3944,
"end": 3945,
"loc": {
"start": {
"line": 81,
"column": 77
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3945,
"end": 3946,
"loc": {
"start": {
"line": 81,
"column": 78
},
"end": {
"line": 81,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3971,
"end": 3972,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3972,
"end": 3973,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 3998,
"end": 4006,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4006,
"end": 4007,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4008,
"end": 4009,
"loc": {
"start": {
"line": 83,
"column": 34
},
"end": {
"line": 83,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4009,
"end": 4016,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4016,
"end": 4017,
"loc": {
"start": {
"line": 83,
"column": 42
},
"end": {
"line": 83,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4018,
"end": 4020,
"loc": {
"start": {
"line": 83,
"column": 44
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4021,
"end": 4022,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4051,
"end": 4056,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4057,
"end": 4062,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4063,
"end": 4064,
"loc": {
"start": {
"line": 84,
"column": 40
},
"end": {
"line": 84,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4065,
"end": 4072,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4072,
"end": 4073,
"loc": {
"start": {
"line": 84,
"column": 49
},
"end": {
"line": 84,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 4073,
"end": 4079,
"loc": {
"start": {
"line": 84,
"column": 50
},
"end": {
"line": 84,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4079,
"end": 4080,
"loc": {
"start": {
"line": 84,
"column": 56
},
"end": {
"line": 84,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4080,
"end": 4085,
"loc": {
"start": {
"line": 84,
"column": 57
},
"end": {
"line": 84,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4085,
"end": 4086,
"loc": {
"start": {
"line": 84,
"column": 62
},
"end": {
"line": 84,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4115,
"end": 4120,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4120,
"end": 4121,
"loc": {
"start": {
"line": 85,
"column": 33
},
"end": {
"line": 85,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsVisible",
"start": 4121,
"end": 4138,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4138,
"end": 4139,
"loc": {
"start": {
"line": 85,
"column": 51
},
"end": {
"line": 85,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4139,
"end": 4144,
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4144,
"end": 4145,
"loc": {
"start": {
"line": 85,
"column": 57
},
"end": {
"line": 85,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 4145,
"end": 4154,
"loc": {
"start": {
"line": 85,
"column": 58
},
"end": {
"line": 85,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4154,
"end": 4155,
"loc": {
"start": {
"line": 85,
"column": 67
},
"end": {
"line": 85,
"column": 68
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4156,
"end": 4160,
"loc": {
"start": {
"line": 85,
"column": 69
},
"end": {
"line": 85,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4160,
"end": 4161,
"loc": {
"start": {
"line": 85,
"column": 73
},
"end": {
"line": 85,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4161,
"end": 4162,
"loc": {
"start": {
"line": 85,
"column": 74
},
"end": {
"line": 85,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4191,
"end": 4196,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4196,
"end": 4197,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsXRayed",
"start": 4197,
"end": 4213,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4213,
"end": 4214,
"loc": {
"start": {
"line": 86,
"column": 50
},
"end": {
"line": 86,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4214,
"end": 4219,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4219,
"end": 4220,
"loc": {
"start": {
"line": 86,
"column": 56
},
"end": {
"line": 86,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 4220,
"end": 4229,
"loc": {
"start": {
"line": 86,
"column": 57
},
"end": {
"line": 86,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4229,
"end": 4230,
"loc": {
"start": {
"line": 86,
"column": 66
},
"end": {
"line": 86,
"column": 67
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4231,
"end": 4235,
"loc": {
"start": {
"line": 86,
"column": 68
},
"end": {
"line": 86,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4235,
"end": 4236,
"loc": {
"start": {
"line": 86,
"column": 72
},
"end": {
"line": 86,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4236,
"end": 4237,
"loc": {
"start": {
"line": 86,
"column": 73
},
"end": {
"line": 86,
"column": 74
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4266,
"end": 4268,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4269,
"end": 4270,
"loc": {
"start": {
"line": 87,
"column": 31
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4270,
"end": 4271,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4271,
"end": 4278,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4278,
"end": 4279,
"loc": {
"start": {
"line": 87,
"column": 40
},
"end": {
"line": 87,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 4279,
"end": 4288,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4288,
"end": 4289,
"loc": {
"start": {
"line": 87,
"column": 50
},
"end": {
"line": 87,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getConfig",
"start": 4289,
"end": 4298,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 87,
"column": 60
},
"end": {
"line": 87,
"column": 61
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "xrayPickable",
"start": 4299,
"end": 4313,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4313,
"end": 4314,
"loc": {
"start": {
"line": 87,
"column": 75
},
"end": {
"line": 87,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4314,
"end": 4315,
"loc": {
"start": {
"line": 87,
"column": 76
},
"end": {
"line": 87,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4316,
"end": 4317,
"loc": {
"start": {
"line": 87,
"column": 78
},
"end": {
"line": 87,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4350,
"end": 4355,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4355,
"end": 4356,
"loc": {
"start": {
"line": 88,
"column": 37
},
"end": {
"line": 88,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsPickable",
"start": 4356,
"end": 4374,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4374,
"end": 4375,
"loc": {
"start": {
"line": 88,
"column": 56
},
"end": {
"line": 88,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4375,
"end": 4380,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4380,
"end": 4381,
"loc": {
"start": {
"line": 88,
"column": 62
},
"end": {
"line": 88,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 4381,
"end": 4390,
"loc": {
"start": {
"line": 88,
"column": 63
},
"end": {
"line": 88,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4390,
"end": 4391,
"loc": {
"start": {
"line": 88,
"column": 72
},
"end": {
"line": 88,
"column": 73
}
}
},
{
"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": 4392,
"end": 4397,
"loc": {
"start": {
"line": 88,
"column": 74
},
"end": {
"line": 88,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4397,
"end": 4398,
"loc": {
"start": {
"line": 88,
"column": 79
},
"end": {
"line": 88,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4398,
"end": 4399,
"loc": {
"start": {
"line": 88,
"column": 80
},
"end": {
"line": 88,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4428,
"end": 4429,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4454,
"end": 4455,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4476,
"end": 4477,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4477,
"end": 4478,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4499,
"end": 4500,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 4525,
"end": 4533,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4533,
"end": 4534,
"loc": {
"start": {
"line": 93,
"column": 32
},
"end": {
"line": 93,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4535,
"end": 4536,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4536,
"end": 4543,
"loc": {
"start": {
"line": 93,
"column": 35
},
"end": {
"line": 93,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4543,
"end": 4544,
"loc": {
"start": {
"line": 93,
"column": 42
},
"end": {
"line": 93,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4545,
"end": 4547,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4548,
"end": 4549,
"loc": {
"start": {
"line": 93,
"column": 47
},
"end": {
"line": 93,
"column": 48
}
}
},
{
"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": 4578,
"end": 4584,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4585,
"end": 4592,
"loc": {
"start": {
"line": 94,
"column": 35
},
"end": {
"line": 94,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4592,
"end": 4593,
"loc": {
"start": {
"line": 94,
"column": 42
},
"end": {
"line": 94,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 4593,
"end": 4599,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4599,
"end": 4600,
"loc": {
"start": {
"line": 94,
"column": 49
},
"end": {
"line": 94,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 4600,
"end": 4613,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4613,
"end": 4614,
"loc": {
"start": {
"line": 94,
"column": 63
},
"end": {
"line": 94,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 4614,
"end": 4623,
"loc": {
"start": {
"line": 94,
"column": 64
},
"end": {
"line": 94,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4623,
"end": 4624,
"loc": {
"start": {
"line": 94,
"column": 73
},
"end": {
"line": 94,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.xRayNone",
"start": 4624,
"end": 4652,
"loc": {
"start": {
"line": 94,
"column": 74
},
"end": {
"line": 94,
"column": 102
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4652,
"end": 4653,
"loc": {
"start": {
"line": 94,
"column": 102
},
"end": {
"line": 94,
"column": 103
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4654,
"end": 4656,
"loc": {
"start": {
"line": 94,
"column": 104
},
"end": {
"line": 94,
"column": 106
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "X-Ray None",
"start": 4657,
"end": 4669,
"loc": {
"start": {
"line": 94,
"column": 107
},
"end": {
"line": 94,
"column": 119
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4669,
"end": 4670,
"loc": {
"start": {
"line": 94,
"column": 119
},
"end": {
"line": 94,
"column": 120
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4695,
"end": 4696,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4696,
"end": 4697,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 4722,
"end": 4732,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4732,
"end": 4733,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4734,
"end": 4735,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 96,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4735,
"end": 4742,
"loc": {
"start": {
"line": 96,
"column": 37
},
"end": {
"line": 96,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4742,
"end": 4743,
"loc": {
"start": {
"line": 96,
"column": 44
},
"end": {
"line": 96,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4744,
"end": 4746,
"loc": {
"start": {
"line": 96,
"column": 46
},
"end": {
"line": 96,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4747,
"end": 4748,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 50
}
}
},
{
"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": 4777,
"end": 4783,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4784,
"end": 4785,
"loc": {
"start": {
"line": 97,
"column": 35
},
"end": {
"line": 97,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4785,
"end": 4792,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4792,
"end": 4793,
"loc": {
"start": {
"line": 97,
"column": 43
},
"end": {
"line": 97,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 4793,
"end": 4799,
"loc": {
"start": {
"line": 97,
"column": 44
},
"end": {
"line": 97,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4799,
"end": 4800,
"loc": {
"start": {
"line": 97,
"column": 50
},
"end": {
"line": 97,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4800,
"end": 4805,
"loc": {
"start": {
"line": 97,
"column": 51
},
"end": {
"line": 97,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4805,
"end": 4806,
"loc": {
"start": {
"line": 97,
"column": 56
},
"end": {
"line": 97,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numXRayedObjects",
"start": 4806,
"end": 4822,
"loc": {
"start": {
"line": 97,
"column": 57
},
"end": {
"line": 97,
"column": 73
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 4823,
"end": 4824,
"loc": {
"start": {
"line": 97,
"column": 74
},
"end": {
"line": 97,
"column": 75
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4825,
"end": 4826,
"loc": {
"start": {
"line": 97,
"column": 76
},
"end": {
"line": 97,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4826,
"end": 4827,
"loc": {
"start": {
"line": 97,
"column": 77
},
"end": {
"line": 97,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4827,
"end": 4828,
"loc": {
"start": {
"line": 97,
"column": 78
},
"end": {
"line": 97,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4853,
"end": 4854,
"loc": {
"start": {
"line": 98,
"column": 24
},
"end": {
"line": 98,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4854,
"end": 4855,
"loc": {
"start": {
"line": 98,
"column": 25
},
"end": {
"line": 98,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 4880,
"end": 4888,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4888,
"end": 4889,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4890,
"end": 4891,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 99,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4891,
"end": 4898,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4898,
"end": 4899,
"loc": {
"start": {
"line": 99,
"column": 42
},
"end": {
"line": 99,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4900,
"end": 4902,
"loc": {
"start": {
"line": 99,
"column": 44
},
"end": {
"line": 99,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4903,
"end": 4904,
"loc": {
"start": {
"line": 99,
"column": 47
},
"end": {
"line": 99,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4933,
"end": 4938,
"loc": {
"start": {
"line": 100,
"column": 28
},
"end": {
"line": 100,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 4939,
"end": 4954,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 49
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4955,
"end": 4956,
"loc": {
"start": {
"line": 100,
"column": 50
},
"end": {
"line": 100,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4957,
"end": 4964,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4964,
"end": 4965,
"loc": {
"start": {
"line": 100,
"column": 59
},
"end": {
"line": 100,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 4965,
"end": 4971,
"loc": {
"start": {
"line": 100,
"column": 60
},
"end": {
"line": 100,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4971,
"end": 4972,
"loc": {
"start": {
"line": 100,
"column": 66
},
"end": {
"line": 100,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 4972,
"end": 4977,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4977,
"end": 4978,
"loc": {
"start": {
"line": 100,
"column": 72
},
"end": {
"line": 100,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 4978,
"end": 4993,
"loc": {
"start": {
"line": 100,
"column": 73
},
"end": {
"line": 100,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4993,
"end": 4994,
"loc": {
"start": {
"line": 100,
"column": 88
},
"end": {
"line": 100,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5023,
"end": 5030,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5030,
"end": 5031,
"loc": {
"start": {
"line": 101,
"column": 35
},
"end": {
"line": 101,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5031,
"end": 5037,
"loc": {
"start": {
"line": 101,
"column": 36
},
"end": {
"line": 101,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5037,
"end": 5038,
"loc": {
"start": {
"line": 101,
"column": 42
},
"end": {
"line": 101,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 5038,
"end": 5043,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5043,
"end": 5044,
"loc": {
"start": {
"line": 101,
"column": 48
},
"end": {
"line": 101,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsPickable",
"start": 5044,
"end": 5062,
"loc": {
"start": {
"line": 101,
"column": 49
},
"end": {
"line": 101,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5062,
"end": 5063,
"loc": {
"start": {
"line": 101,
"column": 67
},
"end": {
"line": 101,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 5063,
"end": 5078,
"loc": {
"start": {
"line": 101,
"column": 68
},
"end": {
"line": 101,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5078,
"end": 5079,
"loc": {
"start": {
"line": 101,
"column": 83
},
"end": {
"line": 101,
"column": 84
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 5080,
"end": 5084,
"loc": {
"start": {
"line": 101,
"column": 85
},
"end": {
"line": 101,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5084,
"end": 5085,
"loc": {
"start": {
"line": 101,
"column": 89
},
"end": {
"line": 101,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5085,
"end": 5086,
"loc": {
"start": {
"line": 101,
"column": 90
},
"end": {
"line": 101,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5115,
"end": 5122,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5122,
"end": 5123,
"loc": {
"start": {
"line": 102,
"column": 35
},
"end": {
"line": 102,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5123,
"end": 5129,
"loc": {
"start": {
"line": 102,
"column": 36
},
"end": {
"line": 102,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5129,
"end": 5130,
"loc": {
"start": {
"line": 102,
"column": 42
},
"end": {
"line": 102,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 5130,
"end": 5135,
"loc": {
"start": {
"line": 102,
"column": 43
},
"end": {
"line": 102,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5135,
"end": 5136,
"loc": {
"start": {
"line": 102,
"column": 48
},
"end": {
"line": 102,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsXRayed",
"start": 5136,
"end": 5152,
"loc": {
"start": {
"line": 102,
"column": 49
},
"end": {
"line": 102,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5152,
"end": 5153,
"loc": {
"start": {
"line": 102,
"column": 65
},
"end": {
"line": 102,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 5153,
"end": 5168,
"loc": {
"start": {
"line": 102,
"column": 66
},
"end": {
"line": 102,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5168,
"end": 5169,
"loc": {
"start": {
"line": 102,
"column": 81
},
"end": {
"line": 102,
"column": 82
}
}
},
{
"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": 5170,
"end": 5175,
"loc": {
"start": {
"line": 102,
"column": 83
},
"end": {
"line": 102,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5175,
"end": 5176,
"loc": {
"start": {
"line": 102,
"column": 88
},
"end": {
"line": 102,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5176,
"end": 5177,
"loc": {
"start": {
"line": 102,
"column": 89
},
"end": {
"line": 102,
"column": 90
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5202,
"end": 5203,
"loc": {
"start": {
"line": 103,
"column": 24
},
"end": {
"line": 103,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5224,
"end": 5225,
"loc": {
"start": {
"line": 104,
"column": 20
},
"end": {
"line": 104,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5242,
"end": 5243,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5243,
"end": 5244,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5261,
"end": 5262,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 106,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5283,
"end": 5284,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 5309,
"end": 5317,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5317,
"end": 5318,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5319,
"end": 5320,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5320,
"end": 5327,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5327,
"end": 5328,
"loc": {
"start": {
"line": 108,
"column": 42
},
"end": {
"line": 108,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5329,
"end": 5331,
"loc": {
"start": {
"line": 108,
"column": 44
},
"end": {
"line": 108,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5332,
"end": 5333,
"loc": {
"start": {
"line": 108,
"column": 47
},
"end": {
"line": 108,
"column": 48
}
}
},
{
"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": 5362,
"end": 5368,
"loc": {
"start": {
"line": 109,
"column": 28
},
"end": {
"line": 109,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5369,
"end": 5376,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5376,
"end": 5377,
"loc": {
"start": {
"line": 109,
"column": 42
},
"end": {
"line": 109,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5377,
"end": 5383,
"loc": {
"start": {
"line": 109,
"column": 43
},
"end": {
"line": 109,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5383,
"end": 5384,
"loc": {
"start": {
"line": 109,
"column": 49
},
"end": {
"line": 109,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 5384,
"end": 5397,
"loc": {
"start": {
"line": 109,
"column": 50
},
"end": {
"line": 109,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5397,
"end": 5398,
"loc": {
"start": {
"line": 109,
"column": 63
},
"end": {
"line": 109,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 5398,
"end": 5407,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5407,
"end": 5408,
"loc": {
"start": {
"line": 109,
"column": 73
},
"end": {
"line": 109,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.selectNone",
"start": 5408,
"end": 5438,
"loc": {
"start": {
"line": 109,
"column": 74
},
"end": {
"line": 109,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5438,
"end": 5439,
"loc": {
"start": {
"line": 109,
"column": 104
},
"end": {
"line": 109,
"column": 105
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5440,
"end": 5442,
"loc": {
"start": {
"line": 109,
"column": 106
},
"end": {
"line": 109,
"column": 108
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Select None",
"start": 5443,
"end": 5456,
"loc": {
"start": {
"line": 109,
"column": 109
},
"end": {
"line": 109,
"column": 122
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5456,
"end": 5457,
"loc": {
"start": {
"line": 109,
"column": 122
},
"end": {
"line": 109,
"column": 123
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5482,
"end": 5483,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5483,
"end": 5484,
"loc": {
"start": {
"line": 110,
"column": 25
},
"end": {
"line": 110,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 5509,
"end": 5519,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5519,
"end": 5520,
"loc": {
"start": {
"line": 111,
"column": 34
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5521,
"end": 5522,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5522,
"end": 5529,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5529,
"end": 5530,
"loc": {
"start": {
"line": 111,
"column": 44
},
"end": {
"line": 111,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5531,
"end": 5533,
"loc": {
"start": {
"line": 111,
"column": 46
},
"end": {
"line": 111,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5534,
"end": 5535,
"loc": {
"start": {
"line": 111,
"column": 49
},
"end": {
"line": 111,
"column": 50
}
}
},
{
"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": 5564,
"end": 5570,
"loc": {
"start": {
"line": 112,
"column": 28
},
"end": {
"line": 112,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5571,
"end": 5572,
"loc": {
"start": {
"line": 112,
"column": 35
},
"end": {
"line": 112,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5572,
"end": 5579,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5579,
"end": 5580,
"loc": {
"start": {
"line": 112,
"column": 43
},
"end": {
"line": 112,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5580,
"end": 5586,
"loc": {
"start": {
"line": 112,
"column": 44
},
"end": {
"line": 112,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5586,
"end": 5587,
"loc": {
"start": {
"line": 112,
"column": 50
},
"end": {
"line": 112,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 5587,
"end": 5592,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5592,
"end": 5593,
"loc": {
"start": {
"line": 112,
"column": 56
},
"end": {
"line": 112,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numSelectedObjects",
"start": 5593,
"end": 5611,
"loc": {
"start": {
"line": 112,
"column": 57
},
"end": {
"line": 112,
"column": 75
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 5612,
"end": 5613,
"loc": {
"start": {
"line": 112,
"column": 76
},
"end": {
"line": 112,
"column": 77
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 112,
"column": 78
},
"end": {
"line": 112,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5615,
"end": 5616,
"loc": {
"start": {
"line": 112,
"column": 79
},
"end": {
"line": 112,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5616,
"end": 5617,
"loc": {
"start": {
"line": 112,
"column": 80
},
"end": {
"line": 112,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5642,
"end": 5643,
"loc": {
"start": {
"line": 113,
"column": 24
},
"end": {
"line": 113,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5643,
"end": 5644,
"loc": {
"start": {
"line": 113,
"column": 25
},
"end": {
"line": 113,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 5669,
"end": 5677,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5677,
"end": 5678,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5679,
"end": 5680,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 114,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5680,
"end": 5687,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 114,
"column": 42
},
"end": {
"line": 114,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5689,
"end": 5691,
"loc": {
"start": {
"line": 114,
"column": 44
},
"end": {
"line": 114,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5692,
"end": 5693,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 114,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5722,
"end": 5729,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5729,
"end": 5730,
"loc": {
"start": {
"line": 115,
"column": 35
},
"end": {
"line": 115,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5730,
"end": 5736,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5736,
"end": 5737,
"loc": {
"start": {
"line": 115,
"column": 42
},
"end": {
"line": 115,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 5737,
"end": 5742,
"loc": {
"start": {
"line": 115,
"column": 43
},
"end": {
"line": 115,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5742,
"end": 5743,
"loc": {
"start": {
"line": 115,
"column": 48
},
"end": {
"line": 115,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsSelected",
"start": 5743,
"end": 5761,
"loc": {
"start": {
"line": 115,
"column": 49
},
"end": {
"line": 115,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5761,
"end": 5762,
"loc": {
"start": {
"line": 115,
"column": 67
},
"end": {
"line": 115,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5762,
"end": 5769,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5769,
"end": 5770,
"loc": {
"start": {
"line": 115,
"column": 75
},
"end": {
"line": 115,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 5770,
"end": 5776,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 82
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5776,
"end": 5777,
"loc": {
"start": {
"line": 115,
"column": 82
},
"end": {
"line": 115,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 5777,
"end": 5782,
"loc": {
"start": {
"line": 115,
"column": 83
},
"end": {
"line": 115,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5782,
"end": 5783,
"loc": {
"start": {
"line": 115,
"column": 88
},
"end": {
"line": 115,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectedObjectIds",
"start": 5783,
"end": 5800,
"loc": {
"start": {
"line": 115,
"column": 89
},
"end": {
"line": 115,
"column": 106
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5800,
"end": 5801,
"loc": {
"start": {
"line": 115,
"column": 106
},
"end": {
"line": 115,
"column": 107
}
}
},
{
"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": 5802,
"end": 5807,
"loc": {
"start": {
"line": 115,
"column": 108
},
"end": {
"line": 115,
"column": 113
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5807,
"end": 5808,
"loc": {
"start": {
"line": 115,
"column": 113
},
"end": {
"line": 115,
"column": 114
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5808,
"end": 5809,
"loc": {
"start": {
"line": 115,
"column": 114
},
"end": {
"line": 115,
"column": 115
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5834,
"end": 5835,
"loc": {
"start": {
"line": 116,
"column": 24
},
"end": {
"line": 116,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5856,
"end": 5857,
"loc": {
"start": {
"line": 117,
"column": 20
},
"end": {
"line": 117,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5874,
"end": 5875,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5875,
"end": 5876,
"loc": {
"start": {
"line": 118,
"column": 17
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5893,
"end": 5894,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5915,
"end": 5916,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 5941,
"end": 5949,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5949,
"end": 5950,
"loc": {
"start": {
"line": 121,
"column": 32
},
"end": {
"line": 121,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5951,
"end": 5952,
"loc": {
"start": {
"line": 121,
"column": 34
},
"end": {
"line": 121,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5952,
"end": 5959,
"loc": {
"start": {
"line": 121,
"column": 35
},
"end": {
"line": 121,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5959,
"end": 5960,
"loc": {
"start": {
"line": 121,
"column": 42
},
"end": {
"line": 121,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5961,
"end": 5963,
"loc": {
"start": {
"line": 121,
"column": 44
},
"end": {
"line": 121,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5964,
"end": 5965,
"loc": {
"start": {
"line": 121,
"column": 47
},
"end": {
"line": 121,
"column": 48
}
}
},
{
"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": 5994,
"end": 6000,
"loc": {
"start": {
"line": 122,
"column": 28
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6001,
"end": 6008,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6008,
"end": 6009,
"loc": {
"start": {
"line": 122,
"column": 42
},
"end": {
"line": 122,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 6009,
"end": 6015,
"loc": {
"start": {
"line": 122,
"column": 43
},
"end": {
"line": 122,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6015,
"end": 6016,
"loc": {
"start": {
"line": 122,
"column": 49
},
"end": {
"line": 122,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 6016,
"end": 6029,
"loc": {
"start": {
"line": 122,
"column": 50
},
"end": {
"line": 122,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6029,
"end": 6030,
"loc": {
"start": {
"line": 122,
"column": 63
},
"end": {
"line": 122,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 6030,
"end": 6039,
"loc": {
"start": {
"line": 122,
"column": 64
},
"end": {
"line": 122,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6039,
"end": 6040,
"loc": {
"start": {
"line": 122,
"column": 73
},
"end": {
"line": 122,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.resetView",
"start": 6040,
"end": 6069,
"loc": {
"start": {
"line": 122,
"column": 74
},
"end": {
"line": 122,
"column": 103
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6069,
"end": 6070,
"loc": {
"start": {
"line": 122,
"column": 103
},
"end": {
"line": 122,
"column": 104
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 6071,
"end": 6073,
"loc": {
"start": {
"line": 122,
"column": 105
},
"end": {
"line": 122,
"column": 107
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Reset View",
"start": 6074,
"end": 6086,
"loc": {
"start": {
"line": 122,
"column": 108
},
"end": {
"line": 122,
"column": 120
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6086,
"end": 6087,
"loc": {
"start": {
"line": 122,
"column": 120
},
"end": {
"line": 122,
"column": 121
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6112,
"end": 6113,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6113,
"end": 6114,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 6139,
"end": 6147,
"loc": {
"start": {
"line": 124,
"column": 24
},
"end": {
"line": 124,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6147,
"end": 6148,
"loc": {
"start": {
"line": 124,
"column": 32
},
"end": {
"line": 124,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6149,
"end": 6150,
"loc": {
"start": {
"line": 124,
"column": 34
},
"end": {
"line": 124,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6150,
"end": 6157,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6157,
"end": 6158,
"loc": {
"start": {
"line": 124,
"column": 42
},
"end": {
"line": 124,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6159,
"end": 6161,
"loc": {
"start": {
"line": 124,
"column": 44
},
"end": {
"line": 124,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6162,
"end": 6163,
"loc": {
"start": {
"line": 124,
"column": 47
},
"end": {
"line": 124,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6192,
"end": 6199,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6199,
"end": 6200,
"loc": {
"start": {
"line": 125,
"column": 35
},
"end": {
"line": 125,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 6200,
"end": 6209,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6209,
"end": 6210,
"loc": {
"start": {
"line": 125,
"column": 45
},
"end": {
"line": 125,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resetView",
"start": 6210,
"end": 6219,
"loc": {
"start": {
"line": 125,
"column": 46
},
"end": {
"line": 125,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6219,
"end": 6220,
"loc": {
"start": {
"line": 125,
"column": 55
},
"end": {
"line": 125,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6220,
"end": 6221,
"loc": {
"start": {
"line": 125,
"column": 56
},
"end": {
"line": 125,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6221,
"end": 6222,
"loc": {
"start": {
"line": 125,
"column": 57
},
"end": {
"line": 125,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6247,
"end": 6248,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6269,
"end": 6270,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6287,
"end": 6288,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6288,
"end": 6289,
"loc": {
"start": {
"line": 128,
"column": 17
},
"end": {
"line": 128,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6306,
"end": 6307,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6328,
"end": 6329,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTitle",
"start": 6354,
"end": 6362,
"loc": {
"start": {
"line": 131,
"column": 24
},
"end": {
"line": 131,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6362,
"end": 6363,
"loc": {
"start": {
"line": 131,
"column": 32
},
"end": {
"line": 131,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6364,
"end": 6365,
"loc": {
"start": {
"line": 131,
"column": 34
},
"end": {
"line": 131,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6365,
"end": 6372,
"loc": {
"start": {
"line": 131,
"column": 35
},
"end": {
"line": 131,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6372,
"end": 6373,
"loc": {
"start": {
"line": 131,
"column": 42
},
"end": {
"line": 131,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6374,
"end": 6376,
"loc": {
"start": {
"line": 131,
"column": 44
},
"end": {
"line": 131,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6377,
"end": 6378,
"loc": {
"start": {
"line": 131,
"column": 47
},
"end": {
"line": 131,
"column": 48
}
}
},
{
"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": 6407,
"end": 6413,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6414,
"end": 6421,
"loc": {
"start": {
"line": 132,
"column": 35
},
"end": {
"line": 132,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6421,
"end": 6422,
"loc": {
"start": {
"line": 132,
"column": 42
},
"end": {
"line": 132,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 6422,
"end": 6428,
"loc": {
"start": {
"line": 132,
"column": 43
},
"end": {
"line": 132,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6428,
"end": 6429,
"loc": {
"start": {
"line": 132,
"column": 49
},
"end": {
"line": 132,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localeService",
"start": 6429,
"end": 6442,
"loc": {
"start": {
"line": 132,
"column": 50
},
"end": {
"line": 132,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6442,
"end": 6443,
"loc": {
"start": {
"line": 132,
"column": 63
},
"end": {
"line": 132,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "translate",
"start": 6443,
"end": 6452,
"loc": {
"start": {
"line": 132,
"column": 64
},
"end": {
"line": 132,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6452,
"end": 6453,
"loc": {
"start": {
"line": 132,
"column": 73
},
"end": {
"line": 132,
"column": 74
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canvasContextMenu.clearSlices",
"start": 6453,
"end": 6484,
"loc": {
"start": {
"line": 132,
"column": 74
},
"end": {
"line": 132,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6484,
"end": 6485,
"loc": {
"start": {
"line": 132,
"column": 105
},
"end": {
"line": 132,
"column": 106
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 6486,
"end": 6488,
"loc": {
"start": {
"line": 132,
"column": 107
},
"end": {
"line": 132,
"column": 109
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Clear Slices",
"start": 6489,
"end": 6503,
"loc": {
"start": {
"line": 132,
"column": 110
},
"end": {
"line": 132,
"column": 124
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6503,
"end": 6504,
"loc": {
"start": {
"line": 132,
"column": 124
},
"end": {
"line": 132,
"column": 125
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6529,
"end": 6530,
"loc": {
"start": {
"line": 133,
"column": 24
},
"end": {
"line": 133,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6530,
"end": 6531,
"loc": {
"start": {
"line": 133,
"column": 25
},
"end": {
"line": 133,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 6556,
"end": 6566,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6566,
"end": 6567,
"loc": {
"start": {
"line": 134,
"column": 34
},
"end": {
"line": 134,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6568,
"end": 6569,
"loc": {
"start": {
"line": 134,
"column": 36
},
"end": {
"line": 134,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6569,
"end": 6576,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6576,
"end": 6577,
"loc": {
"start": {
"line": 134,
"column": 44
},
"end": {
"line": 134,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6578,
"end": 6580,
"loc": {
"start": {
"line": 134,
"column": 46
},
"end": {
"line": 134,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6581,
"end": 6582,
"loc": {
"start": {
"line": 134,
"column": 49
},
"end": {
"line": 134,
"column": 50
}
}
},
{
"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": 6611,
"end": 6617,
"loc": {
"start": {
"line": 135,
"column": 28
},
"end": {
"line": 135,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6618,
"end": 6619,
"loc": {
"start": {
"line": 135,
"column": 35
},
"end": {
"line": 135,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6619,
"end": 6626,
"loc": {
"start": {
"line": 135,
"column": 36
},
"end": {
"line": 135,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6626,
"end": 6627,
"loc": {
"start": {
"line": 135,
"column": 43
},
"end": {
"line": 135,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 6627,
"end": 6636,
"loc": {
"start": {
"line": 135,
"column": 44
},
"end": {
"line": 135,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6636,
"end": 6637,
"loc": {
"start": {
"line": 135,
"column": 53
},
"end": {
"line": 135,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getNumSections",
"start": 6637,
"end": 6651,
"loc": {
"start": {
"line": 135,
"column": 54
},
"end": {
"line": 135,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6651,
"end": 6652,
"loc": {
"start": {
"line": 135,
"column": 68
},
"end": {
"line": 135,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6652,
"end": 6653,
"loc": {
"start": {
"line": 135,
"column": 69
},
"end": {
"line": 135,
"column": 70
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 6654,
"end": 6655,
"loc": {
"start": {
"line": 135,
"column": 71
},
"end": {
"line": 135,
"column": 72
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 135,
"column": 73
},
"end": {
"line": 135,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6657,
"end": 6658,
"loc": {
"start": {
"line": 135,
"column": 74
},
"end": {
"line": 135,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6658,
"end": 6659,
"loc": {
"start": {
"line": 135,
"column": 75
},
"end": {
"line": 135,
"column": 76
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6684,
"end": 6685,
"loc": {
"start": {
"line": 136,
"column": 24
},
"end": {
"line": 136,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6685,
"end": 6686,
"loc": {
"start": {
"line": 136,
"column": 25
},
"end": {
"line": 136,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doAction",
"start": 6711,
"end": 6719,
"loc": {
"start": {
"line": 137,
"column": 24
},
"end": {
"line": 137,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6719,
"end": 6720,
"loc": {
"start": {
"line": 137,
"column": 32
},
"end": {
"line": 137,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6721,
"end": 6722,
"loc": {
"start": {
"line": 137,
"column": 34
},
"end": {
"line": 137,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6722,
"end": 6729,
"loc": {
"start": {
"line": 137,
"column": 35
},
"end": {
"line": 137,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6729,
"end": 6730,
"loc": {
"start": {
"line": 137,
"column": 42
},
"end": {
"line": 137,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6731,
"end": 6733,
"loc": {
"start": {
"line": 137,
"column": 44
},
"end": {
"line": 137,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6734,
"end": 6735,
"loc": {
"start": {
"line": 137,
"column": 47
},
"end": {
"line": 137,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 6764,
"end": 6771,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6771,
"end": 6772,
"loc": {
"start": {
"line": 138,
"column": 35
},
"end": {
"line": 138,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 6772,
"end": 6781,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6781,
"end": 6782,
"loc": {
"start": {
"line": 138,
"column": 45
},
"end": {
"line": 138,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clearSections",
"start": 6782,
"end": 6795,
"loc": {
"start": {
"line": 138,
"column": 46
},
"end": {
"line": 138,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6795,
"end": 6796,
"loc": {
"start": {
"line": 138,
"column": 59
},
"end": {
"line": 138,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6796,
"end": 6797,
"loc": {
"start": {
"line": 138,
"column": 60
},
"end": {
"line": 138,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6797,
"end": 6798,
"loc": {
"start": {
"line": 138,
"column": 61
},
"end": {
"line": 138,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6823,
"end": 6824,
"loc": {
"start": {
"line": 139,
"column": 24
},
"end": {
"line": 139,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6845,
"end": 6846,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6863,
"end": 6864,
"loc": {
"start": {
"line": 141,
"column": 16
},
"end": {
"line": 141,
"column": 17
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6877,
"end": 6878,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6887,
"end": 6888,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6888,
"end": 6889,
"loc": {
"start": {
"line": 143,
"column": 9
},
"end": {
"line": 143,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6889,
"end": 6890,
"loc": {
"start": {
"line": 143,
"column": 10
},
"end": {
"line": 143,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6895,
"end": 6896,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6897,
"end": 6898,
"loc": {
"start": {
"line": 145,
"column": 0
},
"end": {
"line": 145,
"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": 6900,
"end": 6906,
"loc": {
"start": {
"line": 147,
"column": 0
},
"end": {
"line": 147,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6907,
"end": 6908,
"loc": {
"start": {
"line": 147,
"column": 7
},
"end": {
"line": 147,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CanvasContextMenu",
"start": 6908,
"end": 6925,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6925,
"end": 6926,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6926,
"end": 6927,
"loc": {
"start": {
"line": 147,
"column": 26
},
"end": {
"line": 147,
"column": 27
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6927,
"end": 6927,
"loc": {
"start": {
"line": 147,
"column": 27
},
"end": {
"line": 147,
"column": 27
}
}
}
]
}