UNPKG

awv3

Version:
2,149 lines (2,148 loc) 2.14 MB
{ "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": "_assign", "range": [ 72, 79 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 79 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 80, 87 ], "loc": { "start": { "line": 1, "column": 80 }, "end": { "line": 1, "column": 87 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/assign", "raw": "'babel-runtime/core-js/object/assign'", "range": [ 88, 125 ], "loc": { "start": { "line": 1, "column": 88 }, "end": { "line": 1, "column": 125 } } } ], "range": [ 80, 126 ], "loc": { "start": { "line": 1, "column": 80 }, "end": { "line": 1, "column": 126 } } }, "range": [ 72, 126 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 126 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_assign2", "range": [ 127, 135 ], "loc": { "start": { "line": 1, "column": 127 }, "end": { "line": 1, "column": 135 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 136, 158 ], "loc": { "start": { "line": 1, "column": 136 }, "end": { "line": 1, "column": 158 } } }, "arguments": [ { "type": "Identifier", "name": "_assign", "range": [ 159, 166 ], "loc": { "start": { "line": 1, "column": 159 }, "end": { "line": 1, "column": 166 } } } ], "range": [ 136, 167 ], "loc": { "start": { "line": 1, "column": 136 }, "end": { "line": 1, "column": 167 } } }, "range": [ 127, 167 ], "loc": { "start": { "line": 1, "column": 127 }, "end": { "line": 1, "column": 167 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_typeof2", "range": [ 168, 176 ], "loc": { "start": { "line": 1, "column": 168 }, "end": { "line": 1, "column": 176 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 177, 184 ], "loc": { "start": { "line": 1, "column": 177 }, "end": { "line": 1, "column": 184 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/typeof", "raw": "'babel-runtime/helpers/typeof'", "range": [ 185, 215 ], "loc": { "start": { "line": 1, "column": 185 }, "end": { "line": 1, "column": 215 } } } ], "range": [ 177, 216 ], "loc": { "start": { "line": 1, "column": 177 }, "end": { "line": 1, "column": 216 } } }, "range": [ 168, 216 ], "loc": { "start": { "line": 1, "column": 168 }, "end": { "line": 1, "column": 216 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_typeof3", "range": [ 217, 225 ], "loc": { "start": { "line": 1, "column": 217 }, "end": { "line": 1, "column": 225 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 226, 248 ], "loc": { "start": { "line": 1, "column": 226 }, "end": { "line": 1, "column": 248 } } }, "arguments": [ { "type": "Identifier", "name": "_typeof2", "range": [ 249, 257 ], "loc": { "start": { "line": 1, "column": 249 }, "end": { "line": 1, "column": 257 } } } ], "range": [ 226, 258 ], "loc": { "start": { "line": 1, "column": 226 }, "end": { "line": 1, "column": 258 } } }, "range": [ 217, 258 ], "loc": { "start": { "line": 1, "column": 217 }, "end": { "line": 1, "column": 258 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_promise", "range": [ 259, 267 ], "loc": { "start": { "line": 1, "column": 259 }, "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/core-js/promise", "raw": "'babel-runtime/core-js/promise'", "range": [ 276, 307 ], "loc": { "start": { "line": 1, "column": 276 }, "end": { "line": 1, "column": 307 } } } ], "range": [ 268, 308 ], "loc": { "start": { "line": 1, "column": 268 }, "end": { "line": 1, "column": 308 } } }, "range": [ 259, 308 ], "loc": { "start": { "line": 1, "column": 259 }, "end": { "line": 1, "column": 308 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_promise2", "range": [ 309, 318 ], "loc": { "start": { "line": 1, "column": 309 }, "end": { "line": 1, "column": 318 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 319, 341 ], "loc": { "start": { "line": 1, "column": 319 }, "end": { "line": 1, "column": 341 } } }, "arguments": [ { "type": "Identifier", "name": "_promise", "range": [ 342, 350 ], "loc": { "start": { "line": 1, "column": 342 }, "end": { "line": 1, "column": 350 } } } ], "range": [ 319, 351 ], "loc": { "start": { "line": 1, "column": 319 }, "end": { "line": 1, "column": 351 } } }, "range": [ 309, 351 ], "loc": { "start": { "line": 1, "column": 309 }, "end": { "line": 1, "column": 351 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator2", "range": [ 352, 365 ], "loc": { "start": { "line": 1, "column": 352 }, "end": { "line": 1, "column": 365 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 366, 373 ], "loc": { "start": { "line": 1, "column": 366 }, "end": { "line": 1, "column": 373 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/get-iterator", "raw": "'babel-runtime/core-js/get-iterator'", "range": [ 374, 410 ], "loc": { "start": { "line": 1, "column": 374 }, "end": { "line": 1, "column": 410 } } } ], "range": [ 366, 411 ], "loc": { "start": { "line": 1, "column": 366 }, "end": { "line": 1, "column": 411 } } }, "range": [ 352, 411 ], "loc": { "start": { "line": 1, "column": 352 }, "end": { "line": 1, "column": 411 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator3", "range": [ 412, 425 ], "loc": { "start": { "line": 1, "column": 412 }, "end": { "line": 1, "column": 425 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 426, 448 ], "loc": { "start": { "line": 1, "column": 426 }, "end": { "line": 1, "column": 448 } } }, "arguments": [ { "type": "Identifier", "name": "_getIterator2", "range": [ 449, 462 ], "loc": { "start": { "line": 1, "column": 449 }, "end": { "line": 1, "column": 462 } } } ], "range": [ 426, 463 ], "loc": { "start": { "line": 1, "column": 426 }, "end": { "line": 1, "column": 463 } } }, "range": [ 412, 463 ], "loc": { "start": { "line": 1, "column": 412 }, "end": { "line": 1, "column": 463 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys", "range": [ 464, 469 ], "loc": { "start": { "line": 1, "column": 464 }, "end": { "line": 1, "column": 469 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 470, 477 ], "loc": { "start": { "line": 1, "column": 470 }, "end": { "line": 1, "column": 477 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/keys", "raw": "'babel-runtime/core-js/object/keys'", "range": [ 478, 513 ], "loc": { "start": { "line": 1, "column": 478 }, "end": { "line": 1, "column": 513 } } } ], "range": [ 470, 514 ], "loc": { "start": { "line": 1, "column": 470 }, "end": { "line": 1, "column": 514 } } }, "range": [ 464, 514 ], "loc": { "start": { "line": 1, "column": 464 }, "end": { "line": 1, "column": 514 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys2", "range": [ 515, 521 ], "loc": { "start": { "line": 1, "column": 515 }, "end": { "line": 1, "column": 521 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 522, 544 ], "loc": { "start": { "line": 1, "column": 522 }, "end": { "line": 1, "column": 544 } } }, "arguments": [ { "type": "Identifier", "name": "_keys", "range": [ 545, 550 ], "loc": { "start": { "line": 1, "column": 545 }, "end": { "line": 1, "column": 550 } } } ], "range": [ 522, 551 ], "loc": { "start": { "line": 1, "column": 522 }, "end": { "line": 1, "column": 551 } } }, "range": [ 515, 551 ], "loc": { "start": { "line": 1, "column": 515 }, "end": { "line": 1, "column": 551 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2", "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": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 570, 601 ], "loc": { "start": { "line": 1, "column": 570 }, "end": { "line": 1, "column": 601 } } } ], "range": [ 562, 602 ], "loc": { "start": { "line": 1, "column": 562 }, "end": { "line": 1, "column": 602 } } }, "range": [ 552, 602 ], "loc": { "start": { "line": 1, "column": 552 }, "end": { "line": 1, "column": 602 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 603, 612 ], "loc": { "start": { "line": 1, "column": 603 }, "end": { "line": 1, "column": 612 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 613, 635 ], "loc": { "start": { "line": 1, "column": 613 }, "end": { "line": 1, "column": 635 } } }, "arguments": [ { "type": "Identifier", "name": "_extends2", "range": [ 636, 645 ], "loc": { "start": { "line": 1, "column": 636 }, "end": { "line": 1, "column": 645 } } } ], "range": [ 613, 646 ], "loc": { "start": { "line": 1, "column": 613 }, "end": { "line": 1, "column": 646 } } }, "range": [ 603, 646 ], "loc": { "start": { "line": 1, "column": 603 }, "end": { "line": 1, "column": 646 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 647, 663 ], "loc": { "start": { "line": 1, "column": 647 }, "end": { "line": 1, "column": 663 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 664, 671 ], "loc": { "start": { "line": 1, "column": 664 }, "end": { "line": 1, "column": 671 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 672, 710 ], "loc": { "start": { "line": 1, "column": 672 }, "end": { "line": 1, "column": 710 } } } ], "range": [ 664, 711 ], "loc": { "start": { "line": 1, "column": 664 }, "end": { "line": 1, "column": 711 } } }, "range": [ 647, 711 ], "loc": { "start": { "line": 1, "column": 647 }, "end": { "line": 1, "column": 711 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 712, 728 ], "loc": { "start": { "line": 1, "column": 712 }, "end": { "line": 1, "column": 728 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 729, 751 ], "loc": { "start": { "line": 1, "column": 729 }, "end": { "line": 1, "column": 751 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 752, 768 ], "loc": { "start": { "line": 1, "column": 752 }, "end": { "line": 1, "column": 768 } } } ], "range": [ 729, 769 ], "loc": { "start": { "line": 1, "column": 729 }, "end": { "line": 1, "column": 769 } } }, "range": [ 712, 769 ], "loc": { "start": { "line": 1, "column": 712 }, "end": { "line": 1, "column": 769 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 770, 783 ], "loc": { "start": { "line": 1, "column": 770 }, "end": { "line": 1, "column": 783 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 784, 791 ], "loc": { "start": { "line": 1, "column": 784 }, "end": { "line": 1, "column": 791 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 792, 827 ], "loc": { "start": { "line": 1, "column": 792 }, "end": { "line": 1, "column": 827 } } } ], "range": [ 784, 828 ], "loc": { "start": { "line": 1, "column": 784 }, "end": { "line": 1, "column": 828 } } }, "range": [ 770, 828 ], "loc": { "start": { "line": 1, "column": 770 }, "end": { "line": 1, "column": 828 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 829, 842 ], "loc": { "start": { "line": 1, "column": 829 }, "end": { "line": 1, "column": 842 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 843, 865 ], "loc": { "start": { "line": 1, "column": 843 }, "end": { "line": 1, "column": 865 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 866, 879 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 879 } } } ], "range": [ 843, 880 ], "loc": { "start": { "line": 1, "column": 843 }, "end": { "line": 1, "column": 880 } } }, "range": [ 829, 880 ], "loc": { "start": { "line": 1, "column": 829 }, "end": { "line": 1, "column": 880 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_three", "range": [ 881, 887 ], "loc": { "start": { "line": 1, "column": 881 }, "end": { "line": 1, "column": 887 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 888, 895 ], "loc": { "start": { "line": 1, "column": 888 }, "end": { "line": 1, "column": 895 } } }, "arguments": [ { "type": "Literal", "value": "three", "raw": "'three'", "range": [ 896, 903 ], "loc": { "start": { "line": 1, "column": 896 }, "end": { "line": 1, "column": 903 } } } ], "range": [ 888, 904 ], "loc": { "start": { "line": 1, "column": 888 }, "end": { "line": 1, "column": 904 } } }, "range": [ 881, 904 ], "loc": { "start": { "line": 1, "column": 881 }, "end": { "line": 1, "column": 904 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "THREE", "range": [ 905, 910 ], "loc": { "start": { "line": 1, "column": 905 }, "end": { "line": 1, "column": 910 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 911, 934 ], "loc": { "start": { "line": 1, "column": 911 }, "end": { "line": 1, "column": 934 } } }, "arguments": [ { "type": "Identifier", "name": "_three", "range": [ 935, 941 ], "loc": { "start": { "line": 1, "column": 935 }, "end": { "line": 1, "column": 941 } } } ], "range": [ 911, 942 ], "loc": { "start": { "line": 1, "column": 911 }, "end": { "line": 1, "column": 942 } } }, "range": [ 905, 942 ], "loc": { "start": { "line": 1, "column": 905 }, "end": { "line": 1, "column": 942 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_easing", "range": [ 943, 950 ], "loc": { "start": { "line": 1, "column": 943 }, "end": { "line": 1, "column": 950 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 951, 958 ], "loc": { "start": { "line": 1, "column": 951 }, "end": { "line": 1, "column": 958 } } }, "arguments": [ { "type": "Literal", "value": "../animation/easing", "raw": "'../animation/easing'", "range": [ 959, 980 ], "loc": { "start": { "line": 1, "column": 959 }, "end": { "line": 1, "column": 980 } } } ], "range": [ 951, 981 ], "loc": { "start": { "line": 1, "column": 951 }, "end": { "line": 1, "column": 981 } } }, "range": [ 943, 981 ], "loc": { "start": { "line": 1, "column": 943 }, "end": { "line": 1, "column": 981 } } } ], "kind": "var", "range": [ 68, 982 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 982 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 991, 1014 ], "loc": { "start": { "line": 1, "column": 991 }, "end": { "line": 1, "column": 1014 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 1015, 1018 ], "loc": { "start": { "line": 1, "column": 1015 }, "end": { "line": 1, "column": 1018 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 1023, 1026 ], "loc": { "start": { "line": 1, "column": 1023 }, "end": { "line": 1, "column": 1026 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 1028, 1031 ], "loc": { "start": { "line": 1, "column": 1028 }, "end": { "line": 1, "column": 1031 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 1032, 1042 ], "loc": { "start": { "line": 1, "column": 1032 }, "end": { "line": 1, "column": 1042 } } }, "range": [ 1028, 1042 ], "loc": { "start": { "line": 1, "column": 1028 }, "end": { "line": 1, "column": 1042 } } }, "range": [ 1023, 1042 ], "loc": { "start": { "line": 1, "column": 1023 }, "end": { "line": 1, "column": 1042 } } }, "consequent": { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "obj", "range": [ 1050, 1053 ], "loc": { "start": {