awv3
Version:
⚡ AWV3 embedded CAD
1,758 lines (1,757 loc) • 218 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": "_extends2",
"range": [
125,
134
],
"loc": {
"start": {
"line": 1,
"column": 125
},
"end": {
"line": 1,
"column": 134
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
135,
142
],
"loc": {
"start": {
"line": 1,
"column": 135
},
"end": {
"line": 1,
"column": 142
}
}
},
"arguments": [
{
"type": "Literal",
"value": "babel-runtime/helpers/extends",
"raw": "\"babel-runtime/helpers/extends\"",
"range": [
143,
174
],
"loc": {
"start": {
"line": 1,
"column": 143
},
"end": {
"line": 1,
"column": 174
}
}
}
],
"range": [
135,
175
],
"loc": {
"start": {
"line": 1,
"column": 135
},
"end": {
"line": 1,
"column": 175
}
}
},
"range": [
125,
175
],
"loc": {
"start": {
"line": 1,
"column": 125
},
"end": {
"line": 1,
"column": 175
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_extends3",
"range": [
176,
185
],
"loc": {
"start": {
"line": 1,
"column": 176
},
"end": {
"line": 1,
"column": 185
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
186,
208
],
"loc": {
"start": {
"line": 1,
"column": 186
},
"end": {
"line": 1,
"column": 208
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "_extends2",
"range": [
209,
218
],
"loc": {
"start": {
"line": 1,
"column": 209
},
"end": {
"line": 1,
"column": 218
}
}
}
],
"range": [
186,
219
],
"loc": {
"start": {
"line": 1,
"column": 186
},
"end": {
"line": 1,
"column": 219
}
}
},
"range": [
176,
219
],
"loc": {
"start": {
"line": 1,
"column": 176
},
"end": {
"line": 1,
"column": 219
}
}
}
],
"kind": "var",
"range": [
121,
220
],
"loc": {
"start": {
"line": 1,
"column": 121
},
"end": {
"line": 1,
"column": 220
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireDefault",
"range": [
229,
251
],
"loc": {
"start": {
"line": 1,
"column": 229
},
"end": {
"line": 1,
"column": 251
}
}
},
"params": [
{
"type": "Identifier",
"name": "obj",
"range": [
252,
255
],
"loc": {
"start": {
"line": 1,
"column": 252
},
"end": {
"line": 1,
"column": 255
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "Identifier",
"name": "obj",
"range": [
264,
267
],
"loc": {
"start": {
"line": 1,
"column": 264
},
"end": {
"line": 1,
"column": 267
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "obj",
"range": [
269,
272
],
"loc": {
"start": {
"line": 1,
"column": 269
},
"end": {
"line": 1,
"column": 272
}
}
},
"property": {
"type": "Identifier",
"name": "__esModule",
"range": [
273,
283
],
"loc": {
"start": {
"line": 1,
"column": 273
},
"end": {
"line": 1,
"column": 283
}
}
},
"range": [
269,
283
],
"loc": {
"start": {
"line": 1,
"column": 269
},
"end": {
"line": 1,
"column": 283
}
}
},
"range": [
264,
283
],
"loc": {
"start": {
"line": 1,
"column": 264
},
"end": {
"line": 1,
"column": 283
}
}
},
"consequent": {
"type": "Identifier",
"name": "obj",
"range": [
284,
287
],
"loc": {
"start": {
"line": 1,
"column": 284
},
"end": {
"line": 1,
"column": 287
}
}
},
"alternate": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "default",
"range": [
289,
296
],
"loc": {
"start": {
"line": 1,
"column": 289
},
"end": {
"line": 1,
"column": 296
}
}
},
"value": {
"type": "Identifier",
"name": "obj",
"range": [
297,
300
],
"loc": {
"start": {
"line": 1,
"column": 297
},
"end": {
"line": 1,
"column": 300
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
289,
300
],
"loc": {
"start": {
"line": 1,
"column": 289
},
"end": {
"line": 1,
"column": 300
}
}
}
],
"range": [
288,
301
],
"loc": {
"start": {
"line": 1,
"column": 288
},
"end": {
"line": 1,
"column": 301
}
}
},
"range": [
264,
301
],
"loc": {
"start": {
"line": 1,
"column": 264
},
"end": {
"line": 1,
"column": 301
}
}
},
"range": [
257,
301
],
"loc": {
"start": {
"line": 1,
"column": 257
},
"end": {
"line": 1,
"column": 301
}
}
}
],
"range": [
256,
302
],
"loc": {
"start": {
"line": 1,
"column": 256
},
"end": {
"line": 1,
"column": 302
}
}
},
"generator": false,
"expression": false,
"range": [
220,
302
],
"loc": {
"start": {
"line": 1,
"column": 220
},
"end": {
"line": 1,
"column": 302
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "types",
"range": [
306,
311
],
"loc": {
"start": {
"line": 1,
"column": 306
},
"end": {
"line": 1,
"column": 311
}
}
},
"init": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
312,
319
],
"loc": {
"start": {
"line": 1,
"column": 312
},
"end": {
"line": 1,
"column": 319
}
}
},
"property": {
"type": "Identifier",
"name": "types",
"range": [
320,
325
],
"loc": {
"start": {
"line": 1,
"column": 320
},
"end": {
"line": 1,
"column": 325
}
}
},
"range": [
312,
325
],
"loc": {
"start": {
"line": 1,
"column": 312
},
"end": {
"line": 1,
"column": 325
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "setLocale",
"range": [
327,
336
],
"loc": {
"start": {
"line": 1,
"column": 327
},
"end": {
"line": 1,
"column": 336
}
}
},
"value": {
"type": "Literal",
"value": "GLOBAL_SET_LOCALE",
"raw": "\"GLOBAL_SET_LOCALE\"",
"range": [
337,
356
],
"loc": {
"start": {
"line": 1,
"column": 337
},
"end": {
"line": 1,
"column": 356
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
327,
356
],
"loc": {
"start": {
"line": 1,
"column": 327
},
"end": {
"line": 1,
"column": 356
}
}
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "setActiveSelection",
"range": [
357,
375
],
"loc": {
"start": {
"line": 1,
"column": 357
},
"end": {
"line": 1,
"column": 375
}
}
},
"value": {
"type": "Literal",
"value": "GLOBAL_SET_ACTIVE_SELECTION",
"raw": "\"GLOBAL_SET_ACTIVE_SELECTION\"",
"range": [
376,
405
],
"loc": {
"start": {
"line": 1,
"column": 376
},
"end": {
"line": 1,
"column": 405
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
357,
405
],
"loc": {
"start": {
"line": 1,
"column": 357
},
"end": {
"line": 1,
"column": 405
}
}
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "setActiveFeature",
"range": [
406,
422
],
"loc": {
"start": {
"line": 1,
"column": 406
},
"end": {
"line": 1,
"column": 422
}
}
},
"value": {
"type": "Literal",
"value": "GLOBAL_SET_ACTIVE_FEARURE",
"raw": "\"GLOBAL_SET_ACTIVE_FEARURE\"",
"range": [
423,
450
],
"loc": {
"start": {
"line": 1,
"column": 423
},
"end": {
"line": 1,
"column": 450
}
}
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"range": [
406,
450
],
"loc": {
"start": {
"line": 1,
"column": 406
},
"end": {
"line": 1,
"column": 450
}
}
}
],
"range": [
326,
451
],
"loc": {
"start": {
"line": 1,
"column": 326
},
"end": {
"line": 1,
"column": 451
}
}
},
"range": [
312,
451
],
"loc": {
"start": {
"line": 1,
"column": 312
},
"end": {
"line": 1,
"column": 451
}
}
},
"range": [
306,
451
],
"loc": {
"start": {
"line": 1,
"column": 306
},
"end": {
"line": 1,
"column": 451
}
}
}
],
"kind": "var",
"range": [
302,
452
],
"loc": {
"start": {
"line": 1,
"column": 302
},
"end": {
"line": 1,
"column": 452
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "actions",
"range": [
456,
463
],
"loc": {
"start": {
"line": 1,
"column": 456
},
"end": {
"line": 1,
"column": 463
}
}
},
"init": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "exports",
"range": [
464,
471
],
"loc": {
"start": {
"line": 1,
"column": 464
},
"end": {
"line": 1,
"column": 471
}
}
},
"property": {
"type": "Identifier",
"name": "actions",
"range": [
472,
479
],
"loc": {
"start": {
"line": 1,
"column": 472
},
"end": {
"line": 1,
"column": 479
}
}
},
"range": [
464,
479
],
"loc": {
"start": {
"line": 1,
"column": 464
},
"end": {
"line": 1,
"column": 479
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "setLocale",
"range": [
481,
490
],
"loc": {
"start": {
"line": 1,
"column": 481
},
"end": {
"line": 1,
"column": 490
}
}
},
"value": {
"type": "FunctionExpression",
"id": {
"type": "Identifier",
"name": "setLocale",
"range": [
500,
509
],
"loc": {
"start": {
"line": 1,
"column": 500
},
"end": {
"line": 1,
"column": 509
}
}
},
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "a",
"range": [
516,
517
],
"loc": {
"start": {
"line": 1,
"column": 516
},
"end": {
"line": 1,
"column": 517
}
}
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
518,
519
],
"loc": {
"start": {
"line": 1,
"column": 518
},
"end": {
"line": 1,
"column": 519
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "arguments",
"range": [
520,
529
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 529
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
530,
536
],
"loc": {
"start": {
"line": 1,
"column": 530
},
"end": {
"line": 1,
"column": 536
}
}
},
"range": [
520,
536
],
"loc": {
"start": {
"line": 1,
"column": 520
},
"end": {
"line": 1,
"column": 536
}
}
},
"range": [
518,
536
],
"loc": {
"start": {
"line": 1,
"column": 518
},
"end": {
"line": 1,
"column": 536
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "!==",
"left": {
"type": "UnaryExpression",
"operator": "void",
"argument": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
543,
544
],
"loc": {
"start": {
"line": 1,
"column": 543
},
"end": {
"line": 1,
"column": 544
}
}
},
"prefix": true,
"range": [
538,
544
],
"loc": {
"start": {
"line": 1,
"column": 538
},
"end": {
"line": 1,
"column": 544
}
}
},
"right": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "arguments",
"range": [
547,
556
],
"loc": {
"start": {
"line": 1,
"column": 547
},
"end": {
"line": 1,
"column": 556
}
}
},
"property": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
557,
558
],
"loc": {
"start": {
"line": 1,
"column": 557
},
"end": {
"line": 1,
"column": 558
}
}
},
"range": [
547,
559
],
"loc": {
"start": {
"line": 1,
"column": 547
},
"end": {
"line": 1,
"column": 559
}
}
},
"range": [
538,
559
],
"loc": {
"start": {
"line": 1,
"column": 538
},
"end": {
"line": 1,
"column": 559
}
}
},
"range": [
518,
559
],
"loc": {
"start": {
"line": 1,
"column": 518
},
"end": {
"line": 1,
"column": 559
}
}
},
"consequent": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "arguments",
"range": [
560,
569
],
"loc": {
"start": {
"line": 1,
"column": 560
},
"end": {
"line": 1,
"column": 569
}
}
},
"property": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
570,
571
],
"loc": {
"start": {
"line": 1,
"column": 570
},
"end": {
"line": 1,
"column": 571