awv3
Version:
⚡ AWV3 embedded CAD
1,356 lines (1,355 loc) • 275 kB
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": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
68,
75
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 75
}
}
},
"property": {
"type": "Identifier",
"name": "easing",
"range": [
76,
82
],
"loc": {
"start": {
"line": 1,
"column": 76
},
"end": {
"line": 1,
"column": 82
}
}
},
"range": [
68,
82
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 82
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
83,
90
],
"loc": {
"start": {
"line": 1,
"column": 83
},
"end": {
"line": 1,
"column": 90
}
}
},
"property": {
"type": "Identifier",
"name": "Tween",
"range": [
91,
96
],
"loc": {
"start": {
"line": 1,
"column": 91
},
"end": {
"line": 1,
"column": 96
}
}
},
"range": [
83,
96
],
"loc": {
"start": {
"line": 1,
"column": 83
},
"end": {
"line": 1,
"column": 96
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
97,
104
],
"loc": {
"start": {
"line": 1,
"column": 97
},
"end": {
"line": 1,
"column": 104
}
}
},
"property": {
"type": "Identifier",
"name": "Rest",
"range": [
105,
109
],
"loc": {
"start": {
"line": 1,
"column": 105
},
"end": {
"line": 1,
"column": 109
}
}
},
"range": [
97,
109
],
"loc": {
"start": {
"line": 1,
"column": 97
},
"end": {
"line": 1,
"column": 109
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
110,
117
],
"loc": {
"start": {
"line": 1,
"column": 110
},
"end": {
"line": 1,
"column": 117
}
}
},
"property": {
"type": "Identifier",
"name": "SocketIO",
"range": [
118,
126
],
"loc": {
"start": {
"line": 1,
"column": 118
},
"end": {
"line": 1,
"column": 126
}
}
},
"range": [
110,
126
],
"loc": {
"start": {
"line": 1,
"column": 110
},
"end": {
"line": 1,
"column": 126
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
127,
134
],
"loc": {
"start": {
"line": 1,
"column": 127
},
"end": {
"line": 1,
"column": 134
}
}
},
"property": {
"type": "Identifier",
"name": "Orbit",
"range": [
135,
140
],
"loc": {
"start": {
"line": 1,
"column": 135
},
"end": {
"line": 1,
"column": 140
}
}
},
"range": [
127,
140
],
"loc": {
"start": {
"line": 1,
"column": 127
},
"end": {
"line": 1,
"column": 140
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
141,
148
],
"loc": {
"start": {
"line": 1,
"column": 141
},
"end": {
"line": 1,
"column": 148
}
}
},
"property": {
"type": "Identifier",
"name": "Presentation",
"range": [
149,
161
],
"loc": {
"start": {
"line": 1,
"column": 149
},
"end": {
"line": 1,
"column": 161
}
}
},
"range": [
141,
161
],
"loc": {
"start": {
"line": 1,
"column": 141
},
"end": {
"line": 1,
"column": 161
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
162,
169
],
"loc": {
"start": {
"line": 1,
"column": 162
},
"end": {
"line": 1,
"column": 169
}
}
},
"property": {
"type": "Identifier",
"name": "MeshPhongMaterial",
"range": [
170,
187
],
"loc": {
"start": {
"line": 1,
"column": 170
},
"end": {
"line": 1,
"column": 187
}
}
},
"range": [
162,
187
],
"loc": {
"start": {
"line": 1,
"column": 162
},
"end": {
"line": 1,
"column": 187
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
188,
195
],
"loc": {
"start": {
"line": 1,
"column": 188
},
"end": {
"line": 1,
"column": 195
}
}
},
"property": {
"type": "Identifier",
"name": "Perspective",
"range": [
196,
207
],
"loc": {
"start": {
"line": 1,
"column": 196
},
"end": {
"line": 1,
"column": 207
}
}
},
"range": [
188,
207
],
"loc": {
"start": {
"line": 1,
"column": 188
},
"end": {
"line": 1,
"column": 207
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
208,
215
],
"loc": {
"start": {
"line": 1,
"column": 208
},
"end": {
"line": 1,
"column": 215
}
}
},
"property": {
"type": "Identifier",
"name": "Raycaster",
"range": [
216,
225
],
"loc": {
"start": {
"line": 1,
"column": 216
},
"end": {
"line": 1,
"column": 225
}
}
},
"range": [
208,
225
],
"loc": {
"start": {
"line": 1,
"column": 208
},
"end": {
"line": 1,
"column": 225
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
226,
233
],
"loc": {
"start": {
"line": 1,
"column": 226
},
"end": {
"line": 1,
"column": 233
}
}
},
"property": {
"type": "Identifier",
"name": "Object3",
"range": [
234,
241
],
"loc": {
"start": {
"line": 1,
"column": 234
},
"end": {
"line": 1,
"column": 241
}
}
},
"range": [
226,
241
],
"loc": {
"start": {
"line": 1,
"column": 226
},
"end": {
"line": 1,
"column": 241
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
242,
249
],
"loc": {
"start": {
"line": 1,
"column": 242
},
"end": {
"line": 1,
"column": 249
}
}
},
"property": {
"type": "Identifier",
"name": "helpers",
"range": [
250,
257
],
"loc": {
"start": {
"line": 1,
"column": 250
},
"end": {
"line": 1,
"column": 257
}
}
},
"range": [
242,
257
],
"loc": {
"start": {
"line": 1,
"column": 242
},
"end": {
"line": 1,
"column": 257
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
258,
265
],
"loc": {
"start": {
"line": 1,
"column": 258
},
"end": {
"line": 1,
"column": 265
}
}
},
"property": {
"type": "Identifier",
"name": "error",
"range": [
266,
271
],
"loc": {
"start": {
"line": 1,
"column": 266
},
"end": {
"line": 1,
"column": 271
}
}
},
"range": [
258,
271
],
"loc": {
"start": {
"line": 1,
"column": 258
},
"end": {
"line": 1,
"column": 271
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
272,
279
],
"loc": {
"start": {
"line": 1,
"column": 272
},
"end": {
"line": 1,
"column": 279
}
}
},
"property": {
"type": "Identifier",
"name": "Events",
"range": [
280,
286
],
"loc": {
"start": {
"line": 1,
"column": 280
},
"end": {
"line": 1,
"column": 286
}
}
},
"range": [
272,
286
],
"loc": {
"start": {
"line": 1,
"column": 272
},
"end": {
"line": 1,
"column": 286
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
287,
294
],
"loc": {
"start": {
"line": 1,
"column": 287
},
"end": {
"line": 1,
"column": 294
}
}
},
"property": {
"type": "Identifier",
"name": "Dom",
"range": [
295,
298
],
"loc": {
"start": {
"line": 1,
"column": 295
},
"end": {
"line": 1,
"column": 298
}
}
},
"range": [
287,
298
],
"loc": {
"start": {
"line": 1,
"column": 287
},
"end": {
"line": 1,
"column": 298
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
299,
306
],
"loc": {
"start": {
"line": 1,
"column": 299
},
"end": {
"line": 1,
"column": 306
}
}
},
"property": {
"type": "Identifier",
"name": "Interaction",
"range": [
307,
318
],
"loc": {
"start": {
"line": 1,
"column": 307
},
"end": {
"line": 1,
"column": 318
}
}
},
"range": [
299,
318
],
"loc": {
"start": {
"line": 1,
"column": 299
},
"end": {
"line": 1,
"column": 318
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
319,
326
],
"loc": {
"start": {
"line": 1,
"column": 319
},
"end": {
"line": 1,
"column": 326
}
}
},
"property": {
"type": "Identifier",
"name": "Renderer",
"range": [
327,
335
],
"loc": {
"start": {
"line": 1,
"column": 327
},
"end": {
"line": 1,
"column": 335
}
}
},
"range": [
319,
335
],
"loc": {
"start": {
"line": 1,
"column": 319
},
"end": {
"line": 1,
"column": 335
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
336,
343
],
"loc": {
"start": {
"line": 1,
"column": 336
},
"end": {
"line": 1,
"column": 343
}
}
},
"property": {
"type": "Identifier",
"name": "Parser",
"range": [
344,
350
],
"loc": {
"start": {
"line": 1,
"column": 344
},
"end": {
"line": 1,
"column": 350
}
}
},
"range": [
336,
350
],
"loc": {
"start": {
"line": 1,
"column": 336
},
"end": {
"line": 1,
"column": 350
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
351,
358
],
"loc": {
"start": {
"line": 1,
"column": 351
},
"end": {
"line": 1,
"column": 358
}
}
},
"property": {
"type": "Identifier",
"name": "View",
"range": [
359,
363
],
"loc": {
"start": {
"line": 1,
"column": 359
},
"end": {
"line": 1,
"column": 363
}
}
},
"range": [
351,
363
],
"loc": {
"start": {
"line": 1,
"column": 351
},
"end": {
"line": 1,
"column": 363
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
364,
371
],
"loc": {
"start": {
"line": 1,
"column": 364
},
"end": {
"line": 1,
"column": 371
}
}
},
"property": {
"type": "Identifier",
"name": "Canvas",
"range": [
372,
378
],
"loc": {
"start": {
"line": 1,
"column": 372
},
"end": {
"line": 1,
"column": 378
}
}
},
"range": [
364,
378
],
"loc": {
"start": {
"line": 1,
"column": 364
},
"end": {
"line": 1,
"column": 378
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",