UNPKG

awv3

Version:
2,112 lines (2,111 loc) 614 kB
{ "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": "_keys", "range": [ 72, 77 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 77 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 78, 85 ], "loc": { "start": { "line": 1, "column": 78 }, "end": { "line": 1, "column": 85 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/keys", "raw": "'babel-runtime/core-js/object/keys'", "range": [ 86, 121 ], "loc": { "start": { "line": 1, "column": 86 }, "end": { "line": 1, "column": 121 } } } ], "range": [ 78, 122 ], "loc": { "start": { "line": 1, "column": 78 }, "end": { "line": 1, "column": 122 } } }, "range": [ 72, 122 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 122 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys2", "range": [ 123, 129 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 129 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 130, 152 ], "loc": { "start": { "line": 1, "column": 130 }, "end": { "line": 1, "column": 152 } } }, "arguments": [ { "type": "Identifier", "name": "_keys", "range": [ 153, 158 ], "loc": { "start": { "line": 1, "column": 153 }, "end": { "line": 1, "column": 158 } } } ], "range": [ 130, 159 ], "loc": { "start": { "line": 1, "column": 130 }, "end": { "line": 1, "column": 159 } } }, "range": [ 123, 159 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 159 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf", "range": [ 160, 175 ], "loc": { "start": { "line": 1, "column": 160 }, "end": { "line": 1, "column": 175 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 176, 183 ], "loc": { "start": { "line": 1, "column": 176 }, "end": { "line": 1, "column": 183 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/get-prototype-of", "raw": "'babel-runtime/core-js/object/get-prototype-of'", "range": [ 184, 231 ], "loc": { "start": { "line": 1, "column": 184 }, "end": { "line": 1, "column": 231 } } } ], "range": [ 176, 232 ], "loc": { "start": { "line": 1, "column": 176 }, "end": { "line": 1, "column": 232 } } }, "range": [ 160, 232 ], "loc": { "start": { "line": 1, "column": 160 }, "end": { "line": 1, "column": 232 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf2", "range": [ 233, 249 ], "loc": { "start": { "line": 1, "column": 233 }, "end": { "line": 1, "column": 249 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 250, 272 ], "loc": { "start": { "line": 1, "column": 250 }, "end": { "line": 1, "column": 272 } } }, "arguments": [ { "type": "Identifier", "name": "_getPrototypeOf", "range": [ 273, 288 ], "loc": { "start": { "line": 1, "column": 273 }, "end": { "line": 1, "column": 288 } } } ], "range": [ 250, 289 ], "loc": { "start": { "line": 1, "column": 250 }, "end": { "line": 1, "column": 289 } } }, "range": [ 233, 289 ], "loc": { "start": { "line": 1, "column": 233 }, "end": { "line": 1, "column": 289 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 290, 306 ], "loc": { "start": { "line": 1, "column": 290 }, "end": { "line": 1, "column": 306 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 307, 314 ], "loc": { "start": { "line": 1, "column": 307 }, "end": { "line": 1, "column": 314 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 315, 353 ], "loc": { "start": { "line": 1, "column": 315 }, "end": { "line": 1, "column": 353 } } } ], "range": [ 307, 354 ], "loc": { "start": { "line": 1, "column": 307 }, "end": { "line": 1, "column": 354 } } }, "range": [ 290, 354 ], "loc": { "start": { "line": 1, "column": 290 }, "end": { "line": 1, "column": 354 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 355, 371 ], "loc": { "start": { "line": 1, "column": 355 }, "end": { "line": 1, "column": 371 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 372, 394 ], "loc": { "start": { "line": 1, "column": 372 }, "end": { "line": 1, "column": 394 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 395, 411 ], "loc": { "start": { "line": 1, "column": 395 }, "end": { "line": 1, "column": 411 } } } ], "range": [ 372, 412 ], "loc": { "start": { "line": 1, "column": 372 }, "end": { "line": 1, "column": 412 } } }, "range": [ 355, 412 ], "loc": { "start": { "line": 1, "column": 355 }, "end": { "line": 1, "column": 412 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 413, 440 ], "loc": { "start": { "line": 1, "column": 413 }, "end": { "line": 1, "column": 440 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 441, 448 ], "loc": { "start": { "line": 1, "column": 441 }, "end": { "line": 1, "column": 448 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/possibleConstructorReturn", "raw": "'babel-runtime/helpers/possibleConstructorReturn'", "range": [ 449, 498 ], "loc": { "start": { "line": 1, "column": 449 }, "end": { "line": 1, "column": 498 } } } ], "range": [ 441, 499 ], "loc": { "start": { "line": 1, "column": 441 }, "end": { "line": 1, "column": 499 } } }, "range": [ 413, 499 ], "loc": { "start": { "line": 1, "column": 413 }, "end": { "line": 1, "column": 499 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn3", "range": [ 500, 527 ], "loc": { "start": { "line": 1, "column": 500 }, "end": { "line": 1, "column": 527 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 528, 550 ], "loc": { "start": { "line": 1, "column": 528 }, "end": { "line": 1, "column": 550 } } }, "arguments": [ { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 551, 578 ], "loc": { "start": { "line": 1, "column": 551 }, "end": { "line": 1, "column": 578 } } } ], "range": [ 528, 579 ], "loc": { "start": { "line": 1, "column": 528 }, "end": { "line": 1, "column": 579 } } }, "range": [ 500, 579 ], "loc": { "start": { "line": 1, "column": 500 }, "end": { "line": 1, "column": 579 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits2", "range": [ 580, 590 ], "loc": { "start": { "line": 1, "column": 580 }, "end": { "line": 1, "column": 590 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 591, 598 ], "loc": { "start": { "line": 1, "column": 591 }, "end": { "line": 1, "column": 598 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/inherits", "raw": "'babel-runtime/helpers/inherits'", "range": [ 599, 631 ], "loc": { "start": { "line": 1, "column": 599 }, "end": { "line": 1, "column": 631 } } } ], "range": [ 591, 632 ], "loc": { "start": { "line": 1, "column": 591 }, "end": { "line": 1, "column": 632 } } }, "range": [ 580, 632 ], "loc": { "start": { "line": 1, "column": 580 }, "end": { "line": 1, "column": 632 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits3", "range": [ 633, 643 ], "loc": { "start": { "line": 1, "column": 633 }, "end": { "line": 1, "column": 643 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 644, 666 ], "loc": { "start": { "line": 1, "column": 644 }, "end": { "line": 1, "column": 666 } } }, "arguments": [ { "type": "Identifier", "name": "_inherits2", "range": [ 667, 677 ], "loc": { "start": { "line": 1, "column": 667 }, "end": { "line": 1, "column": 677 } } } ], "range": [ 644, 678 ], "loc": { "start": { "line": 1, "column": 644 }, "end": { "line": 1, "column": 678 } } }, "range": [ 633, 678 ], "loc": { "start": { "line": 1, "column": 633 }, "end": { "line": 1, "column": 678 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty2", "range": [ 679, 695 ], "loc": { "start": { "line": 1, "column": 679 }, "end": { "line": 1, "column": 695 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 696, 703 ], "loc": { "start": { "line": 1, "column": 696 }, "end": { "line": 1, "column": 703 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/defineProperty", "raw": "'babel-runtime/helpers/defineProperty'", "range": [ 704, 742 ], "loc": { "start": { "line": 1, "column": 704 }, "end": { "line": 1, "column": 742 } } } ], "range": [ 696, 743 ], "loc": { "start": { "line": 1, "column": 696 }, "end": { "line": 1, "column": 743 } } }, "range": [ 679, 743 ], "loc": { "start": { "line": 1, "column": 679 }, "end": { "line": 1, "column": 743 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty3", "range": [ 744, 760 ], "loc": { "start": { "line": 1, "column": 744 }, "end": { "line": 1, "column": 760 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 761, 783 ], "loc": { "start": { "line": 1, "column": 761 }, "end": { "line": 1, "column": 783 } } }, "arguments": [ { "type": "Identifier", "name": "_defineProperty2", "range": [ 784, 800 ], "loc": { "start": { "line": 1, "column": 784 }, "end": { "line": 1, "column": 800 } } } ], "range": [ 761, 801 ], "loc": { "start": { "line": 1, "column": 761 }, "end": { "line": 1, "column": 801 } } }, "range": [ 744, 801 ], "loc": { "start": { "line": 1, "column": 744 }, "end": { "line": 1, "column": 801 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 802, 811 ], "loc": { "start": { "line": 1, "column": 802 }, "end": { "line": 1, "column": 811 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 812, 819 ], "loc": { "start": { "line": 1, "column": 812 }, "end": { "line": 1, "column": 819 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 820, 851 ], "loc": { "start": { "line": 1, "column": 820 }, "end": { "line": 1, "column": 851 } } } ], "range": [ 812, 852 ], "loc": { "start": { "line": 1, "column": 812 }, "end": { "line": 1, "column": 852 } } }, "range": [ 802, 852 ], "loc": { "start": { "line": 1, "column": 802 }, "end": { "line": 1, "column": 852 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends4", "range": [ 853, 862 ], "loc": { "start": { "line": 1, "column": 853 }, "end": { "line": 1, "column": 862 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 863, 885 ], "loc": { "start": { "line": 1, "column": 863 }, "end": { "line": 1, "column": 885 } } }, "arguments": [ { "type": "Identifier", "name": "_extends3", "range": [ 886, 895 ], "loc": { "start": { "line": 1, "column": 886 }, "end": { "line": 1, "column": 895 } } } ], "range": [ 863, 896 ], "loc": { "start": { "line": 1, "column": 863 }, "end": { "line": 1, "column": 896 } } }, "range": [ 853, 896 ], "loc": { "start": { "line": 1, "column": 853 }, "end": { "line": 1, "column": 896 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_plugin", "range": [ 897, 904 ], "loc": { "start": { "line": 1, "column": 897 }, "end": { "line": 1, "column": 904 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 905, 912 ], "loc": { "start": { "line": 1, "column": 905 }, "end": { "line": 1, "column": 912 } } }, "arguments": [ { "type": "Literal", "value": "../../session/plugin", "raw": "'../../session/plugin'", "range": [ 913, 935 ], "loc": { "start": { "line": 1, "column": 913 }, "end": { "line": 1, "column": 935 } } } ], "range": [ 905, 936 ], "loc": { "start": { "line": 1, "column": 905 }, "end": { "line": 1, "column": 936 } } }, "range": [ 897, 936 ], "loc": { "start": { "line": 1, "column": 897 }, "end": { "line": 1, "column": 936 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_plugin2", "range": [ 937, 945 ], "loc": { "start": { "line": 1, "column": 937 }, "end": { "line": 1, "column": 945 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 946, 968 ], "loc": { "start": { "line": 1, "column": 946 }, "end": { "line": 1, "column": 968 } } }, "arguments": [ { "type": "Identifier", "name": "_plugin", "range": [ 969, 976 ], "loc": { "start": { "line": 1, "column": 969 }, "end": { "line": 1, "column": 976 } } } ], "range": [ 946, 977 ], "loc": { "start": { "line": 1, "column": 946 }, "end": { "line": 1, "column": 977 } } }, "range": [ 937, 977 ], "loc": { "start": { "line": 1, "column": 937 }, "end": { "line": 1, "column": 977 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helpers", "range": [ 978, 986 ], "loc": { "start": { "line": 1, "column": 978 }, "end": { "line": 1, "column": 986 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 987, 994 ], "loc": { "start": { "line": 1, "column": 987 }, "end": { "line": 1, "column": 994 } } }, "arguments": [ { "type": "Literal", "value": "../../session/helpers", "raw": "'../../session/helpers'", "range": [ 995, 1018 ], "loc": { "start": { "line": 1, "column": 995 }, "end": { "line": 1, "column": 1018 } } } ], "range": [ 987, 1019 ], "loc": { "start": { "line": 1, "column": 987 }, "end": { "line": 1, "column": 1019 } } }, "range": [ 978, 1019 ], "loc": { "start": { "line": 1, "column": 978 }, "end": { "line": 1, "column": 1019 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_elements", "range": [ 1020, 1029 ], "loc": { "start": { "line": 1, "column": 1020 }, "end": { "line": 1, "column": 1029 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 1030, 1037 ], "loc": { "start": { "line": 1, "column": 1030 }, "end": { "line": 1, "column": 1037 } } }, "arguments": [ { "type": "Literal", "value": "../../session/elements", "raw": "'../../session/elements'", "range": [ 1038, 1062 ], "loc": { "start": { "line": 1, "column": 1038 }, "end": { "line": 1, "column": 1062 } } } ], "range": [ 1030, 1063 ], "loc": { "start": { "line": 1, "column": 1030 }, "end": { "line": 1, "column": 1063 } } }, "range": [ 1020, 1063 ], "loc": { "start": { "line": 1, "column": 1020 }, "end": { "line": 1, "column": 1063 } } } ], "kind": "var", "range": [ 68, 1064 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 1064 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 1073, 1095 ], "loc": { "start": { "line": 1, "column": 1073 }, "end": { "line": 1, "column": 1095 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 1096, 1099 ], "loc": { "start": { "line": 1, "column": 1096 }, "end": { "line": 1, "column": 1099 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 1108, 1111 ], "loc": { "start": { "line": 1, "column": 1108 }, "end": { "line": 1, "column": 1111 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 1113, 1116 ], "loc": { "start": { "line": 1, "column": 1113 }, "end": { "line": 1, "column": 1116 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 1117, 1127 ], "loc": { "start": { "line": 1, "column": 1117 }, "end": { "line": 1, "column": 1127 } } }, "range": [ 1113, 1127 ], "loc": { "start": { "line": 1, "column": 1113 }, "end": { "line": 1, "column": 1127 } } }, "range": [ 1108, 1127 ], "loc": { "start": { "line": 1, "column": 1108 }, "end": { "line": 1, "column": 1127 } } }, "consequent": { "type": "Identifier", "name": "obj", "range": [ 1128, 1131 ], "loc": { "start": { "line": 1, "column": 1128 }, "end": { "line": 1, "column": 1131 } } }, "alternate": { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "default", "range": [ 1133, 1140 ], "loc": { "start": { "line": 1, "column": 1133 }, "end": { "line": 1, "column": 1140 } } }, "value": { "type": "Identifier", "name": "obj", "range": [ 1141, 1144 ], "loc": { "start": { "line": 1, "column": 1141 }, "end": { "line": 1, "column": 1144 } } }, "kind": "init", "method": false, "shorthand": false,