awv3
Version:
⚡ AWV3 embedded CAD
1,837 lines • 41.8 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": "Raycaster",
"range": [
76,
85
],
"loc": {
"start": {
"line": 1,
"column": 76
},
"end": {
"line": 1,
"column": 85
}
}
},
"range": [
68,
85
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 85
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
86,
93
],
"loc": {
"start": {
"line": 1,
"column": 86
},
"end": {
"line": 1,
"column": 93
}
}
},
"property": {
"type": "Identifier",
"name": "Perspective",
"range": [
94,
105
],
"loc": {
"start": {
"line": 1,
"column": 94
},
"end": {
"line": 1,
"column": 105
}
}
},
"range": [
86,
105
],
"loc": {
"start": {
"line": 1,
"column": 86
},
"end": {
"line": 1,
"column": 105
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
106,
113
],
"loc": {
"start": {
"line": 1,
"column": 106
},
"end": {
"line": 1,
"column": 113
}
}
},
"property": {
"type": "Identifier",
"name": "Object3",
"range": [
114,
121
],
"loc": {
"start": {
"line": 1,
"column": 114
},
"end": {
"line": 1,
"column": 121
}
}
},
"range": [
106,
121
],
"loc": {
"start": {
"line": 1,
"column": 106
},
"end": {
"line": 1,
"column": 121
}
}
},
"right": {
"type": "UnaryExpression",
"operator": "void",
"argument": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
127,
128
],
"loc": {
"start": {
"line": 1,
"column": 127
},
"end": {
"line": 1,
"column": 128
}
}
},
"prefix": true,
"range": [
122,
128
],
"loc": {
"start": {
"line": 1,
"column": 122
},
"end": {
"line": 1,
"column": 128
}
}
},
"range": [
106,
128
],
"loc": {
"start": {
"line": 1,
"column": 106
},
"end": {
"line": 1,
"column": 128
}
}
},
"range": [
86,
128
],
"loc": {
"start": {
"line": 1,
"column": 86
},
"end": {
"line": 1,
"column": 128
}
}
},
"range": [
68,
128
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 128
}
}
},
"range": [
68,
129
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 129
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_object",
"range": [
133,
140
],
"loc": {
"start": {
"line": 1,
"column": 133
},
"end": {
"line": 1,
"column": 140
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
141,
148
],
"loc": {
"start": {
"line": 1,
"column": 141
},
"end": {
"line": 1,
"column": 148
}
}
},
"arguments": [
{
"type": "Literal",
"value": "../three/object3",
"raw": "'../three/object3'",
"range": [
149,
167
],
"loc": {
"start": {
"line": 1,
"column": 149
},
"end": {
"line": 1,
"column": 167
}
}
}
],
"range": [
141,
168
],
"loc": {
"start": {
"line": 1,
"column": 141
},
"end": {
"line": 1,
"column": 168
}
}
},
"range": [
133,
168
],
"loc": {
"start": {
"line": 1,
"column": 133
},
"end": {
"line": 1,
"column": 168
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_object2",
"range": [
169,
177
],
"loc": {
"start": {
"line": 1,
"column": 169
},
"end": {
"line": 1,
"column": 177
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
178,
200
],
"loc": {
"start": {
"line": 1,
"column": 178
},
"end": {
"line": 1,
"column": 200
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_object",
"range": [
201,
208
],
"loc": {
"start": {
"line": 1,
"column": 201
},
"end": {
"line": 1,
"column": 208
}
}
}
],
"range": [
178,
209
],
"loc": {
"start": {
"line": 1,
"column": 178
},
"end": {
"line": 1,
"column": 209
}
}
},
"range": [
169,
209
],
"loc": {
"start": {
"line": 1,
"column": 169
},
"end": {
"line": 1,
"column": 209
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_perspective",
"range": [
210,
222
],
"loc": {
"start": {
"line": 1,
"column": 210
},
"end": {
"line": 1,
"column": 222
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
223,
230
],
"loc": {
"start": {
"line": 1,
"column": 223
},
"end": {
"line": 1,
"column": 230
}
}
},
"arguments": [
{
"type": "Literal",
"value": "../three/perspective",
"raw": "'../three/perspective'",
"range": [
231,
253
],
"loc": {
"start": {
"line": 1,
"column": 231
},
"end": {
"line": 1,
"column": 253
}
}
}
],
"range": [
223,
254
],
"loc": {
"start": {
"line": 1,
"column": 223
},
"end": {
"line": 1,
"column": 254
}
}
},
"range": [
210,
254
],
"loc": {
"start": {
"line": 1,
"column": 210
},
"end": {
"line": 1,
"column": 254
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_perspective2",
"range": [
255,
268
],
"loc": {
"start": {
"line": 1,
"column": 255
},
"end": {
"line": 1,
"column": 268
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
269,
291
],
"loc": {
"start": {
"line": 1,
"column": 269
},
"end": {
"line": 1,
"column": 291
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_perspective",
"range": [
292,
304
],
"loc": {
"start": {
"line": 1,
"column": 292
},
"end": {
"line": 1,
"column": 304
}
}
}
],
"range": [
269,
305
],
"loc": {
"start": {
"line": 1,
"column": 269
},
"end": {
"line": 1,
"column": 305
}
}
},
"range": [
255,
305
],
"loc": {
"start": {
"line": 1,
"column": 255
},
"end": {
"line": 1,
"column": 305
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_raycaster",
"range": [
306,
316
],
"loc": {
"start": {
"line": 1,
"column": 306
},
"end": {
"line": 1,
"column": 316
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
317,
324
],
"loc": {
"start": {
"line": 1,
"column": 317
},
"end": {
"line": 1,
"column": 324
}
}
},
"arguments": [
{
"type": "Literal",
"value": "../three/raycaster",
"raw": "'../three/raycaster'",
"range": [
325,
345
],
"loc": {
"start": {
"line": 1,
"column": 325
},
"end": {
"line": 1,
"column": 345
}
}
}
],
"range": [
317,
346
],
"loc": {
"start": {
"line": 1,
"column": 317
},
"end": {
"line": 1,
"column": 346
}
}
},
"range": [
306,
346
],
"loc": {
"start": {
"line": 1,
"column": 306
},
"end": {
"line": 1,
"column": 346
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_raycaster2",
"range": [
347,
358
],
"loc": {
"start": {
"line": 1,
"column": 347
},
"end": {
"line": 1,
"column": 358
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
359,
381
],
"loc": {
"start": {
"line": 1,
"column": 359
},
"end": {
"line": 1,
"column": 381
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_raycaster",
"range": [
382,
392
],
"loc": {
"start": {
"line": 1,
"column": 382
},
"end": {
"line": 1,
"column": 392
}
}
}
],
"range": [
359,
393
],
"loc": {
"start": {
"line": 1,
"column": 359
},
"end": {
"line": 1,
"column": 393
}
}
},
"range": [
347,
393
],
"loc": {
"start": {
"line": 1,
"column": 347
},
"end": {
"line": 1,
"column": 393
}
}
}
],
"kind": "var",
"range": [
129,
394
],
"loc": {
"start": {
"line": 1,
"column": 129
},
"end": {
"line": 1,
"column": 394
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
403,
425
],
"loc": {
"start": {
"line": 1,
"column": 403
},
"end": {
"line": 1,
"column": 425
}
}
},
"params": [
{
"type": "Identifier",
"name": "obj",
"range": [
426,
429
],
"loc": {
"start": {
"line": 1,
"column": 426
},
"end": {
"line": 1,
"column": 429
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "Identifier",
"name": "obj",
"range": [
438,
441
],
"loc": {
"start": {
"line": 1,
"column": 438
},
"end": {
"line": 1,
"column": 441
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "obj",
"range": [
443,
446
],
"loc": {
"start": {
"line": 1,
"column": 443
},
"end": {
"line": 1,
"column": 446
}
}
},
"property": {
"type": "Identifier",
"name": "__esModule",
"range": [
447,
457
],
"loc": {
"start": {
"line": 1,
"column": 447
},
"end": {
"line": 1,
"column": 457
}
}
},
"range": [
443,
457
],
"loc": {
"start": {
"line": 1,
"column": 443
},
"end": {
"line": 1,
"column": 457
}
}
},
"range": [
438,
457
],
"loc": {
"start": {
"line": 1,
"column": 438
},
"end": {
"line": 1,
"column": 457
}
}
},
"consequent": {
"type": "Identifier",
"name": "obj",
"range": [
458,
461
],
"loc": {
"start": {
"line": 1,
"column": 458
},
"end": {
"line": 1,
"column": 461
}
}
},
"alternate": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "default",
"range": [
463,
470
],
"loc": {
"start": {
"line": 1,
"column": 463
},
"end": {
"line": 1,
"column": 470
}
}
},
"value": {
"type": "Identifier",
"name": "obj",
"range": [
471,
474
],
"loc": {
"start": {
"line": 1,
"column": 471
},
"end": {
"line": 1,
"column": 474
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
463,
474
],
"loc": {
"start": {
"line": 1,
"column": 463
},
"end": {
"line": 1,
"column": 474
}
}
}
],
"range": [
462,
475
],
"loc": {
"start": {
"line": 1,
"column": 462
},
"end": {
"line": 1,
"column": 475
}
}
},
"range": [
438,
475
],
"loc": {
"start": {
"line": 1,
"column": 438
},
"end": {
"line": 1,
"column": 475
}
}
},
"range": [
431,
475
],
"loc": {
"start": {
"line": 1,
"column": 431
},
"end": {
"line": 1,
"column": 475
}
}
}
],
"range": [
430,
476
],
"loc": {
"start": {
"line": 1,
"column": 430
},
"end": {
"line": 1,
"column": 476
}
}
},
"generator": false,
"expression": false,
"range": [
394,
476
],
"loc": {
"start": {
"line": 1,
"column": 394
},
"end": {
"line": 1,
"column": 476
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
476,
483
],
"loc": {
"start": {
"line": 1,
"column": 476
},
"end": {
"line": 1,
"column": 483
}
}
},
"property": {
"type": "Identifier",
"name": "Object3",
"range": [
484,
491
],
"loc": {
"start": {
"line": 1,
"column": 484
},
"end": {
"line": 1,
"column": 491
}
}
},
"range": [
476,
491
],
"loc": {
"start": {
"line": 1,
"column": 476
},
"end": {
"line": 1,
"column": 491
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "_object2",
"range": [
492,
500
],
"loc": {
"start": {
"line": 1,
"column": 492
},
"end": {
"line": 1,
"column": 500
}
}
},
"property": {
"type": "Identifier",
"name": "default",
"range": [
501,
508
],
"loc": {
"start": {
"line": 1,
"column": 501
},
"end": {
"line": 1,
"column": 508
}
}
},
"range": [
492,
508
],
"loc": {
"start": {
"line": 1,
"column": 492
},
"end": {
"line": 1,
"column": 508
}
}
},
"range": [
476,
508
],
"loc": {
"start": {
"line": 1,
"column": 476
},
"end": {
"line": 1,
"column": 508
}
}
},
"range": [
476,
509
],
"loc": {
"start": {
"line": 1,
"column": 476
},
"end": {
"line": 1,
"column": 509
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
509,
516
],
"loc": {
"start": {
"line": 1,
"column": 509
},
"end": {
"line": 1,
"column": 516
}
}
},
"property": {
"type": "Identifier",
"name": "Perspective",
"range": [
517,
528
],
"loc": {
"start": {
"line": 1,
"column": 517
},
"end": {
"line": 1,
"column": 528
}
}
},
"range": [
509,
528
],
"loc": {
"start": {
"line": 1,
"column": 509
},
"end": {
"line": 1,
"column": 528
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "_perspective2",
"range": [
529,
542
],
"loc": {
"start": {
"line": 1,
"column": 529
},
"end": {
"line": 1,
"column": 542
}
}
},
"property": {
"type": "Identifier",
"name": "default",
"range": [
543,
550
],
"loc": {
"start": {
"line": 1,
"column": 543
},
"end": {
"line": 1,
"column": 550
}
}
},
"range": [
529,
550
],
"loc": {
"start": {
"line": 1,
"column": 529
},
"end": {
"line": 1,
"column": 550
}
}
},
"range": [
509,
550
],
"loc": {
"start": {
"line": 1,
"column": 509
},
"end": {
"line": 1,
"column": 550
}
}
},
"range": [
509,
551
],
"loc": {
"start": {
"line": 1,
"column": 509
},
"end": {
"line": 1,
"column": 551
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
551,
558
],
"loc": {
"start": {
"line": 1,
"column": 551
},
"end": {
"line": 1,
"column": 558
}
}
},
"property": {
"type": "Identifier",
"name": "Raycaster",
"range": [
559,
568
],
"loc": {
"start": {
"line": 1,
"column": 559
},
"end": {
"line": 1,
"column": 568
}
}
},
"range": [
551,
568
],
"loc": {
"start": {
"line": 1,
"column": 551
},
"end": {
"line": 1,
"column": 568
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "_raycaster2",
"range": [
569,
580
],
"loc": {
"start": {
"line": 1,
"column": 569
},
"end": {
"line": 1,
"column": 580
}
}
},
"property": {
"type": "Identifier",
"name": "default",
"range": [
581,
588
],
"loc": {
"start": {
"line": 1,
"column": 581
},
"end": {
"line": 1,
"column": 588
}
}
},
"range": [
569,
588
],
"loc": {
"start": {
"line": 1,
"column": 569
},
"end": {
"line": 1,
"column": 588
}
}
},
"range": [
551,
588
],
"loc": {
"start": {
"line": 1,
"column": 551
},
"end": {
"line": 1,
"column": 588
}
}
},
"range": [
551,
589
],
"loc": {
"start": {
"line": 1,
"column": 551
},
"end": {
"line": 1,
"column": 589
}
}
}
],
"sourceType": "module",
"range": [
0,
589
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 589
}
},
"comments": []
}