UNPKG

awv3

Version:
2,162 lines (2,161 loc) 3.17 MB
{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "'use strict'", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, "range": [ 0, 13 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 13 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Object", "range": [ 13, 19 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 19 } } }, "property": { "type": "Identifier", "name": "defineProperty", "range": [ 20, 34 ], "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 34 } } }, "range": [ 13, 34 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 34 } } }, "arguments": [ { "type": "Identifier", "name": "exports", "range": [ 35, 42 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 42 } } }, { "type": "Literal", "value": "__esModule", "raw": "'__esModule'", "range": [ 43, 55 ], "loc": { "start": { "line": 1, "column": 43 }, "end": { "line": 1, "column": 55 } } }, { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "value", "range": [ 57, 62 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 62 } } }, "value": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "Literal", "value": 0, "raw": "0", "range": [ 64, 65 ], "loc": { "start": { "line": 1, "column": 64 }, "end": { "line": 1, "column": 65 } } }, "prefix": true, "range": [ 63, 65 ], "loc": { "start": { "line": 1, "column": 63 }, "end": { "line": 1, "column": 65 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 57, 65 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 65 } } } ], "range": [ 56, 66 ], "loc": { "start": { "line": 1, "column": 56 }, "end": { "line": 1, "column": 66 } } } ], "range": [ 13, 67 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 67 } } }, "range": [ 13, 68 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 68 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2", "range": [ 72, 81 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 81 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 82, 89 ], "loc": { "start": { "line": 1, "column": 82 }, "end": { "line": 1, "column": 89 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 90, 121 ], "loc": { "start": { "line": 1, "column": 90 }, "end": { "line": 1, "column": 121 } } } ], "range": [ 82, 122 ], "loc": { "start": { "line": 1, "column": 82 }, "end": { "line": 1, "column": 122 } } }, "range": [ 72, 122 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 122 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 123, 132 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 132 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 133, 155 ], "loc": { "start": { "line": 1, "column": 133 }, "end": { "line": 1, "column": 155 } } }, "arguments": [ { "type": "Identifier", "name": "_extends2", "range": [ 156, 165 ], "loc": { "start": { "line": 1, "column": 156 }, "end": { "line": 1, "column": 165 } } } ], "range": [ 133, 166 ], "loc": { "start": { "line": 1, "column": 133 }, "end": { "line": 1, "column": 166 } } }, "range": [ 123, 166 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 166 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 167, 183 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 183 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 184, 191 ], "loc": { "start": { "line": 1, "column": 184 }, "end": { "line": 1, "column": 191 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 192, 230 ], "loc": { "start": { "line": 1, "column": 192 }, "end": { "line": 1, "column": 230 } } } ], "range": [ 184, 231 ], "loc": { "start": { "line": 1, "column": 184 }, "end": { "line": 1, "column": 231 } } }, "range": [ 167, 231 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 231 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 232, 248 ], "loc": { "start": { "line": 1, "column": 232 }, "end": { "line": 1, "column": 248 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 249, 271 ], "loc": { "start": { "line": 1, "column": 249 }, "end": { "line": 1, "column": 271 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 272, 288 ], "loc": { "start": { "line": 1, "column": 272 }, "end": { "line": 1, "column": 288 } } } ], "range": [ 249, 289 ], "loc": { "start": { "line": 1, "column": 249 }, "end": { "line": 1, "column": 289 } } }, "range": [ 232, 289 ], "loc": { "start": { "line": 1, "column": 232 }, "end": { "line": 1, "column": 289 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 290, 303 ], "loc": { "start": { "line": 1, "column": 290 }, "end": { "line": 1, "column": 303 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 304, 311 ], "loc": { "start": { "line": 1, "column": 304 }, "end": { "line": 1, "column": 311 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 312, 347 ], "loc": { "start": { "line": 1, "column": 312 }, "end": { "line": 1, "column": 347 } } } ], "range": [ 304, 348 ], "loc": { "start": { "line": 1, "column": 304 }, "end": { "line": 1, "column": 348 } } }, "range": [ 290, 348 ], "loc": { "start": { "line": 1, "column": 290 }, "end": { "line": 1, "column": 348 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 349, 362 ], "loc": { "start": { "line": 1, "column": 349 }, "end": { "line": 1, "column": 362 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 363, 385 ], "loc": { "start": { "line": 1, "column": 363 }, "end": { "line": 1, "column": 385 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 386, 399 ], "loc": { "start": { "line": 1, "column": 386 }, "end": { "line": 1, "column": 399 } } } ], "range": [ 363, 400 ], "loc": { "start": { "line": 1, "column": 363 }, "end": { "line": 1, "column": 400 } } }, "range": [ 349, 400 ], "loc": { "start": { "line": 1, "column": 349 }, "end": { "line": 1, "column": 400 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_three", "range": [ 401, 407 ], "loc": { "start": { "line": 1, "column": 401 }, "end": { "line": 1, "column": 407 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 408, 415 ], "loc": { "start": { "line": 1, "column": 408 }, "end": { "line": 1, "column": 415 } } }, "arguments": [ { "type": "Literal", "value": "three", "raw": "'three'", "range": [ 416, 423 ], "loc": { "start": { "line": 1, "column": 416 }, "end": { "line": 1, "column": 423 } } } ], "range": [ 408, 424 ], "loc": { "start": { "line": 1, "column": 408 }, "end": { "line": 1, "column": 424 } } }, "range": [ 401, 424 ], "loc": { "start": { "line": 1, "column": 401 }, "end": { "line": 1, "column": 424 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "THREE", "range": [ 425, 430 ], "loc": { "start": { "line": 1, "column": 425 }, "end": { "line": 1, "column": 430 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 431, 454 ], "loc": { "start": { "line": 1, "column": 431 }, "end": { "line": 1, "column": 454 } } }, "arguments": [ { "type": "Identifier", "name": "_three", "range": [ 455, 461 ], "loc": { "start": { "line": 1, "column": 455 }, "end": { "line": 1, "column": 461 } } } ], "range": [ 431, 462 ], "loc": { "start": { "line": 1, "column": 431 }, "end": { "line": 1, "column": 462 } } }, "range": [ 425, 462 ], "loc": { "start": { "line": 1, "column": 425 }, "end": { "line": 1, "column": 462 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_uuidV", "range": [ 463, 469 ], "loc": { "start": { "line": 1, "column": 463 }, "end": { "line": 1, "column": 469 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 470, 477 ], "loc": { "start": { "line": 1, "column": 470 }, "end": { "line": 1, "column": 477 } } }, "arguments": [ { "type": "Literal", "value": "uuid-v4", "raw": "'uuid-v4'", "range": [ 478, 487 ], "loc": { "start": { "line": 1, "column": 478 }, "end": { "line": 1, "column": 487 } } } ], "range": [ 470, 488 ], "loc": { "start": { "line": 1, "column": 470 }, "end": { "line": 1, "column": 488 } } }, "range": [ 463, 488 ], "loc": { "start": { "line": 1, "column": 463 }, "end": { "line": 1, "column": 488 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_uuidV2", "range": [ 489, 496 ], "loc": { "start": { "line": 1, "column": 489 }, "end": { "line": 1, "column": 496 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 497, 519 ], "loc": { "start": { "line": 1, "column": 497 }, "end": { "line": 1, "column": 519 } } }, "arguments": [ { "type": "Identifier", "name": "_uuidV", "range": [ 520, 526 ], "loc": { "start": { "line": 1, "column": 520 }, "end": { "line": 1, "column": 526 } } } ], "range": [ 497, 527 ], "loc": { "start": { "line": 1, "column": 497 }, "end": { "line": 1, "column": 527 } } }, "range": [ 489, 527 ], "loc": { "start": { "line": 1, "column": 489 }, "end": { "line": 1, "column": 527 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_error", "range": [ 528, 534 ], "loc": { "start": { "line": 1, "column": 528 }, "end": { "line": 1, "column": 534 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 535, 542 ], "loc": { "start": { "line": 1, "column": 535 }, "end": { "line": 1, "column": 542 } } }, "arguments": [ { "type": "Literal", "value": "../core/error", "raw": "'../core/error'", "range": [ 543, 558 ], "loc": { "start": { "line": 1, "column": 543 }, "end": { "line": 1, "column": 558 } } } ], "range": [ 535, 559 ], "loc": { "start": { "line": 1, "column": 535 }, "end": { "line": 1, "column": 559 } } }, "range": [ 528, 559 ], "loc": { "start": { "line": 1, "column": 528 }, "end": { "line": 1, "column": 559 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "Error", "range": [ 560, 565 ], "loc": { "start": { "line": 1, "column": 560 }, "end": { "line": 1, "column": 565 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 566, 589 ], "loc": { "start": { "line": 1, "column": 566 }, "end": { "line": 1, "column": 589 } } }, "arguments": [ { "type": "Identifier", "name": "_error", "range": [ 590, 596 ], "loc": { "start": { "line": 1, "column": 590 }, "end": { "line": 1, "column": 596 } } } ], "range": [ 566, 597 ], "loc": { "start": { "line": 1, "column": 566 }, "end": { "line": 1, "column": 597 } } }, "range": [ 560, 597 ], "loc": { "start": { "line": 1, "column": 560 }, "end": { "line": 1, "column": 597 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helpers", "range": [ 598, 606 ], "loc": { "start": { "line": 1, "column": 598 }, "end": { "line": 1, "column": 606 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 607, 614 ], "loc": { "start": { "line": 1, "column": 607 }, "end": { "line": 1, "column": 614 } } }, "arguments": [ { "type": "Literal", "value": "../core/helpers", "raw": "'../core/helpers'", "range": [ 615, 632 ], "loc": { "start": { "line": 1, "column": 615 }, "end": { "line": 1, "column": 632 } } } ], "range": [ 607, 633 ], "loc": { "start": { "line": 1, "column": 607 }, "end": { "line": 1, "column": 633 } } }, "range": [ 598, 633 ], "loc": { "start": { "line": 1, "column": 598 }, "end": { "line": 1, "column": 633 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_canvas", "range": [ 634, 641 ], "loc": { "start": { "line": 1, "column": 634 }, "end": { "line": 1, "column": 641 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 642, 649 ], "loc": { "start": { "line": 1, "column": 642 }, "end": { "line": 1, "column": 649 } } }, "arguments": [ { "type": "Literal", "value": "../core/canvas", "raw": "'../core/canvas'", "range": [ 650, 666 ], "loc": { "start": { "line": 1, "column": 650 }, "end": { "line": 1, "column": 666 } } } ], "range": [ 642, 667 ], "loc": { "start": { "line": 1, "column": 642 }, "end": { "line": 1, "column": 667 } } }, "range": [ 634, 667 ], "loc": { "start": { "line": 1, "column": 634 }, "end": { "line": 1, "column": 667 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_dom", "range": [ 668, 672 ], "loc": { "start": { "line": 1, "column": 668 }, "end": { "line": 1, "column": 672 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 673, 680 ], "loc": { "start": { "line": 1, "column": 673 }, "end": { "line": 1, "column": 680 } } }, "arguments": [ { "type": "Literal", "value": "../core/dom", "raw": "'../core/dom'", "range": [ 681, 694 ], "loc": { "start": { "line": 1, "column": 681 }, "end": { "line": 1, "column": 694 } } } ], "range": [ 673, 695 ], "loc": { "start": { "line": 1, "column": 673 }, "end": { "line": 1, "column": 695 } } }, "range": [ 668, 695 ], "loc": { "start": { "line": 1, "column": 668 }, "end": { "line": 1, "column": 695 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_dom2", "range": [ 696, 701 ], "loc": { "start": { "line": 1, "column": 696 }, "end": { "line": 1, "column": 701 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 702, 724 ], "loc": { "start": { "line": 1, "column": 702 }, "end": { "line": 1, "column": 724 } } }, "arguments": [ { "type": "Identifier", "name": "_dom", "range": [ 725, 729 ], "loc": { "start": { "line": 1, "column": 725 }, "end": { "line": 1, "column": 729 } } } ], "range": [ 702, 730 ], "loc": { "start": { "line": 1, "column": 702 }, "end": { "line": 1, "column": 730 } } }, "range": [ 696, 730 ], "loc": { "start": { "line": 1, "column": 696 }, "end": { "line": 1, "column": 730 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_interaction", "range": [ 731, 743 ], "loc": { "start": { "line": 1, "column": 731 }, "end": { "line": 1, "column": 743 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 744, 751 ], "loc": { "start": { "line": 1, "column": 744 }, "end": { "line": 1, "column": 751 } } }, "arguments": [ { "type": "Literal", "value": "../core/interaction", "raw": "'../core/interaction'", "range": [ 752, 773 ], "loc": { "start": { "line": 1, "column": 752 }, "end": { "line": 1, "column": 773 } } } ], "range": [ 744, 774 ], "loc": { "start": { "line": 1, "column": 744 }, "end": { "line": 1, "column": 774 } } }, "range": [ 731, 774 ], "loc": { "start": { "line": 1, "column": 731 }, "end": { "line": 1, "column": 774 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_interaction2", "range": [ 775, 788 ], "loc": { "start": { "line": 1, "column": 775 }, "end": { "line": 1, "column": 788 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 789, 811 ], "loc": { "start": { "line": 1, "column": 789 }, "end": { "line": 1, "column": 811 } } }, "arguments": [ { "type": "Identifier", "name": "_interaction", "range": [ 812, 824 ], "loc": { "start": { "line": 1, "column": 812 }, "end": { "line": 1, "column": 824 } } } ], "range": [ 789, 825 ], "loc": { "start": { "line": 1, "column": 789 }, "end": { "line": 1, "column": 825 } } }, "range": [ 775, 825 ], "loc": { "start": { "line": 1, "column": 775 }, "end": { "line": 1, "column": 825 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_stats", "range": [ 826, 832 ], "loc": { "start": { "line": 1, "column": 826 }, "end": { "line": 1, "column": 832 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 833, 840 ], "loc": { "start": { "line": 1, "column": 833 }, "end": { "line": 1, "column": 840 } } }, "arguments": [ { "type": "Literal", "value": "../misc/stats", "raw": "'../misc/stats'", "range": [ 841, 856 ], "loc": { "start": { "line": 1, "column": 841 }, "end": { "line": 1, "column": 856 } } } ], "range": [ 833, 857 ], "loc": { "start": { "line": 1, "column": 833 }, "end": { "line": 1, "column": 857 } } }, "range": [ 826, 857 ], "loc": { "start": { "line": 1, "column": 826 }, "end": { "line": 1, "column": 857 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_stats2", "range": [ 858, 865 ], "loc": { "start": { "line": 1, "column": 858 }, "end": { "line": 1, "column": 865 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 866, 888 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 888 } } }, "arguments": [ { "type": "Identifier", "name": "_stats", "range": [ 889, 895 ], "loc": { "start": { "line": 1, "column": 889 }, "end": { "line": 1, "column": 895 } } } ], "range": [ 866, 896 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 896 } } }, "range": [ 858, 896 ], "loc": { "start": { "line": 1, "column": 858 }, "end": { "line": 1, "column": 896 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_orbit", "range": [ 897, 903 ], "loc": { "start": { "line": 1, "column": 897 }, "end": { "line": 1, "column": 903 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 904, 911 ], "loc": { "start": { "line": 1, "column": 904 }, "end": { "line": 1, "column": 911 } } }, "arguments": [ { "type": "Literal", "value": "../controls/orbit", "raw": "'../controls/orbit'", "range": [ 912, 931 ], "loc": { "start": { "line": 1, "column": 912 }, "end": { "line": 1, "column": 931 } } } ], "range": [ 904, 932 ], "loc": { "start": { "line": 1, "column": 904 }, "end": { "line": 1, "column": 932 } } }, "range": [ 897, 932 ], "loc": { "start": { "line": 1, "column": 897 },