awv3
Version:
⚡ AWV3 embedded CAD
2,098 lines (2,097 loc) • 1.27 MB
JSON
{
"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": "_getIterator2",
"range": [
72,
85
],
"loc": {
"start": {
"line": 1,
"column": 72
},
"end": {
"line": 1,
"column": 85
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
86,
93
],
"loc": {
"start": {
"line": 1,
"column": 86
},
"end": {
"line": 1,
"column": 93
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/core-js/get-iterator",
"raw": "'babel-runtime/core-js/get-iterator'",
"range": [
94,
130
],
"loc": {
"start": {
"line": 1,
"column": 94
},
"end": {
"line": 1,
"column": 130
}
}
}
],
"range": [
86,
131
],
"loc": {
"start": {
"line": 1,
"column": 86
},
"end": {
"line": 1,
"column": 131
}
}
},
"range": [
72,
131
],
"loc": {
"start": {
"line": 1,
"column": 72
},
"end": {
"line": 1,
"column": 131
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_getIterator3",
"range": [
132,
145
],
"loc": {
"start": {
"line": 1,
"column": 132
},
"end": {
"line": 1,
"column": 145
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
146,
168
],
"loc": {
"start": {
"line": 1,
"column": 146
},
"end": {
"line": 1,
"column": 168
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_getIterator2",
"range": [
169,
182
],
"loc": {
"start": {
"line": 1,
"column": 169
},
"end": {
"line": 1,
"column": 182
}
}
}
],
"range": [
146,
183
],
"loc": {
"start": {
"line": 1,
"column": 146
},
"end": {
"line": 1,
"column": 183
}
}
},
"range": [
132,
183
],
"loc": {
"start": {
"line": 1,
"column": 132
},
"end": {
"line": 1,
"column": 183
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends2",
"range": [
184,
193
],
"loc": {
"start": {
"line": 1,
"column": 184
},
"end": {
"line": 1,
"column": 193
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
194,
201
],
"loc": {
"start": {
"line": 1,
"column": 194
},
"end": {
"line": 1,
"column": 201
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/extends",
"raw": "'babel-runtime/helpers/extends'",
"range": [
202,
233
],
"loc": {
"start": {
"line": 1,
"column": 202
},
"end": {
"line": 1,
"column": 233
}
}
}
],
"range": [
194,
234
],
"loc": {
"start": {
"line": 1,
"column": 194
},
"end": {
"line": 1,
"column": 234
}
}
},
"range": [
184,
234
],
"loc": {
"start": {
"line": 1,
"column": 184
},
"end": {
"line": 1,
"column": 234
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends3",
"range": [
235,
244
],
"loc": {
"start": {
"line": 1,
"column": 235
},
"end": {
"line": 1,
"column": 244
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
245,
267
],
"loc": {
"start": {
"line": 1,
"column": 245
},
"end": {
"line": 1,
"column": 267
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_extends2",
"range": [
268,
277
],
"loc": {
"start": {
"line": 1,
"column": 268
},
"end": {
"line": 1,
"column": 277
}
}
}
],
"range": [
245,
278
],
"loc": {
"start": {
"line": 1,
"column": 245
},
"end": {
"line": 1,
"column": 278
}
}
},
"range": [
235,
278
],
"loc": {
"start": {
"line": 1,
"column": 235
},
"end": {
"line": 1,
"column": 278
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_classCallCheck2",
"range": [
279,
295
],
"loc": {
"start": {
"line": 1,
"column": 279
},
"end": {
"line": 1,
"column": 295
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
296,
303
],
"loc": {
"start": {
"line": 1,
"column": 296
},
"end": {
"line": 1,
"column": 303
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/classCallCheck",
"raw": "'babel-runtime/helpers/classCallCheck'",
"range": [
304,
342
],
"loc": {
"start": {
"line": 1,
"column": 304
},
"end": {
"line": 1,
"column": 342
}
}
}
],
"range": [
296,
343
],
"loc": {
"start": {
"line": 1,
"column": 296
},
"end": {
"line": 1,
"column": 343
}
}
},
"range": [
279,
343
],
"loc": {
"start": {
"line": 1,
"column": 279
},
"end": {
"line": 1,
"column": 343
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_classCallCheck3",
"range": [
344,
360
],
"loc": {
"start": {
"line": 1,
"column": 344
},
"end": {
"line": 1,
"column": 360
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
361,
383
],
"loc": {
"start": {
"line": 1,
"column": 361
},
"end": {
"line": 1,
"column": 383
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_classCallCheck2",
"range": [
384,
400
],
"loc": {
"start": {
"line": 1,
"column": 384
},
"end": {
"line": 1,
"column": 400
}
}
}
],
"range": [
361,
401
],
"loc": {
"start": {
"line": 1,
"column": 361
},
"end": {
"line": 1,
"column": 401
}
}
},
"range": [
344,
401
],
"loc": {
"start": {
"line": 1,
"column": 344
},
"end": {
"line": 1,
"column": 401
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_createClass2",
"range": [
402,
415
],
"loc": {
"start": {
"line": 1,
"column": 402
},
"end": {
"line": 1,
"column": 415
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
416,
423
],
"loc": {
"start": {
"line": 1,
"column": 416
},
"end": {
"line": 1,
"column": 423
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/createClass",
"raw": "'babel-runtime/helpers/createClass'",
"range": [
424,
459
],
"loc": {
"start": {
"line": 1,
"column": 424
},
"end": {
"line": 1,
"column": 459
}
}
}
],
"range": [
416,
460
],
"loc": {
"start": {
"line": 1,
"column": 416
},
"end": {
"line": 1,
"column": 460
}
}
},
"range": [
402,
460
],
"loc": {
"start": {
"line": 1,
"column": 402
},
"end": {
"line": 1,
"column": 460
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_createClass3",
"range": [
461,
474
],
"loc": {
"start": {
"line": 1,
"column": 461
},
"end": {
"line": 1,
"column": 474
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
475,
497
],
"loc": {
"start": {
"line": 1,
"column": 475
},
"end": {
"line": 1,
"column": 497
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_createClass2",
"range": [
498,
511
],
"loc": {
"start": {
"line": 1,
"column": 498
},
"end": {
"line": 1,
"column": 511
}
}
}
],
"range": [
475,
512
],
"loc": {
"start": {
"line": 1,
"column": 475
},
"end": {
"line": 1,
"column": 512
}
}
},
"range": [
461,
512
],
"loc": {
"start": {
"line": 1,
"column": 461
},
"end": {
"line": 1,
"column": 512
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_three",
"range": [
513,
519
],
"loc": {
"start": {
"line": 1,
"column": 513
},
"end": {
"line": 1,
"column": 519
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
520,
527
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 527
}
}
},
"arguments": [
{
"type": "Literal",
"value": "three",
"raw": "'three'",
"range": [
528,
535
],
"loc": {
"start": {
"line": 1,
"column": 528
},
"end": {
"line": 1,
"column": 535
}
}
}
],
"range": [
520,
536
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 536
}
}
},
"range": [
513,
536
],
"loc": {
"start": {
"line": 1,
"column": 513
},
"end": {
"line": 1,
"column": 536
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "THREE",
"range": [
537,
542
],
"loc": {
"start": {
"line": 1,
"column": 537
},
"end": {
"line": 1,
"column": 542
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireWildcard",
"range": [
543,
566
],
"loc": {
"start": {
"line": 1,
"column": 543
},
"end": {
"line": 1,
"column": 566
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_three",
"range": [
567,
573
],
"loc": {
"start": {
"line": 1,
"column": 567
},
"end": {
"line": 1,
"column": 573
}
}
}
],
"range": [
543,
574
],
"loc": {
"start": {
"line": 1,
"column": 543
},
"end": {
"line": 1,
"column": 574
}
}
},
"range": [
537,
574
],
"loc": {
"start": {
"line": 1,
"column": 537
},
"end": {
"line": 1,
"column": 574
}
}
}
],
"kind": "var",
"range": [
68,
575
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 575
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
575,
582
],
"loc": {
"start": {
"line": 1,
"column": 575
},
"end": {
"line": 1,
"column": 582
}
}
},
"arguments": [
{
"type": "Literal",
"value": "perfnow",
"raw": "'perfnow'",
"range": [
583,
592
],
"loc": {
"start": {
"line": 1,
"column": 583
},
"end": {
"line": 1,
"column": 592
}
}
}
],
"range": [
575,
593
],
"loc": {
"start": {
"line": 1,
"column": 575
},
"end": {
"line": 1,
"column": 593
}
}
},
"range": [
575,
594
],
"loc": {
"start": {
"line": 1,
"column": 575
},
"end": {
"line": 1,
"column": 594
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"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": "Helpers",
"range": [
634,
641
],
"loc": {
"start": {
"line": 1,
"column": 634
},
"end": {
"line": 1,
"column": 641
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireWildcard",
"range": [
642,
665
],
"loc": {
"start": {
"line": 1,
"column": 642
},
"end": {
"line": 1,
"column": 665
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_helpers",
"range": [
666,
674
],
"loc": {
"start": {
"line": 1,
"column": 666
},
"end": {
"line": 1,
"column": 674
}
}
}
],
"range": [
642,
675
],
"loc": {
"start": {
"line": 1,
"column": 642
},
"end": {
"line": 1,
"column": 675
}
}
},
"range": [
634,
675
],
"loc": {
"start": {
"line": 1,
"column": 634
},
"end": {
"line": 1,
"column": 675
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_tween",
"range": [
676,
682
],
"loc": {
"start": {
"line": 1,
"column": 676
},
"end": {
"line": 1,
"column": 682
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
683,
690
],
"loc": {
"start": {
"line": 1,
"column": 683
},
"end": {
"line": 1,
"column": 690
}
}
},
"arguments": [
{
"type": "Literal",
"value": "../animation/tween",
"raw": "'../animation/tween'",
"range": [
691,
711
],
"loc": {
"start": {
"line": 1,
"column": 691
},
"end": {
"line": 1,
"column": 711
}
}
}
],
"range": [
683,
712
],
"loc": {
"start": {
"line": 1,
"column": 683
},
"end": {
"line": 1,
"column": 712
}
}
},
"range": [
676,
712
],
"loc": {
"start": {
"line": 1,
"column": 676
},
"end": {
"line": 1,
"column": 712
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_tween2",
"range": [
713,
720
],
"loc": {
"start": {
"line": 1,
"column": 713
},
"end": {
"line": 1,
"column": 720
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
721,
743
],
"loc": {
"start": {
"line": 1,
"column": 721
},
"end": {
"line": 1,
"column": 743
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_tween",
"range": [
744,
750
],
"loc": {
"start": {
"line": 1,
"column": 744
},
"end": {
"line": 1,
"column": 750
}
}
}
],
"range": [
721,
751
],
"loc": {
"start": {
"line": 1,
"column": 721
},
"end": {
"line": 1,
"column": 751
}
}
},
"range": [
713,
751
],
"loc": {
"start": {
"line": 1,
"column": 713
},
"end": {
"line": 1,
"column": 751
}
}
}
],
"kind": "var",
"range": [
594,
752
],
"loc": {
"start": {
"line": 1,
"column": 594
},
"end": {
"line": 1,
"column": 752
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireWildcard",
"range": [
761,
784
],
"loc": {
"start": {
"line": 1,
"column": 761
},
"end": {
"line": 1,
"column": 784
}
}
},
"params": [
{
"type": "Identifier",
"name": "obj",
"range": [
785,
788
],
"loc": {
"start": {
"line": 1,
"column": 785
},
"end": {
"line": 1,
"column": 788
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "IfStatement",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "Identifier",
"name": "obj",
"range": [
793,
796
],
"loc": {
"start": {
"line": 1,
"column": 793
},
"end": {
"line": 1,
"column": 796
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "obj",
"range": [
798,
801
],
"loc": {
"start": {
"line": 1,
"column": 798
},
"end": {
"line": 1,
"column": 801
}
}
},
"property": {
"type": "Identifier",
"name": "__esModule",
"range": [
802,
812
],
"loc": {
"start": {
"line": 1,
"column": 802
},
"end": {
"line": 1,
"column": 812
}
}
},
"range": [
798,
812
],
"loc": {
"start": {
"line": 1,
"column": 798
},
"end": {
"line": 1,
"column": 812
}
}
},
"range": [
793,
812
],
"loc": {
"start": {
"line": 1,
"column": 793
},
"end": {
"line": 1,
"column": 812
}
}
},
"consequent": {
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "obj",
"range": [
820,
823
],
"loc": {
"start": {
"line": 1,
"column": 820
},
"end": {
"line": 1,
"column": 823
}
}
},
"range": [
813,
824
],
"loc": {
"start": {
"line": 1,
"column": 813
},
"end": {
"line": 1,
"column": 824
}
}
},
"alternate": null,
"range": [
790,
824
],
"loc": {
"start": {
"line": 1,
"column": 790
},
"end": {
"line": 1,
"column": 824
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "newObj",
"range": [
828,
834
],
"loc": {
"start": {
"line": 1,
"column": 828
},
"end": {
"line": 1,
"column": 834
}
}
},
"init": {
"type": "ObjectExpression",
"properties": [],
"range": [
835,
837
],
"loc": {
"start": {
"line": 1,
"column": 835
},
"end": {
"line": 1,
"column": 837
}
}
},
"range": [
828,
837
],
"loc": {
"start": {
"line": 1,
"column": 828
},
"end": {
"line": 1,
"column": 837
}
}
}
],
"kind": "var",
"range": [
824,
838
],
"loc": {
"start": {
"line": 1,
"column": 824
},
"end": {
"line": 1,
"column": 838
}
}
},
{
"type": "IfStatement",
"test": {
"type": "BinaryExpression",
"operator": "!=",
"left": {
"type": "Literal",
"value": null,
"raw": "null",
"range": [
841,
845
],
"loc": {
"start": {
"line": 1,
"column": 841
},
"end": {
"line": 1,
"column": 845
}
}
},
"right": {
"type": "Identifier",
"name": "obj",
"range": [
847,
850
],
"loc": {
"start": {
"line": 1,
"column": 847
},
"end": {
"line": 1,
"column": 850
}
}
},
"range": [
841,
850
],
"loc": {
"start": {
"line": 1,
"column": 841
},
"end": {
"line": 1,
"column": 850
}
}
},
"consequent": {
"type": "ForInStatement",
"left": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "key",
"range": [
859,
862
],
"loc": {
"start": {
"line": 1,
"column": 859
},
"end": {
"line": 1,
"column": 862
}
}
},
"init": null,
"range": [
859,
862
],
"loc": {
"start": {
"line": 1,
"column": 859
},
"end": {
"line": 1,
"column": 862
}
}
}
],
"kind": "var",
"range": [
855,
862
],
"loc": {
"start": {
"line": 1,
"column": 855
},
"end": {
"line": 1,
"column": 862
}
}
},
"right": {
"type": "Identifier",
"name": "obj",
"range": [
866,
869
],
"loc": {
"start": {
"line": 1,
"column": 866
},
"end": {
"line": 1,
"column": 869
}
}
},
"body": {
"type": "ExpressionStatement",
"expression": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Object",
"range": [
870,
876
],
"loc": {
"start": {
"line": 1,
"column": 870
},
"end": {
"line": 1,
"column": 876
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
877,
886
],
"loc": {
"start": {
"line": 1,
"column": 877
},
"end": {
"line": 1,
"column": 886
}
}
},
"range": [
870,
886
],
"loc": {
"start": {
"line": 1,
"column": 870
},
"end": {
"line": 1,