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

16281 lines
474 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1696,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 69,
"column": 19
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1696,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 69,
"column": 19
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 44
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
},
"extra": {
"rawValue": "../Controller.js",
"raw": "\"../Controller.js\""
},
"value": "../Controller.js"
}
},
{
"type": "ImportDeclaration",
"start": 45,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 64,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 61
}
},
"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"
}
},
{
"type": "VariableDeclaration",
"start": 109,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 115,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "tempVec3"
},
"name": "tempVec3"
},
"init": {
"type": "CallExpression",
"start": 126,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 126,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 126,
"end": 130,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 21
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 131,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 26
},
"identifierName": "vec3"
},
"name": "vec3"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 156,
"end": 1675,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 67,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 162,
"end": 171,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "FitAction"
},
"name": "FitAction",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 180,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 191,
"end": 1675,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 67,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 198,
"end": 1059,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 198,
"end": 209,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 210,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "AssignmentPattern",
"start": 218,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 218,
"end": 221,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 222,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 30
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 226,
"end": 1059,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 41,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 237,
"end": 256,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 237,
"end": 255,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 237,
"end": 242,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 243,
"end": 249,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 251,
"end": 254,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 266,
"end": 352,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 270,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 271,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 271,
"end": 274,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 275,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 17
},
"end": {
"line": 13,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 290,
"end": 352,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 15,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 304,
"end": 342,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 310,
"end": 341,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 362,
"end": 402,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 368,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 368,
"end": 381,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 384,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 384,
"end": 387,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 388,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 412,
"end": 637,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 25,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 412,
"end": 636,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 25,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 412,
"end": 419,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 417,
"end": 419,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 429,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 431,
"end": 635,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 25,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 432,
"end": 439,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 444,
"end": 635,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 25,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 458,
"end": 625,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 462,
"end": 470,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 463,
"end": 470,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 472,
"end": 544,
"loc": {
"start": {
"line": 20,
"column": 26
},
"end": {
"line": 22,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 490,
"end": 530,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 490,
"end": 529,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 490,
"end": 517,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 490,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 490,
"end": 503,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 504,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 514,
"end": 517,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 518,
"end": 528,
"loc": {
"start": {
"line": 21,
"column": 44
},
"end": {
"line": 21,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 550,
"end": 625,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 24,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 568,
"end": 611,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 568,
"end": 610,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 568,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 568,
"end": 591,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 568,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 582,
"end": 591,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 592,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 599,
"end": 609,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 647,
"end": 864,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 33,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 647,
"end": 863,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 647,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 647,
"end": 651,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 652,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 655,
"end": 663,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 665,
"end": 862,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 33,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 666,
"end": 672,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 677,
"end": 862,
"loc": {
"start": {
"line": 27,
"column": 38
},
"end": {
"line": 33,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 691,
"end": 852,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 695,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 703,
"end": 773,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 30,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 721,
"end": 759,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 721,
"end": 758,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 721,
"end": 748,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 721,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 735,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 745,
"end": 748,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 749,
"end": 757,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 779,
"end": 852,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 32,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 797,
"end": 838,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 797,
"end": 837,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 797,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 797,
"end": 820,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 797,
"end": 810,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 811,
"end": 820,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 821,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 40
},
"end": {
"line": 31,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 828,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 874,
"end": 1053,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 40,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 874,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 40,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 874,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 874,
"end": 887,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 888,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 905,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 914,
"end": 1051,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 40,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 915,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 49
},
"end": {
"line": 35,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 925,
"end": 1051,
"loc": {
"start": {
"line": 35,
"column": 59
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 939,
"end": 1005,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 38,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 943,
"end": 960,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 943,
"end": 958,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 943,
"end": 947,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 948,
"end": 958,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 962,
"end": 1005,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 38,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 980,
"end": 991,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 980,
"end": 990,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 980,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 980,
"end": 984,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 985,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 24
},
"identifierName": "fit"
},
"name": "fit"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1018,
"end": 1041,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1018,
"end": 1040,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1018,
"end": 1038,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1018,
"end": 1023,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1065,
"end": 1337,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 50,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1065,
"end": 1068,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 7
},
"identifierName": "fit"
},
"name": "fit"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1071,
"end": 1337,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 50,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1081,
"end": 1113,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1087,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 1087,
"end": 1092,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 1095,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1106,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 33
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1107,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1122,
"end": 1173,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1128,
"end": 1172,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 1128,
"end": 1132,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "aabb"
},
"name": "aabb"
},
"init": {
"type": "CallExpression",
"start": 1135,
"end": 1172,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1135,
"end": 1148,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1135,
"end": 1140,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 26
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1141,
"end": 1148,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1149,
"end": 1171,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1149,
"end": 1154,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1155,
"end": 1171,
"loc": {
"start": {
"line": 45,
"column": 41
},
"end": {
"line": 45,
"column": 57
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1182,
"end": 1249,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 48,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1182,
"end": 1248,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 48,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1182,
"end": 1212,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1182,
"end": 1206,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1182,
"end": 1193,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1182,
"end": 1186,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1194,
"end": 1206,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 32
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1207,
"end": 1212,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 38
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1213,
"end": 1247,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 48,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1227,
"end": 1237,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1227,
"end": 1231,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 1233,
"end": 1237,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 22
},
"identifierName": "aabb"
},
"name": "aabb"
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1258,
"end": 1331,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 81
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1258,
"end": 1330,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 80
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1258,
"end": 1292,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 1258,
"end": 1283,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1258,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1258,
"end": 1262,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1283,
"loc": {
"start": {
"line": 49,
"column": 20
},
"end": {
"line": 49,
"column": 33
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1284,
"end": 1292,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 42
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1295,
"end": 1330,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 1295,
"end": 1314,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 1295,
"end": 1299,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 49
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1300,
"end": 1314,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 64
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1315,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 65
},
"end": {
"line": 49,
"column": 69
},
"identifierName": "aabb"
},
"name": "aabb"
},
{
"type": "Identifier",
"start": 1321,
"end": 1329,
"loc": {
"start": {
"line": 49,
"column": 71
},
"end": {
"line": 49,
"column": 79
},
"identifierName": "tempVec3"
},
"name": "tempVec3"
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1343,
"end": 1416,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1347,
"end": 1350,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 11
},
"identifierName": "fov"
},
"name": "fov"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1351,
"end": 1354,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 15
},
"identifierName": "fov"
},
"name": "fov"
}
],
"body": {
"type": "BlockStatement",
"start": 1356,
"end": 1416,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1366,
"end": 1410,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1366,
"end": 1409,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1366,
"end": 1403,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1396,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1377,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1371,
"end": 1377,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1384,
"end": 1396,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 38
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1397,
"end": 1403,
"loc": {
"start": {
"line": 53,
"column": 39
},
"end": {
"line": 53,
"column": 45
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1406,
"end": 1409,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 51
},
"identifierName": "fov"
},
"name": "fov"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1422,
"end": 1493,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1426,
"end": 1429,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 11
},
"identifierName": "fov"
},
"name": "fov"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1432,
"end": 1493,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 58,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1442,
"end": 1487,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 53
}
},
"argument": {
"type": "MemberExpression",
"start": 1449,
"end": 1486,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1479,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1466,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1460,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1449,
"end": 1453,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1454,
"end": 1460,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 26
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1461,
"end": 1466,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 32
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1467,
"end": 1479,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 45
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1480,
"end": 1486,
"loc": {
"start": {
"line": 57,
"column": 46
},
"end": {
"line": 57,
"column": 52
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1499,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 62,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1503,
"end": 1511,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 16
},
"identifierName": "duration"
},
"name": "duration"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1512,
"end": 1520,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 25
},
"identifierName": "duration"
},
"name": "duration"
}
],
"body": {
"type": "BlockStatement",
"start": 1522,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 27
},
"end": {
"line": 62,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1532,
"end": 1583,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 59
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1532,
"end": 1582,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 58
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1532,
"end": 1571,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1562,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1549,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1543,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1537,
"end": 1543,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1544,
"end": 1549,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 25
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1550,
"end": 1562,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 38
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1563,
"end": 1571,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "duration"
},
"name": "duration"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1574,
"end": 1582,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 58
},
"identifierName": "duration"
},
"name": "duration"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1595,
"end": 1673,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 66,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1599,
"end": 1607,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 16
},
"identifierName": "duration"
},
"name": "duration"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1610,
"end": 1673,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 66,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1620,
"end": 1667,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 55
}
},
"argument": {
"type": "MemberExpression",
"start": 1627,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1644,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1638,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1627,
"end": 1631,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1632,
"end": 1638,
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 26
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1639,
"end": 1644,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 32
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1645,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1658,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 46
},
"end": {
"line": 65,
"column": 54
},
"identifierName": "duration"
},
"name": "duration"
},
"computed": false
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 1677,
"end": 1696,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 69,
"column": 19
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 1685,
"end": 1694,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 1685,
"end": 1694,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 17
},
"identifierName": "FitAction"
},
"name": "FitAction"
},
"exported": {
"type": "Identifier",
"start": 1685,
"end": 1694,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 17
},
"identifierName": "FitAction"
},
"name": "FitAction"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 1677,
"end": 1696,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 69,
"column": 19
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 156,
"end": 1675,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 67,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 162,
"end": 171,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "FitAction"
},
"name": "FitAction",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 180,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 191,
"end": 1675,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 67,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 198,
"end": 1059,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 198,
"end": 209,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 210,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "AssignmentPattern",
"start": 218,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 218,
"end": 221,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 222,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 30
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 226,
"end": 1059,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 41,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 237,
"end": 256,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 237,
"end": 255,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 237,
"end": 242,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 243,
"end": 249,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 251,
"end": 254,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 266,
"end": 352,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 270,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 271,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 271,
"end": 274,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 275,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 17
},
"end": {
"line": 13,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 290,
"end": 352,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 15,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 304,
"end": 342,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 310,
"end": 341,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 362,
"end": 402,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 368,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 368,
"end": 381,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 384,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 384,
"end": 387,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 388,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 412,
"end": 637,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 25,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 412,
"end": 636,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 25,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 412,
"end": 419,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 417,
"end": 419,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 429,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 431,
"end": 635,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 25,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 432,
"end": 439,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 444,
"end": 635,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 25,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 458,
"end": 625,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 462,
"end": 470,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 463,
"end": 470,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 472,
"end": 544,
"loc": {
"start": {
"line": 20,
"column": 26
},
"end": {
"line": 22,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 490,
"end": 530,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 490,
"end": 529,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 490,
"end": 517,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 490,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 490,
"end": 503,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 504,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 514,
"end": 517,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 518,
"end": 528,
"loc": {
"start": {
"line": 21,
"column": 44
},
"end": {
"line": 21,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 550,
"end": 625,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 24,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 568,
"end": 611,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 568,
"end": 610,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 568,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 568,
"end": 591,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 568,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 582,
"end": 591,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 592,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 599,
"end": 609,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 647,
"end": 864,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 33,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 647,
"end": 863,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 647,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 647,
"end": 651,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 652,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 655,
"end": 663,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 665,
"end": 862,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 33,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 666,
"end": 672,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 677,
"end": 862,
"loc": {
"start": {
"line": 27,
"column": 38
},
"end": {
"line": 33,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 691,
"end": 852,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 695,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 703,
"end": 773,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 30,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 721,
"end": 759,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 721,
"end": 758,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 721,
"end": 748,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 721,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 735,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 745,
"end": 748,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 749,
"end": 757,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 779,
"end": 852,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 32,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 797,
"end": 838,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 797,
"end": 837,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 797,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 797,
"end": 820,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 797,
"end": 810,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 811,
"end": 820,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 821,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 40
},
"end": {
"line": 31,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 828,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 874,
"end": 1053,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 40,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 874,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 40,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 874,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 874,
"end": 887,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 888,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 905,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 914,
"end": 1051,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 40,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 915,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 49
},
"end": {
"line": 35,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 925,
"end": 1051,
"loc": {
"start": {
"line": 35,
"column": 59
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 939,
"end": 1005,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 38,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 943,
"end": 960,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 943,
"end": 958,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 943,
"end": 947,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 948,
"end": 958,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 962,
"end": 1005,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 38,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 980,
"end": 991,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 980,
"end": 990,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 980,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 980,
"end": 984,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 985,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 24
},
"identifierName": "fit"
},
"name": "fit"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1018,
"end": 1041,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1018,
"end": 1040,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1018,
"end": 1038,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1018,
"end": 1023,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1065,
"end": 1337,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 50,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1065,
"end": 1068,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 7
},
"identifierName": "fit"
},
"name": "fit"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1071,
"end": 1337,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 50,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1081,
"end": 1113,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1087,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 1087,
"end": 1092,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 1095,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1106,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 33
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1107,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1122,
"end": 1173,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1128,
"end": 1172,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 1128,
"end": 1132,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "aabb"
},
"name": "aabb"
},
"init": {
"type": "CallExpression",
"start": 1135,
"end": 1172,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1135,
"end": 1148,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1135,
"end": 1140,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 26
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1141,
"end": 1148,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1149,
"end": 1171,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1149,
"end": 1154,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1155,
"end": 1171,
"loc": {
"start": {
"line": 45,
"column": 41
},
"end": {
"line": 45,
"column": 57
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1182,
"end": 1249,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 48,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1182,
"end": 1248,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 48,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1182,
"end": 1212,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1182,
"end": 1206,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1182,
"end": 1193,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1182,
"end": 1186,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1194,
"end": 1206,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 32
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1207,
"end": 1212,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 38
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1213,
"end": 1247,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 48,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1227,
"end": 1237,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1227,
"end": 1231,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 1233,
"end": 1237,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 22
},
"identifierName": "aabb"
},
"name": "aabb"
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1258,
"end": 1331,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 81
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1258,
"end": 1330,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 80
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1258,
"end": 1292,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 1258,
"end": 1283,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1258,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1258,
"end": 1262,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1283,
"loc": {
"start": {
"line": 49,
"column": 20
},
"end": {
"line": 49,
"column": 33
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1284,
"end": 1292,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 42
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1295,
"end": 1330,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 1295,
"end": 1314,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 1295,
"end": 1299,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 49
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1300,
"end": 1314,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 64
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1315,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 65
},
"end": {
"line": 49,
"column": 69
},
"identifierName": "aabb"
},
"name": "aabb"
},
{
"type": "Identifier",
"start": 1321,
"end": 1329,
"loc": {
"start": {
"line": 49,
"column": 71
},
"end": {
"line": 49,
"column": 79
},
"identifierName": "tempVec3"
},
"name": "tempVec3"
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1343,
"end": 1416,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1347,
"end": 1350,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 11
},
"identifierName": "fov"
},
"name": "fov"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1351,
"end": 1354,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 15
},
"identifierName": "fov"
},
"name": "fov"
}
],
"body": {
"type": "BlockStatement",
"start": 1356,
"end": 1416,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1366,
"end": 1410,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1366,
"end": 1409,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1366,
"end": 1403,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1396,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1366,
"end": 1377,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1371,
"end": 1377,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1384,
"end": 1396,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 38
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1397,
"end": 1403,
"loc": {
"start": {
"line": 53,
"column": 39
},
"end": {
"line": 53,
"column": 45
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1406,
"end": 1409,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 51
},
"identifierName": "fov"
},
"name": "fov"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1422,
"end": 1493,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1426,
"end": 1429,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 11
},
"identifierName": "fov"
},
"name": "fov"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1432,
"end": 1493,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 58,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1442,
"end": 1487,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 53
}
},
"argument": {
"type": "MemberExpression",
"start": 1449,
"end": 1486,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1479,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1466,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1449,
"end": 1460,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1449,
"end": 1453,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1454,
"end": 1460,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 26
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1461,
"end": 1466,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 32
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1467,
"end": 1479,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 45
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1480,
"end": 1486,
"loc": {
"start": {
"line": 57,
"column": 46
},
"end": {
"line": 57,
"column": 52
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1499,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 62,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1503,
"end": 1511,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 16
},
"identifierName": "duration"
},
"name": "duration"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1512,
"end": 1520,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 25
},
"identifierName": "duration"
},
"name": "duration"
}
],
"body": {
"type": "BlockStatement",
"start": 1522,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 27
},
"end": {
"line": 62,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1532,
"end": 1583,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 59
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1532,
"end": 1582,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 58
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1532,
"end": 1571,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1562,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1549,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1532,
"end": 1543,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1537,
"end": 1543,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1544,
"end": 1549,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 25
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1550,
"end": 1562,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 38
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1563,
"end": 1571,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "duration"
},
"name": "duration"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1574,
"end": 1582,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 58
},
"identifierName": "duration"
},
"name": "duration"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1595,
"end": 1673,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 66,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1599,
"end": 1607,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 16
},
"identifierName": "duration"
},
"name": "duration"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1610,
"end": 1673,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 66,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1620,
"end": 1667,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 55
}
},
"argument": {
"type": "MemberExpression",
"start": 1627,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1644,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1638,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1627,
"end": 1631,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1632,
"end": 1638,
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 26
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1639,
"end": 1644,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 32
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1645,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1658,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 46
},
"end": {
"line": 65,
"column": 54
},
"identifierName": "duration"
},
"name": "duration"
},
"computed": false
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 18,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Controller.js",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 43,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 44
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 45,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 59,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js",
"start": 64,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 106,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 61
},
"end": {
"line": 2,
"column": 62
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 109,
"end": 114,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tempVec3",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 126,
"end": 130,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 130,
"end": 131,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vec3",
"start": 131,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 135,
"end": 136,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 137,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 156,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "FitAction",
"start": 162,
"end": 171,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 172,
"end": 179,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 180,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 191,
"end": 192,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 198,
"end": 209,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 210,
"end": 216,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"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": 22
},
"end": {
"line": 9,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 218,
"end": 221,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 221,
"end": 222,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 222,
"end": 223,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 29
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 33
}
}
},
{
"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": 237,
"end": 242,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 242,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 243,
"end": 249,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 249,
"end": 250,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 251,
"end": 254,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 254,
"end": 255,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 11,
"column": 26
},
"end": {
"line": 11,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 266,
"end": 268,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 13,
"column": 11
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 271,
"end": 274,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 274,
"end": 275,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 275,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 17
},
"end": {
"line": 13,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 13,
"column": 30
},
"end": {
"line": 13,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 290,
"end": 291,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 13,
"column": 33
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 304,
"end": 309,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Missing config: buttonElement",
"start": 310,
"end": 341,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 14,
"column": 49
},
"end": {
"line": 14,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 351,
"end": 352,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 362,
"end": 367,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 368,
"end": 381,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 17,
"column": 28
},
"end": {
"line": 17,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 384,
"end": 387,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 17,
"column": 33
},
"end": {
"line": 17,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 388,
"end": 401,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 17,
"column": 47
},
"end": {
"line": 17,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 416,
"end": 417,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 417,
"end": 419,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "enabled",
"start": 420,
"end": 429,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 429,
"end": 430,
"loc": {
"start": {
"line": 19,
"column": 25
},
"end": {
"line": 19,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 432,
"end": 439,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 439,
"end": 440,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 441,
"end": 443,
"loc": {
"start": {
"line": 19,
"column": 37
},
"end": {
"line": 19,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 444,
"end": 445,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 41
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 458,
"end": 460,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 463,
"end": 470,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 470,
"end": 471,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 472,
"end": 473,
"loc": {
"start": {
"line": 20,
"column": 26
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 490,
"end": 503,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 503,
"end": 504,
"loc": {
"start": {
"line": 21,
"column": 29
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 504,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 21,
"column": 39
},
"end": {
"line": 21,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 514,
"end": 517,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 517,
"end": 518,
"loc": {
"start": {
"line": 21,
"column": 43
},
"end": {
"line": 21,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 518,
"end": 528,
"loc": {
"start": {
"line": 21,
"column": 44
},
"end": {
"line": 21,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 528,
"end": 529,
"loc": {
"start": {
"line": 21,
"column": 54
},
"end": {
"line": 21,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 529,
"end": 530,
"loc": {
"start": {
"line": 21,
"column": 55
},
"end": {
"line": 21,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 543,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 545,
"end": 549,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 568,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 582,
"end": 591,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 591,
"end": 592,
"loc": {
"start": {
"line": 23,
"column": 39
},
"end": {
"line": 23,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 592,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 599,
"end": 609,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 23,
"column": 58
},
"end": {
"line": 23,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 634,
"end": 635,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 647,
"end": 651,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 652,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 655,
"end": 663,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 663,
"end": 664,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 665,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 666,
"end": 672,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 672,
"end": 673,
"loc": {
"start": {
"line": 27,
"column": 33
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 674,
"end": 676,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 677,
"end": 678,
"loc": {
"start": {
"line": 27,
"column": 38
},
"end": {
"line": 27,
"column": 39
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 691,
"end": 693,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 695,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 29,
"column": 29
},
"end": {
"line": 29,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 735,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 744,
"end": 745,
"loc": {
"start": {
"line": 29,
"column": 39
},
"end": {
"line": 29,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 745,
"end": 748,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 29,
"column": 43
},
"end": {
"line": 29,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 749,
"end": 757,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 757,
"end": 758,
"loc": {
"start": {
"line": 29,
"column": 52
},
"end": {
"line": 29,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 758,
"end": 759,
"loc": {
"start": {
"line": 29,
"column": 53
},
"end": {
"line": 29,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 774,
"end": 778,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 779,
"end": 780,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 797,
"end": 810,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 29
}
}
},
{
"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": 31,
"column": 29
},
"end": {
"line": 31,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 811,
"end": 820,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 31,
"column": 39
},
"end": {
"line": 31,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 821,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 40
},
"end": {
"line": 31,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 31,
"column": 46
},
"end": {
"line": 31,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 828,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 836,
"end": 837,
"loc": {
"start": {
"line": 31,
"column": 55
},
"end": {
"line": 31,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 31,
"column": 56
},
"end": {
"line": 31,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 862,
"end": 863,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 874,
"end": 887,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 888,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 35,
"column": 38
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "click",
"start": 905,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 914,
"end": 915,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 35,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 915,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 49
},
"end": {
"line": 35,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 35,
"column": 54
},
"end": {
"line": 35,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 922,
"end": 924,
"loc": {
"start": {
"line": 35,
"column": 56
},
"end": {
"line": 35,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 925,
"end": 926,
"loc": {
"start": {
"line": 35,
"column": 59
},
"end": {
"line": 35,
"column": 60
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 939,
"end": 941,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 942,
"end": 943,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 943,
"end": 947,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 948,
"end": 958,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 958,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 959,
"end": 960,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 960,
"end": 961,
"loc": {
"start": {
"line": 36,
"column": 33
},
"end": {
"line": 36,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 962,
"end": 963,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 980,
"end": 984,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 984,
"end": 985,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fit",
"start": 985,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 988,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 990,
"end": 991,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1004,
"end": 1005,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1018,
"end": 1023,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 17
}
}
},
{
"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": 39,
"column": 17
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"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": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1050,
"end": 1051,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1052,
"end": 1053,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1058,
"end": 1059,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fit",
"start": 1065,
"end": 1068,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 43,
"column": 7
},
"end": {
"line": 43,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 11
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1081,
"end": 1086,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1087,
"end": 1092,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1107,
"end": 1112,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 40
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1122,
"end": 1127,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1128,
"end": 1132,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1135,
"end": 1140,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1140,
"end": 1141,
"loc": {
"start": {
"line": 45,
"column": 26
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 1141,
"end": 1148,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1148,
"end": 1149,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1149,
"end": 1154,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 45,
"column": 40
},
"end": {
"line": 45,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 1155,
"end": 1171,
"loc": {
"start": {
"line": 45,
"column": 41
},
"end": {
"line": 45,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 45,
"column": 57
},
"end": {
"line": 45,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 45,
"column": 58
},
"end": {
"line": 45,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1182,
"end": 1186,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1194,
"end": 1206,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 1207,
"end": 1212,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 46,
"column": 38
},
"end": {
"line": 46,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1227,
"end": 1231,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1231,
"end": 1232,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1233,
"end": 1237,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1247,
"end": 1248,
"loc": {
"start": {
"line": 48,
"column": 9
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1248,
"end": 1249,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1258,
"end": 1262,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 49,
"column": 19
},
"end": {
"line": 49,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1270,
"end": 1283,
"loc": {
"start": {
"line": 49,
"column": 20
},
"end": {
"line": 49,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1283,
"end": 1284,
"loc": {
"start": {
"line": 49,
"column": 33
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pivotPos",
"start": 1284,
"end": 1292,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1293,
"end": 1294,
"loc": {
"start": {
"line": 49,
"column": 43
},
"end": {
"line": 49,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 1295,
"end": 1299,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 49,
"column": 49
},
"end": {
"line": 49,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Center",
"start": 1300,
"end": 1314,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1314,
"end": 1315,
"loc": {
"start": {
"line": 49,
"column": 64
},
"end": {
"line": 49,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1315,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 65
},
"end": {
"line": 49,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1319,
"end": 1320,
"loc": {
"start": {
"line": 49,
"column": 69
},
"end": {
"line": 49,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tempVec3",
"start": 1321,
"end": 1329,
"loc": {
"start": {
"line": 49,
"column": 71
},
"end": {
"line": 49,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 49,
"column": 79
},
"end": {
"line": 49,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1330,
"end": 1331,
"loc": {
"start": {
"line": 49,
"column": 80
},
"end": {
"line": 49,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1336,
"end": 1337,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 1343,
"end": 1346,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fov",
"start": 1347,
"end": 1350,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1350,
"end": 1351,
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fov",
"start": 1351,
"end": 1354,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 52,
"column": 15
},
"end": {
"line": 52,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 52,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1371,
"end": 1377,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1384,
"end": 1396,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1396,
"end": 1397,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fitFOV",
"start": 1397,
"end": 1403,
"loc": {
"start": {
"line": 53,
"column": 39
},
"end": {
"line": 53,
"column": 45
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1404,
"end": 1405,
"loc": {
"start": {
"line": 53,
"column": 46
},
"end": {
"line": 53,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fov",
"start": 1406,
"end": 1409,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1409,
"end": 1410,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1415,
"end": 1416,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 1422,
"end": 1425,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fov",
"start": 1426,
"end": 1429,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 56,
"column": 11
},
"end": {
"line": 56,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1430,
"end": 1431,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1432,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 15
}
}
},
{
"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": 1442,
"end": 1448,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1449,
"end": 1453,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1453,
"end": 1454,
"loc": {
"start": {
"line": 57,
"column": 19
},
"end": {
"line": 57,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1454,
"end": 1460,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1460,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 26
},
"end": {
"line": 57,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1461,
"end": 1466,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1466,
"end": 1467,
"loc": {
"start": {
"line": 57,
"column": 32
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1467,
"end": 1479,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1479,
"end": 1480,
"loc": {
"start": {
"line": 57,
"column": 45
},
"end": {
"line": 57,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fitFOV",
"start": 1480,
"end": 1486,
"loc": {
"start": {
"line": 57,
"column": 46
},
"end": {
"line": 57,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1486,
"end": 1487,
"loc": {
"start": {
"line": 57,
"column": 52
},
"end": {
"line": 57,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1492,
"end": 1493,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 1499,
"end": 1502,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1503,
"end": 1511,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1511,
"end": 1512,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1512,
"end": 1520,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1520,
"end": 1521,
"loc": {
"start": {
"line": 60,
"column": 25
},
"end": {
"line": 60,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1522,
"end": 1523,
"loc": {
"start": {
"line": 60,
"column": 27
},
"end": {
"line": 60,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1536,
"end": 1537,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1537,
"end": 1543,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1543,
"end": 1544,
"loc": {
"start": {
"line": 61,
"column": 19
},
"end": {
"line": 61,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1544,
"end": 1549,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1549,
"end": 1550,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1550,
"end": 1562,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1562,
"end": 1563,
"loc": {
"start": {
"line": 61,
"column": 38
},
"end": {
"line": 61,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1563,
"end": 1571,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 47
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1572,
"end": 1573,
"loc": {
"start": {
"line": 61,
"column": 48
},
"end": {
"line": 61,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1574,
"end": 1582,
"loc": {
"start": {
"line": 61,
"column": 50
},
"end": {
"line": 61,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1582,
"end": 1583,
"loc": {
"start": {
"line": 61,
"column": 58
},
"end": {
"line": 61,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 1595,
"end": 1598,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1599,
"end": 1607,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1607,
"end": 1608,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1610,
"end": 1611,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 64,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1620,
"end": 1626,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1627,
"end": 1631,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1631,
"end": 1632,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1632,
"end": 1638,
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1638,
"end": 1639,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1639,
"end": 1644,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1644,
"end": 1645,
"loc": {
"start": {
"line": 65,
"column": 32
},
"end": {
"line": 65,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 1645,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1657,
"end": 1658,
"loc": {
"start": {
"line": 65,
"column": 45
},
"end": {
"line": 65,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1658,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 46
},
"end": {
"line": 65,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 65,
"column": 54
},
"end": {
"line": 65,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1672,
"end": 1673,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1674,
"end": 1675,
"loc": {
"start": {
"line": 67,
"column": 0
},
"end": {
"line": 67,
"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": 1677,
"end": 1683,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 69,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1684,
"end": 1685,
"loc": {
"start": {
"line": 69,
"column": 7
},
"end": {
"line": 69,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "FitAction",
"start": 1685,
"end": 1694,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1694,
"end": 1695,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1695,
"end": 1696,
"loc": {
"start": {
"line": 69,
"column": 18
},
"end": {
"line": 69,
"column": 19
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1696,
"end": 1696,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 19
}
}
}
]
}