{ "type": "File", "start": 0, "end": 15969, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 478, "column": 24 } }, "program": { "type": "Program", "start": 0, "end": 15969, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 478, "column": 24 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 79, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 79 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 8, "end": 12, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 12 } }, "imported": { "type": "Identifier", "start": 8, "end": 12, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 12 }, "identifierName": "math" }, "name": "math" }, "local": { "type": "Identifier", "start": 8, "end": 12, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 12 }, "identifierName": "math" }, "name": "math" } }, { "type": "ImportSpecifier", "start": 14, "end": 29, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 29 } }, "imported": { "type": "Identifier", "start": 14, "end": 29, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 29 }, "identifierName": "XKTLoaderPlugin" }, "name": "XKTLoaderPlugin" }, "local": { "type": "Identifier", "start": 14, "end": 29, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 29 }, "identifierName": "XKTLoaderPlugin" }, "name": "XKTLoaderPlugin" } } ], "source": { "type": "StringLiteral", "start": 36, "end": 78, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 78 } }, "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": "ImportDeclaration", "start": 80, "end": 124, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 44 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 88, "end": 98, "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 18 } }, "imported": { "type": "Identifier", "start": 88, "end": 98, "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 18 }, "identifierName": "Controller" }, "name": "Controller" }, "local": { "type": "Identifier", "start": 88, "end": 98, "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 18 }, "identifierName": "Controller" }, "name": "Controller" } } ], "source": { "type": "StringLiteral", "start": 105, "end": 123, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 43 } }, "extra": { "rawValue": "../Controller.js", "raw": "\"../Controller.js\"" }, "value": "../Controller.js" } }, { "type": "ImportDeclaration", "start": 125, "end": 196, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 71 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 133, "end": 150, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 25 } }, "imported": { "type": "Identifier", "start": 133, "end": 150, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 25 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu" }, "local": { "type": "Identifier", "start": 133, "end": 150, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 25 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu" } } ], "source": { "type": "StringLiteral", "start": 157, "end": 195, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 70 } }, "extra": { "rawValue": "../contextMenus/ModelsContextMenu.js", "raw": "\"../contextMenus/ModelsContextMenu.js\"" }, "value": "../contextMenus/ModelsContextMenu.js" } }, { "type": "VariableDeclaration", "start": 198, "end": 228, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 204, "end": 227, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 29 } }, "id": { "type": "Identifier", "start": 204, "end": 213, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 15 }, "identifierName": "tempVec3a" }, "name": "tempVec3a" }, "init": { "type": "CallExpression", "start": 216, "end": 227, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 216, "end": 225, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 27 } }, "object": { "type": "Identifier", "start": 216, "end": 220, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 22 }, "identifierName": "math" }, "name": "math" }, "property": { "type": "Identifier", "start": 221, "end": 225, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 27 }, "identifierName": "vec3" }, "name": "vec3" }, "computed": false }, "arguments": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Custom data access strategy for {@link XKTLoaderPlugin}.\n * @private\n ", "start": 231, "end": 310, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 11, "column": 3 } } } ] }, { "type": "ClassDeclaration", "start": 311, "end": 938, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 37, "column": 1 } }, "id": { "type": "Identifier", "start": 317, "end": 336, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 25 }, "identifierName": "BIMViewerDataSource" }, "name": "BIMViewerDataSource", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 337, "end": 938, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 37, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 344, "end": 402, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 16, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 344, "end": 355, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 356, "end": 362, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 22 }, "identifierName": "server" }, "name": "server" } ], "body": { "type": "BlockStatement", "start": 364, "end": 402, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 16, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 374, "end": 396, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 374, "end": 395, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 374, "end": 386, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 20 } }, "object": { "type": "ThisExpression", "start": 374, "end": 378, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 12 } } }, "property": { "type": "Identifier", "start": 379, "end": 386, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 20 }, "identifierName": "_server" }, "name": "_server" }, "computed": false }, "right": { "type": "Identifier", "start": 389, "end": 395, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 29 }, "identifierName": "server" }, "name": "server" } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 408, "end": 476, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 20, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 408, "end": 420, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 16 }, "identifierName": "setProjectId" }, "name": "setProjectId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 421, "end": 430, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 26 }, "identifierName": "projectId" }, "name": "projectId" } ], "body": { "type": "BlockStatement", "start": 432, "end": 476, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 20, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 442, "end": 470, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 442, "end": 469, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 442, "end": 457, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 23 } }, "object": { "type": "ThisExpression", "start": 442, "end": 446, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 12 } } }, "property": { "type": "Identifier", "start": 447, "end": 457, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 23 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, "right": { "type": "Identifier", "start": 460, "end": 469, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 35 }, "identifierName": "projectId" }, "name": "projectId" } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 482, "end": 542, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 24, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 482, "end": 492, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 14 }, "identifierName": "setModelId" }, "name": "setModelId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 493, "end": 500, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 22 }, "identifierName": "modelId" }, "name": "modelId" } ], "body": { "type": "BlockStatement", "start": 502, "end": 542, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 24, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 512, "end": 536, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 512, "end": 535, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 512, "end": 525, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 21 } }, "object": { "type": "ThisExpression", "start": 512, "end": 516, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 12 } } }, "property": { "type": "Identifier", "start": 517, "end": 525, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 21 }, "identifierName": "_modelId" }, "name": "_modelId" }, "computed": false }, "right": { "type": "Identifier", "start": 528, "end": 535, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 31 }, "identifierName": "modelId" }, "name": "modelId" } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 548, "end": 675, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 28, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 548, "end": 559, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 15 }, "identifierName": "getManifest" }, "name": "getManifest" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 560, "end": 563, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 19 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 565, "end": 567, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 23 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 569, "end": 574, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 30 }, "identifierName": "error" }, "name": "error" } ], "body": { "type": "BlockStatement", "start": 576, "end": 675, "loc": { "start": { "line": 26, "column": 32 }, "end": { "line": 28, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 586, "end": 669, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 91 } }, "expression": { "type": "CallExpression", "start": 586, "end": 668, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 586, "end": 620, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 42 } }, "object": { "type": "MemberExpression", "start": 586, "end": 598, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 20 } }, "object": { "type": "ThisExpression", "start": 586, "end": 590, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } } }, "property": { "type": "Identifier", "start": 591, "end": 598, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 20 }, "identifierName": "_server" }, "name": "_server" }, "computed": false }, "property": { "type": "Identifier", "start": 599, "end": 620, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 42 }, "identifierName": "getSplitModelManifest" }, "name": "getSplitModelManifest" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 621, "end": 636, "loc": { "start": { "line": 27, "column": 43 }, "end": { "line": 27, "column": 58 } }, "object": { "type": "ThisExpression", "start": 621, "end": 625, "loc": { "start": { "line": 27, "column": 43 }, "end": { "line": 27, "column": 47 } } }, "property": { "type": "Identifier", "start": 626, "end": 636, "loc": { "start": { "line": 27, "column": 48 }, "end": { "line": 27, "column": 58 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, { "type": "MemberExpression", "start": 638, "end": 651, "loc": { "start": { "line": 27, "column": 60 }, "end": { "line": 27, "column": 73 } }, "object": { "type": "ThisExpression", "start": 638, "end": 642, "loc": { "start": { "line": 27, "column": 60 }, "end": { "line": 27, "column": 64 } } }, "property": { "type": "Identifier", "start": 643, "end": 651, "loc": { "start": { "line": 27, "column": 65 }, "end": { "line": 27, "column": 73 }, "identifierName": "_modelId" }, "name": "_modelId" }, "computed": false }, { "type": "Identifier", "start": 653, "end": 656, "loc": { "start": { "line": 27, "column": 75 }, "end": { "line": 27, "column": 78 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 658, "end": 660, "loc": { "start": { "line": 27, "column": 80 }, "end": { "line": 27, "column": 82 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 662, "end": 667, "loc": { "start": { "line": 27, "column": 84 }, "end": { "line": 27, "column": 89 }, "identifierName": "error" }, "name": "error" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 681, "end": 809, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 681, "end": 693, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 16 }, "identifierName": "getMetaModel" }, "name": "getMetaModel" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 694, "end": 697, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 20 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 699, "end": 701, "loc": { "start": { "line": 30, "column": 22 }, "end": { "line": 30, "column": 24 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 703, "end": 708, "loc": { "start": { "line": 30, "column": 26 }, "end": { "line": 30, "column": 31 }, "identifierName": "error" }, "name": "error" } ], "body": { "type": "BlockStatement", "start": 710, "end": 809, "loc": { "start": { "line": 30, "column": 33 }, "end": { "line": 32, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 720, "end": 803, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 91 } }, "expression": { "type": "CallExpression", "start": 720, "end": 802, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 720, "end": 754, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 42 } }, "object": { "type": "MemberExpression", "start": 720, "end": 732, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 20 } }, "object": { "type": "ThisExpression", "start": 720, "end": 724, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 12 } } }, "property": { "type": "Identifier", "start": 725, "end": 732, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 20 }, "identifierName": "_server" }, "name": "_server" }, "computed": false }, "property": { "type": "Identifier", "start": 733, "end": 754, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 42 }, "identifierName": "getSplitModelMetadata" }, "name": "getSplitModelMetadata" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 755, "end": 770, "loc": { "start": { "line": 31, "column": 43 }, "end": { "line": 31, "column": 58 } }, "object": { "type": "ThisExpression", "start": 755, "end": 759, "loc": { "start": { "line": 31, "column": 43 }, "end": { "line": 31, "column": 47 } } }, "property": { "type": "Identifier", "start": 760, "end": 770, "loc": { "start": { "line": 31, "column": 48 }, "end": { "line": 31, "column": 58 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, { "type": "MemberExpression", "start": 772, "end": 785, "loc": { "start": { "line": 31, "column": 60 }, "end": { "line": 31, "column": 73 } }, "object": { "type": "ThisExpression", "start": 772, "end": 776, "loc": { "start": { "line": 31, "column": 60 }, "end": { "line": 31, "column": 64 } } }, "property": { "type": "Identifier", "start": 777, "end": 785, "loc": { "start": { "line": 31, "column": 65 }, "end": { "line": 31, "column": 73 }, "identifierName": "_modelId" }, "name": "_modelId" }, "computed": false }, { "type": "Identifier", "start": 787, "end": 790, "loc": { "start": { "line": 31, "column": 75 }, "end": { "line": 31, "column": 78 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 792, "end": 794, "loc": { "start": { "line": 31, "column": 80 }, "end": { "line": 31, "column": 82 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 796, "end": 801, "loc": { "start": { "line": 31, "column": 84 }, "end": { "line": 31, "column": 89 }, "identifierName": "error" }, "name": "error" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 815, "end": 936, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 36, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 815, "end": 821, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 10 }, "identifierName": "getXKT" }, "name": "getXKT" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 822, "end": 825, "loc": { "start": { "line": 34, "column": 11 }, "end": { "line": 34, "column": 14 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 827, "end": 829, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 18 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 831, "end": 836, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 25 }, "identifierName": "error" }, "name": "error" } ], "body": { "type": "BlockStatement", "start": 838, "end": 936, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 36, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 848, "end": 930, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 90 } }, "expression": { "type": "CallExpression", "start": 848, "end": 930, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 848, "end": 882, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 42 } }, "object": { "type": "MemberExpression", "start": 848, "end": 860, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 20 } }, "object": { "type": "ThisExpression", "start": 848, "end": 852, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 12 } } }, "property": { "type": "Identifier", "start": 853, "end": 860, "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 35, "column": 20 }, "identifierName": "_server" }, "name": "_server" }, "computed": false }, "property": { "type": "Identifier", "start": 861, "end": 882, "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 35, "column": 42 }, "identifierName": "getSplitModelGeometry" }, "name": "getSplitModelGeometry" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 883, "end": 898, "loc": { "start": { "line": 35, "column": 43 }, "end": { "line": 35, "column": 58 } }, "object": { "type": "ThisExpression", "start": 883, "end": 887, "loc": { "start": { "line": 35, "column": 43 }, "end": { "line": 35, "column": 47 } } }, "property": { "type": "Identifier", "start": 888, "end": 898, "loc": { "start": { "line": 35, "column": 48 }, "end": { "line": 35, "column": 58 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, { "type": "MemberExpression", "start": 900, "end": 913, "loc": { "start": { "line": 35, "column": 60 }, "end": { "line": 35, "column": 73 } }, "object": { "type": "ThisExpression", "start": 900, "end": 904, "loc": { "start": { "line": 35, "column": 60 }, "end": { "line": 35, "column": 64 } } }, "property": { "type": "Identifier", "start": 905, "end": 913, "loc": { "start": { "line": 35, "column": 65 }, "end": { "line": 35, "column": 73 }, "identifierName": "_modelId" }, "name": "_modelId" }, "computed": false }, { "type": "Identifier", "start": 915, "end": 918, "loc": { "start": { "line": 35, "column": 75 }, "end": { "line": 35, "column": 78 }, "identifierName": "src" }, "name": "src" }, { "type": "Identifier", "start": 920, "end": 922, "loc": { "start": { "line": 35, "column": 80 }, "end": { "line": 35, "column": 82 }, "identifierName": "ok" }, "name": "ok" }, { "type": "Identifier", "start": 924, "end": 929, "loc": { "start": { "line": 35, "column": 84 }, "end": { "line": 35, "column": 89 }, "identifierName": "error" }, "name": "error" } ] } } ], "directives": [] } } ], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Custom data access strategy for {@link XKTLoaderPlugin}.\n * @private\n ", "start": 231, "end": 310, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 11, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @private ", "start": 941, "end": 956, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 15 } } } ] }, { "type": "Identifier", "start": 957, "end": 15943, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 476, "column": 1 } }, "id": { "type": "Identifier", "start": 963, "end": 977, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 20 }, "identifierName": "ModelsExplorer" }, "name": "ModelsExplorer", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 986, "end": 996, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 39 }, "identifierName": "Controller" }, "name": "Controller" }, "body": { "type": "ClassBody", "start": 997, "end": 15943, "loc": { "start": { "line": 41, "column": 40 }, "end": { "line": 476, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1004, "end": 2424, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 86, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1004, "end": 1015, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1016, "end": 1022, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 22 }, "identifierName": "parent" }, "name": "parent" }, { "type": "Identifier", "start": 1024, "end": 1027, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 27 }, "identifierName": "cfg" }, "name": "cfg" } ], "body": { "type": "BlockStatement", "start": 1029, "end": 2424, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 86, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1040, "end": 1059, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 27 } }, "expression": { "type": "CallExpression", "start": 1040, "end": 1058, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 26 } }, "callee": { "type": "Super", "start": 1040, "end": 1045, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 1046, "end": 1052, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 20 }, "identifierName": "parent" }, "name": "parent" }, { "type": "Identifier", "start": 1054, "end": 1057, "loc": { "start": { "line": 45, "column": 22 }, "end": { "line": 45, "column": 25 }, "identifierName": "cfg" }, "name": "cfg" } ] } }, { "type": "IfStatement", "start": 1069, "end": 1161, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 49, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1073, "end": 1094, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1074, "end": 1094, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 33 } }, "object": { "type": "Identifier", "start": 1074, "end": 1077, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 16 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1078, "end": 1094, "loc": { "start": { "line": 47, "column": 17 }, "end": { "line": 47, "column": 33 }, "identifierName": "modelsTabElement" }, "name": "modelsTabElement" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1096, "end": 1161, "loc": { "start": { "line": 47, "column": 35 }, "end": { "line": 49, "column": 9 } }, "body": [ { "type": "ThrowStatement", "start": 1110, "end": 1151, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 53 } }, "argument": { "type": "StringLiteral", "start": 1116, "end": 1150, "loc": { "start": { "line": 48, "column": 18 }, "end": { "line": 48, "column": 52 } }, "extra": { "rawValue": "Missing config: modelsTabElement", "raw": "\"Missing config: modelsTabElement\"" }, "value": "Missing config: modelsTabElement" } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1171, "end": 1281, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 53, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1175, "end": 1205, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1176, "end": 1205, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 42 } }, "object": { "type": "Identifier", "start": 1176, "end": 1179, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 16 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1180, "end": 1205, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 42 }, "identifierName": "unloadModelsButtonElement" }, "name": "unloadModelsButtonElement" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1207, "end": 1281, "loc": { "start": { "line": 51, "column": 44 }, "end": { "line": 53, "column": 9 } }, "body": [ { "type": "ThrowStatement", "start": 1221, "end": 1271, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 62 } }, "argument": { "type": "StringLiteral", "start": 1227, "end": 1270, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 61 } }, "extra": { "rawValue": "Missing config: unloadModelsButtonElement", "raw": "\"Missing config: unloadModelsButtonElement\"" }, "value": "Missing config: unloadModelsButtonElement" } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1291, "end": 1377, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 57, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1295, "end": 1313, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1296, "end": 1313, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 30 } }, "object": { "type": "Identifier", "start": 1296, "end": 1299, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 16 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1300, "end": 1313, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 30 }, "identifierName": "modelsElement" }, "name": "modelsElement" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1315, "end": 1377, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 57, "column": 9 } }, "body": [ { "type": "ThrowStatement", "start": 1329, "end": 1367, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 50 } }, "argument": { "type": "StringLiteral", "start": 1335, "end": 1366, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 49 } }, "extra": { "rawValue": "Missing config: modelsElement", "raw": "\"Missing config: modelsElement\"" }, "value": "Missing config: modelsElement" } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1387, "end": 1434, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 1387, "end": 1433, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1387, "end": 1408, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 29 } }, "object": { "type": "ThisExpression", "start": 1387, "end": 1391, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 12 } } }, "property": { "type": "Identifier", "start": 1392, "end": 1408, "loc": { "start": { "line": 59, "column": 13 }, "end": { "line": 59, "column": 29 }, "identifierName": "_enableAddModels" }, "name": "_enableAddModels" }, "computed": false }, "right": { "type": "UnaryExpression", "start": 1411, "end": 1433, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 54 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 1412, "end": 1433, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 54 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1413, "end": 1433, "loc": { "start": { "line": 59, "column": 34 }, "end": { "line": 59, "column": 54 } }, "object": { "type": "Identifier", "start": 1413, "end": 1416, "loc": { "start": { "line": 59, "column": 34 }, "end": { "line": 59, "column": 37 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1417, "end": 1433, "loc": { "start": { "line": 59, "column": 38 }, "end": { "line": 59, "column": 54 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } } } }, { "type": "ExpressionStatement", "start": 1443, "end": 1489, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 1443, "end": 1488, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1443, "end": 1465, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1443, "end": 1447, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } } }, "property": { "type": "Identifier", "start": 1448, "end": 1465, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 30 }, "identifierName": "_modelsTabElement" }, "name": "_modelsTabElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1468, "end": 1488, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 53 } }, "object": { "type": "Identifier", "start": 1468, "end": 1471, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 36 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1472, "end": 1488, "loc": { "start": { "line": 60, "column": 37 }, "end": { "line": 60, "column": 53 }, "identifierName": "modelsTabElement" }, "name": "modelsTabElement" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1498, "end": 1558, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 1498, "end": 1557, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1498, "end": 1527, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 37 } }, "object": { "type": "ThisExpression", "start": 1498, "end": 1502, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 12 } } }, "property": { "type": "Identifier", "start": 1503, "end": 1527, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 37 }, "identifierName": "_loadModelsButtonElement" }, "name": "_loadModelsButtonElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1530, "end": 1557, "loc": { "start": { "line": 61, "column": 40 }, "end": { "line": 61, "column": 67 } }, "object": { "type": "Identifier", "start": 1530, "end": 1533, "loc": { "start": { "line": 61, "column": 40 }, "end": { "line": 61, "column": 43 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1534, "end": 1557, "loc": { "start": { "line": 61, "column": 44 }, "end": { "line": 61, "column": 67 }, "identifierName": "loadModelsButtonElement" }, "name": "loadModelsButtonElement" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1567, "end": 1631, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 1567, "end": 1630, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1567, "end": 1598, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 39 } }, "object": { "type": "ThisExpression", "start": 1567, "end": 1571, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 12 } } }, "property": { "type": "Identifier", "start": 1572, "end": 1598, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 39 }, "identifierName": "_unloadModelsButtonElement" }, "name": "_unloadModelsButtonElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1601, "end": 1630, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 71 } }, "object": { "type": "Identifier", "start": 1601, "end": 1604, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 45 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1605, "end": 1630, "loc": { "start": { "line": 62, "column": 46 }, "end": { "line": 62, "column": 71 }, "identifierName": "unloadModelsButtonElement" }, "name": "unloadModelsButtonElement" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1640, "end": 1696, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1640, "end": 1695, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1640, "end": 1667, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 35 } }, "object": { "type": "ThisExpression", "start": 1640, "end": 1644, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, "property": { "type": "Identifier", "start": 1645, "end": 1667, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 35 }, "identifierName": "_addModelButtonElement" }, "name": "_addModelButtonElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1670, "end": 1695, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 63 } }, "object": { "type": "Identifier", "start": 1670, "end": 1673, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 41 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1674, "end": 1695, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 63 }, "identifierName": "addModelButtonElement" }, "name": "addModelButtonElement" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1705, "end": 1745, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1705, "end": 1744, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1705, "end": 1724, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1705, "end": 1709, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 12 } } }, "property": { "type": "Identifier", "start": 1710, "end": 1724, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 27 }, "identifierName": "_modelsElement" }, "name": "_modelsElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1727, "end": 1744, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 47 } }, "object": { "type": "Identifier", "start": 1727, "end": 1730, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 33 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 1731, "end": 1744, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 47 }, "identifierName": "modelsElement" }, "name": "modelsElement" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1754, "end": 1841, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 95 } }, "expression": { "type": "AssignmentExpression", "start": 1754, "end": 1840, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 94 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1754, "end": 1782, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 36 } }, "object": { "type": "ThisExpression", "start": 1754, "end": 1758, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, "property": { "type": "Identifier", "start": 1759, "end": 1782, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 36 }, "identifierName": "_modelsTabButtonElement" }, "name": "_modelsTabButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 1785, "end": 1840, "loc": { "start": { "line": 65, "column": 39 }, "end": { "line": 65, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 1785, "end": 1821, "loc": { "start": { "line": 65, "column": 39 }, "end": { "line": 65, "column": 75 } }, "object": { "type": "MemberExpression", "start": 1785, "end": 1807, "loc": { "start": { "line": 65, "column": 39 }, "end": { "line": 65, "column": 61 } }, "object": { "type": "ThisExpression", "start": 1785, "end": 1789, "loc": { "start": { "line": 65, "column": 39 }, "end": { "line": 65, "column": 43 } } }, "property": { "type": "Identifier", "start": 1790, "end": 1807, "loc": { "start": { "line": 65, "column": 44 }, "end": { "line": 65, "column": 61 }, "identifierName": "_modelsTabElement" }, "name": "_modelsTabElement" }, "computed": false }, "property": { "type": "Identifier", "start": 1808, "end": 1821, "loc": { "start": { "line": 65, "column": 62 }, "end": { "line": 65, "column": 75 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1822, "end": 1839, "loc": { "start": { "line": 65, "column": 76 }, "end": { "line": 65, "column": 93 } }, "extra": { "rawValue": ".xeokit-tab-btn", "raw": "\".xeokit-tab-btn\"" }, "value": ".xeokit-tab-btn" } ] } } }, { "type": "IfStatement", "start": 1851, "end": 1955, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 69, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1855, "end": 1884, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1856, "end": 1884, "loc": { "start": { "line": 67, "column": 13 }, "end": { "line": 67, "column": 41 } }, "object": { "type": "ThisExpression", "start": 1856, "end": 1860, "loc": { "start": { "line": 67, "column": 13 }, "end": { "line": 67, "column": 17 } } }, "property": { "type": "Identifier", "start": 1861, "end": 1884, "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 41 }, "identifierName": "_modelsTabButtonElement" }, "name": "_modelsTabButtonElement" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1886, "end": 1955, "loc": { "start": { "line": 67, "column": 43 }, "end": { "line": 69, "column": 9 } }, "body": [ { "type": "ThrowStatement", "start": 1900, "end": 1945, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 68, "column": 57 } }, "argument": { "type": "StringLiteral", "start": 1906, "end": 1944, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 56 } }, "extra": { "rawValue": "Missing DOM element: ,xeokit-tab-btn", "raw": "\"Missing DOM element: ,xeokit-tab-btn\"" }, "value": "Missing DOM element: ,xeokit-tab-btn" } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1965, "end": 2021, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1965, "end": 2020, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1965, "end": 1981, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1965, "end": 1969, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 12 } } }, "property": { "type": "Identifier", "start": 1970, "end": 1981, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 24 }, "identifierName": "_dataSource" }, "name": "_dataSource" }, "computed": false }, "right": { "type": "NewExpression", "start": 1984, "end": 2020, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 63 } }, "callee": { "type": "Identifier", "start": 1988, "end": 2007, "loc": { "start": { "line": 71, "column": 31 }, "end": { "line": 71, "column": 50 }, "identifierName": "BIMViewerDataSource" }, "name": "BIMViewerDataSource" }, "arguments": [ { "type": "MemberExpression", "start": 2008, "end": 2019, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 62 } }, "object": { "type": "ThisExpression", "start": 2008, "end": 2012, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 55 } } }, "property": { "type": "Identifier", "start": 2013, "end": 2019, "loc": { "start": { "line": 71, "column": 56 }, "end": { "line": 71, "column": 62 }, "identifierName": "server" }, "name": "server" }, "computed": false } ] } } }, { "type": "ExpressionStatement", "start": 2031, "end": 2136, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 75, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 2031, "end": 2135, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 75, "column": 10 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2031, "end": 2046, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2031, "end": 2035, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 12 } } }, "property": { "type": "Identifier", "start": 2036, "end": 2046, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 23 }, "identifierName": "_xktLoader" }, "name": "_xktLoader" }, "computed": false }, "right": { "type": "NewExpression", "start": 2049, "end": 2135, "loc": { "start": { "line": 73, "column": 26 }, "end": { "line": 75, "column": 10 } }, "callee": { "type": "Identifier", "start": 2053, "end": 2068, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 45 }, "identifierName": "XKTLoaderPlugin" }, "name": "XKTLoaderPlugin" }, "arguments": [ { "type": "MemberExpression", "start": 2069, "end": 2080, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 57 } }, "object": { "type": "ThisExpression", "start": 2069, "end": 2073, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 50 } } }, "property": { "type": "Identifier", "start": 2074, "end": 2080, "loc": { "start": { "line": 73, "column": 51 }, "end": { "line": 73, "column": 57 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, { "type": "ObjectExpression", "start": 2082, "end": 2134, "loc": { "start": { "line": 73, "column": 59 }, "end": { "line": 75, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2096, "end": 2124, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2096, "end": 2106, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 22 }, "identifierName": "dataSource" }, "name": "dataSource" }, "value": { "type": "MemberExpression", "start": 2108, "end": 2124, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 40 } }, "object": { "type": "ThisExpression", "start": 2108, "end": 2112, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, "property": { "type": "Identifier", "start": 2113, "end": 2124, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 40 }, "identifierName": "_dataSource" }, "name": "_dataSource" }, "computed": false } } ] } ] } } }, { "type": "ExpressionStatement", "start": 2146, "end": 2290, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 2146, "end": 2289, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "column": 10 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2146, "end": 2169, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2146, "end": 2150, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 12 } } }, "property": { "type": "Identifier", "start": 2151, "end": 2169, "loc": { "start": { "line": 77, "column": 13 }, "end": { "line": 77, "column": 31 }, "identifierName": "_modelsContextMenu" }, "name": "_modelsContextMenu" }, "computed": false }, "right": { "type": "NewExpression", "start": 2172, "end": 2289, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 80, "column": 10 } }, "callee": { "type": "Identifier", "start": 2176, "end": 2193, "loc": { "start": { "line": 77, "column": 38 }, "end": { "line": 77, "column": 55 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu" }, "arguments": [ { "type": "ObjectExpression", "start": 2194, "end": 2288, "loc": { "start": { "line": 77, "column": 56 }, "end": { "line": 80, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2208, "end": 2246, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 50 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2208, "end": 2224, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 28 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "value": { "type": "MemberExpression", "start": 2226, "end": 2246, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 50 } }, "object": { "type": "Identifier", "start": 2226, "end": 2229, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 33 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 2230, "end": 2246, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 50 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "computed": false } }, { "type": "ObjectProperty", "start": 2260, "end": 2278, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2260, "end": 2272, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 24 }, "identifierName": "hideOnAction" }, "name": "hideOnAction" }, "value": { "type": "BooleanLiteral", "start": 2274, "end": 2278, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 30 } }, "value": true } } ] } ] } } }, { "type": "ExpressionStatement", "start": 2300, "end": 2322, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 2300, "end": 2321, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2300, "end": 2316, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2300, "end": 2304, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } } }, "property": { "type": "Identifier", "start": 2305, "end": 2316, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 24 }, "identifierName": "_modelsInfo" }, "name": "_modelsInfo" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2319, "end": 2321, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 29 } }, "properties": [] } } }, { "type": "ExpressionStatement", "start": 2331, "end": 2351, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 2331, "end": 2350, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2331, "end": 2346, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2331, "end": 2335, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 12 } } }, "property": { "type": "Identifier", "start": 2336, "end": 2346, "loc": { "start": { "line": 83, "column": 13 }, "end": { "line": 83, "column": 23 }, "identifierName": "_numModels" }, "name": "_numModels" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2349, "end": 2350, "loc": { "start": { "line": 83, "column": 26 }, "end": { "line": 83, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 2360, "end": 2386, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 2360, "end": 2385, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2360, "end": 2381, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2360, "end": 2364, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 12 } } }, "property": { "type": "Identifier", "start": 2365, "end": 2381, "loc": { "start": { "line": 84, "column": 13 }, "end": { "line": 84, "column": 29 }, "identifierName": "_numModelsLoaded" }, "name": "_numModelsLoaded" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2384, "end": 2385, "loc": { "start": { "line": 84, "column": 32 }, "end": { "line": 84, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 2395, "end": 2418, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 2395, "end": 2417, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2395, "end": 2410, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2395, "end": 2399, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, "property": { "type": "Identifier", "start": 2400, "end": 2410, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 23 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, "right": { "type": "NullLiteral", "start": 2413, "end": 2417, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 30 } } } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2430, "end": 2522, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2430, "end": 2445, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 19 }, "identifierName": "setObjectColors" }, "name": "setObjectColors" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2446, "end": 2458, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 32 }, "identifierName": "objectColors" }, "name": "objectColors" } ], "body": { "type": "BlockStatement", "start": 2460, "end": 2522, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 90, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2470, "end": 2516, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 2470, "end": 2515, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2470, "end": 2500, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 38 } }, "object": { "type": "MemberExpression", "start": 2470, "end": 2485, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2470, "end": 2474, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 12 } } }, "property": { "type": "Identifier", "start": 2475, "end": 2485, "loc": { "start": { "line": 89, "column": 13 }, "end": { "line": 89, "column": 23 }, "identifierName": "_xktLoader" }, "name": "_xktLoader" }, "computed": false }, "property": { "type": "Identifier", "start": 2486, "end": 2500, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 38 }, "identifierName": "objectDefaults" }, "name": "objectDefaults" }, "computed": false }, "right": { "type": "Identifier", "start": 2503, "end": 2515, "loc": { "start": { "line": 89, "column": 41 }, "end": { "line": 89, "column": 53 }, "identifierName": "objectColors" }, "name": "objectColors" } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2528, "end": 3380, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 114, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2528, "end": 2539, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 15 }, "identifierName": "loadProject" }, "name": "loadProject" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2540, "end": 2549, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 25 }, "identifierName": "projectId" }, "name": "projectId" }, { "type": "Identifier", "start": 2551, "end": 2555, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 31 }, "identifierName": "done" }, "name": "done" }, { "type": "Identifier", "start": 2557, "end": 2562, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 38 }, "identifierName": "error" }, "name": "error" } ], "body": { "type": "BlockStatement", "start": 2564, "end": 3380, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 114, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2574, "end": 3374, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 113, "column": 11 } }, "expression": { "type": "CallExpression", "start": 2574, "end": 3373, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 113, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 2574, "end": 2596, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 30 } }, "object": { "type": "MemberExpression", "start": 2574, "end": 2585, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 19 } }, "object": { "type": "ThisExpression", "start": 2574, "end": 2578, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, "property": { "type": "Identifier", "start": 2579, "end": 2585, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 19 }, "identifierName": "server" }, "name": "server" }, "computed": false }, "property": { "type": "Identifier", "start": 2586, "end": 2596, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 30 }, "identifierName": "getProject" }, "name": "getProject" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2597, "end": 2606, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 40 }, "identifierName": "projectId" }, "name": "projectId" }, { "type": "ArrowFunctionExpression", "start": 2608, "end": 3245, "loc": { "start": { "line": 93, "column": 42 }, "end": { "line": 108, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2609, "end": 2620, "loc": { "start": { "line": 93, "column": 43 }, "end": { "line": 93, "column": 54 }, "identifierName": "projectInfo" }, "name": "projectInfo" } ], "body": { "type": "BlockStatement", "start": 2625, "end": 3245, "loc": { "start": { "line": 93, "column": 59 }, "end": { "line": 108, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2639, "end": 2660, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 33 } }, "expression": { "type": "CallExpression", "start": 2639, "end": 2659, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 2639, "end": 2657, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2639, "end": 2643, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 16 } } }, "property": { "type": "Identifier", "start": 2644, "end": 2657, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 30 }, "identifierName": "unloadProject" }, "name": "unloadProject" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 2673, "end": 2701, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 2673, "end": 2700, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2673, "end": 2688, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2673, "end": 2677, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 } } }, "property": { "type": "Identifier", "start": 2678, "end": 2688, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 27 }, "identifierName": "_projectId" }, "name": "_projectId" }, "computed": false }, "right": { "type": "Identifier", "start": 2691, "end": 2700, "loc": { "start": { "line": 95, "column": 30 }, "end": { "line": 95, "column": 39 }, "identifierName": "projectId" }, "name": "projectId" } } }, { "type": "ExpressionStatement", "start": 2714, "end": 2736, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 2714, "end": 2735, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2714, "end": 2730, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 28 } }, "object": { "type": "ThisExpression", "start": 2714, "end": 2718, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 16 } } }, "property": { "type": "Identifier", "start": 2719, "end": 2730, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 28 }, "identifierName": "_modelsInfo" }, "name": "_modelsInfo" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2733, "end": 2735, "loc": { "start": { "line": 96, "column": 31 }, "end": { "line": 96, "column": 33 } }, "properties": [] } } }, { "type": "ExpressionStatement", "start": 2749, "end": 2769, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2749, "end": 2768, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2749, "end": 2764, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2749, "end": 2753, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 16 } } }, "property": { "type": "Identifier", "start": 2754, "end": 2764, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 27 }, "identifierName": "_numModels" }, "name": "_numModels" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2767, "end": 2768, "loc": { "start": { "line": 97, "column": 30 }, "end": { "line": 97, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 2782, "end": 2820, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 50 } }, "expression": { "type": "CallExpression", "start": 2782, "end": 2819, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 2782, "end": 2800, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2782, "end": 2786, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 16 } } }, "property": { "type": "Identifier", "start": 2787, "end": 2800, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 30 }, "identifierName": "_parseProject" }, "name": "_parseProject" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2801, "end": 2812, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 42 }, "identifierName": "projectInfo" }, "name": "projectInfo" }, { "type": "Identifier", "start": 2814, "end": 2818, "loc": { "start": { "line": 98, "column": 44 }, "end": { "line": 98, "column": 48 }, "identifierName": "done" }, "name": "done" } ] } }, { "type": "IfStatement", "start": 2833, "end": 2969, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 101, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 2837, "end": 2876, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 55 } }, "left": { "type": "MemberExpression", "start": 2837, "end": 2858, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 37 } }, "object": { "type": "ThisExpression", "start": 2837, "end": 2841, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 20 } } }, "property": { "type": "Identifier", "start": 2842, "end": 2858, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 37 }, "identifierName": "_numModelsLoaded" }, "name": "_numModelsLoaded" }, "computed": false }, "operator": "<", "right": { "type": "MemberExpression", "start": 2861, "end": 2876, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2861, "end": 2865, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 44 } } }, "property": { "type": "Identifier", "start": 2866, "end": 2876, "loc": { "start": { "line": 99, "column": 45 }, "end": { "line": 99, "column": 55 }, "identifierName": "_numModels" }, "name": "_numModels" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 2878, "end": 2969, "loc": { "start": { "line": 99, "column": 57 }, "end": { "line": 101, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2896, "end": 2955, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 75 } }, "expression": { "type": "CallExpression", "start": 2896, "end": 2954, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 2896, "end": 2942, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 62 } }, "object": { "type": "MemberExpression", "start": 2896, "end": 2935, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2896, "end": 2925, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 45 } }, "object": { "type": "ThisExpression", "start": 2896, "end": 2900, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 20 } } }, "property": { "type": "Identifier", "start": 2901, "end": 2925, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "column": 45 }, "identifierName": "_loadModelsButtonElement" }, "name": "_loadModelsButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 2926, "end": 2935, "loc": { "start": { "line": 100, "column": 46 }, "end": { "line": 100, "column": 55 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 2936, "end": 2942, "loc": { "start": { "line": 100, "column": 56 }, "end": { "line": 100, "column": 62 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2943, "end": 2953, "loc": { "start": { "line": 100, "column": 63 }, "end": { "line": 100, "column": 73 } }, "extra": { "rawValue": "disabled", "raw": "\"disabled\"" }, "value": "disabled" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2982, "end": 3106, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 104, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 2986, "end": 3011, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 41 } }, "left": { "type": "MemberExpression", "start": 2986, "end": 3007, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 37 } }, "object": { "type": "ThisExpression", "start": 2986, "end": 2990, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 20 } } }, "property": { "type": "Identifier", "start": 2991, "end": 3007, "loc": { "start": { "line": 102, "column": 21 }, "end": { "line": 102, "column": 37 }, "identifierName": "_numModelsLoaded" }, "name": "_numModelsLoaded" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3010, "end": 3011, "loc": { "start": { "line": 102, "column": 40 }, "end": { "line": 102, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 3013, "end": 3106, "loc": { "start": { "line": 102, "column": 43 }, "end": { "line": 104, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3031, "end": 3092, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 77 } }, "expression": { "type": "CallExpression", "start": 3031, "end": 3091, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 3031, "end": 3079, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 64 } }, "object": { "type": "MemberExpression", "start": 3031, "end": 3072, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 57 } }, "object": { "type": "MemberExpression", "start": 3031, "end": 3062, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 47 } }, "object": { "type": "ThisExpression", "start": 3031, "end": 3035, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 20 } } }, "property": { "type": "Identifier", "start": 3036, "end": 3062, "loc": { "start": { "line": 103, "column": 21 }, "end": { "line": 103, "column": 47 }, "identifierName": "_unloadModelsButtonElement" }, "name": "_unloadModelsButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 3063, "end": 3072, "loc": { "start": { "line": 103, "column": 48 }, "end": { "line": 103, "column": 57 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3073, "end": 3079, "loc": { "start": { "line": 103, "column": 58 }, "end": { "line": 103, "column": 64 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3080, "end": 3090, "loc": { "start": { "line": 103, "column": 65 }, "end": { "line": 103, "column": 75 } }, "extra": { "rawValue": "disabled", "raw": "\"disabled\"" }, "value": "disabled" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3119, "end": 3235, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 107, "column": 13 } }, "test": { "type": "MemberExpression", "start": 3123, "end": 3144, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 37 } }, "object": { "type": "ThisExpression", "start": 3123, "end": 3127, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 20 } } }, "property": { "type": "Identifier", "start": 3128, "end": 3144, "loc": { "start": { "line": 105, "column": 21 }, "end": { "line": 105, "column": 37 }, "identifierName": "_enableAddModels" }, "name": "_enableAddModels" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3146, "end": 3235, "loc": { "start": { "line": 105, "column": 39 }, "end": { "line": 107, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3164, "end": 3221, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 73 } }, "expression": { "type": "CallExpression", "start": 3164, "end": 3220, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 3164, "end": 3208, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 60 } }, "object": { "type": "MemberExpression", "start": 3164, "end": 3201, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 53 } }, "object": { "type": "MemberExpression", "start": 3164, "end": 3191, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 43 } }, "object": { "type": "ThisExpression", "start": 3164, "end": 3168, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 20 } } }, "property": { "type": "Identifier", "start": 3169, "end": 3191, "loc": { "start": { "line": 106, "column": 21 }, "end": { "line": 106, "column": 43 }, "identifierName": "_addModelButtonElement" }, "name": "_addModelButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 3192, "end": 3201, "loc": { "start": { "line": 106, "column": 44 }, "end": { "line": 106, "column": 53 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3202, "end": 3208, "loc": { "start": { "line": 106, "column": 54 }, "end": { "line": 106, "column": 60 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3209, "end": 3219, "loc": { "start": { "line": 106, "column": 61 }, "end": { "line": 106, "column": 71 } }, "extra": { "rawValue": "disabled", "raw": "\"disabled\"" }, "value": "disabled" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 3247, "end": 3372, "loc": { "start": { "line": 108, "column": 11 }, "end": { "line": 113, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3248, "end": 3254, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 18 }, "identifierName": "errMsg" }, "name": "errMsg" } ], "body": { "type": "BlockStatement", "start": 3259, "end": 3372, "loc": { "start": { "line": 108, "column": 23 }, "end": { "line": 113, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3273, "end": 3292, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 31 } }, "expression": { "type": "CallExpression", "start": 3273, "end": 3291, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 3273, "end": 3283, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3273, "end": 3277, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 16 } } }, "property": { "type": "Identifier", "start": 3278, "end": 3283, "loc": { "start": { "line": 109, "column": 17 }, "end": { "line": 109, "column": 22 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3284, "end": 3290, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 109, "column": 29 }, "identifierName": "errMsg" }, "name": "errMsg" } ] } }, { "type": "IfStatement", "start": 3305, "end": 3362, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 112, "column": 13 } }, "test": { "type": "Identifier", "start": 3309, "end": 3314, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 21 }, "identifierName": "error" }, "name": "error" }, "consequent": { "type": "BlockStatement", "start": 3316, "end": 3362, "loc": { "start": { "line": 110, "column": 23 }, "end": { "line": 112, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3334, "end": 3348, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 30 } }, "expression": { "type": "CallExpression", "start": 3334, "end": 3347, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 29 } }, "callee": { "type": "Identifier", "start": 3334, "end": 3339, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 21 }, "identifierName": "error" }, "name": "error" }, "arguments": [ { "type": "Identifier", "start": 3340, "end": 3346, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 28 }, "identifierName": "errMsg" }, "name": "errMsg" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3386, "end": 3679, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 124, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3386, "end": 3399, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 17 }, "identifierName": "_parseProject" }, "name": "_parseProject" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3400, "end": 3411, "loc": { "start": { "line": 116, "column": 18 }, "end": { "line": 116, "column": 29 }, "identifierName": "projectInfo" }, "name": "projectInfo" }, { "type": "Identifier", "start": 3413, "end": 3417, "loc": { "start": { "line": 116, "column": 31 }, "end": { "line": 116, "column": 35 }, "identifierName": "done" }, "name": "done" } ], "body": { "type": "BlockStatement", "start": 3419, "end": 3679, "loc": { "start": { "line": 116, "column": 37 }, "end": { "line": 124, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3429, "end": 3464, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 43 } }, "expression": { "type": "CallExpression", "start": 3429, "end": 3463, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 3429, "end": 3450, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 29 } }, "object": { "type": "ThisExpression", "start": 3429, "end": 3433, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 12 } } }, "property": { "type": "Identifier", "start": 3434, "end": 3450, "loc": { "start": { "line": 117, "column": 13 }, "end": { "line": 117, "column": 29 }, "identifierName": "_buildModelsMenu" }, "name": "_buildModelsMenu" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3451, "end": 3462, "loc": { "start": { "line": 117, "column": 30 }, "end": { "line": 117, "column": 41 }, "identifierName": "projectInfo" }, "name": "projectInfo" } ] } }, { "type": "ExpressionStatement", "start": 3473, "end": 3511, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 46 } }, "expression": { "type": "CallExpression", "start": 3473, "end": 3510, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 3473, "end": 3497, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 32 } }, "object": { "type": "ThisExpression", "start": 3473, "end": 3477, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 12 } } }, "property": { "type": "Identifier", "start": 3478, "end": 3497, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 32 }, "identifierName": "_parseViewerConfigs" }, "name": "_parseViewerConfigs" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3498, "end": 3509, "loc": { "start": { "line": 118, "column": 33 }, "end": { "line": 118, "column": 44 }, "identifierName": "projectInfo" }, "name": "projectInfo" } ] } }, { "type": "ExpressionStatement", "start": 3520, "end": 3673, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 123, "column": 11 } }, "expression": { "type": "CallExpression", "start": 3520, "end": 3672, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 123, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 3520, "end": 3544, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 32 } }, "object": { "type": "ThisExpression", "start": 3520, "end": 3524, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 12 } } }, "property": { "type": "Identifier", "start": 3525, "end": 3544, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 32 }, "identifierName": "_parseViewerContent" }, "name": "_parseViewerContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3545, "end": 3556, "loc": { "start": { "line": 119, "column": 33 }, "end": { "line": 119, "column": 44 }, "identifierName": "projectInfo" }, "name": "projectInfo" }, { "type": "ArrowFunctionExpression", "start": 3558, "end": 3671, "loc": { "start": { "line": 119, "column": 46 }, "end": { "line": 123, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3564, "end": 3671, "loc": { "start": { "line": 119, "column": 52 }, "end": { "line": 123, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3578, "end": 3661, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 122, "column": 15 } }, "expression": { "type": "CallExpression", "start": 3578, "end": 3660, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 122, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 3578, "end": 3600, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3578, "end": 3582, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 16 } } }, "property": { "type": "Identifier", "start": 3583, "end": 3600, "loc": { "start": { "line": 120, "column": 17 }, "end": { "line": 120, "column": 34 }, "identifierName": "_parseViewerState" }, "name": "_parseViewerState" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3601, "end": 3612, "loc": { "start": { "line": 120, "column": 35 }, "end": { "line": 120, "column": 46 }, "identifierName": "projectInfo" }, "name": "projectInfo" }, { "type": "ArrowFunctionExpression", "start": 3614, "end": 3659, "loc": { "start": { "line": 120, "column": 48 }, "end": { "line": 122, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3620, "end": 3659, "loc": { "start": { "line": 120, "column": 54 }, "end": { "line": 122, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3638, "end": 3645, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 23 } }, "expression": { "type": "CallExpression", "start": 3638, "end": 3644, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 22 } }, "callee": { "type": "Identifier", "start": 3638, "end": 3642, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 20 }, "identifierName": "done" }, "name": "done" }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [] } } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3685, "end": 5604, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 170, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3685, "end": 3701, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 20 }, "identifierName": "_buildModelsMenu" }, "name": "_buildModelsMenu" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3702, "end": 3713, "loc": { "start": { "line": 126, "column": 21 }, "end": { "line": 126, "column": 32 }, "identifierName": "projectInfo" }, "name": "projectInfo" } ], "body": { "type": "BlockStatement", "start": 3715, "end": 5604, "loc": { "start": { "line": 126, "column": 34 }, "end": { "line": 170, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3725, "end": 3739, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3729, "end": 3738, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 21 } }, "id": { "type": "Identifier", "start": 3729, "end": 3733, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 16 }, "identifierName": "html" }, "name": "html" }, "init": { "type": "StringLiteral", "start": 3736, "end": 3738, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 21 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 3748, "end": 3792, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3754, "end": 3791, "loc": { "start": { "line": 128, "column": 14 }, "end": { "line": 128, "column": 51 } }, "id": { "type": "Identifier", "start": 3754, "end": 3764, "loc": { "start": { "line": 128, "column": 14 }, "end": { "line": 128, "column": 24 }, "identifierName": "modelsInfo" }, "name": "modelsInfo" }, "init": { "type": "LogicalExpression", "start": 3767, "end": 3791, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 51 } }, "left": { "type": "MemberExpression", "start": 3767, "end": 3785, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 45 } }, "object": { "type": "Identifier", "start": 3767, "end": 3778, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 38 }, "identifierName": "projectInfo" }, "name": "projectInfo" }, "property": { "type": "Identifier", "start": 3779, "end": 3785, "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 45 }, "identifierName": "models" }, "name": "models" }, "computed": false }, "operator": "||", "right": { "type": "ArrayExpression", "start": 3789, "end": 3791, "loc": { "start": { "line": 128, "column": 49 }, "end": { "line": 128, "column": 51 } }, "elements": [] } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3801, "end": 3823, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 3801, "end": 3822, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3801, "end": 3817, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3801, "end": 3805, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 12 } } }, "property": { "type": "Identifier", "start": 3806, "end": 3817, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 24 }, "identifierName": "_modelsInfo" }, "name": "_modelsInfo" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 3820, "end": 3822, "loc": { "start": { "line": 129, "column": 27 }, "end": { "line": 129, "column": 29 } }, "properties": [] } } }, { "type": "ExpressionStatement", "start": 3832, "end": 3868, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 3832, "end": 3867, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3832, "end": 3847, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 23 } }, "object": { "type": "ThisExpression", "start": 3832, "end": 3836, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 12 } } }, "property": { "type": "Identifier", "start": 3837, "end": 3847, "loc": { "start": { "line": 130, "column": 13 }, "end": { "line": 130, "column": 23 }, "identifierName": "_numModels" }, "name": "_numModels" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3850, "end": 3867, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 43 } }, "object": { "type": "Identifier", "start": 3850, "end": 3860, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 36 }, "identifierName": "modelsInfo" }, "name": "modelsInfo" }, "property": { "type": "Identifier", "start": 3861, "end": 3867, "loc": { "start": { "line": 130, "column": 37 }, "end": { "line": 130, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } } }, { "type": "ForStatement", "start": 3877, "end": 4294, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 137, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3882, "end": 3916, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3886, "end": 3891, "loc": { "start": { "line": 131, "column": 17 }, "end": { "line": 131, "column": 22 } }, "id": { "type": "Identifier", "start": 3886, "end": 3887, "loc": { "start": { "line": 131, "column": 17 }, "end": { "line": 131, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 3890, "end": 3891, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "VariableDeclarator", "start": 3893, "end": 3916, "loc": { "start": { "line": 131, "column": 24 }, "end": { "line": 131, "column": 47 } }, "id": { "type": "Identifier", "start": 3893, "end": 3896, "loc": { "start": { "line": 131, "column": 24 }, "end": { "line": 131, "column": 27 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "MemberExpression", "start": 3899, "end": 3916, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 47 } }, "object": { "type": "Identifier", "start": 3899, "end": 3909, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 40 }, "identifierName": "modelsInfo" }, "name": "modelsInfo" }, "property": { "type": "Identifier", "start": 3910, "end": 3916, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 47 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3918, "end": 3925, "loc": { "start": { "line": 131, "column": 49 }, "end": { "line": 131, "column": 56 } }, "left": { "type": "Identifier", "start": 3918, "end": 3919, "loc": { "start": { "line": 131, "column": 49 }, "end": { "line": 131, "column": 50 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 3922, "end": 3925, "loc": { "start": { "line": 131, "column": 53 }, "end": { "line": 131, "column": 56 }, "identifierName": "len" }, "name": "len" } }, "update": { "type": "UpdateExpression", "start": 3927, "end": 3930, "loc": { "start": { "line": 131, "column": 58 }, "end": { "line": 131, "column": 61 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 3927, "end": 3928, "loc": { "start": { "line": 131, "column": 58 }, "end": { "line": 131, "column": 59 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 3932, "end": 4294, "loc": { "start": { "line": 131, "column": 63 }, "end": { "line": 137, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3946, "end": 3978, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3952, "end": 3977, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 132, "column": 43 } }, "id": { "type": "Identifier", "start": 3952, "end": 3961, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 132, "column": 27 }, "identifierName": "modelInfo" }, "name": "modelInfo" }, "init": { "type": "MemberExpression", "start": 3964, "end": 3977, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 43 } }, "object": { "type": "Identifier", "start": 3964, "end": 3974, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 40 }, "identifierName": "modelsInfo" }, "name": "modelsInfo" }, "property": { "type": "Identifier", "start": 3975, "end": 3976, "loc": { "start": { "line": 132, "column": 41 }, "end": { "line": 132, "column": 42 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3991, "end": 4034, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 3991, "end": 4033, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3991, "end": 4021, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 42 } }, "object": { "type": "MemberExpression", "start": 3991, "end": 4007, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3991, "end": 3995, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 16 } } }, "property": { "type": "Identifier", "start": 3996, "end": 4007, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 28 }, "identifierName": "_modelsInfo" }, "name": "_modelsInfo" }, "computed": false }, "property": { "type": "MemberExpression", "start": 4008, "end": 4020, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 41 } }, "object": { "type": "Identifier", "start": 4008, "end": 4017, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 38 }, "identifierName": "modelInfo" }, "name": "modelInfo" }, "property": { "type": "Identifier", "start": 4018, "end": 4020, "loc": { "start": { "line": 133, "column": 39 }, "end": { "line": 133, "column": 41 }, "identifierName": "id" }, "name": "id" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 4024, "end": 4033, "loc": { "start": { "line": 133, "column": 45 }, "end": { "line": 133, "column": 54 }, "identifierName": "modelInfo" }, "name": "modelInfo" } } }, { "type": "ExpressionStatement", "start": 4047, "end": 4089, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 4047, "end": 4088, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 53 } }, "operator": "+=", "left": { "type": "Identifier", "start": 4047, "end": 4051, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 16 }, "identifierName": "html" }, "name": "html" }, "right": { "type": "StringLiteral", "start": 4055, "end": 4088, "loc": { "start": { "line": 134, "column": 20 }, "end": { "line": 134, "column": 53 } }, "extra": { "rawValue": "