awv3
Version:
⚡ AWV3 embedded CAD
2,058 lines (2,057 loc) • 457 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": "reducer",
"range": [
76,
83
],
"loc": {
"start": {
"line": 1,
"column": 76
},
"end": {
"line": 1,
"column": 83
}
}
},
"range": [
68,
83
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 83
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
84,
91
],
"loc": {
"start": {
"line": 1,
"column": 84
},
"end": {
"line": 1,
"column": 91
}
}
},
"property": {
"type": "Identifier",
"name": "actions",
"range": [
92,
99
],
"loc": {
"start": {
"line": 1,
"column": 92
},
"end": {
"line": 1,
"column": 99
}
}
},
"range": [
84,
99
],
"loc": {
"start": {
"line": 1,
"column": 84
},
"end": {
"line": 1,
"column": 99
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
100,
107
],
"loc": {
"start": {
"line": 1,
"column": 100
},
"end": {
"line": 1,
"column": 107
}
}
},
"property": {
"type": "Identifier",
"name": "types",
"range": [
108,
113
],
"loc": {
"start": {
"line": 1,
"column": 108
},
"end": {
"line": 1,
"column": 113
}
}
},
"range": [
100,
113
],
"loc": {
"start": {
"line": 1,
"column": 100
},
"end": {
"line": 1,
"column": 113
}
}
},
"right": {
"type": "UnaryExpression",
"operator": "void",
"argument": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
119,
120
],
"loc": {
"start": {
"line": 1,
"column": 119
},
"end": {
"line": 1,
"column": 120
}
}
},
"prefix": true,
"range": [
114,
120
],
"loc": {
"start": {
"line": 1,
"column": 114
},
"end": {
"line": 1,
"column": 120
}
}
},
"range": [
100,
120
],
"loc": {
"start": {
"line": 1,
"column": 100
},
"end": {
"line": 1,
"column": 120
}
}
},
"range": [
84,
120
],
"loc": {
"start": {
"line": 1,
"column": 84
},
"end": {
"line": 1,
"column": 120
}
}
},
"range": [
68,
120
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 120
}
}
},
"range": [
68,
121
],
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 121
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_defineProperty2",
"range": [
125,
141
],
"loc": {
"start": {
"line": 1,
"column": 125
},
"end": {
"line": 1,
"column": 141
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
142,
149
],
"loc": {
"start": {
"line": 1,
"column": 142
},
"end": {
"line": 1,
"column": 149
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/defineProperty",
"raw": "'babel-runtime/helpers/defineProperty'",
"range": [
150,
188
],
"loc": {
"start": {
"line": 1,
"column": 150
},
"end": {
"line": 1,
"column": 188
}
}
}
],
"range": [
142,
189
],
"loc": {
"start": {
"line": 1,
"column": 142
},
"end": {
"line": 1,
"column": 189
}
}
},
"range": [
125,
189
],
"loc": {
"start": {
"line": 1,
"column": 125
},
"end": {
"line": 1,
"column": 189
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_defineProperty3",
"range": [
190,
206
],
"loc": {
"start": {
"line": 1,
"column": 190
},
"end": {
"line": 1,
"column": 206
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
207,
229
],
"loc": {
"start": {
"line": 1,
"column": 207
},
"end": {
"line": 1,
"column": 229
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_defineProperty2",
"range": [
230,
246
],
"loc": {
"start": {
"line": 1,
"column": 230
},
"end": {
"line": 1,
"column": 246
}
}
}
],
"range": [
207,
247
],
"loc": {
"start": {
"line": 1,
"column": 207
},
"end": {
"line": 1,
"column": 247
}
}
},
"range": [
190,
247
],
"loc": {
"start": {
"line": 1,
"column": 190
},
"end": {
"line": 1,
"column": 247
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_toConsumableArray2",
"range": [
248,
267
],
"loc": {
"start": {
"line": 1,
"column": 248
},
"end": {
"line": 1,
"column": 267
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
268,
275
],
"loc": {
"start": {
"line": 1,
"column": 268
},
"end": {
"line": 1,
"column": 275
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/toConsumableArray",
"raw": "'babel-runtime/helpers/toConsumableArray'",
"range": [
276,
317
],
"loc": {
"start": {
"line": 1,
"column": 276
},
"end": {
"line": 1,
"column": 317
}
}
}
],
"range": [
268,
318
],
"loc": {
"start": {
"line": 1,
"column": 268
},
"end": {
"line": 1,
"column": 318
}
}
},
"range": [
248,
318
],
"loc": {
"start": {
"line": 1,
"column": 248
},
"end": {
"line": 1,
"column": 318
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_toConsumableArray3",
"range": [
319,
338
],
"loc": {
"start": {
"line": 1,
"column": 319
},
"end": {
"line": 1,
"column": 338
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
339,
361
],
"loc": {
"start": {
"line": 1,
"column": 339
},
"end": {
"line": 1,
"column": 361
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_toConsumableArray2",
"range": [
362,
381
],
"loc": {
"start": {
"line": 1,
"column": 362
},
"end": {
"line": 1,
"column": 381
}
}
}
],
"range": [
339,
382
],
"loc": {
"start": {
"line": 1,
"column": 339
},
"end": {
"line": 1,
"column": 382
}
}
},
"range": [
319,
382
],
"loc": {
"start": {
"line": 1,
"column": 319
},
"end": {
"line": 1,
"column": 382
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends4",
"range": [
383,
392
],
"loc": {
"start": {
"line": 1,
"column": 383
},
"end": {
"line": 1,
"column": 392
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
393,
400
],
"loc": {
"start": {
"line": 1,
"column": 393
},
"end": {
"line": 1,
"column": 400
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/extends",
"raw": "'babel-runtime/helpers/extends'",
"range": [
401,
432
],
"loc": {
"start": {
"line": 1,
"column": 401
},
"end": {
"line": 1,
"column": 432
}
}
}
],
"range": [
393,
433
],
"loc": {
"start": {
"line": 1,
"column": 393
},
"end": {
"line": 1,
"column": 433
}
}
},
"range": [
383,
433
],
"loc": {
"start": {
"line": 1,
"column": 383
},
"end": {
"line": 1,
"column": 433
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends5",
"range": [
434,
443
],
"loc": {
"start": {
"line": 1,
"column": 434
},
"end": {
"line": 1,
"column": 443
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
444,
466
],
"loc": {
"start": {
"line": 1,
"column": 444
},
"end": {
"line": 1,
"column": 466
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_extends4",
"range": [
467,
476
],
"loc": {
"start": {
"line": 1,
"column": 467
},
"end": {
"line": 1,
"column": 476
}
}
}
],
"range": [
444,
477
],
"loc": {
"start": {
"line": 1,
"column": 444
},
"end": {
"line": 1,
"column": 477
}
}
},
"range": [
434,
477
],
"loc": {
"start": {
"line": 1,
"column": 434
},
"end": {
"line": 1,
"column": 477
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_omitBy",
"range": [
478,
485
],
"loc": {
"start": {
"line": 1,
"column": 478
},
"end": {
"line": 1,
"column": 485
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
486,
493
],
"loc": {
"start": {
"line": 1,
"column": 486
},
"end": {
"line": 1,
"column": 493
}
}
},
"arguments": [
{
"type": "Literal",
"value": "lodash/omitBy",
"raw": "'lodash/omitBy'",
"range": [
494,
509
],
"loc": {
"start": {
"line": 1,
"column": 494
},
"end": {
"line": 1,
"column": 509
}
}
}
],
"range": [
486,
510
],
"loc": {
"start": {
"line": 1,
"column": 486
},
"end": {
"line": 1,
"column": 510
}
}
},
"range": [
478,
510
],
"loc": {
"start": {
"line": 1,
"column": 478
},
"end": {
"line": 1,
"column": 510
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_omitBy2",
"range": [
511,
519
],
"loc": {
"start": {
"line": 1,
"column": 511
},
"end": {
"line": 1,
"column": 519
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
520,
542
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 542
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_omitBy",
"range": [
543,
550
],
"loc": {
"start": {
"line": 1,
"column": 543
},
"end": {
"line": 1,
"column": 550
}
}
}
],
"range": [
520,
551
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 551
}
}
},
"range": [
511,
551
],
"loc": {
"start": {
"line": 1,
"column": 511
},
"end": {
"line": 1,
"column": 551
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_isObject",
"range": [
552,
561
],
"loc": {
"start": {
"line": 1,
"column": 552
},
"end": {
"line": 1,
"column": 561
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
562,
569
],
"loc": {
"start": {
"line": 1,
"column": 562
},
"end": {
"line": 1,
"column": 569
}
}
},
"arguments": [
{
"type": "Literal",
"value": "lodash/isObject",
"raw": "'lodash/isObject'",
"range": [
570,
587
],
"loc": {
"start": {
"line": 1,
"column": 570
},
"end": {
"line": 1,
"column": 587
}
}
}
],
"range": [
562,
588
],
"loc": {
"start": {
"line": 1,
"column": 562
},
"end": {
"line": 1,
"column": 588
}
}
},
"range": [
552,
588
],
"loc": {
"start": {
"line": 1,
"column": 552
},
"end": {
"line": 1,
"column": 588
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_isObject2",
"range": [
589,
599
],
"loc": {
"start": {
"line": 1,
"column": 589
},
"end": {
"line": 1,
"column": 599
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
600,
622
],
"loc": {
"start": {
"line": 1,
"column": 600
},
"end": {
"line": 1,
"column": 622
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_isObject",
"range": [
623,
632
],
"loc": {
"start": {
"line": 1,
"column": 623
},
"end": {
"line": 1,
"column": 632
}
}
}
],
"range": [
600,
633
],
"loc": {
"start": {
"line": 1,
"column": 600
},
"end": {
"line": 1,
"column": 633
}
}
},
"range": [
589,
633
],
"loc": {
"start": {
"line": 1,
"column": 589
},
"end": {
"line": 1,
"column": 633
}
}
}
],
"kind": "var",
"range": [
121,
634
],
"loc": {
"start": {
"line": 1,
"column": 121
},
"end": {
"line": 1,
"column": 634
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
643,
665
],
"loc": {
"start": {
"line": 1,
"column": 643
},
"end": {
"line": 1,
"column": 665
}
}
},
"params": [
{
"type": "Identifier",
"name": "obj",
"range": [
666,
669
],
"loc": {
"start": {
"line": 1,
"column": 666
},
"end": {
"line": 1,
"column": 669
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "Identifier",
"name": "obj",
"range": [
678,
681
],
"loc": {
"start": {
"line": 1,
"column": 678
},
"end": {
"line": 1,
"column": 681
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "obj",
"range": [
683,
686
],
"loc": {
"start": {
"line": 1,
"column": 683
},
"end": {
"line": 1,
"column": 686
}
}
},
"property": {
"type": "Identifier",
"name": "__esModule",
"range": [
687,
697
],
"loc": {
"start": {
"line": 1,
"column": 687
},
"end": {
"line": 1,
"column": 697
}
}
},
"range": [
683,
697
],
"loc": {
"start": {
"line": 1,
"column": 683
},
"end": {
"line": 1,
"column": 697
}
}
},
"range": [
678,
697
],
"loc": {
"start": {
"line": 1,
"column": 678
},
"end": {
"line": 1,
"column": 697
}
}
},
"consequent": {
"type": "Identifier",
"name": "obj",
"range": [
698,
701
],
"loc": {
"start": {
"line": 1,
"column": 698
},
"end": {
"line": 1,
"column": 701
}
}
},
"alternate": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "default",
"range": [
703,
710
],
"loc": {
"start": {
"line": 1,
"column": 703
},
"end": {
"line": 1,
"column": 710
}
}
},
"value": {
"type": "Identifier",
"name": "obj",
"range": [
711,
714
],
"loc": {
"start": {
"line": 1,
"column": 711
},
"end": {
"line": 1,
"column": 714
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
703,
714
],
"loc": {
"start": {
"line": 1,
"column": 703
},
"end": {
"line": 1,
"column": 714
}
}
}
],
"range": [
702,
715
],
"loc": {
"start": {
"line": 1,
"column": 702
},
"end": {
"line": 1,
"column": 715
}
}
},
"range": [
678,
715
],
"loc": {
"start": {
"line": 1,
"column": 678
},
"end": {
"line": 1,
"column": 715
}
}
},
"range": [
671,
715
],
"loc": {
"start": {
"line": 1,
"column": 671
},
"end": {
"line": 1,
"column": 715
}
}
}
],
"range": [
670,
716
],
"loc": {
"start": {
"line": 1,
"column": 670
},
"end": {
"line": 1,
"column": 716
}
}
},
"generator": false,
"expression": false,
"range": [
634,
716
],
"loc": {
"start": {
"line": 1,
"column": 634
},
"end": {
"line": 1,
"column": 716
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "types",
"range": [
720,
725
],
"loc": {
"start": {
"line": 1,
"column": 720
},
"end": {
"line": 1,
"column": 725
}
}
},
"init": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
726,
733
],
"loc": {
"start": {
"line": 1,
"column": 726
},
"end": {
"line": 1,
"column": 733
}
}
},
"property": {
"type": "Identifier",
"name": "types",
"range": [
734,
739
],
"loc": {
"start": {
"line": 1,
"column": 734
},
"end": {
"line": 1,
"column": 739
}
}
},
"range": [
726,
739
],
"loc": {
"start": {
"line": 1,
"column": 726
},
"end": {
"line": 1,
"column": 739
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "register",
"range": [
741,
749
],
"loc": {
"start": {
"line": 1,
"column": 741
},
"end": {
"line": 1,
"column": 749
}
}
},
"value": {
"type": "Literal",
"value": "ELEMENT_REGISTER",
"raw": "'ELEMENT_REGISTER'",
"range": [
750,
768
],
"loc": {
"start": {
"line": 1,
"column": 750
},
"end": {
"line": 1,
"column": 768
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
741,
768
],
"loc": {
"start": {
"line": 1,
"column": 741
},
"end": {
"line": 1,
"column": 768
}
}
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "unregister",
"range": [
769,
779
],
"loc": {
"start": {
"line": 1,
"column": 769
},
"end": {
"line": 1,
"column": 779
}
}
},
"value": {
"type": "Literal",
"value": "ELEMENT_UNREGISTER",
"raw": "'ELEMENT_UNREGISTER'",
"range": [
780,
800
],
"loc": {
"start": {
"line": 1,
"column": 780
},
"end": {
"line": 1,
"column": 800
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
769,
800
],
"loc": {
"start": {
"line": 1,
"column": 769
},
"end": {
"line": 1,
"column": 800
}
}
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "update",
"range": [
801,
807
],
"loc": {
"start": {
"line": 1,
"column": 801
},
"end": {
"line": 1,
"column": 807
}
}
},
"value": {
"type": "Literal",
"value": "ELEMENT_UPDATE",
"raw": "'ELEMENT_UPDATE'",
"range": [
808,
824
],
"loc": {
"start": {
"line": 1,
"column": 808
},
"end": {
"line": 1,
"column": 824
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
801,
824
],
"loc": {
"start": {
"line": 1,
"column": 801
},
"end": {
"line": 1,
"column": 824
}
}
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "addChild",
"range": [
825,
833
],
"loc": {
"start": {
"line": 1,
"column": 825
},
"end": {
"line": 1,
"column": 833
}
}
},
"value": {
"type": "Literal",
"value": "ELEMENT_CHILD_ADD",
"raw": "'ELEMENT_CHILD_ADD'",
"range": [
834,
853
],
"loc": {
"start": {
"line": 1,
"column": 834
},
"end": {
"line": 1,
"column": 853
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
825,
853
],
"loc": {