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

41011 lines
1.2 MiB

{
"type": "File",
"start": 0,
"end": 4149,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 129,
"column": 21
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4149,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 129,
"column": 21
}
},
"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": 121,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 76
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 53,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 53,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "ModelMemento"
},
"name": "ModelMemento"
},
"local": {
"type": "Identifier",
"start": 53,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "ModelMemento"
},
"name": "ModelMemento"
}
},
{
"type": "ImportSpecifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 26
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 26
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 78,
"end": 120,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 75
}
},
"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": 123,
"end": 153,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 129,
"end": 152,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 129,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "tempVec3a"
},
"name": "tempVec3a"
},
"init": {
"type": "CallExpression",
"start": 141,
"end": 152,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 141,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 141,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 146,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "vec3"
},
"name": "vec3"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 155,
"end": 170,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 171,
"end": 4126,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 127,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 177,
"end": 188,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "ResetAction"
},
"name": "ResetAction",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 197,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 36
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 208,
"end": 4126,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 127,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 215,
"end": 1601,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 215,
"end": 226,
"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": 227,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "AssignmentPattern",
"start": 235,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 235,
"end": 238,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 241,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 32
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 245,
"end": 1601,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 58,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 256,
"end": 275,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 256,
"end": 274,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 256,
"end": 261,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 262,
"end": 268,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 270,
"end": 273,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 285,
"end": 371,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 289,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 290,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 290,
"end": 293,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 17
},
"end": {
"line": 13,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 309,
"end": 371,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 15,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 323,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 329,
"end": 360,
"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": 381,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 387,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 387,
"end": 400,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 403,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 403,
"end": 406,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 407,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 430,
"end": 464,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 436,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 436,
"end": 442,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "camera"
},
"name": "camera"
},
"init": {
"type": "MemberExpression",
"start": 445,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 445,
"end": 456,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 445,
"end": 449,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 450,
"end": 456,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 457,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 41
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 474,
"end": 499,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 474,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 474,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 474,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 479,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 496,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 32
}
},
"properties": []
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 578,
"end": 613,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 578,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 578,
"end": 588,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 578,
"end": 584,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 14
},
"identifierName": "camera"
},
"name": "camera",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 585,
"end": 588,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 18
},
"identifierName": "eye"
},
"name": "eye"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 591,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 42
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 592,
"end": 597,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 27
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
},
{
"type": "NumericLiteral",
"start": 599,
"end": 604,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 34
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
},
{
"type": "NumericLiteral",
"start": 606,
"end": 611,
"loc": {
"start": {
"line": 24,
"column": 36
},
"end": {
"line": 24,
"column": 41
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 622,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 622,
"end": 643,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 622,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 622,
"end": 628,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 14
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 629,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 19
},
"identifierName": "look"
},
"name": "look"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 636,
"end": 643,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 29
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 23
},
"end": {
"line": 25,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 639,
"end": 640,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 25,
"column": 27
},
"end": {
"line": 25,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 653,
"end": 677,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 653,
"end": 676,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 31
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 653,
"end": 662,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 653,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 14
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 660,
"end": 662,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "up"
},
"name": "up"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 665,
"end": 676,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 31
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 666,
"end": 668,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 23
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 667,
"end": 668,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 23
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 26
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "UnaryExpression",
"start": 673,
"end": 675,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 30
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 687,
"end": 807,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 30,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 687,
"end": 806,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 687,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 717,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 687,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 692,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 702,
"end": 717,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 38
},
"identifierName": "_modelsExplorer"
},
"name": "_modelsExplorer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 718,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 41
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 55
}
},
"extra": {
"rawValue": "modelLoaded",
"raw": "\"modelLoaded\""
},
"value": "modelLoaded"
},
{
"type": "ArrowFunctionExpression",
"start": 736,
"end": 805,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 30,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 737,
"end": 744,
"loc": {
"start": {
"line": 28,
"column": 58
},
"end": {
"line": 28,
"column": 65
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 749,
"end": 805,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 30,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 763,
"end": 795,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 763,
"end": 794,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 763,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 763,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 768,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 34
},
"identifierName": "_saveModelMemento"
},
"name": "_saveModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 786,
"end": 793,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 817,
"end": 942,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 817,
"end": 941,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 817,
"end": 850,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 817,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 817,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 817,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 822,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 832,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 38
},
"identifierName": "_modelsExplorer"
},
"name": "_modelsExplorer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 848,
"end": 850,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 41
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 851,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 57
}
},
"extra": {
"rawValue": "modelUnloaded",
"raw": "\"modelUnloaded\""
},
"value": "modelUnloaded"
},
{
"type": "ArrowFunctionExpression",
"start": 868,
"end": 940,
"loc": {
"start": {
"line": 32,
"column": 59
},
"end": {
"line": 34,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 32,
"column": 60
},
"end": {
"line": 32,
"column": 67
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 881,
"end": 940,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 895,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 895,
"end": 929,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 895,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 895,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 900,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 37
},
"identifierName": "_destroyModelMemento"
},
"name": "_destroyModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 921,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 45
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 952,
"end": 1177,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 42,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 952,
"end": 1176,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 952,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 952,
"end": 956,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 957,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 960,
"end": 969,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 971,
"end": 1175,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 42,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 972,
"end": 979,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 984,
"end": 1175,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 998,
"end": 1165,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1002,
"end": 1010,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1003,
"end": 1010,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1012,
"end": 1084,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 39,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1030,
"end": 1070,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1030,
"end": 1069,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1030,
"end": 1057,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1030,
"end": 1053,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1030,
"end": 1043,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1044,
"end": 1053,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1054,
"end": 1057,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1058,
"end": 1068,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1090,
"end": 1165,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1108,
"end": 1151,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 1108,
"end": 1150,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1108,
"end": 1138,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1108,
"end": 1131,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1108,
"end": 1121,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1122,
"end": 1131,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 40,
"column": 40
},
"end": {
"line": 40,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1139,
"end": 1149,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1187,
"end": 1404,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 50,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1187,
"end": 1403,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 50,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1187,
"end": 1194,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1187,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1192,
"end": 1194,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1195,
"end": 1203,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 1205,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 50,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1206,
"end": 1212,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 1217,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 50,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1231,
"end": 1392,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1235,
"end": 1241,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 1243,
"end": 1313,
"loc": {
"start": {
"line": 45,
"column": 24
},
"end": {
"line": 47,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1261,
"end": 1299,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 1261,
"end": 1298,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1261,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1261,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1261,
"end": 1274,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1285,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 40
},
"end": {
"line": 46,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1289,
"end": 1297,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1319,
"end": 1392,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1337,
"end": 1378,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1337,
"end": 1377,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1337,
"end": 1367,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1337,
"end": 1360,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1337,
"end": 1350,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1351,
"end": 1360,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1361,
"end": 1367,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1368,
"end": 1376,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1414,
"end": 1595,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 57,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1414,
"end": 1594,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 57,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1414,
"end": 1444,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1414,
"end": 1427,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1428,
"end": 1444,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1445,
"end": 1452,
"loc": {
"start": {
"line": 52,
"column": 39
},
"end": {
"line": 52,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1454,
"end": 1593,
"loc": {
"start": {
"line": 52,
"column": 48
},
"end": {
"line": 57,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1455,
"end": 1460,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 52,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1465,
"end": 1593,
"loc": {
"start": {
"line": 52,
"column": 59
},
"end": {
"line": 57,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1479,
"end": 1547,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1483,
"end": 1500,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1483,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1483,
"end": 1487,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1488,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1502,
"end": 1547,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 55,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1520,
"end": 1533,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1520,
"end": 1532,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1520,
"end": 1530,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1520,
"end": 1524,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1525,
"end": 1530,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "reset"
},
"name": "reset"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1560,
"end": 1583,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1560,
"end": 1582,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1560,
"end": 1580,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1560,
"end": 1565,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1566,
"end": 1580,
"loc": {
"start": {
"line": 56,
"column": 18
},
"end": {
"line": 56,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1607,
"end": 2370,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 78,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1607,
"end": 1624,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 21
},
"identifierName": "_saveModelMemento"
},
"name": "_saveModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1625,
"end": 1632,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 29
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 1634,
"end": 2370,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 78,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1644,
"end": 1704,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1650,
"end": 1703,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 1650,
"end": 1659,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 23
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"init": {
"type": "MemberExpression",
"start": 1662,
"end": 1703,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1694,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1673,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 1667,
"end": 1673,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1674,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 38
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "metaScene"
},
"name": "metaScene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1684,
"end": 1694,
"loc": {
"start": {
"line": 61,
"column": 48
},
"end": {
"line": 61,
"column": 58
},
"identifierName": "metaModels"
},
"name": "metaModels"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1695,
"end": 1702,
"loc": {
"start": {
"line": 61,
"column": 59
},
"end": {
"line": 61,
"column": 66
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1713,
"end": 1760,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 64,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1717,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1718,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1729,
"end": 1760,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 64,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1743,
"end": 1750,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1769,
"end": 1809,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1775,
"end": 1808,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1775,
"end": 1787,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 26
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"init": {
"type": "NewExpression",
"start": 1790,
"end": 1808,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 1794,
"end": 1806,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
},
"identifierName": "ModelMemento"
},
"name": "ModelMemento"
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1818,
"end": 2311,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 76,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1818,
"end": 2310,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 76,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1818,
"end": 1842,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1818,
"end": 1830,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 20
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"property": {
"type": "Identifier",
"start": 1831,
"end": 1842,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 32
},
"identifierName": "saveObjects"
},
"name": "saveObjects"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1843,
"end": 1860,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1843,
"end": 1854,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1843,
"end": 1847,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 1848,
"end": 1854,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 44
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1855,
"end": 1860,
"loc": {
"start": {
"line": 66,
"column": 45
},
"end": {
"line": 66,
"column": 50
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
{
"type": "Identifier",
"start": 1862,
"end": 1871,
"loc": {
"start": {
"line": 66,
"column": 52
},
"end": {
"line": 66,
"column": 61
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
{
"type": "ObjectExpression",
"start": 1873,
"end": 2309,
"loc": {
"start": {
"line": 66,
"column": 63
},
"end": {
"line": 76,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1887,
"end": 1900,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1887,
"end": 1894,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 19
},
"identifierName": "visible"
},
"name": "visible"
},
"value": {
"type": "BooleanLiteral",
"start": 1896,
"end": 1900,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1914,
"end": 1925,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1914,
"end": 1919,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 17
},
"identifierName": "edges"
},
"name": "edges"
},
"value": {
"type": "BooleanLiteral",
"start": 1921,
"end": 1925,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1939,
"end": 1951,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1939,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 18
},
"identifierName": "xrayed"
},
"name": "xrayed"
},
"value": {
"type": "BooleanLiteral",
"start": 1947,
"end": 1951,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 24
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1965,
"end": 1982,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1965,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 23
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"value": {
"type": "BooleanLiteral",
"start": 1978,
"end": 1982,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 29
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1996,
"end": 2010,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1996,
"end": 2004,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 20
},
"identifierName": "selected"
},
"name": "selected"
},
"value": {
"type": "BooleanLiteral",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 26
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2024,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2024,
"end": 2033,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 21
},
"identifierName": "clippable"
},
"name": "clippable"
},
"value": {
"type": "BooleanLiteral",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 27
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2053,
"end": 2067,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2053,
"end": 2061,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 20
},
"identifierName": "pickable"
},
"name": "pickable"
},
"value": {
"type": "BooleanLiteral",
"start": 2063,
"end": 2067,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 26
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2081,
"end": 2096,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2081,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 20
},
"identifierName": "colorize"
},
"name": "colorize"
},
"value": {
"type": "BooleanLiteral",
"start": 2091,
"end": 2096,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 27
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 2173,
"end": 2187,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2173,
"end": 2180,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 19
},
"identifierName": "opacity"
},
"name": "opacity",
"leadingComments": null
},
"value": {
"type": "BooleanLiteral",
"start": 2182,
"end": 2187,
"loc": {
"start": {
"line": 75,
"column": 21
},
"end": {
"line": 75,
"column": 26
}
},
"value": false,
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " We don't colorize objects yet - also messes up point clouds",
"start": 2098,
"end": 2160,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 91
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " FIXME: Restoring opacity broken by colorize fix - details at https://github.com/xeokit/xeokit-sdk/issues/239",
"start": 2188,
"end": 2299,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 138
}
}
}
]
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2320,
"end": 2364,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2320,
"end": 2363,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2320,
"end": 2348,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2320,
"end": 2339,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 2320,
"end": 2324,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2325,
"end": 2339,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 27
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2340,
"end": 2347,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 35
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
},
"right": {
"type": "Identifier",
"start": 2351,
"end": 2363,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 51
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2376,
"end": 2664,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2376,
"end": 2396,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 24
},
"identifierName": "_restoreModelMemento"
},
"name": "_restoreModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2397,
"end": 2404,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 32
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 2406,
"end": 2664,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 87,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2416,
"end": 2476,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2422,
"end": 2475,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 2422,
"end": 2431,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 23
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"init": {
"type": "MemberExpression",
"start": 2434,
"end": 2475,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2466,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2455,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2445,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2434,
"end": 2438,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 2439,
"end": 2445,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2446,
"end": 2455,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 47
},
"identifierName": "metaScene"
},
"name": "metaScene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2456,
"end": 2466,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 58
},
"identifierName": "metaModels"
},
"name": "metaModels"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2467,
"end": 2474,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 66
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2485,
"end": 2532,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 84,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 2489,
"end": 2499,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2490,
"end": 2499,
"loc": {
"start": {
"line": 82,
"column": 13
},
"end": {
"line": 82,
"column": 22
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2501,
"end": 2532,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 84,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2515,
"end": 2522,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2541,
"end": 2591,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2547,
"end": 2590,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 2547,
"end": 2559,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 26
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"init": {
"type": "MemberExpression",
"start": 2562,
"end": 2590,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2562,
"end": 2581,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 2567,
"end": 2581,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 48
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2582,
"end": 2589,
"loc": {
"start": {
"line": 85,
"column": 49
},
"end": {
"line": 85,
"column": 56
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2600,
"end": 2658,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 2600,
"end": 2657,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2600,
"end": 2627,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2600,
"end": 2612,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 20
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"property": {
"type": "Identifier",
"start": 2613,
"end": 2627,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 35
},
"identifierName": "restoreObjects"
},
"name": "restoreObjects"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2628,
"end": 2645,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2628,
"end": 2639,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 2628,
"end": 2632,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 2633,
"end": 2639,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 47
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2640,
"end": 2645,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 53
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
{
"type": "Identifier",
"start": 2647,
"end": 2656,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 64
},
"identifierName": "metaModel"
},
"name": "metaModel"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2670,
"end": 2752,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 91,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2670,
"end": 2690,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 24
},
"identifierName": "_destroyModelMemento"
},
"name": "_destroyModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2691,
"end": 2698,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 32
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 2700,
"end": 2752,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 91,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2710,
"end": 2746,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 44
}
},
"expression": {
"type": "UnaryExpression",
"start": 2710,
"end": 2745,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 43
}
},
"operator": "delete",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2717,
"end": 2745,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2717,
"end": 2736,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 2717,
"end": 2721,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2722,
"end": 2736,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 34
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2737,
"end": 2744,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 42
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2758,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2758,
"end": 2763,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 9
},
"identifierName": "reset"
},
"name": "reset"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2766,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 103,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2776,
"end": 2808,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2782,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2782,
"end": 2787,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 2790,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2790,
"end": 2801,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2790,
"end": 2794,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 2795,
"end": 2801,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 33
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2802,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2817,
"end": 2849,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2823,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 14
},
"end": {
"line": 95,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2823,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 14
},
"end": {
"line": 95,
"column": 22
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"init": {
"type": "MemberExpression",
"start": 2834,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2834,
"end": 2839,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 30
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 2840,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 39
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 2858,
"end": 3011,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 99,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2863,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2867,
"end": 2872,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2871,
"end": 2872,
"loc": {
"start": {
"line": 96,
"column": 21
},
"end": {
"line": 96,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "VariableDeclarator",
"start": 2874,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2874,
"end": 2877,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 27
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "MemberExpression",
"start": 2880,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2880,
"end": 2888,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 38
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"property": {
"type": "Identifier",
"start": 2889,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 45
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
}
],
"kind": "var"
},
"test": {
"type": "BinaryExpression",
"start": 2897,
"end": 2904,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 54
}
},
"left": {
"type": "Identifier",
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 2901,
"end": 2904,
"loc": {
"start": {
"line": 96,
"column": 51
},
"end": {
"line": 96,
"column": 54
},
"identifierName": "len"
},
"name": "len"
}
},
"update": {
"type": "UpdateExpression",
"start": 2906,
"end": 2909,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 59
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 57
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 2911,
"end": 3011,
"loc": {
"start": {
"line": 96,
"column": 61
},
"end": {
"line": 99,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2925,
"end": 2953,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2931,
"end": 2952,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2931,
"end": 2938,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 25
},
"identifierName": "modelId"
},
"name": "modelId"
},
"init": {
"type": "MemberExpression",
"start": 2941,
"end": 2952,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2941,
"end": 2949,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 36
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"property": {
"type": "Identifier",
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 38
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2966,
"end": 3001,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 2966,
"end": 3000,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 2966,
"end": 2991,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2966,
"end": 2970,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2971,
"end": 2991,
"loc": {
"start": {
"line": 98,
"column": 17
},
"end": {
"line": 98,
"column": 37
},
"identifierName": "_restoreModelMemento"
},
"name": "_restoreModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2992,
"end": 2999,
"loc": {
"start": {
"line": 98,
"column": 38
},
"end": {
"line": 98,
"column": 45
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 3020,
"end": 3061,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 3020,
"end": 3060,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 3020,
"end": 3058,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 3020,
"end": 3034,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 3020,
"end": 3024,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3025,
"end": 3034,
"loc": {
"start": {
"line": 100,
"column": 13
},
"end": {
"line": 100,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3035,
"end": 3058,
"loc": {
"start": {
"line": 100,
"column": 23
},
"end": {
"line": 100,
"column": 46
},
"identifierName": "unShowObjectInExplorers"
},
"name": "unShowObjectInExplorers"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 3070,
"end": 3095,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 3070,
"end": 3094,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 3070,
"end": 3079,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 3070,
"end": 3074,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3075,
"end": 3079,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 17
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3080,
"end": 3087,
"loc": {
"start": {
"line": 101,
"column": 18
},
"end": {
"line": 101,
"column": 25
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "BooleanLiteral",
"start": 3089,
"end": 3093,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 31
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3104,
"end": 3124,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 3104,
"end": 3123,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 3104,
"end": 3121,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 3104,
"end": 3108,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3109,
"end": 3121,
"loc": {
"start": {
"line": 102,
"column": 13
},
"end": {
"line": 102,
"column": 25
},
"identifierName": "_resetCamera"
},
"name": "_resetCamera"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3136,
"end": 4124,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3136,
"end": 3148,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 16
},
"identifierName": "_resetCamera"
},
"name": "_resetCamera"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3151,
"end": 4124,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 126,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3161,
"end": 3188,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3167,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 3167,
"end": 3173,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 3176,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3176,
"end": 3180,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 3181,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 28
},
"end": {
"line": 106,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3197,
"end": 3224,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3203,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 3203,
"end": 3208,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3211,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3211,
"end": 3217,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 28
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3218,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 34
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3233,
"end": 3284,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3239,
"end": 3283,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 3239,
"end": 3243,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 18
},
"identifierName": "aabb"
},
"name": "aabb"
},
"init": {
"type": "CallExpression",
"start": 3246,
"end": 3283,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 3246,
"end": 3259,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3246,
"end": 3251,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 26
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3252,
"end": 3259,
"loc": {
"start": {
"line": 108,
"column": 27
},
"end": {
"line": 108,
"column": 34
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3260,
"end": 3282,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 3260,
"end": 3265,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3266,
"end": 3282,
"loc": {
"start": {
"line": 108,
"column": 41
},
"end": {
"line": 108,
"column": 57
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3293,
"end": 3330,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3299,
"end": 3329,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 3299,
"end": 3303,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 18
},
"identifierName": "diag"
},
"name": "diag"
},
"init": {
"type": "CallExpression",
"start": 3306,
"end": 3329,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 3306,
"end": 3323,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3306,
"end": 3310,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 25
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3311,
"end": 3323,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 38
},
"identifierName": "getAABB3Diag"
},
"name": "getAABB3Diag"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3324,
"end": 3328,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 43
},
"identifierName": "aabb"
},
"name": "aabb"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3339,
"end": 3391,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3345,
"end": 3390,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 3345,
"end": 3351,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 20
},
"identifierName": "center"
},
"name": "center"
},
"init": {
"type": "CallExpression",
"start": 3354,
"end": 3390,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 3354,
"end": 3373,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3354,
"end": 3358,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 27
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3359,
"end": 3373,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 42
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3374,
"end": 3378,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 47
},
"identifierName": "aabb"
},
"name": "aabb"
},
{
"type": "Identifier",
"start": 3380,
"end": 3389,
"loc": {
"start": {
"line": 110,
"column": 49
},
"end": {
"line": 110,
"column": 58
},
"identifierName": "tempVec3a"
},
"name": "tempVec3a"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3400,
"end": 3428,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3406,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 3406,
"end": 3412,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 20
},
"identifierName": "camera"
},
"name": "camera"
},
"init": {
"type": "MemberExpression",
"start": 3415,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3415,
"end": 3420,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 28
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3421,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3437,
"end": 3475,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3443,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 3443,
"end": 3449,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 20
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"init": {
"type": "MemberExpression",
"start": 3452,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 3452,
"end": 3470,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 3452,
"end": 3458,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 29
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3459,
"end": 3470,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 41
},
"identifierName": "perspective"
},
"name": "perspective"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3471,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 42
},
"end": {
"line": 112,
"column": 45
},
"identifierName": "fov"
},
"name": "fov"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3484,
"end": 3543,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3490,
"end": 3542,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 3490,
"end": 3494,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 18
},
"identifierName": "dist"
},
"name": "dist"
},
"init": {
"type": "CallExpression",
"start": 3497,
"end": 3542,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 3497,
"end": 3505,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3497,
"end": 3501,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 25
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3502,
"end": 3505,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 29
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3506,
"end": 3541,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 65
}
},
"left": {
"type": "Identifier",
"start": 3506,
"end": 3510,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 34
},
"identifierName": "diag"
},
"name": "diag"
},
"operator": "/",
"right": {
"type": "CallExpression",
"start": 3513,
"end": 3541,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 3513,
"end": 3521,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 3513,
"end": 3517,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 41
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3518,
"end": 3521,
"loc": {
"start": {
"line": 113,
"column": 42
},
"end": {
"line": 113,
"column": 45
},
"identifierName": "tan"
},
"name": "tan"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3522,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 46
},
"end": {
"line": 113,
"column": 64
}
},
"left": {
"type": "NumericLiteral",
"start": 3522,
"end": 3524,
"loc": {
"start": {
"line": 113,
"column": 46
},
"end": {
"line": 113,
"column": 48
}
},
"extra": {
"rawValue": 45,
"raw": "45"
},
"value": 45
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3527,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 3527,
"end": 3531,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 55
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3532,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 56
},
"end": {
"line": 113,
"column": 64
},
"identifierName": "DEGTORAD"
},
"name": "DEGTORAD"
},
"computed": false
}
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3552,
"end": 3635,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3558,
"end": 3634,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 3558,
"end": 3561,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 17
},
"identifierName": "dir"
},
"name": "dir"
},
"init": {
"type": "CallExpression",
"start": 3564,
"end": 3634,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 3564,
"end": 3582,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3564,
"end": 3568,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 24
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3569,
"end": 3582,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 38
},
"identifierName": "normalizeVec3"
},
"name": "normalizeVec3"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 3583,
"end": 3633,
"loc": {
"start": {
"line": 114,
"column": 39
},
"end": {
"line": 114,
"column": 89
}
},
"test": {
"type": "MemberExpression",
"start": 3584,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 40
},
"end": {
"line": 114,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3584,
"end": 3590,
"loc": {
"start": {
"line": 114,
"column": 40
},
"end": {
"line": 114,
"column": 46
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3591,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 114,
"column": 50
},
"identifierName": "yUp"
},
"name": "yUp"
},
"computed": false,
"extra": {
"parenthesized": true,
"parenStart": 3583
}
},
"consequent": {
"type": "ArrayExpression",
"start": 3598,
"end": 3619,
"loc": {
"start": {
"line": 114,
"column": 54
},
"end": {
"line": 114,
"column": 75
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3599,
"end": 3603,
"loc": {
"start": {
"line": 114,
"column": 55
},
"end": {
"line": 114,
"column": 59
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3600,
"end": 3603,
"loc": {
"start": {
"line": 114,
"column": 56
},
"end": {
"line": 114,
"column": 59
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "UnaryExpression",
"start": 3605,
"end": 3612,
"loc": {
"start": {
"line": 114,
"column": 61
},
"end": {
"line": 114,
"column": 68
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3606,
"end": 3612,
"loc": {
"start": {
"line": 114,
"column": 62
},
"end": {
"line": 114,
"column": 68
}
},
"extra": {
"rawValue": 0.7071,
"raw": "0.7071"
},
"value": 0.7071
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "UnaryExpression",
"start": 3614,
"end": 3618,
"loc": {
"start": {
"line": 114,
"column": 70
},
"end": {
"line": 114,
"column": 74
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3615,
"end": 3618,
"loc": {
"start": {
"line": 114,
"column": 71
},
"end": {
"line": 114,
"column": 74
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"alternate": {
"type": "ArrayExpression",
"start": 3622,
"end": 3633,
"loc": {
"start": {
"line": 114,
"column": 78
},
"end": {
"line": 114,
"column": 89
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3623,
"end": 3625,
"loc": {
"start": {
"line": 114,
"column": 79
},
"end": {
"line": 114,
"column": 81
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3624,
"end": 3625,
"loc": {
"start": {
"line": 114,
"column": 80
},
"end": {
"line": 114,
"column": 81
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3627,
"end": 3628,
"loc": {
"start": {
"line": 114,
"column": 83
},
"end": {
"line": 114,
"column": 84
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "UnaryExpression",
"start": 3630,
"end": 3632,
"loc": {
"start": {
"line": 114,
"column": 86
},
"end": {
"line": 114,
"column": 88
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3631,
"end": 3632,
"loc": {
"start": {
"line": 114,
"column": 87
},
"end": {
"line": 114,
"column": 88
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3644,
"end": 3724,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 88
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3650,
"end": 3723,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 87
}
},
"id": {
"type": "Identifier",
"start": 3650,
"end": 3652,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 16
},
"identifierName": "up"
},
"name": "up"
},
"init": {
"type": "CallExpression",
"start": 3655,
"end": 3723,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 87
}
},
"callee": {
"type": "MemberExpression",
"start": 3655,
"end": 3673,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 3655,
"end": 3659,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 23
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3660,
"end": 3673,
"loc": {
"start": {
"line": 115,
"column": 24
},
"end": {
"line": 115,
"column": 37
},
"identifierName": "normalizeVec3"
},
"name": "normalizeVec3"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 3674,
"end": 3722,
"loc": {
"start": {
"line": 115,
"column": 38
},
"end": {
"line": 115,
"column": 86
}
},
"test": {
"type": "MemberExpression",
"start": 3675,
"end": 3685,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3675,
"end": 3681,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 45
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3682,
"end": 3685,
"loc": {
"start": {
"line": 115,
"column": 46
},
"end": {
"line": 115,
"column": 49
},
"identifierName": "yUp"
},
"name": "yUp"
},
"computed": false,
"extra": {
"parenthesized": true,
"parenStart": 3674
}
},
"consequent": {
"type": "ArrayExpression",
"start": 3689,
"end": 3709,
"loc": {
"start": {
"line": 115,
"column": 53
},
"end": {
"line": 115,
"column": 73
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3690,
"end": 3694,
"loc": {
"start": {
"line": 115,
"column": 54
},
"end": {
"line": 115,
"column": 58
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3691,
"end": 3694,
"loc": {
"start": {
"line": 115,
"column": 55
},
"end": {
"line": 115,
"column": 58
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3696,
"end": 3702,
"loc": {
"start": {
"line": 115,
"column": 60
},
"end": {
"line": 115,
"column": 66
}
},
"extra": {
"rawValue": 0.7071,
"raw": "0.7071"
},
"value": 0.7071
},
{
"type": "UnaryExpression",
"start": 3704,
"end": 3708,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 72
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3705,
"end": 3708,
"loc": {
"start": {
"line": 115,
"column": 69
},
"end": {
"line": 115,
"column": 72
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"alternate": {
"type": "ArrayExpression",
"start": 3712,
"end": 3722,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 86
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3713,
"end": 3715,
"loc": {
"start": {
"line": 115,
"column": 77
},
"end": {
"line": 115,
"column": 79
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 115,
"column": 78
},
"end": {
"line": 115,
"column": 79
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 115,
"column": 81
},
"end": {
"line": 115,
"column": 82
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 3720,
"end": 3721,
"loc": {
"start": {
"line": 115,
"column": 84
},
"end": {
"line": 115,
"column": 85
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3733,
"end": 3772,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3733,
"end": 3771,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3733,
"end": 3762,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3733,
"end": 3753,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3733,
"end": 3739,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3740,
"end": 3753,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 28
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3754,
"end": 3762,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 37
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3765,
"end": 3771,
"loc": {
"start": {
"line": 116,
"column": 40
},
"end": {
"line": 116,
"column": 46
},
"identifierName": "center"
},
"name": "center"
}
}
},
{
"type": "ExpressionStatement",
"start": 3781,
"end": 3819,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3781,
"end": 3818,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3781,
"end": 3810,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3781,
"end": 3801,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3781,
"end": 3787,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3788,
"end": 3801,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 28
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3802,
"end": 3810,
"loc": {
"start": {
"line": 117,
"column": 29
},
"end": {
"line": 117,
"column": 37
},
"identifierName": "planView"
},
"name": "planView"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 3813,
"end": 3818,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 45
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 3828,
"end": 4118,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 125,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 3828,
"end": 4117,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 125,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 3828,
"end": 3853,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 3828,
"end": 3847,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 3828,
"end": 3834,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3835,
"end": 3847,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 27
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3848,
"end": 3853,
"loc": {
"start": {
"line": 118,
"column": 28
},
"end": {
"line": 118,
"column": 33
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 3854,
"end": 4116,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 125,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3868,
"end": 3880,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3868,
"end": 3872,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 16
},
"identifierName": "look"
},
"name": "look"
},
"value": {
"type": "Identifier",
"start": 3874,
"end": 3880,
"loc": {
"start": {
"line": 119,
"column": 18
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "center"
},
"name": "center"
}
},
{
"type": "ObjectProperty",
"start": 3894,
"end": 3986,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 104
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3894,
"end": 3897,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 15
},
"identifierName": "eye"
},
"name": "eye"
},
"value": {
"type": "ArrayExpression",
"start": 3899,
"end": 3986,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 104
}
},
"elements": [
{
"type": "BinaryExpression",
"start": 3900,
"end": 3927,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 3900,
"end": 3909,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 3900,
"end": 3906,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 24
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3907,
"end": 3908,
"loc": {
"start": {
"line": 120,
"column": 25
},
"end": {
"line": 120,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3913,
"end": 3926,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 3913,
"end": 3917,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 35
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3920,
"end": 3926,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3920,
"end": 3923,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 41
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3924,
"end": 3925,
"loc": {
"start": {
"line": 120,
"column": 42
},
"end": {
"line": 120,
"column": 43
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3912
}
}
},
{
"type": "BinaryExpression",
"start": 3929,
"end": 3956,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 74
}
},
"left": {
"type": "MemberExpression",
"start": 3929,
"end": 3938,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3929,
"end": 3935,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 53
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3936,
"end": 3937,
"loc": {
"start": {
"line": 120,
"column": 54
},
"end": {
"line": 120,
"column": 55
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3942,
"end": 3955,
"loc": {
"start": {
"line": 120,
"column": 60
},
"end": {
"line": 120,
"column": 73
}
},
"left": {
"type": "Identifier",
"start": 3942,
"end": 3946,
"loc": {
"start": {
"line": 120,
"column": 60
},
"end": {
"line": 120,
"column": 64
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3949,
"end": 3955,
"loc": {
"start": {
"line": 120,
"column": 67
},
"end": {
"line": 120,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 3949,
"end": 3952,
"loc": {
"start": {
"line": 120,
"column": 67
},
"end": {
"line": 120,
"column": 70
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 120,
"column": 71
},
"end": {
"line": 120,
"column": 72
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3941
}
}
},
{
"type": "BinaryExpression",
"start": 3958,
"end": 3985,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 103
}
},
"left": {
"type": "MemberExpression",
"start": 3958,
"end": 3967,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 3958,
"end": 3964,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 82
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3965,
"end": 3966,
"loc": {
"start": {
"line": 120,
"column": 83
},
"end": {
"line": 120,
"column": 84
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3971,
"end": 3984,
"loc": {
"start": {
"line": 120,
"column": 89
},
"end": {
"line": 120,
"column": 102
}
},
"left": {
"type": "Identifier",
"start": 3971,
"end": 3975,
"loc": {
"start": {
"line": 120,
"column": 89
},
"end": {
"line": 120,
"column": 93
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3978,
"end": 3984,
"loc": {
"start": {
"line": 120,
"column": 96
},
"end": {
"line": 120,
"column": 102
}
},
"object": {
"type": "Identifier",
"start": 3978,
"end": 3981,
"loc": {
"start": {
"line": 120,
"column": 96
},
"end": {
"line": 120,
"column": 99
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3982,
"end": 3983,
"loc": {
"start": {
"line": 120,
"column": 100
},
"end": {
"line": 120,
"column": 101
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3970
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 4000,
"end": 4006,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4000,
"end": 4002,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 14
},
"identifierName": "up"
},
"name": "up"
},
"value": {
"type": "Identifier",
"start": 4004,
"end": 4006,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 18
},
"identifierName": "up"
},
"name": "up"
}
},
{
"type": "ObjectProperty",
"start": 4020,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4020,
"end": 4030,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 22
},
"identifierName": "orthoScale"
},
"name": "orthoScale"
},
"value": {
"type": "BinaryExpression",
"start": 4032,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 4032,
"end": 4036,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 28
},
"identifierName": "diag"
},
"name": "diag"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 4039,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 31
},
"end": {
"line": 122,
"column": 34
}
},
"extra": {
"rawValue": 1.3,
"raw": "1.3"
},
"value": 1.3
}
}
},
{
"type": "ObjectProperty",
"start": 4056,
"end": 4081,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 22
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 4068,
"end": 4081,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 37
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
},
{
"type": "ObjectProperty",
"start": 4095,
"end": 4106,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4095,
"end": 4103,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 20
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 4105,
"end": 4106,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 23
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 4128,
"end": 4149,
"loc": {
"start": {
"line": 129,
"column": 0
},
"end": {
"line": 129,
"column": 21
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 4136,
"end": 4147,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 4136,
"end": 4147,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
},
"identifierName": "ResetAction"
},
"name": "ResetAction"
},
"exported": {
"type": "Identifier",
"start": 4136,
"end": 4147,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
},
"identifierName": "ResetAction"
},
"name": "ResetAction"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 4128,
"end": 4149,
"loc": {
"start": {
"line": 129,
"column": 0
},
"end": {
"line": 129,
"column": 21
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 171,
"end": 4126,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 127,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 177,
"end": 188,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "ResetAction"
},
"name": "ResetAction",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 197,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 36
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 208,
"end": 4126,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 127,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 215,
"end": 1601,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 215,
"end": 226,
"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": 227,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "AssignmentPattern",
"start": 235,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 235,
"end": 238,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
},
"right": {
"type": "ObjectExpression",
"start": 241,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 32
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 245,
"end": 1601,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 58,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 256,
"end": 275,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 256,
"end": 274,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 256,
"end": 261,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 262,
"end": 268,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 270,
"end": 273,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 285,
"end": 371,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 289,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 290,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 290,
"end": 293,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 13,
"column": 17
},
"end": {
"line": 13,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 309,
"end": 371,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 15,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 323,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 329,
"end": 360,
"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": 381,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 387,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 387,
"end": 400,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 403,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 403,
"end": 406,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 407,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 430,
"end": 464,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 436,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 436,
"end": 442,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "camera"
},
"name": "camera"
},
"init": {
"type": "MemberExpression",
"start": 445,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 445,
"end": 456,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 445,
"end": 449,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 450,
"end": 456,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 457,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 41
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 474,
"end": 499,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 474,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 474,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 474,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 479,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 496,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 32
}
},
"properties": []
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 578,
"end": 613,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 578,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 578,
"end": 588,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 578,
"end": 584,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 14
},
"identifierName": "camera"
},
"name": "camera",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 585,
"end": 588,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 18
},
"identifierName": "eye"
},
"name": "eye"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 591,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 42
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 592,
"end": 597,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 27
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
},
{
"type": "NumericLiteral",
"start": 599,
"end": 604,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 34
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
},
{
"type": "NumericLiteral",
"start": 606,
"end": 611,
"loc": {
"start": {
"line": 24,
"column": 36
},
"end": {
"line": 24,
"column": 41
}
},
"extra": {
"rawValue": 0.577,
"raw": "0.577"
},
"value": 0.577
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 622,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 622,
"end": 643,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 622,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 622,
"end": 628,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 14
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 629,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 19
},
"identifierName": "look"
},
"name": "look"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 636,
"end": 643,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 29
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 23
},
"end": {
"line": 25,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 639,
"end": 640,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 25,
"column": 27
},
"end": {
"line": 25,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 653,
"end": 677,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 653,
"end": 676,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 31
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 653,
"end": 662,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 653,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 14
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 660,
"end": 662,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "up"
},
"name": "up"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 665,
"end": 676,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 31
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 666,
"end": 668,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 23
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 667,
"end": 668,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 23
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 26
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "UnaryExpression",
"start": 673,
"end": 675,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 30
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 687,
"end": 807,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 30,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 687,
"end": 806,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 687,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 717,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 687,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 692,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 702,
"end": 717,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 38
},
"identifierName": "_modelsExplorer"
},
"name": "_modelsExplorer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 718,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 41
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 55
}
},
"extra": {
"rawValue": "modelLoaded",
"raw": "\"modelLoaded\""
},
"value": "modelLoaded"
},
{
"type": "ArrowFunctionExpression",
"start": 736,
"end": 805,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 30,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 737,
"end": 744,
"loc": {
"start": {
"line": 28,
"column": 58
},
"end": {
"line": 28,
"column": 65
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 749,
"end": 805,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 30,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 763,
"end": 795,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 763,
"end": 794,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 763,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 763,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 768,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 34
},
"identifierName": "_saveModelMemento"
},
"name": "_saveModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 786,
"end": 793,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 817,
"end": 942,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 817,
"end": 941,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 817,
"end": 850,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 817,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 817,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 817,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 822,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 832,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 38
},
"identifierName": "_modelsExplorer"
},
"name": "_modelsExplorer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 848,
"end": 850,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 41
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 851,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 57
}
},
"extra": {
"rawValue": "modelUnloaded",
"raw": "\"modelUnloaded\""
},
"value": "modelUnloaded"
},
{
"type": "ArrowFunctionExpression",
"start": 868,
"end": 940,
"loc": {
"start": {
"line": 32,
"column": 59
},
"end": {
"line": 34,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 32,
"column": 60
},
"end": {
"line": 32,
"column": 67
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 881,
"end": 940,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 895,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 895,
"end": 929,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 895,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 895,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 900,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 37
},
"identifierName": "_destroyModelMemento"
},
"name": "_destroyModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 921,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 45
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 952,
"end": 1177,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 42,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 952,
"end": 1176,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 952,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 952,
"end": 956,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 957,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 960,
"end": 969,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 971,
"end": 1175,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 42,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 972,
"end": 979,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 984,
"end": 1175,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 998,
"end": 1165,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1002,
"end": 1010,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1003,
"end": 1010,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1012,
"end": 1084,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 39,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1030,
"end": 1070,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1030,
"end": 1069,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1030,
"end": 1057,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1030,
"end": 1053,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1030,
"end": 1043,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1044,
"end": 1053,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1054,
"end": 1057,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1058,
"end": 1068,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1090,
"end": 1165,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1108,
"end": 1151,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 1108,
"end": 1150,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1108,
"end": 1138,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1108,
"end": 1131,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1108,
"end": 1121,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1122,
"end": 1131,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 40,
"column": 40
},
"end": {
"line": 40,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1139,
"end": 1149,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1187,
"end": 1404,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 50,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1187,
"end": 1403,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 50,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1187,
"end": 1194,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1187,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1192,
"end": 1194,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1195,
"end": 1203,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 1205,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 50,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1206,
"end": 1212,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 1217,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 50,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1231,
"end": 1392,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1235,
"end": 1241,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 1243,
"end": 1313,
"loc": {
"start": {
"line": 45,
"column": 24
},
"end": {
"line": 47,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1261,
"end": 1299,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 1261,
"end": 1298,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1261,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1261,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1261,
"end": 1274,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1285,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 40
},
"end": {
"line": 46,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1289,
"end": 1297,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1319,
"end": 1392,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1337,
"end": 1378,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1337,
"end": 1377,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1337,
"end": 1367,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1337,
"end": 1360,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1337,
"end": 1350,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1351,
"end": 1360,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1361,
"end": 1367,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1368,
"end": 1376,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1414,
"end": 1595,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 57,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1414,
"end": 1594,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 57,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1414,
"end": 1444,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1414,
"end": 1427,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1428,
"end": 1444,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1445,
"end": 1452,
"loc": {
"start": {
"line": 52,
"column": 39
},
"end": {
"line": 52,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1454,
"end": 1593,
"loc": {
"start": {
"line": 52,
"column": 48
},
"end": {
"line": 57,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1455,
"end": 1460,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 52,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1465,
"end": 1593,
"loc": {
"start": {
"line": 52,
"column": 59
},
"end": {
"line": 57,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1479,
"end": 1547,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1483,
"end": 1500,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1483,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1483,
"end": 1487,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1488,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1502,
"end": 1547,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 55,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1520,
"end": 1533,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1520,
"end": 1532,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1520,
"end": 1530,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1520,
"end": 1524,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1525,
"end": 1530,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "reset"
},
"name": "reset"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1560,
"end": 1583,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1560,
"end": 1582,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1560,
"end": 1580,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1560,
"end": 1565,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1566,
"end": 1580,
"loc": {
"start": {
"line": 56,
"column": 18
},
"end": {
"line": 56,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1607,
"end": 2370,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 78,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1607,
"end": 1624,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 21
},
"identifierName": "_saveModelMemento"
},
"name": "_saveModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1625,
"end": 1632,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 29
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 1634,
"end": 2370,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 78,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1644,
"end": 1704,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1650,
"end": 1703,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 1650,
"end": 1659,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 23
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"init": {
"type": "MemberExpression",
"start": 1662,
"end": 1703,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1694,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1673,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 1667,
"end": 1673,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1674,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 38
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "metaScene"
},
"name": "metaScene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1684,
"end": 1694,
"loc": {
"start": {
"line": 61,
"column": 48
},
"end": {
"line": 61,
"column": 58
},
"identifierName": "metaModels"
},
"name": "metaModels"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1695,
"end": 1702,
"loc": {
"start": {
"line": 61,
"column": 59
},
"end": {
"line": 61,
"column": 66
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1713,
"end": 1760,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 64,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1717,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1718,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1729,
"end": 1760,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 64,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1743,
"end": 1750,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1769,
"end": 1809,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1775,
"end": 1808,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1775,
"end": 1787,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 26
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"init": {
"type": "NewExpression",
"start": 1790,
"end": 1808,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 1794,
"end": 1806,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
},
"identifierName": "ModelMemento"
},
"name": "ModelMemento"
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1818,
"end": 2311,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 76,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1818,
"end": 2310,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 76,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1818,
"end": 1842,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1818,
"end": 1830,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 20
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"property": {
"type": "Identifier",
"start": 1831,
"end": 1842,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 32
},
"identifierName": "saveObjects"
},
"name": "saveObjects"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1843,
"end": 1860,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1843,
"end": 1854,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1843,
"end": 1847,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 1848,
"end": 1854,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 44
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1855,
"end": 1860,
"loc": {
"start": {
"line": 66,
"column": 45
},
"end": {
"line": 66,
"column": 50
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
{
"type": "Identifier",
"start": 1862,
"end": 1871,
"loc": {
"start": {
"line": 66,
"column": 52
},
"end": {
"line": 66,
"column": 61
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
{
"type": "ObjectExpression",
"start": 1873,
"end": 2309,
"loc": {
"start": {
"line": 66,
"column": 63
},
"end": {
"line": 76,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1887,
"end": 1900,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1887,
"end": 1894,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 19
},
"identifierName": "visible"
},
"name": "visible"
},
"value": {
"type": "BooleanLiteral",
"start": 1896,
"end": 1900,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1914,
"end": 1925,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1914,
"end": 1919,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 17
},
"identifierName": "edges"
},
"name": "edges"
},
"value": {
"type": "BooleanLiteral",
"start": 1921,
"end": 1925,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1939,
"end": 1951,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1939,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 18
},
"identifierName": "xrayed"
},
"name": "xrayed"
},
"value": {
"type": "BooleanLiteral",
"start": 1947,
"end": 1951,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 24
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1965,
"end": 1982,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1965,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 23
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"value": {
"type": "BooleanLiteral",
"start": 1978,
"end": 1982,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 29
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 1996,
"end": 2010,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1996,
"end": 2004,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 20
},
"identifierName": "selected"
},
"name": "selected"
},
"value": {
"type": "BooleanLiteral",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 26
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2024,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2024,
"end": 2033,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 21
},
"identifierName": "clippable"
},
"name": "clippable"
},
"value": {
"type": "BooleanLiteral",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 27
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2053,
"end": 2067,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2053,
"end": 2061,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 20
},
"identifierName": "pickable"
},
"name": "pickable"
},
"value": {
"type": "BooleanLiteral",
"start": 2063,
"end": 2067,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 26
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2081,
"end": 2096,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2081,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 20
},
"identifierName": "colorize"
},
"name": "colorize"
},
"value": {
"type": "BooleanLiteral",
"start": 2091,
"end": 2096,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 27
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 2173,
"end": 2187,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2173,
"end": 2180,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 19
},
"identifierName": "opacity"
},
"name": "opacity",
"leadingComments": null
},
"value": {
"type": "BooleanLiteral",
"start": 2182,
"end": 2187,
"loc": {
"start": {
"line": 75,
"column": 21
},
"end": {
"line": 75,
"column": 26
}
},
"value": false,
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " We don't colorize objects yet - also messes up point clouds",
"start": 2098,
"end": 2160,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 91
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " FIXME: Restoring opacity broken by colorize fix - details at https://github.com/xeokit/xeokit-sdk/issues/239",
"start": 2188,
"end": 2299,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 138
}
}
}
]
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2320,
"end": 2364,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2320,
"end": 2363,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2320,
"end": 2348,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2320,
"end": 2339,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 2320,
"end": 2324,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2325,
"end": 2339,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 27
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2340,
"end": 2347,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 35
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
},
"right": {
"type": "Identifier",
"start": 2351,
"end": 2363,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 51
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2376,
"end": 2664,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2376,
"end": 2396,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 24
},
"identifierName": "_restoreModelMemento"
},
"name": "_restoreModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2397,
"end": 2404,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 32
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 2406,
"end": 2664,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 87,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2416,
"end": 2476,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2422,
"end": 2475,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 2422,
"end": 2431,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 23
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"init": {
"type": "MemberExpression",
"start": 2434,
"end": 2475,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2466,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2455,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2434,
"end": 2445,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2434,
"end": 2438,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 2439,
"end": 2445,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2446,
"end": 2455,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 47
},
"identifierName": "metaScene"
},
"name": "metaScene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2456,
"end": 2466,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 58
},
"identifierName": "metaModels"
},
"name": "metaModels"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2467,
"end": 2474,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 66
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2485,
"end": 2532,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 84,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 2489,
"end": 2499,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2490,
"end": 2499,
"loc": {
"start": {
"line": 82,
"column": 13
},
"end": {
"line": 82,
"column": 22
},
"identifierName": "metaModel"
},
"name": "metaModel"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2501,
"end": 2532,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 84,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2515,
"end": 2522,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2541,
"end": 2591,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2547,
"end": 2590,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 2547,
"end": 2559,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 26
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"init": {
"type": "MemberExpression",
"start": 2562,
"end": 2590,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2562,
"end": 2581,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 2567,
"end": 2581,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 48
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2582,
"end": 2589,
"loc": {
"start": {
"line": 85,
"column": 49
},
"end": {
"line": 85,
"column": 56
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2600,
"end": 2658,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 2600,
"end": 2657,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2600,
"end": 2627,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2600,
"end": 2612,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 20
},
"identifierName": "modelMemento"
},
"name": "modelMemento"
},
"property": {
"type": "Identifier",
"start": 2613,
"end": 2627,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 35
},
"identifierName": "restoreObjects"
},
"name": "restoreObjects"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2628,
"end": 2645,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2628,
"end": 2639,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 2628,
"end": 2632,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 2633,
"end": 2639,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 47
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2640,
"end": 2645,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 53
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
{
"type": "Identifier",
"start": 2647,
"end": 2656,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 64
},
"identifierName": "metaModel"
},
"name": "metaModel"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2670,
"end": 2752,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 91,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2670,
"end": 2690,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 24
},
"identifierName": "_destroyModelMemento"
},
"name": "_destroyModelMemento"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2691,
"end": 2698,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 32
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 2700,
"end": 2752,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 91,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2710,
"end": 2746,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 44
}
},
"expression": {
"type": "UnaryExpression",
"start": 2710,
"end": 2745,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 43
}
},
"operator": "delete",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2717,
"end": 2745,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2717,
"end": 2736,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 2717,
"end": 2721,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2722,
"end": 2736,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 34
},
"identifierName": "_modelMementos"
},
"name": "_modelMementos"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2737,
"end": 2744,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 42
},
"identifierName": "modelId"
},
"name": "modelId"
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2758,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2758,
"end": 2763,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 9
},
"identifierName": "reset"
},
"name": "reset"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2766,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 103,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2776,
"end": 2808,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2782,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2782,
"end": 2787,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 2790,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2790,
"end": 2801,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2790,
"end": 2794,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 2795,
"end": 2801,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 33
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2802,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2817,
"end": 2849,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2823,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 14
},
"end": {
"line": 95,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2823,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 14
},
"end": {
"line": 95,
"column": 22
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"init": {
"type": "MemberExpression",
"start": 2834,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2834,
"end": 2839,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 30
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 2840,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 39
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 2858,
"end": 3011,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 99,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2863,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2867,
"end": 2872,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2871,
"end": 2872,
"loc": {
"start": {
"line": 96,
"column": 21
},
"end": {
"line": 96,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "VariableDeclarator",
"start": 2874,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2874,
"end": 2877,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 27
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "MemberExpression",
"start": 2880,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2880,
"end": 2888,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 38
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"property": {
"type": "Identifier",
"start": 2889,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 45
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
}
],
"kind": "var"
},
"test": {
"type": "BinaryExpression",
"start": 2897,
"end": 2904,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 54
}
},
"left": {
"type": "Identifier",
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 2901,
"end": 2904,
"loc": {
"start": {
"line": 96,
"column": 51
},
"end": {
"line": 96,
"column": 54
},
"identifierName": "len"
},
"name": "len"
}
},
"update": {
"type": "UpdateExpression",
"start": 2906,
"end": 2909,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 59
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 57
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 2911,
"end": 3011,
"loc": {
"start": {
"line": 96,
"column": 61
},
"end": {
"line": 99,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2925,
"end": 2953,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2931,
"end": 2952,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2931,
"end": 2938,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 25
},
"identifierName": "modelId"
},
"name": "modelId"
},
"init": {
"type": "MemberExpression",
"start": 2941,
"end": 2952,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2941,
"end": 2949,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 36
},
"identifierName": "modelIds"
},
"name": "modelIds"
},
"property": {
"type": "Identifier",
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 38
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2966,
"end": 3001,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 2966,
"end": 3000,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 2966,
"end": 2991,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2966,
"end": 2970,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2971,
"end": 2991,
"loc": {
"start": {
"line": 98,
"column": 17
},
"end": {
"line": 98,
"column": 37
},
"identifierName": "_restoreModelMemento"
},
"name": "_restoreModelMemento"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2992,
"end": 2999,
"loc": {
"start": {
"line": 98,
"column": 38
},
"end": {
"line": 98,
"column": 45
},
"identifierName": "modelId"
},
"name": "modelId"
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 3020,
"end": 3061,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 3020,
"end": 3060,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 3020,
"end": 3058,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 3020,
"end": 3034,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 3020,
"end": 3024,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3025,
"end": 3034,
"loc": {
"start": {
"line": 100,
"column": 13
},
"end": {
"line": 100,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3035,
"end": 3058,
"loc": {
"start": {
"line": 100,
"column": 23
},
"end": {
"line": 100,
"column": 46
},
"identifierName": "unShowObjectInExplorers"
},
"name": "unShowObjectInExplorers"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 3070,
"end": 3095,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 3070,
"end": 3094,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 3070,
"end": 3079,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 3070,
"end": 3074,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3075,
"end": 3079,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 17
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3080,
"end": 3087,
"loc": {
"start": {
"line": 101,
"column": 18
},
"end": {
"line": 101,
"column": 25
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "BooleanLiteral",
"start": 3089,
"end": 3093,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 31
}
},
"value": true
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3104,
"end": 3124,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 3104,
"end": 3123,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 3104,
"end": 3121,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 3104,
"end": 3108,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3109,
"end": 3121,
"loc": {
"start": {
"line": 102,
"column": 13
},
"end": {
"line": 102,
"column": 25
},
"identifierName": "_resetCamera"
},
"name": "_resetCamera"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3136,
"end": 4124,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3136,
"end": 3148,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 16
},
"identifierName": "_resetCamera"
},
"name": "_resetCamera"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3151,
"end": 4124,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 126,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3161,
"end": 3188,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3167,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 3167,
"end": 3173,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 3176,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3176,
"end": 3180,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 3181,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 28
},
"end": {
"line": 106,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3197,
"end": 3224,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3203,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 3203,
"end": 3208,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3211,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3211,
"end": 3217,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 28
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3218,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 34
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3233,
"end": 3284,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3239,
"end": 3283,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 3239,
"end": 3243,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 18
},
"identifierName": "aabb"
},
"name": "aabb"
},
"init": {
"type": "CallExpression",
"start": 3246,
"end": 3283,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 3246,
"end": 3259,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3246,
"end": 3251,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 26
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3252,
"end": 3259,
"loc": {
"start": {
"line": 108,
"column": 27
},
"end": {
"line": 108,
"column": 34
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3260,
"end": 3282,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 3260,
"end": 3265,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3266,
"end": 3282,
"loc": {
"start": {
"line": 108,
"column": 41
},
"end": {
"line": 108,
"column": 57
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3293,
"end": 3330,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3299,
"end": 3329,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 3299,
"end": 3303,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 18
},
"identifierName": "diag"
},
"name": "diag"
},
"init": {
"type": "CallExpression",
"start": 3306,
"end": 3329,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 3306,
"end": 3323,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3306,
"end": 3310,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 25
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3311,
"end": 3323,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 38
},
"identifierName": "getAABB3Diag"
},
"name": "getAABB3Diag"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3324,
"end": 3328,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 43
},
"identifierName": "aabb"
},
"name": "aabb"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3339,
"end": 3391,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3345,
"end": 3390,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 3345,
"end": 3351,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 20
},
"identifierName": "center"
},
"name": "center"
},
"init": {
"type": "CallExpression",
"start": 3354,
"end": 3390,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 3354,
"end": 3373,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3354,
"end": 3358,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 27
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3359,
"end": 3373,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 42
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3374,
"end": 3378,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 47
},
"identifierName": "aabb"
},
"name": "aabb"
},
{
"type": "Identifier",
"start": 3380,
"end": 3389,
"loc": {
"start": {
"line": 110,
"column": 49
},
"end": {
"line": 110,
"column": 58
},
"identifierName": "tempVec3a"
},
"name": "tempVec3a"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3400,
"end": 3428,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3406,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 3406,
"end": 3412,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 20
},
"identifierName": "camera"
},
"name": "camera"
},
"init": {
"type": "MemberExpression",
"start": 3415,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3415,
"end": 3420,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 28
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3421,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3437,
"end": 3475,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3443,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 3443,
"end": 3449,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 20
},
"identifierName": "fitFOV"
},
"name": "fitFOV"
},
"init": {
"type": "MemberExpression",
"start": 3452,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 3452,
"end": 3470,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 3452,
"end": 3458,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 29
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3459,
"end": 3470,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 41
},
"identifierName": "perspective"
},
"name": "perspective"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3471,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 42
},
"end": {
"line": 112,
"column": 45
},
"identifierName": "fov"
},
"name": "fov"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3484,
"end": 3543,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3490,
"end": 3542,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 3490,
"end": 3494,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 18
},
"identifierName": "dist"
},
"name": "dist"
},
"init": {
"type": "CallExpression",
"start": 3497,
"end": 3542,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 3497,
"end": 3505,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3497,
"end": 3501,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 25
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3502,
"end": 3505,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 29
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3506,
"end": 3541,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 65
}
},
"left": {
"type": "Identifier",
"start": 3506,
"end": 3510,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 34
},
"identifierName": "diag"
},
"name": "diag"
},
"operator": "/",
"right": {
"type": "CallExpression",
"start": 3513,
"end": 3541,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 3513,
"end": 3521,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 3513,
"end": 3517,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 41
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3518,
"end": 3521,
"loc": {
"start": {
"line": 113,
"column": 42
},
"end": {
"line": 113,
"column": 45
},
"identifierName": "tan"
},
"name": "tan"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3522,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 46
},
"end": {
"line": 113,
"column": 64
}
},
"left": {
"type": "NumericLiteral",
"start": 3522,
"end": 3524,
"loc": {
"start": {
"line": 113,
"column": 46
},
"end": {
"line": 113,
"column": 48
}
},
"extra": {
"rawValue": 45,
"raw": "45"
},
"value": 45
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3527,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 3527,
"end": 3531,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 55
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3532,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 56
},
"end": {
"line": 113,
"column": 64
},
"identifierName": "DEGTORAD"
},
"name": "DEGTORAD"
},
"computed": false
}
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3552,
"end": 3635,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3558,
"end": 3634,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 3558,
"end": 3561,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 17
},
"identifierName": "dir"
},
"name": "dir"
},
"init": {
"type": "CallExpression",
"start": 3564,
"end": 3634,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 3564,
"end": 3582,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3564,
"end": 3568,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 24
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3569,
"end": 3582,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 38
},
"identifierName": "normalizeVec3"
},
"name": "normalizeVec3"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 3583,
"end": 3633,
"loc": {
"start": {
"line": 114,
"column": 39
},
"end": {
"line": 114,
"column": 89
}
},
"test": {
"type": "MemberExpression",
"start": 3584,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 40
},
"end": {
"line": 114,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3584,
"end": 3590,
"loc": {
"start": {
"line": 114,
"column": 40
},
"end": {
"line": 114,
"column": 46
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3591,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 114,
"column": 50
},
"identifierName": "yUp"
},
"name": "yUp"
},
"computed": false,
"extra": {
"parenthesized": true,
"parenStart": 3583
}
},
"consequent": {
"type": "ArrayExpression",
"start": 3598,
"end": 3619,
"loc": {
"start": {
"line": 114,
"column": 54
},
"end": {
"line": 114,
"column": 75
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3599,
"end": 3603,
"loc": {
"start": {
"line": 114,
"column": 55
},
"end": {
"line": 114,
"column": 59
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3600,
"end": 3603,
"loc": {
"start": {
"line": 114,
"column": 56
},
"end": {
"line": 114,
"column": 59
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "UnaryExpression",
"start": 3605,
"end": 3612,
"loc": {
"start": {
"line": 114,
"column": 61
},
"end": {
"line": 114,
"column": 68
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3606,
"end": 3612,
"loc": {
"start": {
"line": 114,
"column": 62
},
"end": {
"line": 114,
"column": 68
}
},
"extra": {
"rawValue": 0.7071,
"raw": "0.7071"
},
"value": 0.7071
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "UnaryExpression",
"start": 3614,
"end": 3618,
"loc": {
"start": {
"line": 114,
"column": 70
},
"end": {
"line": 114,
"column": 74
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3615,
"end": 3618,
"loc": {
"start": {
"line": 114,
"column": 71
},
"end": {
"line": 114,
"column": 74
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"alternate": {
"type": "ArrayExpression",
"start": 3622,
"end": 3633,
"loc": {
"start": {
"line": 114,
"column": 78
},
"end": {
"line": 114,
"column": 89
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3623,
"end": 3625,
"loc": {
"start": {
"line": 114,
"column": 79
},
"end": {
"line": 114,
"column": 81
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3624,
"end": 3625,
"loc": {
"start": {
"line": 114,
"column": 80
},
"end": {
"line": 114,
"column": 81
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3627,
"end": 3628,
"loc": {
"start": {
"line": 114,
"column": 83
},
"end": {
"line": 114,
"column": 84
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "UnaryExpression",
"start": 3630,
"end": 3632,
"loc": {
"start": {
"line": 114,
"column": 86
},
"end": {
"line": 114,
"column": 88
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3631,
"end": 3632,
"loc": {
"start": {
"line": 114,
"column": 87
},
"end": {
"line": 114,
"column": 88
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3644,
"end": 3724,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 88
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3650,
"end": 3723,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 87
}
},
"id": {
"type": "Identifier",
"start": 3650,
"end": 3652,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 16
},
"identifierName": "up"
},
"name": "up"
},
"init": {
"type": "CallExpression",
"start": 3655,
"end": 3723,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 87
}
},
"callee": {
"type": "MemberExpression",
"start": 3655,
"end": 3673,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 3655,
"end": 3659,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 23
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3660,
"end": 3673,
"loc": {
"start": {
"line": 115,
"column": 24
},
"end": {
"line": 115,
"column": 37
},
"identifierName": "normalizeVec3"
},
"name": "normalizeVec3"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 3674,
"end": 3722,
"loc": {
"start": {
"line": 115,
"column": 38
},
"end": {
"line": 115,
"column": 86
}
},
"test": {
"type": "MemberExpression",
"start": 3675,
"end": 3685,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3675,
"end": 3681,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 45
},
"identifierName": "camera"
},
"name": "camera"
},
"property": {
"type": "Identifier",
"start": 3682,
"end": 3685,
"loc": {
"start": {
"line": 115,
"column": 46
},
"end": {
"line": 115,
"column": 49
},
"identifierName": "yUp"
},
"name": "yUp"
},
"computed": false,
"extra": {
"parenthesized": true,
"parenStart": 3674
}
},
"consequent": {
"type": "ArrayExpression",
"start": 3689,
"end": 3709,
"loc": {
"start": {
"line": 115,
"column": 53
},
"end": {
"line": 115,
"column": 73
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3690,
"end": 3694,
"loc": {
"start": {
"line": 115,
"column": 54
},
"end": {
"line": 115,
"column": 58
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3691,
"end": 3694,
"loc": {
"start": {
"line": 115,
"column": 55
},
"end": {
"line": 115,
"column": 58
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3696,
"end": 3702,
"loc": {
"start": {
"line": 115,
"column": 60
},
"end": {
"line": 115,
"column": 66
}
},
"extra": {
"rawValue": 0.7071,
"raw": "0.7071"
},
"value": 0.7071
},
{
"type": "UnaryExpression",
"start": 3704,
"end": 3708,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 72
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3705,
"end": 3708,
"loc": {
"start": {
"line": 115,
"column": 69
},
"end": {
"line": 115,
"column": 72
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"alternate": {
"type": "ArrayExpression",
"start": 3712,
"end": 3722,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 86
}
},
"elements": [
{
"type": "UnaryExpression",
"start": 3713,
"end": 3715,
"loc": {
"start": {
"line": 115,
"column": 77
},
"end": {
"line": 115,
"column": 79
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 115,
"column": 78
},
"end": {
"line": 115,
"column": 79
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "NumericLiteral",
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 115,
"column": 81
},
"end": {
"line": 115,
"column": 82
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 3720,
"end": 3721,
"loc": {
"start": {
"line": 115,
"column": 84
},
"end": {
"line": 115,
"column": 85
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3733,
"end": 3772,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3733,
"end": 3771,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3733,
"end": 3762,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3733,
"end": 3753,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3733,
"end": 3739,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3740,
"end": 3753,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 28
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3754,
"end": 3762,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 37
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3765,
"end": 3771,
"loc": {
"start": {
"line": 116,
"column": 40
},
"end": {
"line": 116,
"column": 46
},
"identifierName": "center"
},
"name": "center"
}
}
},
{
"type": "ExpressionStatement",
"start": 3781,
"end": 3819,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3781,
"end": 3818,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3781,
"end": 3810,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3781,
"end": 3801,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3781,
"end": 3787,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3788,
"end": 3801,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 28
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3802,
"end": 3810,
"loc": {
"start": {
"line": 117,
"column": 29
},
"end": {
"line": 117,
"column": 37
},
"identifierName": "planView"
},
"name": "planView"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 3813,
"end": 3818,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 45
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 3828,
"end": 4118,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 125,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 3828,
"end": 4117,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 125,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 3828,
"end": 3853,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 3828,
"end": 3847,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 3828,
"end": 3834,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 14
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 3835,
"end": 3847,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 27
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3848,
"end": 3853,
"loc": {
"start": {
"line": 118,
"column": 28
},
"end": {
"line": 118,
"column": 33
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 3854,
"end": 4116,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 125,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3868,
"end": 3880,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3868,
"end": 3872,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 16
},
"identifierName": "look"
},
"name": "look"
},
"value": {
"type": "Identifier",
"start": 3874,
"end": 3880,
"loc": {
"start": {
"line": 119,
"column": 18
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "center"
},
"name": "center"
}
},
{
"type": "ObjectProperty",
"start": 3894,
"end": 3986,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 104
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3894,
"end": 3897,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 15
},
"identifierName": "eye"
},
"name": "eye"
},
"value": {
"type": "ArrayExpression",
"start": 3899,
"end": 3986,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 104
}
},
"elements": [
{
"type": "BinaryExpression",
"start": 3900,
"end": 3927,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 3900,
"end": 3909,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 3900,
"end": 3906,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 24
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3907,
"end": 3908,
"loc": {
"start": {
"line": 120,
"column": 25
},
"end": {
"line": 120,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3913,
"end": 3926,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 3913,
"end": 3917,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 35
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3920,
"end": 3926,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3920,
"end": 3923,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 41
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3924,
"end": 3925,
"loc": {
"start": {
"line": 120,
"column": 42
},
"end": {
"line": 120,
"column": 43
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3912
}
}
},
{
"type": "BinaryExpression",
"start": 3929,
"end": 3956,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 74
}
},
"left": {
"type": "MemberExpression",
"start": 3929,
"end": 3938,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3929,
"end": 3935,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 53
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3936,
"end": 3937,
"loc": {
"start": {
"line": 120,
"column": 54
},
"end": {
"line": 120,
"column": 55
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3942,
"end": 3955,
"loc": {
"start": {
"line": 120,
"column": 60
},
"end": {
"line": 120,
"column": 73
}
},
"left": {
"type": "Identifier",
"start": 3942,
"end": 3946,
"loc": {
"start": {
"line": 120,
"column": 60
},
"end": {
"line": 120,
"column": 64
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3949,
"end": 3955,
"loc": {
"start": {
"line": 120,
"column": 67
},
"end": {
"line": 120,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 3949,
"end": 3952,
"loc": {
"start": {
"line": 120,
"column": 67
},
"end": {
"line": 120,
"column": 70
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 120,
"column": 71
},
"end": {
"line": 120,
"column": 72
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3941
}
}
},
{
"type": "BinaryExpression",
"start": 3958,
"end": 3985,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 103
}
},
"left": {
"type": "MemberExpression",
"start": 3958,
"end": 3967,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 3958,
"end": 3964,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 82
},
"identifierName": "center"
},
"name": "center"
},
"property": {
"type": "NumericLiteral",
"start": 3965,
"end": 3966,
"loc": {
"start": {
"line": 120,
"column": 83
},
"end": {
"line": 120,
"column": 84
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3971,
"end": 3984,
"loc": {
"start": {
"line": 120,
"column": 89
},
"end": {
"line": 120,
"column": 102
}
},
"left": {
"type": "Identifier",
"start": 3971,
"end": 3975,
"loc": {
"start": {
"line": 120,
"column": 89
},
"end": {
"line": 120,
"column": 93
},
"identifierName": "dist"
},
"name": "dist"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3978,
"end": 3984,
"loc": {
"start": {
"line": 120,
"column": 96
},
"end": {
"line": 120,
"column": 102
}
},
"object": {
"type": "Identifier",
"start": 3978,
"end": 3981,
"loc": {
"start": {
"line": 120,
"column": 96
},
"end": {
"line": 120,
"column": 99
},
"identifierName": "dir"
},
"name": "dir"
},
"property": {
"type": "NumericLiteral",
"start": 3982,
"end": 3983,
"loc": {
"start": {
"line": 120,
"column": 100
},
"end": {
"line": 120,
"column": 101
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3970
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 4000,
"end": 4006,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4000,
"end": 4002,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 14
},
"identifierName": "up"
},
"name": "up"
},
"value": {
"type": "Identifier",
"start": 4004,
"end": 4006,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 18
},
"identifierName": "up"
},
"name": "up"
}
},
{
"type": "ObjectProperty",
"start": 4020,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4020,
"end": 4030,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 22
},
"identifierName": "orthoScale"
},
"name": "orthoScale"
},
"value": {
"type": "BinaryExpression",
"start": 4032,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 4032,
"end": 4036,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 28
},
"identifierName": "diag"
},
"name": "diag"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 4039,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 31
},
"end": {
"line": 122,
"column": 34
}
},
"extra": {
"rawValue": 1.3,
"raw": "1.3"
},
"value": 1.3
}
}
},
{
"type": "ObjectProperty",
"start": 4056,
"end": 4081,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 22
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 4068,
"end": 4081,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 37
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
},
{
"type": "ObjectProperty",
"start": 4095,
"end": 4106,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4095,
"end": 4103,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 20
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 4105,
"end": 4106,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 23
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 155,
"end": 170,
"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": 155,
"end": 170,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
},
{
"type": "CommentLine",
"value": " We don't colorize objects yet - also messes up point clouds",
"start": 2098,
"end": 2160,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 91
}
}
},
{
"type": "CommentLine",
"value": " FIXME: Restoring opacity broken by colorize fix - details at https://github.com/xeokit/xeokit-sdk/issues/239",
"start": 2188,
"end": 2299,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 138
}
}
}
],
"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": "ModelMemento",
"start": 53,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 65,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 71,
"end": 72,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 73,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"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": 78,
"end": 120,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 120,
"end": 121,
"loc": {
"start": {
"line": 2,
"column": 75
},
"end": {
"line": 2,
"column": 76
}
}
},
{
"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": 123,
"end": 128,
"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": "tempVec3a",
"start": 129,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 141,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vec3",
"start": 146,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 151,
"end": 152,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 4,
"column": 29
},
"end": {
"line": 4,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 155,
"end": 170,
"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": 171,
"end": 176,
"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": "ResetAction",
"start": 177,
"end": 188,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"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": 189,
"end": 196,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 197,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 215,
"end": 226,
"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": 226,
"end": 227,
"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": 227,
"end": 233,
"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": 233,
"end": 234,
"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": 235,
"end": 238,
"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": 239,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 242,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 245,
"end": 246,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 9,
"column": 35
}
}
},
{
"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": 256,
"end": 261,
"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": 261,
"end": 262,
"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": 262,
"end": 268,
"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": 268,
"end": 269,
"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": 270,
"end": 273,
"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": 273,
"end": 274,
"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": 274,
"end": 275,
"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": 285,
"end": 287,
"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": 288,
"end": 289,
"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": 289,
"end": 290,
"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": 290,
"end": 293,
"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": 293,
"end": 294,
"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": 294,
"end": 307,
"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": 307,
"end": 308,
"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": 309,
"end": 310,
"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": 323,
"end": 328,
"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": 329,
"end": 360,
"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": 360,
"end": 361,
"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": 370,
"end": 371,
"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": 381,
"end": 386,
"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": 387,
"end": 400,
"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": 401,
"end": 402,
"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": 403,
"end": 406,
"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": 406,
"end": 407,
"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": 407,
"end": 420,
"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": 420,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 47
},
"end": {
"line": 17,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 430,
"end": 435,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 436,
"end": 442,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 443,
"end": 444,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 445,
"end": 449,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 449,
"end": 450,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 450,
"end": 456,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 456,
"end": 457,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 457,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 474,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 478,
"end": 479,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelMementos",
"start": 479,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 494,
"end": 495,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 497,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 31
},
"end": {
"line": 20,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 498,
"end": 499,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Initial camera position - looking down negative diagonal",
"start": 509,
"end": 568,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 578,
"end": 584,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "eye",
"start": 585,
"end": 588,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 589,
"end": 590,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 591,
"end": 592,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.577,
"start": 592,
"end": 597,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 597,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.577,
"start": 599,
"end": 604,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.577,
"start": 606,
"end": 611,
"loc": {
"start": {
"line": 24,
"column": 36
},
"end": {
"line": 24,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 611,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 41
},
"end": {
"line": 24,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 612,
"end": 613,
"loc": {
"start": {
"line": 24,
"column": 42
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 622,
"end": 628,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 25,
"column": 14
},
"end": {
"line": 25,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "look",
"start": 629,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 634,
"end": 635,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 23
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 638,
"end": 639,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 639,
"end": 640,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 25,
"column": 26
},
"end": {
"line": 25,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 25,
"column": 27
},
"end": {
"line": 25,
"column": 28
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 642,
"end": 643,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 643,
"end": 644,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 653,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "up",
"start": 660,
"end": 662,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 663,
"end": 664,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 665,
"end": 666,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 666,
"end": 667,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 667,
"end": 668,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 26,
"column": 23
},
"end": {
"line": 26,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 671,
"end": 672,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 673,
"end": 674,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 676,
"end": 677,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 32
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 687,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 692,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelsExplorer",
"start": 702,
"end": 717,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 717,
"end": 718,
"loc": {
"start": {
"line": 28,
"column": 38
},
"end": {
"line": 28,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 718,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 42
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "modelLoaded",
"start": 721,
"end": 734,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 28,
"column": 55
},
"end": {
"line": 28,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 736,
"end": 737,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 28,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 737,
"end": 744,
"loc": {
"start": {
"line": 28,
"column": 58
},
"end": {
"line": 28,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 744,
"end": 745,
"loc": {
"start": {
"line": 28,
"column": 65
},
"end": {
"line": 28,
"column": 66
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 746,
"end": 748,
"loc": {
"start": {
"line": 28,
"column": 67
},
"end": {
"line": 28,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 28,
"column": 71
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 763,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 767,
"end": 768,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_saveModelMemento",
"start": 768,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 785,
"end": 786,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 786,
"end": 793,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 29,
"column": 42
},
"end": {
"line": 29,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 29,
"column": 43
},
"end": {
"line": 29,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 804,
"end": 805,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 805,
"end": 806,
"loc": {
"start": {
"line": 30,
"column": 9
},
"end": {
"line": 30,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 806,
"end": 807,
"loc": {
"start": {
"line": 30,
"column": 10
},
"end": {
"line": 30,
"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": 817,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 821,
"end": 822,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 822,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelsExplorer",
"start": 832,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 848,
"end": 850,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 850,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"column": 42
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "modelUnloaded",
"start": 851,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 32,
"column": 59
},
"end": {
"line": 32,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 32,
"column": 60
},
"end": {
"line": 32,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 876,
"end": 877,
"loc": {
"start": {
"line": 32,
"column": 67
},
"end": {
"line": 32,
"column": 68
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 878,
"end": 880,
"loc": {
"start": {
"line": 32,
"column": 69
},
"end": {
"line": 32,
"column": 71
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 32,
"column": 73
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 895,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_destroyModelMemento",
"start": 900,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 33,
"column": 37
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 921,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 939,
"end": 940,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 940,
"end": 941,
"loc": {
"start": {
"line": 34,
"column": 9
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 941,
"end": 942,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"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": 952,
"end": 956,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 956,
"end": 957,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 957,
"end": 959,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 959,
"end": 960,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"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": 960,
"end": 969,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 971,
"end": 972,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 972,
"end": 979,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 979,
"end": 980,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 981,
"end": 983,
"loc": {
"start": {
"line": 36,
"column": 37
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 984,
"end": 985,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"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": 998,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 37,
"column": 15
},
"end": {
"line": 37,
"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": 1002,
"end": 1003,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 1003,
"end": 1010,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1010,
"end": 1011,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1012,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1030,
"end": 1043,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1043,
"end": 1044,
"loc": {
"start": {
"line": 38,
"column": 29
},
"end": {
"line": 38,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1044,
"end": 1053,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1054,
"end": 1057,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1057,
"end": 1058,
"loc": {
"start": {
"line": 38,
"column": 43
},
"end": {
"line": 38,
"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": 1058,
"end": 1068,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 38,
"column": 54
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1083,
"end": 1084,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"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": 1085,
"end": 1089,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 39,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1108,
"end": 1121,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1121,
"end": 1122,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1122,
"end": 1131,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 40,
"column": 40
},
"end": {
"line": 40,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"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": 1139,
"end": 1149,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1149,
"end": 1150,
"loc": {
"start": {
"line": 40,
"column": 57
},
"end": {
"line": 40,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1150,
"end": 1151,
"loc": {
"start": {
"line": 40,
"column": 58
},
"end": {
"line": 40,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1164,
"end": 1165,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1174,
"end": 1175,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1175,
"end": 1176,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1176,
"end": 1177,
"loc": {
"start": {
"line": 42,
"column": 10
},
"end": {
"line": 42,
"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": 1187,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1192,
"end": 1194,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 44,
"column": 15
},
"end": {
"line": 44,
"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": 1195,
"end": 1203,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1203,
"end": 1204,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1205,
"end": 1206,
"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": "active",
"start": 1206,
"end": 1212,
"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
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1214,
"end": 1216,
"loc": {
"start": {
"line": 44,
"column": 35
},
"end": {
"line": 44,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1217,
"end": 1218,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 44,
"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": 1231,
"end": 1233,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1234,
"end": 1235,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1235,
"end": 1241,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1241,
"end": 1242,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1243,
"end": 1244,
"loc": {
"start": {
"line": 45,
"column": 24
},
"end": {
"line": 45,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1261,
"end": 1274,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1274,
"end": 1275,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1284,
"end": 1285,
"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": "add",
"start": 1285,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 40
},
"end": {
"line": 46,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1288,
"end": 1289,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"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": 1289,
"end": 1297,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 46,
"column": 52
},
"end": {
"line": 46,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1298,
"end": 1299,
"loc": {
"start": {
"line": 46,
"column": 53
},
"end": {
"line": 46,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1312,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"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": 1314,
"end": 1318,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1319,
"end": 1320,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1337,
"end": 1350,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1350,
"end": 1351,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1351,
"end": 1360,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1360,
"end": 1361,
"loc": {
"start": {
"line": 48,
"column": 39
},
"end": {
"line": 48,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1361,
"end": 1367,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1367,
"end": 1368,
"loc": {
"start": {
"line": 48,
"column": 46
},
"end": {
"line": 48,
"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": 1368,
"end": 1376,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 48,
"column": 56
},
"end": {
"line": 48,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1391,
"end": 1392,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1402,
"end": 1403,
"loc": {
"start": {
"line": 50,
"column": 9
},
"end": {
"line": 50,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1403,
"end": 1404,
"loc": {
"start": {
"line": 50,
"column": 10
},
"end": {
"line": 50,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1414,
"end": 1427,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 52,
"column": 21
},
"end": {
"line": 52,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 1428,
"end": 1444,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 52,
"column": 38
},
"end": {
"line": 52,
"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": 1445,
"end": 1452,
"loc": {
"start": {
"line": 52,
"column": 39
},
"end": {
"line": 52,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1452,
"end": 1453,
"loc": {
"start": {
"line": 52,
"column": 46
},
"end": {
"line": 52,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1454,
"end": 1455,
"loc": {
"start": {
"line": 52,
"column": 48
},
"end": {
"line": 52,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1455,
"end": 1460,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 52,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1460,
"end": 1461,
"loc": {
"start": {
"line": 52,
"column": 54
},
"end": {
"line": 52,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1462,
"end": 1464,
"loc": {
"start": {
"line": 52,
"column": 56
},
"end": {
"line": 52,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1465,
"end": 1466,
"loc": {
"start": {
"line": 52,
"column": 59
},
"end": {
"line": 52,
"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": 1479,
"end": 1481,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1482,
"end": 1483,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"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": 1483,
"end": 1487,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1487,
"end": 1488,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1488,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 53,
"column": 31
},
"end": {
"line": 53,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1499,
"end": 1500,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1500,
"end": 1501,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1502,
"end": 1503,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"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": 1520,
"end": 1524,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1524,
"end": 1525,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reset",
"start": 1525,
"end": 1530,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1531,
"end": 1532,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1532,
"end": 1533,
"loc": {
"start": {
"line": 54,
"column": 28
},
"end": {
"line": 54,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1546,
"end": 1547,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1560,
"end": 1565,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1565,
"end": 1566,
"loc": {
"start": {
"line": 56,
"column": 17
},
"end": {
"line": 56,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1566,
"end": 1580,
"loc": {
"start": {
"line": 56,
"column": 18
},
"end": {
"line": 56,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1580,
"end": 1581,
"loc": {
"start": {
"line": 56,
"column": 32
},
"end": {
"line": 56,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 56,
"column": 33
},
"end": {
"line": 56,
"column": 34
}
}
},
{
"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": 56,
"column": 34
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1592,
"end": 1593,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1593,
"end": 1594,
"loc": {
"start": {
"line": 57,
"column": 9
},
"end": {
"line": 57,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1594,
"end": 1595,
"loc": {
"start": {
"line": 57,
"column": 10
},
"end": {
"line": 57,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1600,
"end": 1601,
"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": "_saveModelMemento",
"start": 1607,
"end": 1624,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1624,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 21
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 1625,
"end": 1632,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1632,
"end": 1633,
"loc": {
"start": {
"line": 60,
"column": 29
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1634,
"end": 1635,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 32
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1644,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 8
},
"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": "metaModel",
"start": 1650,
"end": 1659,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1660,
"end": 1661,
"loc": {
"start": {
"line": 61,
"column": 24
},
"end": {
"line": 61,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1667,
"end": 1673,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1673,
"end": 1674,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaScene",
"start": 1674,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 38
},
"end": {
"line": 61,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1683,
"end": 1684,
"loc": {
"start": {
"line": 61,
"column": 47
},
"end": {
"line": 61,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModels",
"start": 1684,
"end": 1694,
"loc": {
"start": {
"line": 61,
"column": 48
},
"end": {
"line": 61,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1694,
"end": 1695,
"loc": {
"start": {
"line": 61,
"column": 58
},
"end": {
"line": 61,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 1695,
"end": 1702,
"loc": {
"start": {
"line": 61,
"column": 59
},
"end": {
"line": 61,
"column": 66
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 61,
"column": 66
},
"end": {
"line": 61,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1703,
"end": 1704,
"loc": {
"start": {
"line": 61,
"column": 67
},
"end": {
"line": 61,
"column": 68
}
}
},
{
"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": 1713,
"end": 1715,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 62,
"column": 11
},
"end": {
"line": 62,
"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": 1717,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModel",
"start": 1718,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1727,
"end": 1728,
"loc": {
"start": {
"line": 62,
"column": 22
},
"end": {
"line": 62,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1729,
"end": 1730,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1743,
"end": 1749,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1749,
"end": 1750,
"loc": {
"start": {
"line": 63,
"column": 18
},
"end": {
"line": 63,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1759,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"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": 1769,
"end": 1774,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelMemento",
"start": 1775,
"end": 1787,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1788,
"end": 1789,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1790,
"end": 1793,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ModelMemento",
"start": 1794,
"end": 1806,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1806,
"end": 1807,
"loc": {
"start": {
"line": 65,
"column": 45
},
"end": {
"line": 65,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 65,
"column": 46
},
"end": {
"line": 65,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1808,
"end": 1809,
"loc": {
"start": {
"line": 65,
"column": 47
},
"end": {
"line": 65,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelMemento",
"start": 1818,
"end": 1830,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1830,
"end": 1831,
"loc": {
"start": {
"line": 66,
"column": 20
},
"end": {
"line": 66,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveObjects",
"start": 1831,
"end": 1842,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1842,
"end": 1843,
"loc": {
"start": {
"line": 66,
"column": 32
},
"end": {
"line": 66,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1843,
"end": 1847,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 66,
"column": 37
},
"end": {
"line": 66,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1848,
"end": 1854,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1854,
"end": 1855,
"loc": {
"start": {
"line": 66,
"column": 44
},
"end": {
"line": 66,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1855,
"end": 1860,
"loc": {
"start": {
"line": 66,
"column": 45
},
"end": {
"line": 66,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1860,
"end": 1861,
"loc": {
"start": {
"line": 66,
"column": 50
},
"end": {
"line": 66,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModel",
"start": 1862,
"end": 1871,
"loc": {
"start": {
"line": 66,
"column": 52
},
"end": {
"line": 66,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1871,
"end": 1872,
"loc": {
"start": {
"line": 66,
"column": 61
},
"end": {
"line": 66,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1873,
"end": 1874,
"loc": {
"start": {
"line": 66,
"column": 63
},
"end": {
"line": 66,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 1887,
"end": 1894,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1894,
"end": 1895,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 20
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1896,
"end": 1900,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1900,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "edges",
"start": 1914,
"end": 1919,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1919,
"end": 1920,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1921,
"end": 1925,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1925,
"end": 1926,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayed",
"start": 1939,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 12
},
"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": 1945,
"end": 1946,
"loc": {
"start": {
"line": 69,
"column": 18
},
"end": {
"line": 69,
"column": 19
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1947,
"end": 1951,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1951,
"end": 1952,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1965,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 70,
"column": 23
},
"end": {
"line": 70,
"column": 24
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1978,
"end": 1982,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1982,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 1996,
"end": 2004,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2004,
"end": 2005,
"loc": {
"start": {
"line": 71,
"column": 20
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 71,
"column": 26
},
"end": {
"line": 71,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clippable",
"start": 2024,
"end": 2033,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2033,
"end": 2034,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2039,
"end": 2040,
"loc": {
"start": {
"line": 72,
"column": 27
},
"end": {
"line": 72,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickable",
"start": 2053,
"end": 2061,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2061,
"end": 2062,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 21
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2063,
"end": 2067,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2067,
"end": 2068,
"loc": {
"start": {
"line": 73,
"column": 26
},
"end": {
"line": 73,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "colorize",
"start": 2081,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2089,
"end": 2090,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 21
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 2091,
"end": 2096,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2096,
"end": 2097,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " We don't colorize objects yet - also messes up point clouds",
"start": 2098,
"end": 2160,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opacity",
"start": 2173,
"end": 2180,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 75,
"column": 19
},
"end": {
"line": 75,
"column": 20
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 2182,
"end": 2187,
"loc": {
"start": {
"line": 75,
"column": 21
},
"end": {
"line": 75,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " FIXME: Restoring opacity broken by colorize fix - details at https://github.com/xeokit/xeokit-sdk/issues/239",
"start": 2188,
"end": 2299,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 138
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2308,
"end": 2309,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2309,
"end": 2310,
"loc": {
"start": {
"line": 76,
"column": 9
},
"end": {
"line": 76,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2310,
"end": 2311,
"loc": {
"start": {
"line": 76,
"column": 10
},
"end": {
"line": 76,
"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": 2320,
"end": 2324,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2324,
"end": 2325,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelMementos",
"start": 2325,
"end": 2339,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2339,
"end": 2340,
"loc": {
"start": {
"line": 77,
"column": 27
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2340,
"end": 2347,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2347,
"end": 2348,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2349,
"end": 2350,
"loc": {
"start": {
"line": 77,
"column": 37
},
"end": {
"line": 77,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelMemento",
"start": 2351,
"end": 2363,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2363,
"end": 2364,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2369,
"end": 2370,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_restoreModelMemento",
"start": 2376,
"end": 2396,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2396,
"end": 2397,
"loc": {
"start": {
"line": 80,
"column": 24
},
"end": {
"line": 80,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2397,
"end": 2404,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2404,
"end": 2405,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 35
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2416,
"end": 2421,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModel",
"start": 2422,
"end": 2431,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2432,
"end": 2433,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2434,
"end": 2438,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2438,
"end": 2439,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2439,
"end": 2445,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaScene",
"start": 2446,
"end": 2455,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2455,
"end": 2456,
"loc": {
"start": {
"line": 81,
"column": 47
},
"end": {
"line": 81,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModels",
"start": 2456,
"end": 2466,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2466,
"end": 2467,
"loc": {
"start": {
"line": 81,
"column": 58
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2467,
"end": 2474,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 66
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2474,
"end": 2475,
"loc": {
"start": {
"line": 81,
"column": 66
},
"end": {
"line": 81,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2475,
"end": 2476,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 68
}
}
},
{
"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": 2485,
"end": 2487,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2488,
"end": 2489,
"loc": {
"start": {
"line": 82,
"column": 11
},
"end": {
"line": 82,
"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": 2489,
"end": 2490,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModel",
"start": 2490,
"end": 2499,
"loc": {
"start": {
"line": 82,
"column": 13
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2499,
"end": 2500,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2501,
"end": 2502,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2515,
"end": 2521,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2521,
"end": 2522,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2531,
"end": 2532,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"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": 2541,
"end": 2546,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelMemento",
"start": 2547,
"end": 2559,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2560,
"end": 2561,
"loc": {
"start": {
"line": 85,
"column": 27
},
"end": {
"line": 85,
"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": 2562,
"end": 2566,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2566,
"end": 2567,
"loc": {
"start": {
"line": 85,
"column": 33
},
"end": {
"line": 85,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelMementos",
"start": 2567,
"end": 2581,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2581,
"end": 2582,
"loc": {
"start": {
"line": 85,
"column": 48
},
"end": {
"line": 85,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2582,
"end": 2589,
"loc": {
"start": {
"line": 85,
"column": 49
},
"end": {
"line": 85,
"column": 56
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2590,
"end": 2591,
"loc": {
"start": {
"line": 85,
"column": 57
},
"end": {
"line": 85,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelMemento",
"start": 2600,
"end": 2612,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2612,
"end": 2613,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "restoreObjects",
"start": 2613,
"end": 2627,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 86,
"column": 35
},
"end": {
"line": 86,
"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": 2628,
"end": 2632,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2632,
"end": 2633,
"loc": {
"start": {
"line": 86,
"column": 40
},
"end": {
"line": 86,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2633,
"end": 2639,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 86,
"column": 47
},
"end": {
"line": 86,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2640,
"end": 2645,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2645,
"end": 2646,
"loc": {
"start": {
"line": 86,
"column": 53
},
"end": {
"line": 86,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaModel",
"start": 2647,
"end": 2656,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2656,
"end": 2657,
"loc": {
"start": {
"line": 86,
"column": 64
},
"end": {
"line": 86,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2657,
"end": 2658,
"loc": {
"start": {
"line": 86,
"column": 65
},
"end": {
"line": 86,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2663,
"end": 2664,
"loc": {
"start": {
"line": 87,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_destroyModelMemento",
"start": 2670,
"end": 2690,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 89,
"column": 24
},
"end": {
"line": 89,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2691,
"end": 2698,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 89,
"column": 32
},
"end": {
"line": 89,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2700,
"end": 2701,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 35
}
}
},
{
"type": {
"label": "delete",
"keyword": "delete",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "delete",
"start": 2710,
"end": 2716,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"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": 2717,
"end": 2721,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_modelMementos",
"start": 2722,
"end": 2736,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2736,
"end": 2737,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2737,
"end": 2744,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 90,
"column": 42
},
"end": {
"line": 90,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 90,
"column": 43
},
"end": {
"line": 90,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2751,
"end": 2752,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reset",
"start": 2758,
"end": 2763,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2763,
"end": 2764,
"loc": {
"start": {
"line": 93,
"column": 9
},
"end": {
"line": 93,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2764,
"end": 2765,
"loc": {
"start": {
"line": 93,
"column": 10
},
"end": {
"line": 93,
"column": 11
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2766,
"end": 2767,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2776,
"end": 2781,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2782,
"end": 2787,
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 94,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2788,
"end": 2789,
"loc": {
"start": {
"line": 94,
"column": 20
},
"end": {
"line": 94,
"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": 2790,
"end": 2794,
"loc": {
"start": {
"line": 94,
"column": 22
},
"end": {
"line": 94,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2794,
"end": 2795,
"loc": {
"start": {
"line": 94,
"column": 26
},
"end": {
"line": 94,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2795,
"end": 2801,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2801,
"end": 2802,
"loc": {
"start": {
"line": 94,
"column": 33
},
"end": {
"line": 94,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2802,
"end": 2807,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2807,
"end": 2808,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"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": 2817,
"end": 2822,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelIds",
"start": 2823,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 14
},
"end": {
"line": 95,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2832,
"end": 2833,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2834,
"end": 2839,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2839,
"end": 2840,
"loc": {
"start": {
"line": 95,
"column": 30
},
"end": {
"line": 95,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelIds",
"start": 2840,
"end": 2848,
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2848,
"end": 2849,
"loc": {
"start": {
"line": 95,
"column": 39
},
"end": {
"line": 95,
"column": 40
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2858,
"end": 2861,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2862,
"end": 2863,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 2863,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2869,
"end": 2870,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2871,
"end": 2872,
"loc": {
"start": {
"line": 96,
"column": 21
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2872,
"end": 2873,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 2874,
"end": 2877,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelIds",
"start": 2880,
"end": 2888,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2888,
"end": 2889,
"loc": {
"start": {
"line": 96,
"column": 38
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2889,
"end": 2895,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2895,
"end": 2896,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 48
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 2901,
"end": 2904,
"loc": {
"start": {
"line": 96,
"column": 51
},
"end": {
"line": 96,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 96,
"column": 54
},
"end": {
"line": 96,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 57
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2907,
"end": 2909,
"loc": {
"start": {
"line": 96,
"column": 57
},
"end": {
"line": 96,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2909,
"end": 2910,
"loc": {
"start": {
"line": 96,
"column": 59
},
"end": {
"line": 96,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2911,
"end": 2912,
"loc": {
"start": {
"line": 96,
"column": 61
},
"end": {
"line": 96,
"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": 2925,
"end": 2930,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2931,
"end": 2938,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2939,
"end": 2940,
"loc": {
"start": {
"line": 97,
"column": 26
},
"end": {
"line": 97,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelIds",
"start": 2941,
"end": 2949,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2949,
"end": 2950,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2951,
"end": 2952,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2952,
"end": 2953,
"loc": {
"start": {
"line": 97,
"column": 39
},
"end": {
"line": 97,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2966,
"end": 2970,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2970,
"end": 2971,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_restoreModelMemento",
"start": 2971,
"end": 2991,
"loc": {
"start": {
"line": 98,
"column": 17
},
"end": {
"line": 98,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2991,
"end": 2992,
"loc": {
"start": {
"line": 98,
"column": 37
},
"end": {
"line": 98,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 2992,
"end": 2999,
"loc": {
"start": {
"line": 98,
"column": 38
},
"end": {
"line": 98,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2999,
"end": 3000,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 98,
"column": 46
},
"end": {
"line": 98,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3010,
"end": 3011,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3020,
"end": 3024,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 3025,
"end": 3034,
"loc": {
"start": {
"line": 100,
"column": 13
},
"end": {
"line": 100,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3034,
"end": 3035,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unShowObjectInExplorers",
"start": 3035,
"end": 3058,
"loc": {
"start": {
"line": 100,
"column": 23
},
"end": {
"line": 100,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3058,
"end": 3059,
"loc": {
"start": {
"line": 100,
"column": 46
},
"end": {
"line": 100,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3059,
"end": 3060,
"loc": {
"start": {
"line": 100,
"column": 47
},
"end": {
"line": 100,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3060,
"end": 3061,
"loc": {
"start": {
"line": 100,
"column": 48
},
"end": {
"line": 100,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3070,
"end": 3074,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3074,
"end": 3075,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 3075,
"end": 3079,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3079,
"end": 3080,
"loc": {
"start": {
"line": 101,
"column": 17
},
"end": {
"line": 101,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "reset",
"start": 3080,
"end": 3087,
"loc": {
"start": {
"line": 101,
"column": 18
},
"end": {
"line": 101,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3087,
"end": 3088,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3089,
"end": 3093,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3093,
"end": 3094,
"loc": {
"start": {
"line": 101,
"column": 31
},
"end": {
"line": 101,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3094,
"end": 3095,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3104,
"end": 3108,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3108,
"end": 3109,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_resetCamera",
"start": 3109,
"end": 3121,
"loc": {
"start": {
"line": 102,
"column": 13
},
"end": {
"line": 102,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3121,
"end": 3122,
"loc": {
"start": {
"line": 102,
"column": 25
},
"end": {
"line": 102,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3122,
"end": 3123,
"loc": {
"start": {
"line": 102,
"column": 26
},
"end": {
"line": 102,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3123,
"end": 3124,
"loc": {
"start": {
"line": 102,
"column": 27
},
"end": {
"line": 102,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3129,
"end": 3130,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_resetCamera",
"start": 3136,
"end": 3148,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3148,
"end": 3149,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3149,
"end": 3150,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3151,
"end": 3152,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 105,
"column": 20
}
}
},
{
"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": 3161,
"end": 3166,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3167,
"end": 3173,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3174,
"end": 3175,
"loc": {
"start": {
"line": 106,
"column": 21
},
"end": {
"line": 106,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3176,
"end": 3180,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3180,
"end": 3181,
"loc": {
"start": {
"line": 106,
"column": 27
},
"end": {
"line": 106,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3181,
"end": 3187,
"loc": {
"start": {
"line": 106,
"column": 28
},
"end": {
"line": 106,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3187,
"end": 3188,
"loc": {
"start": {
"line": 106,
"column": 34
},
"end": {
"line": 106,
"column": 35
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3197,
"end": 3202,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3203,
"end": 3208,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3209,
"end": 3210,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3211,
"end": 3217,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3217,
"end": 3218,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3218,
"end": 3223,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3223,
"end": 3224,
"loc": {
"start": {
"line": 107,
"column": 34
},
"end": {
"line": 107,
"column": 35
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3233,
"end": 3238,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 3239,
"end": 3243,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3244,
"end": 3245,
"loc": {
"start": {
"line": 108,
"column": 19
},
"end": {
"line": 108,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3246,
"end": 3251,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 3252,
"end": 3259,
"loc": {
"start": {
"line": 108,
"column": 27
},
"end": {
"line": 108,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3259,
"end": 3260,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3260,
"end": 3265,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3265,
"end": 3266,
"loc": {
"start": {
"line": 108,
"column": 40
},
"end": {
"line": 108,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 3266,
"end": 3282,
"loc": {
"start": {
"line": 108,
"column": 41
},
"end": {
"line": 108,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3282,
"end": 3283,
"loc": {
"start": {
"line": 108,
"column": 57
},
"end": {
"line": 108,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3283,
"end": 3284,
"loc": {
"start": {
"line": 108,
"column": 58
},
"end": {
"line": 108,
"column": 59
}
}
},
{
"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": 3293,
"end": 3298,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diag",
"start": 3299,
"end": 3303,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3304,
"end": 3305,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 109,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3306,
"end": 3310,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3310,
"end": 3311,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Diag",
"start": 3311,
"end": 3323,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 109,
"column": 38
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 3324,
"end": 3328,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3328,
"end": 3329,
"loc": {
"start": {
"line": 109,
"column": 43
},
"end": {
"line": 109,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3329,
"end": 3330,
"loc": {
"start": {
"line": 109,
"column": 44
},
"end": {
"line": 109,
"column": 45
}
}
},
{
"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": 3339,
"end": 3344,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3345,
"end": 3351,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3352,
"end": 3353,
"loc": {
"start": {
"line": 110,
"column": 21
},
"end": {
"line": 110,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3354,
"end": 3358,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3358,
"end": 3359,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Center",
"start": 3359,
"end": 3373,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3373,
"end": 3374,
"loc": {
"start": {
"line": 110,
"column": 42
},
"end": {
"line": 110,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 3374,
"end": 3378,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3378,
"end": 3379,
"loc": {
"start": {
"line": 110,
"column": 47
},
"end": {
"line": 110,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tempVec3a",
"start": 3380,
"end": 3389,
"loc": {
"start": {
"line": 110,
"column": 49
},
"end": {
"line": 110,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3389,
"end": 3390,
"loc": {
"start": {
"line": 110,
"column": 58
},
"end": {
"line": 110,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3390,
"end": 3391,
"loc": {
"start": {
"line": 110,
"column": 59
},
"end": {
"line": 110,
"column": 60
}
}
},
{
"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": 3400,
"end": 3405,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 3406,
"end": 3412,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3413,
"end": 3414,
"loc": {
"start": {
"line": 111,
"column": 21
},
"end": {
"line": 111,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3415,
"end": 3420,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3420,
"end": 3421,
"loc": {
"start": {
"line": 111,
"column": 28
},
"end": {
"line": 111,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 3421,
"end": 3427,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3427,
"end": 3428,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3437,
"end": 3442,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fitFOV",
"start": 3443,
"end": 3449,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3450,
"end": 3451,
"loc": {
"start": {
"line": 112,
"column": 21
},
"end": {
"line": 112,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 3452,
"end": 3458,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3458,
"end": 3459,
"loc": {
"start": {
"line": 112,
"column": 29
},
"end": {
"line": 112,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "perspective",
"start": 3459,
"end": 3470,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3470,
"end": 3471,
"loc": {
"start": {
"line": 112,
"column": 41
},
"end": {
"line": 112,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fov",
"start": 3471,
"end": 3474,
"loc": {
"start": {
"line": 112,
"column": 42
},
"end": {
"line": 112,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3474,
"end": 3475,
"loc": {
"start": {
"line": 112,
"column": 45
},
"end": {
"line": 112,
"column": 46
}
}
},
{
"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": 3484,
"end": 3489,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dist",
"start": 3490,
"end": 3494,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3495,
"end": 3496,
"loc": {
"start": {
"line": 113,
"column": 19
},
"end": {
"line": 113,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 3497,
"end": 3501,
"loc": {
"start": {
"line": 113,
"column": 21
},
"end": {
"line": 113,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3501,
"end": 3502,
"loc": {
"start": {
"line": 113,
"column": 25
},
"end": {
"line": 113,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 3502,
"end": 3505,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3505,
"end": 3506,
"loc": {
"start": {
"line": 113,
"column": 29
},
"end": {
"line": 113,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diag",
"start": 3506,
"end": 3510,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 34
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3511,
"end": 3512,
"loc": {
"start": {
"line": 113,
"column": 35
},
"end": {
"line": 113,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 3513,
"end": 3517,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3517,
"end": 3518,
"loc": {
"start": {
"line": 113,
"column": 41
},
"end": {
"line": 113,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tan",
"start": 3518,
"end": 3521,
"loc": {
"start": {
"line": 113,
"column": 42
},
"end": {
"line": 113,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3521,
"end": 3522,
"loc": {
"start": {
"line": 113,
"column": 45
},
"end": {
"line": 113,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 45,
"start": 3522,
"end": 3524,
"loc": {
"start": {
"line": 113,
"column": 46
},
"end": {
"line": 113,
"column": 48
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3525,
"end": 3526,
"loc": {
"start": {
"line": 113,
"column": 49
},
"end": {
"line": 113,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3527,
"end": 3531,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3531,
"end": 3532,
"loc": {
"start": {
"line": 113,
"column": 55
},
"end": {
"line": 113,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DEGTORAD",
"start": 3532,
"end": 3540,
"loc": {
"start": {
"line": 113,
"column": 56
},
"end": {
"line": 113,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3540,
"end": 3541,
"loc": {
"start": {
"line": 113,
"column": 64
},
"end": {
"line": 113,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3541,
"end": 3542,
"loc": {
"start": {
"line": 113,
"column": 65
},
"end": {
"line": 113,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3542,
"end": 3543,
"loc": {
"start": {
"line": 113,
"column": 66
},
"end": {
"line": 113,
"column": 67
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3552,
"end": 3557,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dir",
"start": 3558,
"end": 3561,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3562,
"end": 3563,
"loc": {
"start": {
"line": 114,
"column": 18
},
"end": {
"line": 114,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3564,
"end": 3568,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "normalizeVec3",
"start": 3569,
"end": 3582,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3582,
"end": 3583,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3583,
"end": 3584,
"loc": {
"start": {
"line": 114,
"column": 39
},
"end": {
"line": 114,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 3584,
"end": 3590,
"loc": {
"start": {
"line": 114,
"column": 40
},
"end": {
"line": 114,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3590,
"end": 3591,
"loc": {
"start": {
"line": 114,
"column": 46
},
"end": {
"line": 114,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "yUp",
"start": 3591,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 47
},
"end": {
"line": 114,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3594,
"end": 3595,
"loc": {
"start": {
"line": 114,
"column": 50
},
"end": {
"line": 114,
"column": 51
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3596,
"end": 3597,
"loc": {
"start": {
"line": 114,
"column": 52
},
"end": {
"line": 114,
"column": 53
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3598,
"end": 3599,
"loc": {
"start": {
"line": 114,
"column": 54
},
"end": {
"line": 114,
"column": 55
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3599,
"end": 3600,
"loc": {
"start": {
"line": 114,
"column": 55
},
"end": {
"line": 114,
"column": 56
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 3600,
"end": 3603,
"loc": {
"start": {
"line": 114,
"column": 56
},
"end": {
"line": 114,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3603,
"end": 3604,
"loc": {
"start": {
"line": 114,
"column": 59
},
"end": {
"line": 114,
"column": 60
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3605,
"end": 3606,
"loc": {
"start": {
"line": 114,
"column": 61
},
"end": {
"line": 114,
"column": 62
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.7071,
"start": 3606,
"end": 3612,
"loc": {
"start": {
"line": 114,
"column": 62
},
"end": {
"line": 114,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3612,
"end": 3613,
"loc": {
"start": {
"line": 114,
"column": 68
},
"end": {
"line": 114,
"column": 69
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3614,
"end": 3615,
"loc": {
"start": {
"line": 114,
"column": 70
},
"end": {
"line": 114,
"column": 71
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 3615,
"end": 3618,
"loc": {
"start": {
"line": 114,
"column": 71
},
"end": {
"line": 114,
"column": 74
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3618,
"end": 3619,
"loc": {
"start": {
"line": 114,
"column": 74
},
"end": {
"line": 114,
"column": 75
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3620,
"end": 3621,
"loc": {
"start": {
"line": 114,
"column": 76
},
"end": {
"line": 114,
"column": 77
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3622,
"end": 3623,
"loc": {
"start": {
"line": 114,
"column": 78
},
"end": {
"line": 114,
"column": 79
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3623,
"end": 3624,
"loc": {
"start": {
"line": 114,
"column": 79
},
"end": {
"line": 114,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3624,
"end": 3625,
"loc": {
"start": {
"line": 114,
"column": 80
},
"end": {
"line": 114,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3625,
"end": 3626,
"loc": {
"start": {
"line": 114,
"column": 81
},
"end": {
"line": 114,
"column": 82
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3627,
"end": 3628,
"loc": {
"start": {
"line": 114,
"column": 83
},
"end": {
"line": 114,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3628,
"end": 3629,
"loc": {
"start": {
"line": 114,
"column": 84
},
"end": {
"line": 114,
"column": 85
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3630,
"end": 3631,
"loc": {
"start": {
"line": 114,
"column": 86
},
"end": {
"line": 114,
"column": 87
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3631,
"end": 3632,
"loc": {
"start": {
"line": 114,
"column": 87
},
"end": {
"line": 114,
"column": 88
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3632,
"end": 3633,
"loc": {
"start": {
"line": 114,
"column": 88
},
"end": {
"line": 114,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3633,
"end": 3634,
"loc": {
"start": {
"line": 114,
"column": 89
},
"end": {
"line": 114,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3634,
"end": 3635,
"loc": {
"start": {
"line": 114,
"column": 90
},
"end": {
"line": 114,
"column": 91
}
}
},
{
"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": 3644,
"end": 3649,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "up",
"start": 3650,
"end": 3652,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3653,
"end": 3654,
"loc": {
"start": {
"line": 115,
"column": 17
},
"end": {
"line": 115,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3655,
"end": 3659,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3659,
"end": 3660,
"loc": {
"start": {
"line": 115,
"column": 23
},
"end": {
"line": 115,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "normalizeVec3",
"start": 3660,
"end": 3673,
"loc": {
"start": {
"line": 115,
"column": 24
},
"end": {
"line": 115,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3673,
"end": 3674,
"loc": {
"start": {
"line": 115,
"column": 37
},
"end": {
"line": 115,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3674,
"end": 3675,
"loc": {
"start": {
"line": 115,
"column": 38
},
"end": {
"line": 115,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 3675,
"end": 3681,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3681,
"end": 3682,
"loc": {
"start": {
"line": 115,
"column": 45
},
"end": {
"line": 115,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "yUp",
"start": 3682,
"end": 3685,
"loc": {
"start": {
"line": 115,
"column": 46
},
"end": {
"line": 115,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3685,
"end": 3686,
"loc": {
"start": {
"line": 115,
"column": 49
},
"end": {
"line": 115,
"column": 50
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3687,
"end": 3688,
"loc": {
"start": {
"line": 115,
"column": 51
},
"end": {
"line": 115,
"column": 52
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3689,
"end": 3690,
"loc": {
"start": {
"line": 115,
"column": 53
},
"end": {
"line": 115,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3690,
"end": 3691,
"loc": {
"start": {
"line": 115,
"column": 54
},
"end": {
"line": 115,
"column": 55
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 3691,
"end": 3694,
"loc": {
"start": {
"line": 115,
"column": 55
},
"end": {
"line": 115,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3694,
"end": 3695,
"loc": {
"start": {
"line": 115,
"column": 58
},
"end": {
"line": 115,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.7071,
"start": 3696,
"end": 3702,
"loc": {
"start": {
"line": 115,
"column": 60
},
"end": {
"line": 115,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3702,
"end": 3703,
"loc": {
"start": {
"line": 115,
"column": 66
},
"end": {
"line": 115,
"column": 67
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3704,
"end": 3705,
"loc": {
"start": {
"line": 115,
"column": 68
},
"end": {
"line": 115,
"column": 69
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 3705,
"end": 3708,
"loc": {
"start": {
"line": 115,
"column": 69
},
"end": {
"line": 115,
"column": 72
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3708,
"end": 3709,
"loc": {
"start": {
"line": 115,
"column": 72
},
"end": {
"line": 115,
"column": 73
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3710,
"end": 3711,
"loc": {
"start": {
"line": 115,
"column": 74
},
"end": {
"line": 115,
"column": 75
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 115,
"column": 76
},
"end": {
"line": 115,
"column": 77
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 115,
"column": 77
},
"end": {
"line": 115,
"column": 78
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 115,
"column": 78
},
"end": {
"line": 115,
"column": 79
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3715,
"end": 3716,
"loc": {
"start": {
"line": 115,
"column": 79
},
"end": {
"line": 115,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 115,
"column": 81
},
"end": {
"line": 115,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3718,
"end": 3719,
"loc": {
"start": {
"line": 115,
"column": 82
},
"end": {
"line": 115,
"column": 83
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3720,
"end": 3721,
"loc": {
"start": {
"line": 115,
"column": 84
},
"end": {
"line": 115,
"column": 85
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 115,
"column": 85
},
"end": {
"line": 115,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3722,
"end": 3723,
"loc": {
"start": {
"line": 115,
"column": 86
},
"end": {
"line": 115,
"column": 87
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3723,
"end": 3724,
"loc": {
"start": {
"line": 115,
"column": 87
},
"end": {
"line": 115,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3733,
"end": 3739,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3739,
"end": 3740,
"loc": {
"start": {
"line": 116,
"column": 14
},
"end": {
"line": 116,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 3740,
"end": 3753,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3753,
"end": 3754,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 116,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pivotPos",
"start": 3754,
"end": 3762,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3763,
"end": 3764,
"loc": {
"start": {
"line": 116,
"column": 38
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3765,
"end": 3771,
"loc": {
"start": {
"line": 116,
"column": 40
},
"end": {
"line": 116,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3771,
"end": 3772,
"loc": {
"start": {
"line": 116,
"column": 46
},
"end": {
"line": 116,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3781,
"end": 3787,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3787,
"end": 3788,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 3788,
"end": 3801,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3801,
"end": 3802,
"loc": {
"start": {
"line": 117,
"column": 28
},
"end": {
"line": 117,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "planView",
"start": 3802,
"end": 3810,
"loc": {
"start": {
"line": 117,
"column": 29
},
"end": {
"line": 117,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3811,
"end": 3812,
"loc": {
"start": {
"line": 117,
"column": 38
},
"end": {
"line": 117,
"column": 39
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 3813,
"end": 3818,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3818,
"end": 3819,
"loc": {
"start": {
"line": 117,
"column": 45
},
"end": {
"line": 117,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3828,
"end": 3834,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3834,
"end": 3835,
"loc": {
"start": {
"line": 118,
"column": 14
},
"end": {
"line": 118,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 3835,
"end": 3847,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3847,
"end": 3848,
"loc": {
"start": {
"line": 118,
"column": 27
},
"end": {
"line": 118,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 3848,
"end": 3853,
"loc": {
"start": {
"line": 118,
"column": 28
},
"end": {
"line": 118,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3853,
"end": 3854,
"loc": {
"start": {
"line": 118,
"column": 33
},
"end": {
"line": 118,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3854,
"end": 3855,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 118,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "look",
"start": 3868,
"end": 3872,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3872,
"end": 3873,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3874,
"end": 3880,
"loc": {
"start": {
"line": 119,
"column": 18
},
"end": {
"line": 119,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3880,
"end": 3881,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "eye",
"start": 3894,
"end": 3897,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3897,
"end": 3898,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 16
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3899,
"end": 3900,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3900,
"end": 3906,
"loc": {
"start": {
"line": 120,
"column": 18
},
"end": {
"line": 120,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3906,
"end": 3907,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3907,
"end": 3908,
"loc": {
"start": {
"line": 120,
"column": 25
},
"end": {
"line": 120,
"column": 26
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3908,
"end": 3909,
"loc": {
"start": {
"line": 120,
"column": 26
},
"end": {
"line": 120,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3910,
"end": 3911,
"loc": {
"start": {
"line": 120,
"column": 28
},
"end": {
"line": 120,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3912,
"end": 3913,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dist",
"start": 3913,
"end": 3917,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 35
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3918,
"end": 3919,
"loc": {
"start": {
"line": 120,
"column": 36
},
"end": {
"line": 120,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dir",
"start": 3920,
"end": 3923,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3923,
"end": 3924,
"loc": {
"start": {
"line": 120,
"column": 41
},
"end": {
"line": 120,
"column": 42
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3924,
"end": 3925,
"loc": {
"start": {
"line": 120,
"column": 42
},
"end": {
"line": 120,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3925,
"end": 3926,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3926,
"end": 3927,
"loc": {
"start": {
"line": 120,
"column": 44
},
"end": {
"line": 120,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3927,
"end": 3928,
"loc": {
"start": {
"line": 120,
"column": 45
},
"end": {
"line": 120,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3929,
"end": 3935,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 53
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3935,
"end": 3936,
"loc": {
"start": {
"line": 120,
"column": 53
},
"end": {
"line": 120,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3936,
"end": 3937,
"loc": {
"start": {
"line": 120,
"column": 54
},
"end": {
"line": 120,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3937,
"end": 3938,
"loc": {
"start": {
"line": 120,
"column": 55
},
"end": {
"line": 120,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3939,
"end": 3940,
"loc": {
"start": {
"line": 120,
"column": 57
},
"end": {
"line": 120,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3941,
"end": 3942,
"loc": {
"start": {
"line": 120,
"column": 59
},
"end": {
"line": 120,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dist",
"start": 3942,
"end": 3946,
"loc": {
"start": {
"line": 120,
"column": 60
},
"end": {
"line": 120,
"column": 64
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3947,
"end": 3948,
"loc": {
"start": {
"line": 120,
"column": 65
},
"end": {
"line": 120,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dir",
"start": 3949,
"end": 3952,
"loc": {
"start": {
"line": 120,
"column": 67
},
"end": {
"line": 120,
"column": 70
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3952,
"end": 3953,
"loc": {
"start": {
"line": 120,
"column": 70
},
"end": {
"line": 120,
"column": 71
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 120,
"column": 71
},
"end": {
"line": 120,
"column": 72
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3954,
"end": 3955,
"loc": {
"start": {
"line": 120,
"column": 72
},
"end": {
"line": 120,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3955,
"end": 3956,
"loc": {
"start": {
"line": 120,
"column": 73
},
"end": {
"line": 120,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3956,
"end": 3957,
"loc": {
"start": {
"line": 120,
"column": 74
},
"end": {
"line": 120,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "center",
"start": 3958,
"end": 3964,
"loc": {
"start": {
"line": 120,
"column": 76
},
"end": {
"line": 120,
"column": 82
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3964,
"end": 3965,
"loc": {
"start": {
"line": 120,
"column": 82
},
"end": {
"line": 120,
"column": 83
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3965,
"end": 3966,
"loc": {
"start": {
"line": 120,
"column": 83
},
"end": {
"line": 120,
"column": 84
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3966,
"end": 3967,
"loc": {
"start": {
"line": 120,
"column": 84
},
"end": {
"line": 120,
"column": 85
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3968,
"end": 3969,
"loc": {
"start": {
"line": 120,
"column": 86
},
"end": {
"line": 120,
"column": 87
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3970,
"end": 3971,
"loc": {
"start": {
"line": 120,
"column": 88
},
"end": {
"line": 120,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dist",
"start": 3971,
"end": 3975,
"loc": {
"start": {
"line": 120,
"column": 89
},
"end": {
"line": 120,
"column": 93
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3976,
"end": 3977,
"loc": {
"start": {
"line": 120,
"column": 94
},
"end": {
"line": 120,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dir",
"start": 3978,
"end": 3981,
"loc": {
"start": {
"line": 120,
"column": 96
},
"end": {
"line": 120,
"column": 99
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3981,
"end": 3982,
"loc": {
"start": {
"line": 120,
"column": 99
},
"end": {
"line": 120,
"column": 100
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3982,
"end": 3983,
"loc": {
"start": {
"line": 120,
"column": 100
},
"end": {
"line": 120,
"column": 101
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3983,
"end": 3984,
"loc": {
"start": {
"line": 120,
"column": 101
},
"end": {
"line": 120,
"column": 102
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3984,
"end": 3985,
"loc": {
"start": {
"line": 120,
"column": 102
},
"end": {
"line": 120,
"column": 103
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3985,
"end": 3986,
"loc": {
"start": {
"line": 120,
"column": 103
},
"end": {
"line": 120,
"column": 104
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3986,
"end": 3987,
"loc": {
"start": {
"line": 120,
"column": 104
},
"end": {
"line": 120,
"column": 105
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "up",
"start": 4000,
"end": 4002,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4002,
"end": 4003,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 121,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "up",
"start": 4004,
"end": 4006,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4006,
"end": 4007,
"loc": {
"start": {
"line": 121,
"column": 18
},
"end": {
"line": 121,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "orthoScale",
"start": 4020,
"end": 4030,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 22
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4030,
"end": 4031,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diag",
"start": 4032,
"end": 4036,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 28
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4037,
"end": 4038,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1.3,
"start": 4039,
"end": 4042,
"loc": {
"start": {
"line": 122,
"column": 31
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4042,
"end": 4043,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 22
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4066,
"end": 4067,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "perspective",
"start": 4068,
"end": 4081,
"loc": {
"start": {
"line": 123,
"column": 24
},
"end": {
"line": 123,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4081,
"end": 4082,
"loc": {
"start": {
"line": 123,
"column": 37
},
"end": {
"line": 123,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 4095,
"end": 4103,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4103,
"end": 4104,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4105,
"end": 4106,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4115,
"end": 4116,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4116,
"end": 4117,
"loc": {
"start": {
"line": 125,
"column": 9
},
"end": {
"line": 125,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4117,
"end": 4118,
"loc": {
"start": {
"line": 125,
"column": 10
},
"end": {
"line": 125,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4123,
"end": 4124,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4125,
"end": 4126,
"loc": {
"start": {
"line": 127,
"column": 0
},
"end": {
"line": 127,
"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": 4128,
"end": 4134,
"loc": {
"start": {
"line": 129,
"column": 0
},
"end": {
"line": 129,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4135,
"end": 4136,
"loc": {
"start": {
"line": 129,
"column": 7
},
"end": {
"line": 129,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ResetAction",
"start": 4136,
"end": 4147,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4147,
"end": 4148,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4148,
"end": 4149,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 21
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4149,
"end": 4149,
"loc": {
"start": {
"line": 129,
"column": 21
},
"end": {
"line": 129,
"column": 21
}
}
}
]
}