diff --git a/CHANGES.md b/CHANGES.md index 751fcfb0..ec1bf16e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # videojs-wavesurfer changelog -## 3.1.0 - unreleased +## 3.1.0 - 2020/05/18 **Backwards-incompatible changes** (when upgrading from a previous version): diff --git a/docs/api/ast/source/js/defaults.js.json b/docs/api/ast/source/js/defaults.js.json index fdcbe85d..97968075 100644 --- a/docs/api/ast/source/js/defaults.js.json +++ b/docs/api/ast/source/js/defaults.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 558, + "end": 320, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 20, + "line": 16, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 558, + "end": 320, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 20, + "line": 16, "column": 0 } }, @@ -31,14 +31,14 @@ { "type": "Identifier", "start": 65, - "end": 519, + "end": 281, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 17, + "line": 13, "column": 2 } }, @@ -46,14 +46,14 @@ { "type": "VariableDeclarator", "start": 71, - "end": 518, + "end": 280, "loc": { "start": { "line": 7, "column": 6 }, "end": { - "line": 17, + "line": 13, "column": 1 } }, @@ -78,14 +78,14 @@ "init": { "type": "ObjectExpression", "start": 94, - "end": 518, + "end": 280, "loc": { "start": { "line": 7, "column": 29 }, "end": { - "line": 17, + "line": 13, "column": 1 } }, @@ -162,16 +162,16 @@ }, { "type": "ObjectProperty", - "start": 501, - "end": 516, + "start": 253, + "end": 278, "loc": { "start": { - "line": 16, + "line": 12, "column": 4 }, "end": { - "line": 16, - "column": 19 + "line": 12, + "column": 29 } }, "method": false, @@ -179,48 +179,44 @@ "computed": false, "key": { "type": "Identifier", - "start": 501, - "end": 513, + "start": 253, + "end": 272, "loc": { "start": { - "line": 16, + "line": 12, "column": 4 }, "end": { - "line": 16, - "column": 16 + "line": 12, + "column": 23 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax", + "name": "displayMilliseconds", "leadingComments": null }, "value": { - "type": "NumericLiteral", - "start": 515, - "end": 516, + "type": "BooleanLiteral", + "start": 274, + "end": 278, "loc": { "start": { - "line": 16, - "column": 18 + "line": 12, + "column": 25 }, "end": { - "line": 16, - "column": 19 + "line": 12, + "column": 29 } }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 + "value": true }, "leadingComments": [ { "type": "CommentLine", - "value": " msDisplayMax indicates the number of seconds that is", + "value": " Boolean indicating if milliseconds should be included,", "start": 155, - "end": 210, + "end": 212, "loc": { "start": { "line": 10, @@ -228,15 +224,15 @@ }, "end": { "line": 10, - "column": 59 + "column": 61 } } }, { "type": "CommentLine", - "value": " considered the boundary value for displaying milliseconds", - "start": 215, - "end": 275, + "value": " e.g. \"00:00:000\" vs \"00:00\".", + "start": 217, + "end": 248, "loc": { "start": { "line": 11, @@ -244,71 +240,7 @@ }, "end": { "line": 11, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " in the time controls. An audio clip with a total length of", - "start": 280, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 4 - }, - "end": { - "line": 12, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " 2 seconds and a msDisplayMax of 3 will use the format", - "start": 346, - "end": 402, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 60 - } - } - }, - { - "type": "CommentLine", - "value": " M:SS:MMM. Clips longer than msDisplayMax will be displayed", - "start": 407, - "end": 468, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " as M:SS or HH:MM:SS.", - "start": 473, - "end": 496, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 27 + "column": 35 } } } @@ -326,29 +258,29 @@ }, { "type": "Identifier", - "start": 521, - "end": 557, + "start": 283, + "end": 319, "loc": { "start": { - "line": 19, + "line": 15, "column": 0 }, "end": { - "line": 19, + "line": 15, "column": 36 } }, "declaration": { "type": "Identifier", - "start": 536, - "end": 556, + "start": 298, + "end": 318, "loc": { "start": { - "line": 19, + "line": 15, "column": 15 }, "end": { - "line": 19, + "line": 15, "column": 35 }, "identifierName": "pluginDefaultOptions" @@ -361,29 +293,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 521, - "end": 557, + "start": 283, + "end": 319, "loc": { "start": { - "line": 19, + "line": 15, "column": 0 }, "end": { - "line": 19, + "line": 15, "column": 36 } }, "declaration": { "type": "VariableDeclaration", "start": 65, - "end": 519, + "end": 281, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 17, + "line": 13, "column": 2 } }, @@ -391,14 +323,14 @@ { "type": "VariableDeclarator", "start": 71, - "end": 518, + "end": 280, "loc": { "start": { "line": 7, "column": 6 }, "end": { - "line": 17, + "line": 13, "column": 1 } }, @@ -423,14 +355,14 @@ "init": { "type": "ObjectExpression", "start": 94, - "end": 518, + "end": 280, "loc": { "start": { "line": 7, "column": 29 }, "end": { - "line": 17, + "line": 13, "column": 1 } }, @@ -507,16 +439,16 @@ }, { "type": "ObjectProperty", - "start": 501, - "end": 516, + "start": 253, + "end": 278, "loc": { "start": { - "line": 16, + "line": 12, "column": 4 }, "end": { - "line": 16, - "column": 19 + "line": 12, + "column": 29 } }, "method": false, @@ -524,48 +456,44 @@ "computed": false, "key": { "type": "Identifier", - "start": 501, - "end": 513, + "start": 253, + "end": 272, "loc": { "start": { - "line": 16, + "line": 12, "column": 4 }, "end": { - "line": 16, - "column": 16 + "line": 12, + "column": 23 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax", + "name": "displayMilliseconds", "leadingComments": null }, "value": { - "type": "NumericLiteral", - "start": 515, - "end": 516, + "type": "BooleanLiteral", + "start": 274, + "end": 278, "loc": { "start": { - "line": 16, - "column": 18 + "line": 12, + "column": 25 }, "end": { - "line": 16, - "column": 19 + "line": 12, + "column": 29 } }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 + "value": true }, "leadingComments": [ { "type": "CommentLine", - "value": " msDisplayMax indicates the number of seconds that is", + "value": " Boolean indicating if milliseconds should be included,", "start": 155, - "end": 210, + "end": 212, "loc": { "start": { "line": 10, @@ -573,15 +501,15 @@ }, "end": { "line": 10, - "column": 59 + "column": 61 } } }, { "type": "CommentLine", - "value": " considered the boundary value for displaying milliseconds", - "start": 215, - "end": 275, + "value": " e.g. \"00:00:000\" vs \"00:00\".", + "start": 217, + "end": 248, "loc": { "start": { "line": 11, @@ -589,71 +517,7 @@ }, "end": { "line": 11, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " in the time controls. An audio clip with a total length of", - "start": 280, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 4 - }, - "end": { - "line": 12, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " 2 seconds and a msDisplayMax of 3 will use the format", - "start": 346, - "end": 402, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 60 - } - } - }, - { - "type": "CommentLine", - "value": " M:SS:MMM. Clips longer than msDisplayMax will be displayed", - "start": 407, - "end": 468, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " as M:SS or HH:MM:SS.", - "start": 473, - "end": 496, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 27 + "column": 35 } } } @@ -756,9 +620,9 @@ }, { "type": "CommentLine", - "value": " msDisplayMax indicates the number of seconds that is", + "value": " Boolean indicating if milliseconds should be included,", "start": 155, - "end": 210, + "end": 212, "loc": { "start": { "line": 10, @@ -766,15 +630,15 @@ }, "end": { "line": 10, - "column": 59 + "column": 61 } } }, { "type": "CommentLine", - "value": " considered the boundary value for displaying milliseconds", - "start": 215, - "end": 275, + "value": " e.g. \"00:00:000\" vs \"00:00\".", + "start": 217, + "end": 248, "loc": { "start": { "line": 11, @@ -782,71 +646,7 @@ }, "end": { "line": 11, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " in the time controls. An audio clip with a total length of", - "start": 280, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 4 - }, - "end": { - "line": 12, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " 2 seconds and a msDisplayMax of 3 will use the format", - "start": 346, - "end": 402, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 60 - } - } - }, - { - "type": "CommentLine", - "value": " M:SS:MMM. Clips longer than msDisplayMax will be displayed", - "start": 407, - "end": 468, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " as M:SS or HH:MM:SS.", - "start": 473, - "end": 496, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 27 + "column": 35 } } } @@ -1114,9 +914,9 @@ }, { "type": "CommentLine", - "value": " msDisplayMax indicates the number of seconds that is", + "value": " Boolean indicating if milliseconds should be included,", "start": 155, - "end": 210, + "end": 212, "loc": { "start": { "line": 10, @@ -1124,15 +924,15 @@ }, "end": { "line": 10, - "column": 59 + "column": 61 } } }, { "type": "CommentLine", - "value": " considered the boundary value for displaying milliseconds", - "start": 215, - "end": 275, + "value": " e.g. \"00:00:000\" vs \"00:00\".", + "start": 217, + "end": 248, "loc": { "start": { "line": 11, @@ -1140,71 +940,7 @@ }, "end": { "line": 11, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " in the time controls. An audio clip with a total length of", - "start": 280, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 4 - }, - "end": { - "line": 12, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " 2 seconds and a msDisplayMax of 3 will use the format", - "start": 346, - "end": 402, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 60 - } - } - }, - { - "type": "CommentLine", - "value": " M:SS:MMM. Clips longer than msDisplayMax will be displayed", - "start": 407, - "end": 468, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 65 - } - } - }, - { - "type": "CommentLine", - "value": " as M:SS or HH:MM:SS.", - "start": 473, - "end": 496, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 27 + "column": 35 } } }, @@ -1220,17 +956,17 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 501, - "end": 513, + "value": "displayMilliseconds", + "start": 253, + "end": 272, "loc": { "start": { - "line": 16, + "line": 12, "column": 4 }, "end": { - "line": 16, - "column": 16 + "line": 12, + "column": 23 } } }, @@ -1247,22 +983,23 @@ "binop": null, "updateContext": null }, - "start": 513, - "end": 514, + "start": 272, + "end": 273, "loc": { "start": { - "line": 16, - "column": 16 + "line": 12, + "column": 23 }, "end": { - "line": 16, - "column": 17 + "line": 12, + "column": 24 } } }, { "type": { - "label": "num", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1273,17 +1010,17 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 515, - "end": 516, + "value": "true", + "start": 274, + "end": 278, "loc": { "start": { - "line": 16, - "column": 18 + "line": 12, + "column": 25 }, "end": { - "line": 16, - "column": 19 + "line": 12, + "column": 29 } } }, @@ -1299,15 +1036,15 @@ "postfix": false, "binop": null }, - "start": 517, - "end": 518, + "start": 279, + "end": 280, "loc": { "start": { - "line": 17, + "line": 13, "column": 0 }, "end": { - "line": 17, + "line": 13, "column": 1 } } @@ -1325,15 +1062,15 @@ "binop": null, "updateContext": null }, - "start": 518, - "end": 519, + "start": 280, + "end": 281, "loc": { "start": { - "line": 17, + "line": 13, "column": 1 }, "end": { - "line": 17, + "line": 13, "column": 2 } } @@ -1353,15 +1090,15 @@ "updateContext": null }, "value": "export", - "start": 521, - "end": 527, + "start": 283, + "end": 289, "loc": { "start": { - "line": 19, + "line": 15, "column": 0 }, "end": { - "line": 19, + "line": 15, "column": 6 } } @@ -1381,15 +1118,15 @@ "updateContext": null }, "value": "default", - "start": 528, - "end": 535, + "start": 290, + "end": 297, "loc": { "start": { - "line": 19, + "line": 15, "column": 7 }, "end": { - "line": 19, + "line": 15, "column": 14 } } @@ -1407,15 +1144,15 @@ "binop": null }, "value": "pluginDefaultOptions", - "start": 536, - "end": 556, + "start": 298, + "end": 318, "loc": { "start": { - "line": 19, + "line": 15, "column": 15 }, "end": { - "line": 19, + "line": 15, "column": 35 } } @@ -1433,15 +1170,15 @@ "binop": null, "updateContext": null }, - "start": 556, - "end": 557, + "start": 318, + "end": 319, "loc": { "start": { - "line": 19, + "line": 15, "column": 35 }, "end": { - "line": 19, + "line": 15, "column": 36 } } @@ -1459,15 +1196,15 @@ "binop": null, "updateContext": null }, - "start": 558, - "end": 558, + "start": 320, + "end": 320, "loc": { "start": { - "line": 20, + "line": 16, "column": 0 }, "end": { - "line": 20, + "line": 16, "column": 0 } } diff --git a/docs/api/ast/source/js/utils/format-time.js.json b/docs/api/ast/source/js/utils/format-time.js.json index d98b9eed..9613b188 100644 --- a/docs/api/ast/source/js/utils/format-time.js.json +++ b/docs/api/ast/source/js/utils/format-time.js.json @@ -1,73 +1,249 @@ { "type": "File", "start": 0, - "end": 1996, + "end": 1693, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, + "line": 59, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1996, + "end": 1693, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, + "line": 59, "column": 0 } }, "sourceType": "module", "body": [ + { + "type": "ImportDeclaration", + "start": 49, + "end": 80, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 31 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 56, + "end": 63, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 56, + "end": 63, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 14 + }, + "identifierName": "addZero" + }, + "name": "addZero", + "leadingComments": null + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 69, + "end": 79, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 30 + } + }, + "extra": { + "rawValue": "add-zero", + "raw": "'add-zero'" + }, + "value": "add-zero" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @file format-time.js\n * @since 2.0.0\n ", + "start": 0, + "end": 47, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 81, + "end": 122, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 41 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 88, + "end": 105, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 24 + } + }, + "local": { + "type": "Identifier", + "start": 88, + "end": 105, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 24 + }, + "identifierName": "parseMilliseconds" + }, + "name": "parseMilliseconds" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 111, + "end": 121, + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 40 + } + }, + "extra": { + "rawValue": "parse-ms", + "raw": "'parse-ms'" + }, + "value": "parse-ms" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Format seconds as a duration string.\n *\n * Either formatted as:\n *\n * - DD:HH:MM:SS (> 24 hours)\n * - HH:MM:SS (> 1 hour)\n * - MM:SS:MSS (`displayMilliseconds = true`)\n * - MM:SS (`displayMilliseconds = false`)\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string after.\n * @param {boolean} displayMilliseconds - Display milliseconds or not.\n * @return {string} Formatted duration time, e.g '00:12:653'.\n * @private\n ", + "start": 124, + "end": 760, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, { "type": "Identifier", - "start": 588, - "end": 1967, + "start": 761, + "end": 1664, "loc": { "start": { - "line": 22, + "line": 29, "column": 0 }, "end": { - "line": 66, + "line": 56, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 594, - "end": 1966, + "start": 767, + "end": 1663, "loc": { "start": { - "line": 22, + "line": 29, "column": 6 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, "id": { "type": "Identifier", - "start": 594, - "end": 604, + "start": 767, + "end": 777, "loc": { "start": { - "line": 22, + "line": 29, "column": 6 }, "end": { - "line": 22, + "line": 29, "column": 16 }, "identifierName": "formatTime" @@ -77,15 +253,15 @@ }, "init": { "type": "FunctionExpression", - "start": 607, - "end": 1966, + "start": 780, + "end": 1663, "loc": { "start": { - "line": 22, + "line": 29, "column": 19 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, @@ -96,15 +272,15 @@ "params": [ { "type": "Identifier", - "start": 616, - "end": 623, + "start": 789, + "end": 796, "loc": { "start": { - "line": 22, + "line": 29, "column": 28 }, "end": { - "line": 22, + "line": 29, "column": 35 }, "identifierName": "seconds" @@ -113,15 +289,15 @@ }, { "type": "Identifier", - "start": 625, - "end": 630, + "start": 798, + "end": 803, "loc": { "start": { - "line": 22, + "line": 29, "column": 37 }, "end": { - "line": 22, + "line": 29, "column": 42 }, "identifierName": "guide" @@ -129,124 +305,154 @@ "name": "guide" }, { - "type": "Identifier", - "start": 632, - "end": 644, + "type": "AssignmentPattern", + "start": 805, + "end": 831, "loc": { "start": { - "line": 22, + "line": 29, "column": 44 }, "end": { - "line": 22, - "column": 56 + "line": 29, + "column": 70 + } + }, + "left": { + "type": "Identifier", + "start": 805, + "end": 824, + "loc": { + "start": { + "line": 29, + "column": 44 + }, + "end": { + "line": 29, + "column": 63 + }, + "identifierName": "displayMilliseconds" }, - "identifierName": "msDisplayMax" + "name": "displayMilliseconds" }, - "name": "msDisplayMax" + "right": { + "type": "BooleanLiteral", + "start": 827, + "end": 831, + "loc": { + "start": { + "line": 29, + "column": 66 + }, + "end": { + "line": 29, + "column": 70 + } + }, + "value": true + } } ], "body": { "type": "BlockStatement", - "start": 646, - "end": 1966, + "start": 833, + "end": 1663, "loc": { "start": { - "line": 22, - "column": 58 + "line": 29, + "column": 72 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 693, - "end": 729, + "start": 839, + "end": 875, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 693, - "end": 728, + "start": 839, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", - "start": 693, - "end": 700, + "start": 839, + "end": 846, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 11 }, "identifierName": "seconds" }, - "name": "seconds", - "leadingComments": null + "name": "seconds" }, "right": { "type": "ConditionalExpression", - "start": 703, - "end": 728, + "start": 849, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 39 } }, "test": { "type": "BinaryExpression", - "start": 703, - "end": 714, + "start": 849, + "end": 860, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 25 } }, "left": { "type": "Identifier", - "start": 703, - "end": 710, + "start": 849, + "end": 856, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 21 }, "identifierName": "seconds" @@ -256,15 +462,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 713, - "end": 714, + "start": 859, + "end": 860, "loc": { "start": { - "line": 24, + "line": 30, "column": 24 }, "end": { - "line": 24, + "line": 30, "column": 25 } }, @@ -277,15 +483,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 717, - "end": 718, + "start": 863, + "end": 864, "loc": { "start": { - "line": 24, + "line": 30, "column": 28 }, "end": { - "line": 24, + "line": 30, "column": 29 } }, @@ -297,1681 +503,1327 @@ }, "alternate": { "type": "Identifier", - "start": 721, - "end": 728, + "start": 867, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 32 }, "end": { - "line": 24, + "line": 30, "column": 39 }, "identifierName": "seconds" }, "name": "seconds" } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Default to using seconds as guide", - "start": 652, - "end": 688, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 40 - } - } } - ] + } }, { - "type": "ExpressionStatement", - "start": 734, - "end": 759, + "type": "IfStatement", + "start": 880, + "end": 952, "loc": { "start": { - "line": 25, + "line": 31, "column": 4 }, "end": { - "line": 25, - "column": 29 + "line": 33, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", - "start": 734, - "end": 758, + "test": { + "type": "LogicalExpression", + "start": 884, + "end": 922, "loc": { "start": { - "line": 25, - "column": 4 + "line": 31, + "column": 8 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 } }, - "operator": "=", "left": { - "type": "Identifier", - "start": 734, - "end": 739, + "type": "CallExpression", + "start": 884, + "end": 898, "loc": { "start": { - "line": 25, - "column": 4 + "line": 31, + "column": 8 }, "end": { - "line": 25, - "column": 9 + "line": 31, + "column": 22 + } + }, + "callee": { + "type": "Identifier", + "start": 884, + "end": 889, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 13 + }, + "identifierName": "isNaN" }, - "identifierName": "guide" + "name": "isNaN" }, - "name": "guide" + "arguments": [ + { + "type": "Identifier", + "start": 890, + "end": 897, + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 21 + }, + "identifierName": "seconds" + }, + "name": "seconds" + } + ] }, + "operator": "||", "right": { - "type": "LogicalExpression", - "start": 742, - "end": 758, + "type": "BinaryExpression", + "start": 902, + "end": 922, "loc": { "start": { - "line": 25, - "column": 12 + "line": 31, + "column": 26 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 } }, "left": { "type": "Identifier", - "start": 742, - "end": 747, + "start": 902, + "end": 909, "loc": { "start": { - "line": 25, - "column": 12 + "line": 31, + "column": 26 }, "end": { - "line": 25, - "column": 17 + "line": 31, + "column": 33 }, - "identifierName": "guide" + "identifierName": "seconds" }, - "name": "guide" + "name": "seconds" }, - "operator": "||", + "operator": "===", "right": { "type": "Identifier", - "start": 751, - "end": 758, + "start": 914, + "end": 922, "loc": { "start": { - "line": 25, - "column": 21 + "line": 31, + "column": 38 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 }, - "identifierName": "seconds" + "identifierName": "Infinity" }, - "name": "seconds" + "name": "Infinity" } } - } - }, - { - "type": "VariableDeclaration", - "start": 764, - "end": 1008, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 31, - "column": 46 - } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 768, - "end": 796, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 36 - } + "consequent": { + "type": "BlockStatement", + "start": 924, + "end": 952, + "loc": { + "start": { + "line": 31, + "column": 48 }, - "id": { - "type": "Identifier", - "start": 768, - "end": 769, + "end": { + "line": 33, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 934, + "end": 946, "loc": { "start": { - "line": 26, + "line": 32, "column": 8 }, "end": { - "line": 26, - "column": 9 - }, - "identifierName": "s" + "line": 32, + "column": 20 + } }, - "name": "s" - }, - "init": { - "type": "CallExpression", - "start": 772, - "end": 796, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 772, - "end": 782, + "expression": { + "type": "AssignmentExpression", + "start": 934, + "end": 945, "loc": { "start": { - "line": 26, - "column": 12 + "line": 32, + "column": 8 }, "end": { - "line": 26, - "column": 22 + "line": 32, + "column": 19 } }, - "object": { - "type": "Identifier", - "start": 772, - "end": 776, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 16 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { + "operator": "=", + "left": { "type": "Identifier", - "start": 777, - "end": 782, + "start": 934, + "end": 941, "loc": { "start": { - "line": 26, - "column": 17 + "line": 32, + "column": 8 }, "end": { - "line": 26, - "column": 22 + "line": 32, + "column": 15 }, - "identifierName": "floor" + "identifierName": "seconds" }, - "name": "floor" + "name": "seconds" }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 783, - "end": 795, + "right": { + "type": "NumericLiteral", + "start": 944, + "end": 945, "loc": { "start": { - "line": 26, - "column": 23 + "line": 32, + "column": 18 }, "end": { - "line": 26, - "column": 35 + "line": 32, + "column": 19 } }, - "left": { - "type": "Identifier", - "start": 783, - "end": 790, - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 30 - }, - "identifierName": "seconds" - }, - "name": "seconds" + "extra": { + "rawValue": 0, + "raw": "0" }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 793, - "end": 795, - "loc": { - "start": { - "line": 26, - "column": 33 - }, - "end": { - "line": 26, - "column": 35 - } - }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } + "value": 0 } - ] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 957, + "end": 1009, + "loc": { + "start": { + "line": 34, + "column": 4 }, + "end": { + "line": 34, + "column": 56 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 806, - "end": 839, + "start": 963, + "end": 1008, "loc": { "start": { - "line": 27, - "column": 8 + "line": 34, + "column": 10 }, "end": { - "line": 27, - "column": 41 + "line": 34, + "column": 55 } }, "id": { "type": "Identifier", - "start": 806, - "end": 807, + "start": 963, + "end": 972, "loc": { "start": { - "line": 27, - "column": 8 + "line": 34, + "column": 10 }, "end": { - "line": 27, - "column": 9 + "line": 34, + "column": 19 }, - "identifierName": "m" + "identifierName": "inputTime" }, - "name": "m" + "name": "inputTime" }, "init": { "type": "CallExpression", - "start": 810, - "end": 839, + "start": 975, + "end": 1008, "loc": { "start": { - "line": 27, - "column": 12 + "line": 34, + "column": 22 }, "end": { - "line": 27, - "column": 41 + "line": 34, + "column": 55 } }, "callee": { - "type": "MemberExpression", - "start": 810, - "end": 820, + "type": "Identifier", + "start": 975, + "end": 992, "loc": { "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, + "line": 34, "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 810, - "end": 814, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 16 - }, - "identifierName": "Math" }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 815, - "end": 820, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 22 - }, - "identifierName": "floor" + "end": { + "line": 34, + "column": 39 }, - "name": "floor" + "identifierName": "parseMilliseconds" }, - "computed": false + "name": "parseMilliseconds" }, "arguments": [ { "type": "BinaryExpression", - "start": 821, - "end": 838, + "start": 993, + "end": 1007, "loc": { "start": { - "line": 27, - "column": 23 + "line": 34, + "column": 40 }, "end": { - "line": 27, - "column": 40 + "line": 34, + "column": 54 } }, "left": { - "type": "BinaryExpression", - "start": 821, - "end": 833, + "type": "Identifier", + "start": 993, + "end": 1000, "loc": { "start": { - "line": 27, - "column": 23 + "line": 34, + "column": 40 }, "end": { - "line": 27, - "column": 35 - } - }, - "left": { - "type": "Identifier", - "start": 821, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 23 - }, - "end": { - "line": 27, - "column": 30 - }, - "identifierName": "seconds" + "line": 34, + "column": 47 }, - "name": "seconds" + "identifierName": "seconds" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 831, - "end": 833, - "loc": { - "start": { - "line": 27, - "column": 33 - }, - "end": { - "line": 27, - "column": 35 - } - }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } + "name": "seconds" }, - "operator": "%", + "operator": "*", "right": { "type": "NumericLiteral", - "start": 836, - "end": 838, + "start": 1003, + "end": 1007, "loc": { "start": { - "line": 27, - "column": 38 + "line": 34, + "column": 50 }, "end": { - "line": 27, - "column": 40 + "line": 34, + "column": 54 } }, "extra": { - "rawValue": 60, - "raw": "60" + "rawValue": 1000, + "raw": "1000" }, - "value": 60 + "value": 1000 } } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1014, + "end": 1040, + "loc": { + "start": { + "line": 35, + "column": 4 }, + "end": { + "line": 35, + "column": 30 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 849, - "end": 879, + "start": 1018, + "end": 1039, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, - "column": 38 + "line": 35, + "column": 29 } }, "id": { "type": "Identifier", - "start": 849, - "end": 850, + "start": 1018, + "end": 1027, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, - "column": 9 + "line": 35, + "column": 17 }, - "identifierName": "h" + "identifierName": "guideTime" }, - "name": "h" + "name": "guideTime" }, "init": { - "type": "CallExpression", - "start": 853, - "end": 879, + "type": "Identifier", + "start": 1030, + "end": 1039, "loc": { "start": { - "line": 28, - "column": 12 + "line": 35, + "column": 20 }, "end": { - "line": 28, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 853, - "end": 863, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 853, - "end": 857, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 16 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 858, - "end": 863, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "floor" - }, - "name": "floor" + "line": 35, + "column": 29 }, - "computed": false + "identifierName": "inputTime" }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 864, - "end": 878, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "left": { - "type": "Identifier", - "start": 864, - "end": 871, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 30 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 874, - "end": 878, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "extra": { - "rawValue": 3600, - "raw": "3600" - }, - "value": 3600 - } - } - ] + "name": "inputTime" } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1045, + "end": 1130, + "loc": { + "start": { + "line": 36, + "column": 4 }, - { - "type": "VariableDeclarator", - "start": 889, - "end": 921, + "end": { + "line": 38, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1049, + "end": 1068, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 1049, + "end": 1054, "loc": { "start": { - "line": 29, + "line": 36, "column": 8 }, "end": { - "line": 29, - "column": 40 - } + "line": 36, + "column": 13 + }, + "identifierName": "guide" }, - "id": { - "type": "Identifier", - "start": 889, - "end": 891, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 10 - }, - "identifierName": "gm" + "name": "guide" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 1059, + "end": 1068, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 27 }, - "name": "gm" + "identifierName": "undefined" }, - "init": { - "type": "CallExpression", - "start": 894, - "end": 921, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1070, + "end": 1130, + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1080, + "end": 1124, "loc": { "start": { - "line": 29, - "column": 13 + "line": 37, + "column": 8 }, "end": { - "line": 29, - "column": 40 + "line": 37, + "column": 52 } }, - "callee": { - "type": "MemberExpression", - "start": 894, - "end": 904, + "expression": { + "type": "AssignmentExpression", + "start": 1080, + "end": 1123, "loc": { "start": { - "line": 29, - "column": 13 + "line": 37, + "column": 8 }, "end": { - "line": 29, - "column": 23 + "line": 37, + "column": 51 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 894, - "end": 898, + "start": 1080, + "end": 1089, "loc": { "start": { - "line": 29, - "column": 13 + "line": 37, + "column": 8 }, "end": { - "line": 29, + "line": 37, "column": 17 }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 899, - "end": 904, - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 23 - }, - "identifierName": "floor" + "identifierName": "guideTime" }, - "name": "floor" + "name": "guideTime" }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 905, - "end": 920, + "right": { + "type": "CallExpression", + "start": 1092, + "end": 1123, "loc": { "start": { - "line": 29, - "column": 24 + "line": 37, + "column": 20 }, "end": { - "line": 29, - "column": 39 + "line": 37, + "column": 51 } }, - "left": { - "type": "BinaryExpression", - "start": 905, - "end": 915, + "callee": { + "type": "Identifier", + "start": 1092, + "end": 1109, "loc": { "start": { - "line": 29, - "column": 24 + "line": 37, + "column": 20 }, "end": { - "line": 29, - "column": 34 - } - }, - "left": { - "type": "Identifier", - "start": 905, - "end": 910, - "loc": { - "start": { - "line": 29, - "column": 24 - }, - "end": { - "line": 29, - "column": 29 - }, - "identifierName": "guide" + "line": 37, + "column": 37 }, - "name": "guide" + "identifierName": "parseMilliseconds" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 913, - "end": 915, + "name": "parseMilliseconds" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1110, + "end": 1122, "loc": { "start": { - "line": 29, - "column": 32 + "line": 37, + "column": 38 }, "end": { - "line": 29, - "column": 34 + "line": 37, + "column": 50 } }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } - }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 918, - "end": 920, - "loc": { - "start": { - "line": 29, - "column": 37 + "left": { + "type": "Identifier", + "start": 1110, + "end": 1115, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 43 + }, + "identifierName": "guide" + }, + "name": "guide" }, - "end": { - "line": 29, - "column": 39 + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 1118, + "end": 1122, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 50 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 } - }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } + } + ] } - ] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1135, + "end": 1171, + "loc": { + "start": { + "line": 39, + "column": 4 }, + "end": { + "line": 39, + "column": 40 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 931, - "end": 960, + "start": 1141, + "end": 1170, "loc": { "start": { - "line": 30, - "column": 8 + "line": 39, + "column": 10 }, "end": { - "line": 30, - "column": 37 + "line": 39, + "column": 39 } }, "id": { "type": "Identifier", - "start": 931, - "end": 933, + "start": 1141, + "end": 1143, "loc": { "start": { - "line": 30, - "column": 8 + "line": 39, + "column": 10 }, "end": { - "line": 30, - "column": 10 + "line": 39, + "column": 12 }, - "identifierName": "gh" + "identifierName": "hr" }, - "name": "gh" + "name": "hr" }, "init": { "type": "CallExpression", - "start": 936, - "end": 960, + "start": 1146, + "end": 1170, "loc": { "start": { - "line": 30, - "column": 13 + "line": 39, + "column": 15 }, "end": { - "line": 30, - "column": 37 + "line": 39, + "column": 39 } }, "callee": { - "type": "MemberExpression", - "start": 936, - "end": 946, + "type": "Identifier", + "start": 1146, + "end": 1153, "loc": { "start": { - "line": 30, - "column": 13 + "line": 39, + "column": 15 }, "end": { - "line": 30, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 936, - "end": 940, - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 941, - "end": 946, - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "floor" + "line": 39, + "column": 22 }, - "name": "floor" + "identifierName": "addZero" }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 947, - "end": 959, + "type": "MemberExpression", + "start": 1154, + "end": 1169, "loc": { "start": { - "line": 30, - "column": 24 + "line": 39, + "column": 23 }, "end": { - "line": 30, - "column": 36 + "line": 39, + "column": 38 } }, - "left": { + "object": { "type": "Identifier", - "start": 947, - "end": 952, + "start": 1154, + "end": 1163, "loc": { "start": { - "line": 30, - "column": 24 + "line": 39, + "column": 23 }, "end": { - "line": 30, - "column": 29 + "line": 39, + "column": 32 }, - "identifierName": "guide" + "identifierName": "inputTime" }, - "name": "guide" + "name": "inputTime" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 955, - "end": 959, + "property": { + "type": "Identifier", + "start": 1164, + "end": 1169, "loc": { "start": { - "line": 30, - "column": 32 + "line": 39, + "column": 33 }, "end": { - "line": 30, - "column": 36 - } - }, - "extra": { - "rawValue": 3600, - "raw": "3600" + "line": 39, + "column": 38 + }, + "identifierName": "hours" }, - "value": 3600 - } + "name": "hours" + }, + "computed": false } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1176, + "end": 1215, + "loc": { + "start": { + "line": 40, + "column": 4 }, + "end": { + "line": 40, + "column": 43 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 970, - "end": 1007, + "start": 1182, + "end": 1214, "loc": { "start": { - "line": 31, - "column": 8 + "line": 40, + "column": 10 }, "end": { - "line": 31, - "column": 45 + "line": 40, + "column": 42 } }, "id": { "type": "Identifier", - "start": 970, - "end": 972, + "start": 1182, + "end": 1185, "loc": { "start": { - "line": 31, - "column": 8 + "line": 40, + "column": 10 }, "end": { - "line": 31, - "column": 10 + "line": 40, + "column": 13 }, - "identifierName": "ms" + "identifierName": "min" }, - "name": "ms" + "name": "min" }, "init": { "type": "CallExpression", - "start": 975, - "end": 1007, + "start": 1188, + "end": 1214, "loc": { "start": { - "line": 31, - "column": 13 + "line": 40, + "column": 16 }, "end": { - "line": 31, - "column": 45 + "line": 40, + "column": 42 } }, "callee": { - "type": "MemberExpression", - "start": 975, - "end": 985, + "type": "Identifier", + "start": 1188, + "end": 1195, "loc": { "start": { - "line": 31, - "column": 13 + "line": 40, + "column": 16 }, "end": { - "line": 31, + "line": 40, "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 980, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 23 - }, - "identifierName": "floor" }, - "name": "floor" + "identifierName": "addZero" }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 986, - "end": 1006, + "type": "MemberExpression", + "start": 1196, + "end": 1213, "loc": { "start": { - "line": 31, + "line": 40, "column": 24 }, "end": { - "line": 31, - "column": 44 + "line": 40, + "column": 41 } }, - "left": { - "type": "BinaryExpression", - "start": 987, - "end": 998, + "object": { + "type": "Identifier", + "start": 1196, + "end": 1205, "loc": { "start": { - "line": 31, - "column": 25 + "line": 40, + "column": 24 }, "end": { - "line": 31, - "column": 36 - } - }, - "left": { - "type": "Identifier", - "start": 987, - "end": 994, - "loc": { - "start": { - "line": 31, - "column": 25 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 997, - "end": 998, - "loc": { - "start": { - "line": 31, - "column": 35 - }, - "end": { - "line": 31, - "column": 36 - }, - "identifierName": "s" + "line": 40, + "column": 33 }, - "name": "s" + "identifierName": "inputTime" }, - "extra": { - "parenthesized": true, - "parenStart": 986 - } + "name": "inputTime" }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 1002, - "end": 1006, + "property": { + "type": "Identifier", + "start": 1206, + "end": 1213, "loc": { "start": { - "line": 31, - "column": 40 + "line": 40, + "column": 34 }, "end": { - "line": 31, - "column": 44 - } - }, - "extra": { - "rawValue": 1000, - "raw": "1000" + "line": 40, + "column": 41 + }, + "identifierName": "minutes" }, - "value": 1000 - } + "name": "minutes" + }, + "computed": false } ] } } ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 27 - } - } - } - ] + "kind": "const" }, { - "type": "IfStatement", - "start": 1042, - "end": 1288, + "type": "VariableDeclaration", + "start": 1220, + "end": 1259, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 39, - "column": 5 + "line": 41, + "column": 43 } }, - "test": { - "type": "LogicalExpression", - "start": 1046, - "end": 1084, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 46 - } - }, - "left": { - "type": "CallExpression", - "start": 1046, - "end": 1060, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1226, + "end": 1258, "loc": { "start": { - "line": 34, - "column": 8 + "line": 41, + "column": 10 }, "end": { - "line": 34, - "column": 22 + "line": 41, + "column": 42 } }, - "callee": { + "id": { "type": "Identifier", - "start": 1046, - "end": 1051, + "start": 1226, + "end": 1229, "loc": { "start": { - "line": 34, - "column": 8 + "line": 41, + "column": 10 }, "end": { - "line": 34, + "line": 41, "column": 13 }, - "identifierName": "isNaN" + "identifierName": "sec" }, - "name": "isNaN", - "leadingComments": null + "name": "sec" }, - "arguments": [ - { + "init": { + "type": "CallExpression", + "start": 1232, + "end": 1258, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 42 + } + }, + "callee": { "type": "Identifier", - "start": 1052, - "end": 1059, + "start": 1232, + "end": 1239, "loc": { "start": { - "line": 34, - "column": 14 + "line": 41, + "column": 16 }, "end": { - "line": 34, - "column": 21 + "line": 41, + "column": 23 }, - "identifierName": "seconds" - }, - "name": "seconds" - } - ], - "leadingComments": null - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 1064, - "end": 1084, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 46 - } - }, - "left": { - "type": "Identifier", - "start": 1064, - "end": 1071, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 33 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 1076, - "end": 1084, - "loc": { - "start": { - "line": 34, - "column": 38 - }, - "end": { - "line": 34, - "column": 46 + "identifierName": "addZero" }, - "identifierName": "Infinity" + "name": "addZero" }, - "name": "Infinity" - } + "arguments": [ + { + "type": "MemberExpression", + "start": 1240, + "end": 1257, + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1240, + "end": 1249, + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 33 + }, + "identifierName": "inputTime" + }, + "name": "inputTime" + }, + "property": { + "type": "Identifier", + "start": 1250, + "end": 1257, + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 41 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1264, + "end": 1310, + "loc": { + "start": { + "line": 42, + "column": 4 }, - "leadingComments": null + "end": { + "line": 42, + "column": 50 + } }, - "consequent": { - "type": "BlockStatement", - "start": 1086, - "end": 1288, - "loc": { - "start": { - "line": 34, - "column": 48 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1270, + "end": 1309, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 49 + } }, - "end": { - "line": 39, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1261, - "end": 1282, + "id": { + "type": "Identifier", + "start": 1270, + "end": 1272, "loc": { "start": { - "line": 38, - "column": 8 + "line": 42, + "column": 10 }, "end": { - "line": 38, - "column": 29 + "line": 42, + "column": 12 + }, + "identifierName": "ms" + }, + "name": "ms" + }, + "init": { + "type": "CallExpression", + "start": 1275, + "end": 1309, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 42, + "column": 49 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1261, - "end": 1281, + "callee": { + "type": "Identifier", + "start": 1275, + "end": 1282, "loc": { "start": { - "line": 38, - "column": 8 + "line": 42, + "column": 15 }, "end": { - "line": 38, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1261, - "end": 1262, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - }, - "identifierName": "h" + "line": 42, + "column": 22 }, - "name": "h", - "leadingComments": null + "identifierName": "addZero" }, - "right": { - "type": "AssignmentExpression", - "start": 1265, - "end": 1281, + "name": "addZero" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1283, + "end": 1305, "loc": { "start": { - "line": 38, - "column": 12 + "line": 42, + "column": 23 }, "end": { - "line": 38, - "column": 28 + "line": 42, + "column": 45 } }, - "operator": "=", - "left": { + "object": { "type": "Identifier", - "start": 1265, - "end": 1266, + "start": 1283, + "end": 1292, "loc": { "start": { - "line": 38, - "column": 12 + "line": 42, + "column": 23 }, "end": { - "line": 38, - "column": 13 + "line": 42, + "column": 32 }, - "identifierName": "m" + "identifierName": "inputTime" }, - "name": "m" + "name": "inputTime" }, - "right": { - "type": "AssignmentExpression", - "start": 1269, - "end": 1281, + "property": { + "type": "Identifier", + "start": 1293, + "end": 1305, "loc": { "start": { - "line": 38, - "column": 16 + "line": 42, + "column": 33 }, "end": { - "line": 38, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1269, - "end": 1270, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 17 - }, - "identifierName": "s" - }, - "name": "s" - }, - "right": { - "type": "AssignmentExpression", - "start": 1273, - "end": 1281, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1273, - "end": 1275, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 22 - }, - "identifierName": "ms" - }, - "name": "ms" + "line": 42, + "column": 45 }, - "right": { - "type": "StringLiteral", - "start": 1278, - "end": 1281, - "loc": { - "start": { - "line": 38, - "column": 25 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "extra": { - "rawValue": "-", - "raw": "'-'" - }, - "value": "-" - } - } - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " '-' is false for all relational operators (e.g. <, >=) so this", - "start": 1096, - "end": 1161, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " setting will add the minimum number of fields specified by the", - "start": 1170, - "end": 1235, - "loc": { - "start": { - "line": 36, - "column": 8 + "identifierName": "milliseconds" }, - "end": { - "line": 36, - "column": 73 - } - } + "name": "milliseconds" + }, + "computed": false }, { - "type": "CommentLine", - "value": " guide", - "start": 1244, - "end": 1252, + "type": "NumericLiteral", + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 37, - "column": 8 + "line": 42, + "column": 47 }, "end": { - "line": 37, - "column": 16 + "line": 42, + "column": 48 } - } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 } ] } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 27 - } - } } ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 44 - } - } - } - ] + "kind": "const" }, { "type": "IfStatement", - "start": 1339, - "end": 1597, + "start": 1316, + "end": 1459, "loc": { "start": { - "line": 42, + "line": 44, "column": 4 }, "end": { - "line": 53, + "line": 47, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 1343, - "end": 1376, + "start": 1320, + "end": 1360, "loc": { "start": { - "line": 42, + "line": 44, "column": 8 }, "end": { - "line": 42, - "column": 41 + "line": 44, + "column": 48 } }, "left": { "type": "BinaryExpression", - "start": 1343, - "end": 1352, + "start": 1320, + "end": 1338, "loc": { "start": { - "line": 42, + "line": 44, "column": 8 }, "end": { - "line": 42, - "column": 17 + "line": 44, + "column": 26 } }, "left": { - "type": "Identifier", - "start": 1343, - "end": 1348, + "type": "MemberExpression", + "start": 1320, + "end": 1334, "loc": { "start": { - "line": 42, + "line": 44, "column": 8 }, "end": { - "line": 42, - "column": 13 - }, - "identifierName": "guide" + "line": 44, + "column": 22 + } }, - "name": "guide", - "leadingComments": null - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 1351, - "end": 1352, + "object": { + "type": "Identifier", + "start": 1320, + "end": 1329, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 17 + }, + "identifierName": "inputTime" + }, + "name": "inputTime" + }, + "property": { + "type": "Identifier", + "start": 1330, + "end": 1334, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 22 + }, + "identifierName": "days" + }, + "name": "days" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1337, + "end": 1338, "loc": { "start": { - "line": 42, - "column": 16 + "line": 44, + "column": 25 }, "end": { - "line": 42, - "column": 17 + "line": 44, + "column": 26 } }, "extra": { @@ -1979,1747 +1831,1181 @@ "raw": "0" }, "value": 0 - }, - "leadingComments": null + } }, - "operator": "&&", + "operator": "||", "right": { "type": "BinaryExpression", - "start": 1356, - "end": 1376, + "start": 1342, + "end": 1360, "loc": { "start": { - "line": 42, - "column": 21 + "line": 44, + "column": 30 }, "end": { - "line": 42, - "column": 41 + "line": 44, + "column": 48 } }, "left": { - "type": "Identifier", - "start": 1356, - "end": 1361, + "type": "MemberExpression", + "start": 1342, + "end": 1356, "loc": { "start": { - "line": 42, - "column": 21 + "line": 44, + "column": 30 }, "end": { - "line": 42, - "column": 26 + "line": 44, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 1342, + "end": 1351, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 39 + }, + "identifierName": "guideTime" }, - "identifierName": "guide" + "name": "guideTime" }, - "name": "guide" + "property": { + "type": "Identifier", + "start": 1352, + "end": 1356, + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 44 + }, + "identifierName": "days" + }, + "name": "days" + }, + "computed": false }, - "operator": "<", + "operator": ">", "right": { - "type": "Identifier", - "start": 1364, - "end": 1376, + "type": "NumericLiteral", + "start": 1359, + "end": 1360, "loc": { "start": { - "line": 42, - "column": 29 + "line": 44, + "column": 47 }, "end": { - "line": 42, - "column": 41 - }, - "identifierName": "msDisplayMax" + "line": 44, + "column": 48 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" }, - "name": "msDisplayMax" + "value": 0 } - }, - "leadingComments": null + } }, "consequent": { "type": "BlockStatement", - "start": 1378, - "end": 1567, + "start": 1362, + "end": 1459, "loc": { "start": { - "line": 42, - "column": 43 + "line": 44, + "column": 50 }, "end": { - "line": 51, + "line": 47, "column": 5 } }, "body": [ { - "type": "IfStatement", - "start": 1388, - "end": 1538, + "type": "VariableDeclaration", + "start": 1372, + "end": 1408, "loc": { "start": { - "line": 43, + "line": 45, "column": 8 }, "end": { - "line": 49, - "column": 9 + "line": 45, + "column": 44 } }, - "test": { - "type": "BinaryExpression", - "start": 1392, - "end": 1400, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 20 - } - }, - "left": { - "type": "Identifier", - "start": 1392, - "end": 1394, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1378, + "end": 1407, "loc": { "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, + "line": 45, "column": 14 }, - "identifierName": "ms" - }, - "name": "ms" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1397, - "end": 1400, - "loc": { - "start": { - "line": 43, - "column": 17 - }, "end": { - "line": 43, - "column": 20 + "line": 45, + "column": 43 } }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1402, - "end": 1538, - "loc": { - "start": { - "line": 43, - "column": 22 + "id": { + "type": "Identifier", + "start": 1378, + "end": 1381, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 17 + }, + "identifierName": "day" + }, + "name": "day" }, - "end": { - "line": 49, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1416, - "end": 1528, + "init": { + "type": "CallExpression", + "start": 1384, + "end": 1407, "loc": { "start": { - "line": 44, - "column": 12 + "line": 45, + "column": 20 }, "end": { - "line": 48, - "column": 13 + "line": 45, + "column": 43 } }, - "test": { - "type": "BinaryExpression", - "start": 1420, - "end": 1427, + "callee": { + "type": "Identifier", + "start": 1384, + "end": 1391, "loc": { "start": { - "line": 44, - "column": 16 + "line": 45, + "column": 20 }, "end": { - "line": 44, - "column": 23 - } - }, - "left": { - "type": "Identifier", - "start": 1420, - "end": 1422, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "ms" + "line": 45, + "column": 27 }, - "name": "ms" + "identifierName": "addZero" }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1425, - "end": 1427, + "name": "addZero" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1392, + "end": 1406, "loc": { "start": { - "line": 44, - "column": 21 + "line": 45, + "column": 28 }, "end": { - "line": 44, - "column": 23 + "line": 45, + "column": 42 } }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1429, - "end": 1476, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 46, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1447, - "end": 1462, + "object": { + "type": "Identifier", + "start": 1392, + "end": 1401, "loc": { "start": { "line": 45, - "column": 16 + "column": 28 }, "end": { "line": 45, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1447, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1447, - "end": 1449, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 18 - }, - "identifierName": "ms" - }, - "name": "ms" + "column": 37 }, - "right": { - "type": "BinaryExpression", - "start": 1452, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 21 - }, - "end": { - "line": 45, - "column": 30 - } - }, - "left": { - "type": "StringLiteral", - "start": 1452, - "end": 1456, - "loc": { - "start": { - "line": 45, - "column": 21 - }, - "end": { - "line": 45, - "column": 25 - } - }, - "extra": { - "rawValue": "00", - "raw": "'00'" - }, - "value": "00" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1459, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 30 - }, - "identifierName": "ms" - }, - "name": "ms" - } - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 1482, - "end": 1528, - "loc": { - "start": { - "line": 46, - "column": 19 + "identifierName": "inputTime" + }, + "name": "inputTime" }, - "end": { - "line": 48, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1500, - "end": 1514, + "property": { + "type": "Identifier", + "start": 1402, + "end": 1406, "loc": { "start": { - "line": 47, - "column": 16 + "line": 45, + "column": 38 }, "end": { - "line": 47, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1500, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1500, - "end": 1502, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "ms" - }, - "name": "ms" + "line": 45, + "column": 42 }, - "right": { - "type": "BinaryExpression", - "start": 1505, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 29 - } - }, - "left": { - "type": "StringLiteral", - "start": 1505, - "end": 1508, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 24 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1511, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 29 - }, - "identifierName": "ms" - }, - "name": "ms" - } - } - } - } - ], - "directives": [] - } + "identifierName": "days" + }, + "name": "days" + }, + "computed": false + } + ] } - ], - "directives": [] - }, - "alternate": null + } + ], + "kind": "const" }, { - "type": "ExpressionStatement", - "start": 1547, - "end": 1561, + "type": "ReturnStatement", + "start": 1417, + "end": 1453, "loc": { "start": { - "line": 50, + "line": 46, "column": 8 }, "end": { - "line": 50, - "column": 22 + "line": 46, + "column": 44 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1547, - "end": 1560, + "argument": { + "type": "TemplateLiteral", + "start": 1424, + "end": 1452, "loc": { "start": { - "line": 50, - "column": 8 + "line": 46, + "column": 15 }, "end": { - "line": 50, - "column": 21 + "line": 46, + "column": 43 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1547, - "end": 1549, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 10 - }, - "identifierName": "ms" - }, - "name": "ms" - }, - "right": { - "type": "BinaryExpression", - "start": 1552, - "end": 1560, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 21 - } - }, - "left": { - "type": "StringLiteral", - "start": 1552, - "end": 1555, + "expressions": [ + { + "type": "Identifier", + "start": 1427, + "end": 1430, "loc": { "start": { - "line": 50, - "column": 13 + "line": 46, + "column": 18 }, "end": { - "line": 50, - "column": 16 - } - }, - "extra": { - "rawValue": ":", - "raw": "':'" + "line": 46, + "column": 21 + }, + "identifierName": "day" }, - "value": ":" + "name": "day" }, - "operator": "+", - "right": { + { "type": "Identifier", - "start": 1558, - "end": 1560, + "start": 1434, + "end": 1436, "loc": { "start": { - "line": 50, - "column": 19 + "line": 46, + "column": 25 }, "end": { - "line": 50, - "column": 21 + "line": 46, + "column": 27 }, - "identifierName": "ms" + "identifierName": "hr" }, - "name": "ms" - } - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 1573, - "end": 1597, - "loc": { - "start": { - "line": 51, - "column": 11 - }, - "end": { - "line": 53, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1583, - "end": 1591, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 16 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1583, - "end": 1590, - "loc": { - "start": { - "line": 52, - "column": 8 + "name": "hr" }, - "end": { - "line": 52, - "column": 15 + { + "type": "Identifier", + "start": 1440, + "end": 1443, + "loc": { + "start": { + "line": 46, + "column": 31 + }, + "end": { + "line": 46, + "column": 34 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 1447, + "end": 1450, + "loc": { + "start": { + "line": 46, + "column": 38 + }, + "end": { + "line": 46, + "column": 41 + }, + "identifierName": "sec" + }, + "name": "sec" } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1583, - "end": 1585, - "loc": { - "start": { - "line": 52, - "column": 8 + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1425, + "end": 1425, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 16 + } }, - "end": { - "line": 52, - "column": 10 + "value": { + "raw": "", + "cooked": "" }, - "identifierName": "ms" + "tail": false }, - "name": "ms" - }, - "right": { - "type": "StringLiteral", - "start": 1588, - "end": 1590, - "loc": { - "start": { - "line": 52, - "column": 13 + { + "type": "TemplateElement", + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 23 + } }, - "end": { - "line": 52, - "column": 15 - } + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false }, - "extra": { - "rawValue": "", - "raw": "''" + { + "type": "TemplateElement", + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 46, + "column": 28 + }, + "end": { + "line": 46, + "column": 29 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false }, - "value": "" - } + { + "type": "TemplateElement", + "start": 1444, + "end": 1445, + "loc": { + "start": { + "line": 46, + "column": 35 + }, + "end": { + "line": 46, + "column": 36 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1451, + "end": 1451, + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 42 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } } ], - "directives": [], - "trailingComments": null + "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 44 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 37 - } - } - } - ] + "alternate": null }, { - "type": "ExpressionStatement", - "start": 1641, - "end": 1678, + "type": "IfStatement", + "start": 1464, + "end": 1557, "loc": { "start": { - "line": 56, + "line": 48, "column": 4 }, "end": { - "line": 56, - "column": 41 + "line": 50, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1641, - "end": 1677, + "test": { + "type": "LogicalExpression", + "start": 1468, + "end": 1510, "loc": { "start": { - "line": 56, - "column": 4 + "line": 48, + "column": 8 }, "end": { - "line": 56, - "column": 40 + "line": 48, + "column": 50 } }, - "operator": "=", "left": { - "type": "Identifier", - "start": 1641, - "end": 1642, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 5 - }, - "identifierName": "h" - }, - "name": "h", - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 1645, - "end": 1677, + "type": "BinaryExpression", + "start": 1468, + "end": 1487, "loc": { "start": { - "line": 56, + "line": 48, "column": 8 }, "end": { - "line": 56, - "column": 40 + "line": 48, + "column": 27 } }, - "test": { - "type": "LogicalExpression", - "start": 1646, - "end": 1661, + "left": { + "type": "MemberExpression", + "start": 1468, + "end": 1483, "loc": { "start": { - "line": 56, - "column": 9 + "line": 48, + "column": 8 }, "end": { - "line": 56, - "column": 24 + "line": 48, + "column": 23 } }, - "left": { - "type": "BinaryExpression", - "start": 1646, - "end": 1651, + "object": { + "type": "Identifier", + "start": 1468, + "end": 1477, "loc": { "start": { - "line": 56, - "column": 9 + "line": 48, + "column": 8 }, "end": { - "line": 56, - "column": 14 - } - }, - "left": { - "type": "Identifier", - "start": 1646, - "end": 1647, - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 10 - }, - "identifierName": "h" + "line": 48, + "column": 17 }, - "name": "h" + "identifierName": "inputTime" }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 1650, - "end": 1651, - "loc": { - "start": { - "line": 56, - "column": 13 - }, - "end": { - "line": 56, - "column": 14 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "name": "inputTime" }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 1655, - "end": 1661, + "property": { + "type": "Identifier", + "start": 1478, + "end": 1483, "loc": { "start": { - "line": 56, + "line": 48, "column": 18 }, "end": { - "line": 56, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 1655, - "end": 1657, - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 20 - }, - "identifierName": "gh" + "line": 48, + "column": 23 }, - "name": "gh" + "identifierName": "hours" }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 1660, - "end": 1661, - "loc": { - "start": { - "line": 56, - "column": 23 - }, - "end": { - "line": 56, - "column": 24 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "name": "hours" }, - "extra": { - "parenthesized": true, - "parenStart": 1645 + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1486, + "end": 1487, + "loc": { + "start": { + "line": 48, + "column": 26 + }, + "end": { + "line": 48, + "column": 27 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 1491, + "end": 1510, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 50 } }, - "consequent": { - "type": "BinaryExpression", - "start": 1665, - "end": 1672, + "left": { + "type": "MemberExpression", + "start": 1491, + "end": 1506, "loc": { "start": { - "line": 56, - "column": 28 + "line": 48, + "column": 31 }, "end": { - "line": 56, - "column": 35 + "line": 48, + "column": 46 } }, - "left": { + "object": { "type": "Identifier", - "start": 1665, - "end": 1666, + "start": 1491, + "end": 1500, "loc": { "start": { - "line": 56, - "column": 28 + "line": 48, + "column": 31 }, "end": { - "line": 56, - "column": 29 + "line": 48, + "column": 40 }, - "identifierName": "h" + "identifierName": "guideTime" }, - "name": "h" + "name": "guideTime" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1669, - "end": 1672, + "property": { + "type": "Identifier", + "start": 1501, + "end": 1506, "loc": { "start": { - "line": 56, - "column": 32 + "line": 48, + "column": 41 }, "end": { - "line": 56, - "column": 35 - } - }, - "extra": { - "rawValue": ":", - "raw": "':'" + "line": 48, + "column": 46 + }, + "identifierName": "hours" }, - "value": ":" - } + "name": "hours" + }, + "computed": false }, - "alternate": { - "type": "StringLiteral", - "start": 1675, - "end": 1677, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 56, - "column": 38 + "line": 48, + "column": 49 }, "end": { - "line": 56, - "column": 40 + "line": 48, + "column": 50 } }, "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 37 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 63 - } - } - }, - { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, - "loc": { - "start": { - "line": 59, - "column": 4 + "rawValue": 0, + "raw": "0" }, - "end": { - "line": 59, - "column": 49 - } + "value": 0 } } - ] - }, - { - "type": "ExpressionStatement", - "start": 1798, - "end": 1852, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 58 - } }, - "expression": { - "type": "AssignmentExpression", - "start": 1798, - "end": 1851, + "consequent": { + "type": "BlockStatement", + "start": 1512, + "end": 1557, "loc": { "start": { - "line": 60, - "column": 4 + "line": 48, + "column": 52 }, "end": { - "line": 60, - "column": 57 + "line": 50, + "column": 5 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1798, - "end": 1799, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 5 - }, - "identifierName": "m" - }, - "name": "m", - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 1802, - "end": 1851, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 57 - } - }, - "left": { - "type": "ConditionalExpression", - "start": 1803, - "end": 1844, + "body": [ + { + "type": "ReturnStatement", + "start": 1522, + "end": 1551, "loc": { "start": { - "line": 60, - "column": 9 + "line": 49, + "column": 8 }, "end": { - "line": 60, - "column": 50 + "line": 49, + "column": 37 } }, - "test": { - "type": "LogicalExpression", - "start": 1804, - "end": 1829, + "argument": { + "type": "TemplateLiteral", + "start": 1529, + "end": 1550, "loc": { "start": { - "line": 60, - "column": 10 + "line": 49, + "column": 15 }, "end": { - "line": 60, - "column": 35 + "line": 49, + "column": 36 } }, - "left": { - "type": "LogicalExpression", - "start": 1805, - "end": 1818, - "loc": { - "start": { - "line": 60, - "column": 11 + "expressions": [ + { + "type": "Identifier", + "start": 1532, + "end": 1534, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 20 + }, + "identifierName": "hr" }, - "end": { - "line": 60, - "column": 24 - } + "name": "hr" }, - "left": { + { "type": "Identifier", - "start": 1805, - "end": 1806, + "start": 1538, + "end": 1541, "loc": { "start": { - "line": 60, - "column": 11 + "line": 49, + "column": 24 }, "end": { - "line": 60, - "column": 12 + "line": 49, + "column": 27 }, - "identifierName": "h" + "identifierName": "min" }, - "name": "h" + "name": "min" }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 1810, - "end": 1818, + { + "type": "Identifier", + "start": 1545, + "end": 1548, + "loc": { + "start": { + "line": 49, + "column": 31 + }, + "end": { + "line": 49, + "column": 34 + }, + "identifierName": "sec" + }, + "name": "sec" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1530, + "end": 1530, "loc": { "start": { - "line": 60, + "line": 49, "column": 16 }, "end": { - "line": 60, - "column": 24 + "line": 49, + "column": 16 } }, - "left": { - "type": "Identifier", - "start": 1810, - "end": 1812, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 18 - }, - "identifierName": "gm" - }, - "name": "gm" + "value": { + "raw": "", + "cooked": "" }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 1816, - "end": 1818, - "loc": { - "start": { - "line": 60, - "column": 22 - }, - "end": { - "line": 60, - "column": 24 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } + "tail": false }, - "extra": { - "parenthesized": true, - "parenStart": 1804 - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 1823, - "end": 1829, - "loc": { - "start": { - "line": 60, - "column": 29 + { + "type": "TemplateElement", + "start": 1535, + "end": 1536, + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 22 + } }, - "end": { - "line": 60, - "column": 35 - } + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false }, - "left": { - "type": "Identifier", - "start": 1823, - "end": 1824, + { + "type": "TemplateElement", + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 60, - "column": 29 + "line": 49, + "column": 28 }, "end": { - "line": 60, - "column": 30 - }, - "identifierName": "m" + "line": 49, + "column": 29 + } }, - "name": "m" + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1827, - "end": 1829, + { + "type": "TemplateElement", + "start": 1549, + "end": 1549, "loc": { "start": { - "line": 60, - "column": 33 + "line": 49, + "column": 35 }, "end": { - "line": 60, + "line": 49, "column": 35 } }, - "extra": { - "rawValue": 10, - "raw": "10" + "value": { + "raw": "", + "cooked": "" }, - "value": 10 - } - }, - "extra": { - "parenthesized": true, - "parenStart": 1803 - } - }, - "consequent": { - "type": "BinaryExpression", - "start": 1833, - "end": 1840, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 46 + "tail": true } - }, - "left": { - "type": "StringLiteral", - "start": 1833, - "end": 1836, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 42 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1839, - "end": 1840, - "loc": { - "start": { - "line": 60, - "column": 45 - }, - "end": { - "line": 60, - "column": 46 - }, - "identifierName": "m" - }, - "name": "m" - } - }, - "alternate": { - "type": "Identifier", - "start": 1843, - "end": 1844, - "loc": { - "start": { - "line": 60, - "column": 49 - }, - "end": { - "line": 60, - "column": 50 - }, - "identifierName": "m" - }, - "name": "m" - }, - "extra": { - "parenthesized": true, - "parenStart": 1802 + ] } - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1848, - "end": 1851, - "loc": { - "start": { - "line": 60, - "column": 54 - }, - "end": { - "line": 60, - "column": 57 - } - }, - "extra": { - "rawValue": ":", - "raw": "':'" - }, - "value": ":" } - }, - "leadingComments": null + ], + "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 63 - } - } - }, - { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 49 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 48 - } - } - } - ] + "alternate": null }, { - "type": "ExpressionStatement", - "start": 1907, - "end": 1936, + "type": "IfStatement", + "start": 1562, + "end": 1632, "loc": { "start": { - "line": 63, + "line": 51, "column": 4 }, "end": { - "line": 63, - "column": 33 + "line": 53, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1907, - "end": 1935, + "test": { + "type": "Identifier", + "start": 1566, + "end": 1585, "loc": { "start": { - "line": 63, - "column": 4 + "line": 51, + "column": 8 }, "end": { - "line": 63, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1907, - "end": 1908, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 5 - }, - "identifierName": "s" - }, - "name": "s", - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 1912, - "end": 1934, - "loc": { - "start": { - "line": 63, - "column": 9 - }, - "end": { - "line": 63, - "column": 31 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1913, - "end": 1919, - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 16 - } - }, - "left": { - "type": "Identifier", - "start": 1913, - "end": 1914, - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 11 - }, - "identifierName": "s" - }, - "name": "s" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1917, - "end": 1919, - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 16 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - "extra": { - "parenthesized": true, - "parenStart": 1912 - } - }, - "consequent": { - "type": "BinaryExpression", - "start": 1923, - "end": 1930, - "loc": { - "start": { - "line": 63, - "column": 20 - }, - "end": { - "line": 63, - "column": 27 - } - }, - "left": { - "type": "StringLiteral", - "start": 1923, - "end": 1926, - "loc": { - "start": { - "line": 63, - "column": 20 - }, - "end": { - "line": 63, - "column": 23 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1929, - "end": 1930, - "loc": { - "start": { - "line": 63, - "column": 26 - }, - "end": { - "line": 63, - "column": 27 - }, - "identifierName": "s" - }, - "name": "s" - } - }, - "alternate": { - "type": "Identifier", - "start": 1933, - "end": 1934, - "loc": { - "start": { - "line": 63, - "column": 30 - }, - "end": { - "line": 63, - "column": 31 - }, - "identifierName": "s" - }, - "name": "s" + "line": 51, + "column": 27 }, - "extra": { - "parenthesized": true, - "parenStart": 1911 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 48 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 1942, - "end": 1964, - "loc": { - "start": { - "line": 65, - "column": 4 + "identifierName": "displayMilliseconds" }, - "end": { - "line": 65, - "column": 26 - } + "name": "displayMilliseconds" }, - "argument": { - "type": "BinaryExpression", - "start": 1949, - "end": 1963, + "consequent": { + "type": "BlockStatement", + "start": 1587, + "end": 1632, "loc": { "start": { - "line": 65, - "column": 11 + "line": 51, + "column": 29 }, "end": { - "line": 65, - "column": 25 + "line": 53, + "column": 5 } }, - "left": { - "type": "BinaryExpression", - "start": 1949, - "end": 1958, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 20 - } - }, - "left": { - "type": "BinaryExpression", - "start": 1949, - "end": 1954, + "body": [ + { + "type": "ReturnStatement", + "start": 1597, + "end": 1626, "loc": { "start": { - "line": 65, - "column": 11 + "line": 52, + "column": 8 }, "end": { - "line": 65, - "column": 16 + "line": 52, + "column": 37 } }, - "left": { - "type": "Identifier", - "start": 1949, - "end": 1950, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 12 - }, - "identifierName": "h" - }, - "name": "h" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1953, - "end": 1954, + "argument": { + "type": "TemplateLiteral", + "start": 1604, + "end": 1625, "loc": { "start": { - "line": 65, + "line": 52, "column": 15 }, "end": { - "line": 65, - "column": 16 - }, - "identifierName": "m" + "line": 52, + "column": 36 + } }, - "name": "m" - } - }, - "operator": "+", - "right": { + "expressions": [ + { + "type": "Identifier", + "start": 1607, + "end": 1610, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 21 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 1614, + "end": 1617, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 28 + }, + "identifierName": "sec" + }, + "name": "sec" + }, + { + "type": "Identifier", + "start": 1621, + "end": 1623, + "loc": { + "start": { + "line": 52, + "column": 32 + }, + "end": { + "line": 52, + "column": 34 + }, + "identifierName": "ms" + }, + "name": "ms" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1605, + "end": 1605, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 16 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 23 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1618, + "end": 1619, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1624, + "end": 1624, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 35 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1638, + "end": 1661, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 27 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 1645, + "end": 1660, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 26 + } + }, + "expressions": [ + { "type": "Identifier", - "start": 1957, - "end": 1958, + "start": 1648, + "end": 1651, "loc": { "start": { - "line": 65, - "column": 19 + "line": 55, + "column": 14 }, "end": { - "line": 65, - "column": 20 + "line": 55, + "column": 17 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 1655, + "end": 1658, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 24 }, - "identifierName": "s" + "identifierName": "sec" }, - "name": "s" + "name": "sec" } - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1961, - "end": 1963, - "loc": { - "start": { - "line": 65, - "column": 23 + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1646, + "end": 1646, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 12 + } }, - "end": { - "line": 65, - "column": 25 + "value": { + "raw": "", + "cooked": "" }, - "identifierName": "ms" + "tail": false }, - "name": "ms" - } + { + "type": "TemplateElement", + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 55, + "column": 18 + }, + "end": { + "line": 55, + "column": 19 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1659, + "end": 1659, + "loc": { + "start": { + "line": 55, + "column": 25 + }, + "end": { + "line": 55, + "column": 25 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } } ], @@ -3736,29 +3022,29 @@ }, { "type": "Identifier", - "start": 1969, - "end": 1995, + "start": 1666, + "end": 1692, "loc": { "start": { - "line": 68, + "line": 58, "column": 0 }, "end": { - "line": 68, + "line": 58, "column": 26 } }, "declaration": { "type": "Identifier", - "start": 1984, - "end": 1994, + "start": 1681, + "end": 1691, "loc": { "start": { - "line": 68, + "line": 58, "column": 15 }, "end": { - "line": 68, + "line": 58, "column": 25 }, "identifierName": "formatTime" @@ -3771,58 +3057,58 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1969, - "end": 1995, + "start": 1666, + "end": 1692, "loc": { "start": { - "line": 68, + "line": 58, "column": 0 }, "end": { - "line": 68, + "line": 58, "column": 26 } }, "declaration": { "type": "VariableDeclaration", - "start": 588, - "end": 1967, + "start": 761, + "end": 1664, "loc": { "start": { - "line": 22, + "line": 29, "column": 0 }, "end": { - "line": 66, + "line": 56, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 594, - "end": 1966, + "start": 767, + "end": 1663, "loc": { "start": { - "line": 22, + "line": 29, "column": 6 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, "id": { "type": "Identifier", - "start": 594, - "end": 604, + "start": 767, + "end": 777, "loc": { "start": { - "line": 22, + "line": 29, "column": 6 }, "end": { - "line": 22, + "line": 29, "column": 16 }, "identifierName": "formatTime" @@ -3832,29 +3118,29 @@ }, "init": { "type": "FunctionExpression", - "start": 607, - "end": 1966, + "start": 780, + "end": 1663, "loc": { "start": { - "line": 22, + "line": 29, "column": 19 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, "id": { "type": "Identifier", - "start": 594, - "end": 604, + "start": 767, + "end": 777, "loc": { "start": { - "line": 22, + "line": 29, "column": 6 }, "end": { - "line": 22, + "line": 29, "column": 16 }, "identifierName": "formatTime" @@ -3868,15 +3154,15 @@ "params": [ { "type": "Identifier", - "start": 616, - "end": 623, + "start": 789, + "end": 796, "loc": { "start": { - "line": 22, + "line": 29, "column": 28 }, "end": { - "line": 22, + "line": 29, "column": 35 }, "identifierName": "seconds" @@ -3885,15 +3171,15 @@ }, { "type": "Identifier", - "start": 625, - "end": 630, + "start": 798, + "end": 803, "loc": { "start": { - "line": 22, + "line": 29, "column": 37 }, "end": { - "line": 22, + "line": 29, "column": 42 }, "identifierName": "guide" @@ -3901,124 +3187,154 @@ "name": "guide" }, { - "type": "Identifier", - "start": 632, - "end": 644, + "type": "AssignmentPattern", + "start": 805, + "end": 831, "loc": { "start": { - "line": 22, + "line": 29, "column": 44 }, "end": { - "line": 22, - "column": 56 + "line": 29, + "column": 70 + } + }, + "left": { + "type": "Identifier", + "start": 805, + "end": 824, + "loc": { + "start": { + "line": 29, + "column": 44 + }, + "end": { + "line": 29, + "column": 63 + }, + "identifierName": "displayMilliseconds" }, - "identifierName": "msDisplayMax" + "name": "displayMilliseconds" }, - "name": "msDisplayMax" + "right": { + "type": "BooleanLiteral", + "start": 827, + "end": 831, + "loc": { + "start": { + "line": 29, + "column": 66 + }, + "end": { + "line": 29, + "column": 70 + } + }, + "value": true + } } ], "body": { "type": "BlockStatement", - "start": 646, - "end": 1966, + "start": 833, + "end": 1663, "loc": { "start": { - "line": 22, - "column": 58 + "line": 29, + "column": 72 }, "end": { - "line": 66, + "line": 56, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 693, - "end": 729, + "start": 839, + "end": 875, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 693, - "end": 728, + "start": 839, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", - "start": 693, - "end": 700, + "start": 839, + "end": 846, "loc": { "start": { - "line": 24, + "line": 30, "column": 4 }, "end": { - "line": 24, + "line": 30, "column": 11 }, "identifierName": "seconds" }, - "name": "seconds", - "leadingComments": null + "name": "seconds" }, "right": { "type": "ConditionalExpression", - "start": 703, - "end": 728, + "start": 849, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 39 } }, "test": { "type": "BinaryExpression", - "start": 703, - "end": 714, + "start": 849, + "end": 860, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 25 } }, "left": { "type": "Identifier", - "start": 703, - "end": 710, + "start": 849, + "end": 856, "loc": { "start": { - "line": 24, + "line": 30, "column": 14 }, "end": { - "line": 24, + "line": 30, "column": 21 }, "identifierName": "seconds" @@ -4028,15 +3344,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 713, - "end": 714, + "start": 859, + "end": 860, "loc": { "start": { - "line": 24, + "line": 30, "column": 24 }, "end": { - "line": 24, + "line": 30, "column": 25 } }, @@ -4049,15 +3365,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 717, - "end": 718, + "start": 863, + "end": 864, "loc": { "start": { - "line": 24, + "line": 30, "column": 28 }, "end": { - "line": 24, + "line": 30, "column": 29 } }, @@ -4069,1014 +3385,1109 @@ }, "alternate": { "type": "Identifier", - "start": 721, - "end": 728, + "start": 867, + "end": 874, "loc": { "start": { - "line": 24, + "line": 30, "column": 32 }, "end": { - "line": 24, + "line": 30, "column": 39 }, "identifierName": "seconds" }, "name": "seconds" } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Default to using seconds as guide", - "start": 652, - "end": 688, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 40 - } - } } - ] + } }, { - "type": "ExpressionStatement", - "start": 734, - "end": 759, + "type": "IfStatement", + "start": 880, + "end": 952, "loc": { "start": { - "line": 25, + "line": 31, "column": 4 }, "end": { - "line": 25, - "column": 29 + "line": 33, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", - "start": 734, - "end": 758, + "test": { + "type": "LogicalExpression", + "start": 884, + "end": 922, "loc": { "start": { - "line": 25, - "column": 4 + "line": 31, + "column": 8 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 } }, - "operator": "=", "left": { - "type": "Identifier", - "start": 734, - "end": 739, + "type": "CallExpression", + "start": 884, + "end": 898, "loc": { "start": { - "line": 25, - "column": 4 + "line": 31, + "column": 8 }, "end": { - "line": 25, - "column": 9 - }, - "identifierName": "guide" + "line": 31, + "column": 22 + } }, - "name": "guide" + "callee": { + "type": "Identifier", + "start": 884, + "end": 889, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 13 + }, + "identifierName": "isNaN" + }, + "name": "isNaN" + }, + "arguments": [ + { + "type": "Identifier", + "start": 890, + "end": 897, + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 21 + }, + "identifierName": "seconds" + }, + "name": "seconds" + } + ] }, + "operator": "||", "right": { - "type": "LogicalExpression", - "start": 742, - "end": 758, + "type": "BinaryExpression", + "start": 902, + "end": 922, "loc": { "start": { - "line": 25, - "column": 12 + "line": 31, + "column": 26 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 } }, "left": { "type": "Identifier", - "start": 742, - "end": 747, + "start": 902, + "end": 909, "loc": { "start": { - "line": 25, - "column": 12 + "line": 31, + "column": 26 }, "end": { - "line": 25, - "column": 17 + "line": 31, + "column": 33 }, - "identifierName": "guide" + "identifierName": "seconds" }, - "name": "guide" + "name": "seconds" }, - "operator": "||", + "operator": "===", "right": { "type": "Identifier", - "start": 751, - "end": 758, + "start": 914, + "end": 922, "loc": { "start": { - "line": 25, - "column": 21 + "line": 31, + "column": 38 }, "end": { - "line": 25, - "column": 28 + "line": 31, + "column": 46 }, - "identifierName": "seconds" + "identifierName": "Infinity" }, - "name": "seconds" + "name": "Infinity" } } - } + }, + "consequent": { + "type": "BlockStatement", + "start": 924, + "end": 952, + "loc": { + "start": { + "line": 31, + "column": 48 + }, + "end": { + "line": 33, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 934, + "end": 946, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 934, + "end": 945, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 934, + "end": 941, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 15 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + "right": { + "type": "NumericLiteral", + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [] + }, + "alternate": null }, { "type": "VariableDeclaration", - "start": 764, - "end": 1008, + "start": 957, + "end": 1009, "loc": { "start": { - "line": 26, + "line": 34, "column": 4 }, "end": { - "line": 31, - "column": 46 + "line": 34, + "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 768, - "end": 796, + "start": 963, + "end": 1008, "loc": { "start": { - "line": 26, - "column": 8 + "line": 34, + "column": 10 }, "end": { - "line": 26, - "column": 36 + "line": 34, + "column": 55 } }, "id": { "type": "Identifier", - "start": 768, - "end": 769, + "start": 963, + "end": 972, "loc": { "start": { - "line": 26, - "column": 8 + "line": 34, + "column": 10 }, "end": { - "line": 26, - "column": 9 + "line": 34, + "column": 19 }, - "identifierName": "s" + "identifierName": "inputTime" }, - "name": "s" + "name": "inputTime" }, "init": { "type": "CallExpression", - "start": 772, - "end": 796, + "start": 975, + "end": 1008, "loc": { "start": { - "line": 26, - "column": 12 + "line": 34, + "column": 22 }, "end": { - "line": 26, - "column": 36 + "line": 34, + "column": 55 } }, "callee": { - "type": "MemberExpression", - "start": 772, - "end": 782, + "type": "Identifier", + "start": 975, + "end": 992, "loc": { "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, + "line": 34, "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 772, - "end": 776, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 16 - }, - "identifierName": "Math" }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 777, - "end": 782, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 22 - }, - "identifierName": "floor" + "end": { + "line": 34, + "column": 39 }, - "name": "floor" + "identifierName": "parseMilliseconds" }, - "computed": false + "name": "parseMilliseconds" }, "arguments": [ { "type": "BinaryExpression", - "start": 783, - "end": 795, + "start": 993, + "end": 1007, "loc": { "start": { - "line": 26, - "column": 23 + "line": 34, + "column": 40 }, "end": { - "line": 26, - "column": 35 + "line": 34, + "column": 54 } }, "left": { "type": "Identifier", - "start": 783, - "end": 790, + "start": 993, + "end": 1000, "loc": { "start": { - "line": 26, - "column": 23 + "line": 34, + "column": 40 }, "end": { - "line": 26, - "column": 30 + "line": 34, + "column": 47 }, "identifierName": "seconds" }, "name": "seconds" }, - "operator": "%", + "operator": "*", "right": { "type": "NumericLiteral", - "start": 793, - "end": 795, + "start": 1003, + "end": 1007, "loc": { "start": { - "line": 26, - "column": 33 + "line": 34, + "column": 50 }, "end": { - "line": 26, - "column": 35 + "line": 34, + "column": 54 } }, "extra": { - "rawValue": 60, - "raw": "60" + "rawValue": 1000, + "raw": "1000" }, - "value": 60 + "value": 1000 } } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1014, + "end": 1040, + "loc": { + "start": { + "line": 35, + "column": 4 }, + "end": { + "line": 35, + "column": 30 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 806, - "end": 839, + "start": 1018, + "end": 1039, "loc": { "start": { - "line": 27, + "line": 35, "column": 8 }, "end": { - "line": 27, - "column": 41 + "line": 35, + "column": 29 } }, "id": { "type": "Identifier", - "start": 806, - "end": 807, + "start": 1018, + "end": 1027, "loc": { "start": { - "line": 27, + "line": 35, "column": 8 }, "end": { - "line": 27, - "column": 9 + "line": 35, + "column": 17 }, - "identifierName": "m" + "identifierName": "guideTime" }, - "name": "m" + "name": "guideTime" }, "init": { - "type": "CallExpression", - "start": 810, - "end": 839, + "type": "Identifier", + "start": 1030, + "end": 1039, "loc": { "start": { - "line": 27, - "column": 12 + "line": 35, + "column": 20 }, "end": { - "line": 27, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 810, - "end": 820, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 810, - "end": 814, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 16 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 815, - "end": 820, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 22 - }, - "identifierName": "floor" - }, - "name": "floor" + "line": 35, + "column": 29 }, - "computed": false + "identifierName": "inputTime" }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 821, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 23 - }, - "end": { - "line": 27, - "column": 40 - } - }, - "left": { - "type": "BinaryExpression", - "start": 821, - "end": 833, + "name": "inputTime" + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1045, + "end": 1130, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1049, + "end": 1068, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 1049, + "end": 1054, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 13 + }, + "identifierName": "guide" + }, + "name": "guide" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 1059, + "end": 1068, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 27 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1070, + "end": 1130, + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1080, + "end": 1124, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1080, + "end": 1123, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1080, + "end": 1089, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 17 + }, + "identifierName": "guideTime" + }, + "name": "guideTime" + }, + "right": { + "type": "CallExpression", + "start": 1092, + "end": 1123, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 1092, + "end": 1109, "loc": { "start": { - "line": 27, - "column": 23 + "line": 37, + "column": 20 }, "end": { - "line": 27, - "column": 35 - } - }, - "left": { - "type": "Identifier", - "start": 821, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 23 - }, - "end": { - "line": 27, - "column": 30 - }, - "identifierName": "seconds" + "line": 37, + "column": 37 }, - "name": "seconds" + "identifierName": "parseMilliseconds" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 831, - "end": 833, + "name": "parseMilliseconds" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1110, + "end": 1122, "loc": { "start": { - "line": 27, - "column": 33 + "line": 37, + "column": 38 }, "end": { - "line": 27, - "column": 35 + "line": 37, + "column": 50 } }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } - }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 836, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 38 + "left": { + "type": "Identifier", + "start": 1110, + "end": 1115, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 43 + }, + "identifierName": "guide" + }, + "name": "guide" }, - "end": { - "line": 27, - "column": 40 + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 1118, + "end": 1122, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 50 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 } - }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } + } + ] } - ] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1135, + "end": 1171, + "loc": { + "start": { + "line": 39, + "column": 4 }, + "end": { + "line": 39, + "column": 40 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 849, - "end": 879, + "start": 1141, + "end": 1170, "loc": { "start": { - "line": 28, - "column": 8 + "line": 39, + "column": 10 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 39 } }, "id": { "type": "Identifier", - "start": 849, - "end": 850, + "start": 1141, + "end": 1143, "loc": { "start": { - "line": 28, - "column": 8 + "line": 39, + "column": 10 }, "end": { - "line": 28, - "column": 9 + "line": 39, + "column": 12 }, - "identifierName": "h" + "identifierName": "hr" }, - "name": "h" + "name": "hr" }, "init": { "type": "CallExpression", - "start": 853, - "end": 879, + "start": 1146, + "end": 1170, "loc": { "start": { - "line": 28, - "column": 12 + "line": 39, + "column": 15 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 39 } }, "callee": { - "type": "MemberExpression", - "start": 853, - "end": 863, + "type": "Identifier", + "start": 1146, + "end": 1153, "loc": { "start": { - "line": 28, - "column": 12 + "line": 39, + "column": 15 }, "end": { - "line": 28, + "line": 39, "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 853, - "end": 857, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 16 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 858, - "end": 863, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "floor" }, - "name": "floor" + "identifierName": "addZero" }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 864, - "end": 878, + "type": "MemberExpression", + "start": 1154, + "end": 1169, "loc": { "start": { - "line": 28, + "line": 39, "column": 23 }, "end": { - "line": 28, - "column": 37 + "line": 39, + "column": 38 } }, - "left": { + "object": { "type": "Identifier", - "start": 864, - "end": 871, + "start": 1154, + "end": 1163, "loc": { "start": { - "line": 28, + "line": 39, "column": 23 }, "end": { - "line": 28, - "column": 30 + "line": 39, + "column": 32 }, - "identifierName": "seconds" + "identifierName": "inputTime" }, - "name": "seconds" + "name": "inputTime" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 874, - "end": 878, + "property": { + "type": "Identifier", + "start": 1164, + "end": 1169, "loc": { "start": { - "line": 28, + "line": 39, "column": 33 }, "end": { - "line": 28, - "column": 37 - } - }, - "extra": { - "rawValue": 3600, - "raw": "3600" + "line": 39, + "column": 38 + }, + "identifierName": "hours" }, - "value": 3600 - } + "name": "hours" + }, + "computed": false } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1176, + "end": 1215, + "loc": { + "start": { + "line": 40, + "column": 4 }, + "end": { + "line": 40, + "column": 43 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 889, - "end": 921, + "start": 1182, + "end": 1214, "loc": { "start": { - "line": 29, - "column": 8 + "line": 40, + "column": 10 }, "end": { - "line": 29, - "column": 40 + "line": 40, + "column": 42 } }, "id": { "type": "Identifier", - "start": 889, - "end": 891, + "start": 1182, + "end": 1185, "loc": { "start": { - "line": 29, - "column": 8 + "line": 40, + "column": 10 }, "end": { - "line": 29, - "column": 10 + "line": 40, + "column": 13 }, - "identifierName": "gm" + "identifierName": "min" }, - "name": "gm" + "name": "min" }, "init": { "type": "CallExpression", - "start": 894, - "end": 921, + "start": 1188, + "end": 1214, "loc": { "start": { - "line": 29, - "column": 13 + "line": 40, + "column": 16 }, "end": { - "line": 29, - "column": 40 + "line": 40, + "column": 42 } }, "callee": { - "type": "MemberExpression", - "start": 894, - "end": 904, + "type": "Identifier", + "start": 1188, + "end": 1195, "loc": { "start": { - "line": 29, - "column": 13 + "line": 40, + "column": 16 }, "end": { - "line": 29, + "line": 40, "column": 23 - } + }, + "identifierName": "addZero" }, - "object": { - "type": "Identifier", - "start": 894, - "end": 898, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 899, - "end": 904, - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 23 - }, - "identifierName": "floor" - }, - "name": "floor" - }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 905, - "end": 920, + "type": "MemberExpression", + "start": 1196, + "end": 1213, "loc": { "start": { - "line": 29, + "line": 40, "column": 24 }, "end": { - "line": 29, - "column": 39 + "line": 40, + "column": 41 } }, - "left": { - "type": "BinaryExpression", - "start": 905, - "end": 915, + "object": { + "type": "Identifier", + "start": 1196, + "end": 1205, "loc": { "start": { - "line": 29, + "line": 40, "column": 24 }, "end": { - "line": 29, - "column": 34 - } - }, - "left": { - "type": "Identifier", - "start": 905, - "end": 910, - "loc": { - "start": { - "line": 29, - "column": 24 - }, - "end": { - "line": 29, - "column": 29 - }, - "identifierName": "guide" + "line": 40, + "column": 33 }, - "name": "guide" + "identifierName": "inputTime" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 913, - "end": 915, - "loc": { - "start": { - "line": 29, - "column": 32 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "extra": { - "rawValue": 60, - "raw": "60" - }, - "value": 60 - } + "name": "inputTime" }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 918, - "end": 920, + "property": { + "type": "Identifier", + "start": 1206, + "end": 1213, "loc": { "start": { - "line": 29, - "column": 37 + "line": 40, + "column": 34 }, "end": { - "line": 29, - "column": 39 - } - }, - "extra": { - "rawValue": 60, - "raw": "60" + "line": 40, + "column": 41 + }, + "identifierName": "minutes" }, - "value": 60 - } + "name": "minutes" + }, + "computed": false } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1220, + "end": 1259, + "loc": { + "start": { + "line": 41, + "column": 4 }, + "end": { + "line": 41, + "column": 43 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 931, - "end": 960, + "start": 1226, + "end": 1258, "loc": { "start": { - "line": 30, - "column": 8 + "line": 41, + "column": 10 }, "end": { - "line": 30, - "column": 37 + "line": 41, + "column": 42 } }, "id": { "type": "Identifier", - "start": 931, - "end": 933, + "start": 1226, + "end": 1229, "loc": { "start": { - "line": 30, - "column": 8 + "line": 41, + "column": 10 }, "end": { - "line": 30, - "column": 10 + "line": 41, + "column": 13 }, - "identifierName": "gh" + "identifierName": "sec" }, - "name": "gh" + "name": "sec" }, "init": { "type": "CallExpression", - "start": 936, - "end": 960, + "start": 1232, + "end": 1258, "loc": { "start": { - "line": 30, - "column": 13 + "line": 41, + "column": 16 }, "end": { - "line": 30, - "column": 37 + "line": 41, + "column": 42 } }, "callee": { - "type": "MemberExpression", - "start": 936, - "end": 946, + "type": "Identifier", + "start": 1232, + "end": 1239, "loc": { "start": { - "line": 30, - "column": 13 + "line": 41, + "column": 16 }, "end": { - "line": 30, + "line": 41, "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 936, - "end": 940, - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 941, - "end": 946, - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "floor" }, - "name": "floor" + "identifierName": "addZero" }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 947, - "end": 959, + "type": "MemberExpression", + "start": 1240, + "end": 1257, "loc": { "start": { - "line": 30, + "line": 41, "column": 24 }, "end": { - "line": 30, - "column": 36 + "line": 41, + "column": 41 } }, - "left": { + "object": { "type": "Identifier", - "start": 947, - "end": 952, + "start": 1240, + "end": 1249, "loc": { "start": { - "line": 30, + "line": 41, "column": 24 }, "end": { - "line": 30, - "column": 29 + "line": 41, + "column": 33 }, - "identifierName": "guide" + "identifierName": "inputTime" }, - "name": "guide" + "name": "inputTime" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 955, - "end": 959, + "property": { + "type": "Identifier", + "start": 1250, + "end": 1257, "loc": { "start": { - "line": 30, - "column": 32 + "line": 41, + "column": 34 }, "end": { - "line": 30, - "column": 36 - } - }, - "extra": { - "rawValue": 3600, - "raw": "3600" + "line": 41, + "column": 41 + }, + "identifierName": "seconds" }, - "value": 3600 - } + "name": "seconds" + }, + "computed": false } ] } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1264, + "end": 1310, + "loc": { + "start": { + "line": 42, + "column": 4 }, + "end": { + "line": 42, + "column": 50 + } + }, + "declarations": [ { "type": "VariableDeclarator", - "start": 970, - "end": 1007, + "start": 1270, + "end": 1309, "loc": { "start": { - "line": 31, - "column": 8 + "line": 42, + "column": 10 }, "end": { - "line": 31, - "column": 45 + "line": 42, + "column": 49 } }, "id": { "type": "Identifier", - "start": 970, - "end": 972, + "start": 1270, + "end": 1272, "loc": { "start": { - "line": 31, - "column": 8 + "line": 42, + "column": 10 }, "end": { - "line": 31, - "column": 10 + "line": 42, + "column": 12 }, "identifierName": "ms" }, @@ -5084,666 +4495,775 @@ }, "init": { "type": "CallExpression", - "start": 975, - "end": 1007, + "start": 1275, + "end": 1309, "loc": { "start": { - "line": 31, - "column": 13 + "line": 42, + "column": 15 }, "end": { - "line": 31, - "column": 45 + "line": 42, + "column": 49 } }, "callee": { - "type": "MemberExpression", - "start": 975, - "end": 985, + "type": "Identifier", + "start": 1275, + "end": 1282, "loc": { "start": { - "line": 31, - "column": 13 + "line": 42, + "column": 15 }, "end": { - "line": 31, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 980, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 23 - }, - "identifierName": "floor" + "line": 42, + "column": 22 }, - "name": "floor" + "identifierName": "addZero" }, - "computed": false + "name": "addZero" }, "arguments": [ { - "type": "BinaryExpression", - "start": 986, - "end": 1006, + "type": "MemberExpression", + "start": 1283, + "end": 1305, "loc": { "start": { - "line": 31, - "column": 24 + "line": 42, + "column": 23 }, "end": { - "line": 31, - "column": 44 + "line": 42, + "column": 45 } }, - "left": { - "type": "BinaryExpression", - "start": 987, - "end": 998, + "object": { + "type": "Identifier", + "start": 1283, + "end": 1292, "loc": { "start": { - "line": 31, - "column": 25 + "line": 42, + "column": 23 }, "end": { - "line": 31, - "column": 36 - } - }, - "left": { - "type": "Identifier", - "start": 987, - "end": 994, - "loc": { - "start": { - "line": 31, - "column": 25 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 997, - "end": 998, - "loc": { - "start": { - "line": 31, - "column": 35 - }, - "end": { - "line": 31, - "column": 36 - }, - "identifierName": "s" + "line": 42, + "column": 32 }, - "name": "s" + "identifierName": "inputTime" }, - "extra": { - "parenthesized": true, - "parenStart": 986 - } + "name": "inputTime" }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 1002, - "end": 1006, + "property": { + "type": "Identifier", + "start": 1293, + "end": 1305, "loc": { "start": { - "line": 31, - "column": 40 + "line": 42, + "column": 33 }, "end": { - "line": 31, - "column": 44 - } + "line": 42, + "column": 45 + }, + "identifierName": "milliseconds" }, - "extra": { - "rawValue": 1000, - "raw": "1000" + "name": "milliseconds" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 1307, + "end": 1308, + "loc": { + "start": { + "line": 42, + "column": 47 }, - "value": 1000 - } + "end": { + "line": 42, + "column": 48 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 } ] } } ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 27 - } - } - } - ] + "kind": "const" }, { "type": "IfStatement", - "start": 1042, - "end": 1288, + "start": 1316, + "end": 1459, "loc": { "start": { - "line": 34, + "line": 44, "column": 4 }, "end": { - "line": 39, + "line": 47, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 1046, - "end": 1084, + "start": 1320, + "end": 1360, "loc": { "start": { - "line": 34, + "line": 44, "column": 8 }, "end": { - "line": 34, - "column": 46 + "line": 44, + "column": 48 } }, "left": { - "type": "CallExpression", - "start": 1046, - "end": 1060, + "type": "BinaryExpression", + "start": 1320, + "end": 1338, "loc": { "start": { - "line": 34, + "line": 44, "column": 8 }, "end": { - "line": 34, - "column": 22 + "line": 44, + "column": 26 } }, - "callee": { - "type": "Identifier", - "start": 1046, - "end": 1051, + "left": { + "type": "MemberExpression", + "start": 1320, + "end": 1334, "loc": { "start": { - "line": 34, + "line": 44, "column": 8 }, "end": { - "line": 34, - "column": 13 + "line": 44, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1320, + "end": 1329, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 17 + }, + "identifierName": "inputTime" }, - "identifierName": "isNaN" + "name": "inputTime" }, - "name": "isNaN", - "leadingComments": null - }, - "arguments": [ - { + "property": { "type": "Identifier", - "start": 1052, - "end": 1059, + "start": 1330, + "end": 1334, "loc": { "start": { - "line": 34, - "column": 14 + "line": 44, + "column": 18 }, "end": { - "line": 34, - "column": 21 + "line": 44, + "column": 22 }, - "identifierName": "seconds" + "identifierName": "days" }, - "name": "seconds" - } - ], - "leadingComments": null + "name": "days" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1337, + "end": 1338, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 1064, - "end": 1084, + "start": 1342, + "end": 1360, "loc": { "start": { - "line": 34, - "column": 26 + "line": 44, + "column": 30 }, "end": { - "line": 34, - "column": 46 + "line": 44, + "column": 48 } }, "left": { - "type": "Identifier", - "start": 1064, - "end": 1071, + "type": "MemberExpression", + "start": 1342, + "end": 1356, "loc": { "start": { - "line": 34, - "column": 26 + "line": 44, + "column": 30 }, "end": { - "line": 34, - "column": 33 + "line": 44, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 1342, + "end": 1351, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 39 + }, + "identifierName": "guideTime" }, - "identifierName": "seconds" + "name": "guideTime" }, - "name": "seconds" + "property": { + "type": "Identifier", + "start": 1352, + "end": 1356, + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 44 + }, + "identifierName": "days" + }, + "name": "days" + }, + "computed": false }, - "operator": "===", + "operator": ">", "right": { - "type": "Identifier", - "start": 1076, - "end": 1084, + "type": "NumericLiteral", + "start": 1359, + "end": 1360, "loc": { "start": { - "line": 34, - "column": 38 + "line": 44, + "column": 47 }, "end": { - "line": 34, - "column": 46 - }, - "identifierName": "Infinity" + "line": 44, + "column": 48 + } }, - "name": "Infinity" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } - }, - "leadingComments": null + } }, "consequent": { "type": "BlockStatement", - "start": 1086, - "end": 1288, + "start": 1362, + "end": 1459, "loc": { "start": { - "line": 34, - "column": 48 + "line": 44, + "column": 50 }, "end": { - "line": 39, + "line": 47, "column": 5 } }, "body": [ { - "type": "ExpressionStatement", - "start": 1261, - "end": 1282, + "type": "VariableDeclaration", + "start": 1372, + "end": 1408, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 38, - "column": 29 + "line": 45, + "column": 44 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1261, - "end": 1281, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1261, - "end": 1262, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - }, - "identifierName": "h" - }, - "name": "h", - "leadingComments": null - }, - "right": { - "type": "AssignmentExpression", - "start": 1265, - "end": 1281, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1378, + "end": 1407, "loc": { "start": { - "line": 38, - "column": 12 + "line": 45, + "column": 14 }, "end": { - "line": 38, - "column": 28 + "line": 45, + "column": 43 } }, - "operator": "=", - "left": { + "id": { "type": "Identifier", - "start": 1265, - "end": 1266, + "start": 1378, + "end": 1381, "loc": { "start": { - "line": 38, - "column": 12 + "line": 45, + "column": 14 }, "end": { - "line": 38, - "column": 13 + "line": 45, + "column": 17 }, - "identifierName": "m" + "identifierName": "day" }, - "name": "m" + "name": "day" }, - "right": { - "type": "AssignmentExpression", - "start": 1269, - "end": 1281, + "init": { + "type": "CallExpression", + "start": 1384, + "end": 1407, "loc": { "start": { - "line": 38, - "column": 16 + "line": 45, + "column": 20 }, "end": { - "line": 38, - "column": 28 + "line": 45, + "column": 43 } }, - "operator": "=", - "left": { + "callee": { "type": "Identifier", - "start": 1269, - "end": 1270, + "start": 1384, + "end": 1391, "loc": { "start": { - "line": 38, - "column": 16 + "line": 45, + "column": 20 }, "end": { - "line": 38, - "column": 17 + "line": 45, + "column": 27 }, - "identifierName": "s" + "identifierName": "addZero" }, - "name": "s" + "name": "addZero" }, - "right": { - "type": "AssignmentExpression", - "start": 1273, - "end": 1281, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1273, - "end": 1275, + "arguments": [ + { + "type": "MemberExpression", + "start": 1392, + "end": 1406, "loc": { "start": { - "line": 38, - "column": 20 + "line": 45, + "column": 28 }, "end": { - "line": 38, - "column": 22 - }, - "identifierName": "ms" + "line": 45, + "column": 42 + } }, - "name": "ms" - }, - "right": { - "type": "StringLiteral", - "start": 1278, - "end": 1281, - "loc": { - "start": { - "line": 38, - "column": 25 + "object": { + "type": "Identifier", + "start": 1392, + "end": 1401, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 37 + }, + "identifierName": "inputTime" }, - "end": { - "line": 38, - "column": 28 - } + "name": "inputTime" }, - "extra": { - "rawValue": "-", - "raw": "'-'" + "property": { + "type": "Identifier", + "start": 1402, + "end": 1406, + "loc": { + "start": { + "line": 45, + "column": 38 + }, + "end": { + "line": 45, + "column": 42 + }, + "identifierName": "days" + }, + "name": "days" }, - "value": "-" + "computed": false } - } + ] } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 1417, + "end": 1453, + "loc": { + "start": { + "line": 46, + "column": 8 }, - "leadingComments": null + "end": { + "line": 46, + "column": 44 + } }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " '-' is false for all relational operators (e.g. <, >=) so this", - "start": 1096, - "end": 1161, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 73 - } + "argument": { + "type": "TemplateLiteral", + "start": 1424, + "end": 1452, + "loc": { + "start": { + "line": 46, + "column": 15 + }, + "end": { + "line": 46, + "column": 43 } }, - { - "type": "CommentLine", - "value": " setting will add the minimum number of fields specified by the", - "start": 1170, - "end": 1235, - "loc": { - "start": { - "line": 36, - "column": 8 + "expressions": [ + { + "type": "Identifier", + "start": 1427, + "end": 1430, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 21 + }, + "identifierName": "day" }, - "end": { - "line": 36, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " guide", - "start": 1244, - "end": 1252, - "loc": { - "start": { - "line": 37, - "column": 8 + "name": "day" + }, + { + "type": "Identifier", + "start": 1434, + "end": 1436, + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 27 + }, + "identifierName": "hr" }, - "end": { - "line": 37, - "column": 16 - } + "name": "hr" + }, + { + "type": "Identifier", + "start": 1440, + "end": 1443, + "loc": { + "start": { + "line": 46, + "column": 31 + }, + "end": { + "line": 46, + "column": 34 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 1447, + "end": 1450, + "loc": { + "start": { + "line": 46, + "column": 38 + }, + "end": { + "line": 46, + "column": 41 + }, + "identifierName": "sec" + }, + "name": "sec" } - } - ] + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1425, + "end": 1425, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 16 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 23 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 46, + "column": 28 + }, + "end": { + "line": 46, + "column": 29 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1444, + "end": 1445, + "loc": { + "start": { + "line": 46, + "column": 35 + }, + "end": { + "line": 46, + "column": 36 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1451, + "end": 1451, + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 42 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } } ], - "directives": [], - "trailingComments": null + "directives": [] }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 27 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 44 - } - } - } - ] + "alternate": null }, { "type": "IfStatement", - "start": 1339, - "end": 1597, + "start": 1464, + "end": 1557, "loc": { "start": { - "line": 42, + "line": 48, "column": 4 }, "end": { - "line": 53, + "line": 50, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 1343, - "end": 1376, + "start": 1468, + "end": 1510, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, - "column": 41 + "line": 48, + "column": 50 } }, "left": { "type": "BinaryExpression", - "start": 1343, - "end": 1352, + "start": 1468, + "end": 1487, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, - "column": 17 + "line": 48, + "column": 27 } }, "left": { - "type": "Identifier", - "start": 1343, - "end": 1348, + "type": "MemberExpression", + "start": 1468, + "end": 1483, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, - "column": 13 + "line": 48, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 1468, + "end": 1477, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 17 + }, + "identifierName": "inputTime" + }, + "name": "inputTime" + }, + "property": { + "type": "Identifier", + "start": 1478, + "end": 1483, + "loc": { + "start": { + "line": 48, + "column": 18 + }, + "end": { + "line": 48, + "column": 23 + }, + "identifierName": "hours" }, - "identifierName": "guide" + "name": "hours" }, - "name": "guide", - "leadingComments": null + "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", - "start": 1351, - "end": 1352, + "start": 1486, + "end": 1487, "loc": { "start": { - "line": 42, - "column": 16 + "line": 48, + "column": 26 }, "end": { - "line": 42, - "column": 17 + "line": 48, + "column": 27 } }, "extra": { @@ -5751,582 +5271,320 @@ "raw": "0" }, "value": 0 - }, - "leadingComments": null + } }, - "operator": "&&", + "operator": "||", "right": { "type": "BinaryExpression", - "start": 1356, - "end": 1376, + "start": 1491, + "end": 1510, "loc": { "start": { - "line": 42, - "column": 21 + "line": 48, + "column": 31 }, "end": { - "line": 42, - "column": 41 + "line": 48, + "column": 50 } }, "left": { - "type": "Identifier", - "start": 1356, - "end": 1361, + "type": "MemberExpression", + "start": 1491, + "end": 1506, "loc": { "start": { - "line": 42, - "column": 21 + "line": 48, + "column": 31 }, "end": { - "line": 42, - "column": 26 + "line": 48, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 1491, + "end": 1500, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 40 + }, + "identifierName": "guideTime" + }, + "name": "guideTime" + }, + "property": { + "type": "Identifier", + "start": 1501, + "end": 1506, + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 46 + }, + "identifierName": "hours" }, - "identifierName": "guide" + "name": "hours" }, - "name": "guide" + "computed": false }, - "operator": "<", + "operator": ">", "right": { - "type": "Identifier", - "start": 1364, - "end": 1376, + "type": "NumericLiteral", + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 42, - "column": 29 + "line": 48, + "column": 49 }, "end": { - "line": 42, - "column": 41 - }, - "identifierName": "msDisplayMax" + "line": 48, + "column": 50 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" }, - "name": "msDisplayMax" + "value": 0 } - }, - "leadingComments": null + } }, "consequent": { "type": "BlockStatement", - "start": 1378, - "end": 1567, + "start": 1512, + "end": 1557, "loc": { "start": { - "line": 42, - "column": 43 + "line": 48, + "column": 52 }, "end": { - "line": 51, + "line": 50, "column": 5 } }, "body": [ { - "type": "IfStatement", - "start": 1388, - "end": 1538, + "type": "ReturnStatement", + "start": 1522, + "end": 1551, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { "line": 49, - "column": 9 + "column": 37 } }, - "test": { - "type": "BinaryExpression", - "start": 1392, - "end": 1400, + "argument": { + "type": "TemplateLiteral", + "start": 1529, + "end": 1550, "loc": { "start": { - "line": 43, - "column": 12 + "line": 49, + "column": 15 }, "end": { - "line": 43, - "column": 20 + "line": 49, + "column": 36 } }, - "left": { - "type": "Identifier", - "start": 1392, - "end": 1394, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 14 - }, - "identifierName": "ms" - }, - "name": "ms" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1397, - "end": 1400, - "loc": { - "start": { - "line": 43, - "column": 17 - }, - "end": { - "line": 43, - "column": 20 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1402, - "end": 1538, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "body": [ + "expressions": [ { - "type": "IfStatement", - "start": 1416, - "end": 1528, + "type": "Identifier", + "start": 1532, + "end": 1534, "loc": { "start": { - "line": 44, - "column": 12 + "line": 49, + "column": 18 }, "end": { - "line": 48, - "column": 13 - } + "line": 49, + "column": 20 + }, + "identifierName": "hr" }, - "test": { - "type": "BinaryExpression", - "start": 1420, - "end": 1427, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 23 - } + "name": "hr" + }, + { + "type": "Identifier", + "start": 1538, + "end": 1541, + "loc": { + "start": { + "line": 49, + "column": 24 }, - "left": { - "type": "Identifier", - "start": 1420, - "end": 1422, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "ms" - }, - "name": "ms" + "end": { + "line": 49, + "column": 27 }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1425, - "end": 1427, - "loc": { - "start": { - "line": 44, - "column": 21 - }, - "end": { - "line": 44, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } + "identifierName": "min" }, - "consequent": { - "type": "BlockStatement", - "start": 1429, - "end": 1476, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 46, - "column": 13 - } + "name": "min" + }, + { + "type": "Identifier", + "start": 1545, + "end": 1548, + "loc": { + "start": { + "line": 49, + "column": 31 }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1447, - "end": 1462, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1447, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1447, - "end": 1449, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 18 - }, - "identifierName": "ms" - }, - "name": "ms" - }, - "right": { - "type": "BinaryExpression", - "start": 1452, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 21 - }, - "end": { - "line": 45, - "column": 30 - } - }, - "left": { - "type": "StringLiteral", - "start": 1452, - "end": 1456, - "loc": { - "start": { - "line": 45, - "column": 21 - }, - "end": { - "line": 45, - "column": 25 - } - }, - "extra": { - "rawValue": "00", - "raw": "'00'" - }, - "value": "00" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1459, - "end": 1461, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 30 - }, - "identifierName": "ms" - }, - "name": "ms" - } - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 1482, - "end": 1528, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 48, - "column": 13 - } + "end": { + "line": 49, + "column": 34 }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1500, - "end": 1514, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1500, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1500, - "end": 1502, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "ms" - }, - "name": "ms" - }, - "right": { - "type": "BinaryExpression", - "start": 1505, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 29 - } - }, - "left": { - "type": "StringLiteral", - "start": 1505, - "end": 1508, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 24 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1511, - "end": 1513, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 29 - }, - "identifierName": "ms" - }, - "name": "ms" - } - } - } - } - ], - "directives": [] - } + "identifierName": "sec" + }, + "name": "sec" } ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 1547, - "end": 1561, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 22 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1547, - "end": 1560, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 21 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1547, - "end": 1549, - "loc": { - "start": { - "line": 50, - "column": 8 + "quasis": [ + { + "type": "TemplateElement", + "start": 1530, + "end": 1530, + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 16 + } }, - "end": { - "line": 50, - "column": 10 + "value": { + "raw": "", + "cooked": "" }, - "identifierName": "ms" + "tail": false }, - "name": "ms" - }, - "right": { - "type": "BinaryExpression", - "start": 1552, - "end": 1560, - "loc": { - "start": { - "line": 50, - "column": 13 + { + "type": "TemplateElement", + "start": 1535, + "end": 1536, + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 22 + } }, - "end": { - "line": 50, - "column": 21 - } + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false }, - "left": { - "type": "StringLiteral", - "start": 1552, - "end": 1555, + { + "type": "TemplateElement", + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 50, - "column": 13 + "line": 49, + "column": 28 }, "end": { - "line": 50, - "column": 16 + "line": 49, + "column": 29 } }, - "extra": { - "rawValue": ":", - "raw": "':'" + "value": { + "raw": ":", + "cooked": ":" }, - "value": ":" + "tail": false }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1558, - "end": 1560, + { + "type": "TemplateElement", + "start": 1549, + "end": 1549, "loc": { "start": { - "line": 50, - "column": 19 + "line": 49, + "column": 35 }, "end": { - "line": 50, - "column": 21 - }, - "identifierName": "ms" + "line": 49, + "column": 35 + } }, - "name": "ms" + "value": { + "raw": "", + "cooked": "" + }, + "tail": true } - } + ] } } ], "directives": [] }, - "alternate": { + "alternate": null + }, + { + "type": "IfStatement", + "start": 1562, + "end": 1632, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 53, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1566, + "end": 1585, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 27 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "consequent": { "type": "BlockStatement", - "start": 1573, - "end": 1597, + "start": 1587, + "end": 1632, "loc": { "start": { "line": 51, - "column": 11 + "column": 29 }, "end": { "line": 53, @@ -6335,9 +5593,9 @@ }, "body": [ { - "type": "ExpressionStatement", - "start": 1583, - "end": 1591, + "type": "ReturnStatement", + "start": 1597, + "end": 1626, "loc": { "start": { "line": 52, @@ -6345,1398 +5603,326 @@ }, "end": { "line": 52, - "column": 16 + "column": 37 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1583, - "end": 1590, + "argument": { + "type": "TemplateLiteral", + "start": 1604, + "end": 1625, "loc": { "start": { "line": 52, - "column": 8 + "column": 15 }, "end": { "line": 52, - "column": 15 + "column": 36 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1583, - "end": 1585, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 10 + "expressions": [ + { + "type": "Identifier", + "start": 1607, + "end": 1610, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 21 + }, + "identifierName": "min" }, - "identifierName": "ms" + "name": "min" }, - "name": "ms" - }, - "right": { - "type": "StringLiteral", - "start": 1588, - "end": 1590, - "loc": { - "start": { - "line": 52, - "column": 13 + { + "type": "Identifier", + "start": 1614, + "end": 1617, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 28 + }, + "identifierName": "sec" }, - "end": { - "line": 52, - "column": 15 - } - }, - "extra": { - "rawValue": "", - "raw": "''" + "name": "sec" }, - "value": "" - } + { + "type": "Identifier", + "start": 1621, + "end": 1623, + "loc": { + "start": { + "line": 52, + "column": 32 + }, + "end": { + "line": 52, + "column": 34 + }, + "identifierName": "ms" + }, + "name": "ms" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1605, + "end": 1605, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 16 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 23 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1618, + "end": 1619, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + }, + "value": { + "raw": ":", + "cooked": ":" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1624, + "end": 1624, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 35 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } } ], - "directives": [], - "trailingComments": null + "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 44 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 37 - } - } - } - ] + "alternate": null }, { - "type": "ExpressionStatement", - "start": 1641, - "end": 1678, + "type": "ReturnStatement", + "start": 1638, + "end": 1661, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 56, - "column": 41 + "line": 55, + "column": 27 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1641, - "end": 1677, + "argument": { + "type": "TemplateLiteral", + "start": 1645, + "end": 1660, "loc": { "start": { - "line": 56, - "column": 4 + "line": 55, + "column": 11 }, "end": { - "line": 56, - "column": 40 + "line": 55, + "column": 26 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1641, - "end": 1642, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 5 - }, - "identifierName": "h" - }, - "name": "h", - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 1645, - "end": 1677, - "loc": { - "start": { - "line": 56, - "column": 8 + "expressions": [ + { + "type": "Identifier", + "start": 1648, + "end": 1651, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 17 + }, + "identifierName": "min" }, - "end": { - "line": 56, - "column": 40 - } + "name": "min" }, - "test": { - "type": "LogicalExpression", - "start": 1646, - "end": 1661, + { + "type": "Identifier", + "start": 1655, + "end": 1658, "loc": { "start": { - "line": 56, - "column": 9 + "line": 55, + "column": 21 }, "end": { - "line": 56, + "line": 55, "column": 24 - } - }, - "left": { - "type": "BinaryExpression", - "start": 1646, - "end": 1651, - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 14 - } - }, - "left": { - "type": "Identifier", - "start": 1646, - "end": 1647, - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 10 - }, - "identifierName": "h" - }, - "name": "h" }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 1650, - "end": 1651, - "loc": { - "start": { - "line": 56, - "column": 13 - }, - "end": { - "line": 56, - "column": 14 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "identifierName": "sec" }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 1655, - "end": 1661, - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 1655, - "end": 1657, - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 20 - }, - "identifierName": "gh" - }, - "name": "gh" + "name": "sec" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1646, + "end": 1646, + "loc": { + "start": { + "line": 55, + "column": 12 }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 1660, - "end": 1661, - "loc": { - "start": { - "line": 56, - "column": 23 - }, - "end": { - "line": 56, - "column": 24 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "end": { + "line": 55, + "column": 12 } }, - "extra": { - "parenthesized": true, - "parenStart": 1645 - } + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "consequent": { - "type": "BinaryExpression", - "start": 1665, - "end": 1672, + { + "type": "TemplateElement", + "start": 1652, + "end": 1653, "loc": { "start": { - "line": 56, - "column": 28 + "line": 55, + "column": 18 }, "end": { - "line": 56, - "column": 35 + "line": 55, + "column": 19 } }, - "left": { - "type": "Identifier", - "start": 1665, - "end": 1666, - "loc": { - "start": { - "line": 56, - "column": 28 - }, - "end": { - "line": 56, - "column": 29 - }, - "identifierName": "h" - }, - "name": "h" + "value": { + "raw": ":", + "cooked": ":" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1669, - "end": 1672, - "loc": { - "start": { - "line": 56, - "column": 32 - }, - "end": { - "line": 56, - "column": 35 - } - }, - "extra": { - "rawValue": ":", - "raw": "':'" - }, - "value": ":" - } + "tail": false }, - "alternate": { - "type": "StringLiteral", - "start": 1675, - "end": 1677, + { + "type": "TemplateElement", + "start": 1659, + "end": 1659, "loc": { "start": { - "line": 56, - "column": 38 + "line": 55, + "column": 25 }, "end": { - "line": 56, - "column": 40 + "line": 55, + "column": 25 } }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, - "loc": { - "start": { - "line": 55, - "column": 4 + "value": { + "raw": "", + "cooked": "" }, - "end": { - "line": 55, - "column": 37 - } + "tail": true } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 63 - } - } - }, - { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 49 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1798, - "end": 1852, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 58 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1798, - "end": 1851, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 57 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1798, - "end": 1799, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 5 - }, - "identifierName": "m" - }, - "name": "m", - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 1802, - "end": 1851, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 57 - } - }, - "left": { - "type": "ConditionalExpression", - "start": 1803, - "end": 1844, - "loc": { - "start": { - "line": 60, - "column": 9 - }, - "end": { - "line": 60, - "column": 50 - } - }, - "test": { - "type": "LogicalExpression", - "start": 1804, - "end": 1829, - "loc": { - "start": { - "line": 60, - "column": 10 - }, - "end": { - "line": 60, - "column": 35 - } - }, - "left": { - "type": "LogicalExpression", - "start": 1805, - "end": 1818, - "loc": { - "start": { - "line": 60, - "column": 11 - }, - "end": { - "line": 60, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 1805, - "end": 1806, - "loc": { - "start": { - "line": 60, - "column": 11 - }, - "end": { - "line": 60, - "column": 12 - }, - "identifierName": "h" - }, - "name": "h" - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 1810, - "end": 1818, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 1810, - "end": 1812, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 18 - }, - "identifierName": "gm" - }, - "name": "gm" - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 1816, - "end": 1818, - "loc": { - "start": { - "line": 60, - "column": 22 - }, - "end": { - "line": 60, - "column": 24 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - }, - "extra": { - "parenthesized": true, - "parenStart": 1804 - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 1823, - "end": 1829, - "loc": { - "start": { - "line": 60, - "column": 29 - }, - "end": { - "line": 60, - "column": 35 - } - }, - "left": { - "type": "Identifier", - "start": 1823, - "end": 1824, - "loc": { - "start": { - "line": 60, - "column": 29 - }, - "end": { - "line": 60, - "column": 30 - }, - "identifierName": "m" - }, - "name": "m" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1827, - "end": 1829, - "loc": { - "start": { - "line": 60, - "column": 33 - }, - "end": { - "line": 60, - "column": 35 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - }, - "extra": { - "parenthesized": true, - "parenStart": 1803 - } - }, - "consequent": { - "type": "BinaryExpression", - "start": 1833, - "end": 1840, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 46 - } - }, - "left": { - "type": "StringLiteral", - "start": 1833, - "end": 1836, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 42 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1839, - "end": 1840, - "loc": { - "start": { - "line": 60, - "column": 45 - }, - "end": { - "line": 60, - "column": 46 - }, - "identifierName": "m" - }, - "name": "m" - } - }, - "alternate": { - "type": "Identifier", - "start": 1843, - "end": 1844, - "loc": { - "start": { - "line": 60, - "column": 49 - }, - "end": { - "line": 60, - "column": 50 - }, - "identifierName": "m" - }, - "name": "m" - }, - "extra": { - "parenthesized": true, - "parenStart": 1802 - } - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1848, - "end": 1851, - "loc": { - "start": { - "line": 60, - "column": 54 - }, - "end": { - "line": 60, - "column": 57 - } - }, - "extra": { - "rawValue": ":", - "raw": "':'" - }, - "value": ":" - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 63 - } - } - }, - { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 49 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 48 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1907, - "end": 1936, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1907, - "end": 1935, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1907, - "end": 1908, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 5 - }, - "identifierName": "s" - }, - "name": "s", - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 1912, - "end": 1934, - "loc": { - "start": { - "line": 63, - "column": 9 - }, - "end": { - "line": 63, - "column": 31 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1913, - "end": 1919, - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 16 - } - }, - "left": { - "type": "Identifier", - "start": 1913, - "end": 1914, - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 11 - }, - "identifierName": "s" - }, - "name": "s" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1917, - "end": 1919, - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 16 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - "extra": { - "parenthesized": true, - "parenStart": 1912 - } - }, - "consequent": { - "type": "BinaryExpression", - "start": 1923, - "end": 1930, - "loc": { - "start": { - "line": 63, - "column": 20 - }, - "end": { - "line": 63, - "column": 27 - } - }, - "left": { - "type": "StringLiteral", - "start": 1923, - "end": 1926, - "loc": { - "start": { - "line": 63, - "column": 20 - }, - "end": { - "line": 63, - "column": 23 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1929, - "end": 1930, - "loc": { - "start": { - "line": 63, - "column": 26 - }, - "end": { - "line": 63, - "column": 27 - }, - "identifierName": "s" - }, - "name": "s" - } - }, - "alternate": { - "type": "Identifier", - "start": 1933, - "end": 1934, - "loc": { - "start": { - "line": 63, - "column": 30 - }, - "end": { - "line": 63, - "column": 31 - }, - "identifierName": "s" - }, - "name": "s" - }, - "extra": { - "parenthesized": true, - "parenStart": 1911 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 48 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 1942, - "end": 1964, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 65, - "column": 26 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 1949, - "end": 1963, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 25 - } - }, - "left": { - "type": "BinaryExpression", - "start": 1949, - "end": 1958, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 20 - } - }, - "left": { - "type": "BinaryExpression", - "start": 1949, - "end": 1954, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 16 - } - }, - "left": { - "type": "Identifier", - "start": 1949, - "end": 1950, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 12 - }, - "identifierName": "h" - }, - "name": "h" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1953, - "end": 1954, - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 16 - }, - "identifierName": "m" - }, - "name": "m" - } - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1957, - "end": 1958, - "loc": { - "start": { - "line": 65, - "column": 19 - }, - "end": { - "line": 65, - "column": 20 - }, - "identifierName": "s" - }, - "name": "s" - } - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1961, - "end": 1963, - "loc": { - "start": { - "line": 65, - "column": 23 - }, - "end": { - "line": 65, - "column": 25 - }, - "identifierName": "ms" - }, - "name": "ms" - } - } - } - ], - "directives": [] - } - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @file format-time.js\n * @since 2.0.0\n ", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string\n * after.\n * @param {number} msDisplayMax - Number (in milliseconds) to model the string\n * after.\n * @return {string} Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g.\n * 0:00:12.\n * @private\n ", - "start": 49, - "end": 587, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * @file format-time.js\n * @since 2.0.0\n ", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string\n * after.\n * @param {number} msDisplayMax - Number (in milliseconds) to model the string\n * after.\n * @return {string} Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g.\n * 0:00:12.\n * @private\n ", - "start": 49, - "end": 587, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Default to using seconds as guide", - "start": 652, - "end": 688, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " '-' is false for all relational operators (e.g. <, >=) so this", - "start": 1096, - "end": 1161, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " setting will add the minimum number of fields specified by the", - "start": 1170, - "end": 1235, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " guide", - "start": 1244, - "end": 1252, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 37 - } - } - }, - { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 63 - } - } - }, - { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 48 + ] + } + } + ], + "directives": [] + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Format seconds as a duration string.\n *\n * Either formatted as:\n *\n * - DD:HH:MM:SS (> 24 hours)\n * - HH:MM:SS (> 1 hour)\n * - MM:SS:MSS (`displayMilliseconds = true`)\n * - MM:SS (`displayMilliseconds = false`)\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string after.\n * @param {boolean} displayMilliseconds - Display milliseconds or not.\n * @return {string} Formatted duration time, e.g '00:12:653'.\n * @private\n ", + "start": 124, + "end": 760, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [] } } - } - ], - "tokens": [ + ], + "directives": [] + }, + "comments": [ { "type": "CommentBlock", "value": "*\n * @file format-time.js\n * @since 2.0.0\n ", @@ -7745,270 +5931,52 @@ "loc": { "start": { "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string\n * after.\n * @param {number} msDisplayMax - Number (in milliseconds) to model the string\n * after.\n * @return {string} Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g.\n * 0:00:12.\n * @private\n ", - "start": 49, - "end": 587, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 588, - "end": 593, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "formatTime", - "start": 594, - "end": 604, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 607, - "end": 615, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "seconds", - "start": 616, - "end": 623, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 623, - "end": 624, - "loc": { - "start": { - "line": 22, - "column": 35 + "column": 0 }, "end": { - "line": 22, - "column": 36 + "line": 4, + "column": 3 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "guide", - "start": 625, - "end": 630, + "type": "CommentBlock", + "value": "*\n * Format seconds as a duration string.\n *\n * Either formatted as:\n *\n * - DD:HH:MM:SS (> 24 hours)\n * - HH:MM:SS (> 1 hour)\n * - MM:SS:MSS (`displayMilliseconds = true`)\n * - MM:SS (`displayMilliseconds = false`)\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string after.\n * @param {boolean} displayMilliseconds - Display milliseconds or not.\n * @return {string} Formatted duration time, e.g '00:12:653'.\n * @private\n ", + "start": 124, + "end": 760, "loc": { "start": { - "line": 22, - "column": 37 + "line": 9, + "column": 0 }, "end": { - "line": 22, - "column": 42 + "line": 28, + "column": 3 } } - }, + } + ], + "tokens": [ { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 630, - "end": 631, + "type": "CommentBlock", + "value": "*\n * @file format-time.js\n * @since 2.0.0\n ", + "start": 0, + "end": 47, "loc": { "start": { - "line": 22, - "column": 42 + "line": 1, + "column": 0 }, "end": { - "line": 22, - "column": 43 + "line": 4, + "column": 3 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8016,27 +5984,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "msDisplayMax", - "start": 632, - "end": 644, + "value": "import", + "start": 49, + "end": 55, "loc": { "start": { - "line": 22, - "column": 44 + "line": 6, + "column": 0 }, "end": { - "line": 22, - "column": 56 + "line": 6, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8044,23 +6013,24 @@ "postfix": false, "binop": null }, - "start": 644, - "end": 645, + "value": "addZero", + "start": 56, + "end": 63, "loc": { "start": { - "line": 22, - "column": 56 + "line": 6, + "column": 7 }, "end": { - "line": 22, - "column": 57 + "line": 6, + "column": 14 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8069,38 +6039,23 @@ "postfix": false, "binop": null }, - "start": 646, - "end": 647, - "loc": { - "start": { - "line": 22, - "column": 58 - }, - "end": { - "line": 22, - "column": 59 - } - } - }, - { - "type": "CommentLine", - "value": " Default to using seconds as guide", - "start": 652, - "end": 688, + "value": "from", + "start": 64, + "end": 68, "loc": { "start": { - "line": 23, - "column": 4 + "line": 6, + "column": 15 }, "end": { - "line": 23, - "column": 40 + "line": 6, + "column": 19 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8108,52 +6063,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "seconds", - "start": 693, - "end": 700, + "value": "add-zero", + "start": 69, + "end": 79, "loc": { "start": { - "line": 24, - "column": 4 + "line": 6, + "column": 20 }, "end": { - "line": 24, - "column": 11 + "line": 6, + "column": 30 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 701, - "end": 702, + "start": 79, + "end": 80, "loc": { "start": { - "line": 24, - "column": 12 + "line": 6, + "column": 30 }, "end": { - "line": 24, - "column": 13 + "line": 6, + "column": 31 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8161,52 +6117,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "seconds", - "start": 703, - "end": 710, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 711, - "end": 712, + "value": "import", + "start": 81, + "end": 87, "loc": { "start": { - "line": 24, - "column": 22 + "line": 7, + "column": 0 }, "end": { - "line": 24, - "column": 23 + "line": 7, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8214,52 +6144,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 713, - "end": 714, + "value": "parseMilliseconds", + "start": 88, + "end": 105, "loc": { "start": { - "line": 24, - "column": 24 + "line": 7, + "column": 7 }, "end": { - "line": 24, - "column": 25 + "line": 7, + "column": 24 } } }, { "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 715, - "end": 716, + "value": "from", + "start": 106, + "end": 110, "loc": { "start": { - "line": 24, - "column": 26 + "line": 7, + "column": 25 }, "end": { - "line": 24, - "column": 27 + "line": 7, + "column": 29 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8270,23 +6199,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 717, - "end": 718, + "value": "parse-ms", + "start": 111, + "end": 121, "loc": { "start": { - "line": 24, - "column": 28 + "line": 7, + "column": 30 }, "end": { - "line": 24, - "column": 29 + "line": 7, + "column": 40 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8297,49 +6226,40 @@ "binop": null, "updateContext": null }, - "start": 719, - "end": 720, + "start": 121, + "end": 122, "loc": { "start": { - "line": 24, - "column": 30 + "line": 7, + "column": 40 }, "end": { - "line": 24, - "column": 31 + "line": 7, + "column": 41 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "seconds", - "start": 721, - "end": 728, + "type": "CommentBlock", + "value": "*\n * Format seconds as a duration string.\n *\n * Either formatted as:\n *\n * - DD:HH:MM:SS (> 24 hours)\n * - HH:MM:SS (> 1 hour)\n * - MM:SS:MSS (`displayMilliseconds = true`)\n * - MM:SS (`displayMilliseconds = false`)\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string after.\n * @param {boolean} displayMilliseconds - Display milliseconds or not.\n * @return {string} Formatted duration time, e.g '00:12:653'.\n * @private\n ", + "start": 124, + "end": 760, "loc": { "start": { - "line": 24, - "column": 32 + "line": 9, + "column": 0 }, "end": { - "line": 24, - "column": 39 + "line": 28, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8349,16 +6269,17 @@ "binop": null, "updateContext": null }, - "start": 728, - "end": 729, + "value": "const", + "start": 761, + "end": 766, "loc": { "start": { - "line": 24, - "column": 39 + "line": 29, + "column": 0 }, "end": { - "line": 24, - "column": 40 + "line": 29, + "column": 5 } } }, @@ -8374,17 +6295,17 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 734, - "end": 739, + "value": "formatTime", + "start": 767, + "end": 777, "loc": { "start": { - "line": 25, - "column": 4 + "line": 29, + "column": 6 }, "end": { - "line": 25, - "column": 9 + "line": 29, + "column": 16 } } }, @@ -8402,22 +6323,23 @@ "updateContext": null }, "value": "=", - "start": 740, - "end": 741, + "start": 778, + "end": 779, "loc": { "start": { - "line": 25, - "column": 10 + "line": 29, + "column": 17 }, "end": { - "line": 25, - "column": 11 + "line": 29, + "column": 18 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8427,51 +6349,24 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 742, - "end": 747, + "value": "function", + "start": 780, + "end": 788, "loc": { "start": { - "line": 25, - "column": 12 + "line": 29, + "column": 19 }, "end": { - "line": 25, - "column": 17 + "line": 29, + "column": 27 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 748, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8480,51 +6375,49 @@ "postfix": false, "binop": null }, - "value": "seconds", - "start": 751, - "end": 758, + "start": 788, + "end": 789, "loc": { "start": { - "line": 25, - "column": 21 + "line": 29, + "column": 27 }, "end": { - "line": 25, + "line": 29, "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 758, - "end": 759, + "value": "seconds", + "start": 789, + "end": 796, "loc": { "start": { - "line": 25, + "line": 29, "column": 28 }, "end": { - "line": 25, - "column": 29 + "line": 29, + "column": 35 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8534,17 +6427,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 764, - "end": 767, + "start": 796, + "end": 797, "loc": { "start": { - "line": 26, - "column": 4 + "line": 29, + "column": 35 }, "end": { - "line": 26, - "column": 7 + "line": 29, + "column": 36 } } }, @@ -8560,44 +6452,43 @@ "postfix": false, "binop": null }, - "value": "s", - "start": 768, - "end": 769, + "value": "guide", + "start": 798, + "end": 803, "loc": { "start": { - "line": 26, - "column": 8 + "line": 29, + "column": 37 }, "end": { - "line": 26, - "column": 9 + "line": 29, + "column": 42 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 770, - "end": 771, + "start": 803, + "end": 804, "loc": { "start": { - "line": 26, - "column": 10 + "line": 29, + "column": 42 }, "end": { - "line": 26, - "column": 11 + "line": 29, + "column": 43 } } }, @@ -8613,49 +6504,51 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 772, - "end": 776, + "value": "displayMilliseconds", + "start": 805, + "end": 824, "loc": { "start": { - "line": 26, - "column": 12 + "line": 29, + "column": 44 }, "end": { - "line": 26, - "column": 16 + "line": 29, + "column": 63 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "value": "=", + "start": 825, + "end": 826, "loc": { "start": { - "line": 26, - "column": 16 + "line": 29, + "column": 64 }, "end": { - "line": 26, - "column": 17 + "line": 29, + "column": 65 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8663,27 +6556,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "floor", - "start": 777, - "end": 782, + "value": "true", + "start": 827, + "end": 831, "loc": { "start": { - "line": 26, - "column": 17 + "line": 29, + "column": 66 }, "end": { - "line": 26, - "column": 22 + "line": 29, + "column": 70 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8691,23 +6585,23 @@ "postfix": false, "binop": null }, - "start": 782, - "end": 783, + "start": 831, + "end": 832, "loc": { "start": { - "line": 26, - "column": 22 + "line": 29, + "column": 70 }, "end": { - "line": 26, - "column": 23 + "line": 29, + "column": 71 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8716,79 +6610,77 @@ "postfix": false, "binop": null }, - "value": "seconds", - "start": 783, - "end": 790, + "start": 833, + "end": 834, "loc": { "start": { - "line": 26, - "column": 23 + "line": 29, + "column": 72 }, "end": { - "line": 26, - "column": 30 + "line": 29, + "column": 73 } } }, { "type": { - "label": "%", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 791, - "end": 792, + "value": "seconds", + "start": 839, + "end": 846, "loc": { "start": { - "line": 26, - "column": 31 + "line": 30, + "column": 4 }, "end": { - "line": 26, - "column": 32 + "line": 30, + "column": 11 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": 60, - "start": 793, - "end": 795, + "value": "=", + "start": 847, + "end": 848, "loc": { "start": { - "line": 26, - "column": 33 + "line": 30, + "column": 12 }, "end": { - "line": 26, - "column": 35 + "line": 30, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8796,22 +6688,23 @@ "postfix": false, "binop": null }, - "start": 795, - "end": 796, + "value": "seconds", + "start": 849, + "end": 856, "loc": { "start": { - "line": 26, - "column": 35 + "line": 30, + "column": 14 }, "end": { - "line": 26, - "column": 36 + "line": 30, + "column": 21 } } }, { "type": { - "label": ",", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8819,25 +6712,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 796, - "end": 797, + "value": "<", + "start": 857, + "end": 858, "loc": { "start": { - "line": 26, - "column": 36 + "line": 30, + "column": 22 }, "end": { - "line": 26, - "column": 37 + "line": 30, + "column": 23 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8845,52 +6739,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "m", - "start": 806, - "end": 807, + "value": 0, + "start": 859, + "end": 860, "loc": { "start": { - "line": 27, - "column": 8 + "line": 30, + "column": 24 }, "end": { - "line": 27, - "column": 9 + "line": 30, + "column": 25 } } }, { "type": { - "label": "=", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 808, - "end": 809, + "start": 861, + "end": 862, "loc": { "start": { - "line": 27, - "column": 10 + "line": 30, + "column": 26 }, "end": { - "line": 27, - "column": 11 + "line": 30, + "column": 27 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8898,26 +6792,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Math", - "start": 810, - "end": 814, + "value": 0, + "start": 863, + "end": 864, "loc": { "start": { - "line": 27, - "column": 12 + "line": 30, + "column": 28 }, "end": { - "line": 27, - "column": 16 + "line": 30, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8927,16 +6822,16 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "start": 865, + "end": 866, "loc": { "start": { - "line": 27, - "column": 16 + "line": 30, + "column": 30 }, "end": { - "line": 27, - "column": 17 + "line": 30, + "column": 31 } } }, @@ -8952,101 +6847,102 @@ "postfix": false, "binop": null }, - "value": "floor", - "start": 815, - "end": 820, + "value": "seconds", + "start": 867, + "end": 874, "loc": { "start": { - "line": 27, - "column": 17 + "line": 30, + "column": 32 }, "end": { - "line": 27, - "column": 22 + "line": 30, + "column": 39 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 820, - "end": 821, + "start": 874, + "end": 875, "loc": { "start": { - "line": 27, - "column": 22 + "line": 30, + "column": 39 }, "end": { - "line": 27, - "column": 23 + "line": 30, + "column": 40 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "seconds", - "start": 821, - "end": 828, + "value": "if", + "start": 880, + "end": 882, "loc": { "start": { - "line": 27, - "column": 23 + "line": 31, + "column": 4 }, "end": { - "line": 27, - "column": 30 + "line": 31, + "column": 6 } } }, { "type": { - "label": "/", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 829, - "end": 830, + "start": 883, + "end": 884, "loc": { "start": { - "line": 27, - "column": 31 + "line": 31, + "column": 7 }, "end": { - "line": 27, - "column": 32 + "line": 31, + "column": 8 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9054,53 +6950,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 60, - "start": 831, - "end": 833, + "value": "isNaN", + "start": 884, + "end": 889, "loc": { "start": { - "line": 27, - "column": 33 + "line": 31, + "column": 8 }, "end": { - "line": 27, - "column": 35 + "line": 31, + "column": 13 } } }, { "type": { - "label": "%", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 834, - "end": 835, + "start": 889, + "end": 890, "loc": { "start": { - "line": 27, - "column": 36 + "line": 31, + "column": 13 }, "end": { - "line": 27, - "column": 37 + "line": 31, + "column": 14 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9108,20 +7001,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 60, - "start": 836, - "end": 838, + "value": "seconds", + "start": 890, + "end": 897, "loc": { "start": { - "line": 27, - "column": 38 + "line": 31, + "column": 14 }, "end": { - "line": 27, - "column": 40 + "line": 31, + "column": 21 } } }, @@ -9137,22 +7029,22 @@ "postfix": false, "binop": null }, - "start": 838, - "end": 839, + "start": 897, + "end": 898, "loc": { "start": { - "line": 27, - "column": 40 + "line": 31, + "column": 21 }, "end": { - "line": 27, - "column": 41 + "line": 31, + "column": 22 } } }, { "type": { - "label": ",", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9160,19 +7052,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 839, - "end": 840, + "value": "||", + "start": 899, + "end": 901, "loc": { "start": { - "line": 27, - "column": 41 + "line": 31, + "column": 23 }, "end": { - "line": 27, - "column": 42 + "line": 31, + "column": 25 } } }, @@ -9188,44 +7081,44 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 849, - "end": 850, + "value": "seconds", + "start": 902, + "end": 909, "loc": { "start": { - "line": 28, - "column": 8 + "line": 31, + "column": 26 }, "end": { - "line": 28, - "column": 9 + "line": 31, + "column": 33 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 851, - "end": 852, + "value": "===", + "start": 910, + "end": 913, "loc": { "start": { - "line": 28, - "column": 10 + "line": 31, + "column": 34 }, "end": { - "line": 28, - "column": 11 + "line": 31, + "column": 37 } } }, @@ -9241,23 +7134,23 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 853, - "end": 857, + "value": "Infinity", + "start": 914, + "end": 922, "loc": { "start": { - "line": 28, - "column": 12 + "line": 31, + "column": 38 }, "end": { - "line": 28, - "column": 16 + "line": 31, + "column": 46 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9265,51 +7158,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 857, - "end": 858, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "floor", - "start": 858, - "end": 863, + "start": 922, + "end": 923, "loc": { "start": { - "line": 28, - "column": 17 + "line": 31, + "column": 46 }, "end": { - "line": 28, - "column": 22 + "line": 31, + "column": 47 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -9319,16 +7185,16 @@ "postfix": false, "binop": null }, - "start": 863, - "end": 864, + "start": 924, + "end": 925, "loc": { "start": { - "line": 28, - "column": 22 + "line": 31, + "column": 48 }, "end": { - "line": 28, - "column": 23 + "line": 31, + "column": 49 } } }, @@ -9345,43 +7211,43 @@ "binop": null }, "value": "seconds", - "start": 864, - "end": 871, + "start": 934, + "end": 941, "loc": { "start": { - "line": 28, - "column": 23 + "line": 32, + "column": 8 }, "end": { - "line": 28, - "column": 30 + "line": 32, + "column": 15 } } }, { "type": { - "label": "/", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 872, - "end": 873, + "value": "=", + "start": 942, + "end": 943, "loc": { "start": { - "line": 28, - "column": 31 + "line": 32, + "column": 16 }, "end": { - "line": 28, - "column": 32 + "line": 32, + "column": 17 } } }, @@ -9398,48 +7264,23 @@ "binop": null, "updateContext": null }, - "value": 3600, - "start": 874, - "end": 878, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 878, - "end": 879, + "value": 0, + "start": 944, + "end": 945, "loc": { "start": { - "line": 28, - "column": 37 + "line": 32, + "column": 18 }, "end": { - "line": 28, - "column": 38 + "line": 32, + "column": 19 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9450,24 +7291,24 @@ "binop": null, "updateContext": null }, - "start": 879, - "end": 880, + "start": 945, + "end": 946, "loc": { "start": { - "line": 28, - "column": 38 + "line": 32, + "column": 19 }, "end": { - "line": 28, - "column": 39 + "line": 32, + "column": 20 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9475,44 +7316,44 @@ "postfix": false, "binop": null }, - "value": "gm", - "start": 889, - "end": 891, + "start": 951, + "end": 952, "loc": { "start": { - "line": 29, - "column": 8 + "line": 33, + "column": 4 }, "end": { - "line": 29, - "column": 10 + "line": 33, + "column": 5 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 892, - "end": 893, + "value": "const", + "start": 957, + "end": 962, "loc": { "start": { - "line": 29, - "column": 11 + "line": 34, + "column": 4 }, "end": { - "line": 29, - "column": 12 + "line": 34, + "column": 9 } } }, @@ -9528,43 +7369,44 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 894, - "end": 898, + "value": "inputTime", + "start": 963, + "end": 972, "loc": { "start": { - "line": 29, - "column": 13 + "line": 34, + "column": 10 }, "end": { - "line": 29, - "column": 17 + "line": 34, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 898, - "end": 899, + "value": "=", + "start": 973, + "end": 974, "loc": { "start": { - "line": 29, - "column": 17 + "line": 34, + "column": 20 }, "end": { - "line": 29, - "column": 18 + "line": 34, + "column": 21 } } }, @@ -9580,17 +7422,17 @@ "postfix": false, "binop": null }, - "value": "floor", - "start": 899, - "end": 904, + "value": "parseMilliseconds", + "start": 975, + "end": 992, "loc": { "start": { - "line": 29, - "column": 18 + "line": 34, + "column": 22 }, "end": { - "line": 29, - "column": 23 + "line": 34, + "column": 39 } } }, @@ -9606,16 +7448,16 @@ "postfix": false, "binop": null }, - "start": 904, - "end": 905, + "start": 992, + "end": 993, "loc": { "start": { - "line": 29, - "column": 23 + "line": 34, + "column": 39 }, "end": { - "line": 29, - "column": 24 + "line": 34, + "column": 40 } } }, @@ -9631,23 +7473,23 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 905, - "end": 910, + "value": "seconds", + "start": 993, + "end": 1000, "loc": { "start": { - "line": 29, - "column": 24 + "line": 34, + "column": 40 }, "end": { - "line": 29, - "column": 29 + "line": 34, + "column": 47 } } }, { "type": { - "label": "/", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9658,17 +7500,17 @@ "binop": 10, "updateContext": null }, - "value": "/", - "start": 911, - "end": 912, + "value": "*", + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 29, - "column": 30 + "line": 34, + "column": 48 }, "end": { - "line": 29, - "column": 31 + "line": 34, + "column": 49 } } }, @@ -9685,52 +7527,50 @@ "binop": null, "updateContext": null }, - "value": 60, - "start": 913, - "end": 915, + "value": 1000, + "start": 1003, + "end": 1007, "loc": { "start": { - "line": 29, - "column": 32 + "line": 34, + "column": 50 }, "end": { - "line": 29, - "column": 34 + "line": 34, + "column": 54 } } }, { "type": { - "label": "%", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 916, - "end": 917, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 29, - "column": 35 + "line": 34, + "column": 54 }, "end": { - "line": 29, - "column": 36 + "line": 34, + "column": 55 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9739,23 +7579,23 @@ "binop": null, "updateContext": null }, - "value": 60, - "start": 918, - "end": 920, + "start": 1008, + "end": 1009, "loc": { "start": { - "line": 29, - "column": 37 + "line": 34, + "column": 55 }, "end": { - "line": 29, - "column": 39 + "line": 34, + "column": 56 } } }, { "type": { - "label": ")", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9763,44 +7603,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 920, - "end": 921, - "loc": { - "start": { - "line": 29, - "column": 39 - }, - "end": { - "line": 29, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 921, - "end": 922, + "value": "let", + "start": 1014, + "end": 1017, "loc": { "start": { - "line": 29, - "column": 40 + "line": 35, + "column": 4 }, "end": { - "line": 29, - "column": 41 + "line": 35, + "column": 7 } } }, @@ -9816,17 +7632,17 @@ "postfix": false, "binop": null }, - "value": "gh", - "start": 931, - "end": 933, + "value": "guideTime", + "start": 1018, + "end": 1027, "loc": { "start": { - "line": 30, + "line": 35, "column": 8 }, "end": { - "line": 30, - "column": 10 + "line": 35, + "column": 17 } } }, @@ -9844,16 +7660,16 @@ "updateContext": null }, "value": "=", - "start": 934, - "end": 935, + "start": 1028, + "end": 1029, "loc": { "start": { - "line": 30, - "column": 11 + "line": 35, + "column": 18 }, "end": { - "line": 30, - "column": 12 + "line": 35, + "column": 19 } } }, @@ -9869,24 +7685,24 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 936, - "end": 940, + "value": "inputTime", + "start": 1030, + "end": 1039, "loc": { "start": { - "line": 30, - "column": 13 + "line": 35, + "column": 20 }, "end": { - "line": 30, - "column": 17 + "line": 35, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9896,42 +7712,44 @@ "binop": null, "updateContext": null }, - "start": 940, - "end": 941, + "start": 1039, + "end": 1040, "loc": { "start": { - "line": 30, - "column": 17 + "line": 35, + "column": 29 }, "end": { - "line": 30, - "column": 18 + "line": 35, + "column": 30 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "floor", - "start": 941, - "end": 946, + "value": "if", + "start": 1045, + "end": 1047, "loc": { "start": { - "line": 30, - "column": 18 + "line": 36, + "column": 4 }, "end": { - "line": 30, - "column": 23 + "line": 36, + "column": 6 } } }, @@ -9947,16 +7765,16 @@ "postfix": false, "binop": null }, - "start": 946, - "end": 947, + "start": 1048, + "end": 1049, "loc": { "start": { - "line": 30, - "column": 23 + "line": 36, + "column": 7 }, "end": { - "line": 30, - "column": 24 + "line": 36, + "column": 8 } } }, @@ -9973,22 +7791,22 @@ "binop": null }, "value": "guide", - "start": 947, - "end": 952, + "start": 1049, + "end": 1054, "loc": { "start": { - "line": 30, - "column": 24 + "line": 36, + "column": 8 }, "end": { - "line": 30, - "column": 29 + "line": 36, + "column": 13 } } }, { "type": { - "label": "/", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9996,26 +7814,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": 6, "updateContext": null }, - "value": "/", - "start": 953, - "end": 954, + "value": "!==", + "start": 1055, + "end": 1058, "loc": { "start": { - "line": 30, - "column": 30 + "line": 36, + "column": 14 }, "end": { - "line": 30, - "column": 31 + "line": 36, + "column": 17 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10023,79 +7841,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3600, - "start": 955, - "end": 959, - "loc": { - "start": { - "line": 30, - "column": 32 - }, - "end": { - "line": 30, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "start": 959, - "end": 960, - "loc": { - "start": { - "line": 30, - "column": 36 - }, - "end": { - "line": 30, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 960, - "end": 961, + "value": "undefined", + "start": 1059, + "end": 1068, "loc": { "start": { - "line": 30, - "column": 37 + "line": 36, + "column": 18 }, - "end": { - "line": 30, - "column": 38 + "end": { + "line": 36, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10103,44 +7869,41 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 970, - "end": 972, + "start": 1068, + "end": 1069, "loc": { "start": { - "line": 31, - "column": 8 + "line": 36, + "column": 27 }, "end": { - "line": 31, - "column": 10 + "line": 36, + "column": 28 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 973, - "end": 974, + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 31, - "column": 11 + "line": 36, + "column": 29 }, "end": { - "line": 31, - "column": 12 + "line": 36, + "column": 30 } } }, @@ -10156,43 +7919,44 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 975, - "end": 979, + "value": "guideTime", + "start": 1080, + "end": 1089, "loc": { "start": { - "line": 31, - "column": 13 + "line": 37, + "column": 8 }, "end": { - "line": 31, + "line": 37, "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 979, - "end": 980, + "value": "=", + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 31, - "column": 17 + "line": 37, + "column": 18 }, "end": { - "line": 31, - "column": 18 + "line": 37, + "column": 19 } } }, @@ -10208,17 +7972,17 @@ "postfix": false, "binop": null }, - "value": "floor", - "start": 980, - "end": 985, + "value": "parseMilliseconds", + "start": 1092, + "end": 1109, "loc": { "start": { - "line": 31, - "column": 18 + "line": 37, + "column": 20 }, "end": { - "line": 31, - "column": 23 + "line": 37, + "column": 37 } } }, @@ -10234,23 +7998,23 @@ "postfix": false, "binop": null }, - "start": 985, - "end": 986, + "start": 1109, + "end": 1110, "loc": { "start": { - "line": 31, - "column": 23 + "line": 37, + "column": 37 }, "end": { - "line": 31, - "column": 24 + "line": 37, + "column": 38 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10259,77 +8023,79 @@ "postfix": false, "binop": null }, - "start": 986, - "end": 987, + "value": "guide", + "start": 1110, + "end": 1115, "loc": { "start": { - "line": 31, - "column": 24 + "line": 37, + "column": 38 }, "end": { - "line": 31, - "column": 25 + "line": 37, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "*", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "value": "seconds", - "start": 987, - "end": 994, + "value": "*", + "start": 1116, + "end": 1117, "loc": { "start": { - "line": 31, - "column": 25 + "line": 37, + "column": 44 }, "end": { - "line": 31, - "column": 32 + "line": 37, + "column": 45 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 995, - "end": 996, + "value": 1000, + "start": 1118, + "end": 1122, "loc": { "start": { - "line": 31, - "column": 33 + "line": 37, + "column": 46 }, "end": { - "line": 31, - "column": 34 + "line": 37, + "column": 50 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10337,77 +8103,76 @@ "postfix": false, "binop": null }, - "value": "s", - "start": 997, - "end": 998, + "start": 1122, + "end": 1123, "loc": { "start": { - "line": 31, - "column": 35 + "line": 37, + "column": 50 }, "end": { - "line": 31, - "column": 36 + "line": 37, + "column": 51 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 998, - "end": 999, + "start": 1123, + "end": 1124, "loc": { "start": { - "line": 31, - "column": 36 + "line": 37, + "column": 51 }, "end": { - "line": 31, - "column": 37 + "line": 37, + "column": 52 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 1000, - "end": 1001, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 31, - "column": 38 + "line": 38, + "column": 4 }, "end": { - "line": 31, - "column": 39 + "line": 38, + "column": 5 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10416,25 +8181,25 @@ "binop": null, "updateContext": null }, - "value": 1000, - "start": 1002, - "end": 1006, + "value": "const", + "start": 1135, + "end": 1140, "loc": { "start": { - "line": 31, - "column": 40 + "line": 39, + "column": 4 }, "end": { - "line": 31, - "column": 44 + "line": 39, + "column": 9 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10442,86 +8207,70 @@ "postfix": false, "binop": null }, - "start": 1006, - "end": 1007, + "value": "hr", + "start": 1141, + "end": 1143, "loc": { "start": { - "line": 31, - "column": 44 + "line": 39, + "column": 10 }, "end": { - "line": 31, - "column": 45 + "line": 39, + "column": 12 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 31, - "column": 45 - }, - "end": { - "line": 31, - "column": 46 - } - } - }, - { - "type": "CommentLine", - "value": " handle invalid times", - "start": 1014, - "end": 1037, + "value": "=", + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 33, - "column": 4 + "line": 39, + "column": 13 }, "end": { - "line": 33, - "column": 27 + "line": 39, + "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1042, - "end": 1044, + "value": "addZero", + "start": 1146, + "end": 1153, "loc": { "start": { - "line": 34, - "column": 4 + "line": 39, + "column": 15 }, "end": { - "line": 34, - "column": 6 + "line": 39, + "column": 22 } } }, @@ -10537,16 +8286,16 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 34, - "column": 7 + "line": 39, + "column": 22 }, "end": { - "line": 34, - "column": 8 + "line": 39, + "column": 23 } } }, @@ -10562,42 +8311,43 @@ "postfix": false, "binop": null }, - "value": "isNaN", - "start": 1046, - "end": 1051, + "value": "inputTime", + "start": 1154, + "end": 1163, "loc": { "start": { - "line": 34, - "column": 8 + "line": 39, + "column": 23 }, "end": { - "line": 34, - "column": 13 + "line": 39, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1051, - "end": 1052, + "start": 1163, + "end": 1164, "loc": { "start": { - "line": 34, - "column": 13 + "line": 39, + "column": 32 }, "end": { - "line": 34, - "column": 14 + "line": 39, + "column": 33 } } }, @@ -10613,17 +8363,17 @@ "postfix": false, "binop": null }, - "value": "seconds", - "start": 1052, - "end": 1059, + "value": "hours", + "start": 1164, + "end": 1169, "loc": { "start": { - "line": 34, - "column": 14 + "line": 39, + "column": 33 }, "end": { - "line": 34, - "column": 21 + "line": 39, + "column": 38 } } }, @@ -10639,22 +8389,22 @@ "postfix": false, "binop": null }, - "start": 1059, - "end": 1060, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 34, - "column": 21 + "line": 39, + "column": 38 }, "end": { - "line": 34, - "column": 22 + "line": 39, + "column": 39 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -10662,107 +8412,108 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 1061, - "end": 1063, + "start": 1170, + "end": 1171, "loc": { "start": { - "line": 34, - "column": 23 + "line": 39, + "column": 39 }, "end": { - "line": 34, - "column": 25 + "line": 39, + "column": 40 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "seconds", - "start": 1064, - "end": 1071, + "value": "const", + "start": 1176, + "end": 1181, "loc": { "start": { - "line": 34, - "column": 26 + "line": 40, + "column": 4 }, "end": { - "line": 34, - "column": 33 + "line": 40, + "column": 9 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 1072, - "end": 1075, + "value": "min", + "start": 1182, + "end": 1185, "loc": { "start": { - "line": 34, - "column": 34 + "line": 40, + "column": 10 }, "end": { - "line": 34, - "column": 37 + "line": 40, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Infinity", - "start": 1076, - "end": 1084, + "value": "=", + "start": 1186, + "end": 1187, "loc": { "start": { - "line": 34, - "column": 38 + "line": 40, + "column": 14 }, "end": { - "line": 34, - "column": 46 + "line": 40, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10770,22 +8521,23 @@ "postfix": false, "binop": null }, - "start": 1084, - "end": 1085, + "value": "addZero", + "start": 1188, + "end": 1195, "loc": { "start": { - "line": 34, - "column": 46 + "line": 40, + "column": 16 }, "end": { - "line": 34, - "column": 47 + "line": 40, + "column": 23 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -10795,64 +8547,16 @@ "postfix": false, "binop": null }, - "start": 1086, - "end": 1087, - "loc": { - "start": { - "line": 34, - "column": 48 - }, - "end": { - "line": 34, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " '-' is false for all relational operators (e.g. <, >=) so this", - "start": 1096, - "end": 1161, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " setting will add the minimum number of fields specified by the", - "start": 1170, - "end": 1235, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 73 - } - } - }, - { - "type": "CommentLine", - "value": " guide", - "start": 1244, - "end": 1252, + "start": 1195, + "end": 1196, "loc": { "start": { - "line": 37, - "column": 8 + "line": 40, + "column": 23 }, "end": { - "line": 37, - "column": 16 + "line": 40, + "column": 24 } } }, @@ -10868,44 +8572,43 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 1261, - "end": 1262, + "value": "inputTime", + "start": 1196, + "end": 1205, "loc": { "start": { - "line": 38, - "column": 8 + "line": 40, + "column": 24 }, "end": { - "line": 38, - "column": 9 + "line": 40, + "column": 33 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1263, - "end": 1264, + "start": 1205, + "end": 1206, "loc": { "start": { - "line": 38, - "column": 10 + "line": 40, + "column": 33 }, "end": { - "line": 38, - "column": 11 + "line": 40, + "column": 34 } } }, @@ -10921,97 +8624,96 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1265, - "end": 1266, + "value": "minutes", + "start": 1206, + "end": 1213, "loc": { "start": { - "line": 38, - "column": 12 + "line": 40, + "column": 34 }, "end": { - "line": 38, - "column": 13 + "line": 40, + "column": 41 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1267, - "end": 1268, + "start": 1213, + "end": 1214, "loc": { "start": { - "line": 38, - "column": 14 + "line": 40, + "column": 41 }, "end": { - "line": 38, - "column": 15 + "line": 40, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "s", - "start": 1269, - "end": 1270, + "start": 1214, + "end": 1215, "loc": { "start": { - "line": 38, - "column": 16 + "line": 40, + "column": 42 }, "end": { - "line": 38, - "column": 17 + "line": 40, + "column": 43 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1271, - "end": 1272, + "value": "const", + "start": 1220, + "end": 1225, "loc": { "start": { - "line": 38, - "column": 18 + "line": 41, + "column": 4 }, "end": { - "line": 38, - "column": 19 + "line": 41, + "column": 9 } } }, @@ -11027,17 +8729,17 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1273, - "end": 1275, + "value": "sec", + "start": 1226, + "end": 1229, "loc": { "start": { - "line": 38, - "column": 20 + "line": 41, + "column": 10 }, "end": { - "line": 38, - "column": 22 + "line": 41, + "column": 13 } } }, @@ -11055,22 +8757,22 @@ "updateContext": null }, "value": "=", - "start": 1276, - "end": 1277, + "start": 1230, + "end": 1231, "loc": { "start": { - "line": 38, - "column": 23 + "line": 41, + "column": 14 }, "end": { - "line": 38, - "column": 24 + "line": 41, + "column": 15 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11078,54 +8780,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "-", - "start": 1278, - "end": 1281, + "value": "addZero", + "start": 1232, + "end": 1239, "loc": { "start": { - "line": 38, - "column": 25 + "line": 41, + "column": 16 }, "end": { - "line": 38, - "column": 28 + "line": 41, + "column": 23 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1281, - "end": 1282, + "start": 1239, + "end": 1240, "loc": { "start": { - "line": 38, - "column": 28 + "line": 41, + "column": 23 }, "end": { - "line": 38, - "column": 29 + "line": 41, + "column": 24 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11133,68 +8833,77 @@ "postfix": false, "binop": null }, - "start": 1287, - "end": 1288, + "value": "inputTime", + "start": 1240, + "end": 1249, "loc": { "start": { - "line": 39, - "column": 4 + "line": 41, + "column": 24 }, "end": { - "line": 39, - "column": 5 + "line": 41, + "column": 33 } } }, { - "type": "CommentLine", - "value": " Check if we need to show milliseconds", - "start": 1294, - "end": 1334, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1249, + "end": 1250, "loc": { "start": { "line": 41, - "column": 4 + "column": 33 }, "end": { "line": 41, - "column": 44 + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1339, - "end": 1341, + "value": "seconds", + "start": 1250, + "end": 1257, "loc": { "start": { - "line": 42, - "column": 4 + "line": 41, + "column": 34 }, "end": { - "line": 42, - "column": 6 + "line": 41, + "column": 41 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11202,75 +8911,76 @@ "postfix": false, "binop": null }, - "start": 1342, - "end": 1343, + "start": 1257, + "end": 1258, "loc": { "start": { - "line": 42, - "column": 7 + "line": 41, + "column": 41 }, "end": { - "line": 42, - "column": 8 + "line": 41, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "guide", - "start": 1343, - "end": 1348, + "start": 1258, + "end": 1259, "loc": { "start": { - "line": 42, - "column": 8 + "line": 41, + "column": 42 }, "end": { - "line": 42, - "column": 13 + "line": 41, + "column": 43 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">", - "start": 1349, - "end": 1350, + "value": "const", + "start": 1264, + "end": 1269, "loc": { "start": { "line": 42, - "column": 14 + "column": 4 }, "end": { "line": 42, - "column": 15 + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11278,47 +8988,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1351, - "end": 1352, + "value": "ms", + "start": 1270, + "end": 1272, "loc": { "start": { "line": 42, - "column": 16 + "column": 10 }, "end": { "line": 42, - "column": 17 + "column": 12 } } }, { "type": { - "label": "&&", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 1353, - "end": 1355, + "value": "=", + "start": 1273, + "end": 1274, "loc": { "start": { "line": 42, - "column": 18 + "column": 13 }, "end": { "line": 42, - "column": 20 + "column": 14 } } }, @@ -11334,44 +9043,42 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 1356, - "end": 1361, + "value": "addZero", + "start": 1275, + "end": 1282, "loc": { "start": { "line": 42, - "column": 21 + "column": 15 }, "end": { "line": 42, - "column": 26 + "column": 22 } } }, { "type": { - "label": "", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 1362, - "end": 1363, + "start": 1282, + "end": 1283, "loc": { "start": { "line": 42, - "column": 27 + "column": 22 }, "end": { "line": 42, - "column": 28 + "column": 23 } } }, @@ -11387,23 +9094,23 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 1364, - "end": 1376, + "value": "inputTime", + "start": 1283, + "end": 1292, "loc": { "start": { "line": 42, - "column": 29 + "column": 23 }, "end": { "line": 42, - "column": 41 + "column": 32 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11411,25 +9118,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 1292, + "end": 1293, "loc": { "start": { "line": 42, - "column": 41 + "column": 32 }, "end": { "line": 42, - "column": 42 + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11438,24 +9146,24 @@ "postfix": false, "binop": null }, - "start": 1378, - "end": 1379, + "value": "milliseconds", + "start": 1293, + "end": 1305, "loc": { "start": { "line": 42, - "column": 43 + "column": 33 }, "end": { "line": 42, - "column": 44 + "column": 45 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11465,50 +9173,51 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1388, - "end": 1390, + "start": 1305, + "end": 1306, "loc": { "start": { - "line": 43, - "column": 8 + "line": 42, + "column": 45 }, "end": { - "line": 43, - "column": 10 + "line": 42, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1391, - "end": 1392, + "value": 3, + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 43, - "column": 11 + "line": 42, + "column": 47 }, "end": { - "line": 43, - "column": 12 + "line": 42, + "column": 48 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11516,23 +9225,22 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1392, - "end": 1394, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 43, - "column": 12 + "line": 42, + "column": 48 }, "end": { - "line": 43, - "column": 14 + "line": 42, + "column": 49 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11540,53 +9248,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "<", - "start": 1395, - "end": 1396, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": 100, - "start": 1397, - "end": 1400, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 43, - "column": 17 + "line": 42, + "column": 49 }, "end": { - "line": 43, - "column": 20 + "line": 42, + "column": 50 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11594,24 +9275,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1400, - "end": 1401, + "value": "if", + "start": 1316, + "end": 1318, "loc": { "start": { - "line": 43, - "column": 20 + "line": 44, + "column": 4 }, "end": { - "line": 43, - "column": 21 + "line": 44, + "column": 6 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -11621,69 +9304,68 @@ "postfix": false, "binop": null }, - "start": 1402, - "end": 1403, + "start": 1319, + "end": 1320, "loc": { "start": { - "line": 43, - "column": 22 + "line": 44, + "column": 7 }, "end": { - "line": 43, - "column": 23 + "line": 44, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1416, - "end": 1418, + "value": "inputTime", + "start": 1320, + "end": 1329, "loc": { "start": { "line": 44, - "column": 12 + "column": 8 }, "end": { "line": 44, - "column": 14 + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1419, - "end": 1420, + "start": 1329, + "end": 1330, "loc": { "start": { "line": 44, - "column": 15 + "column": 17 }, "end": { "line": 44, - "column": 16 + "column": 18 } } }, @@ -11699,17 +9381,17 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1420, - "end": 1422, + "value": "days", + "start": 1330, + "end": 1334, "loc": { "start": { "line": 44, - "column": 16 + "column": 18 }, "end": { "line": 44, - "column": 18 + "column": 22 } } }, @@ -11726,17 +9408,17 @@ "binop": 7, "updateContext": null }, - "value": "<", - "start": 1423, - "end": 1424, + "value": ">", + "start": 1335, + "end": 1336, "loc": { "start": { "line": 44, - "column": 19 + "column": 23 }, "end": { "line": 44, - "column": 20 + "column": 24 } } }, @@ -11753,49 +9435,51 @@ "binop": null, "updateContext": null }, - "value": 10, - "start": 1425, - "end": 1427, + "value": 0, + "start": 1337, + "end": 1338, "loc": { "start": { "line": 44, - "column": 21 + "column": 25 }, "end": { "line": 44, - "column": 23 + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 1427, - "end": 1428, + "value": "||", + "start": 1339, + "end": 1341, "loc": { "start": { "line": 44, - "column": 23 + "column": 27 }, "end": { "line": 44, - "column": 24 + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11804,16 +9488,43 @@ "postfix": false, "binop": null }, - "start": 1429, - "end": 1430, + "value": "guideTime", + "start": 1342, + "end": 1351, "loc": { "start": { "line": 44, - "column": 25 + "column": 30 }, "end": { "line": 44, - "column": 26 + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1351, + "end": 1352, + "loc": { + "start": { + "line": 44, + "column": 39 + }, + "end": { + "line": 44, + "column": 40 } } }, @@ -11829,50 +9540,50 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1447, - "end": 1449, + "value": "days", + "start": 1352, + "end": 1356, "loc": { "start": { - "line": 45, - "column": 16 + "line": 44, + "column": 40 }, "end": { - "line": 45, - "column": 18 + "line": 44, + "column": 44 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 1450, - "end": 1451, + "value": ">", + "start": 1357, + "end": 1358, "loc": { "start": { - "line": 45, - "column": 19 + "line": 44, + "column": 45 }, "end": { - "line": 45, - "column": 20 + "line": 44, + "column": 46 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11883,51 +9594,49 @@ "binop": null, "updateContext": null }, - "value": "00", - "start": 1452, - "end": 1456, + "value": 0, + "start": 1359, + "end": 1360, "loc": { "start": { - "line": 45, - "column": 21 + "line": 44, + "column": 47 }, "end": { - "line": 45, - "column": 25 + "line": 44, + "column": 48 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1457, - "end": 1458, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 45, - "column": 26 + "line": 44, + "column": 48 }, "end": { - "line": 45, - "column": 27 + "line": 44, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11936,24 +9645,24 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1459, - "end": 1461, + "start": 1362, + "end": 1363, "loc": { "start": { - "line": 45, - "column": 28 + "line": 44, + "column": 50 }, "end": { - "line": 45, - "column": 30 + "line": 44, + "column": 51 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11963,24 +9672,25 @@ "binop": null, "updateContext": null }, - "start": 1461, - "end": 1462, + "value": "const", + "start": 1372, + "end": 1377, "loc": { "start": { "line": 45, - "column": 30 + "column": 8 }, "end": { "line": 45, - "column": 31 + "column": 13 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11988,50 +9698,76 @@ "postfix": false, "binop": null }, - "start": 1475, - "end": 1476, + "value": "day", + "start": 1378, + "end": 1381, "loc": { "start": { - "line": 46, - "column": 12 + "line": 45, + "column": 14 }, "end": { - "line": 46, - "column": 13 + "line": 45, + "column": 17 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "else", - "start": 1477, - "end": 1481, + "value": "=", + "start": 1382, + "end": 1383, "loc": { "start": { - "line": 46, - "column": 14 + "line": 45, + "column": 18 }, "end": { - "line": 46, - "column": 18 + "line": 45, + "column": 19 } } }, { "type": { - "label": "{", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addZero", + "start": 1384, + "end": 1391, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12041,16 +9777,16 @@ "postfix": false, "binop": null }, - "start": 1482, - "end": 1483, + "start": 1391, + "end": 1392, "loc": { "start": { - "line": 46, - "column": 19 + "line": 45, + "column": 27 }, "end": { - "line": 46, - "column": 20 + "line": 45, + "column": 28 } } }, @@ -12066,50 +9802,49 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1500, - "end": 1502, + "value": "inputTime", + "start": 1392, + "end": 1401, "loc": { "start": { - "line": 47, - "column": 16 + "line": 45, + "column": 28 }, "end": { - "line": 47, - "column": 18 + "line": 45, + "column": 37 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1503, - "end": 1504, + "start": 1401, + "end": 1402, "loc": { "start": { - "line": 47, - "column": 19 + "line": 45, + "column": 37 }, "end": { - "line": 47, - "column": 20 + "line": 45, + "column": 38 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12117,79 +9852,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "0", - "start": 1505, - "end": 1508, + "value": "days", + "start": 1402, + "end": 1406, "loc": { "start": { - "line": 47, - "column": 21 + "line": 45, + "column": 38 }, "end": { - "line": 47, - "column": 24 + "line": 45, + "column": 42 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1509, - "end": 1510, + "start": 1406, + "end": 1407, "loc": { "start": { - "line": 47, - "column": 25 + "line": 45, + "column": 42 }, "end": { - "line": 47, - "column": 26 + "line": 45, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ms", - "start": 1511, - "end": 1513, + "start": 1407, + "end": 1408, "loc": { "start": { - "line": 47, - "column": 27 + "line": 45, + "column": 43 }, "end": { - "line": 47, - "column": 29 + "line": 45, + "column": 44 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12200,24 +9933,25 @@ "binop": null, "updateContext": null }, - "start": 1513, - "end": 1514, + "value": "return", + "start": 1417, + "end": 1423, "loc": { "start": { - "line": 47, - "column": 29 + "line": 46, + "column": 8 }, "end": { - "line": 47, - "column": 30 + "line": 46, + "column": 14 } } }, { "type": { - "label": "}", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12225,22 +9959,22 @@ "postfix": false, "binop": null }, - "start": 1527, - "end": 1528, + "start": 1424, + "end": 1425, "loc": { "start": { - "line": 48, - "column": 12 + "line": 46, + "column": 15 }, "end": { - "line": 48, - "column": 13 + "line": 46, + "column": 16 } } }, { "type": { - "label": "}", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12248,18 +9982,45 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1425, + "end": 1425, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 16 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 1537, - "end": 1538, + "start": 1425, + "end": 1427, "loc": { "start": { - "line": 49, - "column": 8 + "line": 46, + "column": 16 }, "end": { - "line": 49, - "column": 9 + "line": 46, + "column": 18 } } }, @@ -12275,52 +10036,50 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1547, - "end": 1549, + "value": "day", + "start": 1427, + "end": 1430, "loc": { "start": { - "line": 50, - "column": 8 + "line": 46, + "column": 18 }, "end": { - "line": 50, - "column": 10 + "line": 46, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1550, - "end": 1551, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 50, - "column": 11 + "line": 46, + "column": 21 }, "end": { - "line": 50, - "column": 12 + "line": 46, + "column": 22 } } }, { "type": { - "label": "string", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12330,43 +10089,41 @@ "updateContext": null }, "value": ":", - "start": 1552, - "end": 1555, + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 50, - "column": 13 + "line": 46, + "column": 22 }, "end": { - "line": 50, - "column": 16 + "line": 46, + "column": 23 } } }, { "type": { - "label": "+/-", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1556, - "end": 1557, + "start": 1432, + "end": 1434, "loc": { "start": { - "line": 50, - "column": 17 + "line": 46, + "column": 23 }, "end": { - "line": 50, - "column": 18 + "line": 46, + "column": 25 } } }, @@ -12382,49 +10139,48 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1558, - "end": 1560, + "value": "hr", + "start": 1434, + "end": 1436, "loc": { "start": { - "line": 50, - "column": 19 + "line": 46, + "column": 25 }, "end": { - "line": 50, - "column": 21 + "line": 46, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1560, - "end": 1561, + "start": 1436, + "end": 1437, "loc": { "start": { - "line": 50, - "column": 21 + "line": 46, + "column": 27 }, "end": { - "line": 50, - "column": 22 + "line": 46, + "column": 28 } } }, { "type": { - "label": "}", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12432,53 +10188,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1566, - "end": 1567, + "value": ":", + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 51, - "column": 4 + "line": 46, + "column": 28 }, "end": { - "line": 51, - "column": 5 + "line": 46, + "column": 29 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1568, - "end": 1572, + "start": 1438, + "end": 1440, "loc": { "start": { - "line": 51, - "column": 6 + "line": 46, + "column": 29 }, "end": { - "line": 51, - "column": 10 + "line": 46, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12487,24 +10242,25 @@ "postfix": false, "binop": null }, - "start": 1573, - "end": 1574, + "value": "min", + "start": 1440, + "end": 1443, "loc": { "start": { - "line": 51, - "column": 11 + "line": 46, + "column": 31 }, "end": { - "line": 51, - "column": 12 + "line": 46, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12512,97 +10268,94 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1583, - "end": 1585, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 52, - "column": 8 + "line": 46, + "column": 34 }, "end": { - "line": 52, - "column": 10 + "line": 46, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1586, - "end": 1587, + "value": ":", + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 52, - "column": 11 + "line": 46, + "column": 35 }, "end": { - "line": 52, - "column": 12 + "line": 46, + "column": 36 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1588, - "end": 1590, + "start": 1445, + "end": 1447, "loc": { "start": { - "line": 52, - "column": 13 + "line": 46, + "column": 36 }, "end": { - "line": 52, - "column": 15 + "line": 46, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1590, - "end": 1591, + "value": "sec", + "start": 1447, + "end": 1450, "loc": { "start": { - "line": 52, - "column": 15 + "line": 46, + "column": 38 }, "end": { - "line": 52, - "column": 16 + "line": 46, + "column": 41 } } }, @@ -12618,38 +10371,49 @@ "postfix": false, "binop": null }, - "start": 1596, - "end": 1597, + "start": 1450, + "end": 1451, "loc": { "start": { - "line": 53, - "column": 4 + "line": 46, + "column": 41 }, "end": { - "line": 53, - "column": 5 + "line": 46, + "column": 42 } } }, { - "type": "CommentLine", - "value": " Check if we need to show hours", - "start": 1603, - "end": 1636, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1451, + "end": 1451, "loc": { "start": { - "line": 55, - "column": 4 + "line": 46, + "column": 42 }, "end": { - "line": 55, - "column": 37 + "line": 46, + "column": 42 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12659,52 +10423,50 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 1641, - "end": 1642, + "start": 1451, + "end": 1452, "loc": { "start": { - "line": 56, - "column": 4 + "line": 46, + "column": 42 }, "end": { - "line": 56, - "column": 5 + "line": 46, + "column": 43 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1643, - "end": 1644, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 56, - "column": 6 + "line": 46, + "column": 43 }, "end": { - "line": 56, - "column": 7 + "line": 46, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12712,75 +10474,75 @@ "postfix": false, "binop": null }, - "start": 1645, - "end": 1646, + "start": 1458, + "end": 1459, "loc": { "start": { - "line": 56, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 56, - "column": 9 + "line": 47, + "column": 5 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "h", - "start": 1646, - "end": 1647, + "value": "if", + "start": 1464, + "end": 1466, "loc": { "start": { - "line": 56, - "column": 9 + "line": 48, + "column": 4 }, "end": { - "line": 56, - "column": 10 + "line": 48, + "column": 6 } } }, { "type": { - "label": "", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">", - "start": 1648, - "end": 1649, + "start": 1467, + "end": 1468, "loc": { "start": { - "line": 56, - "column": 11 + "line": 48, + "column": 7 }, "end": { - "line": 56, - "column": 12 + "line": 48, + "column": 8 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12788,47 +10550,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1650, - "end": 1651, + "value": "inputTime", + "start": 1468, + "end": 1477, "loc": { "start": { - "line": 56, - "column": 13 + "line": 48, + "column": 8 }, "end": { - "line": 56, - "column": 14 + "line": 48, + "column": 17 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 1652, - "end": 1654, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 56, - "column": 15 + "line": 48, + "column": 17 }, "end": { - "line": 56, - "column": 17 + "line": 48, + "column": 18 } } }, @@ -12844,17 +10604,17 @@ "postfix": false, "binop": null }, - "value": "gh", - "start": 1655, - "end": 1657, + "value": "hours", + "start": 1478, + "end": 1483, "loc": { "start": { - "line": 56, + "line": 48, "column": 18 }, "end": { - "line": 56, - "column": 20 + "line": 48, + "column": 23 } } }, @@ -12872,16 +10632,16 @@ "updateContext": null }, "value": ">", - "start": 1658, - "end": 1659, + "start": 1484, + "end": 1485, "loc": { "start": { - "line": 56, - "column": 21 + "line": 48, + "column": 24 }, "end": { - "line": 56, - "column": 22 + "line": 48, + "column": 25 } } }, @@ -12899,24 +10659,51 @@ "updateContext": null }, "value": 0, - "start": 1660, - "end": 1661, + "start": 1486, + "end": 1487, "loc": { "start": { - "line": 56, - "column": 23 + "line": 48, + "column": 26 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1488, + "end": 1490, + "loc": { + "start": { + "line": 48, + "column": 28 }, "end": { - "line": 56, - "column": 24 + "line": 48, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12924,23 +10711,24 @@ "postfix": false, "binop": null }, - "start": 1661, - "end": 1662, + "value": "guideTime", + "start": 1491, + "end": 1500, "loc": { "start": { - "line": 56, - "column": 24 + "line": 48, + "column": 31 }, "end": { - "line": 56, - "column": 25 + "line": 48, + "column": 40 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12950,16 +10738,16 @@ "binop": null, "updateContext": null }, - "start": 1663, - "end": 1664, + "start": 1500, + "end": 1501, "loc": { "start": { - "line": 56, - "column": 26 + "line": 48, + "column": 40 }, "end": { - "line": 56, - "column": 27 + "line": 48, + "column": 41 } } }, @@ -12975,50 +10763,50 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 1665, - "end": 1666, + "value": "hours", + "start": 1501, + "end": 1506, "loc": { "start": { - "line": 56, - "column": 28 + "line": 48, + "column": 41 }, "end": { - "line": 56, - "column": 29 + "line": 48, + "column": 46 } } }, { "type": { - "label": "+/-", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": 7, "updateContext": null }, - "value": "+", - "start": 1667, - "end": 1668, + "value": ">", + "start": 1507, + "end": 1508, "loc": { "start": { - "line": 56, - "column": 30 + "line": 48, + "column": 47 }, "end": { - "line": 56, - "column": 31 + "line": 48, + "column": 48 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13029,76 +10817,74 @@ "binop": null, "updateContext": null }, - "value": ":", - "start": 1669, - "end": 1672, + "value": 0, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 56, - "column": 32 + "line": 48, + "column": 49 }, "end": { - "line": 56, - "column": 35 + "line": 48, + "column": 50 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1673, - "end": 1674, + "start": 1510, + "end": 1511, "loc": { "start": { - "line": 56, - "column": 36 + "line": 48, + "column": 50 }, "end": { - "line": 56, - "column": 37 + "line": 48, + "column": 51 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1675, - "end": 1677, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 56, - "column": 38 + "line": 48, + "column": 52 }, "end": { - "line": 56, - "column": 40 + "line": 48, + "column": 53 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13109,55 +10895,76 @@ "binop": null, "updateContext": null }, - "start": 1677, - "end": 1678, + "value": "return", + "start": 1522, + "end": 1528, "loc": { "start": { - "line": 56, - "column": 40 + "line": 49, + "column": 8 }, "end": { - "line": 56, - "column": 41 + "line": 49, + "column": 14 } } }, { - "type": "CommentLine", - "value": " If hours are showing, we may need to add a leading zero.", - "start": 1684, - "end": 1743, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1529, + "end": 1530, "loc": { "start": { - "line": 58, - "column": 4 + "line": 49, + "column": 15 }, "end": { - "line": 58, - "column": 63 + "line": 49, + "column": 16 } } }, { - "type": "CommentLine", - "value": " Always show at least one digit of minutes.", - "start": 1748, - "end": 1793, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1530, + "end": 1530, "loc": { "start": { - "line": 59, - "column": 4 + "line": 49, + "column": 16 }, "end": { - "line": 59, - "column": 49 + "line": 49, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13166,52 +10973,50 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1798, - "end": 1799, + "start": 1530, + "end": 1532, "loc": { "start": { - "line": 60, - "column": 4 + "line": 49, + "column": 16 }, "end": { - "line": 60, - "column": 5 + "line": 49, + "column": 18 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1800, - "end": 1801, + "value": "hr", + "start": 1532, + "end": 1534, "loc": { "start": { - "line": 60, - "column": 6 + "line": 49, + "column": 18 }, "end": { - "line": 60, - "column": 7 + "line": 49, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13219,47 +11024,49 @@ "postfix": false, "binop": null }, - "start": 1802, - "end": 1803, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 60, - "column": 8 + "line": 49, + "column": 20 }, "end": { - "line": 60, - "column": 9 + "line": 49, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1803, - "end": 1804, + "value": ":", + "start": 1535, + "end": 1536, "loc": { "start": { - "line": 60, - "column": 9 + "line": 49, + "column": 21 }, "end": { - "line": 60, - "column": 10 + "line": 49, + "column": 22 } } }, { "type": { - "label": "(", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13269,16 +11076,16 @@ "postfix": false, "binop": null }, - "start": 1804, - "end": 1805, + "start": 1536, + "end": 1538, "loc": { "start": { - "line": 60, - "column": 10 + "line": 49, + "column": 22 }, "end": { - "line": 60, - "column": 11 + "line": 49, + "column": 24 } } }, @@ -13294,103 +11101,100 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 1805, - "end": 1806, + "value": "min", + "start": 1538, + "end": 1541, "loc": { "start": { - "line": 60, - "column": 11 + "line": 49, + "column": 24 }, "end": { - "line": 60, - "column": 12 + "line": 49, + "column": 27 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 1807, - "end": 1809, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 60, - "column": 13 + "line": 49, + "column": 27 }, "end": { - "line": 60, - "column": 15 + "line": 49, + "column": 28 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gm", - "start": 1810, - "end": 1812, + "value": ":", + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 60, - "column": 16 + "line": 49, + "column": 28 }, "end": { - "line": 60, - "column": 18 + "line": 49, + "column": 29 } } }, { "type": { - "label": "", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">=", - "start": 1813, - "end": 1815, + "start": 1543, + "end": 1545, "loc": { "start": { - "line": 60, - "column": 19 + "line": 49, + "column": 29 }, "end": { - "line": 60, - "column": 21 + "line": 49, + "column": 31 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13398,26 +11202,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 10, - "start": 1816, - "end": 1818, + "value": "sec", + "start": 1545, + "end": 1548, "loc": { "start": { - "line": 60, - "column": 22 + "line": 49, + "column": 31 }, "end": { - "line": 60, - "column": 24 + "line": 49, + "column": 34 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13427,49 +11230,49 @@ "postfix": false, "binop": null }, - "start": 1818, - "end": 1819, + "start": 1548, + "end": 1549, "loc": { "start": { - "line": 60, - "column": 24 + "line": 49, + "column": 34 }, "end": { - "line": 60, - "column": 25 + "line": 49, + "column": 35 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 1820, - "end": 1822, + "value": "", + "start": 1549, + "end": 1549, "loc": { "start": { - "line": 60, - "column": 26 + "line": 49, + "column": 35 }, "end": { - "line": 60, - "column": 28 + "line": 49, + "column": 35 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13479,23 +11282,22 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1823, - "end": 1824, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 60, - "column": 29 + "line": 49, + "column": 35 }, "end": { - "line": 60, - "column": 30 + "line": 49, + "column": 36 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13503,53 +11305,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 1825, - "end": 1826, + "start": 1550, + "end": 1551, "loc": { "start": { - "line": 60, - "column": 31 + "line": 49, + "column": 36 }, "end": { - "line": 60, - "column": 32 + "line": 49, + "column": 37 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 10, - "start": 1827, - "end": 1829, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 60, - "column": 33 + "line": 50, + "column": 4 }, "end": { - "line": 60, - "column": 35 + "line": 50, + "column": 5 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13557,50 +11357,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1829, - "end": 1830, + "value": "if", + "start": 1562, + "end": 1564, "loc": { "start": { - "line": 60, - "column": 35 + "line": 51, + "column": 4 }, "end": { - "line": 60, - "column": 36 + "line": 51, + "column": 6 } } }, { "type": { - "label": "?", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1831, - "end": 1832, + "start": 1565, + "end": 1566, "loc": { "start": { - "line": 60, - "column": 37 + "line": 51, + "column": 7 }, "end": { - "line": 60, - "column": 38 + "line": 51, + "column": 8 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13608,54 +11409,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "0", - "start": 1833, - "end": 1836, + "value": "displayMilliseconds", + "start": 1566, + "end": 1585, "loc": { "start": { - "line": 60, - "column": 39 + "line": 51, + "column": 8 }, "end": { - "line": 60, - "column": 42 + "line": 51, + "column": 27 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1837, - "end": 1838, + "start": 1585, + "end": 1586, "loc": { "start": { - "line": 60, - "column": 43 + "line": 51, + "column": 27 }, "end": { - "line": 60, - "column": 44 + "line": 51, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13664,23 +11462,23 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1839, - "end": 1840, + "start": 1587, + "end": 1588, "loc": { "start": { - "line": 60, - "column": 45 + "line": 51, + "column": 29 }, "end": { - "line": 60, - "column": 46 + "line": 51, + "column": 30 } } }, { "type": { - "label": ":", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13691,22 +11489,23 @@ "binop": null, "updateContext": null }, - "start": 1841, - "end": 1842, + "value": "return", + "start": 1597, + "end": 1603, "loc": { "start": { - "line": 60, - "column": 47 + "line": 52, + "column": 8 }, "end": { - "line": 60, - "column": 48 + "line": 52, + "column": 14 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13716,23 +11515,22 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1843, - "end": 1844, + "start": 1604, + "end": 1605, "loc": { "start": { - "line": 60, - "column": 49 + "line": 52, + "column": 15 }, "end": { - "line": 60, - "column": 50 + "line": 52, + "column": 16 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13740,51 +11538,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1844, - "end": 1845, + "value": "", + "start": 1605, + "end": 1605, "loc": { "start": { - "line": 60, - "column": 50 + "line": 52, + "column": 16 }, "end": { - "line": 60, - "column": 51 + "line": 52, + "column": 16 } } }, { "type": { - "label": "+/-", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1846, - "end": 1847, + "start": 1605, + "end": 1607, "loc": { "start": { - "line": 60, - "column": 52 + "line": 52, + "column": 16 }, "end": { - "line": 60, - "column": 53 + "line": 52, + "column": 18 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13792,122 +11590,103 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": ":", - "start": 1848, - "end": 1851, + "value": "min", + "start": 1607, + "end": 1610, "loc": { "start": { - "line": 60, - "column": 54 + "line": 52, + "column": 18 }, "end": { - "line": 60, - "column": 57 + "line": 52, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1851, - "end": 1852, - "loc": { - "start": { - "line": 60, - "column": 57 - }, - "end": { - "line": 60, - "column": 58 - } - } - }, - { - "type": "CommentLine", - "value": " Check if leading zero is need for seconds", - "start": 1858, - "end": 1902, + "start": 1610, + "end": 1611, "loc": { "start": { - "line": 62, - "column": 4 + "line": 52, + "column": 21 }, "end": { - "line": 62, - "column": 48 + "line": 52, + "column": 22 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "s", - "start": 1907, - "end": 1908, + "value": ":", + "start": 1611, + "end": 1612, "loc": { "start": { - "line": 63, - "column": 4 + "line": 52, + "column": 22 }, "end": { - "line": 63, - "column": 5 + "line": 52, + "column": 23 } } }, { "type": { - "label": "=", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1909, - "end": 1910, + "start": 1612, + "end": 1614, "loc": { "start": { - "line": 63, - "column": 6 + "line": 52, + "column": 23 }, "end": { - "line": 63, - "column": 7 + "line": 52, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13916,24 +11695,25 @@ "postfix": false, "binop": null }, - "start": 1911, - "end": 1912, + "value": "sec", + "start": 1614, + "end": 1617, "loc": { "start": { - "line": 63, - "column": 8 + "line": 52, + "column": 25 }, "end": { - "line": 63, - "column": 9 + "line": 52, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13941,75 +11721,74 @@ "postfix": false, "binop": null }, - "start": 1912, - "end": 1913, + "start": 1617, + "end": 1618, "loc": { "start": { - "line": 63, - "column": 9 + "line": 52, + "column": 28 }, "end": { - "line": 63, - "column": 10 + "line": 52, + "column": 29 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "s", - "start": 1913, - "end": 1914, + "value": ":", + "start": 1618, + "end": 1619, "loc": { "start": { - "line": 63, - "column": 10 + "line": 52, + "column": 29 }, "end": { - "line": 63, - "column": 11 + "line": 52, + "column": 30 } } }, { "type": { - "label": "", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 1915, - "end": 1916, + "start": 1619, + "end": 1621, "loc": { "start": { - "line": 63, - "column": 12 + "line": 52, + "column": 30 }, "end": { - "line": 63, - "column": 13 + "line": 52, + "column": 32 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14017,26 +11796,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 10, - "start": 1917, - "end": 1919, + "value": "ms", + "start": 1621, + "end": 1623, "loc": { "start": { - "line": 63, - "column": 14 + "line": 52, + "column": 32 }, "end": { - "line": 63, - "column": 16 + "line": 52, + "column": 34 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14046,23 +11824,23 @@ "postfix": false, "binop": null }, - "start": 1919, - "end": 1920, + "start": 1623, + "end": 1624, "loc": { "start": { - "line": 63, - "column": 16 + "line": 52, + "column": 34 }, "end": { - "line": 63, - "column": 17 + "line": 52, + "column": 35 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14072,22 +11850,23 @@ "binop": null, "updateContext": null }, - "start": 1921, - "end": 1922, + "value": "", + "start": 1624, + "end": 1624, "loc": { "start": { - "line": 63, - "column": 18 + "line": 52, + "column": 35 }, "end": { - "line": 63, - "column": 19 + "line": 52, + "column": 35 } } }, { "type": { - "label": "string", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14095,55 +11874,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "0", - "start": 1923, - "end": 1926, + "start": 1624, + "end": 1625, "loc": { "start": { - "line": 63, - "column": 20 + "line": 52, + "column": 35 }, "end": { - "line": 63, - "column": 23 + "line": 52, + "column": 36 } } }, { "type": { - "label": "+/-", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1927, - "end": 1928, + "start": 1625, + "end": 1626, "loc": { "start": { - "line": 63, - "column": 24 + "line": 52, + "column": 36 }, "end": { - "line": 63, - "column": 25 + "line": 52, + "column": 37 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14151,23 +11927,23 @@ "postfix": false, "binop": null }, - "value": "s", - "start": 1929, - "end": 1930, + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 63, - "column": 26 + "line": 53, + "column": 4 }, "end": { - "line": 63, - "column": 27 + "line": 53, + "column": 5 } } }, { "type": { - "label": ":", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14178,22 +11954,23 @@ "binop": null, "updateContext": null }, - "start": 1931, - "end": 1932, + "value": "return", + "start": 1638, + "end": 1644, "loc": { "start": { - "line": 63, - "column": 28 + "line": 55, + "column": 4 }, "end": { - "line": 63, - "column": 29 + "line": 55, + "column": 10 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14203,23 +11980,22 @@ "postfix": false, "binop": null }, - "value": "s", - "start": 1933, - "end": 1934, + "start": 1645, + "end": 1646, "loc": { "start": { - "line": 63, - "column": 30 + "line": 55, + "column": 11 }, "end": { - "line": 63, - "column": 31 + "line": 55, + "column": 12 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14227,80 +12003,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1934, - "end": 1935, + "value": "", + "start": 1646, + "end": 1646, "loc": { "start": { - "line": 63, - "column": 31 + "line": 55, + "column": 12 }, "end": { - "line": 63, - "column": 32 + "line": 55, + "column": 12 } } }, { "type": { - "label": ";", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1935, - "end": 1936, + "start": 1646, + "end": 1648, "loc": { "start": { - "line": 63, - "column": 32 + "line": 55, + "column": 12 }, "end": { - "line": 63, - "column": 33 + "line": 55, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1942, - "end": 1948, + "value": "min", + "start": 1648, + "end": 1651, "loc": { "start": { - "line": 65, - "column": 4 + "line": 55, + "column": 14 }, "end": { - "line": 65, - "column": 10 + "line": 55, + "column": 17 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14308,51 +12083,50 @@ "postfix": false, "binop": null }, - "value": "h", - "start": 1949, - "end": 1950, + "start": 1651, + "end": 1652, "loc": { "start": { - "line": 65, - "column": 11 + "line": 55, + "column": 17 }, "end": { - "line": 65, - "column": 12 + "line": 55, + "column": 18 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1951, - "end": 1952, + "value": ":", + "start": 1652, + "end": 1653, "loc": { "start": { - "line": 65, - "column": 13 + "line": 55, + "column": 18 }, "end": { - "line": 65, - "column": 14 + "line": 55, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14361,52 +12135,50 @@ "postfix": false, "binop": null }, - "value": "m", - "start": 1953, - "end": 1954, + "start": 1653, + "end": 1655, "loc": { "start": { - "line": 65, - "column": 15 + "line": 55, + "column": 19 }, "end": { - "line": 65, - "column": 16 + "line": 55, + "column": 21 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1955, - "end": 1956, + "value": "sec", + "start": 1655, + "end": 1658, "loc": { "start": { - "line": 65, - "column": 17 + "line": 55, + "column": 21 }, "end": { - "line": 65, - "column": 18 + "line": 55, + "column": 24 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14414,50 +12186,49 @@ "postfix": false, "binop": null }, - "value": "s", - "start": 1957, - "end": 1958, + "start": 1658, + "end": 1659, "loc": { "start": { - "line": 65, - "column": 19 + "line": 55, + "column": 24 }, "end": { - "line": 65, - "column": 20 + "line": 55, + "column": 25 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1959, - "end": 1960, + "value": "", + "start": 1659, + "end": 1659, "loc": { "start": { - "line": 65, - "column": 21 + "line": 55, + "column": 25 }, "end": { - "line": 65, - "column": 22 + "line": 55, + "column": 25 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14467,17 +12238,16 @@ "postfix": false, "binop": null }, - "value": "ms", - "start": 1961, - "end": 1963, + "start": 1659, + "end": 1660, "loc": { "start": { - "line": 65, - "column": 23 + "line": 55, + "column": 25 }, "end": { - "line": 65, - "column": 25 + "line": 55, + "column": 26 } } }, @@ -14494,16 +12264,16 @@ "binop": null, "updateContext": null }, - "start": 1963, - "end": 1964, + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 65, - "column": 25 + "line": 55, + "column": 26 }, "end": { - "line": 65, - "column": 26 + "line": 55, + "column": 27 } } }, @@ -14519,15 +12289,15 @@ "postfix": false, "binop": null }, - "start": 1965, - "end": 1966, + "start": 1662, + "end": 1663, "loc": { "start": { - "line": 66, + "line": 56, "column": 0 }, "end": { - "line": 66, + "line": 56, "column": 1 } } @@ -14545,15 +12315,15 @@ "binop": null, "updateContext": null }, - "start": 1966, - "end": 1967, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 66, + "line": 56, "column": 1 }, "end": { - "line": 66, + "line": 56, "column": 2 } } @@ -14573,15 +12343,15 @@ "updateContext": null }, "value": "export", - "start": 1969, - "end": 1975, + "start": 1666, + "end": 1672, "loc": { "start": { - "line": 68, + "line": 58, "column": 0 }, "end": { - "line": 68, + "line": 58, "column": 6 } } @@ -14601,15 +12371,15 @@ "updateContext": null }, "value": "default", - "start": 1976, - "end": 1983, + "start": 1673, + "end": 1680, "loc": { "start": { - "line": 68, + "line": 58, "column": 7 }, "end": { - "line": 68, + "line": 58, "column": 14 } } @@ -14627,15 +12397,15 @@ "binop": null }, "value": "formatTime", - "start": 1984, - "end": 1994, + "start": 1681, + "end": 1691, "loc": { "start": { - "line": 68, + "line": 58, "column": 15 }, "end": { - "line": 68, + "line": 58, "column": 25 } } @@ -14653,15 +12423,15 @@ "binop": null, "updateContext": null }, - "start": 1994, - "end": 1995, + "start": 1691, + "end": 1692, "loc": { "start": { - "line": 68, + "line": 58, "column": 25 }, "end": { - "line": 68, + "line": 58, "column": 26 } } @@ -14679,15 +12449,15 @@ "binop": null, "updateContext": null }, - "start": 1996, - "end": 1996, + "start": 1693, + "end": 1693, "loc": { "start": { - "line": 69, + "line": 59, "column": 0 }, "end": { - "line": 69, + "line": 59, "column": 0 } } diff --git a/docs/api/ast/source/js/videojs.wavesurfer.js.json b/docs/api/ast/source/js/videojs.wavesurfer.js.json index c8b4c673..865ffe46 100644 --- a/docs/api/ast/source/js/videojs.wavesurfer.js.json +++ b/docs/api/ast/source/js/videojs.wavesurfer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 27284, + "end": 27305, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 844, + "line": 841, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 27284, + "end": 27305, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 844, + "line": 841, "column": 20 } }, @@ -875,20 +875,338 @@ } } ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 632, + "end": 677, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 638, + "end": 676, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 638, + "end": 657, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 25 + }, + "identifierName": "wavesurferStyleName" + }, + "name": "wavesurferStyleName" + }, + "init": { + "type": "StringLiteral", + "start": 660, + "end": 676, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 44 + } + }, + "extra": { + "rawValue": "vjs-wavesurfer", + "raw": "'vjs-wavesurfer'" + }, + "value": "vjs-wavesurfer" + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " wavesurfer.js backends", + "start": 679, + "end": 704, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 705, + "end": 733, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 711, + "end": 732, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 711, + "end": 719, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 14 + }, + "identifierName": "WEBAUDIO" + }, + "name": "WEBAUDIO", + "leadingComments": null + }, + "init": { + "type": "StringLiteral", + "start": 722, + "end": 732, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 27 + } + }, + "extra": { + "rawValue": "WebAudio", + "raw": "'WebAudio'" + }, + "value": "WebAudio" + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " wavesurfer.js backends", + "start": 679, + "end": 704, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 734, + "end": 770, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 740, + "end": 769, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 740, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 18 + }, + "identifierName": "MEDIAELEMENT" + }, + "name": "MEDIAELEMENT" + }, + "init": { + "type": "StringLiteral", + "start": 755, + "end": 769, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 35 + } + }, + "extra": { + "rawValue": "MediaElement", + "raw": "'MediaElement'" + }, + "value": "MediaElement" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 771, + "end": 824, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 777, + "end": 823, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 777, + "end": 798, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 27 + }, + "identifierName": "MEDIAELEMENT_WEBAUDIO" + }, + "name": "MEDIAELEMENT_WEBAUDIO" + }, + "init": { + "type": "StringLiteral", + "start": 801, + "end": 823, + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 52 + } + }, + "extra": { + "rawValue": "MediaElementWebAudio", + "raw": "'MediaElementWebAudio'" + }, + "value": "MediaElementWebAudio" + } + } + ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n ", - "start": 633, - "end": 748, + "start": 826, + "end": 941, "loc": { "start": { - "line": 23, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 34, "column": 3 } } @@ -897,29 +1215,29 @@ }, { "type": "Identifier", - "start": 749, - "end": 26822, + "start": 942, + "end": 26843, "loc": { "start": { - "line": 29, + "line": 35, "column": 0 }, "end": { - "line": 825, + "line": 822, "column": 1 } }, "id": { "type": "Identifier", - "start": 755, - "end": 765, + "start": 948, + "end": 958, "loc": { "start": { - "line": 29, + "line": 35, "column": 6 }, "end": { - "line": 29, + "line": 35, "column": 16 }, "identifierName": "Wavesurfer" @@ -929,15 +1247,15 @@ }, "superClass": { "type": "Identifier", - "start": 774, - "end": 780, + "start": 967, + "end": 973, "loc": { "start": { - "line": 29, + "line": 35, "column": 25 }, "end": { - "line": 29, + "line": 35, "column": 31 }, "identifierName": "Plugin" @@ -946,30 +1264,30 @@ }, "body": { "type": "ClassBody", - "start": 781, - "end": 26822, + "start": 974, + "end": 26843, "loc": { "start": { - "line": 29, + "line": 35, "column": 32 }, "end": { - "line": 825, + "line": 822, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 979, - "end": 1648, + "start": 1172, + "end": 2027, "loc": { "start": { - "line": 36, + "line": 42, "column": 4 }, "end": { - "line": 54, + "line": 65, "column": 5 } }, @@ -977,15 +1295,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 979, - "end": 990, + "start": 1172, + "end": 1183, "loc": { "start": { - "line": 36, + "line": 42, "column": 4 }, "end": { - "line": 36, + "line": 42, "column": 15 }, "identifierName": "constructor" @@ -1001,15 +1319,15 @@ "params": [ { "type": "Identifier", - "start": 991, - "end": 997, + "start": 1184, + "end": 1190, "loc": { "start": { - "line": 36, + "line": 42, "column": 16 }, "end": { - "line": 36, + "line": 42, "column": 22 }, "identifierName": "player" @@ -1018,15 +1336,15 @@ }, { "type": "Identifier", - "start": 999, - "end": 1006, + "start": 1192, + "end": 1199, "loc": { "start": { - "line": 36, + "line": 42, "column": 24 }, "end": { - "line": 36, + "line": 42, "column": 31 }, "identifierName": "options" @@ -1036,58 +1354,58 @@ ], "body": { "type": "BlockStatement", - "start": 1008, - "end": 1648, + "start": 1201, + "end": 2027, "loc": { "start": { - "line": 36, + "line": 42, "column": 33 }, "end": { - "line": 54, + "line": 65, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1018, - "end": 1041, + "start": 1211, + "end": 1234, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 1018, - "end": 1040, + "start": 1211, + "end": 1233, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 30 } }, "callee": { "type": "Super", - "start": 1018, - "end": 1023, + "start": 1211, + "end": 1216, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 13 } } @@ -1095,15 +1413,15 @@ "arguments": [ { "type": "Identifier", - "start": 1024, - "end": 1030, + "start": 1217, + "end": 1223, "loc": { "start": { - "line": 37, + "line": 43, "column": 14 }, "end": { - "line": 37, + "line": 43, "column": 20 }, "identifierName": "player" @@ -1112,15 +1430,15 @@ }, { "type": "Identifier", - "start": 1032, - "end": 1039, + "start": 1225, + "end": 1232, "loc": { "start": { - "line": 37, + "line": 43, "column": 22 }, "end": { - "line": 37, + "line": 43, "column": 29 }, "identifierName": "options" @@ -1133,15 +1451,15 @@ { "type": "CommentLine", "value": " add plugin style", - "start": 1051, - "end": 1070, + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 39, + "line": 45, "column": 8 }, "end": { - "line": 39, + "line": 45, "column": 27 } } @@ -1150,57 +1468,57 @@ }, { "type": "ExpressionStatement", - "start": 1079, - "end": 1113, + "start": 1272, + "end": 1309, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, - "column": 42 + "line": 46, + "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1079, - "end": 1112, + "start": 1272, + "end": 1308, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, - "column": 41 + "line": 46, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1079, - "end": 1094, + "start": 1272, + "end": 1287, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, + "line": 46, "column": 23 } }, "object": { "type": "Identifier", - "start": 1079, - "end": 1085, + "start": 1272, + "end": 1278, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, + "line": 46, "column": 14 }, "identifierName": "player" @@ -1210,15 +1528,15 @@ }, "property": { "type": "Identifier", - "start": 1086, - "end": 1094, + "start": 1279, + "end": 1287, "loc": { "start": { - "line": 40, + "line": 46, "column": 15 }, "end": { - "line": 40, + "line": 46, "column": 23 }, "identifierName": "addClass" @@ -1230,24 +1548,21 @@ }, "arguments": [ { - "type": "StringLiteral", - "start": 1095, - "end": 1111, + "type": "Identifier", + "start": 1288, + "end": 1307, "loc": { "start": { - "line": 40, + "line": 46, "column": 24 }, "end": { - "line": 40, - "column": 40 - } - }, - "extra": { - "rawValue": "vjs-wavesurfer", - "raw": "'vjs-wavesurfer'" + "line": 46, + "column": 43 + }, + "identifierName": "wavesurferStyleName" }, - "value": "vjs-wavesurfer" + "name": "wavesurferStyleName" } ], "leadingComments": null @@ -1256,15 +1571,15 @@ { "type": "CommentLine", "value": " add plugin style", - "start": 1051, - "end": 1070, + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 39, + "line": 45, "column": 8 }, "end": { - "line": 39, + "line": 45, "column": 27 } } @@ -1274,15 +1589,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1123, - "end": 1139, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, + "line": 48, "column": 24 } } @@ -1291,44 +1606,44 @@ }, { "type": "ExpressionStatement", - "start": 1148, - "end": 1210, + "start": 1344, + "end": 1406, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 1148, - "end": 1209, + "start": 1344, + "end": 1405, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 69 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1148, - "end": 1155, + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 15 }, "identifierName": "options" @@ -1338,43 +1653,43 @@ }, "right": { "type": "CallExpression", - "start": 1158, - "end": 1209, + "start": 1354, + "end": 1405, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 1158, - "end": 1178, + "start": 1354, + "end": 1374, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 38 } }, "object": { "type": "Identifier", - "start": 1158, - "end": 1165, + "start": 1354, + "end": 1361, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 25 }, "identifierName": "videojs" @@ -1383,15 +1698,15 @@ }, "property": { "type": "Identifier", - "start": 1166, - "end": 1178, + "start": 1362, + "end": 1374, "loc": { "start": { - "line": 43, + "line": 49, "column": 26 }, "end": { - "line": 43, + "line": 49, "column": 38 }, "identifierName": "mergeOptions" @@ -1403,15 +1718,15 @@ "arguments": [ { "type": "Identifier", - "start": 1179, - "end": 1199, + "start": 1375, + "end": 1395, "loc": { "start": { - "line": 43, + "line": 49, "column": 39 }, "end": { - "line": 43, + "line": 49, "column": 59 }, "identifierName": "pluginDefaultOptions" @@ -1420,15 +1735,15 @@ }, { "type": "Identifier", - "start": 1201, - "end": 1208, + "start": 1397, + "end": 1404, "loc": { "start": { - "line": 43, + "line": 49, "column": 61 }, "end": { - "line": 43, + "line": 49, "column": 68 }, "identifierName": "options" @@ -1443,15 +1758,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1123, - "end": 1139, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, + "line": 48, "column": 24 } } @@ -1460,73 +1775,73 @@ }, { "type": "ExpressionStatement", - "start": 1219, - "end": 1242, + "start": 1415, + "end": 1438, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1219, - "end": 1241, + "start": 1415, + "end": 1437, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1219, - "end": 1233, + "start": 1415, + "end": 1429, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1219, - "end": 1223, + "start": 1415, + "end": 1419, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1224, - "end": 1233, + "start": 1420, + "end": 1429, "loc": { "start": { - "line": 44, + "line": 50, "column": 13 }, "end": { - "line": 44, + "line": 50, "column": 22 }, "identifierName": "waveReady" @@ -1537,15 +1852,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1236, - "end": 1241, + "start": 1432, + "end": 1437, "loc": { "start": { - "line": 44, + "line": 50, "column": 25 }, "end": { - "line": 44, + "line": 50, "column": 30 } }, @@ -1555,73 +1870,73 @@ }, { "type": "ExpressionStatement", - "start": 1251, - "end": 1277, + "start": 1447, + "end": 1473, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1251, - "end": 1276, + "start": 1447, + "end": 1472, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1251, - "end": 1268, + "start": 1447, + "end": 1464, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 1251, - "end": 1255, + "start": 1447, + "end": 1451, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1256, - "end": 1268, + "start": 1452, + "end": 1464, "loc": { "start": { - "line": 45, + "line": 51, "column": 13 }, "end": { - "line": 45, + "line": 51, "column": 25 }, "identifierName": "waveFinished" @@ -1632,15 +1947,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1271, - "end": 1276, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 45, + "line": 51, "column": 28 }, "end": { - "line": 45, + "line": 51, "column": 33 } }, @@ -1650,73 +1965,73 @@ }, { "type": "ExpressionStatement", - "start": 1286, - "end": 1308, + "start": 1482, + "end": 1504, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 1286, - "end": 1307, + "start": 1482, + "end": 1503, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1286, - "end": 1299, + "start": 1482, + "end": 1495, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1286, - "end": 1290, + "start": 1482, + "end": 1486, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1291, - "end": 1299, + "start": 1487, + "end": 1495, "loc": { "start": { - "line": 46, + "line": 52, "column": 13 }, "end": { - "line": 46, + "line": 52, "column": 21 }, "identifierName": "liveMode" @@ -1727,15 +2042,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1302, - "end": 1307, + "start": 1498, + "end": 1503, "loc": { "start": { - "line": 46, + "line": 52, "column": 24 }, "end": { - "line": 46, + "line": 52, "column": 29 } }, @@ -1745,73 +2060,73 @@ }, { "type": "ExpressionStatement", - "start": 1317, - "end": 1337, + "start": 1513, + "end": 1533, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 1317, - "end": 1336, + "start": 1513, + "end": 1532, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1317, - "end": 1329, + "start": 1513, + "end": 1525, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1317, - "end": 1321, + "start": 1513, + "end": 1517, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1322, - "end": 1329, + "start": 1518, + "end": 1525, "loc": { "start": { - "line": 47, + "line": 53, "column": 13 }, "end": { - "line": 47, + "line": 53, "column": 20 }, "identifierName": "backend" @@ -1822,15 +2137,15 @@ }, "right": { "type": "NullLiteral", - "start": 1332, - "end": 1336, + "start": 1528, + "end": 1532, "loc": { "start": { - "line": 47, + "line": 53, "column": 23 }, "end": { - "line": 47, + "line": 53, "column": 27 } } @@ -1839,73 +2154,73 @@ }, { "type": "ExpressionStatement", - "start": 1346, - "end": 1397, + "start": 1542, + "end": 1593, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 1346, - "end": 1396, + "start": 1542, + "end": 1592, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1346, - "end": 1356, + "start": 1542, + "end": 1552, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 1346, - "end": 1350, + "start": 1542, + "end": 1546, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1351, - "end": 1356, + "start": 1547, + "end": 1552, "loc": { "start": { - "line": 48, + "line": 54, "column": 13 }, "end": { - "line": 48, + "line": 54, "column": 18 }, "identifierName": "debug" @@ -1916,71 +2231,71 @@ }, "right": { "type": "BinaryExpression", - "start": 1360, - "end": 1395, + "start": 1556, + "end": 1591, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 57 } }, "left": { "type": "CallExpression", - "start": 1360, - "end": 1384, + "start": 1556, + "end": 1580, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 1360, - "end": 1382, + "start": 1556, + "end": 1578, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 1360, - "end": 1373, + "start": 1556, + "end": 1569, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 35 } }, "object": { "type": "Identifier", - "start": 1360, - "end": 1367, + "start": 1556, + "end": 1563, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 29 }, "identifierName": "options" @@ -1989,15 +2304,15 @@ }, "property": { "type": "Identifier", - "start": 1368, - "end": 1373, + "start": 1564, + "end": 1569, "loc": { "start": { - "line": 48, + "line": 54, "column": 30 }, "end": { - "line": 48, + "line": 54, "column": 35 }, "identifierName": "debug" @@ -2008,15 +2323,15 @@ }, "property": { "type": "Identifier", - "start": 1374, - "end": 1382, + "start": 1570, + "end": 1578, "loc": { "start": { - "line": 48, + "line": 54, "column": 36 }, "end": { - "line": 48, + "line": 54, "column": 44 }, "identifierName": "toString" @@ -2030,15 +2345,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1389, - "end": 1395, + "start": 1585, + "end": 1591, "loc": { "start": { - "line": 48, + "line": 54, "column": 51 }, "end": { - "line": 48, + "line": 54, "column": 57 } }, @@ -2050,80 +2365,80 @@ }, "extra": { "parenthesized": true, - "parenStart": 1359 + "parenStart": 1555 } } } }, { "type": "ExpressionStatement", - "start": 1406, - "end": 1472, + "start": 1602, + "end": 1668, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 1406, - "end": 1471, + "start": 1602, + "end": 1667, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1406, - "end": 1428, + "start": 1602, + "end": 1624, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 1406, - "end": 1410, + "start": 1602, + "end": 1606, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1411, - "end": 1428, + "start": 1607, + "end": 1624, "loc": { "start": { - "line": 49, + "line": 55, "column": 13 }, "end": { - "line": 49, + "line": 55, "column": 30 }, "identifierName": "textTracksEnabled" @@ -2134,100 +2449,100 @@ }, "right": { "type": "BinaryExpression", - "start": 1432, - "end": 1470, + "start": 1628, + "end": 1666, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 1432, - "end": 1466, + "start": 1628, + "end": 1662, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1459, + "start": 1628, + "end": 1655, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1452, + "start": 1628, + "end": 1648, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1443, + "start": 1628, + "end": 1639, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 1432, - "end": 1436, + "start": 1628, + "end": 1632, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 38 } } }, "property": { "type": "Identifier", - "start": 1437, - "end": 1443, + "start": 1633, + "end": 1639, "loc": { "start": { - "line": 49, + "line": 55, "column": 39 }, "end": { - "line": 49, + "line": 55, "column": 45 }, "identifierName": "player" @@ -2238,15 +2553,15 @@ }, "property": { "type": "Identifier", - "start": 1444, - "end": 1452, + "start": 1640, + "end": 1648, "loc": { "start": { - "line": 49, + "line": 55, "column": 46 }, "end": { - "line": 49, + "line": 55, "column": 54 }, "identifierName": "options_" @@ -2257,15 +2572,15 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1459, + "start": 1649, + "end": 1655, "loc": { "start": { - "line": 49, + "line": 55, "column": 55 }, "end": { - "line": 49, + "line": 55, "column": 61 }, "identifierName": "tracks" @@ -2276,15 +2591,15 @@ }, "property": { "type": "Identifier", - "start": 1460, - "end": 1466, + "start": 1656, + "end": 1662, "loc": { "start": { - "line": 49, + "line": 55, "column": 62 }, "end": { - "line": 49, + "line": 55, "column": 68 }, "identifierName": "length" @@ -2296,15 +2611,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1469, - "end": 1470, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 49, + "line": 55, "column": 71 }, "end": { - "line": 49, + "line": 55, "column": 72 } }, @@ -2316,186 +2631,477 @@ }, "extra": { "parenthesized": true, - "parenStart": 1431 + "parenStart": 1627 } } } }, { "type": "ExpressionStatement", - "start": 1481, - "end": 1534, + "start": 1677, + "end": 1732, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 61 + "line": 56, + "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 1481, - "end": 1533, + "start": 1677, + "end": 1731, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 60 + "line": 56, + "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1481, - "end": 1498, + "start": 1677, + "end": 1701, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 25 + "line": 56, + "column": 32 } }, "object": { "type": "ThisExpression", - "start": 1481, - "end": 1485, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, + "line": 56, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1486, - "end": 1498, + "start": 1682, + "end": 1701, "loc": { "start": { - "line": 50, + "line": 56, "column": 13 }, "end": { - "line": 50, - "column": 25 + "line": 56, + "column": 32 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false }, "right": { - "type": "CallExpression", - "start": 1501, - "end": 1533, + "type": "MemberExpression", + "start": 1704, + "end": 1731, "loc": { "start": { - "line": 50, - "column": 28 + "line": 56, + "column": 35 }, "end": { - "line": 50, - "column": 60 + "line": 56, + "column": 62 } }, - "callee": { + "object": { "type": "Identifier", - "start": 1501, - "end": 1511, + "start": 1704, + "end": 1711, "loc": { "start": { - "line": 50, - "column": 28 + "line": 56, + "column": 35 }, "end": { - "line": 50, - "column": 38 + "line": 56, + "column": 42 }, - "identifierName": "parseFloat" + "identifierName": "options" }, - "name": "parseFloat" + "name": "options" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1512, - "end": 1532, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 59 - } + "property": { + "type": "Identifier", + "start": 1712, + "end": 1731, + "loc": { + "start": { + "line": 56, + "column": 43 }, - "object": { + "end": { + "line": 56, + "column": 62 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1785, + "end": 1913, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1785, + "end": 1912, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 61, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1785, + "end": 1806, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1785, + "end": 1792, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 15 + }, + "identifierName": "videojs" + }, + "name": "videojs", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1793, + "end": 1806, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 29 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1807, + "end": 1911, + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 61, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 1512, - "end": 1519, + "start": 1808, + "end": 1815, "loc": { "start": { - "line": 50, - "column": 39 + "line": 59, + "column": 31 }, "end": { - "line": 50, - "column": 46 + "line": 59, + "column": 38 }, - "identifierName": "options" + "identifierName": "seconds" }, - "name": "options" + "name": "seconds" }, - "property": { + { "type": "Identifier", - "start": 1520, - "end": 1532, + "start": 1817, + "end": 1822, "loc": { "start": { - "line": 50, - "column": 47 + "line": 59, + "column": 40 }, "end": { - "line": 50, - "column": 59 + "line": 59, + "column": 45 }, - "identifierName": "msDisplayMax" + "identifierName": "guide" + }, + "name": "guide" + } + ], + "body": { + "type": "BlockStatement", + "start": 1827, + "end": 1911, + "loc": { + "start": { + "line": 59, + "column": 50 }, - "name": "msDisplayMax" + "end": { + "line": 61, + "column": 9 + } }, - "computed": false + "body": [ + { + "type": "ReturnStatement", + "start": 1841, + "end": 1901, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 72 + } + }, + "argument": { + "type": "CallExpression", + "start": 1848, + "end": 1900, + "loc": { + "start": { + "line": 60, + "column": 19 + }, + "end": { + "line": 60, + "column": 71 + } + }, + "callee": { + "type": "Identifier", + "start": 1848, + "end": 1858, + "loc": { + "start": { + "line": 60, + "column": 19 + }, + "end": { + "line": 60, + "column": 29 + }, + "identifierName": "formatTime" + }, + "name": "formatTime" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1859, + "end": 1866, + "loc": { + "start": { + "line": 60, + "column": 30 + }, + "end": { + "line": 60, + "column": 37 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + { + "type": "Identifier", + "start": 1868, + "end": 1873, + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 44 + }, + "identifierName": "guide" + }, + "name": "guide" + }, + { + "type": "MemberExpression", + "start": 1875, + "end": 1899, + "loc": { + "start": { + "line": 60, + "column": 46 + }, + "end": { + "line": 60, + "column": 70 + } + }, + "object": { + "type": "ThisExpression", + "start": 1875, + "end": 1879, + "loc": { + "start": { + "line": 60, + "column": 46 + }, + "end": { + "line": 60, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 1880, + "end": 1899, + "loc": { + "start": { + "line": 60, + "column": 51 + }, + "end": { + "line": 60, + "column": 70 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + ] + } + } + ], + "directives": [] } - ] - } + } + ], + "leadingComments": null }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 42 + } + } + } + ], "trailingComments": [ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 52, + "line": 63, "column": 8 }, "end": { - "line": 52, + "line": 63, "column": 40 } } @@ -2504,71 +3110,71 @@ }, { "type": "ExpressionStatement", - "start": 1585, - "end": 1642, + "start": 1964, + "end": 2021, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 1585, - "end": 1641, + "start": 1964, + "end": 2020, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1585, - "end": 1600, + "start": 1964, + "end": 1979, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 23 } }, "object": { "type": "MemberExpression", - "start": 1585, - "end": 1596, + "start": 1964, + "end": 1975, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1585, - "end": 1589, + "start": 1964, + "end": 1968, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 12 } }, @@ -2576,15 +3182,15 @@ }, "property": { "type": "Identifier", - "start": 1590, - "end": 1596, + "start": 1969, + "end": 1975, "loc": { "start": { - "line": 53, + "line": 64, "column": 13 }, "end": { - "line": 53, + "line": 64, "column": 19 }, "identifierName": "player" @@ -2596,15 +3202,15 @@ }, "property": { "type": "Identifier", - "start": 1597, - "end": 1600, + "start": 1976, + "end": 1979, "loc": { "start": { - "line": 53, + "line": 64, "column": 20 }, "end": { - "line": 53, + "line": 64, "column": 23 }, "identifierName": "one" @@ -2617,29 +3223,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1601, - "end": 1612, + "start": 1980, + "end": 1991, "loc": { "start": { - "line": 53, + "line": 64, "column": 24 }, "end": { - "line": 53, + "line": 64, "column": 35 } }, "object": { "type": "Identifier", - "start": 1601, - "end": 1606, + "start": 1980, + "end": 1985, "loc": { "start": { - "line": 53, + "line": 64, "column": 24 }, "end": { - "line": 53, + "line": 64, "column": 29 }, "identifierName": "Event" @@ -2648,15 +3254,15 @@ }, "property": { "type": "Identifier", - "start": 1607, - "end": 1612, + "start": 1986, + "end": 1991, "loc": { "start": { - "line": 53, + "line": 64, "column": 30 }, "end": { - "line": 53, + "line": 64, "column": 35 }, "identifierName": "READY" @@ -2667,72 +3273,72 @@ }, { "type": "CallExpression", - "start": 1614, - "end": 1640, + "start": 1993, + "end": 2019, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1614, - "end": 1634, + "start": 1993, + "end": 2013, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 1614, - "end": 1629, + "start": 1993, + "end": 2008, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 1614, - "end": 1618, + "start": 1993, + "end": 1997, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 41 } } }, "property": { "type": "Identifier", - "start": 1619, - "end": 1629, + "start": 1998, + "end": 2008, "loc": { "start": { - "line": 53, + "line": 64, "column": 42 }, "end": { - "line": 53, + "line": 64, "column": 52 }, "identifierName": "initialize" @@ -2743,15 +3349,15 @@ }, "property": { "type": "Identifier", - "start": 1630, - "end": 1634, + "start": 2009, + "end": 2013, "loc": { "start": { - "line": 53, + "line": 64, "column": 53 }, "end": { - "line": 53, + "line": 64, "column": 57 }, "identifierName": "bind" @@ -2763,15 +3369,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 1635, - "end": 1639, + "start": 2014, + "end": 2018, "loc": { "start": { - "line": 53, + "line": 64, "column": 58 }, "end": { - "line": 53, + "line": 64, "column": 62 } } @@ -2785,15 +3391,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 52, + "line": 63, "column": 8 }, "end": { - "line": 52, + "line": 63, "column": 40 } } @@ -2808,15 +3414,15 @@ { "type": "CommentBlock", "value": "*\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n ", - "start": 787, - "end": 974, + "start": 980, + "end": 1167, "loc": { "start": { - "line": 30, + "line": 36, "column": 4 }, "end": { - "line": 35, + "line": 41, "column": 7 } } @@ -2826,15 +3432,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, + "start": 2033, + "end": 2114, "loc": { "start": { - "line": 56, + "line": 67, "column": 4 }, "end": { - "line": 60, + "line": 71, "column": 7 } } @@ -2843,15 +3449,15 @@ }, { "type": "ClassMethod", - "start": 1740, - "end": 6921, + "start": 2119, + "end": 6783, "loc": { "start": { - "line": 61, + "line": 72, "column": 4 }, "end": { - "line": 186, + "line": 181, "column": 5 } }, @@ -2859,15 +3465,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1740, - "end": 1750, + "start": 2119, + "end": 2129, "loc": { "start": { - "line": 61, + "line": 72, "column": 4 }, "end": { - "line": 61, + "line": 72, "column": 14 }, "identifierName": "initialize" @@ -2883,86 +3489,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1753, - "end": 6921, + "start": 2132, + "end": 6783, "loc": { "start": { - "line": 61, + "line": 72, "column": 17 }, "end": { - "line": 186, + "line": 181, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1795, - "end": 1897, + "start": 2174, + "end": 2276, "loc": { "start": { - "line": 63, + "line": 74, "column": 8 }, "end": { - "line": 65, + "line": 76, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 1799, - "end": 1838, + "start": 2178, + "end": 2217, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 1799, - "end": 1824, + "start": 2178, + "end": 2203, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 1799, - "end": 1810, + "start": 2178, + "end": 2189, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1799, - "end": 1803, + "start": 2178, + "end": 2182, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 16 } }, @@ -2970,15 +3576,15 @@ }, "property": { "type": "Identifier", - "start": 1804, - "end": 1810, + "start": 2183, + "end": 2189, "loc": { "start": { - "line": 63, + "line": 74, "column": 17 }, "end": { - "line": 63, + "line": 74, "column": 23 }, "identifierName": "player" @@ -2990,15 +3596,15 @@ }, "property": { "type": "Identifier", - "start": 1811, - "end": 1824, + "start": 2190, + "end": 2203, "loc": { "start": { - "line": 63, + "line": 74, "column": 24 }, "end": { - "line": 63, + "line": 74, "column": 37 }, "identifierName": "bigPlayButton" @@ -3011,15 +3617,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1829, - "end": 1838, + "start": 2208, + "end": 2217, "loc": { "start": { - "line": 63, + "line": 74, "column": 42 }, "end": { - "line": 63, + "line": 74, "column": 51 }, "identifierName": "undefined" @@ -3030,115 +3636,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 1840, - "end": 1897, + "start": 2219, + "end": 2276, "loc": { "start": { - "line": 63, + "line": 74, "column": 53 }, "end": { - "line": 65, + "line": 76, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1854, - "end": 1887, + "start": 2233, + "end": 2266, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1854, - "end": 1886, + "start": 2233, + "end": 2265, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1854, - "end": 1884, + "start": 2233, + "end": 2263, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 1854, - "end": 1879, + "start": 2233, + "end": 2258, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 1854, - "end": 1865, + "start": 2233, + "end": 2244, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1854, - "end": 1858, + "start": 2233, + "end": 2237, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 16 } } }, "property": { "type": "Identifier", - "start": 1859, - "end": 1865, + "start": 2238, + "end": 2244, "loc": { "start": { - "line": 64, + "line": 75, "column": 17 }, "end": { - "line": 64, + "line": 75, "column": 23 }, "identifierName": "player" @@ -3149,15 +3755,15 @@ }, "property": { "type": "Identifier", - "start": 1866, - "end": 1879, + "start": 2245, + "end": 2258, "loc": { "start": { - "line": 64, + "line": 75, "column": 24 }, "end": { - "line": 64, + "line": 75, "column": 37 }, "identifierName": "bigPlayButton" @@ -3168,15 +3774,15 @@ }, "property": { "type": "Identifier", - "start": 1880, - "end": 1884, + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 64, + "line": 75, "column": 38 }, "end": { - "line": 64, + "line": 75, "column": 42 }, "identifierName": "hide" @@ -3197,15 +3803,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 1763, - "end": 1786, + "start": 2142, + "end": 2165, "loc": { "start": { - "line": 62, + "line": 73, "column": 8 }, "end": { - "line": 62, + "line": 73, "column": 31 } } @@ -3215,15 +3821,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1907, - "end": 1923, + "start": 2286, + "end": 2302, "loc": { "start": { - "line": 67, + "line": 78, "column": 8 }, "end": { - "line": 67, + "line": 78, "column": 24 } } @@ -3232,44 +3838,44 @@ }, { "type": "VariableDeclaration", - "start": 1932, - "end": 2011, + "start": 2311, + "end": 2390, "loc": { "start": { - "line": 68, + "line": 79, "column": 8 }, "end": { - "line": 68, + "line": 79, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1936, - "end": 2010, + "start": 2315, + "end": 2389, "loc": { "start": { - "line": 68, + "line": 79, "column": 12 }, "end": { - "line": 68, + "line": 79, "column": 86 } }, "id": { "type": "Identifier", - "start": 1936, - "end": 1949, + "start": 2315, + "end": 2328, "loc": { "start": { - "line": 68, + "line": 79, "column": 12 }, "end": { - "line": 68, + "line": 79, "column": 25 }, "identifierName": "mergedOptions" @@ -3279,58 +3885,58 @@ }, "init": { "type": "CallExpression", - "start": 1952, - "end": 2010, + "start": 2331, + "end": 2389, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 1952, - "end": 1969, + "start": 2331, + "end": 2348, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 1952, - "end": 1956, + "start": 2331, + "end": 2335, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 32 } } }, "property": { "type": "Identifier", - "start": 1957, - "end": 1969, + "start": 2336, + "end": 2348, "loc": { "start": { - "line": 68, + "line": 79, "column": 33 }, "end": { - "line": 68, + "line": 79, "column": 45 }, "identifierName": "parseOptions" @@ -3342,86 +3948,86 @@ "arguments": [ { "type": "MemberExpression", - "start": 1970, - "end": 2009, + "start": 2349, + "end": 2388, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1998, + "start": 2349, + "end": 2377, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1990, + "start": 2349, + "end": 2369, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1981, + "start": 2349, + "end": 2360, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1970, - "end": 1974, + "start": 2349, + "end": 2353, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 50 } } }, "property": { "type": "Identifier", - "start": 1975, - "end": 1981, + "start": 2354, + "end": 2360, "loc": { "start": { - "line": 68, + "line": 79, "column": 51 }, "end": { - "line": 68, + "line": 79, "column": 57 }, "identifierName": "player" @@ -3432,15 +4038,15 @@ }, "property": { "type": "Identifier", - "start": 1982, - "end": 1990, + "start": 2361, + "end": 2369, "loc": { "start": { - "line": 68, + "line": 79, "column": 58 }, "end": { - "line": 68, + "line": 79, "column": 66 }, "identifierName": "options_" @@ -3451,15 +4057,15 @@ }, "property": { "type": "Identifier", - "start": 1991, - "end": 1998, + "start": 2370, + "end": 2377, "loc": { "start": { - "line": 68, + "line": 79, "column": 67 }, "end": { - "line": 68, + "line": 79, "column": 74 }, "identifierName": "plugins" @@ -3470,15 +4076,15 @@ }, "property": { "type": "Identifier", - "start": 1999, - "end": 2009, + "start": 2378, + "end": 2388, "loc": { "start": { - "line": 68, + "line": 79, "column": 75 }, "end": { - "line": 68, + "line": 79, "column": 85 }, "identifierName": "wavesurfer" @@ -3497,422 +4103,33 @@ { "type": "CommentLine", "value": " parse options", - "start": 1907, - "end": 1923, + "start": 2286, + "end": 2302, "loc": { "start": { - "line": 67, + "line": 78, "column": 8 }, "end": { - "line": 67, + "line": 78, "column": 24 } } } ], "trailingComments": [ - { - "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, - "loc": { - "start": { - "line": 70, - "column": 8 - }, - "end": { - "line": 70, - "column": 35 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 2057, - "end": 2178, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 73, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 2057, - "end": 2177, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 73, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2057, - "end": 2078, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2057, - "end": 2064, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 15 - }, - "identifierName": "videojs" - }, - "name": "videojs", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2065, - "end": 2078, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 29 - }, - "identifierName": "setFormatTime" - }, - "name": "setFormatTime" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2079, - "end": 2176, - "loc": { - "start": { - "line": 71, - "column": 30 - }, - "end": { - "line": 73, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2080, - "end": 2087, - "loc": { - "start": { - "line": 71, - "column": 31 - }, - "end": { - "line": 71, - "column": 38 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 2089, - "end": 2094, - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 45 - }, - "identifierName": "guide" - }, - "name": "guide" - } - ], - "body": { - "type": "BlockStatement", - "start": 2099, - "end": 2176, - "loc": { - "start": { - "line": 71, - "column": 50 - }, - "end": { - "line": 73, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2113, - "end": 2166, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 65 - } - }, - "argument": { - "type": "CallExpression", - "start": 2120, - "end": 2165, - "loc": { - "start": { - "line": 72, - "column": 19 - }, - "end": { - "line": 72, - "column": 64 - } - }, - "callee": { - "type": "Identifier", - "start": 2120, - "end": 2130, - "loc": { - "start": { - "line": 72, - "column": 19 - }, - "end": { - "line": 72, - "column": 29 - }, - "identifierName": "formatTime" - }, - "name": "formatTime" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2131, - "end": 2138, - "loc": { - "start": { - "line": 72, - "column": 30 - }, - "end": { - "line": 72, - "column": 37 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 2140, - "end": 2145, - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 44 - }, - "identifierName": "guide" - }, - "name": "guide" - }, - { - "type": "MemberExpression", - "start": 2147, - "end": 2164, - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 2147, - "end": 2151, - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 50 - } - } - }, - "property": { - "type": "Identifier", - "start": 2152, - "end": 2164, - "loc": { - "start": { - "line": 72, - "column": 51 - }, - "end": { - "line": 72, - "column": 63 - }, - "identifierName": "msDisplayMax" - }, - "name": "msDisplayMax" - }, - "computed": false - } - ] - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, - "loc": { - "start": { - "line": 70, - "column": 8 - }, - "end": { - "line": 70, - "column": 35 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, - "loc": { - "start": { - "line": 77, - "column": 8 - }, - "end": { - "line": 77, - "column": 32 - } - } - }, - { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - } - } - }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -3921,85 +4138,85 @@ }, { "type": "IfStatement", - "start": 2552, - "end": 4686, + "start": 2420, + "end": 4550, "loc": { "start": { - "line": 87, + "line": 82, "column": 8 }, "end": { - "line": 131, + "line": 126, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2556, - "end": 2594, + "start": 2424, + "end": 2462, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 2556, - "end": 2585, + "start": 2424, + "end": 2453, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2556, - "end": 2576, + "start": 2424, + "end": 2444, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2556, - "end": 2567, + "start": 2424, + "end": 2435, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2556, - "end": 2560, + "start": 2424, + "end": 2428, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 16 } }, @@ -4007,15 +4224,15 @@ }, "property": { "type": "Identifier", - "start": 2561, - "end": 2567, + "start": 2429, + "end": 2435, "loc": { "start": { - "line": 87, + "line": 82, "column": 17 }, "end": { - "line": 87, + "line": 82, "column": 23 }, "identifierName": "player" @@ -4027,15 +4244,15 @@ }, "property": { "type": "Identifier", - "start": 2568, - "end": 2576, + "start": 2436, + "end": 2444, "loc": { "start": { - "line": 87, + "line": 82, "column": 24 }, "end": { - "line": 87, + "line": 82, "column": 32 }, "identifierName": "options_" @@ -4047,15 +4264,15 @@ }, "property": { "type": "Identifier", - "start": 2577, - "end": 2585, + "start": 2445, + "end": 2453, "loc": { "start": { - "line": 87, + "line": 82, "column": 33 }, "end": { - "line": 87, + "line": 82, "column": 41 }, "identifierName": "controls" @@ -4068,15 +4285,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 2590, - "end": 2594, + "start": 2458, + "end": 2462, "loc": { "start": { - "line": 87, + "line": 82, "column": 46 }, "end": { - "line": 87, + "line": 82, "column": 50 } }, @@ -4086,100 +4303,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 2596, - "end": 4686, + "start": 2464, + "end": 4550, "loc": { "start": { - "line": 87, + "line": 82, "column": 52 }, "end": { - "line": 131, + "line": 126, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2798, - "end": 2828, + "start": 2666, + "end": 2696, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2798, - "end": 2827, + "start": 2666, + "end": 2695, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2798, - "end": 2825, + "start": 2666, + "end": 2693, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 2798, - "end": 2820, + "start": 2666, + "end": 2688, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2798, - "end": 2809, + "start": 2666, + "end": 2677, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2798, - "end": 2802, + "start": 2666, + "end": 2670, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 16 } }, @@ -4187,15 +4404,15 @@ }, "property": { "type": "Identifier", - "start": 2803, - "end": 2809, + "start": 2671, + "end": 2677, "loc": { "start": { - "line": 91, + "line": 86, "column": 17 }, "end": { - "line": 91, + "line": 86, "column": 23 }, "identifierName": "player" @@ -4207,15 +4424,15 @@ }, "property": { "type": "Identifier", - "start": 2810, - "end": 2820, + "start": 2678, + "end": 2688, "loc": { "start": { - "line": 91, + "line": 86, "column": 24 }, "end": { - "line": 91, + "line": 86, "column": 34 }, "identifierName": "controlBar" @@ -4227,15 +4444,15 @@ }, "property": { "type": "Identifier", - "start": 2821, - "end": 2825, + "start": 2689, + "end": 2693, "loc": { "start": { - "line": 91, + "line": 86, "column": 35 }, "end": { - "line": 91, + "line": 86, "column": 39 }, "identifierName": "show" @@ -4252,15 +4469,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2610, - "end": 2645, + "start": 2478, + "end": 2513, "loc": { "start": { - "line": 88, + "line": 83, "column": 12 }, "end": { - "line": 88, + "line": 83, "column": 47 } } @@ -4268,15 +4485,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2658, - "end": 2720, + "start": 2526, + "end": 2588, "loc": { "start": { - "line": 89, + "line": 84, "column": 12 }, "end": { - "line": 89, + "line": 84, "column": 74 } } @@ -4284,15 +4501,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2733, - "end": 2785, + "start": 2601, + "end": 2653, "loc": { "start": { - "line": 90, + "line": 85, "column": 12 }, "end": { - "line": 90, + "line": 85, "column": 64 } } @@ -4301,129 +4518,129 @@ }, { "type": "ExpressionStatement", - "start": 2841, - "end": 2891, + "start": 2709, + "end": 2759, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 2841, - "end": 2890, + "start": 2709, + "end": 2758, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2841, - "end": 2881, + "start": 2709, + "end": 2749, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2873, + "start": 2709, + "end": 2741, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2867, + "start": 2709, + "end": 2735, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2863, + "start": 2709, + "end": 2731, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2852, + "start": 2709, + "end": 2720, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2841, - "end": 2845, + "start": 2709, + "end": 2713, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2846, - "end": 2852, + "start": 2714, + "end": 2720, "loc": { "start": { - "line": 92, + "line": 87, "column": 17 }, "end": { - "line": 92, + "line": 87, "column": 23 }, "identifierName": "player" @@ -4434,15 +4651,15 @@ }, "property": { "type": "Identifier", - "start": 2853, - "end": 2863, + "start": 2721, + "end": 2731, "loc": { "start": { - "line": 92, + "line": 87, "column": 24 }, "end": { - "line": 92, + "line": 87, "column": 34 }, "identifierName": "controlBar" @@ -4453,15 +4670,15 @@ }, "property": { "type": "Identifier", - "start": 2864, - "end": 2867, + "start": 2732, + "end": 2735, "loc": { "start": { - "line": 92, + "line": 87, "column": 35 }, "end": { - "line": 92, + "line": 87, "column": 38 }, "identifierName": "el_" @@ -4472,15 +4689,15 @@ }, "property": { "type": "Identifier", - "start": 2868, - "end": 2873, + "start": 2736, + "end": 2741, "loc": { "start": { - "line": 92, + "line": 87, "column": 39 }, "end": { - "line": 92, + "line": 87, "column": 44 }, "identifierName": "style" @@ -4491,15 +4708,15 @@ }, "property": { "type": "Identifier", - "start": 2874, - "end": 2881, + "start": 2742, + "end": 2749, "loc": { "start": { - "line": 92, + "line": 87, "column": 45 }, "end": { - "line": 92, + "line": 87, "column": 52 }, "identifierName": "display" @@ -4510,15 +4727,15 @@ }, "right": { "type": "StringLiteral", - "start": 2884, - "end": 2890, + "start": 2752, + "end": 2758, "loc": { "start": { - "line": 92, + "line": 87, "column": 55 }, "end": { - "line": 92, + "line": 87, "column": 61 } }, @@ -4533,15 +4750,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -4550,71 +4767,71 @@ }, { "type": "IfStatement", - "start": 2985, - "end": 3168, + "start": 2853, + "end": 3034, "loc": { "start": { - "line": 95, + "line": 90, "column": 12 }, "end": { - "line": 98, + "line": 93, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 2989, - "end": 3088, + "start": 2857, + "end": 2954, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 2989, - "end": 3016, + "start": 2857, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, - "column": 43 + "line": 90, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2989, - "end": 3001, + "start": 2857, + "end": 2869, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, + "line": 90, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2989, - "end": 2993, + "start": 2857, + "end": 2861, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, + "line": 90, "column": 20 } }, @@ -4622,15 +4839,15 @@ }, "property": { "type": "Identifier", - "start": 2994, - "end": 3001, + "start": 2862, + "end": 2869, "loc": { "start": { - "line": 95, + "line": 90, "column": 21 }, "end": { - "line": 95, + "line": 90, "column": 28 }, "identifierName": "backend" @@ -4642,110 +4859,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 3006, - "end": 3016, + "type": "Identifier", + "start": 2874, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 90, "column": 33 }, "end": { - "line": 95, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 90, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" }, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 3036, - "end": 3088, + "start": 2902, + "end": 2954, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 3036, - "end": 3074, + "start": 2902, + "end": 2940, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 3036, - "end": 3058, + "start": 2902, + "end": 2924, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3036, - "end": 3047, + "start": 2902, + "end": 2913, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3036, - "end": 3040, + "start": 2902, + "end": 2906, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3041, - "end": 3047, + "start": 2907, + "end": 2913, "loc": { "start": { - "line": 96, + "line": 91, "column": 21 }, "end": { - "line": 96, + "line": 91, "column": 27 }, "identifierName": "player" @@ -4756,15 +4970,15 @@ }, "property": { "type": "Identifier", - "start": 3048, - "end": 3058, + "start": 2914, + "end": 2924, "loc": { "start": { - "line": 96, + "line": 91, "column": 28 }, "end": { - "line": 96, + "line": 91, "column": 38 }, "identifierName": "controlBar" @@ -4775,15 +4989,15 @@ }, "property": { "type": "Identifier", - "start": 3059, - "end": 3074, + "start": 2925, + "end": 2940, "loc": { "start": { - "line": 96, + "line": 91, "column": 39 }, "end": { - "line": 96, + "line": 91, "column": 54 }, "identifierName": "progressControl" @@ -4795,15 +5009,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3079, - "end": 3088, + "start": 2945, + "end": 2954, "loc": { "start": { - "line": 96, + "line": 91, "column": 59 }, "end": { - "line": 96, + "line": 91, "column": 68 }, "identifierName": "undefined" @@ -4815,129 +5029,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3090, - "end": 3168, + "start": 2956, + "end": 3034, "loc": { "start": { - "line": 96, + "line": 91, "column": 70 }, "end": { - "line": 98, + "line": 93, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3108, - "end": 3154, + "start": 2974, + "end": 3020, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 3108, - "end": 3153, + "start": 2974, + "end": 3019, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 3108, - "end": 3151, + "start": 2974, + "end": 3017, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3146, + "start": 2974, + "end": 3012, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3130, + "start": 2974, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3119, + "start": 2974, + "end": 2985, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3108, - "end": 3112, + "start": 2974, + "end": 2978, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3113, - "end": 3119, + "start": 2979, + "end": 2985, "loc": { "start": { - "line": 97, + "line": 92, "column": 21 }, "end": { - "line": 97, + "line": 92, "column": 27 }, "identifierName": "player" @@ -4948,15 +5162,15 @@ }, "property": { "type": "Identifier", - "start": 3120, - "end": 3130, + "start": 2986, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 92, "column": 28 }, "end": { - "line": 97, + "line": 92, "column": 38 }, "identifierName": "controlBar" @@ -4967,15 +5181,15 @@ }, "property": { "type": "Identifier", - "start": 3131, - "end": 3146, + "start": 2997, + "end": 3012, "loc": { "start": { - "line": 97, + "line": 92, "column": 39 }, "end": { - "line": 97, + "line": 92, "column": 54 }, "identifierName": "progressControl" @@ -4986,15 +5200,15 @@ }, "property": { "type": "Identifier", - "start": 3147, - "end": 3151, + "start": 3013, + "end": 3017, "loc": { "start": { - "line": 97, + "line": 92, "column": 55 }, "end": { - "line": 97, + "line": 92, "column": 59 }, "identifierName": "hide" @@ -5015,15 +5229,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -5033,15 +5247,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -5049,15 +5263,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -5065,15 +5279,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -5082,85 +5296,85 @@ }, { "type": "IfStatement", - "start": 3423, - "end": 3573, + "start": 3289, + "end": 3439, "loc": { "start": { - "line": 103, + "line": 98, "column": 12 }, "end": { - "line": 105, + "line": 100, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3427, - "end": 3486, + "start": 3293, + "end": 3352, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 75 } }, "left": { "type": "MemberExpression", - "start": 3427, - "end": 3472, + "start": 3293, + "end": 3338, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3427, - "end": 3449, + "start": 3293, + "end": 3315, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3427, - "end": 3438, + "start": 3293, + "end": 3304, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3427, - "end": 3431, + "start": 3293, + "end": 3297, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 20 } }, @@ -5168,15 +5382,15 @@ }, "property": { "type": "Identifier", - "start": 3432, - "end": 3438, + "start": 3298, + "end": 3304, "loc": { "start": { - "line": 103, + "line": 98, "column": 21 }, "end": { - "line": 103, + "line": 98, "column": 27 }, "identifierName": "player" @@ -5188,15 +5402,15 @@ }, "property": { "type": "Identifier", - "start": 3439, - "end": 3449, + "start": 3305, + "end": 3315, "loc": { "start": { - "line": 103, + "line": 98, "column": 28 }, "end": { - "line": 103, + "line": 98, "column": 38 }, "identifierName": "controlBar" @@ -5208,15 +5422,15 @@ }, "property": { "type": "Identifier", - "start": 3450, - "end": 3472, + "start": 3316, + "end": 3338, "loc": { "start": { - "line": 103, + "line": 98, "column": 39 }, "end": { - "line": 103, + "line": 98, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -5229,15 +5443,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3477, - "end": 3486, + "start": 3343, + "end": 3352, "loc": { "start": { - "line": 103, + "line": 98, "column": 66 }, "end": { - "line": 103, + "line": 98, "column": 75 }, "identifierName": "undefined" @@ -5248,129 +5462,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3488, - "end": 3573, + "start": 3354, + "end": 3439, "loc": { "start": { - "line": 103, + "line": 98, "column": 77 }, "end": { - "line": 105, + "line": 100, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3506, - "end": 3559, + "start": 3372, + "end": 3425, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 69 } }, "expression": { "type": "CallExpression", - "start": 3506, - "end": 3558, + "start": 3372, + "end": 3424, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 3506, - "end": 3556, + "start": 3372, + "end": 3422, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3551, + "start": 3372, + "end": 3417, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3528, + "start": 3372, + "end": 3394, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3517, + "start": 3372, + "end": 3383, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3506, - "end": 3510, + "start": 3372, + "end": 3376, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3511, - "end": 3517, + "start": 3377, + "end": 3383, "loc": { "start": { - "line": 104, + "line": 99, "column": 21 }, "end": { - "line": 104, + "line": 99, "column": 27 }, "identifierName": "player" @@ -5381,15 +5595,15 @@ }, "property": { "type": "Identifier", - "start": 3518, - "end": 3528, + "start": 3384, + "end": 3394, "loc": { "start": { - "line": 104, + "line": 99, "column": 28 }, "end": { - "line": 104, + "line": 99, "column": 38 }, "identifierName": "controlBar" @@ -5400,15 +5614,15 @@ }, "property": { "type": "Identifier", - "start": 3529, - "end": 3551, + "start": 3395, + "end": 3417, "loc": { "start": { - "line": 104, + "line": 99, "column": 39 }, "end": { - "line": 104, + "line": 99, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -5419,15 +5633,15 @@ }, "property": { "type": "Identifier", - "start": 3552, - "end": 3556, + "start": 3418, + "end": 3422, "loc": { "start": { - "line": 104, + "line": 99, "column": 62 }, "end": { - "line": 104, + "line": 99, "column": 66 }, "identifierName": "hide" @@ -5448,15 +5662,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -5464,15 +5678,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -5480,15 +5694,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -5498,15 +5712,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -5515,44 +5729,44 @@ }, { "type": "VariableDeclaration", - "start": 3638, - "end": 3712, + "start": 3504, + "end": 3578, "loc": { "start": { - "line": 108, + "line": 103, "column": 12 }, "end": { - "line": 108, + "line": 103, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3642, - "end": 3711, + "start": 3508, + "end": 3577, "loc": { "start": { - "line": 108, + "line": 103, "column": 16 }, "end": { - "line": 108, + "line": 103, "column": 85 } }, "id": { "type": "Identifier", - "start": 3642, - "end": 3652, + "start": 3508, + "end": 3518, "loc": { "start": { - "line": 108, + "line": 103, "column": 16 }, "end": { - "line": 108, + "line": 103, "column": 26 }, "identifierName": "uiElements" @@ -5562,30 +5776,30 @@ }, "init": { "type": "ArrayExpression", - "start": 3655, - "end": 3711, + "start": 3521, + "end": 3577, "loc": { "start": { - "line": 108, + "line": 103, "column": 29 }, "end": { - "line": 108, + "line": 103, "column": 85 } }, "elements": [ { "type": "StringLiteral", - "start": 3656, - "end": 3676, + "start": 3522, + "end": 3542, "loc": { "start": { - "line": 108, + "line": 103, "column": 30 }, "end": { - "line": 108, + "line": 103, "column": 50 } }, @@ -5597,15 +5811,15 @@ }, { "type": "StringLiteral", - "start": 3678, - "end": 3691, + "start": 3544, + "end": 3557, "loc": { "start": { - "line": 108, + "line": 103, "column": 52 }, "end": { - "line": 108, + "line": 103, "column": 65 } }, @@ -5617,15 +5831,15 @@ }, { "type": "StringLiteral", - "start": 3693, - "end": 3710, + "start": 3559, + "end": 3576, "loc": { "start": { - "line": 108, + "line": 103, "column": 67 }, "end": { - "line": 108, + "line": 103, "column": 84 } }, @@ -5645,15 +5859,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -5662,57 +5876,57 @@ }, { "type": "ExpressionStatement", - "start": 3725, - "end": 4094, + "start": 3591, + "end": 3960, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 117, + "line": 112, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 3725, - "end": 4093, + "start": 3591, + "end": 3959, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 117, + "line": 112, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 3725, - "end": 3743, + "start": 3591, + "end": 3609, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 109, + "line": 104, "column": 30 } }, "object": { "type": "Identifier", - "start": 3725, - "end": 3735, + "start": 3591, + "end": 3601, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 109, + "line": 104, "column": 22 }, "identifierName": "uiElements" @@ -5721,15 +5935,15 @@ }, "property": { "type": "Identifier", - "start": 3736, - "end": 3743, + "start": 3602, + "end": 3609, "loc": { "start": { - "line": 109, + "line": 104, "column": 23 }, "end": { - "line": 109, + "line": 104, "column": 30 }, "identifierName": "forEach" @@ -5741,15 +5955,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3744, - "end": 4092, + "start": 3610, + "end": 3958, "loc": { "start": { - "line": 109, + "line": 104, "column": 31 }, "end": { - "line": 117, + "line": 112, "column": 13 } }, @@ -5760,15 +5974,15 @@ "params": [ { "type": "Identifier", - "start": 3745, - "end": 3752, + "start": 3611, + "end": 3618, "loc": { "start": { - "line": 109, + "line": 104, "column": 32 }, "end": { - "line": 109, + "line": 104, "column": 39 }, "identifierName": "element" @@ -5778,59 +5992,59 @@ ], "body": { "type": "BlockStatement", - "start": 3757, - "end": 4092, + "start": 3623, + "end": 3958, "loc": { "start": { - "line": 109, + "line": 104, "column": 44 }, "end": { - "line": 117, + "line": 112, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3880, - "end": 3922, + "start": 3746, + "end": 3788, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 3880, - "end": 3921, + "start": 3746, + "end": 3787, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3880, - "end": 3887, + "start": 3746, + "end": 3753, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 23 }, "identifierName": "element" @@ -5840,72 +6054,72 @@ }, "right": { "type": "MemberExpression", - "start": 3890, - "end": 3921, + "start": 3756, + "end": 3787, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 3890, - "end": 3912, + "start": 3756, + "end": 3778, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 3890, - "end": 3901, + "start": 3756, + "end": 3767, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 3890, - "end": 3894, + "start": 3756, + "end": 3760, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 30 } } }, "property": { "type": "Identifier", - "start": 3895, - "end": 3901, + "start": 3761, + "end": 3767, "loc": { "start": { - "line": 112, + "line": 107, "column": 31 }, "end": { - "line": 112, + "line": 107, "column": 37 }, "identifierName": "player" @@ -5916,15 +6130,15 @@ }, "property": { "type": "Identifier", - "start": 3902, - "end": 3912, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 112, + "line": 107, "column": 38 }, "end": { - "line": 112, + "line": 107, "column": 48 }, "identifierName": "controlBar" @@ -5935,15 +6149,15 @@ }, "property": { "type": "Identifier", - "start": 3913, - "end": 3920, + "start": 3779, + "end": 3786, "loc": { "start": { - "line": 112, + "line": 107, "column": 49 }, "end": { - "line": 112, + "line": 107, "column": 56 }, "identifierName": "element" @@ -5958,15 +6172,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3775, - "end": 3836, + "start": 3641, + "end": 3702, "loc": { "start": { - "line": 110, + "line": 105, "column": 16 }, "end": { - "line": 110, + "line": 105, "column": 77 } } @@ -5974,15 +6188,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3853, - "end": 3863, + "start": 3719, + "end": 3729, "loc": { "start": { - "line": 111, + "line": 106, "column": 16 }, "end": { - "line": 111, + "line": 106, "column": 26 } } @@ -5991,43 +6205,43 @@ }, { "type": "IfStatement", - "start": 3939, - "end": 4078, + "start": 3805, + "end": 3944, "loc": { "start": { - "line": 113, + "line": 108, "column": 16 }, "end": { - "line": 116, + "line": 111, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 3943, - "end": 3964, + "start": 3809, + "end": 3830, "loc": { "start": { - "line": 113, + "line": 108, "column": 20 }, "end": { - "line": 113, + "line": 108, "column": 41 } }, "left": { "type": "Identifier", - "start": 3943, - "end": 3950, + "start": 3809, + "end": 3816, "loc": { "start": { - "line": 113, + "line": 108, "column": 20 }, "end": { - "line": 113, + "line": 108, "column": 27 }, "identifierName": "element" @@ -6037,15 +6251,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3955, - "end": 3964, + "start": 3821, + "end": 3830, "loc": { "start": { - "line": 113, + "line": 108, "column": 32 }, "end": { - "line": 113, + "line": 108, "column": 41 }, "identifierName": "undefined" @@ -6055,101 +6269,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 3966, - "end": 4078, + "start": 3832, + "end": 3944, "loc": { "start": { - "line": 113, + "line": 108, "column": 43 }, "end": { - "line": 116, + "line": 111, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 3988, - "end": 4024, + "start": 3854, + "end": 3890, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 3988, - "end": 4023, + "start": 3854, + "end": 3889, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3988, - "end": 4013, + "start": 3854, + "end": 3879, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3988, - "end": 4005, + "start": 3854, + "end": 3871, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 3988, - "end": 3999, + "start": 3854, + "end": 3865, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 31 } }, "object": { "type": "Identifier", - "start": 3988, - "end": 3995, + "start": 3854, + "end": 3861, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 27 }, "identifierName": "element" @@ -6158,15 +6372,15 @@ }, "property": { "type": "Identifier", - "start": 3996, - "end": 3999, + "start": 3862, + "end": 3865, "loc": { "start": { - "line": 114, + "line": 109, "column": 28 }, "end": { - "line": 114, + "line": 109, "column": 31 }, "identifierName": "el_" @@ -6177,15 +6391,15 @@ }, "property": { "type": "Identifier", - "start": 4000, - "end": 4005, + "start": 3866, + "end": 3871, "loc": { "start": { - "line": 114, + "line": 109, "column": 32 }, "end": { - "line": 114, + "line": 109, "column": 37 }, "identifierName": "style" @@ -6196,15 +6410,15 @@ }, "property": { "type": "Identifier", - "start": 4006, - "end": 4013, + "start": 3872, + "end": 3879, "loc": { "start": { - "line": 114, + "line": 109, "column": 38 }, "end": { - "line": 114, + "line": 109, "column": 45 }, "identifierName": "display" @@ -6215,15 +6429,15 @@ }, "right": { "type": "StringLiteral", - "start": 4016, - "end": 4023, + "start": 3882, + "end": 3889, "loc": { "start": { - "line": 114, + "line": 109, "column": 48 }, "end": { - "line": 114, + "line": 109, "column": 55 } }, @@ -6237,57 +6451,57 @@ }, { "type": "ExpressionStatement", - "start": 4045, - "end": 4060, + "start": 3911, + "end": 3926, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 4045, - "end": 4059, + "start": 3911, + "end": 3925, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 4045, - "end": 4057, + "start": 3911, + "end": 3923, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 32 } }, "object": { "type": "Identifier", - "start": 4045, - "end": 4052, + "start": 3911, + "end": 3918, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 27 }, "identifierName": "element" @@ -6296,15 +6510,15 @@ }, "property": { "type": "Identifier", - "start": 4053, - "end": 4057, + "start": 3919, + "end": 3923, "loc": { "start": { - "line": 115, + "line": 110, "column": 28 }, "end": { - "line": 115, + "line": 110, "column": 32 }, "identifierName": "show" @@ -6330,100 +6544,100 @@ }, { "type": "IfStatement", - "start": 4107, - "end": 4253, + "start": 3973, + "end": 4119, "loc": { "start": { - "line": 118, + "line": 113, "column": 12 }, "end": { - "line": 120, + "line": 115, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4111, - "end": 4168, + "start": 3977, + "end": 4034, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 4111, - "end": 4154, + "start": 3977, + "end": 4020, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4111, - "end": 4133, + "start": 3977, + "end": 3999, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4111, - "end": 4122, + "start": 3977, + "end": 3988, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4111, - "end": 4115, + "start": 3977, + "end": 3981, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4116, - "end": 4122, + "start": 3982, + "end": 3988, "loc": { "start": { - "line": 118, + "line": 113, "column": 21 }, "end": { - "line": 118, + "line": 113, "column": 27 }, "identifierName": "player" @@ -6434,15 +6648,15 @@ }, "property": { "type": "Identifier", - "start": 4123, - "end": 4133, + "start": 3989, + "end": 3999, "loc": { "start": { - "line": 118, + "line": 113, "column": 28 }, "end": { - "line": 118, + "line": 113, "column": 38 }, "identifierName": "controlBar" @@ -6453,15 +6667,15 @@ }, "property": { "type": "Identifier", - "start": 4134, - "end": 4154, + "start": 4000, + "end": 4020, "loc": { "start": { - "line": 118, + "line": 113, "column": 39 }, "end": { - "line": 118, + "line": 113, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -6473,15 +6687,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4159, - "end": 4168, + "start": 4025, + "end": 4034, "loc": { "start": { - "line": 118, + "line": 113, "column": 64 }, "end": { - "line": 118, + "line": 113, "column": 73 }, "identifierName": "undefined" @@ -6491,129 +6705,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 4170, - "end": 4253, + "start": 4036, + "end": 4119, "loc": { "start": { - "line": 118, + "line": 113, "column": 75 }, "end": { - "line": 120, + "line": 115, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4188, - "end": 4239, + "start": 4054, + "end": 4105, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4188, - "end": 4238, + "start": 4054, + "end": 4104, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4188, - "end": 4236, + "start": 4054, + "end": 4102, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4231, + "start": 4054, + "end": 4097, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4210, + "start": 4054, + "end": 4076, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4199, + "start": 4054, + "end": 4065, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4188, - "end": 4192, + "start": 4054, + "end": 4058, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4193, - "end": 4199, + "start": 4059, + "end": 4065, "loc": { "start": { - "line": 119, + "line": 114, "column": 21 }, "end": { - "line": 119, + "line": 114, "column": 27 }, "identifierName": "player" @@ -6624,15 +6838,15 @@ }, "property": { "type": "Identifier", - "start": 4200, - "end": 4210, + "start": 4066, + "end": 4076, "loc": { "start": { - "line": 119, + "line": 114, "column": 28 }, "end": { - "line": 119, + "line": 114, "column": 38 }, "identifierName": "controlBar" @@ -6643,15 +6857,15 @@ }, "property": { "type": "Identifier", - "start": 4211, - "end": 4231, + "start": 4077, + "end": 4097, "loc": { "start": { - "line": 119, + "line": 114, "column": 39 }, "end": { - "line": 119, + "line": 114, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -6662,15 +6876,15 @@ }, "property": { "type": "Identifier", - "start": 4232, - "end": 4236, + "start": 4098, + "end": 4102, "loc": { "start": { - "line": 119, + "line": 114, "column": 60 }, "end": { - "line": 119, + "line": 114, "column": 64 }, "identifierName": "hide" @@ -6689,86 +6903,86 @@ }, { "type": "IfStatement", - "start": 4267, - "end": 4676, + "start": 4133, + "end": 4540, "loc": { "start": { - "line": 122, + "line": 117, "column": 12 }, "end": { - "line": 130, + "line": 125, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 4271, - "end": 4365, + "start": 4137, + "end": 4229, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 4271, - "end": 4298, + "start": 4137, + "end": 4162, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, - "column": 43 + "line": 117, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 4271, - "end": 4283, + "start": 4137, + "end": 4149, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, + "line": 117, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4271, - "end": 4275, + "start": 4137, + "end": 4141, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, + "line": 117, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4276, - "end": 4283, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 122, + "line": 117, "column": 21 }, "end": { - "line": 122, + "line": 117, "column": 28 }, "identifierName": "backend" @@ -6779,109 +6993,106 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 4288, - "end": 4298, + "type": "Identifier", + "start": 4154, + "end": 4162, "loc": { "start": { - "line": 122, + "line": 117, "column": 33 }, "end": { - "line": 122, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 117, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4318, - "end": 4365, + "start": 4182, + "end": 4229, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 4318, - "end": 4351, + "start": 4182, + "end": 4215, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4318, - "end": 4340, + "start": 4182, + "end": 4204, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4318, - "end": 4329, + "start": 4182, + "end": 4193, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4318, - "end": 4322, + "start": 4182, + "end": 4186, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4323, - "end": 4329, + "start": 4187, + "end": 4193, "loc": { "start": { - "line": 123, + "line": 118, "column": 21 }, "end": { - "line": 123, + "line": 118, "column": 27 }, "identifierName": "player" @@ -6892,15 +7103,15 @@ }, "property": { "type": "Identifier", - "start": 4330, - "end": 4340, + "start": 4194, + "end": 4204, "loc": { "start": { - "line": 123, + "line": 118, "column": 28 }, "end": { - "line": 123, + "line": 118, "column": 38 }, "identifierName": "controlBar" @@ -6911,15 +7122,15 @@ }, "property": { "type": "Identifier", - "start": 4341, - "end": 4351, + "start": 4205, + "end": 4215, "loc": { "start": { - "line": 123, + "line": 118, "column": 39 }, "end": { - "line": 123, + "line": 118, "column": 49 }, "identifierName": "playToggle" @@ -6931,15 +7142,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4356, - "end": 4365, + "start": 4220, + "end": 4229, "loc": { "start": { - "line": 123, + "line": 118, "column": 54 }, "end": { - "line": 123, + "line": 118, "column": 63 }, "identifierName": "undefined" @@ -6950,114 +7161,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 4367, - "end": 4676, + "start": 4231, + "end": 4540, "loc": { "start": { - "line": 123, + "line": 118, "column": 65 }, "end": { - "line": 130, + "line": 125, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4435, - "end": 4540, + "start": 4299, + "end": 4404, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 126, + "line": 121, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 4435, - "end": 4539, + "start": 4299, + "end": 4403, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 126, + "line": 121, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4435, - "end": 4471, + "start": 4299, + "end": 4335, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4468, + "start": 4299, + "end": 4332, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4457, + "start": 4299, + "end": 4321, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4446, + "start": 4299, + "end": 4310, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4435, - "end": 4439, + "start": 4299, + "end": 4303, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 20 } }, @@ -7065,15 +7276,15 @@ }, "property": { "type": "Identifier", - "start": 4440, - "end": 4446, + "start": 4304, + "end": 4310, "loc": { "start": { - "line": 125, + "line": 120, "column": 21 }, "end": { - "line": 125, + "line": 120, "column": 27 }, "identifierName": "player" @@ -7085,15 +7296,15 @@ }, "property": { "type": "Identifier", - "start": 4447, - "end": 4457, + "start": 4311, + "end": 4321, "loc": { "start": { - "line": 125, + "line": 120, "column": 28 }, "end": { - "line": 125, + "line": 120, "column": 38 }, "identifierName": "controlBar" @@ -7105,15 +7316,15 @@ }, "property": { "type": "Identifier", - "start": 4458, - "end": 4468, + "start": 4322, + "end": 4332, "loc": { "start": { - "line": 125, + "line": 120, "column": 39 }, "end": { - "line": 125, + "line": 120, "column": 49 }, "identifierName": "playToggle" @@ -7125,15 +7336,15 @@ }, "property": { "type": "Identifier", - "start": 4469, - "end": 4471, + "start": 4333, + "end": 4335, "loc": { "start": { - "line": 125, + "line": 120, "column": 50 }, "end": { - "line": 125, + "line": 120, "column": 52 }, "identifierName": "on" @@ -7146,30 +7357,30 @@ "arguments": [ { "type": "ArrayExpression", - "start": 4472, - "end": 4488, + "start": 4336, + "end": 4352, "loc": { "start": { - "line": 125, + "line": 120, "column": 53 }, "end": { - "line": 125, + "line": 120, "column": 69 } }, "elements": [ { "type": "StringLiteral", - "start": 4473, - "end": 4478, + "start": 4337, + "end": 4342, "loc": { "start": { - "line": 125, + "line": 120, "column": 54 }, "end": { - "line": 125, + "line": 120, "column": 59 } }, @@ -7181,15 +7392,15 @@ }, { "type": "StringLiteral", - "start": 4480, - "end": 4487, + "start": 4344, + "end": 4351, "loc": { "start": { - "line": 125, + "line": 120, "column": 61 }, "end": { - "line": 125, + "line": 120, "column": 68 } }, @@ -7203,72 +7414,72 @@ }, { "type": "CallExpression", - "start": 4510, - "end": 4538, + "start": 4374, + "end": 4402, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4510, - "end": 4532, + "start": 4374, + "end": 4396, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4510, - "end": 4527, + "start": 4374, + "end": 4391, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4510, - "end": 4514, + "start": 4374, + "end": 4378, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4515, - "end": 4527, + "start": 4379, + "end": 4391, "loc": { "start": { - "line": 126, + "line": 121, "column": 25 }, "end": { - "line": 126, + "line": 121, "column": 37 }, "identifierName": "onPlayToggle" @@ -7279,15 +7490,15 @@ }, "property": { "type": "Identifier", - "start": 4528, - "end": 4532, + "start": 4392, + "end": 4396, "loc": { "start": { - "line": 126, + "line": 121, "column": 38 }, "end": { - "line": 126, + "line": 121, "column": 42 }, "identifierName": "bind" @@ -7299,15 +7510,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4533, - "end": 4537, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 126, + "line": 121, "column": 43 }, "end": { - "line": 126, + "line": 121, "column": 47 } } @@ -7321,15 +7532,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4385, - "end": 4418, + "start": 4249, + "end": 4282, "loc": { "start": { - "line": 124, + "line": 119, "column": 16 }, "end": { - "line": 124, + "line": 119, "column": 49 } } @@ -7339,15 +7550,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -7356,99 +7567,99 @@ }, { "type": "ExpressionStatement", - "start": 4621, - "end": 4662, + "start": 4485, + "end": 4526, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 4621, - "end": 4661, + "start": 4485, + "end": 4525, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4621, - "end": 4659, + "start": 4485, + "end": 4523, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4654, + "start": 4485, + "end": 4518, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4643, + "start": 4485, + "end": 4507, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4632, + "start": 4485, + "end": 4496, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4621, - "end": 4625, + "start": 4485, + "end": 4489, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 20 } }, @@ -7456,15 +7667,15 @@ }, "property": { "type": "Identifier", - "start": 4626, - "end": 4632, + "start": 4490, + "end": 4496, "loc": { "start": { - "line": 129, + "line": 124, "column": 21 }, "end": { - "line": 129, + "line": 124, "column": 27 }, "identifierName": "player" @@ -7476,15 +7687,15 @@ }, "property": { "type": "Identifier", - "start": 4633, - "end": 4643, + "start": 4497, + "end": 4507, "loc": { "start": { - "line": 129, + "line": 124, "column": 28 }, "end": { - "line": 129, + "line": 124, "column": 38 }, "identifierName": "controlBar" @@ -7496,15 +7707,15 @@ }, "property": { "type": "Identifier", - "start": 4644, - "end": 4654, + "start": 4508, + "end": 4518, "loc": { "start": { - "line": 129, + "line": 124, "column": 39 }, "end": { - "line": 129, + "line": 124, "column": 49 }, "identifierName": "playToggle" @@ -7516,15 +7727,15 @@ }, "property": { "type": "Identifier", - "start": 4655, - "end": 4659, + "start": 4519, + "end": 4523, "loc": { "start": { - "line": 129, + "line": 124, "column": 50 }, "end": { - "line": 129, + "line": 124, "column": 54 }, "identifierName": "hide" @@ -7541,15 +7752,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -7567,82 +7778,18 @@ }, "alternate": null, "leadingComments": [ - { - "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, - "loc": { - "start": { - "line": 77, - "column": 8 - }, - "end": { - "line": 77, - "column": 32 - } - } - }, - { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - } - } - }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -7652,15 +7799,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -7669,58 +7816,58 @@ }, { "type": "ExpressionStatement", - "start": 4727, - "end": 4774, + "start": 4591, + "end": 4638, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4727, - "end": 4773, + "start": 4591, + "end": 4637, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4727, - "end": 4738, + "start": 4591, + "end": 4602, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4727, - "end": 4731, + "start": 4591, + "end": 4595, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 12 } }, @@ -7728,15 +7875,15 @@ }, "property": { "type": "Identifier", - "start": 4732, - "end": 4738, + "start": 4596, + "end": 4602, "loc": { "start": { - "line": 134, + "line": 129, "column": 13 }, "end": { - "line": 134, + "line": 129, "column": 19 }, "identifierName": "surfer" @@ -7748,43 +7895,43 @@ }, "right": { "type": "CallExpression", - "start": 4741, - "end": 4773, + "start": 4605, + "end": 4637, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4741, - "end": 4758, + "start": 4605, + "end": 4622, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 39 } }, "object": { "type": "Identifier", - "start": 4741, - "end": 4751, + "start": 4605, + "end": 4615, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 32 }, "identifierName": "WaveSurfer" @@ -7793,15 +7940,15 @@ }, "property": { "type": "Identifier", - "start": 4752, - "end": 4758, + "start": 4616, + "end": 4622, "loc": { "start": { - "line": 134, + "line": 129, "column": 33 }, "end": { - "line": 134, + "line": 129, "column": 39 }, "identifierName": "create" @@ -7813,15 +7960,15 @@ "arguments": [ { "type": "Identifier", - "start": 4759, - "end": 4772, + "start": 4623, + "end": 4636, "loc": { "start": { - "line": 134, + "line": 129, "column": 40 }, "end": { - "line": 134, + "line": 129, "column": 53 }, "identifierName": "mergedOptions" @@ -7836,15 +7983,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -7853,86 +8000,86 @@ }, { "type": "ExpressionStatement", - "start": 4783, - "end": 4840, + "start": 4647, + "end": 4704, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 4783, - "end": 4839, + "start": 4647, + "end": 4703, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4783, - "end": 4797, + "start": 4647, + "end": 4661, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4783, - "end": 4794, + "start": 4647, + "end": 4658, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4783, - "end": 4787, + "start": 4647, + "end": 4651, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4788, - "end": 4794, + "start": 4652, + "end": 4658, "loc": { "start": { - "line": 135, + "line": 130, "column": 13 }, "end": { - "line": 135, + "line": 130, "column": 19 }, "identifierName": "surfer" @@ -7943,15 +8090,15 @@ }, "property": { "type": "Identifier", - "start": 4795, - "end": 4797, + "start": 4659, + "end": 4661, "loc": { "start": { - "line": 135, + "line": 130, "column": 20 }, "end": { - "line": 135, + "line": 130, "column": 22 }, "identifierName": "on" @@ -7963,29 +8110,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4798, - "end": 4809, + "start": 4662, + "end": 4673, "loc": { "start": { - "line": 135, + "line": 130, "column": 23 }, "end": { - "line": 135, + "line": 130, "column": 34 } }, "object": { "type": "Identifier", - "start": 4798, - "end": 4803, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 135, + "line": 130, "column": 23 }, "end": { - "line": 135, + "line": 130, "column": 28 }, "identifierName": "Event" @@ -7994,15 +8141,15 @@ }, "property": { "type": "Identifier", - "start": 4804, - "end": 4809, + "start": 4668, + "end": 4673, "loc": { "start": { - "line": 135, + "line": 130, "column": 29 }, "end": { - "line": 135, + "line": 130, "column": 34 }, "identifierName": "ERROR" @@ -8013,72 +8160,72 @@ }, { "type": "CallExpression", - "start": 4811, - "end": 4838, + "start": 4675, + "end": 4702, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 4811, - "end": 4832, + "start": 4675, + "end": 4696, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 4811, - "end": 4827, + "start": 4675, + "end": 4691, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 4811, - "end": 4815, + "start": 4675, + "end": 4679, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 40 } } }, "property": { "type": "Identifier", - "start": 4816, - "end": 4827, + "start": 4680, + "end": 4691, "loc": { "start": { - "line": 135, + "line": 130, "column": 41 }, "end": { - "line": 135, + "line": 130, "column": 52 }, "identifierName": "onWaveError" @@ -8089,15 +8236,15 @@ }, "property": { "type": "Identifier", - "start": 4828, - "end": 4832, + "start": 4692, + "end": 4696, "loc": { "start": { - "line": 135, + "line": 130, "column": 53 }, "end": { - "line": 135, + "line": 130, "column": 57 }, "identifierName": "bind" @@ -8109,15 +8256,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4833, - "end": 4837, + "start": 4697, + "end": 4701, "loc": { "start": { - "line": 135, + "line": 130, "column": 58 }, "end": { - "line": 135, + "line": 130, "column": 62 } } @@ -8129,86 +8276,86 @@ }, { "type": "ExpressionStatement", - "start": 4849, - "end": 4908, + "start": 4713, + "end": 4772, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4849, - "end": 4907, + "start": 4713, + "end": 4771, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4849, - "end": 4863, + "start": 4713, + "end": 4727, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4849, - "end": 4860, + "start": 4713, + "end": 4724, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4849, - "end": 4853, + "start": 4713, + "end": 4717, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4854, - "end": 4860, + "start": 4718, + "end": 4724, "loc": { "start": { - "line": 136, + "line": 131, "column": 13 }, "end": { - "line": 136, + "line": 131, "column": 19 }, "identifierName": "surfer" @@ -8219,15 +8366,15 @@ }, "property": { "type": "Identifier", - "start": 4861, - "end": 4863, + "start": 4725, + "end": 4727, "loc": { "start": { - "line": 136, + "line": 131, "column": 20 }, "end": { - "line": 136, + "line": 131, "column": 22 }, "identifierName": "on" @@ -8239,29 +8386,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4864, - "end": 4876, + "start": 4728, + "end": 4740, "loc": { "start": { - "line": 136, + "line": 131, "column": 23 }, "end": { - "line": 136, + "line": 131, "column": 35 } }, "object": { "type": "Identifier", - "start": 4864, - "end": 4869, + "start": 4728, + "end": 4733, "loc": { "start": { - "line": 136, + "line": 131, "column": 23 }, "end": { - "line": 136, + "line": 131, "column": 28 }, "identifierName": "Event" @@ -8270,15 +8417,15 @@ }, "property": { "type": "Identifier", - "start": 4870, - "end": 4876, + "start": 4734, + "end": 4740, "loc": { "start": { - "line": 136, + "line": 131, "column": 29 }, "end": { - "line": 136, + "line": 131, "column": 35 }, "identifierName": "FINISH" @@ -8289,72 +8436,72 @@ }, { "type": "CallExpression", - "start": 4878, - "end": 4906, + "start": 4742, + "end": 4770, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4878, - "end": 4900, + "start": 4742, + "end": 4764, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4878, - "end": 4895, + "start": 4742, + "end": 4759, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4878, - "end": 4882, + "start": 4742, + "end": 4746, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 41 } } }, "property": { "type": "Identifier", - "start": 4883, - "end": 4895, + "start": 4747, + "end": 4759, "loc": { "start": { - "line": 136, + "line": 131, "column": 42 }, "end": { - "line": 136, + "line": 131, "column": 54 }, "identifierName": "onWaveFinish" @@ -8365,15 +8512,15 @@ }, "property": { "type": "Identifier", - "start": 4896, - "end": 4900, + "start": 4760, + "end": 4764, "loc": { "start": { - "line": 136, + "line": 131, "column": 55 }, "end": { - "line": 136, + "line": 131, "column": 59 }, "identifierName": "bind" @@ -8385,15 +8532,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4901, - "end": 4905, + "start": 4765, + "end": 4769, "loc": { "start": { - "line": 136, + "line": 131, "column": 60 }, "end": { - "line": 136, + "line": 131, "column": 64 } } @@ -8405,73 +8552,73 @@ }, { "type": "ExpressionStatement", - "start": 4917, - "end": 4959, + "start": 4781, + "end": 4823, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 4917, - "end": 4958, + "start": 4781, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4917, - "end": 4929, + "start": 4781, + "end": 4793, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4917, - "end": 4921, + "start": 4781, + "end": 4785, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4922, - "end": 4929, + "start": 4786, + "end": 4793, "loc": { "start": { - "line": 137, + "line": 132, "column": 13 }, "end": { - "line": 137, + "line": 132, "column": 20 }, "identifierName": "backend" @@ -8482,72 +8629,72 @@ }, "right": { "type": "MemberExpression", - "start": 4932, - "end": 4958, + "start": 4796, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4932, - "end": 4950, + "start": 4796, + "end": 4814, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4932, - "end": 4943, + "start": 4796, + "end": 4807, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 4932, - "end": 4936, + "start": 4796, + "end": 4800, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 27 } } }, "property": { "type": "Identifier", - "start": 4937, - "end": 4943, + "start": 4801, + "end": 4807, "loc": { "start": { - "line": 137, + "line": 132, "column": 28 }, "end": { - "line": 137, + "line": 132, "column": 34 }, "identifierName": "surfer" @@ -8558,15 +8705,15 @@ }, "property": { "type": "Identifier", - "start": 4944, - "end": 4950, + "start": 4808, + "end": 4814, "loc": { "start": { - "line": 137, + "line": 132, "column": 35 }, "end": { - "line": 137, + "line": 132, "column": 41 }, "identifierName": "params" @@ -8577,15 +8724,15 @@ }, "property": { "type": "Identifier", - "start": 4951, - "end": 4958, + "start": 4815, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 42 }, "end": { - "line": 137, + "line": 132, "column": 49 }, "identifierName": "backend" @@ -8598,72 +8745,72 @@ }, { "type": "ExpressionStatement", - "start": 4968, - "end": 5030, + "start": 4832, + "end": 4894, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 4968, - "end": 5029, + "start": 4832, + "end": 4893, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 4968, - "end": 4976, + "start": 4832, + "end": 4840, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4968, - "end": 4972, + "start": 4832, + "end": 4836, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4973, - "end": 4976, + "start": 4837, + "end": 4840, "loc": { "start": { - "line": 138, + "line": 133, "column": 13 }, "end": { - "line": 138, + "line": 133, "column": 16 }, "identifierName": "log" @@ -8675,43 +8822,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4977, - "end": 5028, + "start": 4841, + "end": 4892, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 4977, - "end": 5014, + "start": 4841, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 4977, - "end": 4999, + "start": 4841, + "end": 4863, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 39 } }, @@ -8724,44 +8871,44 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5002, - "end": 5014, + "start": 4866, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 42 }, "end": { - "line": 138, + "line": 133, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 5002, - "end": 5006, + "start": 4866, + "end": 4870, "loc": { "start": { - "line": 138, + "line": 133, "column": 42 }, "end": { - "line": 138, + "line": 133, "column": 46 } } }, "property": { "type": "Identifier", - "start": 5007, - "end": 5014, + "start": 4871, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 47 }, "end": { - "line": 138, + "line": 133, "column": 54 }, "identifierName": "backend" @@ -8774,15 +8921,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 5017, - "end": 5028, + "start": 4881, + "end": 4892, "loc": { "start": { - "line": 138, + "line": 133, "column": 57 }, "end": { - "line": 138, + "line": 133, "column": 68 } }, @@ -8799,15 +8946,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -8816,43 +8963,43 @@ }, { "type": "IfStatement", - "start": 5107, - "end": 5659, + "start": 4971, + "end": 5523, "loc": { "start": { - "line": 141, + "line": 136, "column": 8 }, "end": { - "line": 153, + "line": 148, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5111, - "end": 5177, + "start": 4975, + "end": 5041, "loc": { "start": { - "line": 141, + "line": 136, "column": 12 }, "end": { - "line": 141, + "line": 136, "column": 78 } }, "left": { "type": "StringLiteral", - "start": 5111, - "end": 5123, + "start": 4975, + "end": 4987, "loc": { "start": { - "line": 141, + "line": 136, "column": 12 }, "end": { - "line": 141, + "line": 136, "column": 24 } }, @@ -8866,114 +9013,114 @@ "operator": "in", "right": { "type": "CallExpression", - "start": 5127, - "end": 5177, + "start": 4991, + "end": 5041, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 5127, - "end": 5175, + "start": 4991, + "end": 5039, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 5127, - "end": 5158, + "start": 4991, + "end": 5022, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 59 } }, "object": { "type": "CallExpression", - "start": 5127, - "end": 5151, + "start": 4991, + "end": 5015, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5127, - "end": 5149, + "start": 4991, + "end": 5013, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5127, - "end": 5138, + "start": 4991, + "end": 5002, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5127, - "end": 5131, + "start": 4991, + "end": 4995, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 32 } } }, "property": { "type": "Identifier", - "start": 5132, - "end": 5138, + "start": 4996, + "end": 5002, "loc": { "start": { - "line": 141, + "line": 136, "column": 33 }, "end": { - "line": 141, + "line": 136, "column": 39 }, "identifierName": "player" @@ -8984,15 +9131,15 @@ }, "property": { "type": "Identifier", - "start": 5139, - "end": 5149, + "start": 5003, + "end": 5013, "loc": { "start": { - "line": 141, + "line": 136, "column": 40 }, "end": { - "line": 141, + "line": 136, "column": 50 }, "identifierName": "wavesurfer" @@ -9005,15 +9152,15 @@ }, "property": { "type": "Identifier", - "start": 5152, - "end": 5158, + "start": 5016, + "end": 5022, "loc": { "start": { - "line": 141, + "line": 136, "column": 53 }, "end": { - "line": 141, + "line": 136, "column": 59 }, "identifierName": "surfer" @@ -9024,15 +9171,15 @@ }, "property": { "type": "Identifier", - "start": 5159, - "end": 5175, + "start": 5023, + "end": 5039, "loc": { "start": { - "line": 141, + "line": 136, "column": 60 }, "end": { - "line": 141, + "line": 136, "column": 76 }, "identifierName": "getActivePlugins" @@ -9047,73 +9194,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5179, - "end": 5659, + "start": 5043, + "end": 5523, "loc": { "start": { - "line": 141, + "line": 136, "column": 80 }, "end": { - "line": 153, + "line": 148, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5245, - "end": 5266, + "start": 5109, + "end": 5130, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 5245, - "end": 5265, + "start": 5109, + "end": 5129, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5245, - "end": 5258, + "start": 5109, + "end": 5122, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5245, - "end": 5249, + "start": 5109, + "end": 5113, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 16 } }, @@ -9121,15 +9268,15 @@ }, "property": { "type": "Identifier", - "start": 5250, - "end": 5258, + "start": 5114, + "end": 5122, "loc": { "start": { - "line": 143, + "line": 138, "column": 17 }, "end": { - "line": 143, + "line": 138, "column": 25 }, "identifierName": "liveMode" @@ -9141,15 +9288,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5261, - "end": 5265, + "start": 5125, + "end": 5129, "loc": { "start": { - "line": 143, + "line": 138, "column": 28 }, "end": { - "line": 143, + "line": 138, "column": 32 } }, @@ -9161,15 +9308,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5193, - "end": 5232, + "start": 5057, + "end": 5096, "loc": { "start": { - "line": 142, + "line": 137, "column": 12 }, "end": { - "line": 142, + "line": 137, "column": 51 } } @@ -9178,73 +9325,73 @@ }, { "type": "ExpressionStatement", - "start": 5279, - "end": 5301, + "start": 5143, + "end": 5165, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 5279, - "end": 5300, + "start": 5143, + "end": 5164, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5279, - "end": 5293, + "start": 5143, + "end": 5157, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5279, - "end": 5283, + "start": 5143, + "end": 5147, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5284, - "end": 5293, + "start": 5148, + "end": 5157, "loc": { "start": { - "line": 144, + "line": 139, "column": 17 }, "end": { - "line": 144, + "line": 139, "column": 26 }, "identifierName": "waveReady" @@ -9255,15 +9402,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5296, - "end": 5300, + "start": 5160, + "end": 5164, "loc": { "start": { - "line": 144, + "line": 139, "column": 29 }, "end": { - "line": 144, + "line": 139, "column": 33 } }, @@ -9273,72 +9420,72 @@ }, { "type": "ExpressionStatement", - "start": 5314, - "end": 5367, + "start": 5178, + "end": 5231, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 5314, - "end": 5366, + "start": 5178, + "end": 5230, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5314, - "end": 5322, + "start": 5178, + "end": 5186, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5314, - "end": 5318, + "start": 5178, + "end": 5182, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5319, - "end": 5322, + "start": 5183, + "end": 5186, "loc": { "start": { - "line": 145, + "line": 140, "column": 17 }, "end": { - "line": 145, + "line": 140, "column": 20 }, "identifierName": "log" @@ -9350,15 +9497,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5323, - "end": 5365, + "start": 5187, + "end": 5229, "loc": { "start": { - "line": 145, + "line": 140, "column": 21 }, "end": { - "line": 145, + "line": 140, "column": 63 } }, @@ -9374,15 +9521,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -9391,99 +9538,99 @@ }, { "type": "ExpressionStatement", - "start": 5438, - "end": 5479, + "start": 5302, + "end": 5343, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 5438, - "end": 5478, + "start": 5302, + "end": 5342, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5438, - "end": 5476, + "start": 5302, + "end": 5340, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5471, + "start": 5302, + "end": 5335, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5460, + "start": 5302, + "end": 5324, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5449, + "start": 5302, + "end": 5313, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5438, - "end": 5442, + "start": 5302, + "end": 5306, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 16 } }, @@ -9491,15 +9638,15 @@ }, "property": { "type": "Identifier", - "start": 5443, - "end": 5449, + "start": 5307, + "end": 5313, "loc": { "start": { - "line": 148, + "line": 143, "column": 17 }, "end": { - "line": 148, + "line": 143, "column": 23 }, "identifierName": "player" @@ -9511,15 +9658,15 @@ }, "property": { "type": "Identifier", - "start": 5450, - "end": 5460, + "start": 5314, + "end": 5324, "loc": { "start": { - "line": 148, + "line": 143, "column": 24 }, "end": { - "line": 148, + "line": 143, "column": 34 }, "identifierName": "controlBar" @@ -9531,15 +9678,15 @@ }, "property": { "type": "Identifier", - "start": 5461, - "end": 5471, + "start": 5325, + "end": 5335, "loc": { "start": { - "line": 148, + "line": 143, "column": 35 }, "end": { - "line": 148, + "line": 143, "column": 45 }, "identifierName": "playToggle" @@ -9551,15 +9698,15 @@ }, "property": { "type": "Identifier", - "start": 5472, - "end": 5476, + "start": 5336, + "end": 5340, "loc": { "start": { - "line": 148, + "line": 143, "column": 46 }, "end": { - "line": 148, + "line": 143, "column": 50 }, "identifierName": "show" @@ -9576,15 +9723,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -9594,15 +9741,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -9611,85 +9758,85 @@ }, { "type": "ExpressionStatement", - "start": 5558, - "end": 5649, + "start": 5422, + "end": 5513, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 152, + "line": 147, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 5558, - "end": 5648, + "start": 5422, + "end": 5512, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 152, + "line": 147, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 5558, - "end": 5583, + "start": 5422, + "end": 5447, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5580, + "start": 5422, + "end": 5444, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5569, + "start": 5422, + "end": 5433, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5558, - "end": 5562, + "start": 5422, + "end": 5426, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 16 } }, @@ -9697,15 +9844,15 @@ }, "property": { "type": "Identifier", - "start": 5563, - "end": 5569, + "start": 5427, + "end": 5433, "loc": { "start": { - "line": 151, + "line": 146, "column": 17 }, "end": { - "line": 151, + "line": 146, "column": 23 }, "identifierName": "surfer" @@ -9717,15 +9864,15 @@ }, "property": { "type": "Identifier", - "start": 5570, - "end": 5580, + "start": 5434, + "end": 5444, "loc": { "start": { - "line": 151, + "line": 146, "column": 24 }, "end": { - "line": 151, + "line": 146, "column": 34 }, "identifierName": "microphone" @@ -9737,15 +9884,15 @@ }, "property": { "type": "Identifier", - "start": 5581, - "end": 5583, + "start": 5445, + "end": 5447, "loc": { "start": { - "line": 151, + "line": 146, "column": 35 }, "end": { - "line": 151, + "line": 146, "column": 37 }, "identifierName": "on" @@ -9758,29 +9905,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 5584, - "end": 5602, + "start": 5448, + "end": 5466, "loc": { "start": { - "line": 151, + "line": 146, "column": 38 }, "end": { - "line": 151, + "line": 146, "column": 56 } }, "object": { "type": "Identifier", - "start": 5584, - "end": 5589, + "start": 5448, + "end": 5453, "loc": { "start": { - "line": 151, + "line": 146, "column": 38 }, "end": { - "line": 151, + "line": 146, "column": 43 }, "identifierName": "Event" @@ -9789,15 +9936,15 @@ }, "property": { "type": "Identifier", - "start": 5590, - "end": 5602, + "start": 5454, + "end": 5466, "loc": { "start": { - "line": 151, + "line": 146, "column": 44 }, "end": { - "line": 151, + "line": 146, "column": 56 }, "identifierName": "DEVICE_ERROR" @@ -9808,72 +9955,72 @@ }, { "type": "CallExpression", - "start": 5620, - "end": 5647, + "start": 5484, + "end": 5511, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5620, - "end": 5641, + "start": 5484, + "end": 5505, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5620, - "end": 5636, + "start": 5484, + "end": 5500, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 5620, - "end": 5624, + "start": 5484, + "end": 5488, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5625, - "end": 5636, + "start": 5489, + "end": 5500, "loc": { "start": { - "line": 152, + "line": 147, "column": 21 }, "end": { - "line": 152, + "line": 147, "column": 32 }, "identifierName": "onWaveError" @@ -9884,15 +10031,15 @@ }, "property": { "type": "Identifier", - "start": 5637, - "end": 5641, + "start": 5501, + "end": 5505, "loc": { "start": { - "line": 152, + "line": 147, "column": 33 }, "end": { - "line": 152, + "line": 147, "column": 37 }, "identifierName": "bind" @@ -9904,15 +10051,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5642, - "end": 5646, + "start": 5506, + "end": 5510, "loc": { "start": { - "line": 152, + "line": 147, "column": 38 }, "end": { - "line": 152, + "line": 147, "column": 42 } } @@ -9926,15 +10073,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -9950,15 +10097,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -9968,15 +10115,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -9985,58 +10132,58 @@ }, { "type": "ExpressionStatement", - "start": 5712, - "end": 5759, + "start": 5576, + "end": 5623, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 5712, - "end": 5758, + "start": 5576, + "end": 5622, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5712, - "end": 5728, + "start": 5576, + "end": 5592, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5712, - "end": 5716, + "start": 5576, + "end": 5580, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 12 } }, @@ -10044,15 +10191,15 @@ }, "property": { "type": "Identifier", - "start": 5717, - "end": 5728, + "start": 5581, + "end": 5592, "loc": { "start": { - "line": 156, + "line": 151, "column": 13 }, "end": { - "line": 156, + "line": 151, "column": 24 }, "identifierName": "surferReady" @@ -10064,72 +10211,72 @@ }, "right": { "type": "CallExpression", - "start": 5731, - "end": 5758, + "start": 5595, + "end": 5622, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 5731, - "end": 5752, + "start": 5595, + "end": 5616, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5731, - "end": 5747, + "start": 5595, + "end": 5611, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 5731, - "end": 5735, + "start": 5595, + "end": 5599, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 31 } } }, "property": { "type": "Identifier", - "start": 5736, - "end": 5747, + "start": 5600, + "end": 5611, "loc": { "start": { - "line": 156, + "line": 151, "column": 32 }, "end": { - "line": 156, + "line": 151, "column": 43 }, "identifierName": "onWaveReady" @@ -10140,15 +10287,15 @@ }, "property": { "type": "Identifier", - "start": 5748, - "end": 5752, + "start": 5612, + "end": 5616, "loc": { "start": { - "line": 156, + "line": 151, "column": 44 }, "end": { - "line": 156, + "line": 151, "column": 48 }, "identifierName": "bind" @@ -10160,15 +10307,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5753, - "end": 5757, + "start": 5617, + "end": 5621, "loc": { "start": { - "line": 156, + "line": 151, "column": 49 }, "end": { - "line": 156, + "line": 151, "column": 53 } } @@ -10181,15 +10328,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -10198,72 +10345,72 @@ }, { "type": "IfStatement", - "start": 5768, - "end": 6081, + "start": 5632, + "end": 5943, "loc": { "start": { - "line": 157, + "line": 152, "column": 8 }, "end": { - "line": 165, + "line": 160, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5772, - "end": 5799, + "start": 5636, + "end": 5661, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, - "column": 39 + "line": 152, + "column": 37 } }, "left": { "type": "MemberExpression", - "start": 5772, - "end": 5784, + "start": 5636, + "end": 5648, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, + "line": 152, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5772, - "end": 5776, + "start": 5636, + "end": 5640, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, + "line": 152, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5777, - "end": 5784, + "start": 5641, + "end": 5648, "loc": { "start": { - "line": 157, + "line": 152, "column": 17 }, "end": { - "line": 157, + "line": 152, "column": 24 }, "identifierName": "backend" @@ -10274,110 +10421,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 5789, - "end": 5799, + "type": "Identifier", + "start": 5653, + "end": 5661, "loc": { "start": { - "line": 157, + "line": 152, "column": 29 }, "end": { - "line": 157, - "column": 39 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 152, + "column": 37 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 5801, - "end": 6081, + "start": 5663, + "end": 5943, "loc": { "start": { - "line": 157, - "column": 41 + "line": 152, + "column": 39 }, "end": { - "line": 165, + "line": 160, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5815, - "end": 5868, + "start": 5677, + "end": 5730, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5815, - "end": 5867, + "start": 5677, + "end": 5729, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5815, - "end": 5834, + "start": 5677, + "end": 5696, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5815, - "end": 5819, + "start": 5677, + "end": 5681, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5820, - "end": 5834, + "start": 5682, + "end": 5696, "loc": { "start": { - "line": 158, + "line": 153, "column": 17 }, "end": { - "line": 158, + "line": 153, "column": 31 }, "identifierName": "surferProgress" @@ -10388,72 +10532,72 @@ }, "right": { "type": "CallExpression", - "start": 5837, - "end": 5867, + "start": 5699, + "end": 5729, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5837, - "end": 5861, + "start": 5699, + "end": 5723, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 5837, - "end": 5856, + "start": 5699, + "end": 5718, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 5837, - "end": 5841, + "start": 5699, + "end": 5703, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 38 } } }, "property": { "type": "Identifier", - "start": 5842, - "end": 5856, + "start": 5704, + "end": 5718, "loc": { "start": { - "line": 158, + "line": 153, "column": 39 }, "end": { - "line": 158, + "line": 153, "column": 53 }, "identifierName": "onWaveProgress" @@ -10464,15 +10608,15 @@ }, "property": { "type": "Identifier", - "start": 5857, - "end": 5861, + "start": 5719, + "end": 5723, "loc": { "start": { - "line": 158, + "line": 153, "column": 54 }, "end": { - "line": 158, + "line": 153, "column": 58 }, "identifierName": "bind" @@ -10484,15 +10628,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5862, - "end": 5866, + "start": 5724, + "end": 5728, "loc": { "start": { - "line": 158, + "line": 153, "column": 59 }, "end": { - "line": 158, + "line": 153, "column": 63 } } @@ -10503,73 +10647,73 @@ }, { "type": "ExpressionStatement", - "start": 5881, - "end": 5926, + "start": 5743, + "end": 5788, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 5881, - "end": 5925, + "start": 5743, + "end": 5787, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5881, - "end": 5896, + "start": 5743, + "end": 5758, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5881, - "end": 5885, + "start": 5743, + "end": 5747, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5886, - "end": 5896, + "start": 5748, + "end": 5758, "loc": { "start": { - "line": 159, + "line": 154, "column": 17 }, "end": { - "line": 159, + "line": 154, "column": 27 }, "identifierName": "surferSeek" @@ -10580,72 +10724,72 @@ }, "right": { "type": "CallExpression", - "start": 5899, - "end": 5925, + "start": 5761, + "end": 5787, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 5899, - "end": 5919, + "start": 5761, + "end": 5781, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5899, - "end": 5914, + "start": 5761, + "end": 5776, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 5899, - "end": 5903, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 34 } } }, "property": { "type": "Identifier", - "start": 5904, - "end": 5914, + "start": 5766, + "end": 5776, "loc": { "start": { - "line": 159, + "line": 154, "column": 35 }, "end": { - "line": 159, + "line": 154, "column": 45 }, "identifierName": "onWaveSeek" @@ -10656,15 +10800,15 @@ }, "property": { "type": "Identifier", - "start": 5915, - "end": 5919, + "start": 5777, + "end": 5781, "loc": { "start": { - "line": 159, + "line": 154, "column": 46 }, "end": { - "line": 159, + "line": 154, "column": 50 }, "identifierName": "bind" @@ -10676,15 +10820,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5920, - "end": 5924, + "start": 5782, + "end": 5786, "loc": { "start": { - "line": 159, + "line": 154, "column": 51 }, "end": { - "line": 159, + "line": 154, "column": 55 } } @@ -10696,15 +10840,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -10713,71 +10857,71 @@ }, { "type": "IfStatement", - "start": 5996, - "end": 6071, + "start": 5858, + "end": 5933, "loc": { "start": { - "line": 162, + "line": 157, "column": 12 }, "end": { - "line": 164, + "line": 159, "column": 13 } }, "test": { "type": "CallExpression", - "start": 6000, - "end": 6019, + "start": 5862, + "end": 5881, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 6000, - "end": 6017, + "start": 5862, + "end": 5879, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 6000, - "end": 6011, + "start": 5862, + "end": 5873, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 6000, - "end": 6004, + "start": 5862, + "end": 5866, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 20 } }, @@ -10785,15 +10929,15 @@ }, "property": { "type": "Identifier", - "start": 6005, - "end": 6011, + "start": 5867, + "end": 5873, "loc": { "start": { - "line": 162, + "line": 157, "column": 21 }, "end": { - "line": 162, + "line": 157, "column": 27 }, "identifierName": "player" @@ -10805,15 +10949,15 @@ }, "property": { "type": "Identifier", - "start": 6012, - "end": 6017, + "start": 5874, + "end": 5879, "loc": { "start": { - "line": 162, + "line": 157, "column": 28 }, "end": { - "line": 162, + "line": 157, "column": 33 }, "identifierName": "muted" @@ -10828,87 +10972,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6021, - "end": 6071, + "start": 5883, + "end": 5933, "loc": { "start": { - "line": 162, + "line": 157, "column": 37 }, "end": { - "line": 164, + "line": 159, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 6039, - "end": 6057, + "start": 5901, + "end": 5919, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 6039, - "end": 6056, + "start": 5901, + "end": 5918, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 6039, - "end": 6053, + "start": 5901, + "end": 5915, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 6039, - "end": 6043, + "start": 5901, + "end": 5905, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6044, - "end": 6053, + "start": 5906, + "end": 5915, "loc": { "start": { - "line": 163, + "line": 158, "column": 21 }, "end": { - "line": 163, + "line": 158, "column": 30 }, "identifierName": "setVolume" @@ -10920,15 +11064,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6054, - "end": 6055, + "start": 5916, + "end": 5917, "loc": { "start": { - "line": 163, + "line": 158, "column": 31 }, "end": { - "line": 163, + "line": 158, "column": 32 } }, @@ -10949,15 +11093,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -10973,15 +11117,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -10989,15 +11133,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -11006,29 +11150,29 @@ }, { "type": "IfStatement", - "start": 6184, - "end": 6259, + "start": 6046, + "end": 6121, "loc": { "start": { - "line": 169, + "line": 164, "column": 8 }, "end": { - "line": 171, + "line": 166, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 6188, - "end": 6202, + "start": 6050, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 12 }, "end": { - "line": 169, + "line": 164, "column": 26 } }, @@ -11036,29 +11180,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6189, - "end": 6202, + "start": 6051, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 13 }, "end": { - "line": 169, + "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 6189, - "end": 6193, + "start": 6051, + "end": 6055, "loc": { "start": { - "line": 169, + "line": 164, "column": 13 }, "end": { - "line": 169, + "line": 164, "column": 17 } }, @@ -11066,15 +11210,15 @@ }, "property": { "type": "Identifier", - "start": 6194, - "end": 6202, + "start": 6056, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 18 }, "end": { - "line": 169, + "line": 164, "column": 26 }, "identifierName": "liveMode" @@ -11091,87 +11235,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6204, - "end": 6259, + "start": 6066, + "end": 6121, "loc": { "start": { - "line": 169, + "line": 164, "column": 28 }, "end": { - "line": 171, + "line": 166, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6218, - "end": 6249, + "start": 6080, + "end": 6111, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6218, - "end": 6248, + "start": 6080, + "end": 6110, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6218, - "end": 6242, + "start": 6080, + "end": 6104, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 6218, - "end": 6222, + "start": 6080, + "end": 6084, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 16 } } }, "property": { "type": "Identifier", - "start": 6223, - "end": 6242, + "start": 6085, + "end": 6104, "loc": { "start": { - "line": 170, + "line": 165, "column": 17 }, "end": { - "line": 170, + "line": 165, "column": 36 }, "identifierName": "setupPlaybackEvents" @@ -11183,15 +11327,15 @@ "arguments": [ { "type": "BooleanLiteral", - "start": 6243, - "end": 6247, + "start": 6105, + "end": 6109, "loc": { "start": { - "line": 170, + "line": 165, "column": 37 }, "end": { - "line": 170, + "line": 165, "column": 41 } }, @@ -11209,15 +11353,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -11225,15 +11369,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -11243,15 +11387,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -11260,71 +11404,71 @@ }, { "type": "ExpressionStatement", - "start": 6303, - "end": 6370, + "start": 6165, + "end": 6232, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 6303, - "end": 6369, + "start": 6165, + "end": 6231, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 6303, - "end": 6317, + "start": 6165, + "end": 6179, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6303, - "end": 6314, + "start": 6165, + "end": 6176, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6303, - "end": 6307, + "start": 6165, + "end": 6169, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 12 } }, @@ -11332,15 +11476,15 @@ }, "property": { "type": "Identifier", - "start": 6308, - "end": 6314, + "start": 6170, + "end": 6176, "loc": { "start": { - "line": 174, + "line": 169, "column": 13 }, "end": { - "line": 174, + "line": 169, "column": 19 }, "identifierName": "player" @@ -11352,15 +11496,15 @@ }, "property": { "type": "Identifier", - "start": 6315, - "end": 6317, + "start": 6177, + "end": 6179, "loc": { "start": { - "line": 174, + "line": 169, "column": 20 }, "end": { - "line": 174, + "line": 169, "column": 22 }, "identifierName": "on" @@ -11373,29 +11517,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6318, - "end": 6336, + "start": 6180, + "end": 6198, "loc": { "start": { - "line": 174, + "line": 169, "column": 23 }, "end": { - "line": 174, + "line": 169, "column": 41 } }, "object": { "type": "Identifier", - "start": 6318, - "end": 6323, + "start": 6180, + "end": 6185, "loc": { "start": { - "line": 174, + "line": 169, "column": 23 }, "end": { - "line": 174, + "line": 169, "column": 28 }, "identifierName": "Event" @@ -11404,15 +11548,15 @@ }, "property": { "type": "Identifier", - "start": 6324, - "end": 6336, + "start": 6186, + "end": 6198, "loc": { "start": { - "line": 174, + "line": 169, "column": 29 }, "end": { - "line": 174, + "line": 169, "column": 41 }, "identifierName": "VOLUMECHANGE" @@ -11423,72 +11567,72 @@ }, { "type": "CallExpression", - "start": 6338, - "end": 6368, + "start": 6200, + "end": 6230, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6338, - "end": 6362, + "start": 6200, + "end": 6224, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 6338, - "end": 6357, + "start": 6200, + "end": 6219, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 62 } }, "object": { "type": "ThisExpression", - "start": 6338, - "end": 6342, + "start": 6200, + "end": 6204, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 47 } } }, "property": { "type": "Identifier", - "start": 6343, - "end": 6357, + "start": 6205, + "end": 6219, "loc": { "start": { - "line": 174, + "line": 169, "column": 48 }, "end": { - "line": 174, + "line": 169, "column": 62 }, "identifierName": "onVolumeChange" @@ -11499,15 +11643,15 @@ }, "property": { "type": "Identifier", - "start": 6358, - "end": 6362, + "start": 6220, + "end": 6224, "loc": { "start": { - "line": 174, + "line": 169, "column": 63 }, "end": { - "line": 174, + "line": 169, "column": 67 }, "identifierName": "bind" @@ -11519,15 +11663,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6363, - "end": 6367, + "start": 6225, + "end": 6229, "loc": { "start": { - "line": 174, + "line": 169, "column": 68 }, "end": { - "line": 174, + "line": 169, "column": 72 } } @@ -11541,15 +11685,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -11558,86 +11702,86 @@ }, { "type": "ExpressionStatement", - "start": 6379, - "end": 6450, + "start": 6241, + "end": 6312, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 79 } }, "expression": { "type": "CallExpression", - "start": 6379, - "end": 6449, + "start": 6241, + "end": 6311, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 6379, - "end": 6393, + "start": 6241, + "end": 6255, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6379, - "end": 6390, + "start": 6241, + "end": 6252, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6379, - "end": 6383, + "start": 6241, + "end": 6245, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6384, - "end": 6390, + "start": 6246, + "end": 6252, "loc": { "start": { - "line": 175, + "line": 170, "column": 13 }, "end": { - "line": 175, + "line": 170, "column": 19 }, "identifierName": "player" @@ -11648,15 +11792,15 @@ }, "property": { "type": "Identifier", - "start": 6391, - "end": 6393, + "start": 6253, + "end": 6255, "loc": { "start": { - "line": 175, + "line": 170, "column": 20 }, "end": { - "line": 175, + "line": 170, "column": 22 }, "identifierName": "on" @@ -11668,29 +11812,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6394, - "end": 6416, + "start": 6256, + "end": 6278, "loc": { "start": { - "line": 175, + "line": 170, "column": 23 }, "end": { - "line": 175, + "line": 170, "column": 45 } }, "object": { "type": "Identifier", - "start": 6394, - "end": 6399, + "start": 6256, + "end": 6261, "loc": { "start": { - "line": 175, + "line": 170, "column": 23 }, "end": { - "line": 175, + "line": 170, "column": 28 }, "identifierName": "Event" @@ -11699,15 +11843,15 @@ }, "property": { "type": "Identifier", - "start": 6400, - "end": 6416, + "start": 6262, + "end": 6278, "loc": { "start": { - "line": 175, + "line": 170, "column": 29 }, "end": { - "line": 175, + "line": 170, "column": 45 }, "identifierName": "FULLSCREENCHANGE" @@ -11718,72 +11862,72 @@ }, { "type": "CallExpression", - "start": 6418, - "end": 6448, + "start": 6280, + "end": 6310, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 6418, - "end": 6442, + "start": 6280, + "end": 6304, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 6418, - "end": 6437, + "start": 6280, + "end": 6299, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 66 } }, "object": { "type": "ThisExpression", - "start": 6418, - "end": 6422, + "start": 6280, + "end": 6284, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 51 } } }, "property": { "type": "Identifier", - "start": 6423, - "end": 6437, + "start": 6285, + "end": 6299, "loc": { "start": { - "line": 175, + "line": 170, "column": 52 }, "end": { - "line": 175, + "line": 170, "column": 66 }, "identifierName": "onScreenChange" @@ -11794,15 +11938,15 @@ }, "property": { "type": "Identifier", - "start": 6438, - "end": 6442, + "start": 6300, + "end": 6304, "loc": { "start": { - "line": 175, + "line": 170, "column": 67 }, "end": { - "line": 175, + "line": 170, "column": 71 }, "identifierName": "bind" @@ -11814,15 +11958,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6443, - "end": 6447, + "start": 6305, + "end": 6309, "loc": { "start": { - "line": 175, + "line": 170, "column": 72 }, "end": { - "line": 175, + "line": 170, "column": 76 } } @@ -11835,15 +11979,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -11852,85 +11996,85 @@ }, { "type": "IfStatement", - "start": 6493, - "end": 6915, + "start": 6355, + "end": 6777, "loc": { "start": { - "line": 178, + "line": 173, "column": 8 }, "end": { - "line": 185, + "line": 180, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6497, - "end": 6532, + "start": 6359, + "end": 6394, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 6497, - "end": 6523, + "start": 6359, + "end": 6385, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6497, - "end": 6517, + "start": 6359, + "end": 6379, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 6497, - "end": 6508, + "start": 6359, + "end": 6370, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6497, - "end": 6501, + "start": 6359, + "end": 6363, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 16 } }, @@ -11938,15 +12082,15 @@ }, "property": { "type": "Identifier", - "start": 6502, - "end": 6508, + "start": 6364, + "end": 6370, "loc": { "start": { - "line": 178, + "line": 173, "column": 17 }, "end": { - "line": 178, + "line": 173, "column": 23 }, "identifierName": "player" @@ -11958,15 +12102,15 @@ }, "property": { "type": "Identifier", - "start": 6509, - "end": 6517, + "start": 6371, + "end": 6379, "loc": { "start": { - "line": 178, + "line": 173, "column": 24 }, "end": { - "line": 178, + "line": 173, "column": 32 }, "identifierName": "options_" @@ -11978,15 +12122,15 @@ }, "property": { "type": "Identifier", - "start": 6518, - "end": 6523, + "start": 6380, + "end": 6385, "loc": { "start": { - "line": 178, + "line": 173, "column": 33 }, "end": { - "line": 178, + "line": 173, "column": 38 }, "identifierName": "fluid" @@ -11999,15 +12143,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 6528, - "end": 6532, + "start": 6390, + "end": 6394, "loc": { "start": { - "line": 178, + "line": 173, "column": 43 }, "end": { - "line": 178, + "line": 173, "column": 47 } }, @@ -12017,115 +12161,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 6534, - "end": 6915, + "start": 6396, + "end": 6777, "loc": { "start": { - "line": 178, + "line": 173, "column": 49 }, "end": { - "line": 185, + "line": 180, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6613, - "end": 6672, + "start": 6475, + "end": 6534, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 6613, - "end": 6671, + "start": 6475, + "end": 6533, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6613, - "end": 6649, + "start": 6475, + "end": 6511, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6639, + "start": 6475, + "end": 6501, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6631, + "start": 6475, + "end": 6493, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6624, + "start": 6475, + "end": 6486, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6613, - "end": 6617, + "start": 6475, + "end": 6479, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 16 } }, @@ -12133,15 +12277,15 @@ }, "property": { "type": "Identifier", - "start": 6618, - "end": 6624, + "start": 6480, + "end": 6486, "loc": { "start": { - "line": 180, + "line": 175, "column": 17 }, "end": { - "line": 180, + "line": 175, "column": 23 }, "identifierName": "surfer" @@ -12153,15 +12297,15 @@ }, "property": { "type": "Identifier", - "start": 6625, - "end": 6631, + "start": 6487, + "end": 6493, "loc": { "start": { - "line": 180, + "line": 175, "column": 24 }, "end": { - "line": 180, + "line": 175, "column": 30 }, "identifierName": "drawer" @@ -12173,15 +12317,15 @@ }, "property": { "type": "Identifier", - "start": 6632, - "end": 6639, + "start": 6494, + "end": 6501, "loc": { "start": { - "line": 180, + "line": 175, "column": 31 }, "end": { - "line": 180, + "line": 175, "column": 38 }, "identifierName": "wrapper" @@ -12193,15 +12337,15 @@ }, "property": { "type": "Identifier", - "start": 6640, - "end": 6649, + "start": 6502, + "end": 6511, "loc": { "start": { - "line": 180, + "line": 175, "column": 39 }, "end": { - "line": 180, + "line": 175, "column": 48 }, "identifierName": "className" @@ -12213,15 +12357,15 @@ }, "right": { "type": "Identifier", - "start": 6652, - "end": 6671, + "start": 6514, + "end": 6533, "loc": { "start": { - "line": 180, + "line": 175, "column": 51 }, "end": { - "line": 180, + "line": 175, "column": 70 }, "identifierName": "wavesurferClassName" @@ -12234,15 +12378,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6548, - "end": 6600, + "start": 6410, + "end": 6462, "loc": { "start": { - "line": 179, + "line": 174, "column": 12 }, "end": { - "line": 179, + "line": 174, "column": 64 } } @@ -12252,15 +12396,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -12269,58 +12413,58 @@ }, { "type": "ExpressionStatement", - "start": 6732, - "end": 6833, + "start": 6594, + "end": 6695, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 178, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 6732, - "end": 6832, + "start": 6594, + "end": 6694, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 178, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6732, - "end": 6751, + "start": 6594, + "end": 6613, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 182, + "line": 177, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 6732, - "end": 6736, + "start": 6594, + "end": 6598, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 182, + "line": 177, "column": 16 } }, @@ -12328,15 +12472,15 @@ }, "property": { "type": "Identifier", - "start": 6737, - "end": 6751, + "start": 6599, + "end": 6613, "loc": { "start": { - "line": 182, + "line": 177, "column": 17 }, "end": { - "line": 182, + "line": 177, "column": 31 }, "identifierName": "responsiveWave" @@ -12348,57 +12492,57 @@ }, "right": { "type": "CallExpression", - "start": 6754, - "end": 6832, + "start": 6616, + "end": 6694, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 183, + "line": 178, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 6754, - "end": 6778, + "start": 6616, + "end": 6640, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 6754, - "end": 6769, + "start": 6616, + "end": 6631, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 49 } }, "object": { "type": "Identifier", - "start": 6754, - "end": 6764, + "start": 6616, + "end": 6626, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 44 }, "identifierName": "WaveSurfer" @@ -12407,15 +12551,15 @@ }, "property": { "type": "Identifier", - "start": 6765, - "end": 6769, + "start": 6627, + "end": 6631, "loc": { "start": { - "line": 182, + "line": 177, "column": 45 }, "end": { - "line": 182, + "line": 177, "column": 49 }, "identifierName": "util" @@ -12426,15 +12570,15 @@ }, "property": { "type": "Identifier", - "start": 6770, - "end": 6778, + "start": 6632, + "end": 6640, "loc": { "start": { - "line": 182, + "line": 177, "column": 50 }, "end": { - "line": 182, + "line": 177, "column": 58 }, "identifierName": "debounce" @@ -12446,72 +12590,72 @@ "arguments": [ { "type": "CallExpression", - "start": 6796, - "end": 6826, + "start": 6658, + "end": 6688, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 6796, - "end": 6820, + "start": 6658, + "end": 6682, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 6796, - "end": 6815, + "start": 6658, + "end": 6677, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 6796, - "end": 6800, + "start": 6658, + "end": 6662, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6801, - "end": 6815, + "start": 6663, + "end": 6677, "loc": { "start": { - "line": 183, + "line": 178, "column": 21 }, "end": { - "line": 183, + "line": 178, "column": 35 }, "identifierName": "onResizeChange" @@ -12522,15 +12666,15 @@ }, "property": { "type": "Identifier", - "start": 6816, - "end": 6820, + "start": 6678, + "end": 6682, "loc": { "start": { - "line": 183, + "line": 178, "column": 36 }, "end": { - "line": 183, + "line": 178, "column": 40 }, "identifierName": "bind" @@ -12542,15 +12686,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6821, - "end": 6825, + "start": 6683, + "end": 6687, "loc": { "start": { - "line": 183, + "line": 178, "column": 41 }, "end": { - "line": 183, + "line": 178, "column": 45 } } @@ -12559,15 +12703,15 @@ }, { "type": "NumericLiteral", - "start": 6828, - "end": 6831, + "start": 6690, + "end": 6693, "loc": { "start": { - "line": 183, + "line": 178, "column": 48 }, "end": { - "line": 183, + "line": 178, "column": 51 } }, @@ -12585,15 +12729,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -12602,57 +12746,57 @@ }, { "type": "ExpressionStatement", - "start": 6846, - "end": 6905, + "start": 6708, + "end": 6767, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 6846, - "end": 6904, + "start": 6708, + "end": 6766, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 6846, - "end": 6869, + "start": 6708, + "end": 6731, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 35 } }, "object": { "type": "Identifier", - "start": 6846, - "end": 6852, + "start": 6708, + "end": 6714, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 18 }, "identifierName": "window" @@ -12661,15 +12805,15 @@ }, "property": { "type": "Identifier", - "start": 6853, - "end": 6869, + "start": 6715, + "end": 6731, "loc": { "start": { - "line": 184, + "line": 179, "column": 19 }, "end": { - "line": 184, + "line": 179, "column": 35 }, "identifierName": "addEventListener" @@ -12681,29 +12825,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6870, - "end": 6882, + "start": 6732, + "end": 6744, "loc": { "start": { - "line": 184, + "line": 179, "column": 36 }, "end": { - "line": 184, + "line": 179, "column": 48 } }, "object": { "type": "Identifier", - "start": 6870, - "end": 6875, + "start": 6732, + "end": 6737, "loc": { "start": { - "line": 184, + "line": 179, "column": 36 }, "end": { - "line": 184, + "line": 179, "column": 41 }, "identifierName": "Event" @@ -12712,15 +12856,15 @@ }, "property": { "type": "Identifier", - "start": 6876, - "end": 6882, + "start": 6738, + "end": 6744, "loc": { "start": { - "line": 184, + "line": 179, "column": 42 }, "end": { - "line": 184, + "line": 179, "column": 48 }, "identifierName": "RESIZE" @@ -12731,44 +12875,44 @@ }, { "type": "MemberExpression", - "start": 6884, - "end": 6903, + "start": 6746, + "end": 6765, "loc": { "start": { - "line": 184, + "line": 179, "column": 50 }, "end": { - "line": 184, + "line": 179, "column": 69 } }, "object": { "type": "ThisExpression", - "start": 6884, - "end": 6888, + "start": 6746, + "end": 6750, "loc": { "start": { - "line": 184, + "line": 179, "column": 50 }, "end": { - "line": 184, + "line": 179, "column": 54 } } }, "property": { "type": "Identifier", - "start": 6889, - "end": 6903, + "start": 6751, + "end": 6765, "loc": { "start": { - "line": 184, + "line": 179, "column": 55 }, "end": { - "line": 184, + "line": 179, "column": 69 }, "identifierName": "responsiveWave" @@ -12788,15 +12932,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -12811,15 +12955,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, + "start": 2033, + "end": 2114, "loc": { "start": { - "line": 56, + "line": 67, "column": 4 }, "end": { - "line": 60, + "line": 71, "column": 7 } } @@ -12829,15 +12973,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -12846,15 +12990,15 @@ }, { "type": "ClassMethod", - "start": 7115, - "end": 9126, + "start": 6977, + "end": 8986, "loc": { "start": { - "line": 195, + "line": 190, "column": 4 }, "end": { - "line": 242, + "line": 237, "column": 5 } }, @@ -12862,15 +13006,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7115, - "end": 7127, + "start": 6977, + "end": 6989, "loc": { "start": { - "line": 195, + "line": 190, "column": 4 }, "end": { - "line": 195, + "line": 190, "column": 16 }, "identifierName": "parseOptions" @@ -12886,29 +13030,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 7128, - "end": 7143, + "start": 6990, + "end": 7005, "loc": { "start": { - "line": 195, + "line": 190, "column": 17 }, "end": { - "line": 195, + "line": 190, "column": 32 } }, "left": { "type": "Identifier", - "start": 7128, - "end": 7138, + "start": 6990, + "end": 7000, "loc": { "start": { - "line": 195, + "line": 190, "column": 17 }, "end": { - "line": 195, + "line": 190, "column": 27 }, "identifierName": "surferOpts" @@ -12917,15 +13061,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7141, - "end": 7143, + "start": 7003, + "end": 7005, "loc": { "start": { - "line": 195, + "line": 190, "column": 30 }, "end": { - "line": 195, + "line": 190, "column": 32 } }, @@ -12935,59 +13079,59 @@ ], "body": { "type": "BlockStatement", - "start": 7145, - "end": 9126, + "start": 7007, + "end": 8986, "loc": { "start": { - "line": 195, + "line": 190, "column": 34 }, "end": { - "line": 242, + "line": 237, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7155, - "end": 7206, + "start": 7017, + "end": 7068, "loc": { "start": { - "line": 196, + "line": 191, "column": 8 }, "end": { - "line": 196, + "line": 191, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7159, - "end": 7205, + "start": 7021, + "end": 7067, "loc": { "start": { - "line": 196, + "line": 191, "column": 12 }, "end": { - "line": 196, + "line": 191, "column": 58 } }, "id": { "type": "Identifier", - "start": 7159, - "end": 7163, + "start": 7021, + "end": 7025, "loc": { "start": { - "line": 196, + "line": 191, "column": 12 }, "end": { - "line": 196, + "line": 191, "column": 16 }, "identifierName": "rect" @@ -12996,86 +13140,86 @@ }, "init": { "type": "CallExpression", - "start": 7166, - "end": 7205, + "start": 7028, + "end": 7067, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7166, - "end": 7203, + "start": 7028, + "end": 7065, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7166, - "end": 7181, + "start": 7028, + "end": 7043, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7166, - "end": 7177, + "start": 7028, + "end": 7039, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7166, - "end": 7170, + "start": 7028, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7171, - "end": 7177, + "start": 7033, + "end": 7039, "loc": { "start": { - "line": 196, + "line": 191, "column": 24 }, "end": { - "line": 196, + "line": 191, "column": 30 }, "identifierName": "player" @@ -13086,15 +13230,15 @@ }, "property": { "type": "Identifier", - "start": 7178, - "end": 7181, + "start": 7040, + "end": 7043, "loc": { "start": { - "line": 196, + "line": 191, "column": 31 }, "end": { - "line": 196, + "line": 191, "column": 34 }, "identifierName": "el_" @@ -13105,15 +13249,15 @@ }, "property": { "type": "Identifier", - "start": 7182, - "end": 7203, + "start": 7044, + "end": 7065, "loc": { "start": { - "line": 196, + "line": 191, "column": 35 }, "end": { - "line": 196, + "line": 191, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -13130,73 +13274,73 @@ }, { "type": "ExpressionStatement", - "start": 7215, - "end": 7277, + "start": 7077, + "end": 7139, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7215, - "end": 7276, + "start": 7077, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7215, - "end": 7233, + "start": 7077, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7215, - "end": 7219, + "start": 7077, + "end": 7081, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7220, - "end": 7233, + "start": 7082, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 192, "column": 13 }, "end": { - "line": 197, + "line": 192, "column": 26 }, "identifierName": "originalWidth" @@ -13207,86 +13351,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7236, - "end": 7276, + "start": 7098, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7236, - "end": 7262, + "start": 7098, + "end": 7124, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7236, - "end": 7256, + "start": 7098, + "end": 7118, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7236, - "end": 7247, + "start": 7098, + "end": 7109, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7236, - "end": 7240, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7241, - "end": 7247, + "start": 7103, + "end": 7109, "loc": { "start": { - "line": 197, + "line": 192, "column": 34 }, "end": { - "line": 197, + "line": 192, "column": 40 }, "identifierName": "player" @@ -13297,15 +13441,15 @@ }, "property": { "type": "Identifier", - "start": 7248, - "end": 7256, + "start": 7110, + "end": 7118, "loc": { "start": { - "line": 197, + "line": 192, "column": 41 }, "end": { - "line": 197, + "line": 192, "column": 49 }, "identifierName": "options_" @@ -13316,15 +13460,15 @@ }, "property": { "type": "Identifier", - "start": 7257, - "end": 7262, + "start": 7119, + "end": 7124, "loc": { "start": { - "line": 197, + "line": 192, "column": 50 }, "end": { - "line": 197, + "line": 192, "column": 55 }, "identifierName": "width" @@ -13336,29 +13480,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7266, - "end": 7276, + "start": 7128, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 59 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "object": { "type": "Identifier", - "start": 7266, - "end": 7270, + "start": 7128, + "end": 7132, "loc": { "start": { - "line": 197, + "line": 192, "column": 59 }, "end": { - "line": 197, + "line": 192, "column": 63 }, "identifierName": "rect" @@ -13367,15 +13511,15 @@ }, "property": { "type": "Identifier", - "start": 7271, - "end": 7276, + "start": 7133, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 64 }, "end": { - "line": 197, + "line": 192, "column": 69 }, "identifierName": "width" @@ -13389,73 +13533,73 @@ }, { "type": "ExpressionStatement", - "start": 7286, - "end": 7351, + "start": 7148, + "end": 7213, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7286, - "end": 7350, + "start": 7148, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7286, - "end": 7305, + "start": 7148, + "end": 7167, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7286, - "end": 7290, + "start": 7148, + "end": 7152, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7291, - "end": 7305, + "start": 7153, + "end": 7167, "loc": { "start": { - "line": 198, + "line": 193, "column": 13 }, "end": { - "line": 198, + "line": 193, "column": 27 }, "identifierName": "originalHeight" @@ -13466,86 +13610,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7308, - "end": 7350, + "start": 7170, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7308, - "end": 7335, + "start": 7170, + "end": 7197, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7308, - "end": 7328, + "start": 7170, + "end": 7190, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7308, - "end": 7319, + "start": 7170, + "end": 7181, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7308, - "end": 7312, + "start": 7170, + "end": 7174, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7313, - "end": 7319, + "start": 7175, + "end": 7181, "loc": { "start": { - "line": 198, + "line": 193, "column": 35 }, "end": { - "line": 198, + "line": 193, "column": 41 }, "identifierName": "player" @@ -13556,15 +13700,15 @@ }, "property": { "type": "Identifier", - "start": 7320, - "end": 7328, + "start": 7182, + "end": 7190, "loc": { "start": { - "line": 198, + "line": 193, "column": 42 }, "end": { - "line": 198, + "line": 193, "column": 50 }, "identifierName": "options_" @@ -13575,15 +13719,15 @@ }, "property": { "type": "Identifier", - "start": 7329, - "end": 7335, + "start": 7191, + "end": 7197, "loc": { "start": { - "line": 198, + "line": 193, "column": 51 }, "end": { - "line": 198, + "line": 193, "column": 57 }, "identifierName": "height" @@ -13595,29 +13739,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7339, - "end": 7350, + "start": 7201, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 61 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "object": { "type": "Identifier", - "start": 7339, - "end": 7343, + "start": 7201, + "end": 7205, "loc": { "start": { - "line": 198, + "line": 193, "column": 61 }, "end": { - "line": 198, + "line": 193, "column": 65 }, "identifierName": "rect" @@ -13626,15 +13770,15 @@ }, "property": { "type": "Identifier", - "start": 7344, - "end": 7350, + "start": 7206, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 66 }, "end": { - "line": 198, + "line": 193, "column": 72 }, "identifierName": "height" @@ -13649,15 +13793,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -13666,44 +13810,44 @@ }, { "type": "VariableDeclaration", - "start": 7383, - "end": 7438, + "start": 7245, + "end": 7300, "loc": { "start": { - "line": 201, + "line": 196, "column": 8 }, "end": { - "line": 201, + "line": 196, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7387, - "end": 7437, + "start": 7249, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 196, "column": 12 }, "end": { - "line": 201, + "line": 196, "column": 62 } }, "id": { "type": "Identifier", - "start": 7387, - "end": 7403, + "start": 7249, + "end": 7265, "loc": { "start": { - "line": 201, + "line": 196, "column": 12 }, "end": { - "line": 201, + "line": 196, "column": 28 }, "identifierName": "controlBarHeight" @@ -13713,86 +13857,86 @@ }, "init": { "type": "CallExpression", - "start": 7406, - "end": 7437, + "start": 7268, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7406, - "end": 7435, + "start": 7268, + "end": 7297, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7406, - "end": 7428, + "start": 7268, + "end": 7290, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7406, - "end": 7417, + "start": 7268, + "end": 7279, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7406, - "end": 7410, + "start": 7268, + "end": 7272, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7411, - "end": 7417, + "start": 7273, + "end": 7279, "loc": { "start": { - "line": 201, + "line": 196, "column": 36 }, "end": { - "line": 201, + "line": 196, "column": 42 }, "identifierName": "player" @@ -13803,15 +13947,15 @@ }, "property": { "type": "Identifier", - "start": 7418, - "end": 7428, + "start": 7280, + "end": 7290, "loc": { "start": { - "line": 201, + "line": 196, "column": 43 }, "end": { - "line": 201, + "line": 196, "column": 53 }, "identifierName": "controlBar" @@ -13822,15 +13966,15 @@ }, "property": { "type": "Identifier", - "start": 7429, - "end": 7435, + "start": 7291, + "end": 7297, "loc": { "start": { - "line": 201, + "line": 196, "column": 54 }, "end": { - "line": 201, + "line": 196, "column": 60 }, "identifierName": "height" @@ -13849,15 +13993,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -13866,114 +14010,114 @@ }, { "type": "IfStatement", - "start": 7447, - "end": 7777, + "start": 7309, + "end": 7639, "loc": { "start": { - "line": 202, + "line": 197, "column": 8 }, "end": { - "line": 207, + "line": 202, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7451, - "end": 7515, + "start": 7313, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7451, - "end": 7489, + "start": 7313, + "end": 7351, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7451, - "end": 7480, + "start": 7313, + "end": 7342, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7451, - "end": 7471, + "start": 7313, + "end": 7333, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7451, - "end": 7462, + "start": 7313, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7451, - "end": 7455, + "start": 7313, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7456, - "end": 7462, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 197, "column": 17 }, "end": { - "line": 202, + "line": 197, "column": 23 }, "identifierName": "player" @@ -13984,15 +14128,15 @@ }, "property": { "type": "Identifier", - "start": 7463, - "end": 7471, + "start": 7325, + "end": 7333, "loc": { "start": { - "line": 202, + "line": 197, "column": 24 }, "end": { - "line": 202, + "line": 197, "column": 32 }, "identifierName": "options_" @@ -14003,15 +14147,15 @@ }, "property": { "type": "Identifier", - "start": 7472, - "end": 7480, + "start": 7334, + "end": 7342, "loc": { "start": { - "line": 202, + "line": 197, "column": 33 }, "end": { - "line": 202, + "line": 197, "column": 41 }, "identifierName": "controls" @@ -14023,15 +14167,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7485, - "end": 7489, + "start": 7347, + "end": 7351, "loc": { "start": { - "line": 202, + "line": 197, "column": 46 }, "end": { - "line": 202, + "line": 197, "column": 50 } }, @@ -14041,29 +14185,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7493, - "end": 7515, + "start": 7355, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 54 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, "left": { "type": "Identifier", - "start": 7493, - "end": 7509, + "start": 7355, + "end": 7371, "loc": { "start": { - "line": 202, + "line": 197, "column": 54 }, "end": { - "line": 202, + "line": 197, "column": 70 }, "identifierName": "controlBarHeight" @@ -14073,15 +14217,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7514, - "end": 7515, + "start": 7376, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 75 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, @@ -14095,59 +14239,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7517, - "end": 7777, + "start": 7379, + "end": 7639, "loc": { "start": { - "line": 202, + "line": 197, "column": 78 }, "end": { - "line": 207, + "line": 202, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7745, - "end": 7767, + "start": 7607, + "end": 7629, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7745, - "end": 7766, + "start": 7607, + "end": 7628, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7745, - "end": 7761, + "start": 7607, + "end": 7623, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 28 }, "identifierName": "controlBarHeight" @@ -14157,15 +14301,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7764, - "end": 7766, + "start": 7626, + "end": 7628, "loc": { "start": { - "line": 206, + "line": 201, "column": 31 }, "end": { - "line": 206, + "line": 201, "column": 33 } }, @@ -14181,15 +14325,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7531, - "end": 7592, + "start": 7393, + "end": 7454, "loc": { "start": { - "line": 203, + "line": 198, "column": 12 }, "end": { - "line": 203, + "line": 198, "column": 73 } } @@ -14197,15 +14341,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7605, - "end": 7668, + "start": 7467, + "end": 7530, "loc": { "start": { - "line": 204, + "line": 199, "column": 12 }, "end": { - "line": 204, + "line": 199, "column": 75 } } @@ -14213,15 +14357,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7681, - "end": 7732, + "start": 7543, + "end": 7594, "loc": { "start": { - "line": 205, + "line": 200, "column": 12 }, "end": { - "line": 205, + "line": 200, "column": 63 } } @@ -14237,15 +14381,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -14253,15 +14397,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -14269,15 +14413,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -14285,15 +14429,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -14301,15 +14445,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -14318,57 +14462,57 @@ }, { "type": "IfStatement", - "start": 8103, - "end": 8206, + "start": 7965, + "end": 8068, "loc": { "start": { - "line": 214, + "line": 209, "column": 8 }, "end": { - "line": 216, + "line": 211, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8107, - "end": 8141, + "start": 7969, + "end": 8003, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 8107, - "end": 8127, + "start": 7969, + "end": 7989, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 32 } }, "object": { "type": "Identifier", - "start": 8107, - "end": 8117, + "start": 7969, + "end": 7979, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 22 }, "identifierName": "surferOpts" @@ -14378,15 +14522,15 @@ }, "property": { "type": "Identifier", - "start": 8118, - "end": 8127, + "start": 7980, + "end": 7989, "loc": { "start": { - "line": 214, + "line": 209, "column": 23 }, "end": { - "line": 214, + "line": 209, "column": 32 }, "identifierName": "container" @@ -14399,15 +14543,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8132, - "end": 8141, + "start": 7994, + "end": 8003, "loc": { "start": { - "line": 214, + "line": 209, "column": 37 }, "end": { - "line": 214, + "line": 209, "column": 46 }, "identifierName": "undefined" @@ -14418,73 +14562,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8143, - "end": 8206, + "start": 8005, + "end": 8068, "loc": { "start": { - "line": 214, + "line": 209, "column": 48 }, "end": { - "line": 216, + "line": 211, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8157, - "end": 8196, + "start": 8019, + "end": 8058, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8157, - "end": 8195, + "start": 8019, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8157, - "end": 8177, + "start": 8019, + "end": 8039, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 32 } }, "object": { "type": "Identifier", - "start": 8157, - "end": 8167, + "start": 8019, + "end": 8029, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 22 }, "identifierName": "surferOpts" @@ -14493,15 +14637,15 @@ }, "property": { "type": "Identifier", - "start": 8168, - "end": 8177, + "start": 8030, + "end": 8039, "loc": { "start": { - "line": 215, + "line": 210, "column": 23 }, "end": { - "line": 215, + "line": 210, "column": 32 }, "identifierName": "container" @@ -14512,58 +14656,58 @@ }, "right": { "type": "MemberExpression", - "start": 8180, - "end": 8195, + "start": 8042, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8180, - "end": 8191, + "start": 8042, + "end": 8053, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8180, - "end": 8184, + "start": 8042, + "end": 8046, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8185, - "end": 8191, + "start": 8047, + "end": 8053, "loc": { "start": { - "line": 215, + "line": 210, "column": 40 }, "end": { - "line": 215, + "line": 210, "column": 46 }, "identifierName": "player" @@ -14574,15 +14718,15 @@ }, "property": { "type": "Identifier", - "start": 8192, - "end": 8195, + "start": 8054, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 47 }, "end": { - "line": 215, + "line": 210, "column": 50 }, "identifierName": "el_" @@ -14602,15 +14746,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -14618,15 +14762,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -14634,15 +14778,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -14650,15 +14794,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -14666,15 +14810,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -14684,15 +14828,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -14700,15 +14844,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -14716,15 +14860,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -14733,57 +14877,57 @@ }, { "type": "IfStatement", - "start": 8427, - "end": 8668, + "start": 8289, + "end": 8530, "loc": { "start": { - "line": 221, + "line": 216, "column": 8 }, "end": { - "line": 226, + "line": 221, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8431, - "end": 8470, + "start": 8293, + "end": 8332, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8431, - "end": 8456, + "start": 8293, + "end": 8318, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 37 } }, "object": { "type": "Identifier", - "start": 8431, - "end": 8441, + "start": 8293, + "end": 8303, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 22 }, "identifierName": "surferOpts" @@ -14793,15 +14937,15 @@ }, "property": { "type": "Identifier", - "start": 8442, - "end": 8456, + "start": 8304, + "end": 8318, "loc": { "start": { - "line": 221, + "line": 216, "column": 23 }, "end": { - "line": 221, + "line": 216, "column": 37 }, "identifierName": "waveformHeight" @@ -14814,15 +14958,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8461, - "end": 8470, + "start": 8323, + "end": 8332, "loc": { "start": { - "line": 221, + "line": 216, "column": 42 }, "end": { - "line": 221, + "line": 216, "column": 51 }, "identifierName": "undefined" @@ -14833,59 +14977,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8472, - "end": 8592, + "start": 8334, + "end": 8454, "loc": { "start": { - "line": 221, + "line": 216, "column": 53 }, "end": { - "line": 224, + "line": 219, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8486, - "end": 8517, + "start": 8348, + "end": 8379, "loc": { "start": { - "line": 222, + "line": 217, "column": 12 }, "end": { - "line": 222, + "line": 217, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8490, - "end": 8516, + "start": 8352, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 16 }, "end": { - "line": 222, + "line": 217, "column": 42 } }, "id": { "type": "Identifier", - "start": 8490, - "end": 8502, + "start": 8352, + "end": 8364, "loc": { "start": { - "line": 222, + "line": 217, "column": 16 }, "end": { - "line": 222, + "line": 217, "column": 28 }, "identifierName": "playerHeight" @@ -14894,29 +15038,29 @@ }, "init": { "type": "MemberExpression", - "start": 8505, - "end": 8516, + "start": 8367, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 31 }, "end": { - "line": 222, + "line": 217, "column": 42 } }, "object": { "type": "Identifier", - "start": 8505, - "end": 8509, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 222, + "line": 217, "column": 31 }, "end": { - "line": 222, + "line": 217, "column": 35 }, "identifierName": "rect" @@ -14925,15 +15069,15 @@ }, "property": { "type": "Identifier", - "start": 8510, - "end": 8516, + "start": 8372, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 36 }, "end": { - "line": 222, + "line": 217, "column": 42 }, "identifierName": "height" @@ -14948,58 +15092,58 @@ }, { "type": "ExpressionStatement", - "start": 8530, - "end": 8582, + "start": 8392, + "end": 8444, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8530, - "end": 8581, + "start": 8392, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8530, - "end": 8547, + "start": 8392, + "end": 8409, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 29 } }, "object": { "type": "Identifier", - "start": 8530, - "end": 8540, + "start": 8392, + "end": 8402, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 22 }, "identifierName": "surferOpts" @@ -15008,15 +15152,15 @@ }, "property": { "type": "Identifier", - "start": 8541, - "end": 8547, + "start": 8403, + "end": 8409, "loc": { "start": { - "line": 223, + "line": 218, "column": 23 }, "end": { - "line": 223, + "line": 218, "column": 29 }, "identifierName": "height" @@ -15027,29 +15171,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8550, - "end": 8581, + "start": 8412, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 32 }, "end": { - "line": 223, + "line": 218, "column": 63 } }, "left": { "type": "Identifier", - "start": 8550, - "end": 8562, + "start": 8412, + "end": 8424, "loc": { "start": { - "line": 223, + "line": 218, "column": 32 }, "end": { - "line": 223, + "line": 218, "column": 44 }, "identifierName": "playerHeight" @@ -15059,15 +15203,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8565, - "end": 8581, + "start": 8427, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 47 }, "end": { - "line": 223, + "line": 218, "column": 63 }, "identifierName": "controlBarHeight" @@ -15082,73 +15226,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8598, - "end": 8668, + "start": 8460, + "end": 8530, "loc": { "start": { - "line": 224, + "line": 219, "column": 15 }, "end": { - "line": 226, + "line": 221, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8612, - "end": 8658, + "start": 8474, + "end": 8520, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8612, - "end": 8657, + "start": 8474, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8612, - "end": 8629, + "start": 8474, + "end": 8491, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 29 } }, "object": { "type": "Identifier", - "start": 8612, - "end": 8622, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 22 }, "identifierName": "surferOpts" @@ -15157,15 +15301,15 @@ }, "property": { "type": "Identifier", - "start": 8623, - "end": 8629, + "start": 8485, + "end": 8491, "loc": { "start": { - "line": 225, + "line": 220, "column": 23 }, "end": { - "line": 225, + "line": 220, "column": 29 }, "identifierName": "height" @@ -15176,29 +15320,29 @@ }, "right": { "type": "MemberExpression", - "start": 8632, - "end": 8657, + "start": 8494, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 32 }, "end": { - "line": 225, + "line": 220, "column": 57 } }, "object": { "type": "Identifier", - "start": 8632, - "end": 8642, + "start": 8494, + "end": 8504, "loc": { "start": { - "line": 225, + "line": 220, "column": 32 }, "end": { - "line": 225, + "line": 220, "column": 42 }, "identifierName": "surferOpts" @@ -15207,15 +15351,15 @@ }, "property": { "type": "Identifier", - "start": 8643, - "end": 8657, + "start": 8505, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 43 }, "end": { - "line": 225, + "line": 220, "column": 57 }, "identifierName": "waveformHeight" @@ -15234,15 +15378,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -15250,15 +15394,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -15266,15 +15410,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -15284,15 +15428,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -15301,57 +15445,57 @@ }, { "type": "IfStatement", - "start": 8704, - "end": 8818, + "start": 8566, + "end": 8680, "loc": { "start": { - "line": 229, + "line": 224, "column": 8 }, "end": { - "line": 231, + "line": 226, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8708, - "end": 8769, + "start": 8570, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8708, - "end": 8732, + "start": 8570, + "end": 8594, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 36 } }, "object": { "type": "Identifier", - "start": 8708, - "end": 8718, + "start": 8570, + "end": 8580, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 22 }, "identifierName": "surferOpts" @@ -15361,15 +15505,15 @@ }, "property": { "type": "Identifier", - "start": 8719, - "end": 8732, + "start": 8581, + "end": 8594, "loc": { "start": { - "line": 229, + "line": 224, "column": 23 }, "end": { - "line": 229, + "line": 224, "column": 36 }, "identifierName": "splitChannels" @@ -15382,43 +15526,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8736, - "end": 8769, + "start": 8598, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8736, - "end": 8760, + "start": 8598, + "end": 8622, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 64 } }, "object": { "type": "Identifier", - "start": 8736, - "end": 8746, + "start": 8598, + "end": 8608, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 50 }, "identifierName": "surferOpts" @@ -15427,15 +15571,15 @@ }, "property": { "type": "Identifier", - "start": 8747, - "end": 8760, + "start": 8609, + "end": 8622, "loc": { "start": { - "line": 229, + "line": 224, "column": 51 }, "end": { - "line": 229, + "line": 224, "column": 64 }, "identifierName": "splitChannels" @@ -15447,15 +15591,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8765, - "end": 8769, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 69 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, @@ -15466,73 +15610,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8771, - "end": 8818, + "start": 8633, + "end": 8680, "loc": { "start": { - "line": 229, + "line": 224, "column": 75 }, "end": { - "line": 231, + "line": 226, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8785, - "end": 8808, + "start": 8647, + "end": 8670, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8785, - "end": 8807, + "start": 8647, + "end": 8669, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8785, - "end": 8802, + "start": 8647, + "end": 8664, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 29 } }, "object": { "type": "Identifier", - "start": 8785, - "end": 8795, + "start": 8647, + "end": 8657, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 22 }, "identifierName": "surferOpts" @@ -15541,15 +15685,15 @@ }, "property": { "type": "Identifier", - "start": 8796, - "end": 8802, + "start": 8658, + "end": 8664, "loc": { "start": { - "line": 230, + "line": 225, "column": 23 }, "end": { - "line": 230, + "line": 225, "column": 29 }, "identifierName": "height" @@ -15560,15 +15704,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8806, - "end": 8807, + "start": 8668, + "end": 8669, "loc": { "start": { - "line": 230, + "line": 225, "column": 33 }, "end": { - "line": 230, + "line": 225, "column": 34 } }, @@ -15589,15 +15733,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -15607,15 +15751,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -15623,15 +15767,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -15640,43 +15784,43 @@ }, { "type": "IfStatement", - "start": 8924, - "end": 9092, + "start": 8786, + "end": 8952, "loc": { "start": { - "line": 235, + "line": 230, "column": 8 }, "end": { - "line": 239, + "line": 234, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8928, - "end": 8951, + "start": 8790, + "end": 8813, "loc": { "start": { - "line": 235, + "line": 230, "column": 12 }, "end": { - "line": 235, + "line": 230, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 8928, - "end": 8937, + "start": 8790, + "end": 8799, "loc": { "start": { - "line": 235, + "line": 230, "column": 12 }, "end": { - "line": 235, + "line": 230, "column": 21 } }, @@ -15690,15 +15834,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 8941, - "end": 8951, + "start": 8803, + "end": 8813, "loc": { "start": { - "line": 235, + "line": 230, "column": 25 }, "end": { - "line": 235, + "line": 230, "column": 35 }, "identifierName": "surferOpts" @@ -15709,88 +15853,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8953, - "end": 9011, + "start": 8815, + "end": 8873, "loc": { "start": { - "line": 235, + "line": 230, "column": 37 }, "end": { - "line": 237, + "line": 232, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8967, - "end": 9001, + "start": 8829, + "end": 8863, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 8967, - "end": 9000, + "start": 8829, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8967, - "end": 8979, + "start": 8829, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 8967, - "end": 8971, + "start": 8829, + "end": 8833, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 16 } } }, "property": { "type": "Identifier", - "start": 8972, - "end": 8979, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 231, "column": 17 }, "end": { - "line": 236, + "line": 231, "column": 24 }, "identifierName": "backend" @@ -15801,29 +15945,29 @@ }, "right": { "type": "MemberExpression", - "start": 8982, - "end": 9000, + "start": 8844, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 27 }, "end": { - "line": 236, + "line": 231, "column": 45 } }, "object": { "type": "Identifier", - "start": 8982, - "end": 8992, + "start": 8844, + "end": 8854, "loc": { "start": { - "line": 236, + "line": 231, "column": 27 }, "end": { - "line": 236, + "line": 231, "column": 37 }, "identifierName": "surferOpts" @@ -15832,15 +15976,15 @@ }, "property": { "type": "Identifier", - "start": 8993, - "end": 9000, + "start": 8855, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 38 }, "end": { - "line": 236, + "line": 231, "column": 45 }, "identifierName": "backend" @@ -15856,73 +16000,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 9017, - "end": 9092, + "start": 8879, + "end": 8952, "loc": { "start": { - "line": 237, + "line": 232, "column": 15 }, "end": { - "line": 239, + "line": 234, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9031, - "end": 9082, + "start": 8893, + "end": 8942, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, - "column": 63 + "line": 233, + "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9031, - "end": 9081, + "start": 8893, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9031, - "end": 9049, + "start": 8893, + "end": 8911, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, + "line": 233, "column": 30 } }, "object": { "type": "Identifier", - "start": 9031, - "end": 9041, + "start": 8893, + "end": 8903, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, + "line": 233, "column": 22 }, "identifierName": "surferOpts" @@ -15931,15 +16075,15 @@ }, "property": { "type": "Identifier", - "start": 9042, - "end": 9049, + "start": 8904, + "end": 8911, "loc": { "start": { - "line": 238, + "line": 233, "column": 23 }, "end": { - "line": 238, + "line": 233, "column": 30 }, "identifierName": "backend" @@ -15950,59 +16094,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 9052, - "end": 9081, + "start": 8914, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9052, - "end": 9064, + "start": 8914, + "end": 8926, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, + "line": 233, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 9052, - "end": 9056, + "start": 8914, + "end": 8918, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, + "line": 233, "column": 37 } } }, "property": { "type": "Identifier", - "start": 9057, - "end": 9064, + "start": 8919, + "end": 8926, "loc": { "start": { - "line": 238, + "line": 233, "column": 38 }, "end": { - "line": 238, + "line": 233, "column": 45 }, "identifierName": "backend" @@ -16012,24 +16156,21 @@ "computed": false }, "right": { - "type": "StringLiteral", - "start": 9067, - "end": 9081, + "type": "Identifier", + "start": 8929, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 48 }, "end": { - "line": 238, - "column": 62 - } - }, - "extra": { - "rawValue": "MediaElement", - "raw": "'MediaElement'" + "line": 233, + "column": 60 + }, + "identifierName": "MEDIAELEMENT" }, - "value": "MediaElement" + "name": "MEDIAELEMENT" } } } @@ -16041,15 +16182,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -16057,15 +16198,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -16074,29 +16215,29 @@ }, { "type": "ReturnStatement", - "start": 9102, - "end": 9120, + "start": 8962, + "end": 8980, "loc": { "start": { - "line": 241, + "line": 236, "column": 8 }, "end": { - "line": 241, + "line": 236, "column": 26 } }, "argument": { "type": "Identifier", - "start": 9109, - "end": 9119, + "start": 8969, + "end": 8979, "loc": { "start": { - "line": 241, + "line": 236, "column": 15 }, "end": { - "line": 241, + "line": 236, "column": 25 }, "identifierName": "surferOpts" @@ -16112,15 +16253,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -16130,15 +16271,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -16147,15 +16288,15 @@ }, { "type": "ClassMethod", - "start": 9337, - "end": 9960, + "start": 9197, + "end": 9816, "loc": { "start": { - "line": 251, + "line": 246, "column": 4 }, "end": { - "line": 265, + "line": 260, "column": 5 } }, @@ -16163,15 +16304,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9337, - "end": 9356, + "start": 9197, + "end": 9216, "loc": { "start": { - "line": 251, + "line": 246, "column": 4 }, "end": { - "line": 251, + "line": 246, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -16187,15 +16328,15 @@ "params": [ { "type": "Identifier", - "start": 9357, - "end": 9363, + "start": 9217, + "end": 9223, "loc": { "start": { - "line": 251, + "line": 246, "column": 24 }, "end": { - "line": 251, + "line": 246, "column": 30 }, "identifierName": "enable" @@ -16205,58 +16346,58 @@ ], "body": { "type": "BlockStatement", - "start": 9365, - "end": 9960, + "start": 9225, + "end": 9816, "loc": { "start": { - "line": 251, + "line": 246, "column": 32 }, "end": { - "line": 265, + "line": 260, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9375, - "end": 9954, + "start": 9235, + "end": 9810, "loc": { "start": { - "line": 252, + "line": 247, "column": 8 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9379, - "end": 9395, + "start": 9239, + "end": 9255, "loc": { "start": { - "line": 252, + "line": 247, "column": 12 }, "end": { - "line": 252, + "line": 247, "column": 28 } }, "left": { "type": "Identifier", - "start": 9379, - "end": 9385, + "start": 9239, + "end": 9245, "loc": { "start": { - "line": 252, + "line": 247, "column": 12 }, "end": { - "line": 252, + "line": 247, "column": 18 }, "identifierName": "enable" @@ -16266,15 +16407,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9390, - "end": 9395, + "start": 9250, + "end": 9255, "loc": { "start": { - "line": 252, + "line": 247, "column": 23 }, "end": { - "line": 252, + "line": 247, "column": 28 } }, @@ -16283,101 +16424,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9397, - "end": 9662, + "start": 9257, + "end": 9520, "loc": { "start": { - "line": 252, + "line": 247, "column": 30 }, "end": { - "line": 258, + "line": 253, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9411, - "end": 9457, + "start": 9271, + "end": 9317, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9411, - "end": 9456, + "start": 9271, + "end": 9316, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9411, - "end": 9425, + "start": 9271, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9411, - "end": 9422, + "start": 9271, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9411, - "end": 9415, + "start": 9271, + "end": 9275, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9416, - "end": 9422, + "start": 9276, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 248, "column": 17 }, "end": { - "line": 253, + "line": 248, "column": 23 }, "identifierName": "surfer" @@ -16388,15 +16529,15 @@ }, "property": { "type": "Identifier", - "start": 9423, - "end": 9425, + "start": 9283, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 248, "column": 24 }, "end": { - "line": 253, + "line": 248, "column": 26 }, "identifierName": "un" @@ -16408,29 +16549,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9426, - "end": 9437, + "start": 9286, + "end": 9297, "loc": { "start": { - "line": 253, + "line": 248, "column": 27 }, "end": { - "line": 253, + "line": 248, "column": 38 } }, "object": { "type": "Identifier", - "start": 9426, - "end": 9431, + "start": 9286, + "end": 9291, "loc": { "start": { - "line": 253, + "line": 248, "column": 27 }, "end": { - "line": 253, + "line": 248, "column": 32 }, "identifierName": "Event" @@ -16439,15 +16580,15 @@ }, "property": { "type": "Identifier", - "start": 9432, - "end": 9437, + "start": 9292, + "end": 9297, "loc": { "start": { - "line": 253, + "line": 248, "column": 33 }, "end": { - "line": 253, + "line": 248, "column": 38 }, "identifierName": "READY" @@ -16458,44 +16599,44 @@ }, { "type": "MemberExpression", - "start": 9439, - "end": 9455, + "start": 9299, + "end": 9315, "loc": { "start": { - "line": 253, + "line": 248, "column": 40 }, "end": { - "line": 253, + "line": 248, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9439, - "end": 9443, + "start": 9299, + "end": 9303, "loc": { "start": { - "line": 253, + "line": 248, "column": 40 }, "end": { - "line": 253, + "line": 248, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9444, - "end": 9455, + "start": 9304, + "end": 9315, "loc": { "start": { - "line": 253, + "line": 248, "column": 45 }, "end": { - "line": 253, + "line": 248, "column": 56 }, "identifierName": "surferReady" @@ -16509,72 +16650,72 @@ }, { "type": "IfStatement", - "start": 9470, - "end": 9652, + "start": 9330, + "end": 9510, "loc": { "start": { - "line": 254, + "line": 249, "column": 12 }, "end": { - "line": 257, + "line": 252, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9474, - "end": 9501, + "start": 9334, + "end": 9359, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, - "column": 43 + "line": 249, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9474, - "end": 9486, + "start": 9334, + "end": 9346, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, + "line": 249, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9474, - "end": 9478, + "start": 9334, + "end": 9338, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, + "line": 249, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9479, - "end": 9486, + "start": 9339, + "end": 9346, "loc": { "start": { - "line": 254, + "line": 249, "column": 21 }, "end": { - "line": 254, + "line": 249, "column": 28 }, "identifierName": "backend" @@ -16585,123 +16726,120 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 9491, - "end": 9501, + "type": "Identifier", + "start": 9351, + "end": 9359, "loc": { "start": { - "line": 254, + "line": 249, "column": 33 }, "end": { - "line": 254, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 249, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 9503, - "end": 9652, + "start": 9361, + "end": 9510, "loc": { "start": { - "line": 254, - "column": 45 + "line": 249, + "column": 43 }, "end": { - "line": 257, + "line": 252, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9521, - "end": 9577, + "start": 9379, + "end": 9435, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9521, - "end": 9576, + "start": 9379, + "end": 9434, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9521, - "end": 9535, + "start": 9379, + "end": 9393, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9521, - "end": 9532, + "start": 9379, + "end": 9390, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9521, - "end": 9525, + "start": 9379, + "end": 9383, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9526, - "end": 9532, + "start": 9384, + "end": 9390, "loc": { "start": { - "line": 255, + "line": 250, "column": 21 }, "end": { - "line": 255, + "line": 250, "column": 27 }, "identifierName": "surfer" @@ -16712,15 +16850,15 @@ }, "property": { "type": "Identifier", - "start": 9533, - "end": 9535, + "start": 9391, + "end": 9393, "loc": { "start": { - "line": 255, + "line": 250, "column": 28 }, "end": { - "line": 255, + "line": 250, "column": 30 }, "identifierName": "un" @@ -16732,29 +16870,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9536, - "end": 9554, + "start": 9394, + "end": 9412, "loc": { "start": { - "line": 255, + "line": 250, "column": 31 }, "end": { - "line": 255, + "line": 250, "column": 49 } }, "object": { "type": "Identifier", - "start": 9536, - "end": 9541, + "start": 9394, + "end": 9399, "loc": { "start": { - "line": 255, + "line": 250, "column": 31 }, "end": { - "line": 255, + "line": 250, "column": 36 }, "identifierName": "Event" @@ -16763,15 +16901,15 @@ }, "property": { "type": "Identifier", - "start": 9542, - "end": 9554, + "start": 9400, + "end": 9412, "loc": { "start": { - "line": 255, + "line": 250, "column": 37 }, "end": { - "line": 255, + "line": 250, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -16782,44 +16920,44 @@ }, { "type": "MemberExpression", - "start": 9556, - "end": 9575, + "start": 9414, + "end": 9433, "loc": { "start": { - "line": 255, + "line": 250, "column": 51 }, "end": { - "line": 255, + "line": 250, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9556, - "end": 9560, + "start": 9414, + "end": 9418, "loc": { "start": { - "line": 255, + "line": 250, "column": 51 }, "end": { - "line": 255, + "line": 250, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9561, - "end": 9575, + "start": 9419, + "end": 9433, "loc": { "start": { - "line": 255, + "line": 250, "column": 56 }, "end": { - "line": 255, + "line": 250, "column": 70 }, "identifierName": "surferProgress" @@ -16833,86 +16971,86 @@ }, { "type": "ExpressionStatement", - "start": 9594, - "end": 9638, + "start": 9452, + "end": 9496, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9594, - "end": 9637, + "start": 9452, + "end": 9495, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9594, - "end": 9608, + "start": 9452, + "end": 9466, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9594, - "end": 9605, + "start": 9452, + "end": 9463, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9594, - "end": 9598, + "start": 9452, + "end": 9456, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9599, - "end": 9605, + "start": 9457, + "end": 9463, "loc": { "start": { - "line": 256, + "line": 251, "column": 21 }, "end": { - "line": 256, + "line": 251, "column": 27 }, "identifierName": "surfer" @@ -16923,15 +17061,15 @@ }, "property": { "type": "Identifier", - "start": 9606, - "end": 9608, + "start": 9464, + "end": 9466, "loc": { "start": { - "line": 256, + "line": 251, "column": 28 }, "end": { - "line": 256, + "line": 251, "column": 30 }, "identifierName": "un" @@ -16943,29 +17081,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9609, - "end": 9619, + "start": 9467, + "end": 9477, "loc": { "start": { - "line": 256, + "line": 251, "column": 31 }, "end": { - "line": 256, + "line": 251, "column": 41 } }, "object": { "type": "Identifier", - "start": 9609, - "end": 9614, + "start": 9467, + "end": 9472, "loc": { "start": { - "line": 256, + "line": 251, "column": 31 }, "end": { - "line": 256, + "line": 251, "column": 36 }, "identifierName": "Event" @@ -16974,15 +17112,15 @@ }, "property": { "type": "Identifier", - "start": 9615, - "end": 9619, + "start": 9473, + "end": 9477, "loc": { "start": { - "line": 256, + "line": 251, "column": 37 }, "end": { - "line": 256, + "line": 251, "column": 41 }, "identifierName": "SEEK" @@ -16993,44 +17131,44 @@ }, { "type": "MemberExpression", - "start": 9621, - "end": 9636, + "start": 9479, + "end": 9494, "loc": { "start": { - "line": 256, + "line": 251, "column": 43 }, "end": { - "line": 256, + "line": 251, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9621, - "end": 9625, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 256, + "line": 251, "column": 43 }, "end": { - "line": 256, + "line": 251, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9626, - "end": 9636, + "start": 9484, + "end": 9494, "loc": { "start": { - "line": 256, + "line": 251, "column": 48 }, "end": { - "line": 256, + "line": 251, "column": 58 }, "identifierName": "surferSeek" @@ -17052,43 +17190,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9668, - "end": 9954, + "start": 9526, + "end": 9810, "loc": { "start": { - "line": 258, + "line": 253, "column": 15 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9672, - "end": 9687, + "start": 9530, + "end": 9545, "loc": { "start": { - "line": 258, + "line": 253, "column": 19 }, "end": { - "line": 258, + "line": 253, "column": 34 } }, "left": { "type": "Identifier", - "start": 9672, - "end": 9678, + "start": 9530, + "end": 9536, "loc": { "start": { - "line": 258, + "line": 253, "column": 19 }, "end": { - "line": 258, + "line": 253, "column": 25 }, "identifierName": "enable" @@ -17098,15 +17236,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9683, - "end": 9687, + "start": 9541, + "end": 9545, "loc": { "start": { - "line": 258, + "line": 253, "column": 30 }, "end": { - "line": 258, + "line": 253, "column": 34 } }, @@ -17115,101 +17253,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9689, - "end": 9954, + "start": 9547, + "end": 9810, "loc": { "start": { - "line": 258, + "line": 253, "column": 36 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9703, - "end": 9749, + "start": 9561, + "end": 9607, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9703, - "end": 9748, + "start": 9561, + "end": 9606, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9703, - "end": 9717, + "start": 9561, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9703, - "end": 9714, + "start": 9561, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9703, - "end": 9707, + "start": 9561, + "end": 9565, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9708, - "end": 9714, + "start": 9566, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 254, "column": 17 }, "end": { - "line": 259, + "line": 254, "column": 23 }, "identifierName": "surfer" @@ -17220,15 +17358,15 @@ }, "property": { "type": "Identifier", - "start": 9715, - "end": 9717, + "start": 9573, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 254, "column": 24 }, "end": { - "line": 259, + "line": 254, "column": 26 }, "identifierName": "on" @@ -17240,29 +17378,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9718, - "end": 9729, + "start": 9576, + "end": 9587, "loc": { "start": { - "line": 259, + "line": 254, "column": 27 }, "end": { - "line": 259, + "line": 254, "column": 38 } }, "object": { "type": "Identifier", - "start": 9718, - "end": 9723, + "start": 9576, + "end": 9581, "loc": { "start": { - "line": 259, + "line": 254, "column": 27 }, "end": { - "line": 259, + "line": 254, "column": 32 }, "identifierName": "Event" @@ -17271,15 +17409,15 @@ }, "property": { "type": "Identifier", - "start": 9724, - "end": 9729, + "start": 9582, + "end": 9587, "loc": { "start": { - "line": 259, + "line": 254, "column": 33 }, "end": { - "line": 259, + "line": 254, "column": 38 }, "identifierName": "READY" @@ -17290,44 +17428,44 @@ }, { "type": "MemberExpression", - "start": 9731, - "end": 9747, + "start": 9589, + "end": 9605, "loc": { "start": { - "line": 259, + "line": 254, "column": 40 }, "end": { - "line": 259, + "line": 254, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9731, - "end": 9735, + "start": 9589, + "end": 9593, "loc": { "start": { - "line": 259, + "line": 254, "column": 40 }, "end": { - "line": 259, + "line": 254, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9736, - "end": 9747, + "start": 9594, + "end": 9605, "loc": { "start": { - "line": 259, + "line": 254, "column": 45 }, "end": { - "line": 259, + "line": 254, "column": 56 }, "identifierName": "surferReady" @@ -17341,72 +17479,72 @@ }, { "type": "IfStatement", - "start": 9762, - "end": 9944, + "start": 9620, + "end": 9800, "loc": { "start": { - "line": 260, + "line": 255, "column": 12 }, "end": { - "line": 263, + "line": 258, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9766, - "end": 9793, + "start": 9624, + "end": 9649, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, - "column": 43 + "line": 255, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9766, - "end": 9778, + "start": 9624, + "end": 9636, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, + "line": 255, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9766, - "end": 9770, + "start": 9624, + "end": 9628, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, + "line": 255, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9771, - "end": 9778, + "start": 9629, + "end": 9636, "loc": { "start": { - "line": 260, + "line": 255, "column": 21 }, "end": { - "line": 260, + "line": 255, "column": 28 }, "identifierName": "backend" @@ -17417,123 +17555,120 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 9783, - "end": 9793, + "type": "Identifier", + "start": 9641, + "end": 9649, "loc": { "start": { - "line": 260, + "line": 255, "column": 33 }, "end": { - "line": 260, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 255, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 9795, - "end": 9944, + "start": 9651, + "end": 9800, "loc": { "start": { - "line": 260, - "column": 45 + "line": 255, + "column": 43 }, "end": { - "line": 263, + "line": 258, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9813, - "end": 9869, + "start": 9669, + "end": 9725, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9813, - "end": 9868, + "start": 9669, + "end": 9724, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9813, - "end": 9827, + "start": 9669, + "end": 9683, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9813, - "end": 9824, + "start": 9669, + "end": 9680, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9813, - "end": 9817, + "start": 9669, + "end": 9673, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9818, - "end": 9824, + "start": 9674, + "end": 9680, "loc": { "start": { - "line": 261, + "line": 256, "column": 21 }, "end": { - "line": 261, + "line": 256, "column": 27 }, "identifierName": "surfer" @@ -17544,15 +17679,15 @@ }, "property": { "type": "Identifier", - "start": 9825, - "end": 9827, + "start": 9681, + "end": 9683, "loc": { "start": { - "line": 261, + "line": 256, "column": 28 }, "end": { - "line": 261, + "line": 256, "column": 30 }, "identifierName": "on" @@ -17564,29 +17699,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9828, - "end": 9846, + "start": 9684, + "end": 9702, "loc": { "start": { - "line": 261, + "line": 256, "column": 31 }, "end": { - "line": 261, + "line": 256, "column": 49 } }, "object": { "type": "Identifier", - "start": 9828, - "end": 9833, + "start": 9684, + "end": 9689, "loc": { "start": { - "line": 261, + "line": 256, "column": 31 }, "end": { - "line": 261, + "line": 256, "column": 36 }, "identifierName": "Event" @@ -17595,15 +17730,15 @@ }, "property": { "type": "Identifier", - "start": 9834, - "end": 9846, + "start": 9690, + "end": 9702, "loc": { "start": { - "line": 261, + "line": 256, "column": 37 }, "end": { - "line": 261, + "line": 256, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -17614,44 +17749,44 @@ }, { "type": "MemberExpression", - "start": 9848, - "end": 9867, + "start": 9704, + "end": 9723, "loc": { "start": { - "line": 261, + "line": 256, "column": 51 }, "end": { - "line": 261, + "line": 256, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9848, - "end": 9852, + "start": 9704, + "end": 9708, "loc": { "start": { - "line": 261, + "line": 256, "column": 51 }, "end": { - "line": 261, + "line": 256, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9853, - "end": 9867, + "start": 9709, + "end": 9723, "loc": { "start": { - "line": 261, + "line": 256, "column": 56 }, "end": { - "line": 261, + "line": 256, "column": 70 }, "identifierName": "surferProgress" @@ -17665,86 +17800,86 @@ }, { "type": "ExpressionStatement", - "start": 9886, - "end": 9930, + "start": 9742, + "end": 9786, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9886, - "end": 9929, + "start": 9742, + "end": 9785, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9886, - "end": 9900, + "start": 9742, + "end": 9756, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9886, - "end": 9897, + "start": 9742, + "end": 9753, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9886, - "end": 9890, + "start": 9742, + "end": 9746, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9891, - "end": 9897, + "start": 9747, + "end": 9753, "loc": { "start": { - "line": 262, + "line": 257, "column": 21 }, "end": { - "line": 262, + "line": 257, "column": 27 }, "identifierName": "surfer" @@ -17755,15 +17890,15 @@ }, "property": { "type": "Identifier", - "start": 9898, - "end": 9900, + "start": 9754, + "end": 9756, "loc": { "start": { - "line": 262, + "line": 257, "column": 28 }, "end": { - "line": 262, + "line": 257, "column": 30 }, "identifierName": "on" @@ -17775,29 +17910,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9901, - "end": 9911, + "start": 9757, + "end": 9767, "loc": { "start": { - "line": 262, + "line": 257, "column": 31 }, "end": { - "line": 262, + "line": 257, "column": 41 } }, "object": { "type": "Identifier", - "start": 9901, - "end": 9906, + "start": 9757, + "end": 9762, "loc": { "start": { - "line": 262, + "line": 257, "column": 31 }, "end": { - "line": 262, + "line": 257, "column": 36 }, "identifierName": "Event" @@ -17806,15 +17941,15 @@ }, "property": { "type": "Identifier", - "start": 9907, - "end": 9911, + "start": 9763, + "end": 9767, "loc": { "start": { - "line": 262, + "line": 257, "column": 37 }, "end": { - "line": 262, + "line": 257, "column": 41 }, "identifierName": "SEEK" @@ -17825,44 +17960,44 @@ }, { "type": "MemberExpression", - "start": 9913, - "end": 9928, + "start": 9769, + "end": 9784, "loc": { "start": { - "line": 262, + "line": 257, "column": 43 }, "end": { - "line": 262, + "line": 257, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9913, - "end": 9917, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 262, + "line": 257, "column": 43 }, "end": { - "line": 262, + "line": 257, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9918, - "end": 9928, + "start": 9774, + "end": 9784, "loc": { "start": { - "line": 262, + "line": 257, "column": 48 }, "end": { - "line": 262, + "line": 257, "column": 58 }, "identifierName": "surferSeek" @@ -17893,15 +18028,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -17911,15 +18046,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -17928,15 +18063,15 @@ }, { "type": "ClassMethod", - "start": 10263, - "end": 10909, + "start": 10119, + "end": 10765, "loc": { "start": { - "line": 275, + "line": 270, "column": 4 }, "end": { - "line": 293, + "line": 288, "column": 5 } }, @@ -17944,15 +18079,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10263, - "end": 10267, + "start": 10119, + "end": 10123, "loc": { "start": { - "line": 275, + "line": 270, "column": 4 }, "end": { - "line": 275, + "line": 270, "column": 8 }, "identifierName": "load" @@ -17968,15 +18103,15 @@ "params": [ { "type": "Identifier", - "start": 10268, - "end": 10271, + "start": 10124, + "end": 10127, "loc": { "start": { - "line": 275, + "line": 270, "column": 9 }, "end": { - "line": 275, + "line": 270, "column": 12 }, "identifierName": "url" @@ -17985,15 +18120,15 @@ }, { "type": "Identifier", - "start": 10273, - "end": 10278, + "start": 10129, + "end": 10134, "loc": { "start": { - "line": 275, + "line": 270, "column": 14 }, "end": { - "line": 275, + "line": 270, "column": 19 }, "identifierName": "peaks" @@ -18003,72 +18138,72 @@ ], "body": { "type": "BlockStatement", - "start": 10280, - "end": 10909, + "start": 10136, + "end": 10765, "loc": { "start": { - "line": 275, + "line": 270, "column": 21 }, "end": { - "line": 293, + "line": 288, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10290, - "end": 10903, + "start": 10146, + "end": 10759, "loc": { "start": { - "line": 276, + "line": 271, "column": 8 }, "end": { - "line": 292, + "line": 287, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10294, - "end": 10336, + "start": 10150, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10294, - "end": 10313, + "start": 10150, + "end": 10169, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 31 } }, "left": { "type": "Identifier", - "start": 10294, - "end": 10297, + "start": 10150, + "end": 10153, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 15 }, "identifierName": "url" @@ -18078,15 +18213,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10309, - "end": 10313, + "start": 10165, + "end": 10169, "loc": { "start": { - "line": 276, + "line": 271, "column": 27 }, "end": { - "line": 276, + "line": 271, "column": 31 }, "identifierName": "Blob" @@ -18097,29 +18232,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10317, - "end": 10336, + "start": 10173, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 35 }, "end": { - "line": 276, + "line": 271, "column": 54 } }, "left": { "type": "Identifier", - "start": 10317, - "end": 10320, + "start": 10173, + "end": 10176, "loc": { "start": { - "line": 276, + "line": 271, "column": 35 }, "end": { - "line": 276, + "line": 271, "column": 38 }, "identifierName": "url" @@ -18129,15 +18264,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10332, - "end": 10336, + "start": 10188, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 50 }, "end": { - "line": 276, + "line": 271, "column": 54 }, "identifierName": "File" @@ -18148,87 +18283,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10338, - "end": 10452, + "start": 10194, + "end": 10308, "loc": { "start": { - "line": 276, + "line": 271, "column": 56 }, "end": { - "line": 279, + "line": 274, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10352, - "end": 10403, + "start": 10208, + "end": 10259, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10352, - "end": 10402, + "start": 10208, + "end": 10258, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10352, - "end": 10360, + "start": 10208, + "end": 10216, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10352, - "end": 10356, + "start": 10208, + "end": 10212, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10357, - "end": 10360, + "start": 10213, + "end": 10216, "loc": { "start": { - "line": 277, + "line": 272, "column": 17 }, "end": { - "line": 277, + "line": 272, "column": 20 }, "identifierName": "log" @@ -18240,29 +18375,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10361, - "end": 10401, + "start": 10217, + "end": 10257, "loc": { "start": { - "line": 277, + "line": 272, "column": 21 }, "end": { - "line": 277, + "line": 272, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10361, - "end": 10379, + "start": 10217, + "end": 10235, "loc": { "start": { - "line": 277, + "line": 272, "column": 21 }, "end": { - "line": 277, + "line": 272, "column": 39 } }, @@ -18275,43 +18410,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10382, - "end": 10401, + "start": 10238, + "end": 10257, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10382, - "end": 10396, + "start": 10238, + "end": 10252, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 56 } }, "object": { "type": "Identifier", - "start": 10382, - "end": 10386, + "start": 10238, + "end": 10242, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 46 }, "identifierName": "JSON" @@ -18320,15 +18455,15 @@ }, "property": { "type": "Identifier", - "start": 10387, - "end": 10396, + "start": 10243, + "end": 10252, "loc": { "start": { - "line": 277, + "line": 272, "column": 47 }, "end": { - "line": 277, + "line": 272, "column": 56 }, "identifierName": "stringify" @@ -18340,15 +18475,15 @@ "arguments": [ { "type": "Identifier", - "start": 10397, - "end": 10400, + "start": 10253, + "end": 10256, "loc": { "start": { - "line": 277, + "line": 272, "column": 57 }, "end": { - "line": 277, + "line": 272, "column": 60 }, "identifierName": "url" @@ -18363,86 +18498,86 @@ }, { "type": "ExpressionStatement", - "start": 10416, - "end": 10442, + "start": 10272, + "end": 10298, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10416, - "end": 10441, + "start": 10272, + "end": 10297, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10416, - "end": 10436, + "start": 10272, + "end": 10292, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10416, - "end": 10427, + "start": 10272, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10416, - "end": 10420, + "start": 10272, + "end": 10276, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10421, - "end": 10427, + "start": 10277, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 273, "column": 17 }, "end": { - "line": 278, + "line": 273, "column": 23 }, "identifierName": "surfer" @@ -18453,15 +18588,15 @@ }, "property": { "type": "Identifier", - "start": 10428, - "end": 10436, + "start": 10284, + "end": 10292, "loc": { "start": { - "line": 278, + "line": 273, "column": 24 }, "end": { - "line": 278, + "line": 273, "column": 32 }, "identifierName": "loadBlob" @@ -18473,15 +18608,15 @@ "arguments": [ { "type": "Identifier", - "start": 10437, - "end": 10440, + "start": 10293, + "end": 10296, "loc": { "start": { - "line": 278, + "line": 273, "column": 33 }, "end": { - "line": 278, + "line": 273, "column": 36 }, "identifierName": "url" @@ -18496,58 +18631,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10458, - "end": 10903, + "start": 10314, + "end": 10759, "loc": { "start": { - "line": 279, + "line": 274, "column": 15 }, "end": { - "line": 292, + "line": 287, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10521, - "end": 10893, + "start": 10377, + "end": 10749, "loc": { "start": { - "line": 281, + "line": 276, "column": 12 }, "end": { - "line": 291, + "line": 286, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10525, - "end": 10544, + "start": 10381, + "end": 10400, "loc": { "start": { - "line": 281, + "line": 276, "column": 16 }, "end": { - "line": 281, + "line": 276, "column": 35 } }, "left": { "type": "Identifier", - "start": 10525, - "end": 10530, + "start": 10381, + "end": 10386, "loc": { "start": { - "line": 281, + "line": 276, "column": 16 }, "end": { - "line": 281, + "line": 276, "column": 21 }, "identifierName": "peaks" @@ -18558,15 +18693,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10535, - "end": 10544, + "start": 10391, + "end": 10400, "loc": { "start": { - "line": 281, + "line": 276, "column": 26 }, "end": { - "line": 281, + "line": 276, "column": 35 }, "identifierName": "undefined" @@ -18577,87 +18712,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10546, - "end": 10605, + "start": 10402, + "end": 10461, "loc": { "start": { - "line": 281, + "line": 276, "column": 37 }, "end": { - "line": 283, + "line": 278, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10564, - "end": 10591, + "start": 10420, + "end": 10447, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10564, - "end": 10590, + "start": 10420, + "end": 10446, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10564, - "end": 10578, + "start": 10420, + "end": 10434, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10564, - "end": 10568, + "start": 10420, + "end": 10424, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10569, - "end": 10578, + "start": 10425, + "end": 10434, "loc": { "start": { - "line": 282, + "line": 277, "column": 21 }, "end": { - "line": 282, + "line": 277, "column": 30 }, "identifierName": "loadPeaks" @@ -18669,15 +18804,15 @@ "arguments": [ { "type": "Identifier", - "start": 10579, - "end": 10582, + "start": 10435, + "end": 10438, "loc": { "start": { - "line": 282, + "line": 277, "column": 31 }, "end": { - "line": 282, + "line": 277, "column": 34 }, "identifierName": "url" @@ -18686,15 +18821,15 @@ }, { "type": "Identifier", - "start": 10584, - "end": 10589, + "start": 10440, + "end": 10445, "loc": { "start": { - "line": 282, + "line": 277, "column": 36 }, "end": { - "line": 282, + "line": 277, "column": 41 }, "identifierName": "peaks" @@ -18709,58 +18844,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10611, - "end": 10893, + "start": 10467, + "end": 10749, "loc": { "start": { - "line": 283, + "line": 278, "column": 19 }, "end": { - "line": 291, + "line": 286, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10657, - "end": 10840, + "start": 10513, + "end": 10696, "loc": { "start": { - "line": 285, + "line": 280, "column": 16 }, "end": { - "line": 289, + "line": 284, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10661, - "end": 10684, + "start": 10517, + "end": 10540, "loc": { "start": { - "line": 285, + "line": 280, "column": 20 }, "end": { - "line": 285, + "line": 280, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10661, - "end": 10671, + "start": 10517, + "end": 10527, "loc": { "start": { - "line": 285, + "line": 280, "column": 20 }, "end": { - "line": 285, + "line": 280, "column": 30 } }, @@ -18768,15 +18903,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10668, - "end": 10671, + "start": 10524, + "end": 10527, "loc": { "start": { - "line": 285, + "line": 280, "column": 27 }, "end": { - "line": 285, + "line": 280, "column": 30 }, "identifierName": "url" @@ -18792,15 +18927,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10676, - "end": 10684, + "start": 10532, + "end": 10540, "loc": { "start": { - "line": 285, + "line": 280, "column": 35 }, "end": { - "line": 285, + "line": 280, "column": 43 } }, @@ -18814,87 +18949,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10686, - "end": 10758, + "start": 10542, + "end": 10614, "loc": { "start": { - "line": 285, + "line": 280, "column": 45 }, "end": { - "line": 287, + "line": 282, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10708, - "end": 10740, + "start": 10564, + "end": 10596, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10708, - "end": 10739, + "start": 10564, + "end": 10595, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10708, - "end": 10716, + "start": 10564, + "end": 10572, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10708, - "end": 10712, + "start": 10564, + "end": 10568, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10713, - "end": 10716, + "start": 10569, + "end": 10572, "loc": { "start": { - "line": 286, + "line": 281, "column": 25 }, "end": { - "line": 286, + "line": 281, "column": 28 }, "identifierName": "log" @@ -18906,29 +19041,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10717, - "end": 10738, + "start": 10573, + "end": 10594, "loc": { "start": { - "line": 286, + "line": 281, "column": 29 }, "end": { - "line": 286, + "line": 281, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10717, - "end": 10732, + "start": 10573, + "end": 10588, "loc": { "start": { - "line": 286, + "line": 281, "column": 29 }, "end": { - "line": 286, + "line": 281, "column": 44 } }, @@ -18941,15 +19076,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10735, - "end": 10738, + "start": 10591, + "end": 10594, "loc": { "start": { - "line": 286, + "line": 281, "column": 47 }, "end": { - "line": 286, + "line": 281, "column": 50 }, "identifierName": "url" @@ -18965,87 +19100,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10764, - "end": 10840, + "start": 10620, + "end": 10696, "loc": { "start": { - "line": 287, + "line": 282, "column": 23 }, "end": { - "line": 289, + "line": 284, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10786, - "end": 10822, + "start": 10642, + "end": 10678, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10786, - "end": 10821, + "start": 10642, + "end": 10677, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10786, - "end": 10794, + "start": 10642, + "end": 10650, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10786, - "end": 10790, + "start": 10642, + "end": 10646, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10791, - "end": 10794, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 288, + "line": 283, "column": 25 }, "end": { - "line": 288, + "line": 283, "column": 28 }, "identifierName": "log" @@ -19057,29 +19192,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10795, - "end": 10820, + "start": 10651, + "end": 10676, "loc": { "start": { - "line": 288, + "line": 283, "column": 29 }, "end": { - "line": 288, + "line": 283, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10795, - "end": 10814, + "start": 10651, + "end": 10670, "loc": { "start": { - "line": 288, + "line": 283, "column": 29 }, "end": { - "line": 288, + "line": 283, "column": 48 } }, @@ -19092,15 +19227,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10817, - "end": 10820, + "start": 10673, + "end": 10676, "loc": { "start": { - "line": 288, + "line": 283, "column": 51 }, "end": { - "line": 288, + "line": 283, "column": 54 }, "identifierName": "url" @@ -19118,15 +19253,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10629, - "end": 10640, + "start": 10485, + "end": 10496, "loc": { "start": { - "line": 284, + "line": 279, "column": 16 }, "end": { - "line": 284, + "line": 279, "column": 27 } } @@ -19135,86 +19270,86 @@ }, { "type": "ExpressionStatement", - "start": 10857, - "end": 10879, + "start": 10713, + "end": 10735, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10857, - "end": 10878, + "start": 10713, + "end": 10734, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10857, - "end": 10873, + "start": 10713, + "end": 10729, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10857, - "end": 10868, + "start": 10713, + "end": 10724, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10857, - "end": 10861, + "start": 10713, + "end": 10717, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10862, - "end": 10868, + "start": 10718, + "end": 10724, "loc": { "start": { - "line": 290, + "line": 285, "column": 21 }, "end": { - "line": 290, + "line": 285, "column": 27 }, "identifierName": "surfer" @@ -19225,15 +19360,15 @@ }, "property": { "type": "Identifier", - "start": 10869, - "end": 10873, + "start": 10725, + "end": 10729, "loc": { "start": { - "line": 290, + "line": 285, "column": 28 }, "end": { - "line": 290, + "line": 285, "column": 32 }, "identifierName": "load" @@ -19245,15 +19380,15 @@ "arguments": [ { "type": "Identifier", - "start": 10874, - "end": 10877, + "start": 10730, + "end": 10733, "loc": { "start": { - "line": 290, + "line": 285, "column": 33 }, "end": { - "line": 290, + "line": 285, "column": 36 }, "identifierName": "url" @@ -19270,15 +19405,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10472, - "end": 10508, + "start": 10328, + "end": 10364, "loc": { "start": { - "line": 280, + "line": 275, "column": 12 }, "end": { - "line": 280, + "line": 275, "column": 48 } } @@ -19297,15 +19432,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -19315,15 +19450,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -19332,15 +19467,15 @@ }, { "type": "ClassMethod", - "start": 11212, - "end": 12665, + "start": 11068, + "end": 12521, "loc": { "start": { - "line": 303, + "line": 298, "column": 4 }, "end": { - "line": 339, + "line": 334, "column": 5 } }, @@ -19348,15 +19483,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11212, - "end": 11221, + "start": 11068, + "end": 11077, "loc": { "start": { - "line": 303, + "line": 298, "column": 4 }, "end": { - "line": 303, + "line": 298, "column": 13 }, "identifierName": "loadPeaks" @@ -19372,15 +19507,15 @@ "params": [ { "type": "Identifier", - "start": 11222, - "end": 11225, + "start": 11078, + "end": 11081, "loc": { "start": { - "line": 303, + "line": 298, "column": 14 }, "end": { - "line": 303, + "line": 298, "column": 17 }, "identifierName": "url" @@ -19389,15 +19524,15 @@ }, { "type": "Identifier", - "start": 11227, - "end": 11232, + "start": 11083, + "end": 11088, "loc": { "start": { - "line": 303, + "line": 298, "column": 19 }, "end": { - "line": 303, + "line": 298, "column": 24 }, "identifierName": "peaks" @@ -19407,72 +19542,72 @@ ], "body": { "type": "BlockStatement", - "start": 11234, - "end": 12665, + "start": 11090, + "end": 12521, "loc": { "start": { - "line": 303, + "line": 298, "column": 26 }, "end": { - "line": 339, + "line": 334, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11244, - "end": 12659, + "start": 11100, + "end": 12515, "loc": { "start": { - "line": 304, + "line": 299, "column": 8 }, "end": { - "line": 338, + "line": 333, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11248, - "end": 11268, + "start": 11104, + "end": 11124, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11248, - "end": 11261, + "start": 11104, + "end": 11117, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 25 } }, "object": { "type": "Identifier", - "start": 11248, - "end": 11253, + "start": 11104, + "end": 11109, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 17 }, "identifierName": "Array" @@ -19481,15 +19616,15 @@ }, "property": { "type": "Identifier", - "start": 11254, - "end": 11261, + "start": 11110, + "end": 11117, "loc": { "start": { - "line": 304, + "line": 299, "column": 18 }, "end": { - "line": 304, + "line": 299, "column": 25 }, "identifierName": "isArray" @@ -19501,15 +19636,15 @@ "arguments": [ { "type": "Identifier", - "start": 11262, - "end": 11267, + "start": 11118, + "end": 11123, "loc": { "start": { - "line": 304, + "line": 299, "column": 26 }, "end": { - "line": 304, + "line": 299, "column": 31 }, "identifierName": "peaks" @@ -19520,72 +19655,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11270, - "end": 11427, + "start": 11126, + "end": 11283, "loc": { "start": { - "line": 304, + "line": 299, "column": 34 }, "end": { - "line": 308, + "line": 303, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11323, - "end": 11375, + "start": 11179, + "end": 11231, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11323, - "end": 11374, + "start": 11179, + "end": 11230, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11323, - "end": 11331, + "start": 11179, + "end": 11187, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11323, - "end": 11327, + "start": 11179, + "end": 11183, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 16 } }, @@ -19593,15 +19728,15 @@ }, "property": { "type": "Identifier", - "start": 11328, - "end": 11331, + "start": 11184, + "end": 11187, "loc": { "start": { - "line": 306, + "line": 301, "column": 17 }, "end": { - "line": 306, + "line": 301, "column": 20 }, "identifierName": "log" @@ -19614,29 +19749,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11332, - "end": 11373, + "start": 11188, + "end": 11229, "loc": { "start": { - "line": 306, + "line": 301, "column": 21 }, "end": { - "line": 306, + "line": 301, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11332, - "end": 11367, + "start": 11188, + "end": 11223, "loc": { "start": { - "line": 306, + "line": 301, "column": 21 }, "end": { - "line": 306, + "line": 301, "column": 56 } }, @@ -19649,15 +19784,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11370, - "end": 11373, + "start": 11226, + "end": 11229, "loc": { "start": { - "line": 306, + "line": 301, "column": 59 }, "end": { - "line": 306, + "line": 301, "column": 62 }, "identifierName": "url" @@ -19672,15 +19807,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11284, - "end": 11310, + "start": 11140, + "end": 11166, "loc": { "start": { - "line": 305, + "line": 300, "column": 12 }, "end": { - "line": 305, + "line": 300, "column": 38 } } @@ -19689,86 +19824,86 @@ }, { "type": "ExpressionStatement", - "start": 11388, - "end": 11417, + "start": 11244, + "end": 11273, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11388, - "end": 11416, + "start": 11244, + "end": 11272, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11388, - "end": 11404, + "start": 11244, + "end": 11260, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11388, - "end": 11399, + "start": 11244, + "end": 11255, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11388, - "end": 11392, + "start": 11244, + "end": 11248, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11393, - "end": 11399, + "start": 11249, + "end": 11255, "loc": { "start": { - "line": 307, + "line": 302, "column": 17 }, "end": { - "line": 307, + "line": 302, "column": 23 }, "identifierName": "surfer" @@ -19779,15 +19914,15 @@ }, "property": { "type": "Identifier", - "start": 11400, - "end": 11404, + "start": 11256, + "end": 11260, "loc": { "start": { - "line": 307, + "line": 302, "column": 24 }, "end": { - "line": 307, + "line": 302, "column": 28 }, "identifierName": "load" @@ -19799,15 +19934,15 @@ "arguments": [ { "type": "Identifier", - "start": 11405, - "end": 11408, + "start": 11261, + "end": 11264, "loc": { "start": { - "line": 307, + "line": 302, "column": 29 }, "end": { - "line": 307, + "line": 302, "column": 32 }, "identifierName": "url" @@ -19816,15 +19951,15 @@ }, { "type": "Identifier", - "start": 11410, - "end": 11415, + "start": 11266, + "end": 11271, "loc": { "start": { - "line": 307, + "line": 302, "column": 34 }, "end": { - "line": 307, + "line": 302, "column": 39 }, "identifierName": "peaks" @@ -19839,59 +19974,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11433, - "end": 12659, + "start": 11289, + "end": 12515, "loc": { "start": { - "line": 308, + "line": 303, "column": 15 }, "end": { - "line": 338, + "line": 333, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11487, - "end": 11589, + "start": 11343, + "end": 11445, "loc": { "start": { - "line": 310, + "line": 305, "column": 12 }, "end": { - "line": 313, + "line": 308, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11491, - "end": 11588, + "start": 11347, + "end": 11444, "loc": { "start": { - "line": 310, + "line": 305, "column": 16 }, "end": { - "line": 313, + "line": 308, "column": 13 } }, "id": { "type": "Identifier", - "start": 11491, - "end": 11505, + "start": 11347, + "end": 11361, "loc": { "start": { - "line": 310, + "line": 305, "column": 16 }, "end": { - "line": 310, + "line": 305, "column": 30 }, "identifierName": "requestOptions" @@ -19901,30 +20036,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11508, - "end": 11588, + "start": 11364, + "end": 11444, "loc": { "start": { - "line": 310, + "line": 305, "column": 33 }, "end": { - "line": 313, + "line": 308, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11526, - "end": 11536, + "start": 11382, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 306, "column": 16 }, "end": { - "line": 311, + "line": 306, "column": 26 } }, @@ -19933,15 +20068,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11526, - "end": 11529, + "start": 11382, + "end": 11385, "loc": { "start": { - "line": 311, + "line": 306, "column": 16 }, "end": { - "line": 311, + "line": 306, "column": 19 }, "identifierName": "url" @@ -19950,15 +20085,15 @@ }, "value": { "type": "Identifier", - "start": 11531, - "end": 11536, + "start": 11387, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 306, "column": 21 }, "end": { - "line": 311, + "line": 306, "column": 26 }, "identifierName": "peaks" @@ -19968,15 +20103,15 @@ }, { "type": "ObjectProperty", - "start": 11554, - "end": 11574, + "start": 11410, + "end": 11430, "loc": { "start": { - "line": 312, + "line": 307, "column": 16 }, "end": { - "line": 312, + "line": 307, "column": 36 } }, @@ -19985,15 +20120,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11554, - "end": 11566, + "start": 11410, + "end": 11422, "loc": { "start": { - "line": 312, + "line": 307, "column": 16 }, "end": { - "line": 312, + "line": 307, "column": 28 }, "identifierName": "responseType" @@ -20002,15 +20137,15 @@ }, "value": { "type": "StringLiteral", - "start": 11568, - "end": 11574, + "start": 11424, + "end": 11430, "loc": { "start": { - "line": 312, + "line": 307, "column": 30 }, "end": { - "line": 312, + "line": 307, "column": 36 } }, @@ -20031,15 +20166,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11447, - "end": 11474, + "start": 11303, + "end": 11330, "loc": { "start": { - "line": 309, + "line": 304, "column": 12 }, "end": { - "line": 309, + "line": 304, "column": 39 } } @@ -20049,15 +20184,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -20066,113 +20201,113 @@ }, { "type": "IfStatement", - "start": 11645, - "end": 11805, + "start": 11501, + "end": 11661, "loc": { "start": { - "line": 316, + "line": 311, "column": 12 }, "end": { - "line": 318, + "line": 313, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11649, - "end": 11706, + "start": 11505, + "end": 11562, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11649, - "end": 11692, + "start": 11505, + "end": 11548, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11688, + "start": 11505, + "end": 11544, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11677, + "start": 11505, + "end": 11533, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11669, + "start": 11505, + "end": 11525, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11660, + "start": 11505, + "end": 11516, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11649, - "end": 11653, + "start": 11505, + "end": 11509, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 20 } }, @@ -20180,15 +20315,15 @@ }, "property": { "type": "Identifier", - "start": 11654, - "end": 11660, + "start": 11510, + "end": 11516, "loc": { "start": { - "line": 316, + "line": 311, "column": 21 }, "end": { - "line": 316, + "line": 311, "column": 27 }, "identifierName": "player" @@ -20200,15 +20335,15 @@ }, "property": { "type": "Identifier", - "start": 11661, - "end": 11669, + "start": 11517, + "end": 11525, "loc": { "start": { - "line": 316, + "line": 311, "column": 28 }, "end": { - "line": 316, + "line": 311, "column": 36 }, "identifierName": "options_" @@ -20220,15 +20355,15 @@ }, "property": { "type": "Identifier", - "start": 11670, - "end": 11677, + "start": 11526, + "end": 11533, "loc": { "start": { - "line": 316, + "line": 311, "column": 37 }, "end": { - "line": 316, + "line": 311, "column": 44 }, "identifierName": "plugins" @@ -20240,15 +20375,15 @@ }, "property": { "type": "Identifier", - "start": 11678, - "end": 11688, + "start": 11534, + "end": 11544, "loc": { "start": { - "line": 316, + "line": 311, "column": 45 }, "end": { - "line": 316, + "line": 311, "column": 55 }, "identifierName": "wavesurfer" @@ -20260,15 +20395,15 @@ }, "property": { "type": "Identifier", - "start": 11689, - "end": 11692, + "start": 11545, + "end": 11548, "loc": { "start": { - "line": 316, + "line": 311, "column": 56 }, "end": { - "line": 316, + "line": 311, "column": 59 }, "identifierName": "xhr" @@ -20281,15 +20416,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11697, - "end": 11706, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 316, + "line": 311, "column": 64 }, "end": { - "line": 316, + "line": 311, "column": 73 }, "identifierName": "undefined" @@ -20300,73 +20435,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11708, - "end": 11805, + "start": 11564, + "end": 11661, "loc": { "start": { - "line": 316, + "line": 311, "column": 75 }, "end": { - "line": 318, + "line": 313, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11726, - "end": 11791, + "start": 11582, + "end": 11647, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11726, - "end": 11790, + "start": 11582, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11726, - "end": 11744, + "start": 11582, + "end": 11600, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 34 } }, "object": { "type": "Identifier", - "start": 11726, - "end": 11740, + "start": 11582, + "end": 11596, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 30 }, "identifierName": "requestOptions" @@ -20375,15 +20510,15 @@ }, "property": { "type": "Identifier", - "start": 11741, - "end": 11744, + "start": 11597, + "end": 11600, "loc": { "start": { - "line": 317, + "line": 312, "column": 31 }, "end": { - "line": 317, + "line": 312, "column": 34 }, "identifierName": "xhr" @@ -20394,100 +20529,100 @@ }, "right": { "type": "MemberExpression", - "start": 11747, - "end": 11790, + "start": 11603, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11786, + "start": 11603, + "end": 11642, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11775, + "start": 11603, + "end": 11631, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11767, + "start": 11603, + "end": 11623, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11758, + "start": 11603, + "end": 11614, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11747, - "end": 11751, + "start": 11603, + "end": 11607, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11752, - "end": 11758, + "start": 11608, + "end": 11614, "loc": { "start": { - "line": 317, + "line": 312, "column": 42 }, "end": { - "line": 317, + "line": 312, "column": 48 }, "identifierName": "player" @@ -20498,15 +20633,15 @@ }, "property": { "type": "Identifier", - "start": 11759, - "end": 11767, + "start": 11615, + "end": 11623, "loc": { "start": { - "line": 317, + "line": 312, "column": 49 }, "end": { - "line": 317, + "line": 312, "column": 57 }, "identifierName": "options_" @@ -20517,15 +20652,15 @@ }, "property": { "type": "Identifier", - "start": 11768, - "end": 11775, + "start": 11624, + "end": 11631, "loc": { "start": { - "line": 317, + "line": 312, "column": 58 }, "end": { - "line": 317, + "line": 312, "column": 65 }, "identifierName": "plugins" @@ -20536,15 +20671,15 @@ }, "property": { "type": "Identifier", - "start": 11776, - "end": 11786, + "start": 11632, + "end": 11642, "loc": { "start": { - "line": 317, + "line": 312, "column": 66 }, "end": { - "line": 317, + "line": 312, "column": 76 }, "identifierName": "wavesurfer" @@ -20555,15 +20690,15 @@ }, "property": { "type": "Identifier", - "start": 11787, - "end": 11790, + "start": 11643, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 77 }, "end": { - "line": 317, + "line": 312, "column": 80 }, "identifierName": "xhr" @@ -20582,15 +20717,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -20599,44 +20734,44 @@ }, { "type": "VariableDeclaration", - "start": 11818, - "end": 11874, + "start": 11674, + "end": 11730, "loc": { "start": { - "line": 319, + "line": 314, "column": 12 }, "end": { - "line": 319, + "line": 314, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11822, - "end": 11873, + "start": 11678, + "end": 11729, "loc": { "start": { - "line": 319, + "line": 314, "column": 16 }, "end": { - "line": 319, + "line": 314, "column": 67 } }, "id": { "type": "Identifier", - "start": 11822, - "end": 11829, + "start": 11678, + "end": 11685, "loc": { "start": { - "line": 319, + "line": 314, "column": 16 }, "end": { - "line": 319, + "line": 314, "column": 23 }, "identifierName": "request" @@ -20645,57 +20780,57 @@ }, "init": { "type": "CallExpression", - "start": 11832, - "end": 11873, + "start": 11688, + "end": 11729, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11832, - "end": 11857, + "start": 11688, + "end": 11713, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11832, - "end": 11847, + "start": 11688, + "end": 11703, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 41 } }, "object": { "type": "Identifier", - "start": 11832, - "end": 11842, + "start": 11688, + "end": 11698, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 36 }, "identifierName": "WaveSurfer" @@ -20704,15 +20839,15 @@ }, "property": { "type": "Identifier", - "start": 11843, - "end": 11847, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 319, + "line": 314, "column": 37 }, "end": { - "line": 319, + "line": 314, "column": 41 }, "identifierName": "util" @@ -20723,15 +20858,15 @@ }, "property": { "type": "Identifier", - "start": 11848, - "end": 11857, + "start": 11704, + "end": 11713, "loc": { "start": { - "line": 319, + "line": 314, "column": 42 }, "end": { - "line": 319, + "line": 314, "column": 51 }, "identifierName": "fetchFile" @@ -20743,15 +20878,15 @@ "arguments": [ { "type": "Identifier", - "start": 11858, - "end": 11872, + "start": 11714, + "end": 11728, "loc": { "start": { - "line": 319, + "line": 314, "column": 52 }, "end": { - "line": 319, + "line": 314, "column": 66 }, "identifierName": "requestOptions" @@ -20766,57 +20901,57 @@ }, { "type": "ExpressionStatement", - "start": 11888, - "end": 12360, + "start": 11744, + "end": 12216, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 331, + "line": 326, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 11888, - "end": 12359, + "start": 11744, + "end": 12215, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 331, + "line": 326, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 11888, - "end": 11900, + "start": 11744, + "end": 11756, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 321, + "line": 316, "column": 24 } }, "object": { "type": "Identifier", - "start": 11888, - "end": 11895, + "start": 11744, + "end": 11751, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 321, + "line": 316, "column": 19 }, "identifierName": "request" @@ -20825,15 +20960,15 @@ }, "property": { "type": "Identifier", - "start": 11896, - "end": 11900, + "start": 11752, + "end": 11756, "loc": { "start": { - "line": 321, + "line": 316, "column": 20 }, "end": { - "line": 321, + "line": 316, "column": 24 }, "identifierName": "once" @@ -20845,15 +20980,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11901, - "end": 11910, + "start": 11757, + "end": 11766, "loc": { "start": { - "line": 321, + "line": 316, "column": 25 }, "end": { - "line": 321, + "line": 316, "column": 34 } }, @@ -20865,15 +21000,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 11912, - "end": 12358, + "start": 11768, + "end": 12214, "loc": { "start": { - "line": 321, + "line": 316, "column": 36 }, "end": { - "line": 331, + "line": 326, "column": 13 } }, @@ -20884,15 +21019,15 @@ "params": [ { "type": "Identifier", - "start": 11912, - "end": 11916, + "start": 11768, + "end": 11772, "loc": { "start": { - "line": 321, + "line": 316, "column": 36 }, "end": { - "line": 321, + "line": 316, "column": 40 }, "identifierName": "data" @@ -20902,87 +21037,87 @@ ], "body": { "type": "BlockStatement", - "start": 11920, - "end": 12358, + "start": 11776, + "end": 12214, "loc": { "start": { - "line": 321, + "line": 316, "column": 44 }, "end": { - "line": 331, + "line": 326, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11938, - "end": 11981, + "start": 11794, + "end": 11837, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 11938, - "end": 11980, + "start": 11794, + "end": 11836, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 11938, - "end": 11946, + "start": 11794, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11938, - "end": 11942, + "start": 11794, + "end": 11798, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 20 } } }, "property": { "type": "Identifier", - "start": 11943, - "end": 11946, + "start": 11799, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 317, "column": 21 }, "end": { - "line": 322, + "line": 317, "column": 24 }, "identifierName": "log" @@ -20994,29 +21129,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11947, - "end": 11979, + "start": 11803, + "end": 11835, "loc": { "start": { - "line": 322, + "line": 317, "column": 25 }, "end": { - "line": 322, + "line": 317, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 11947, - "end": 11971, + "start": 11803, + "end": 11827, "loc": { "start": { - "line": 322, + "line": 317, "column": 25 }, "end": { - "line": 322, + "line": 317, "column": 49 } }, @@ -21029,15 +21164,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11974, - "end": 11979, + "start": 11830, + "end": 11835, "loc": { "start": { - "line": 322, + "line": 317, "column": 52 }, "end": { - "line": 322, + "line": 317, "column": 57 }, "identifierName": "peaks" @@ -21051,15 +21186,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -21068,43 +21203,43 @@ }, { "type": "IfStatement", - "start": 12058, - "end": 12344, + "start": 11914, + "end": 12200, "loc": { "start": { - "line": 324, + "line": 319, "column": 16 }, "end": { - "line": 330, + "line": 325, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 12062, - "end": 12079, + "start": 11918, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 20 }, "end": { - "line": 324, + "line": 319, "column": 37 } }, "left": { "type": "Identifier", - "start": 12062, - "end": 12066, + "start": 11918, + "end": 11922, "loc": { "start": { - "line": 324, + "line": 319, "column": 20 }, "end": { - "line": 324, + "line": 319, "column": 24 }, "identifierName": "data" @@ -21115,29 +21250,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 12070, - "end": 12079, + "start": 11926, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 28 }, "end": { - "line": 324, + "line": 319, "column": 37 } }, "object": { "type": "Identifier", - "start": 12070, - "end": 12074, + "start": 11926, + "end": 11930, "loc": { "start": { - "line": 324, + "line": 319, "column": 28 }, "end": { - "line": 324, + "line": 319, "column": 32 }, "identifierName": "data" @@ -21146,15 +21281,15 @@ }, "property": { "type": "Identifier", - "start": 12075, - "end": 12079, + "start": 11931, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 33 }, "end": { - "line": 324, + "line": 319, "column": 37 }, "identifierName": "data" @@ -21167,101 +21302,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 12081, - "end": 12154, + "start": 11937, + "end": 12010, "loc": { "start": { - "line": 324, + "line": 319, "column": 39 }, "end": { - "line": 326, + "line": 321, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12103, - "end": 12136, + "start": 11959, + "end": 11992, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 12103, - "end": 12135, + "start": 11959, + "end": 11991, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 12103, - "end": 12119, + "start": 11959, + "end": 11975, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12103, - "end": 12114, + "start": 11959, + "end": 11970, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12103, - "end": 12107, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12108, - "end": 12114, + "start": 11964, + "end": 11970, "loc": { "start": { - "line": 325, + "line": 320, "column": 25 }, "end": { - "line": 325, + "line": 320, "column": 31 }, "identifierName": "surfer" @@ -21272,15 +21407,15 @@ }, "property": { "type": "Identifier", - "start": 12115, - "end": 12119, + "start": 11971, + "end": 11975, "loc": { "start": { - "line": 325, + "line": 320, "column": 32 }, "end": { - "line": 325, + "line": 320, "column": 36 }, "identifierName": "load" @@ -21292,15 +21427,15 @@ "arguments": [ { "type": "Identifier", - "start": 12120, - "end": 12123, + "start": 11976, + "end": 11979, "loc": { "start": { - "line": 325, + "line": 320, "column": 37 }, "end": { - "line": 325, + "line": 320, "column": 40 }, "identifierName": "url" @@ -21309,29 +21444,29 @@ }, { "type": "MemberExpression", - "start": 12125, - "end": 12134, + "start": 11981, + "end": 11990, "loc": { "start": { - "line": 325, + "line": 320, "column": 42 }, "end": { - "line": 325, + "line": 320, "column": 51 } }, "object": { "type": "Identifier", - "start": 12125, - "end": 12129, + "start": 11981, + "end": 11985, "loc": { "start": { - "line": 325, + "line": 320, "column": 42 }, "end": { - "line": 325, + "line": 320, "column": 46 }, "identifierName": "data" @@ -21340,15 +21475,15 @@ }, "property": { "type": "Identifier", - "start": 12130, - "end": 12134, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 325, + "line": 320, "column": 47 }, "end": { - "line": 325, + "line": 320, "column": 51 }, "identifierName": "data" @@ -21365,101 +21500,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12160, - "end": 12344, + "start": 12016, + "end": 12200, "loc": { "start": { - "line": 326, + "line": 321, "column": 23 }, "end": { - "line": 330, + "line": 325, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12182, - "end": 12282, + "start": 12038, + "end": 12138, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 328, + "line": 323, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12182, - "end": 12281, + "start": 12038, + "end": 12137, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 328, + "line": 323, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12182, - "end": 12201, + "start": 12038, + "end": 12057, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12182, - "end": 12193, + "start": 12038, + "end": 12049, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12182, - "end": 12186, + "start": 12038, + "end": 12042, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12187, - "end": 12193, + "start": 12043, + "end": 12049, "loc": { "start": { - "line": 327, + "line": 322, "column": 25 }, "end": { - "line": 327, + "line": 322, "column": 31 }, "identifierName": "player" @@ -21470,15 +21605,15 @@ }, "property": { "type": "Identifier", - "start": 12194, - "end": 12201, + "start": 12050, + "end": 12057, "loc": { "start": { - "line": 327, + "line": 322, "column": 32 }, "end": { - "line": 327, + "line": 322, "column": 39 }, "identifierName": "trigger" @@ -21490,29 +21625,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12202, - "end": 12213, + "start": 12058, + "end": 12069, "loc": { "start": { - "line": 327, + "line": 322, "column": 40 }, "end": { - "line": 327, + "line": 322, "column": 51 } }, "object": { "type": "Identifier", - "start": 12202, - "end": 12207, + "start": 12058, + "end": 12063, "loc": { "start": { - "line": 327, + "line": 322, "column": 40 }, "end": { - "line": 327, + "line": 322, "column": 45 }, "identifierName": "Event" @@ -21521,15 +21656,15 @@ }, "property": { "type": "Identifier", - "start": 12208, - "end": 12213, + "start": 12064, + "end": 12069, "loc": { "start": { - "line": 327, + "line": 322, "column": 46 }, "end": { - "line": 327, + "line": 322, "column": 51 }, "identifierName": "ERROR" @@ -21540,29 +21675,29 @@ }, { "type": "BinaryExpression", - "start": 12239, - "end": 12280, + "start": 12095, + "end": 12136, "loc": { "start": { - "line": 328, + "line": 323, "column": 24 }, "end": { - "line": 328, + "line": 323, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12239, - "end": 12272, + "start": 12095, + "end": 12128, "loc": { "start": { - "line": 328, + "line": 323, "column": 24 }, "end": { - "line": 328, + "line": 323, "column": 57 } }, @@ -21575,15 +21710,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12275, - "end": 12280, + "start": 12131, + "end": 12136, "loc": { "start": { - "line": 328, + "line": 323, "column": 60 }, "end": { - "line": 328, + "line": 323, "column": 65 }, "identifierName": "peaks" @@ -21596,72 +21731,72 @@ }, { "type": "ExpressionStatement", - "start": 12303, - "end": 12326, + "start": 12159, + "end": 12182, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12303, - "end": 12325, + "start": 12159, + "end": 12181, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12303, - "end": 12311, + "start": 12159, + "end": 12167, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12303, - "end": 12307, + "start": 12159, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12308, - "end": 12311, + "start": 12164, + "end": 12167, "loc": { "start": { - "line": 329, + "line": 324, "column": 25 }, "end": { - "line": 329, + "line": 324, "column": 28 }, "identifierName": "log" @@ -21673,15 +21808,15 @@ "arguments": [ { "type": "Identifier", - "start": 12312, - "end": 12315, + "start": 12168, + "end": 12171, "loc": { "start": { - "line": 329, + "line": 324, "column": 29 }, "end": { - "line": 329, + "line": 324, "column": 32 }, "identifierName": "err" @@ -21690,15 +21825,15 @@ }, { "type": "StringLiteral", - "start": 12317, - "end": 12324, + "start": 12173, + "end": 12180, "loc": { "start": { - "line": 329, + "line": 324, "column": 34 }, "end": { - "line": 329, + "line": 324, "column": 41 } }, @@ -21718,15 +21853,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -21742,57 +21877,57 @@ }, { "type": "ExpressionStatement", - "start": 12373, - "end": 12649, + "start": 12229, + "end": 12505, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 337, + "line": 332, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12373, - "end": 12648, + "start": 12229, + "end": 12504, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 337, + "line": 332, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12373, - "end": 12383, + "start": 12229, + "end": 12239, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 332, + "line": 327, "column": 22 } }, "object": { "type": "Identifier", - "start": 12373, - "end": 12380, + "start": 12229, + "end": 12236, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 332, + "line": 327, "column": 19 }, "identifierName": "request" @@ -21801,15 +21936,15 @@ }, "property": { "type": "Identifier", - "start": 12381, - "end": 12383, + "start": 12237, + "end": 12239, "loc": { "start": { - "line": 332, + "line": 327, "column": 20 }, "end": { - "line": 332, + "line": 327, "column": 22 }, "identifierName": "on" @@ -21821,15 +21956,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12384, - "end": 12391, + "start": 12240, + "end": 12247, "loc": { "start": { - "line": 332, + "line": 327, "column": 23 }, "end": { - "line": 332, + "line": 327, "column": 30 } }, @@ -21841,15 +21976,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12393, - "end": 12647, + "start": 12249, + "end": 12503, "loc": { "start": { - "line": 332, + "line": 327, "column": 32 }, "end": { - "line": 337, + "line": 332, "column": 13 } }, @@ -21860,15 +21995,15 @@ "params": [ { "type": "Identifier", - "start": 12393, - "end": 12394, + "start": 12249, + "end": 12250, "loc": { "start": { - "line": 332, + "line": 327, "column": 32 }, "end": { - "line": 332, + "line": 327, "column": 33 }, "identifierName": "e" @@ -21878,87 +22013,87 @@ ], "body": { "type": "BlockStatement", - "start": 12398, - "end": 12647, + "start": 12254, + "end": 12503, "loc": { "start": { - "line": 332, + "line": 327, "column": 37 }, "end": { - "line": 337, + "line": 332, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12416, - "end": 12545, + "start": 12272, + "end": 12401, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 334, + "line": 329, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 12416, - "end": 12544, + "start": 12272, + "end": 12400, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 334, + "line": 329, "column": 72 } }, "callee": { "type": "MemberExpression", - "start": 12416, - "end": 12424, + "start": 12272, + "end": 12280, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 333, + "line": 328, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12416, - "end": 12420, + "start": 12272, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 333, + "line": 328, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12421, - "end": 12424, + "start": 12277, + "end": 12280, "loc": { "start": { - "line": 333, + "line": 328, "column": 21 }, "end": { - "line": 333, + "line": 328, "column": 24 }, "identifierName": "log" @@ -21970,57 +22105,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12425, - "end": 12535, + "start": 12281, + "end": 12391, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 334, + "line": 329, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12425, - "end": 12509, + "start": 12281, + "end": 12365, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 334, + "line": 329, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12425, - "end": 12469, + "start": 12281, + "end": 12325, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 333, + "line": 328, "column": 69 } }, "left": { "type": "StringLiteral", - "start": 12425, - "end": 12461, + "start": 12281, + "end": 12317, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 333, + "line": 328, "column": 61 } }, @@ -22033,15 +22168,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12464, - "end": 12469, + "start": 12320, + "end": 12325, "loc": { "start": { - "line": 333, + "line": 328, "column": 64 }, "end": { - "line": 333, + "line": 328, "column": 69 }, "identifierName": "peaks" @@ -22052,15 +22187,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12492, - "end": 12509, + "start": 12348, + "end": 12365, "loc": { "start": { - "line": 334, + "line": 329, "column": 20 }, "end": { - "line": 334, + "line": 329, "column": 37 } }, @@ -22074,43 +22209,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12512, - "end": 12535, + "start": 12368, + "end": 12391, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12512, - "end": 12528, + "start": 12368, + "end": 12384, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 56 } }, "object": { "type": "Identifier", - "start": 12512, - "end": 12519, + "start": 12368, + "end": 12375, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 47 }, "identifierName": "request" @@ -22119,15 +22254,15 @@ }, "property": { "type": "Identifier", - "start": 12520, - "end": 12528, + "start": 12376, + "end": 12384, "loc": { "start": { - "line": 334, + "line": 329, "column": 48 }, "end": { - "line": 334, + "line": 329, "column": 56 }, "identifierName": "response" @@ -22138,15 +22273,15 @@ }, "property": { "type": "Identifier", - "start": 12529, - "end": 12535, + "start": 12385, + "end": 12391, "loc": { "start": { - "line": 334, + "line": 329, "column": 57 }, "end": { - "line": 334, + "line": 329, "column": 63 }, "identifierName": "status" @@ -22158,15 +22293,15 @@ }, { "type": "StringLiteral", - "start": 12537, - "end": 12543, + "start": 12393, + "end": 12399, "loc": { "start": { - "line": 334, + "line": 329, "column": 65 }, "end": { - "line": 334, + "line": 329, "column": 71 } }, @@ -22181,72 +22316,72 @@ }, { "type": "ExpressionStatement", - "start": 12562, - "end": 12594, + "start": 12418, + "end": 12450, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 12562, - "end": 12593, + "start": 12418, + "end": 12449, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 12562, - "end": 12570, + "start": 12418, + "end": 12426, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12562, - "end": 12566, + "start": 12418, + "end": 12422, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12567, - "end": 12570, + "start": 12423, + "end": 12426, "loc": { "start": { - "line": 335, + "line": 330, "column": 21 }, "end": { - "line": 335, + "line": 330, "column": 24 }, "identifierName": "log" @@ -22258,29 +22393,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12571, - "end": 12592, + "start": 12427, + "end": 12448, "loc": { "start": { - "line": 335, + "line": 330, "column": 25 }, "end": { - "line": 335, + "line": 330, "column": 46 } }, "left": { "type": "StringLiteral", - "start": 12571, - "end": 12586, + "start": 12427, + "end": 12442, "loc": { "start": { - "line": 335, + "line": 330, "column": 25 }, "end": { - "line": 335, + "line": 330, "column": 40 } }, @@ -22293,15 +22428,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12589, - "end": 12592, + "start": 12445, + "end": 12448, "loc": { "start": { - "line": 335, + "line": 330, "column": 43 }, "end": { - "line": 335, + "line": 330, "column": 46 }, "identifierName": "url" @@ -22314,86 +22449,86 @@ }, { "type": "ExpressionStatement", - "start": 12611, - "end": 12633, + "start": 12467, + "end": 12489, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 12611, - "end": 12632, + "start": 12467, + "end": 12488, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 12611, - "end": 12627, + "start": 12467, + "end": 12483, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 12611, - "end": 12622, + "start": 12467, + "end": 12478, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12611, - "end": 12615, + "start": 12467, + "end": 12471, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12616, - "end": 12622, + "start": 12472, + "end": 12478, "loc": { "start": { - "line": 336, + "line": 331, "column": 21 }, "end": { - "line": 336, + "line": 331, "column": 27 }, "identifierName": "surfer" @@ -22404,15 +22539,15 @@ }, "property": { "type": "Identifier", - "start": 12623, - "end": 12627, + "start": 12479, + "end": 12483, "loc": { "start": { - "line": 336, + "line": 331, "column": 28 }, "end": { - "line": 336, + "line": 331, "column": 32 }, "identifierName": "load" @@ -22424,15 +22559,15 @@ "arguments": [ { "type": "Identifier", - "start": 12628, - "end": 12631, + "start": 12484, + "end": 12487, "loc": { "start": { - "line": 336, + "line": 331, "column": 33 }, "end": { - "line": 336, + "line": 331, "column": 36 }, "identifierName": "url" @@ -22461,15 +22596,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -22479,15 +22614,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -22496,15 +22631,15 @@ }, { "type": "ClassMethod", - "start": 12731, - "end": 13771, + "start": 12587, + "end": 13627, "loc": { "start": { - "line": 344, + "line": 339, "column": 4 }, "end": { - "line": 377, + "line": 372, "column": 5 } }, @@ -22512,15 +22647,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12731, - "end": 12735, + "start": 12587, + "end": 12591, "loc": { "start": { - "line": 344, + "line": 339, "column": 4 }, "end": { - "line": 344, + "line": 339, "column": 8 }, "identifierName": "play" @@ -22536,114 +22671,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12738, - "end": 13771, + "start": 12594, + "end": 13627, "loc": { "start": { - "line": 344, + "line": 339, "column": 11 }, "end": { - "line": 377, + "line": 372, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12777, - "end": 12962, + "start": 12633, + "end": 12818, "loc": { "start": { - "line": 346, + "line": 341, "column": 8 }, "end": { - "line": 349, + "line": 344, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12781, - "end": 12889, + "start": 12637, + "end": 12745, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12781, - "end": 12828, + "start": 12637, + "end": 12684, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12781, - "end": 12814, + "start": 12637, + "end": 12670, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12781, - "end": 12803, + "start": 12637, + "end": 12659, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12781, - "end": 12792, + "start": 12637, + "end": 12648, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12781, - "end": 12785, + "start": 12637, + "end": 12641, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 16 } }, @@ -22651,15 +22786,15 @@ }, "property": { "type": "Identifier", - "start": 12786, - "end": 12792, + "start": 12642, + "end": 12648, "loc": { "start": { - "line": 346, + "line": 341, "column": 17 }, "end": { - "line": 346, + "line": 341, "column": 23 }, "identifierName": "player" @@ -22671,15 +22806,15 @@ }, "property": { "type": "Identifier", - "start": 12793, - "end": 12803, + "start": 12649, + "end": 12659, "loc": { "start": { - "line": 346, + "line": 341, "column": 24 }, "end": { - "line": 346, + "line": 341, "column": 34 }, "identifierName": "controlBar" @@ -22691,15 +22826,15 @@ }, "property": { "type": "Identifier", - "start": 12804, - "end": 12814, + "start": 12660, + "end": 12670, "loc": { "start": { - "line": 346, + "line": 341, "column": 35 }, "end": { - "line": 346, + "line": 341, "column": 45 }, "identifierName": "playToggle" @@ -22712,15 +22847,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12819, - "end": 12828, + "start": 12675, + "end": 12684, "loc": { "start": { - "line": 346, + "line": 341, "column": 50 }, "end": { - "line": 346, + "line": 341, "column": 59 }, "identifierName": "undefined" @@ -22732,100 +22867,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12844, - "end": 12889, + "start": 12700, + "end": 12745, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12844, - "end": 12887, + "start": 12700, + "end": 12743, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12877, + "start": 12700, + "end": 12733, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12866, + "start": 12700, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12855, + "start": 12700, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12844, - "end": 12848, + "start": 12700, + "end": 12704, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12849, - "end": 12855, + "start": 12705, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 342, "column": 17 }, "end": { - "line": 347, + "line": 342, "column": 23 }, "identifierName": "player" @@ -22836,15 +22971,15 @@ }, "property": { "type": "Identifier", - "start": 12856, - "end": 12866, + "start": 12712, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 342, "column": 24 }, "end": { - "line": 347, + "line": 342, "column": 34 }, "identifierName": "controlBar" @@ -22855,15 +22990,15 @@ }, "property": { "type": "Identifier", - "start": 12867, - "end": 12877, + "start": 12723, + "end": 12733, "loc": { "start": { - "line": 347, + "line": 342, "column": 35 }, "end": { - "line": 347, + "line": 342, "column": 45 }, "identifierName": "playToggle" @@ -22874,15 +23009,15 @@ }, "property": { "type": "Identifier", - "start": 12878, - "end": 12887, + "start": 12734, + "end": 12743, "loc": { "start": { - "line": 347, + "line": 342, "column": 46 }, "end": { - "line": 347, + "line": 342, "column": 55 }, "identifierName": "contentEl" @@ -22897,129 +23032,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12891, - "end": 12962, + "start": 12747, + "end": 12818, "loc": { "start": { - "line": 347, + "line": 342, "column": 59 }, "end": { - "line": 349, + "line": 344, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12905, - "end": 12952, + "start": 12761, + "end": 12808, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12905, - "end": 12951, + "start": 12761, + "end": 12807, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12905, - "end": 12949, + "start": 12761, + "end": 12805, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12938, + "start": 12761, + "end": 12794, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12927, + "start": 12761, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12916, + "start": 12761, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12905, - "end": 12909, + "start": 12761, + "end": 12765, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12910, - "end": 12916, + "start": 12766, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 343, "column": 17 }, "end": { - "line": 348, + "line": 343, "column": 23 }, "identifierName": "player" @@ -23030,15 +23165,15 @@ }, "property": { "type": "Identifier", - "start": 12917, - "end": 12927, + "start": 12773, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 343, "column": 24 }, "end": { - "line": 348, + "line": 343, "column": 34 }, "identifierName": "controlBar" @@ -23049,15 +23184,15 @@ }, "property": { "type": "Identifier", - "start": 12928, - "end": 12938, + "start": 12784, + "end": 12794, "loc": { "start": { - "line": 348, + "line": 343, "column": 35 }, "end": { - "line": 348, + "line": 343, "column": 45 }, "identifierName": "playToggle" @@ -23068,15 +23203,15 @@ }, "property": { "type": "Identifier", - "start": 12939, - "end": 12949, + "start": 12795, + "end": 12805, "loc": { "start": { - "line": 348, + "line": 343, "column": 46 }, "end": { - "line": 348, + "line": 343, "column": 56 }, "identifierName": "handlePlay" @@ -23096,15 +23231,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12748, - "end": 12768, + "start": 12604, + "end": 12624, "loc": { "start": { - "line": 345, + "line": 340, "column": 8 }, "end": { - "line": 345, + "line": 340, "column": 28 } } @@ -23113,58 +23248,58 @@ }, { "type": "IfStatement", - "start": 12972, - "end": 13765, + "start": 12828, + "end": 13621, "loc": { "start": { - "line": 351, + "line": 346, "column": 8 }, "end": { - "line": 376, + "line": 371, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 12976, - "end": 12989, + "start": 12832, + "end": 12845, "loc": { "start": { - "line": 351, + "line": 346, "column": 12 }, "end": { - "line": 351, + "line": 346, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 12976, - "end": 12980, + "start": 12832, + "end": 12836, "loc": { "start": { - "line": 351, + "line": 346, "column": 12 }, "end": { - "line": 351, + "line": 346, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12981, - "end": 12989, + "start": 12837, + "end": 12845, "loc": { "start": { - "line": 351, + "line": 346, "column": 17 }, "end": { - "line": 351, + "line": 346, "column": 25 }, "identifierName": "liveMode" @@ -23175,44 +23310,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 12991, - "end": 13550, + "start": 12847, + "end": 13406, "loc": { "start": { - "line": 351, + "line": 346, "column": 27 }, "end": { - "line": 368, + "line": 363, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13058, - "end": 13540, + "start": 12914, + "end": 13396, "loc": { "start": { - "line": 353, + "line": 348, "column": 12 }, "end": { - "line": 367, + "line": 362, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 13062, - "end": 13092, + "start": 12918, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 16 }, "end": { - "line": 353, + "line": 348, "column": 46 } }, @@ -23220,57 +23355,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13063, - "end": 13092, + "start": 12919, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 13063, - "end": 13085, + "start": 12919, + "end": 12941, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 13063, - "end": 13074, + "start": 12919, + "end": 12930, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13063, - "end": 13067, + "start": 12919, + "end": 12923, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 21 } }, @@ -23278,15 +23413,15 @@ }, "property": { "type": "Identifier", - "start": 13068, - "end": 13074, + "start": 12924, + "end": 12930, "loc": { "start": { - "line": 353, + "line": 348, "column": 22 }, "end": { - "line": 353, + "line": 348, "column": 28 }, "identifierName": "surfer" @@ -23298,15 +23433,15 @@ }, "property": { "type": "Identifier", - "start": 13075, - "end": 13085, + "start": 12931, + "end": 12941, "loc": { "start": { - "line": 353, + "line": 348, "column": 29 }, "end": { - "line": 353, + "line": 348, "column": 39 }, "identifierName": "microphone" @@ -23318,15 +23453,15 @@ }, "property": { "type": "Identifier", - "start": 13086, - "end": 13092, + "start": 12942, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 40 }, "end": { - "line": 353, + "line": 348, "column": 46 }, "identifierName": "active" @@ -23343,87 +23478,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13106, - "end": 13215, + "start": 12962, + "end": 13071, "loc": { "start": { - "line": 354, + "line": 349, "column": 12 }, "end": { - "line": 357, + "line": 352, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13124, - "end": 13153, + "start": 12980, + "end": 13009, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 13124, - "end": 13152, + "start": 12980, + "end": 13008, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 13124, - "end": 13132, + "start": 12980, + "end": 12988, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13124, - "end": 13128, + "start": 12980, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13129, - "end": 13132, + "start": 12985, + "end": 12988, "loc": { "start": { - "line": 355, + "line": 350, "column": 21 }, "end": { - "line": 355, + "line": 350, "column": 24 }, "identifierName": "log" @@ -23435,15 +23570,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13133, - "end": 13151, + "start": 12989, + "end": 13007, "loc": { "start": { - "line": 355, + "line": 350, "column": 25 }, "end": { - "line": 355, + "line": 350, "column": 43 } }, @@ -23458,100 +23593,100 @@ }, { "type": "ExpressionStatement", - "start": 13170, - "end": 13201, + "start": 13026, + "end": 13057, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13170, - "end": 13200, + "start": 13026, + "end": 13056, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13170, - "end": 13198, + "start": 13026, + "end": 13054, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13170, - "end": 13192, + "start": 13026, + "end": 13048, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13170, - "end": 13181, + "start": 13026, + "end": 13037, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13170, - "end": 13174, + "start": 13026, + "end": 13030, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13175, - "end": 13181, + "start": 13031, + "end": 13037, "loc": { "start": { - "line": 356, + "line": 351, "column": 21 }, "end": { - "line": 356, + "line": 351, "column": 27 }, "identifierName": "surfer" @@ -23562,15 +23697,15 @@ }, "property": { "type": "Identifier", - "start": 13182, - "end": 13192, + "start": 13038, + "end": 13048, "loc": { "start": { - "line": 356, + "line": 351, "column": 28 }, "end": { - "line": 356, + "line": 351, "column": 38 }, "identifierName": "microphone" @@ -23581,15 +23716,15 @@ }, "property": { "type": "Identifier", - "start": 13193, - "end": 13198, + "start": 13049, + "end": 13054, "loc": { "start": { - "line": 356, + "line": 351, "column": 39 }, "end": { - "line": 356, + "line": 351, "column": 44 }, "identifierName": "start" @@ -23606,59 +23741,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13221, - "end": 13540, + "start": 13077, + "end": 13396, "loc": { "start": { - "line": 357, + "line": 352, "column": 19 }, "end": { - "line": 367, + "line": 362, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13272, - "end": 13316, + "start": 13128, + "end": 13172, "loc": { "start": { - "line": 359, + "line": 354, "column": 16 }, "end": { - "line": 359, + "line": 354, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13276, - "end": 13315, + "start": 13132, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 20 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, "id": { "type": "Identifier", - "start": 13276, - "end": 13282, + "start": 13132, + "end": 13138, "loc": { "start": { - "line": 359, + "line": 354, "column": 20 }, "end": { - "line": 359, + "line": 354, "column": 26 }, "identifierName": "paused" @@ -23668,15 +23803,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13285, - "end": 13315, + "start": 13141, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 29 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, @@ -23684,72 +23819,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13286, - "end": 13315, + "start": 13142, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13286, - "end": 13308, + "start": 13142, + "end": 13164, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13286, - "end": 13297, + "start": 13142, + "end": 13153, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13286, - "end": 13290, + "start": 13142, + "end": 13146, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13291, - "end": 13297, + "start": 13147, + "end": 13153, "loc": { "start": { - "line": 359, + "line": 354, "column": 35 }, "end": { - "line": 359, + "line": 354, "column": 41 }, "identifierName": "surfer" @@ -23760,15 +23895,15 @@ }, "property": { "type": "Identifier", - "start": 13298, - "end": 13308, + "start": 13154, + "end": 13164, "loc": { "start": { - "line": 359, + "line": 354, "column": 42 }, "end": { - "line": 359, + "line": 354, "column": 52 }, "identifierName": "microphone" @@ -23779,15 +23914,15 @@ }, "property": { "type": "Identifier", - "start": 13309, - "end": 13315, + "start": 13165, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 53 }, "end": { - "line": 359, + "line": 354, "column": 59 }, "identifierName": "paused" @@ -23808,15 +23943,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13239, - "end": 13255, + "start": 13095, + "end": 13111, "loc": { "start": { - "line": 358, + "line": 353, "column": 16 }, "end": { - "line": 358, + "line": 353, "column": 32 } } @@ -23825,29 +23960,29 @@ }, { "type": "IfStatement", - "start": 13334, - "end": 13526, + "start": 13190, + "end": 13382, "loc": { "start": { - "line": 361, + "line": 356, "column": 16 }, "end": { - "line": 366, + "line": 361, "column": 17 } }, "test": { "type": "Identifier", - "start": 13338, - "end": 13344, + "start": 13194, + "end": 13200, "loc": { "start": { - "line": 361, + "line": 356, "column": 20 }, "end": { - "line": 361, + "line": 356, "column": 26 }, "identifierName": "paused" @@ -23856,87 +23991,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13346, - "end": 13399, + "start": 13202, + "end": 13255, "loc": { "start": { - "line": 361, + "line": 356, "column": 28 }, "end": { - "line": 363, + "line": 358, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13368, - "end": 13381, + "start": 13224, + "end": 13237, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13368, - "end": 13380, + "start": 13224, + "end": 13236, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13368, - "end": 13378, + "start": 13224, + "end": 13234, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13368, - "end": 13372, + "start": 13224, + "end": 13228, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13373, - "end": 13378, + "start": 13229, + "end": 13234, "loc": { "start": { - "line": 362, + "line": 357, "column": 25 }, "end": { - "line": 362, + "line": 357, "column": 30 }, "identifierName": "pause" @@ -23953,87 +24088,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13405, - "end": 13526, + "start": 13261, + "end": 13382, "loc": { "start": { - "line": 363, + "line": 358, "column": 23 }, "end": { - "line": 366, + "line": 361, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13427, - "end": 13457, + "start": 13283, + "end": 13313, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13427, - "end": 13456, + "start": 13283, + "end": 13312, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13427, - "end": 13435, + "start": 13283, + "end": 13291, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13427, - "end": 13431, + "start": 13283, + "end": 13287, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13432, - "end": 13435, + "start": 13288, + "end": 13291, "loc": { "start": { - "line": 364, + "line": 359, "column": 25 }, "end": { - "line": 364, + "line": 359, "column": 28 }, "identifierName": "log" @@ -24045,15 +24180,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13436, - "end": 13455, + "start": 13292, + "end": 13311, "loc": { "start": { - "line": 364, + "line": 359, "column": 29 }, "end": { - "line": 364, + "line": 359, "column": 48 } }, @@ -24068,100 +24203,100 @@ }, { "type": "ExpressionStatement", - "start": 13478, - "end": 13508, + "start": 13334, + "end": 13364, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13478, - "end": 13507, + "start": 13334, + "end": 13363, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13478, - "end": 13505, + "start": 13334, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13478, - "end": 13500, + "start": 13334, + "end": 13356, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13478, - "end": 13489, + "start": 13334, + "end": 13345, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13478, - "end": 13482, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13483, - "end": 13489, + "start": 13339, + "end": 13345, "loc": { "start": { - "line": 365, + "line": 360, "column": 25 }, "end": { - "line": 365, + "line": 360, "column": 31 }, "identifierName": "surfer" @@ -24172,15 +24307,15 @@ }, "property": { "type": "Identifier", - "start": 13490, - "end": 13500, + "start": 13346, + "end": 13356, "loc": { "start": { - "line": 365, + "line": 360, "column": 32 }, "end": { - "line": 365, + "line": 360, "column": 42 }, "identifierName": "microphone" @@ -24191,15 +24326,15 @@ }, "property": { "type": "Identifier", - "start": 13501, - "end": 13505, + "start": 13357, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 360, "column": 43 }, "end": { - "line": 365, + "line": 360, "column": 47 }, "identifierName": "play" @@ -24222,15 +24357,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13005, - "end": 13045, + "start": 12861, + "end": 12901, "loc": { "start": { - "line": 352, + "line": 347, "column": 12 }, "end": { - "line": 352, + "line": 347, "column": 52 } } @@ -24242,87 +24377,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13556, - "end": 13765, + "start": 13412, + "end": 13621, "loc": { "start": { - "line": 368, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 371, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13570, - "end": 13597, + "start": 13426, + "end": 13453, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13570, - "end": 13596, + "start": 13426, + "end": 13452, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13570, - "end": 13578, + "start": 13426, + "end": 13434, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13570, - "end": 13574, + "start": 13426, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13575, - "end": 13578, + "start": 13431, + "end": 13434, "loc": { "start": { - "line": 369, + "line": 364, "column": 17 }, "end": { - "line": 369, + "line": 364, "column": 20 }, "identifierName": "log" @@ -24334,15 +24469,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13579, - "end": 13595, + "start": 13435, + "end": 13451, "loc": { "start": { - "line": 369, + "line": 364, "column": 21 }, "end": { - "line": 369, + "line": 364, "column": 37 } }, @@ -24358,15 +24493,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -24375,71 +24510,71 @@ }, { "type": "ExpressionStatement", - "start": 13666, - "end": 13685, + "start": 13522, + "end": 13541, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13666, - "end": 13684, + "start": 13522, + "end": 13540, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13666, - "end": 13682, + "start": 13522, + "end": 13538, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13666, - "end": 13677, + "start": 13522, + "end": 13533, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13666, - "end": 13670, + "start": 13522, + "end": 13526, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 16 } }, @@ -24447,15 +24582,15 @@ }, "property": { "type": "Identifier", - "start": 13671, - "end": 13677, + "start": 13527, + "end": 13533, "loc": { "start": { - "line": 372, + "line": 367, "column": 17 }, "end": { - "line": 372, + "line": 367, "column": 23 }, "identifierName": "player" @@ -24467,15 +24602,15 @@ }, "property": { "type": "Identifier", - "start": 13678, - "end": 13682, + "start": 13534, + "end": 13538, "loc": { "start": { - "line": 372, + "line": 367, "column": 24 }, "end": { - "line": 372, + "line": 367, "column": 28 }, "identifierName": "play" @@ -24492,15 +24627,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -24510,15 +24645,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -24527,71 +24662,71 @@ }, { "type": "ExpressionStatement", - "start": 13736, - "end": 13755, + "start": 13592, + "end": 13611, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13736, - "end": 13754, + "start": 13592, + "end": 13610, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13736, - "end": 13752, + "start": 13592, + "end": 13608, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13736, - "end": 13747, + "start": 13592, + "end": 13603, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13736, - "end": 13740, + "start": 13592, + "end": 13596, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 16 } }, @@ -24599,15 +24734,15 @@ }, "property": { "type": "Identifier", - "start": 13741, - "end": 13747, + "start": 13597, + "end": 13603, "loc": { "start": { - "line": 375, + "line": 370, "column": 17 }, "end": { - "line": 375, + "line": 370, "column": 23 }, "identifierName": "surfer" @@ -24619,15 +24754,15 @@ }, "property": { "type": "Identifier", - "start": 13748, - "end": 13752, + "start": 13604, + "end": 13608, "loc": { "start": { - "line": 375, + "line": 370, "column": 24 }, "end": { - "line": 375, + "line": 370, "column": 28 }, "identifierName": "play" @@ -24644,15 +24779,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -24671,15 +24806,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -24689,15 +24824,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -24706,15 +24841,15 @@ }, { "type": "ClassMethod", - "start": 13845, - "end": 14577, + "start": 13701, + "end": 14433, "loc": { "start": { - "line": 382, + "line": 377, "column": 4 }, "end": { - "line": 406, + "line": 401, "column": 5 } }, @@ -24722,15 +24857,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13845, - "end": 13850, + "start": 13701, + "end": 13706, "loc": { "start": { - "line": 382, + "line": 377, "column": 4 }, "end": { - "line": 382, + "line": 377, "column": 9 }, "identifierName": "pause" @@ -24746,114 +24881,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13853, - "end": 14577, + "start": 13709, + "end": 14433, "loc": { "start": { - "line": 382, + "line": 377, "column": 12 }, "end": { - "line": 406, + "line": 401, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13891, - "end": 14077, + "start": 13747, + "end": 13933, "loc": { "start": { - "line": 384, + "line": 379, "column": 8 }, "end": { - "line": 387, + "line": 382, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13895, - "end": 14003, + "start": 13751, + "end": 13859, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13895, - "end": 13942, + "start": 13751, + "end": 13798, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13895, - "end": 13928, + "start": 13751, + "end": 13784, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13895, - "end": 13917, + "start": 13751, + "end": 13773, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13895, - "end": 13906, + "start": 13751, + "end": 13762, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13895, - "end": 13899, + "start": 13751, + "end": 13755, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 16 } }, @@ -24861,15 +24996,15 @@ }, "property": { "type": "Identifier", - "start": 13900, - "end": 13906, + "start": 13756, + "end": 13762, "loc": { "start": { - "line": 384, + "line": 379, "column": 17 }, "end": { - "line": 384, + "line": 379, "column": 23 }, "identifierName": "player" @@ -24881,15 +25016,15 @@ }, "property": { "type": "Identifier", - "start": 13907, - "end": 13917, + "start": 13763, + "end": 13773, "loc": { "start": { - "line": 384, + "line": 379, "column": 24 }, "end": { - "line": 384, + "line": 379, "column": 34 }, "identifierName": "controlBar" @@ -24901,15 +25036,15 @@ }, "property": { "type": "Identifier", - "start": 13918, - "end": 13928, + "start": 13774, + "end": 13784, "loc": { "start": { - "line": 384, + "line": 379, "column": 35 }, "end": { - "line": 384, + "line": 379, "column": 45 }, "identifierName": "playToggle" @@ -24922,15 +25057,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13933, - "end": 13942, + "start": 13789, + "end": 13798, "loc": { "start": { - "line": 384, + "line": 379, "column": 50 }, "end": { - "line": 384, + "line": 379, "column": 59 }, "identifierName": "undefined" @@ -24942,100 +25077,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13958, - "end": 14003, + "start": 13814, + "end": 13859, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13958, - "end": 14001, + "start": 13814, + "end": 13857, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13991, + "start": 13814, + "end": 13847, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13980, + "start": 13814, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13969, + "start": 13814, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13958, - "end": 13962, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13963, - "end": 13969, + "start": 13819, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 380, "column": 17 }, "end": { - "line": 385, + "line": 380, "column": 23 }, "identifierName": "player" @@ -25046,15 +25181,15 @@ }, "property": { "type": "Identifier", - "start": 13970, - "end": 13980, + "start": 13826, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 380, "column": 24 }, "end": { - "line": 385, + "line": 380, "column": 34 }, "identifierName": "controlBar" @@ -25065,15 +25200,15 @@ }, "property": { "type": "Identifier", - "start": 13981, - "end": 13991, + "start": 13837, + "end": 13847, "loc": { "start": { - "line": 385, + "line": 380, "column": 35 }, "end": { - "line": 385, + "line": 380, "column": 45 }, "identifierName": "playToggle" @@ -25084,15 +25219,15 @@ }, "property": { "type": "Identifier", - "start": 13992, - "end": 14001, + "start": 13848, + "end": 13857, "loc": { "start": { - "line": 385, + "line": 380, "column": 46 }, "end": { - "line": 385, + "line": 380, "column": 55 }, "identifierName": "contentEl" @@ -25107,129 +25242,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 14005, - "end": 14077, + "start": 13861, + "end": 13933, "loc": { "start": { - "line": 385, + "line": 380, "column": 59 }, "end": { - "line": 387, + "line": 382, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14019, - "end": 14067, + "start": 13875, + "end": 13923, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 14019, - "end": 14066, + "start": 13875, + "end": 13922, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 14019, - "end": 14064, + "start": 13875, + "end": 13920, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14052, + "start": 13875, + "end": 13908, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14041, + "start": 13875, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14030, + "start": 13875, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14019, - "end": 14023, + "start": 13875, + "end": 13879, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14024, - "end": 14030, + "start": 13880, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 381, "column": 17 }, "end": { - "line": 386, + "line": 381, "column": 23 }, "identifierName": "player" @@ -25240,15 +25375,15 @@ }, "property": { "type": "Identifier", - "start": 14031, - "end": 14041, + "start": 13887, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 381, "column": 24 }, "end": { - "line": 386, + "line": 381, "column": 34 }, "identifierName": "controlBar" @@ -25259,15 +25394,15 @@ }, "property": { "type": "Identifier", - "start": 14042, - "end": 14052, + "start": 13898, + "end": 13908, "loc": { "start": { - "line": 386, + "line": 381, "column": 35 }, "end": { - "line": 386, + "line": 381, "column": 45 }, "identifierName": "playToggle" @@ -25278,15 +25413,15 @@ }, "property": { "type": "Identifier", - "start": 14053, - "end": 14064, + "start": 13909, + "end": 13920, "loc": { "start": { - "line": 386, + "line": 381, "column": 46 }, "end": { - "line": 386, + "line": 381, "column": 57 }, "identifierName": "handlePause" @@ -25306,15 +25441,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13863, - "end": 13882, + "start": 13719, + "end": 13738, "loc": { "start": { - "line": 383, + "line": 378, "column": 8 }, "end": { - "line": 383, + "line": 378, "column": 27 } } @@ -25323,58 +25458,58 @@ }, { "type": "IfStatement", - "start": 14087, - "end": 14571, + "start": 13943, + "end": 14427, "loc": { "start": { - "line": 389, + "line": 384, "column": 8 }, "end": { - "line": 405, + "line": 400, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14091, - "end": 14104, + "start": 13947, + "end": 13960, "loc": { "start": { - "line": 389, + "line": 384, "column": 12 }, "end": { - "line": 389, + "line": 384, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 14091, - "end": 14095, + "start": 13947, + "end": 13951, "loc": { "start": { - "line": 389, + "line": 384, "column": 12 }, "end": { - "line": 389, + "line": 384, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14096, - "end": 14104, + "start": 13952, + "end": 13960, "loc": { "start": { - "line": 389, + "line": 384, "column": 17 }, "end": { - "line": 389, + "line": 384, "column": 25 }, "identifierName": "liveMode" @@ -25385,72 +25520,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14106, - "end": 14249, + "start": 13962, + "end": 14105, "loc": { "start": { - "line": 389, + "line": 384, "column": 27 }, "end": { - "line": 393, + "line": 388, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14166, - "end": 14195, + "start": 14022, + "end": 14051, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14166, - "end": 14194, + "start": 14022, + "end": 14050, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14166, - "end": 14174, + "start": 14022, + "end": 14030, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14166, - "end": 14170, + "start": 14022, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 16 } }, @@ -25458,15 +25593,15 @@ }, "property": { "type": "Identifier", - "start": 14171, - "end": 14174, + "start": 14027, + "end": 14030, "loc": { "start": { - "line": 391, + "line": 386, "column": 17 }, "end": { - "line": 391, + "line": 386, "column": 20 }, "identifierName": "log" @@ -25479,15 +25614,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14175, - "end": 14193, + "start": 14031, + "end": 14049, "loc": { "start": { - "line": 391, + "line": 386, "column": 21 }, "end": { - "line": 391, + "line": 386, "column": 39 } }, @@ -25504,15 +25639,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14120, - "end": 14153, + "start": 13976, + "end": 14009, "loc": { "start": { - "line": 390, + "line": 385, "column": 12 }, "end": { - "line": 390, + "line": 385, "column": 45 } } @@ -25521,100 +25656,100 @@ }, { "type": "ExpressionStatement", - "start": 14208, - "end": 14239, + "start": 14064, + "end": 14095, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14208, - "end": 14238, + "start": 14064, + "end": 14094, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14208, - "end": 14236, + "start": 14064, + "end": 14092, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14208, - "end": 14230, + "start": 14064, + "end": 14086, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14208, - "end": 14219, + "start": 14064, + "end": 14075, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14208, - "end": 14212, + "start": 14064, + "end": 14068, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14213, - "end": 14219, + "start": 14069, + "end": 14075, "loc": { "start": { - "line": 392, + "line": 387, "column": 17 }, "end": { - "line": 392, + "line": 387, "column": 23 }, "identifierName": "surfer" @@ -25625,15 +25760,15 @@ }, "property": { "type": "Identifier", - "start": 14220, - "end": 14230, + "start": 14076, + "end": 14086, "loc": { "start": { - "line": 392, + "line": 387, "column": 24 }, "end": { - "line": 392, + "line": 387, "column": 34 }, "identifierName": "microphone" @@ -25644,15 +25779,15 @@ }, "property": { "type": "Identifier", - "start": 14231, - "end": 14236, + "start": 14087, + "end": 14092, "loc": { "start": { - "line": 392, + "line": 387, "column": 35 }, "end": { - "line": 392, + "line": 387, "column": 40 }, "identifierName": "pause" @@ -25669,72 +25804,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14255, - "end": 14571, + "start": 14111, + "end": 14427, "loc": { "start": { - "line": 393, + "line": 388, "column": 15 }, "end": { - "line": 405, + "line": 400, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14299, - "end": 14326, + "start": 14155, + "end": 14182, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14299, - "end": 14325, + "start": 14155, + "end": 14181, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14299, - "end": 14307, + "start": 14155, + "end": 14163, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14299, - "end": 14303, + "start": 14155, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 16 } }, @@ -25742,15 +25877,15 @@ }, "property": { "type": "Identifier", - "start": 14304, - "end": 14307, + "start": 14160, + "end": 14163, "loc": { "start": { - "line": 395, + "line": 390, "column": 17 }, "end": { - "line": 395, + "line": 390, "column": 20 }, "identifierName": "log" @@ -25763,15 +25898,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14308, - "end": 14324, + "start": 14164, + "end": 14180, "loc": { "start": { - "line": 395, + "line": 390, "column": 21 }, "end": { - "line": 395, + "line": 390, "column": 37 } }, @@ -25788,15 +25923,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14269, - "end": 14286, + "start": 14125, + "end": 14142, "loc": { "start": { - "line": 394, + "line": 389, "column": 12 }, "end": { - "line": 394, + "line": 389, "column": 29 } } @@ -25805,29 +25940,29 @@ }, { "type": "IfStatement", - "start": 14340, - "end": 14525, + "start": 14196, + "end": 14381, "loc": { "start": { - "line": 397, + "line": 392, "column": 12 }, "end": { - "line": 402, + "line": 397, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14344, - "end": 14362, + "start": 14200, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 16 }, "end": { - "line": 397, + "line": 392, "column": 34 } }, @@ -25835,44 +25970,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14345, - "end": 14362, + "start": 14201, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 17 }, "end": { - "line": 397, + "line": 392, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14345, - "end": 14349, + "start": 14201, + "end": 14205, "loc": { "start": { - "line": 397, + "line": 392, "column": 17 }, "end": { - "line": 397, + "line": 392, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14350, - "end": 14362, + "start": 14206, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 22 }, "end": { - "line": 397, + "line": 392, "column": 34 }, "identifierName": "waveFinished" @@ -25887,86 +26022,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14364, - "end": 14461, + "start": 14220, + "end": 14317, "loc": { "start": { - "line": 397, + "line": 392, "column": 36 }, "end": { - "line": 400, + "line": 395, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14427, - "end": 14447, + "start": 14283, + "end": 14303, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14427, - "end": 14446, + "start": 14283, + "end": 14302, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14427, - "end": 14444, + "start": 14283, + "end": 14300, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14427, - "end": 14438, + "start": 14283, + "end": 14294, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14427, - "end": 14431, + "start": 14283, + "end": 14287, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 20 } }, @@ -25974,15 +26109,15 @@ }, "property": { "type": "Identifier", - "start": 14432, - "end": 14438, + "start": 14288, + "end": 14294, "loc": { "start": { - "line": 399, + "line": 394, "column": 21 }, "end": { - "line": 399, + "line": 394, "column": 27 }, "identifierName": "surfer" @@ -25994,15 +26129,15 @@ }, "property": { "type": "Identifier", - "start": 14439, - "end": 14444, + "start": 14295, + "end": 14300, "loc": { "start": { - "line": 399, + "line": 394, "column": 28 }, "end": { - "line": 399, + "line": 394, "column": 33 }, "identifierName": "pause" @@ -26019,15 +26154,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14382, - "end": 14410, + "start": 14238, + "end": 14266, "loc": { "start": { - "line": 398, + "line": 393, "column": 16 }, "end": { - "line": 398, + "line": 393, "column": 44 } } @@ -26039,88 +26174,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14467, - "end": 14525, + "start": 14323, + "end": 14381, "loc": { "start": { - "line": 400, + "line": 395, "column": 19 }, "end": { - "line": 402, + "line": 397, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14485, - "end": 14511, + "start": 14341, + "end": 14367, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14485, - "end": 14510, + "start": 14341, + "end": 14366, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14485, - "end": 14502, + "start": 14341, + "end": 14358, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14485, - "end": 14489, + "start": 14341, + "end": 14345, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14490, - "end": 14502, + "start": 14346, + "end": 14358, "loc": { "start": { - "line": 401, + "line": 396, "column": 21 }, "end": { - "line": 401, + "line": 396, "column": 33 }, "identifierName": "waveFinished" @@ -26131,15 +26266,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14505, - "end": 14510, + "start": 14361, + "end": 14366, "loc": { "start": { - "line": 401, + "line": 396, "column": 36 }, "end": { - "line": 401, + "line": 396, "column": 41 } }, @@ -26153,72 +26288,72 @@ }, { "type": "ExpressionStatement", - "start": 14539, - "end": 14561, + "start": 14395, + "end": 14417, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14539, - "end": 14560, + "start": 14395, + "end": 14416, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14539, - "end": 14558, + "start": 14395, + "end": 14414, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14539, - "end": 14543, + "start": 14395, + "end": 14399, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14544, - "end": 14558, + "start": 14400, + "end": 14414, "loc": { "start": { - "line": 404, + "line": 399, "column": 17 }, "end": { - "line": 404, + "line": 399, "column": 31 }, "identifierName": "setCurrentTime" @@ -26242,15 +26377,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -26260,15 +26395,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -26277,15 +26412,15 @@ }, { "type": "ClassMethod", - "start": 14615, - "end": 15010, + "start": 14471, + "end": 14866, "loc": { "start": { - "line": 411, + "line": 406, "column": 4 }, "end": { - "line": 422, + "line": 417, "column": 5 } }, @@ -26293,15 +26428,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14615, - "end": 14622, + "start": 14471, + "end": 14478, "loc": { "start": { - "line": 411, + "line": 406, "column": 4 }, "end": { - "line": 411, + "line": 406, "column": 11 }, "identifierName": "dispose" @@ -26317,73 +26452,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14625, - "end": 15010, + "start": 14481, + "end": 14866, "loc": { "start": { - "line": 411, + "line": 406, "column": 14 }, "end": { - "line": 422, + "line": 417, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14635, - "end": 14966, + "start": 14491, + "end": 14822, "loc": { "start": { - "line": 412, + "line": 407, "column": 8 }, "end": { - "line": 420, + "line": 415, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14639, - "end": 14650, + "start": 14495, + "end": 14506, "loc": { "start": { - "line": 412, + "line": 407, "column": 12 }, "end": { - "line": 412, + "line": 407, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14639, - "end": 14643, + "start": 14495, + "end": 14499, "loc": { "start": { - "line": 412, + "line": 407, "column": 12 }, "end": { - "line": 412, + "line": 407, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14644, - "end": 14650, + "start": 14500, + "end": 14506, "loc": { "start": { - "line": 412, + "line": 407, "column": 17 }, "end": { - "line": 412, + "line": 407, "column": 23 }, "identifierName": "surfer" @@ -26394,87 +26529,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14652, - "end": 14966, + "start": 14508, + "end": 14822, "loc": { "start": { - "line": 412, + "line": 407, "column": 25 }, "end": { - "line": 420, + "line": 415, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14666, - "end": 14878, + "start": 14522, + "end": 14734, "loc": { "start": { - "line": 413, + "line": 408, "column": 12 }, "end": { - "line": 417, + "line": 412, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14670, - "end": 14709, + "start": 14526, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14670, - "end": 14683, + "start": 14526, + "end": 14539, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14670, - "end": 14674, + "start": 14526, + "end": 14530, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14675, - "end": 14683, + "start": 14531, + "end": 14539, "loc": { "start": { - "line": 413, + "line": 408, "column": 21 }, "end": { - "line": 413, + "line": 408, "column": 29 }, "identifierName": "liveMode" @@ -26486,58 +26621,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14687, - "end": 14709, + "start": 14543, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14687, - "end": 14698, + "start": 14543, + "end": 14554, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14687, - "end": 14691, + "start": 14543, + "end": 14547, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14692, - "end": 14698, + "start": 14548, + "end": 14554, "loc": { "start": { - "line": 413, + "line": 408, "column": 38 }, "end": { - "line": 413, + "line": 408, "column": 44 }, "identifierName": "surfer" @@ -26548,15 +26683,15 @@ }, "property": { "type": "Identifier", - "start": 14699, - "end": 14709, + "start": 14555, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 45 }, "end": { - "line": 413, + "line": 408, "column": 55 }, "identifierName": "microphone" @@ -26568,100 +26703,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14711, - "end": 14878, + "start": 14567, + "end": 14734, "loc": { "start": { - "line": 413, + "line": 408, "column": 57 }, "end": { - "line": 417, + "line": 412, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14774, - "end": 14807, + "start": 14630, + "end": 14663, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14774, - "end": 14806, + "start": 14630, + "end": 14662, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14774, - "end": 14804, + "start": 14630, + "end": 14660, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14774, - "end": 14796, + "start": 14630, + "end": 14652, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14774, - "end": 14785, + "start": 14630, + "end": 14641, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14774, - "end": 14778, + "start": 14630, + "end": 14634, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 20 } }, @@ -26669,15 +26804,15 @@ }, "property": { "type": "Identifier", - "start": 14779, - "end": 14785, + "start": 14635, + "end": 14641, "loc": { "start": { - "line": 415, + "line": 410, "column": 21 }, "end": { - "line": 415, + "line": 410, "column": 27 }, "identifierName": "surfer" @@ -26689,15 +26824,15 @@ }, "property": { "type": "Identifier", - "start": 14786, - "end": 14796, + "start": 14642, + "end": 14652, "loc": { "start": { - "line": 415, + "line": 410, "column": 28 }, "end": { - "line": 415, + "line": 410, "column": 38 }, "identifierName": "microphone" @@ -26709,15 +26844,15 @@ }, "property": { "type": "Identifier", - "start": 14797, - "end": 14804, + "start": 14653, + "end": 14660, "loc": { "start": { - "line": 415, + "line": 410, "column": 39 }, "end": { - "line": 415, + "line": 410, "column": 46 }, "identifierName": "destroy" @@ -26734,15 +26869,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14729, - "end": 14757, + "start": 14585, + "end": 14613, "loc": { "start": { - "line": 414, + "line": 409, "column": 16 }, "end": { - "line": 414, + "line": 409, "column": 44 } } @@ -26751,72 +26886,72 @@ }, { "type": "ExpressionStatement", - "start": 14824, - "end": 14864, + "start": 14680, + "end": 14720, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14824, - "end": 14863, + "start": 14680, + "end": 14719, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14824, - "end": 14832, + "start": 14680, + "end": 14688, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14824, - "end": 14828, + "start": 14680, + "end": 14684, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14829, - "end": 14832, + "start": 14685, + "end": 14688, "loc": { "start": { - "line": 416, + "line": 411, "column": 21 }, "end": { - "line": 416, + "line": 411, "column": 24 }, "identifierName": "log" @@ -26828,15 +26963,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14833, - "end": 14862, + "start": 14689, + "end": 14718, "loc": { "start": { - "line": 416, + "line": 411, "column": 25 }, "end": { - "line": 416, + "line": 411, "column": 54 } }, @@ -26858,15 +26993,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -26875,71 +27010,71 @@ }, { "type": "ExpressionStatement", - "start": 14934, - "end": 14956, + "start": 14790, + "end": 14812, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14934, - "end": 14955, + "start": 14790, + "end": 14811, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14934, - "end": 14953, + "start": 14790, + "end": 14809, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 14934, - "end": 14945, + "start": 14790, + "end": 14801, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14934, - "end": 14938, + "start": 14790, + "end": 14794, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 16 } }, @@ -26947,15 +27082,15 @@ }, "property": { "type": "Identifier", - "start": 14939, - "end": 14945, + "start": 14795, + "end": 14801, "loc": { "start": { - "line": 419, + "line": 414, "column": 17 }, "end": { - "line": 419, + "line": 414, "column": 23 }, "identifierName": "surfer" @@ -26967,15 +27102,15 @@ }, "property": { "type": "Identifier", - "start": 14946, - "end": 14953, + "start": 14802, + "end": 14809, "loc": { "start": { - "line": 419, + "line": 414, "column": 24 }, "end": { - "line": 419, + "line": 414, "column": 31 }, "identifierName": "destroy" @@ -26992,15 +27127,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -27014,72 +27149,72 @@ }, { "type": "ExpressionStatement", - "start": 14975, - "end": 15004, + "start": 14831, + "end": 14860, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 14975, - "end": 15003, + "start": 14831, + "end": 14859, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 14975, - "end": 14983, + "start": 14831, + "end": 14839, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 14975, - "end": 14979, + "start": 14831, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14980, - "end": 14983, + "start": 14836, + "end": 14839, "loc": { "start": { - "line": 421, + "line": 416, "column": 13 }, "end": { - "line": 421, + "line": 416, "column": 16 }, "identifierName": "log" @@ -27091,15 +27226,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14984, - "end": 15002, + "start": 14840, + "end": 14858, "loc": { "start": { - "line": 421, + "line": 416, "column": 17 }, "end": { - "line": 421, + "line": 416, "column": 35 } }, @@ -27120,15 +27255,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -27138,15 +27273,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -27155,15 +27290,15 @@ }, { "type": "ClassMethod", - "start": 15146, - "end": 15232, + "start": 15002, + "end": 15088, "loc": { "start": { - "line": 429, + "line": 424, "column": 4 }, "end": { - "line": 431, + "line": 426, "column": 5 } }, @@ -27171,15 +27306,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15146, - "end": 15157, + "start": 15002, + "end": 15013, "loc": { "start": { - "line": 429, + "line": 424, "column": 4 }, "end": { - "line": 429, + "line": 424, "column": 15 }, "identifierName": "isDestroyed" @@ -27195,87 +27330,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15160, - "end": 15232, + "start": 15016, + "end": 15088, "loc": { "start": { - "line": 429, + "line": 424, "column": 18 }, "end": { - "line": 431, + "line": 426, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15170, - "end": 15226, + "start": 15026, + "end": 15082, "loc": { "start": { - "line": 430, + "line": 425, "column": 8 }, "end": { - "line": 430, + "line": 425, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15177, - "end": 15225, + "start": 15033, + "end": 15081, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15177, - "end": 15188, + "start": 15033, + "end": 15044, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15177, - "end": 15181, + "start": 15033, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15182, - "end": 15188, + "start": 15038, + "end": 15044, "loc": { "start": { - "line": 430, + "line": 425, "column": 20 }, "end": { - "line": 430, + "line": 425, "column": 26 }, "identifierName": "player" @@ -27287,86 +27422,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15193, - "end": 15224, + "start": 15049, + "end": 15080, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15193, - "end": 15215, + "start": 15049, + "end": 15071, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15193, - "end": 15213, + "start": 15049, + "end": 15069, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15193, - "end": 15204, + "start": 15049, + "end": 15060, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15193, - "end": 15197, + "start": 15049, + "end": 15053, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15198, - "end": 15204, + "start": 15054, + "end": 15060, "loc": { "start": { - "line": 430, + "line": 425, "column": 36 }, "end": { - "line": 430, + "line": 425, "column": 42 }, "identifierName": "player" @@ -27377,15 +27512,15 @@ }, "property": { "type": "Identifier", - "start": 15205, - "end": 15213, + "start": 15061, + "end": 15069, "loc": { "start": { - "line": 430, + "line": 425, "column": 43 }, "end": { - "line": 430, + "line": 425, "column": 51 }, "identifierName": "children" @@ -27399,22 +27534,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15220, - "end": 15224, + "start": 15076, + "end": 15080, "loc": { "start": { - "line": 430, + "line": 425, "column": 58 }, "end": { - "line": 430, + "line": 425, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15192 + "parenStart": 15048 } } } @@ -27427,15 +27562,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -27445,15 +27580,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -27462,15 +27597,15 @@ }, { "type": "ClassMethod", - "start": 15293, - "end": 15341, + "start": 15149, + "end": 15197, "loc": { "start": { - "line": 436, + "line": 431, "column": 4 }, "end": { - "line": 438, + "line": 433, "column": 5 } }, @@ -27478,15 +27613,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15293, - "end": 15300, + "start": 15149, + "end": 15156, "loc": { "start": { - "line": 436, + "line": 431, "column": 4 }, "end": { - "line": 436, + "line": 431, "column": 11 }, "identifierName": "destroy" @@ -27502,101 +27637,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15303, - "end": 15341, + "start": 15159, + "end": 15197, "loc": { "start": { - "line": 436, + "line": 431, "column": 14 }, "end": { - "line": 438, + "line": 433, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15313, - "end": 15335, + "start": 15169, + "end": 15191, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15313, - "end": 15334, + "start": 15169, + "end": 15190, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15313, - "end": 15332, + "start": 15169, + "end": 15188, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15313, - "end": 15324, + "start": 15169, + "end": 15180, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15313, - "end": 15317, + "start": 15169, + "end": 15173, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15318, - "end": 15324, + "start": 15174, + "end": 15180, "loc": { "start": { - "line": 437, + "line": 432, "column": 13 }, "end": { - "line": 437, + "line": 432, "column": 19 }, "identifierName": "player" @@ -27607,15 +27742,15 @@ }, "property": { "type": "Identifier", - "start": 15325, - "end": 15332, + "start": 15181, + "end": 15188, "loc": { "start": { - "line": 437, + "line": 432, "column": 20 }, "end": { - "line": 437, + "line": 432, "column": 27 }, "identifierName": "dispose" @@ -27635,15 +27770,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -27653,15 +27788,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -27670,15 +27805,15 @@ }, { "type": "ClassMethod", - "start": 15453, - "end": 15656, + "start": 15309, + "end": 15512, "loc": { "start": { - "line": 445, + "line": 440, "column": 4 }, "end": { - "line": 452, + "line": 447, "column": 5 } }, @@ -27686,15 +27821,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15453, - "end": 15462, + "start": 15309, + "end": 15318, "loc": { "start": { - "line": 445, + "line": 440, "column": 4 }, "end": { - "line": 445, + "line": 440, "column": 13 }, "identifierName": "setVolume" @@ -27710,15 +27845,15 @@ "params": [ { "type": "Identifier", - "start": 15463, - "end": 15469, + "start": 15319, + "end": 15325, "loc": { "start": { - "line": 445, + "line": 440, "column": 14 }, "end": { - "line": 445, + "line": 440, "column": 20 }, "identifierName": "volume" @@ -27728,58 +27863,58 @@ ], "body": { "type": "BlockStatement", - "start": 15471, - "end": 15656, + "start": 15327, + "end": 15512, "loc": { "start": { - "line": 445, + "line": 440, "column": 22 }, "end": { - "line": 452, + "line": 447, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15481, - "end": 15650, + "start": 15337, + "end": 15506, "loc": { "start": { - "line": 446, + "line": 441, "column": 8 }, "end": { - "line": 451, + "line": 446, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15485, - "end": 15505, + "start": 15341, + "end": 15361, "loc": { "start": { - "line": 446, + "line": 441, "column": 12 }, "end": { - "line": 446, + "line": 441, "column": 32 } }, "left": { "type": "Identifier", - "start": 15485, - "end": 15491, + "start": 15341, + "end": 15347, "loc": { "start": { - "line": 446, + "line": 441, "column": 12 }, "end": { - "line": 446, + "line": 441, "column": 18 }, "identifierName": "volume" @@ -27789,15 +27924,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15496, - "end": 15505, + "start": 15352, + "end": 15361, "loc": { "start": { - "line": 446, + "line": 441, "column": 23 }, "end": { - "line": 446, + "line": 441, "column": 32 }, "identifierName": "undefined" @@ -27807,87 +27942,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15507, - "end": 15650, + "start": 15363, + "end": 15506, "loc": { "start": { - "line": 446, + "line": 441, "column": 34 }, "end": { - "line": 451, + "line": 446, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15521, - "end": 15563, + "start": 15377, + "end": 15419, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15521, - "end": 15562, + "start": 15377, + "end": 15418, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15521, - "end": 15529, + "start": 15377, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15521, - "end": 15525, + "start": 15377, + "end": 15381, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15526, - "end": 15529, + "start": 15382, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 442, "column": 17 }, "end": { - "line": 447, + "line": 442, "column": 20 }, "identifierName": "log" @@ -27899,29 +28034,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15530, - "end": 15561, + "start": 15386, + "end": 15417, "loc": { "start": { - "line": 447, + "line": 442, "column": 21 }, "end": { - "line": 447, + "line": 442, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15530, - "end": 15552, + "start": 15386, + "end": 15408, "loc": { "start": { - "line": 447, + "line": 442, "column": 21 }, "end": { - "line": 447, + "line": 442, "column": 43 } }, @@ -27934,15 +28069,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15555, - "end": 15561, + "start": 15411, + "end": 15417, "loc": { "start": { - "line": 447, + "line": 442, "column": 46 }, "end": { - "line": 447, + "line": 442, "column": 52 }, "identifierName": "volume" @@ -27956,15 +28091,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -27973,71 +28108,71 @@ }, { "type": "ExpressionStatement", - "start": 15613, - "end": 15640, + "start": 15469, + "end": 15496, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15613, - "end": 15639, + "start": 15469, + "end": 15495, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15613, - "end": 15631, + "start": 15469, + "end": 15487, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15613, - "end": 15624, + "start": 15469, + "end": 15480, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15613, - "end": 15617, + "start": 15469, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 16 } }, @@ -28045,15 +28180,15 @@ }, "property": { "type": "Identifier", - "start": 15618, - "end": 15624, + "start": 15474, + "end": 15480, "loc": { "start": { - "line": 450, + "line": 445, "column": 17 }, "end": { - "line": 450, + "line": 445, "column": 23 }, "identifierName": "player" @@ -28065,15 +28200,15 @@ }, "property": { "type": "Identifier", - "start": 15625, - "end": 15631, + "start": 15481, + "end": 15487, "loc": { "start": { - "line": 450, + "line": 445, "column": 24 }, "end": { - "line": 450, + "line": 445, "column": 30 }, "identifierName": "volume" @@ -28086,15 +28221,15 @@ "arguments": [ { "type": "Identifier", - "start": 15632, - "end": 15638, + "start": 15488, + "end": 15494, "loc": { "start": { - "line": 450, + "line": 445, "column": 31 }, "end": { - "line": 450, + "line": 445, "column": 37 }, "identifierName": "volume" @@ -28108,15 +28243,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -28136,15 +28271,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -28154,15 +28289,293 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, + "start": 15518, + "end": 15987, "loc": { "start": { - "line": 454, + "line": 449, "column": 4 }, "end": { + "line": 459, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 15992, + "end": 16085, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 462, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 15992, + "end": 16003, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 460, + "column": 15 + }, + "identifierName": "exportImage" + }, + "name": "exportImage", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16004, + "end": 16010, + "loc": { + "start": { + "line": 460, + "column": 16 + }, + "end": { + "line": 460, + "column": 22 + }, + "identifierName": "format" + }, + "name": "format" + }, + { + "type": "Identifier", + "start": 16012, + "end": 16019, + "loc": { + "start": { + "line": 460, + "column": 24 + }, + "end": { + "line": 460, + "column": 31 + }, + "identifierName": "quality" + }, + "name": "quality" + } + ], + "body": { + "type": "BlockStatement", + "start": 16021, + "end": 16085, + "loc": { + "start": { + "line": 460, + "column": 33 + }, + "end": { + "line": 462, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 16031, + "end": 16079, + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 56 + } + }, + "argument": { + "type": "CallExpression", + "start": 16038, + "end": 16078, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16038, + "end": 16061, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 16038, + "end": 16049, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16038, + "end": 16042, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 16043, + "end": 16049, + "loc": { + "start": { + "line": 461, + "column": 20 + }, + "end": { + "line": 461, + "column": 26 + }, + "identifierName": "surfer" + }, + "name": "surfer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16050, + "end": 16061, + "loc": { + "start": { + "line": 461, + "column": 27 + }, + "end": { + "line": 461, + "column": 38 + }, + "identifierName": "exportImage" + }, + "name": "exportImage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 16062, + "end": 16068, + "loc": { + "start": { + "line": 461, + "column": 39 + }, + "end": { + "line": 461, + "column": 45 + }, + "identifierName": "format" + }, + "name": "format" + }, + { + "type": "Identifier", + "start": 16070, + "end": 16077, + "loc": { + "start": { + "line": 461, + "column": 47 + }, + "end": { + "line": 461, + "column": 54 + }, + "identifierName": "quality" + }, + "name": "quality" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", + "start": 15518, + "end": 15987, + "loc": { + "start": { + "line": 449, + "column": 4 + }, + "end": { + "line": 459, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", + "start": 16091, + "end": 16209, + "loc": { + "start": { "line": 464, + "column": 4 + }, + "end": { + "line": 468, "column": 7 } } @@ -28171,15 +28584,15 @@ }, { "type": "ClassMethod", - "start": 16136, - "end": 16229, + "start": 16214, + "end": 16622, "loc": { "start": { - "line": 465, + "line": 469, "column": 4 }, "end": { - "line": 467, + "line": 481, "column": 5 } }, @@ -28187,293 +28600,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16136, - "end": 16147, + "start": 16214, + "end": 16228, "loc": { "start": { - "line": 465, + "line": 469, "column": 4 }, "end": { - "line": 465, - "column": 15 - }, - "identifierName": "exportImage" - }, - "name": "exportImage", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 16148, - "end": 16154, - "loc": { - "start": { - "line": 465, - "column": 16 - }, - "end": { - "line": 465, - "column": 22 - }, - "identifierName": "format" - }, - "name": "format" - }, - { - "type": "Identifier", - "start": 16156, - "end": 16163, - "loc": { - "start": { - "line": 465, - "column": 24 - }, - "end": { - "line": 465, - "column": 31 - }, - "identifierName": "quality" - }, - "name": "quality" - } - ], - "body": { - "type": "BlockStatement", - "start": 16165, - "end": 16229, - "loc": { - "start": { - "line": 465, - "column": 33 - }, - "end": { - "line": 467, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 16175, - "end": 16223, - "loc": { - "start": { - "line": 466, - "column": 8 - }, - "end": { - "line": 466, - "column": 56 - } - }, - "argument": { - "type": "CallExpression", - "start": 16182, - "end": 16222, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16182, - "end": 16205, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 16182, - "end": 16193, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 16182, - "end": 16186, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 16187, - "end": 16193, - "loc": { - "start": { - "line": 466, - "column": 20 - }, - "end": { - "line": 466, - "column": 26 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16194, - "end": 16205, - "loc": { - "start": { - "line": 466, - "column": 27 - }, - "end": { - "line": 466, - "column": 38 - }, - "identifierName": "exportImage" - }, - "name": "exportImage" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 16206, - "end": 16212, - "loc": { - "start": { - "line": 466, - "column": 39 - }, - "end": { - "line": 466, - "column": 45 - }, - "identifierName": "format" - }, - "name": "format" - }, - { - "type": "Identifier", - "start": 16214, - "end": 16221, - "loc": { - "start": { - "line": 466, - "column": 47 - }, - "end": { - "line": 466, - "column": 54 - }, - "identifierName": "quality" - }, - "name": "quality" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, - "loc": { - "start": { - "line": 454, - "column": 4 - }, - "end": { - "line": 464, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 473, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 16358, - "end": 16766, - "loc": { - "start": { - "line": 474, - "column": 4 - }, - "end": { - "line": 486, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 16358, - "end": 16372, - "loc": { - "start": { - "line": 474, - "column": 4 - }, - "end": { - "line": 474, + "line": 469, "column": 18 }, "identifierName": "setAudioOutput" @@ -28489,15 +28624,15 @@ "params": [ { "type": "Identifier", - "start": 16373, - "end": 16381, + "start": 16229, + "end": 16237, "loc": { "start": { - "line": 474, + "line": 469, "column": 19 }, "end": { - "line": 474, + "line": 469, "column": 27 }, "identifierName": "deviceId" @@ -28507,44 +28642,44 @@ ], "body": { "type": "BlockStatement", - "start": 16383, - "end": 16766, + "start": 16239, + "end": 16622, "loc": { "start": { - "line": 474, + "line": 469, "column": 29 }, "end": { - "line": 486, + "line": 481, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16393, - "end": 16760, + "start": 16249, + "end": 16616, "loc": { "start": { - "line": 475, + "line": 470, "column": 8 }, "end": { - "line": 485, + "line": 480, "column": 9 } }, "test": { "type": "Identifier", - "start": 16397, - "end": 16405, + "start": 16253, + "end": 16261, "loc": { "start": { - "line": 475, + "line": 470, "column": 12 }, "end": { - "line": 475, + "line": 470, "column": 20 }, "identifierName": "deviceId" @@ -28553,157 +28688,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16407, - "end": 16760, + "start": 16263, + "end": 16616, "loc": { "start": { - "line": 475, + "line": 470, "column": 22 }, "end": { - "line": 485, + "line": 480, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16421, - "end": 16750, + "start": 16277, + "end": 16606, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 484, + "line": 479, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16421, - "end": 16749, + "start": 16277, + "end": 16605, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 484, + "line": 479, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16591, + "start": 16277, + "end": 16447, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 479, + "line": 474, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16421, - "end": 16585, + "start": 16277, + "end": 16441, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 479, + "line": 474, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16457, + "start": 16277, + "end": 16313, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16421, - "end": 16452, + "start": 16277, + "end": 16308, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16442, + "start": 16277, + "end": 16298, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16421, - "end": 16432, + "start": 16277, + "end": 16288, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16421, - "end": 16425, + "start": 16277, + "end": 16281, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16426, - "end": 16432, + "start": 16282, + "end": 16288, "loc": { "start": { - "line": 476, + "line": 471, "column": 17 }, "end": { - "line": 476, + "line": 471, "column": 23 }, "identifierName": "surfer" @@ -28714,15 +28849,15 @@ }, "property": { "type": "Identifier", - "start": 16433, - "end": 16442, + "start": 16289, + "end": 16298, "loc": { "start": { - "line": 476, + "line": 471, "column": 24 }, "end": { - "line": 476, + "line": 471, "column": 33 }, "identifierName": "setSinkId" @@ -28734,15 +28869,15 @@ "arguments": [ { "type": "Identifier", - "start": 16443, - "end": 16451, + "start": 16299, + "end": 16307, "loc": { "start": { - "line": 476, + "line": 471, "column": 34 }, "end": { - "line": 476, + "line": 471, "column": 42 }, "identifierName": "deviceId" @@ -28753,15 +28888,15 @@ }, "property": { "type": "Identifier", - "start": 16453, - "end": 16457, + "start": 16309, + "end": 16313, "loc": { "start": { - "line": 476, + "line": 471, "column": 44 }, "end": { - "line": 476, + "line": 471, "column": 48 }, "identifierName": "then" @@ -28773,15 +28908,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16458, - "end": 16584, + "start": 16314, + "end": 16440, "loc": { "start": { - "line": 476, + "line": 471, "column": 49 }, "end": { - "line": 479, + "line": 474, "column": 13 } }, @@ -28792,15 +28927,15 @@ "params": [ { "type": "Identifier", - "start": 16459, - "end": 16465, + "start": 16315, + "end": 16321, "loc": { "start": { - "line": 476, + "line": 471, "column": 50 }, "end": { - "line": 476, + "line": 471, "column": 56 }, "identifierName": "result" @@ -28810,86 +28945,86 @@ ], "body": { "type": "BlockStatement", - "start": 16470, - "end": 16584, + "start": 16326, + "end": 16440, "loc": { "start": { - "line": 476, + "line": 471, "column": 61 }, "end": { - "line": 479, + "line": 474, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16524, - "end": 16570, + "start": 16380, + "end": 16426, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16524, - "end": 16569, + "start": 16380, + "end": 16425, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16524, - "end": 16543, + "start": 16380, + "end": 16399, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16524, - "end": 16535, + "start": 16380, + "end": 16391, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16524, - "end": 16528, + "start": 16380, + "end": 16384, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 20 } }, @@ -28897,15 +29032,15 @@ }, "property": { "type": "Identifier", - "start": 16529, - "end": 16535, + "start": 16385, + "end": 16391, "loc": { "start": { - "line": 478, + "line": 473, "column": 21 }, "end": { - "line": 478, + "line": 473, "column": 27 }, "identifierName": "player" @@ -28917,15 +29052,15 @@ }, "property": { "type": "Identifier", - "start": 16536, - "end": 16543, + "start": 16392, + "end": 16399, "loc": { "start": { - "line": 478, + "line": 473, "column": 28 }, "end": { - "line": 478, + "line": 473, "column": 35 }, "identifierName": "trigger" @@ -28938,29 +29073,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16544, - "end": 16568, + "start": 16400, + "end": 16424, "loc": { "start": { - "line": 478, + "line": 473, "column": 36 }, "end": { - "line": 478, + "line": 473, "column": 60 } }, "object": { "type": "Identifier", - "start": 16544, - "end": 16549, + "start": 16400, + "end": 16405, "loc": { "start": { - "line": 478, + "line": 473, "column": 36 }, "end": { - "line": 478, + "line": 473, "column": 41 }, "identifierName": "Event" @@ -28969,15 +29104,15 @@ }, "property": { "type": "Identifier", - "start": 16550, - "end": 16568, + "start": 16406, + "end": 16424, "loc": { "start": { - "line": 478, + "line": 473, "column": 42 }, "end": { - "line": 478, + "line": 473, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -28993,15 +29128,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16488, - "end": 16507, + "start": 16344, + "end": 16363, "loc": { "start": { - "line": 477, + "line": 472, "column": 16 }, "end": { - "line": 477, + "line": 472, "column": 35 } } @@ -29016,15 +29151,15 @@ }, "property": { "type": "Identifier", - "start": 16586, - "end": 16591, + "start": 16442, + "end": 16447, "loc": { "start": { - "line": 479, + "line": 474, "column": 15 }, "end": { - "line": 479, + "line": 474, "column": 20 }, "identifierName": "catch" @@ -29036,15 +29171,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16592, - "end": 16748, + "start": 16448, + "end": 16604, "loc": { "start": { - "line": 479, + "line": 474, "column": 21 }, "end": { - "line": 484, + "line": 479, "column": 13 } }, @@ -29055,15 +29190,15 @@ "params": [ { "type": "Identifier", - "start": 16593, - "end": 16596, + "start": 16449, + "end": 16452, "loc": { "start": { - "line": 479, + "line": 474, "column": 22 }, "end": { - "line": 479, + "line": 474, "column": 25 }, "identifierName": "err" @@ -29073,86 +29208,86 @@ ], "body": { "type": "BlockStatement", - "start": 16601, - "end": 16748, + "start": 16457, + "end": 16604, "loc": { "start": { - "line": 479, + "line": 474, "column": 30 }, "end": { - "line": 484, + "line": 479, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16655, - "end": 16693, + "start": 16511, + "end": 16549, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 16655, - "end": 16692, + "start": 16511, + "end": 16548, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 16655, - "end": 16674, + "start": 16511, + "end": 16530, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16655, - "end": 16666, + "start": 16511, + "end": 16522, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16655, - "end": 16659, + "start": 16511, + "end": 16515, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 20 } }, @@ -29160,15 +29295,15 @@ }, "property": { "type": "Identifier", - "start": 16660, - "end": 16666, + "start": 16516, + "end": 16522, "loc": { "start": { - "line": 481, + "line": 476, "column": 21 }, "end": { - "line": 481, + "line": 476, "column": 27 }, "identifierName": "player" @@ -29180,15 +29315,15 @@ }, "property": { "type": "Identifier", - "start": 16667, - "end": 16674, + "start": 16523, + "end": 16530, "loc": { "start": { - "line": 481, + "line": 476, "column": 28 }, "end": { - "line": 481, + "line": 476, "column": 35 }, "identifierName": "trigger" @@ -29201,29 +29336,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16675, - "end": 16686, + "start": 16531, + "end": 16542, "loc": { "start": { - "line": 481, + "line": 476, "column": 36 }, "end": { - "line": 481, + "line": 476, "column": 47 } }, "object": { "type": "Identifier", - "start": 16675, - "end": 16680, + "start": 16531, + "end": 16536, "loc": { "start": { - "line": 481, + "line": 476, "column": 36 }, "end": { - "line": 481, + "line": 476, "column": 41 }, "identifierName": "Event" @@ -29232,15 +29367,15 @@ }, "property": { "type": "Identifier", - "start": 16681, - "end": 16686, + "start": 16537, + "end": 16542, "loc": { "start": { - "line": 481, + "line": 476, "column": 42 }, "end": { - "line": 481, + "line": 476, "column": 47 }, "identifierName": "ERROR" @@ -29251,15 +29386,15 @@ }, { "type": "Identifier", - "start": 16688, - "end": 16691, + "start": 16544, + "end": 16547, "loc": { "start": { - "line": 481, + "line": 476, "column": 49 }, "end": { - "line": 481, + "line": 476, "column": 52 }, "identifierName": "err" @@ -29273,15 +29408,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16619, - "end": 16638, + "start": 16475, + "end": 16494, "loc": { "start": { - "line": 480, + "line": 475, "column": 16 }, "end": { - "line": 480, + "line": 475, "column": 35 } } @@ -29290,72 +29425,72 @@ }, { "type": "ExpressionStatement", - "start": 16711, - "end": 16734, + "start": 16567, + "end": 16590, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 16711, - "end": 16733, + "start": 16567, + "end": 16589, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16711, - "end": 16719, + "start": 16567, + "end": 16575, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 16711, - "end": 16715, + "start": 16567, + "end": 16571, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 20 } } }, "property": { "type": "Identifier", - "start": 16716, - "end": 16719, + "start": 16572, + "end": 16575, "loc": { "start": { - "line": 483, + "line": 478, "column": 21 }, "end": { - "line": 483, + "line": 478, "column": 24 }, "identifierName": "log" @@ -29367,15 +29502,15 @@ "arguments": [ { "type": "Identifier", - "start": 16720, - "end": 16723, + "start": 16576, + "end": 16579, "loc": { "start": { - "line": 483, + "line": 478, "column": 25 }, "end": { - "line": 483, + "line": 478, "column": 28 }, "identifierName": "err" @@ -29384,15 +29519,15 @@ }, { "type": "StringLiteral", - "start": 16725, - "end": 16732, + "start": 16581, + "end": 16588, "loc": { "start": { - "line": 483, + "line": 478, "column": 30 }, "end": { - "line": 483, + "line": 478, "column": 37 } }, @@ -29425,15 +29560,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, + "start": 16091, + "end": 16209, "loc": { "start": { - "line": 469, + "line": 464, "column": 4 }, "end": { - "line": 473, + "line": 468, "column": 7 } } @@ -29443,15 +29578,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -29460,15 +29595,15 @@ }, { "type": "ClassMethod", - "start": 16976, - "end": 17145, + "start": 16832, + "end": 17001, "loc": { "start": { - "line": 495, + "line": 490, "column": 4 }, "end": { - "line": 500, + "line": 495, "column": 5 } }, @@ -29476,15 +29611,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16976, - "end": 16990, + "start": 16832, + "end": 16846, "loc": { "start": { - "line": 495, + "line": 490, "column": 4 }, "end": { - "line": 495, + "line": 490, "column": 18 }, "identifierName": "getCurrentTime" @@ -29500,59 +29635,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16993, - "end": 17145, + "start": 16849, + "end": 17001, "loc": { "start": { - "line": 495, + "line": 490, "column": 21 }, "end": { - "line": 500, + "line": 495, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17003, - "end": 17050, + "start": 16859, + "end": 16906, "loc": { "start": { - "line": 496, + "line": 491, "column": 8 }, "end": { - "line": 496, + "line": 491, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17007, - "end": 17049, + "start": 16863, + "end": 16905, "loc": { "start": { - "line": 496, + "line": 491, "column": 12 }, "end": { - "line": 496, + "line": 491, "column": 54 } }, "id": { "type": "Identifier", - "start": 17007, - "end": 17018, + "start": 16863, + "end": 16874, "loc": { "start": { - "line": 496, + "line": 491, "column": 12 }, "end": { - "line": 496, + "line": 491, "column": 23 }, "identifierName": "currentTime" @@ -29561,72 +29696,72 @@ }, "init": { "type": "CallExpression", - "start": 17021, - "end": 17049, + "start": 16877, + "end": 16905, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17021, - "end": 17047, + "start": 16877, + "end": 16903, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17021, - "end": 17032, + "start": 16877, + "end": 16888, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17021, - "end": 17025, + "start": 16877, + "end": 16881, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17026, - "end": 17032, + "start": 16882, + "end": 16888, "loc": { "start": { - "line": 496, + "line": 491, "column": 31 }, "end": { - "line": 496, + "line": 491, "column": 37 }, "identifierName": "surfer" @@ -29637,15 +29772,15 @@ }, "property": { "type": "Identifier", - "start": 17033, - "end": 17047, + "start": 16889, + "end": 16903, "loc": { "start": { - "line": 496, + "line": 491, "column": 38 }, "end": { - "line": 496, + "line": 491, "column": 52 }, "identifierName": "getCurrentTime" @@ -29662,44 +29797,44 @@ }, { "type": "ExpressionStatement", - "start": 17059, - "end": 17110, + "start": 16915, + "end": 16966, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17059, - "end": 17109, + "start": 16915, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17059, - "end": 17070, + "start": 16915, + "end": 16926, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 19 }, "identifierName": "currentTime" @@ -29708,43 +29843,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17073, - "end": 17109, + "start": 16929, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17073, - "end": 17091, + "start": 16929, + "end": 16947, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17073, - "end": 17078, + "start": 16929, + "end": 16934, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 27 }, "identifierName": "isNaN" @@ -29754,15 +29889,15 @@ "arguments": [ { "type": "Identifier", - "start": 17079, - "end": 17090, + "start": 16935, + "end": 16946, "loc": { "start": { - "line": 497, + "line": 492, "column": 28 }, "end": { - "line": 497, + "line": 492, "column": 39 }, "identifierName": "currentTime" @@ -29773,15 +29908,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17094, - "end": 17095, + "start": 16950, + "end": 16951, "loc": { "start": { - "line": 497, + "line": 492, "column": 43 }, "end": { - "line": 497, + "line": 492, "column": 44 } }, @@ -29793,15 +29928,15 @@ }, "alternate": { "type": "Identifier", - "start": 17098, - "end": 17109, + "start": 16954, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 47 }, "end": { - "line": 497, + "line": 492, "column": 58 }, "identifierName": "currentTime" @@ -29813,29 +29948,29 @@ }, { "type": "ReturnStatement", - "start": 17120, - "end": 17139, + "start": 16976, + "end": 16995, "loc": { "start": { - "line": 499, + "line": 494, "column": 8 }, "end": { - "line": 499, + "line": 494, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17127, - "end": 17138, + "start": 16983, + "end": 16994, "loc": { "start": { - "line": 499, + "line": 494, "column": 15 }, "end": { - "line": 499, + "line": 494, "column": 26 }, "identifierName": "currentTime" @@ -29851,15 +29986,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -29869,15 +30004,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -29886,15 +30021,15 @@ }, { "type": "ClassMethod", - "start": 17427, - "end": 18462, + "start": 17283, + "end": 18404, "loc": { "start": { - "line": 510, + "line": 505, "column": 4 }, "end": { - "line": 536, + "line": 532, "column": 5 } }, @@ -29902,15 +30037,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17427, - "end": 17441, + "start": 17283, + "end": 17297, "loc": { "start": { - "line": 510, + "line": 505, "column": 4 }, "end": { - "line": 510, + "line": 505, "column": 18 }, "identifierName": "setCurrentTime" @@ -29926,15 +30061,15 @@ "params": [ { "type": "Identifier", - "start": 17442, - "end": 17453, + "start": 17298, + "end": 17309, "loc": { "start": { - "line": 510, + "line": 505, "column": 19 }, "end": { - "line": 510, + "line": 505, "column": 30 }, "identifierName": "currentTime" @@ -29943,15 +30078,15 @@ }, { "type": "Identifier", - "start": 17455, - "end": 17463, + "start": 17311, + "end": 17319, "loc": { "start": { - "line": 510, + "line": 505, "column": 32 }, "end": { - "line": 510, + "line": 505, "column": 40 }, "identifierName": "duration" @@ -29961,58 +30096,58 @@ ], "body": { "type": "BlockStatement", - "start": 17465, - "end": 18462, + "start": 17321, + "end": 18404, "loc": { "start": { - "line": 510, + "line": 505, "column": 42 }, "end": { - "line": 536, + "line": 532, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17475, - "end": 17573, + "start": 17331, + "end": 17429, "loc": { "start": { - "line": 511, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 508, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17479, - "end": 17504, + "start": 17335, + "end": 17360, "loc": { "start": { - "line": 511, + "line": 506, "column": 12 }, "end": { - "line": 511, + "line": 506, "column": 37 } }, "left": { "type": "Identifier", - "start": 17479, - "end": 17490, + "start": 17335, + "end": 17346, "loc": { "start": { - "line": 511, + "line": 506, "column": 12 }, "end": { - "line": 511, + "line": 506, "column": 23 }, "identifierName": "currentTime" @@ -30022,15 +30157,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17495, - "end": 17504, + "start": 17351, + "end": 17360, "loc": { "start": { - "line": 511, + "line": 506, "column": 28 }, "end": { - "line": 511, + "line": 506, "column": 37 }, "identifierName": "undefined" @@ -30040,59 +30175,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17506, - "end": 17573, + "start": 17362, + "end": 17429, "loc": { "start": { - "line": 511, + "line": 506, "column": 39 }, "end": { - "line": 513, + "line": 508, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17520, - "end": 17563, + "start": 17376, + "end": 17419, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17520, - "end": 17562, + "start": 17376, + "end": 17418, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17520, - "end": 17531, + "start": 17376, + "end": 17387, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 23 }, "identifierName": "currentTime" @@ -30101,72 +30236,72 @@ }, "right": { "type": "CallExpression", - "start": 17534, - "end": 17562, + "start": 17390, + "end": 17418, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17534, - "end": 17560, + "start": 17390, + "end": 17416, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17534, - "end": 17545, + "start": 17390, + "end": 17401, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17534, - "end": 17538, + "start": 17390, + "end": 17394, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17539, - "end": 17545, + "start": 17395, + "end": 17401, "loc": { "start": { - "line": 512, + "line": 507, "column": 31 }, "end": { - "line": 512, + "line": 507, "column": 37 }, "identifierName": "surfer" @@ -30177,15 +30312,15 @@ }, "property": { "type": "Identifier", - "start": 17546, - "end": 17560, + "start": 17402, + "end": 17416, "loc": { "start": { - "line": 512, + "line": 507, "column": 38 }, "end": { - "line": 512, + "line": 507, "column": 52 }, "identifierName": "getCurrentTime" @@ -30205,43 +30340,43 @@ }, { "type": "IfStatement", - "start": 17583, - "end": 17672, + "start": 17439, + "end": 17528, "loc": { "start": { - "line": 515, + "line": 510, "column": 8 }, "end": { - "line": 517, + "line": 512, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17587, - "end": 17609, + "start": 17443, + "end": 17465, "loc": { "start": { - "line": 515, + "line": 510, "column": 12 }, "end": { - "line": 515, + "line": 510, "column": 34 } }, "left": { "type": "Identifier", - "start": 17587, - "end": 17595, + "start": 17443, + "end": 17451, "loc": { "start": { - "line": 515, + "line": 510, "column": 12 }, "end": { - "line": 515, + "line": 510, "column": 20 }, "identifierName": "duration" @@ -30251,15 +30386,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17600, - "end": 17609, + "start": 17456, + "end": 17465, "loc": { "start": { - "line": 515, + "line": 510, "column": 25 }, "end": { - "line": 515, + "line": 510, "column": 34 }, "identifierName": "undefined" @@ -30269,59 +30404,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17611, - "end": 17672, + "start": 17467, + "end": 17528, "loc": { "start": { - "line": 515, + "line": 510, "column": 36 }, "end": { - "line": 517, + "line": 512, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17625, - "end": 17662, + "start": 17481, + "end": 17518, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 17625, - "end": 17661, + "start": 17481, + "end": 17517, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17625, - "end": 17633, + "start": 17481, + "end": 17489, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 20 }, "identifierName": "duration" @@ -30330,72 +30465,72 @@ }, "right": { "type": "CallExpression", - "start": 17636, - "end": 17661, + "start": 17492, + "end": 17517, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 17636, - "end": 17659, + "start": 17492, + "end": 17515, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 17636, - "end": 17647, + "start": 17492, + "end": 17503, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17636, - "end": 17640, + "start": 17492, + "end": 17496, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17641, - "end": 17647, + "start": 17497, + "end": 17503, "loc": { "start": { - "line": 516, + "line": 511, "column": 28 }, "end": { - "line": 516, + "line": 511, "column": 34 }, "identifierName": "surfer" @@ -30406,15 +30541,15 @@ }, "property": { "type": "Identifier", - "start": 17648, - "end": 17659, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 516, + "line": 511, "column": 35 }, "end": { - "line": 516, + "line": 511, "column": 46 }, "identifierName": "getDuration" @@ -30434,44 +30569,44 @@ }, { "type": "ExpressionStatement", - "start": 17682, - "end": 17733, + "start": 17538, + "end": 17589, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17682, - "end": 17732, + "start": 17538, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17682, - "end": 17693, + "start": 17538, + "end": 17549, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 19 }, "identifierName": "currentTime" @@ -30480,43 +30615,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17696, - "end": 17732, + "start": 17552, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17696, - "end": 17714, + "start": 17552, + "end": 17570, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17696, - "end": 17701, + "start": 17552, + "end": 17557, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 27 }, "identifierName": "isNaN" @@ -30526,15 +30661,15 @@ "arguments": [ { "type": "Identifier", - "start": 17702, - "end": 17713, + "start": 17558, + "end": 17569, "loc": { "start": { - "line": 519, + "line": 514, "column": 28 }, "end": { - "line": 519, + "line": 514, "column": 39 }, "identifierName": "currentTime" @@ -30545,15 +30680,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17717, - "end": 17718, + "start": 17573, + "end": 17574, "loc": { "start": { - "line": 519, + "line": 514, "column": 43 }, "end": { - "line": 519, + "line": 514, "column": 44 } }, @@ -30565,15 +30700,15 @@ }, "alternate": { "type": "Identifier", - "start": 17721, - "end": 17732, + "start": 17577, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 47 }, "end": { - "line": 519, + "line": 514, "column": 58 }, "identifierName": "currentTime" @@ -30585,44 +30720,44 @@ }, { "type": "ExpressionStatement", - "start": 17742, - "end": 17784, + "start": 17598, + "end": 17640, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 17742, - "end": 17783, + "start": 17598, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17742, - "end": 17750, + "start": 17598, + "end": 17606, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 16 }, "identifierName": "duration" @@ -30631,43 +30766,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17753, - "end": 17783, + "start": 17609, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 49 } }, "test": { "type": "CallExpression", - "start": 17753, - "end": 17768, + "start": 17609, + "end": 17624, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 34 } }, "callee": { "type": "Identifier", - "start": 17753, - "end": 17758, + "start": 17609, + "end": 17614, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 24 }, "identifierName": "isNaN" @@ -30677,15 +30812,15 @@ "arguments": [ { "type": "Identifier", - "start": 17759, - "end": 17767, + "start": 17615, + "end": 17623, "loc": { "start": { - "line": 520, + "line": 515, "column": 25 }, "end": { - "line": 520, + "line": 515, "column": 33 }, "identifierName": "duration" @@ -30696,15 +30831,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17771, - "end": 17772, + "start": 17627, + "end": 17628, "loc": { "start": { - "line": 520, + "line": 515, "column": 37 }, "end": { - "line": 520, + "line": 515, "column": 38 } }, @@ -30716,15 +30851,15 @@ }, "alternate": { "type": "Identifier", - "start": 17775, - "end": 17783, + "start": 17631, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 41 }, "end": { - "line": 520, + "line": 515, "column": 49 }, "identifierName": "duration" @@ -30737,15 +30872,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -30754,371 +30889,584 @@ }, { "type": "IfStatement", - "start": 17843, - "end": 18259, + "start": 17699, + "end": 18201, "loc": { "start": { - "line": 523, + "line": 518, "column": 8 }, "end": { - "line": 530, + "line": 526, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 17847, - "end": 17957, + "start": 17703, + "end": 17892, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 524, - "column": 65 + "line": 520, + "column": 75 } }, "left": { - "type": "MemberExpression", - "start": 17847, - "end": 17888, + "type": "LogicalExpression", + "start": 17703, + "end": 17813, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 53 + "line": 519, + "column": 65 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 17847, - "end": 17869, + "start": 17703, + "end": 17744, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 34 + "line": 518, + "column": 53 } }, "object": { "type": "MemberExpression", - "start": 17847, - "end": 17858, + "start": 17703, + "end": 17725, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 23 + "line": 518, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 17847, - "end": 17851, + "type": "MemberExpression", + "start": 17703, + "end": 17714, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 16 + "line": 518, + "column": 23 } }, + "object": { + "type": "ThisExpression", + "start": 17703, + "end": 17707, + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 17708, + "end": 17714, + "loc": { + "start": { + "line": 518, + "column": 17 + }, + "end": { + "line": 518, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 17852, - "end": 17858, + "start": 17715, + "end": 17725, "loc": { "start": { - "line": 523, - "column": 17 + "line": 518, + "column": 24 }, "end": { - "line": 523, - "column": 23 + "line": 518, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 17859, - "end": 17869, + "start": 17726, + "end": 17744, "loc": { "start": { - "line": 523, - "column": 24 + "line": 518, + "column": 35 }, "end": { - "line": 523, - "column": 34 + "line": 518, + "column": 53 }, - "identifierName": "controlBar" + "identifierName": "currentTimeDisplay" }, - "name": "controlBar" + "name": "currentTimeDisplay" }, "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 17870, - "end": 17888, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 17760, + "end": 17813, "loc": { "start": { - "line": 523, - "column": 35 + "line": 519, + "column": 12 }, "end": { - "line": 523, - "column": 53 + "line": 519, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17760, + "end": 17811, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17801, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17782, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17771, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 17760, + "end": 17764, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 17765, + "end": 17771, + "loc": { + "start": { + "line": 519, + "column": 17 + }, + "end": { + "line": 519, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17772, + "end": 17782, + "loc": { + "start": { + "line": 519, + "column": 24 + }, + "end": { + "line": 519, + "column": 34 + }, + "identifierName": "controlBar" + }, + "name": "controlBar" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17783, + "end": 17801, + "loc": { + "start": { + "line": 519, + "column": 35 + }, + "end": { + "line": 519, + "column": 53 + }, + "identifierName": "currentTimeDisplay" + }, + "name": "currentTimeDisplay" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17802, + "end": 17811, + "loc": { + "start": { + "line": 519, + "column": 54 + }, + "end": { + "line": 519, + "column": 63 + }, + "identifierName": "contentEl" + }, + "name": "contentEl" }, - "identifierName": "currentTimeDisplay" + "computed": false }, - "name": "currentTimeDisplay" + "arguments": [] }, - "computed": false, "leadingComments": null }, "operator": "&&", "right": { - "type": "CallExpression", - "start": 17904, - "end": 17957, + "type": "MemberExpression", + "start": 17829, + "end": 17892, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 65 + "line": 520, + "column": 75 } }, - "callee": { - "type": "MemberExpression", - "start": 17904, - "end": 17955, + "object": { + "type": "CallExpression", + "start": 17829, + "end": 17882, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 63 + "line": 520, + "column": 65 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 17904, - "end": 17945, + "start": 17829, + "end": 17880, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 53 + "line": 520, + "column": 63 } }, "object": { "type": "MemberExpression", - "start": 17904, - "end": 17926, + "start": 17829, + "end": 17870, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 34 + "line": 520, + "column": 53 } }, "object": { "type": "MemberExpression", - "start": 17904, - "end": 17915, + "start": 17829, + "end": 17851, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 23 + "line": 520, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 17904, - "end": 17908, + "type": "MemberExpression", + "start": 17829, + "end": 17840, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 16 + "line": 520, + "column": 23 } - } + }, + "object": { + "type": "ThisExpression", + "start": 17829, + "end": 17833, + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 17834, + "end": 17840, + "loc": { + "start": { + "line": 520, + "column": 17 + }, + "end": { + "line": 520, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 17909, - "end": 17915, + "start": 17841, + "end": 17851, "loc": { "start": { - "line": 524, - "column": 17 + "line": 520, + "column": 24 }, "end": { - "line": 524, - "column": 23 + "line": 520, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false }, "property": { "type": "Identifier", - "start": 17916, - "end": 17926, + "start": 17852, + "end": 17870, "loc": { "start": { - "line": 524, - "column": 24 + "line": 520, + "column": 35 }, "end": { - "line": 524, - "column": 34 + "line": 520, + "column": 53 }, - "identifierName": "controlBar" + "identifierName": "currentTimeDisplay" }, - "name": "controlBar" + "name": "currentTimeDisplay" }, "computed": false }, "property": { "type": "Identifier", - "start": 17927, - "end": 17945, + "start": 17871, + "end": 17880, "loc": { "start": { - "line": 524, - "column": 35 + "line": 520, + "column": 54 }, "end": { - "line": 524, - "column": 53 + "line": 520, + "column": 63 }, - "identifierName": "currentTimeDisplay" + "identifierName": "contentEl" }, - "name": "currentTimeDisplay" + "name": "contentEl" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 17946, - "end": 17955, - "loc": { - "start": { - "line": 524, - "column": 54 - }, - "end": { - "line": 524, - "column": 63 - }, - "identifierName": "contentEl" + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 17883, + "end": 17892, + "loc": { + "start": { + "line": 520, + "column": 66 }, - "name": "contentEl" + "end": { + "line": 520, + "column": 75 + }, + "identifierName": "lastChild" }, - "computed": false + "name": "lastChild" }, - "arguments": [] + "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 17959, - "end": 18259, + "start": 17894, + "end": 18201, "loc": { "start": { - "line": 524, - "column": 67 + "line": 520, + "column": 77 }, "end": { - "line": 530, + "line": 526, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 17973, - "end": 18016, + "start": 17908, + "end": 17951, "loc": { "start": { - "line": 525, + "line": 521, "column": 12 }, "end": { - "line": 525, + "line": 521, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17977, - "end": 18015, + "start": 17912, + "end": 17950, "loc": { "start": { - "line": 525, + "line": 521, "column": 16 }, "end": { - "line": 525, + "line": 521, "column": 54 } }, "id": { "type": "Identifier", - "start": 17977, - "end": 17981, + "start": 17912, + "end": 17916, "loc": { "start": { - "line": 525, + "line": 521, "column": 16 }, "end": { - "line": 525, + "line": 521, "column": 20 }, "identifierName": "time" @@ -31127,43 +31475,43 @@ }, "init": { "type": "CallExpression", - "start": 17984, - "end": 18015, + "start": 17919, + "end": 17950, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17984, - "end": 17992, + "start": 17919, + "end": 17927, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 31 } }, "object": { "type": "Identifier", - "start": 17984, - "end": 17988, + "start": 17919, + "end": 17923, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 27 }, "identifierName": "Math" @@ -31172,15 +31520,15 @@ }, "property": { "type": "Identifier", - "start": 17989, - "end": 17992, + "start": 17924, + "end": 17927, "loc": { "start": { - "line": 525, + "line": 521, "column": 28 }, "end": { - "line": 525, + "line": 521, "column": 31 }, "identifierName": "min" @@ -31192,15 +31540,15 @@ "arguments": [ { "type": "Identifier", - "start": 17993, - "end": 18004, + "start": 17928, + "end": 17939, "loc": { "start": { - "line": 525, + "line": 521, "column": 32 }, "end": { - "line": 525, + "line": 521, "column": 43 }, "identifierName": "currentTime" @@ -31209,15 +31557,15 @@ }, { "type": "Identifier", - "start": 18006, - "end": 18014, + "start": 17941, + "end": 17949, "loc": { "start": { - "line": 525, + "line": 521, "column": 45 }, "end": { - "line": 525, + "line": 521, "column": 53 }, "identifierName": "duration" @@ -31232,115 +31580,115 @@ }, { "type": "ExpressionStatement", - "start": 18030, - "end": 18249, + "start": 17965, + "end": 18191, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 529, - "column": 66 + "line": 525, + "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 18030, - "end": 18248, + "start": 17965, + "end": 18190, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18030, - "end": 18086, + "start": 17965, + "end": 18021, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18071, + "start": 17965, + "end": 18006, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18052, + "start": 17965, + "end": 17987, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18041, + "start": 17965, + "end": 17976, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18030, - "end": 18034, + "start": 17965, + "end": 17969, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18035, - "end": 18041, + "start": 17970, + "end": 17976, "loc": { "start": { - "line": 527, + "line": 523, "column": 17 }, "end": { - "line": 527, + "line": 523, "column": 23 }, "identifierName": "player" @@ -31351,15 +31699,15 @@ }, "property": { "type": "Identifier", - "start": 18042, - "end": 18052, + "start": 17977, + "end": 17987, "loc": { "start": { - "line": 527, + "line": 523, "column": 24 }, "end": { - "line": 527, + "line": 523, "column": 34 }, "identifierName": "controlBar" @@ -31370,15 +31718,15 @@ }, "property": { "type": "Identifier", - "start": 18053, - "end": 18071, + "start": 17988, + "end": 18006, "loc": { "start": { - "line": 527, + "line": 523, "column": 35 }, "end": { - "line": 527, + "line": 523, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31389,15 +31737,15 @@ }, "property": { "type": "Identifier", - "start": 18072, - "end": 18086, + "start": 18007, + "end": 18021, "loc": { "start": { - "line": 527, + "line": 523, "column": 54 }, "end": { - "line": 527, + "line": 523, "column": 68 }, "identifierName": "formattedTime_" @@ -31408,143 +31756,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18105, - "end": 18248, + "start": 18040, + "end": 18190, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18105, - "end": 18180, + "start": 18040, + "end": 18115, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18168, + "start": 18040, + "end": 18103, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18105, - "end": 18158, + "start": 18040, + "end": 18093, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18105, - "end": 18156, + "start": 18040, + "end": 18091, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18146, + "start": 18040, + "end": 18081, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18127, + "start": 18040, + "end": 18062, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18116, + "start": 18040, + "end": 18051, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18105, - "end": 18109, + "start": 18040, + "end": 18044, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18110, - "end": 18116, + "start": 18045, + "end": 18051, "loc": { "start": { - "line": 528, + "line": 524, "column": 21 }, "end": { - "line": 528, + "line": 524, "column": 27 }, "identifierName": "player" @@ -31555,15 +31903,15 @@ }, "property": { "type": "Identifier", - "start": 18117, - "end": 18127, + "start": 18052, + "end": 18062, "loc": { "start": { - "line": 528, + "line": 524, "column": 28 }, "end": { - "line": 528, + "line": 524, "column": 38 }, "identifierName": "controlBar" @@ -31574,15 +31922,15 @@ }, "property": { "type": "Identifier", - "start": 18128, - "end": 18146, + "start": 18063, + "end": 18081, "loc": { "start": { - "line": 528, + "line": 524, "column": 39 }, "end": { - "line": 528, + "line": 524, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -31593,15 +31941,15 @@ }, "property": { "type": "Identifier", - "start": 18147, - "end": 18156, + "start": 18082, + "end": 18091, "loc": { "start": { - "line": 528, + "line": 524, "column": 58 }, "end": { - "line": 528, + "line": 524, "column": 67 }, "identifierName": "contentEl" @@ -31614,15 +31962,15 @@ }, "property": { "type": "Identifier", - "start": 18159, - "end": 18168, + "start": 18094, + "end": 18103, "loc": { "start": { - "line": 528, + "line": 524, "column": 70 }, "end": { - "line": 528, + "line": 524, "column": 79 }, "identifierName": "lastChild" @@ -31633,15 +31981,15 @@ }, "property": { "type": "Identifier", - "start": 18169, - "end": 18180, + "start": 18104, + "end": 18115, "loc": { "start": { - "line": 528, + "line": 524, "column": 80 }, "end": { - "line": 528, + "line": 524, "column": 91 }, "identifierName": "textContent" @@ -31652,29 +32000,29 @@ }, "right": { "type": "CallExpression", - "start": 18203, - "end": 18248, + "start": 18138, + "end": 18190, "loc": { "start": { - "line": 529, + "line": 525, "column": 20 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "callee": { "type": "Identifier", - "start": 18203, - "end": 18213, + "start": 18138, + "end": 18148, "loc": { "start": { - "line": 529, + "line": 525, "column": 20 }, "end": { - "line": 529, + "line": 525, "column": 30 }, "identifierName": "formatTime" @@ -31684,15 +32032,15 @@ "arguments": [ { "type": "Identifier", - "start": 18214, - "end": 18218, + "start": 18149, + "end": 18153, "loc": { "start": { - "line": 529, + "line": 525, "column": 31 }, "end": { - "line": 529, + "line": 525, "column": 35 }, "identifierName": "time" @@ -31701,15 +32049,15 @@ }, { "type": "Identifier", - "start": 18220, - "end": 18228, + "start": 18155, + "end": 18163, "loc": { "start": { - "line": 529, + "line": 525, "column": 37 }, "end": { - "line": 529, + "line": 525, "column": 45 }, "identifierName": "duration" @@ -31718,49 +32066,49 @@ }, { "type": "MemberExpression", - "start": 18230, - "end": 18247, + "start": 18165, + "end": 18189, "loc": { "start": { - "line": 529, + "line": 525, "column": 47 }, "end": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 } }, "object": { "type": "ThisExpression", - "start": 18230, - "end": 18234, + "start": 18165, + "end": 18169, "loc": { "start": { - "line": 529, + "line": 525, "column": 47 }, "end": { - "line": 529, + "line": 525, "column": 51 } } }, "property": { "type": "Identifier", - "start": 18235, - "end": 18247, + "start": 18170, + "end": 18189, "loc": { "start": { - "line": 529, + "line": 525, "column": 52 }, "end": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false } @@ -31777,15 +32125,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -31794,86 +32142,86 @@ }, { "type": "IfStatement", - "start": 18269, - "end": 18456, + "start": 18211, + "end": 18398, "loc": { "start": { - "line": 532, + "line": 528, "column": 8 }, "end": { - "line": 535, + "line": 531, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18273, - "end": 18341, + "start": 18215, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18273, - "end": 18316, + "start": 18215, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18273, - "end": 18295, + "start": 18215, + "end": 18237, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18273, - "end": 18277, + "start": 18215, + "end": 18219, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18278, - "end": 18295, + "start": 18220, + "end": 18237, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 34 }, "identifierName": "textTracksEnabled" @@ -31885,58 +32233,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18299, - "end": 18316, + "start": 18241, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18299, - "end": 18310, + "start": 18241, + "end": 18252, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18299, - "end": 18303, + "start": 18241, + "end": 18245, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18304, - "end": 18310, + "start": 18246, + "end": 18252, "loc": { "start": { - "line": 532, + "line": 528, "column": 43 }, "end": { - "line": 532, + "line": 528, "column": 49 }, "identifierName": "player" @@ -31947,15 +32295,15 @@ }, "property": { "type": "Identifier", - "start": 18311, - "end": 18316, + "start": 18253, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 50 }, "end": { - "line": 532, + "line": 528, "column": 55 }, "identifierName": "tech_" @@ -31968,72 +32316,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18320, - "end": 18341, + "start": 18262, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18320, - "end": 18337, + "start": 18262, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18320, - "end": 18331, + "start": 18262, + "end": 18273, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18320, - "end": 18324, + "start": 18262, + "end": 18266, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18325, - "end": 18331, + "start": 18267, + "end": 18273, "loc": { "start": { - "line": 532, + "line": 528, "column": 64 }, "end": { - "line": 532, + "line": 528, "column": 70 }, "identifierName": "player" @@ -32044,15 +32392,15 @@ }, "property": { "type": "Identifier", - "start": 18332, - "end": 18337, + "start": 18274, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 71 }, "end": { - "line": 532, + "line": 528, "column": 76 }, "identifierName": "tech_" @@ -32063,15 +32411,15 @@ }, "property": { "type": "Identifier", - "start": 18338, - "end": 18341, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 532, + "line": 528, "column": 80 }, "identifierName": "el_" @@ -32083,100 +32431,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18343, - "end": 18456, + "start": 18285, + "end": 18398, "loc": { "start": { - "line": 532, + "line": 528, "column": 82 }, "end": { - "line": 535, + "line": 531, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18400, - "end": 18446, + "start": 18342, + "end": 18388, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18400, - "end": 18445, + "start": 18342, + "end": 18387, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18400, - "end": 18432, + "start": 18342, + "end": 18374, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18400, - "end": 18417, + "start": 18342, + "end": 18359, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18400, - "end": 18411, + "start": 18342, + "end": 18353, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18400, - "end": 18404, + "start": 18342, + "end": 18346, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 16 } }, @@ -32184,15 +32532,15 @@ }, "property": { "type": "Identifier", - "start": 18405, - "end": 18411, + "start": 18347, + "end": 18353, "loc": { "start": { - "line": 534, + "line": 530, "column": 17 }, "end": { - "line": 534, + "line": 530, "column": 23 }, "identifierName": "player" @@ -32204,15 +32552,15 @@ }, "property": { "type": "Identifier", - "start": 18412, - "end": 18417, + "start": 18354, + "end": 18359, "loc": { "start": { - "line": 534, + "line": 530, "column": 24 }, "end": { - "line": 534, + "line": 530, "column": 29 }, "identifierName": "tech_" @@ -32224,15 +32572,15 @@ }, "property": { "type": "Identifier", - "start": 18418, - "end": 18432, + "start": 18360, + "end": 18374, "loc": { "start": { - "line": 534, + "line": 530, "column": 30 }, "end": { - "line": 534, + "line": 530, "column": 44 }, "identifierName": "setCurrentTime" @@ -32245,15 +32593,15 @@ "arguments": [ { "type": "Identifier", - "start": 18433, - "end": 18444, + "start": 18375, + "end": 18386, "loc": { "start": { - "line": 534, + "line": 530, "column": 45 }, "end": { - "line": 534, + "line": 530, "column": 56 }, "identifierName": "currentTime" @@ -32267,15 +32615,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18357, - "end": 18387, + "start": 18299, + "end": 18329, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 42 } } @@ -32295,15 +32643,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -32313,15 +32661,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -32330,15 +32678,15 @@ }, { "type": "ClassMethod", - "start": 18646, - "end": 18794, + "start": 18588, + "end": 18736, "loc": { "start": { - "line": 545, + "line": 541, "column": 4 }, "end": { - "line": 550, + "line": 546, "column": 5 } }, @@ -32346,15 +32694,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18646, - "end": 18657, + "start": 18588, + "end": 18599, "loc": { "start": { - "line": 545, + "line": 541, "column": 4 }, "end": { - "line": 545, + "line": 541, "column": 15 }, "identifierName": "getDuration" @@ -32370,59 +32718,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18660, - "end": 18794, + "start": 18602, + "end": 18736, "loc": { "start": { - "line": 545, + "line": 541, "column": 18 }, "end": { - "line": 550, + "line": 546, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 18670, - "end": 18711, + "start": 18612, + "end": 18653, "loc": { "start": { - "line": 546, + "line": 542, "column": 8 }, "end": { - "line": 546, + "line": 542, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18674, - "end": 18710, + "start": 18616, + "end": 18652, "loc": { "start": { - "line": 546, + "line": 542, "column": 12 }, "end": { - "line": 546, + "line": 542, "column": 48 } }, "id": { "type": "Identifier", - "start": 18674, - "end": 18682, + "start": 18616, + "end": 18624, "loc": { "start": { - "line": 546, + "line": 542, "column": 12 }, "end": { - "line": 546, + "line": 542, "column": 20 }, "identifierName": "duration" @@ -32431,72 +32779,72 @@ }, "init": { "type": "CallExpression", - "start": 18685, - "end": 18710, + "start": 18627, + "end": 18652, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 18685, - "end": 18708, + "start": 18627, + "end": 18650, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 18685, - "end": 18696, + "start": 18627, + "end": 18638, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18685, - "end": 18689, + "start": 18627, + "end": 18631, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 27 } } }, "property": { "type": "Identifier", - "start": 18690, - "end": 18696, + "start": 18632, + "end": 18638, "loc": { "start": { - "line": 546, + "line": 542, "column": 28 }, "end": { - "line": 546, + "line": 542, "column": 34 }, "identifierName": "surfer" @@ -32507,15 +32855,15 @@ }, "property": { "type": "Identifier", - "start": 18697, - "end": 18708, + "start": 18639, + "end": 18650, "loc": { "start": { - "line": 546, + "line": 542, "column": 35 }, "end": { - "line": 546, + "line": 542, "column": 46 }, "identifierName": "getDuration" @@ -32532,44 +32880,44 @@ }, { "type": "ExpressionStatement", - "start": 18720, - "end": 18762, + "start": 18662, + "end": 18704, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18720, - "end": 18761, + "start": 18662, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18720, - "end": 18728, + "start": 18662, + "end": 18670, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 16 }, "identifierName": "duration" @@ -32578,43 +32926,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18731, - "end": 18761, + "start": 18673, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18731, - "end": 18746, + "start": 18673, + "end": 18688, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18731, - "end": 18736, + "start": 18673, + "end": 18678, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 24 }, "identifierName": "isNaN" @@ -32624,15 +32972,15 @@ "arguments": [ { "type": "Identifier", - "start": 18737, - "end": 18745, + "start": 18679, + "end": 18687, "loc": { "start": { - "line": 547, + "line": 543, "column": 25 }, "end": { - "line": 547, + "line": 543, "column": 33 }, "identifierName": "duration" @@ -32643,15 +32991,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18749, - "end": 18750, + "start": 18691, + "end": 18692, "loc": { "start": { - "line": 547, + "line": 543, "column": 37 }, "end": { - "line": 547, + "line": 543, "column": 38 } }, @@ -32663,15 +33011,15 @@ }, "alternate": { "type": "Identifier", - "start": 18753, - "end": 18761, + "start": 18695, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 41 }, "end": { - "line": 547, + "line": 543, "column": 49 }, "identifierName": "duration" @@ -32683,29 +33031,29 @@ }, { "type": "ReturnStatement", - "start": 18772, - "end": 18788, + "start": 18714, + "end": 18730, "loc": { "start": { - "line": 549, + "line": 545, "column": 8 }, "end": { - "line": 549, + "line": 545, "column": 24 } }, "argument": { "type": "Identifier", - "start": 18779, - "end": 18787, + "start": 18721, + "end": 18729, "loc": { "start": { - "line": 549, + "line": 545, "column": 15 }, "end": { - "line": 549, + "line": 545, "column": 23 }, "identifierName": "duration" @@ -32721,15 +33069,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -32739,15 +33087,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -32756,15 +33104,15 @@ }, { "type": "ClassMethod", - "start": 18980, - "end": 19564, + "start": 18922, + "end": 19589, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 571, + "line": 568, "column": 5 } }, @@ -32772,15 +33120,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18980, - "end": 18991, + "start": 18922, + "end": 18933, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 15 }, "identifierName": "setDuration" @@ -32796,15 +33144,15 @@ "params": [ { "type": "Identifier", - "start": 18992, - "end": 19000, + "start": 18934, + "end": 18942, "loc": { "start": { - "line": 558, + "line": 554, "column": 16 }, "end": { - "line": 558, + "line": 554, "column": 24 }, "identifierName": "duration" @@ -32814,58 +33162,58 @@ ], "body": { "type": "BlockStatement", - "start": 19002, - "end": 19564, + "start": 18944, + "end": 19589, "loc": { "start": { - "line": 558, + "line": 554, "column": 26 }, "end": { - "line": 571, + "line": 568, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19012, - "end": 19101, + "start": 18954, + "end": 19043, "loc": { "start": { - "line": 559, + "line": 555, "column": 8 }, "end": { - "line": 561, + "line": 557, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19016, - "end": 19038, + "start": 18958, + "end": 18980, "loc": { "start": { - "line": 559, + "line": 555, "column": 12 }, "end": { - "line": 559, + "line": 555, "column": 34 } }, "left": { "type": "Identifier", - "start": 19016, - "end": 19024, + "start": 18958, + "end": 18966, "loc": { "start": { - "line": 559, + "line": 555, "column": 12 }, "end": { - "line": 559, + "line": 555, "column": 20 }, "identifierName": "duration" @@ -32875,15 +33223,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19029, - "end": 19038, + "start": 18971, + "end": 18980, "loc": { "start": { - "line": 559, + "line": 555, "column": 25 }, "end": { - "line": 559, + "line": 555, "column": 34 }, "identifierName": "undefined" @@ -32893,59 +33241,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19040, - "end": 19101, + "start": 18982, + "end": 19043, "loc": { "start": { - "line": 559, + "line": 555, "column": 36 }, "end": { - "line": 561, + "line": 557, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19054, - "end": 19091, + "start": 18996, + "end": 19033, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19054, - "end": 19090, + "start": 18996, + "end": 19032, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19054, - "end": 19062, + "start": 18996, + "end": 19004, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 20 }, "identifierName": "duration" @@ -32954,72 +33302,72 @@ }, "right": { "type": "CallExpression", - "start": 19065, - "end": 19090, + "start": 19007, + "end": 19032, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19065, - "end": 19088, + "start": 19007, + "end": 19030, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19065, - "end": 19076, + "start": 19007, + "end": 19018, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19065, - "end": 19069, + "start": 19007, + "end": 19011, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19070, - "end": 19076, + "start": 19012, + "end": 19018, "loc": { "start": { - "line": 560, + "line": 556, "column": 28 }, "end": { - "line": 560, + "line": 556, "column": 34 }, "identifierName": "surfer" @@ -33030,15 +33378,15 @@ }, "property": { "type": "Identifier", - "start": 19077, - "end": 19088, + "start": 19019, + "end": 19030, "loc": { "start": { - "line": 560, + "line": 556, "column": 35 }, "end": { - "line": 560, + "line": 556, "column": 46 }, "identifierName": "getDuration" @@ -33058,44 +33406,44 @@ }, { "type": "ExpressionStatement", - "start": 19110, - "end": 19152, + "start": 19052, + "end": 19094, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19110, - "end": 19151, + "start": 19052, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19110, - "end": 19118, + "start": 19052, + "end": 19060, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 16 }, "identifierName": "duration" @@ -33104,43 +33452,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19121, - "end": 19151, + "start": 19063, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19121, - "end": 19136, + "start": 19063, + "end": 19078, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19121, - "end": 19126, + "start": 19063, + "end": 19068, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 24 }, "identifierName": "isNaN" @@ -33150,15 +33498,15 @@ "arguments": [ { "type": "Identifier", - "start": 19127, - "end": 19135, + "start": 19069, + "end": 19077, "loc": { "start": { - "line": 562, + "line": 558, "column": 25 }, "end": { - "line": 562, + "line": 558, "column": 33 }, "identifierName": "duration" @@ -33169,15 +33517,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19139, - "end": 19140, + "start": 19081, + "end": 19082, "loc": { "start": { - "line": 562, + "line": 558, "column": 37 }, "end": { - "line": 562, + "line": 558, "column": 38 } }, @@ -33189,15 +33537,15 @@ }, "alternate": { "type": "Identifier", - "start": 19143, - "end": 19151, + "start": 19085, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 41 }, "end": { - "line": 562, + "line": 558, "column": 49 }, "identifierName": "duration" @@ -33210,15 +33558,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -33227,442 +33575,655 @@ }, { "type": "IfStatement", - "start": 19207, - "end": 19558, + "start": 19149, + "end": 19583, "loc": { "start": { - "line": 565, + "line": 561, "column": 8 }, "end": { - "line": 570, + "line": 567, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19211, - "end": 19315, + "start": 19153, + "end": 19333, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 566, - "column": 62 + "line": 563, + "column": 72 } }, "left": { - "type": "MemberExpression", - "start": 19211, - "end": 19249, + "type": "LogicalExpression", + "start": 19153, + "end": 19257, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 50 + "line": 562, + "column": 62 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 19211, - "end": 19233, + "start": 19153, + "end": 19191, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 34 + "line": 561, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19211, - "end": 19222, + "start": 19153, + "end": 19175, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 23 + "line": 561, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 19211, - "end": 19215, + "type": "MemberExpression", + "start": 19153, + "end": 19164, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 16 + "line": 561, + "column": 23 } }, + "object": { + "type": "ThisExpression", + "start": 19153, + "end": 19157, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19158, + "end": 19164, + "loc": { + "start": { + "line": 561, + "column": 17 + }, + "end": { + "line": 561, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19216, - "end": 19222, + "start": 19165, + "end": 19175, "loc": { "start": { - "line": 565, - "column": 17 + "line": 561, + "column": 24 }, "end": { - "line": 565, - "column": 23 + "line": 561, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19223, - "end": 19233, + "start": 19176, + "end": 19191, "loc": { "start": { - "line": 565, - "column": 24 + "line": 561, + "column": 35 }, "end": { - "line": 565, - "column": 34 + "line": 561, + "column": 50 }, - "identifierName": "controlBar" + "identifierName": "durationDisplay" }, - "name": "controlBar" + "name": "durationDisplay" }, "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 19234, - "end": 19249, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 19207, + "end": 19257, "loc": { "start": { - "line": 565, - "column": 35 + "line": 562, + "column": 12 }, "end": { - "line": 565, - "column": 50 + "line": 562, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19207, + "end": 19255, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 60 + } + }, + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19245, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19229, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19218, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 19207, + "end": 19211, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 19212, + "end": 19218, + "loc": { + "start": { + "line": 562, + "column": 17 + }, + "end": { + "line": 562, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19219, + "end": 19229, + "loc": { + "start": { + "line": 562, + "column": 24 + }, + "end": { + "line": 562, + "column": 34 + }, + "identifierName": "controlBar" + }, + "name": "controlBar" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19230, + "end": 19245, + "loc": { + "start": { + "line": 562, + "column": 35 + }, + "end": { + "line": 562, + "column": 50 + }, + "identifierName": "durationDisplay" + }, + "name": "durationDisplay" + }, + "computed": false }, - "identifierName": "durationDisplay" + "property": { + "type": "Identifier", + "start": 19246, + "end": 19255, + "loc": { + "start": { + "line": 562, + "column": 51 + }, + "end": { + "line": 562, + "column": 60 + }, + "identifierName": "contentEl" + }, + "name": "contentEl" + }, + "computed": false }, - "name": "durationDisplay" + "arguments": [] }, - "computed": false, "leadingComments": null }, "operator": "&&", "right": { - "type": "CallExpression", - "start": 19265, - "end": 19315, + "type": "MemberExpression", + "start": 19273, + "end": 19333, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 62 + "line": 563, + "column": 72 } }, - "callee": { - "type": "MemberExpression", - "start": 19265, - "end": 19313, + "object": { + "type": "CallExpression", + "start": 19273, + "end": 19323, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 60 + "line": 563, + "column": 62 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 19265, - "end": 19303, + "start": 19273, + "end": 19321, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 50 + "line": 563, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19265, - "end": 19287, + "start": 19273, + "end": 19311, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 34 + "line": 563, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19265, - "end": 19276, + "start": 19273, + "end": 19295, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 23 + "line": 563, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 19265, - "end": 19269, + "type": "MemberExpression", + "start": 19273, + "end": 19284, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 16 + "line": 563, + "column": 23 } - } + }, + "object": { + "type": "ThisExpression", + "start": 19273, + "end": 19277, + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 19278, + "end": 19284, + "loc": { + "start": { + "line": 563, + "column": 17 + }, + "end": { + "line": 563, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 19270, - "end": 19276, + "start": 19285, + "end": 19295, "loc": { "start": { - "line": 566, - "column": 17 + "line": 563, + "column": 24 }, "end": { - "line": 566, - "column": 23 + "line": 563, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false }, "property": { "type": "Identifier", - "start": 19277, - "end": 19287, + "start": 19296, + "end": 19311, "loc": { "start": { - "line": 566, - "column": 24 + "line": 563, + "column": 35 }, "end": { - "line": 566, - "column": 34 + "line": 563, + "column": 50 }, - "identifierName": "controlBar" + "identifierName": "durationDisplay" }, - "name": "controlBar" + "name": "durationDisplay" }, "computed": false }, "property": { "type": "Identifier", - "start": 19288, - "end": 19303, + "start": 19312, + "end": 19321, "loc": { "start": { - "line": 566, - "column": 35 + "line": 563, + "column": 51 }, "end": { - "line": 566, - "column": 50 + "line": 563, + "column": 60 }, - "identifierName": "durationDisplay" + "identifierName": "contentEl" }, - "name": "durationDisplay" + "name": "contentEl" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 19304, - "end": 19313, - "loc": { - "start": { - "line": 566, - "column": 51 - }, - "end": { - "line": 566, - "column": 60 - }, - "identifierName": "contentEl" + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 19324, + "end": 19333, + "loc": { + "start": { + "line": 563, + "column": 63 }, - "name": "contentEl" + "end": { + "line": 563, + "column": 72 + }, + "identifierName": "lastChild" }, - "computed": false + "name": "lastChild" }, - "arguments": [] + "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 19317, - "end": 19558, + "start": 19335, + "end": 19583, "loc": { "start": { - "line": 566, - "column": 64 + "line": 563, + "column": 74 }, "end": { - "line": 570, + "line": 567, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19331, - "end": 19548, + "start": 19349, + "end": 19573, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 569, - "column": 70 + "line": 566, + "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 19331, - "end": 19547, + "start": 19349, + "end": 19572, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19331, - "end": 19384, + "start": 19349, + "end": 19402, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19369, + "start": 19349, + "end": 19387, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19353, + "start": 19349, + "end": 19371, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19342, + "start": 19349, + "end": 19360, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19331, - "end": 19335, + "start": 19349, + "end": 19353, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19336, - "end": 19342, + "start": 19354, + "end": 19360, "loc": { "start": { - "line": 567, + "line": 564, "column": 17 }, "end": { - "line": 567, + "line": 564, "column": 23 }, "identifierName": "player" @@ -33673,15 +34234,15 @@ }, "property": { "type": "Identifier", - "start": 19343, - "end": 19353, + "start": 19361, + "end": 19371, "loc": { "start": { - "line": 567, + "line": 564, "column": 24 }, "end": { - "line": 567, + "line": 564, "column": 34 }, "identifierName": "controlBar" @@ -33692,15 +34253,15 @@ }, "property": { "type": "Identifier", - "start": 19354, - "end": 19369, + "start": 19372, + "end": 19387, "loc": { "start": { - "line": 567, + "line": 564, "column": 35 }, "end": { - "line": 567, + "line": 564, "column": 50 }, "identifierName": "durationDisplay" @@ -33711,15 +34272,15 @@ }, "property": { "type": "Identifier", - "start": 19370, - "end": 19384, + "start": 19388, + "end": 19402, "loc": { "start": { - "line": 567, + "line": 564, "column": 51 }, "end": { - "line": 567, + "line": 564, "column": 65 }, "identifierName": "formattedTime_" @@ -33730,143 +34291,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 19403, - "end": 19547, + "start": 19421, + "end": 19572, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19403, - "end": 19475, + "start": 19421, + "end": 19493, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19463, + "start": 19421, + "end": 19481, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 76 } }, "object": { "type": "CallExpression", - "start": 19403, - "end": 19453, + "start": 19421, + "end": 19471, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19403, - "end": 19451, + "start": 19421, + "end": 19469, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19441, + "start": 19421, + "end": 19459, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19425, + "start": 19421, + "end": 19443, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19414, + "start": 19421, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 19403, - "end": 19407, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 20 } } }, "property": { "type": "Identifier", - "start": 19408, - "end": 19414, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 565, "column": 21 }, "end": { - "line": 568, + "line": 565, "column": 27 }, "identifierName": "player" @@ -33877,15 +34438,15 @@ }, "property": { "type": "Identifier", - "start": 19415, - "end": 19425, + "start": 19433, + "end": 19443, "loc": { "start": { - "line": 568, + "line": 565, "column": 28 }, "end": { - "line": 568, + "line": 565, "column": 38 }, "identifierName": "controlBar" @@ -33896,15 +34457,15 @@ }, "property": { "type": "Identifier", - "start": 19426, - "end": 19441, + "start": 19444, + "end": 19459, "loc": { "start": { - "line": 568, + "line": 565, "column": 39 }, "end": { - "line": 568, + "line": 565, "column": 54 }, "identifierName": "durationDisplay" @@ -33915,15 +34476,15 @@ }, "property": { "type": "Identifier", - "start": 19442, - "end": 19451, + "start": 19460, + "end": 19469, "loc": { "start": { - "line": 568, + "line": 565, "column": 55 }, "end": { - "line": 568, + "line": 565, "column": 64 }, "identifierName": "contentEl" @@ -33936,15 +34497,15 @@ }, "property": { "type": "Identifier", - "start": 19454, - "end": 19463, + "start": 19472, + "end": 19481, "loc": { "start": { - "line": 568, + "line": 565, "column": 67 }, "end": { - "line": 568, + "line": 565, "column": 76 }, "identifierName": "lastChild" @@ -33955,15 +34516,15 @@ }, "property": { "type": "Identifier", - "start": 19464, - "end": 19475, + "start": 19482, + "end": 19493, "loc": { "start": { - "line": 568, + "line": 565, "column": 77 }, "end": { - "line": 568, + "line": 565, "column": 88 }, "identifierName": "textContent" @@ -33974,29 +34535,29 @@ }, "right": { "type": "CallExpression", - "start": 19498, - "end": 19547, + "start": 19516, + "end": 19572, "loc": { "start": { - "line": 569, + "line": 566, "column": 20 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "callee": { "type": "Identifier", - "start": 19498, - "end": 19508, + "start": 19516, + "end": 19526, "loc": { "start": { - "line": 569, + "line": 566, "column": 20 }, "end": { - "line": 569, + "line": 566, "column": 30 }, "identifierName": "formatTime" @@ -34006,15 +34567,15 @@ "arguments": [ { "type": "Identifier", - "start": 19509, - "end": 19517, + "start": 19527, + "end": 19535, "loc": { "start": { - "line": 569, + "line": 566, "column": 31 }, "end": { - "line": 569, + "line": 566, "column": 39 }, "identifierName": "duration" @@ -34023,15 +34584,15 @@ }, { "type": "Identifier", - "start": 19519, - "end": 19527, + "start": 19537, + "end": 19545, "loc": { "start": { - "line": 569, + "line": 566, "column": 41 }, "end": { - "line": 569, + "line": 566, "column": 49 }, "identifierName": "duration" @@ -34040,49 +34601,49 @@ }, { "type": "MemberExpression", - "start": 19529, - "end": 19546, + "start": 19547, + "end": 19571, "loc": { "start": { - "line": 569, + "line": 566, "column": 51 }, "end": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 } }, "object": { "type": "ThisExpression", - "start": 19529, - "end": 19533, + "start": 19547, + "end": 19551, "loc": { "start": { - "line": 569, + "line": 566, "column": 51 }, "end": { - "line": 569, + "line": 566, "column": 55 } } }, "property": { "type": "Identifier", - "start": 19534, - "end": 19546, + "start": 19552, + "end": 19571, "loc": { "start": { - "line": 569, + "line": 566, "column": 56 }, "end": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false } @@ -34099,15 +34660,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -34122,15 +34683,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -34140,15 +34701,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -34157,15 +34718,15 @@ }, { "type": "ClassMethod", - "start": 19692, - "end": 20892, + "start": 19717, + "end": 20917, "loc": { "start": { - "line": 579, + "line": 576, "column": 4 }, "end": { - "line": 618, + "line": 615, "column": 5 } }, @@ -34173,15 +34734,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19692, - "end": 19703, + "start": 19717, + "end": 19728, "loc": { "start": { - "line": 579, + "line": 576, "column": 4 }, "end": { - "line": 579, + "line": 576, "column": 15 }, "identifierName": "onWaveReady" @@ -34197,88 +34758,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19706, - "end": 20892, + "start": 19731, + "end": 20917, "loc": { "start": { - "line": 579, + "line": 576, "column": 18 }, "end": { - "line": 618, + "line": 615, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 19716, - "end": 19738, + "start": 19741, + "end": 19763, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 19716, - "end": 19737, + "start": 19741, + "end": 19762, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19716, - "end": 19730, + "start": 19741, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 19716, - "end": 19720, + "start": 19741, + "end": 19745, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19721, - "end": 19730, + "start": 19746, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 577, "column": 13 }, "end": { - "line": 580, + "line": 577, "column": 22 }, "identifierName": "waveReady" @@ -34289,15 +34850,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19733, - "end": 19737, + "start": 19758, + "end": 19762, "loc": { "start": { - "line": 580, + "line": 577, "column": 25 }, "end": { - "line": 580, + "line": 577, "column": 29 } }, @@ -34307,73 +34868,73 @@ }, { "type": "ExpressionStatement", - "start": 19747, - "end": 19773, + "start": 19772, + "end": 19798, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 19747, - "end": 19772, + "start": 19772, + "end": 19797, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19747, - "end": 19764, + "start": 19772, + "end": 19789, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 19747, - "end": 19751, + "start": 19772, + "end": 19776, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19752, - "end": 19764, + "start": 19777, + "end": 19789, "loc": { "start": { - "line": 581, + "line": 578, "column": 13 }, "end": { - "line": 581, + "line": 578, "column": 25 }, "identifierName": "waveFinished" @@ -34384,15 +34945,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19767, - "end": 19772, + "start": 19792, + "end": 19797, "loc": { "start": { - "line": 581, + "line": 578, "column": 28 }, "end": { - "line": 581, + "line": 578, "column": 33 } }, @@ -34402,73 +34963,73 @@ }, { "type": "ExpressionStatement", - "start": 19782, - "end": 19804, + "start": 19807, + "end": 19829, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 19782, - "end": 19803, + "start": 19807, + "end": 19828, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19782, - "end": 19795, + "start": 19807, + "end": 19820, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 19782, - "end": 19786, + "start": 19807, + "end": 19811, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19787, - "end": 19795, + "start": 19812, + "end": 19820, "loc": { "start": { - "line": 582, + "line": 579, "column": 13 }, "end": { - "line": 582, + "line": 579, "column": 21 }, "identifierName": "liveMode" @@ -34479,15 +35040,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19798, - "end": 19803, + "start": 19823, + "end": 19828, "loc": { "start": { - "line": 582, + "line": 579, "column": 24 }, "end": { - "line": 582, + "line": 579, "column": 29 } }, @@ -34497,72 +35058,72 @@ }, { "type": "ExpressionStatement", - "start": 19814, - "end": 19844, + "start": 19839, + "end": 19869, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 19814, - "end": 19843, + "start": 19839, + "end": 19868, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 19814, - "end": 19822, + "start": 19839, + "end": 19847, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 19814, - "end": 19818, + "start": 19839, + "end": 19843, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19819, - "end": 19822, + "start": 19844, + "end": 19847, "loc": { "start": { - "line": 584, + "line": 581, "column": 13 }, "end": { - "line": 584, + "line": 581, "column": 16 }, "identifierName": "log" @@ -34574,15 +35135,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19823, - "end": 19842, + "start": 19848, + "end": 19867, "loc": { "start": { - "line": 584, + "line": 581, "column": 17 }, "end": { - "line": 584, + "line": 581, "column": 36 } }, @@ -34597,86 +35158,86 @@ }, { "type": "ExpressionStatement", - "start": 19853, - "end": 19891, + "start": 19878, + "end": 19916, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 19853, - "end": 19890, + "start": 19878, + "end": 19915, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 19853, - "end": 19872, + "start": 19878, + "end": 19897, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 19853, - "end": 19864, + "start": 19878, + "end": 19889, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 19853, - "end": 19857, + "start": 19878, + "end": 19882, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19858, - "end": 19864, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 585, + "line": 582, "column": 13 }, "end": { - "line": 585, + "line": 582, "column": 19 }, "identifierName": "player" @@ -34687,15 +35248,15 @@ }, "property": { "type": "Identifier", - "start": 19865, - "end": 19872, + "start": 19890, + "end": 19897, "loc": { "start": { - "line": 585, + "line": 582, "column": 20 }, "end": { - "line": 585, + "line": 582, "column": 27 }, "identifierName": "trigger" @@ -34707,29 +35268,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 19873, - "end": 19889, + "start": 19898, + "end": 19914, "loc": { "start": { - "line": 585, + "line": 582, "column": 28 }, "end": { - "line": 585, + "line": 582, "column": 44 } }, "object": { "type": "Identifier", - "start": 19873, - "end": 19878, + "start": 19898, + "end": 19903, "loc": { "start": { - "line": 585, + "line": 582, "column": 28 }, "end": { - "line": 585, + "line": 582, "column": 33 }, "identifierName": "Event" @@ -34738,15 +35299,15 @@ }, "property": { "type": "Identifier", - "start": 19879, - "end": 19889, + "start": 19904, + "end": 19914, "loc": { "start": { - "line": 585, + "line": 582, "column": 34 }, "end": { - "line": 585, + "line": 582, "column": 44 }, "identifierName": "WAVE_READY" @@ -34756,289 +35317,286 @@ "computed": false } ] - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " update time display", - "start": 19901, - "end": 19923, - "loc": { - "start": { - "line": 587, - "column": 8 - }, - "end": { - "line": 587, - "column": 30 - } - } - } - ] + } }, { "type": "IfStatement", - "start": 19932, - "end": 20291, + "start": 19926, + "end": 20318, "loc": { "start": { - "line": 588, + "line": 584, "column": 8 }, "end": { - "line": 597, + "line": 594, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19936, - "end": 19963, + "start": 19930, + "end": 19955, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, - "column": 39 + "line": 584, + "column": 37 } }, "left": { "type": "MemberExpression", - "start": 19936, - "end": 19948, + "start": 19930, + "end": 19942, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, + "line": 584, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 19936, - "end": 19940, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, + "line": 584, "column": 16 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 19941, - "end": 19948, + "start": 19935, + "end": 19942, "loc": { "start": { - "line": 588, + "line": 584, "column": 17 }, "end": { - "line": 588, + "line": 584, "column": 24 }, "identifierName": "backend" }, "name": "backend" }, - "computed": false, - "leadingComments": null + "computed": false }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 19953, - "end": 19963, + "type": "Identifier", + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 588, + "line": 584, "column": 29 }, "end": { - "line": 588, - "column": 39 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 584, + "column": 37 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" - }, - "leadingComments": null + "name": "WEBAUDIO" + } }, "consequent": { "type": "BlockStatement", - "start": 19965, - "end": 20291, + "start": 19957, + "end": 20318, "loc": { "start": { - "line": 588, - "column": 41 + "line": 584, + "column": 39 }, "end": { - "line": 597, + "line": 594, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19979, - "end": 20001, + "start": 20006, + "end": 20028, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 19979, - "end": 20000, + "start": 20006, + "end": 20027, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 19979, - "end": 19998, + "start": 20006, + "end": 20025, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 19979, - "end": 19983, + "start": 20006, + "end": 20010, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 16 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 19984, - "end": 19998, + "start": 20011, + "end": 20025, "loc": { "start": { - "line": 589, + "line": 586, "column": 17 }, "end": { - "line": 589, + "line": 586, "column": 31 }, "identifierName": "setCurrentTime" }, "name": "setCurrentTime" }, - "computed": false + "computed": false, + "leadingComments": null }, - "arguments": [] - } + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " update time display", + "start": 19971, + "end": 19993, + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 34 + } + } + } + ] }, { "type": "ExpressionStatement", - "start": 20014, - "end": 20033, + "start": 20041, + "end": 20060, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20014, - "end": 20032, + "start": 20041, + "end": 20059, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20014, - "end": 20030, + "start": 20041, + "end": 20057, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20014, - "end": 20018, + "start": 20041, + "end": 20045, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20019, - "end": 20030, + "start": 20046, + "end": 20057, "loc": { "start": { - "line": 590, + "line": 587, "column": 17 }, "end": { - "line": 590, + "line": 587, "column": 28 }, "identifierName": "setDuration" @@ -35053,15 +35611,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -35070,99 +35628,99 @@ }, { "type": "IfStatement", - "start": 20090, - "end": 20281, + "start": 20117, + "end": 20308, "loc": { "start": { - "line": 593, + "line": 590, "column": 12 }, "end": { - "line": 596, + "line": 593, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20094, - "end": 20206, + "start": 20121, + "end": 20233, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20094, - "end": 20141, + "start": 20121, + "end": 20168, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20094, - "end": 20127, + "start": 20121, + "end": 20154, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20094, - "end": 20116, + "start": 20121, + "end": 20143, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20094, - "end": 20105, + "start": 20121, + "end": 20132, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20094, - "end": 20098, + "start": 20121, + "end": 20125, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 20 } }, @@ -35170,15 +35728,15 @@ }, "property": { "type": "Identifier", - "start": 20099, - "end": 20105, + "start": 20126, + "end": 20132, "loc": { "start": { - "line": 593, + "line": 590, "column": 21 }, "end": { - "line": 593, + "line": 590, "column": 27 }, "identifierName": "player" @@ -35190,15 +35748,15 @@ }, "property": { "type": "Identifier", - "start": 20106, - "end": 20116, + "start": 20133, + "end": 20143, "loc": { "start": { - "line": 593, + "line": 590, "column": 28 }, "end": { - "line": 593, + "line": 590, "column": 38 }, "identifierName": "controlBar" @@ -35210,15 +35768,15 @@ }, "property": { "type": "Identifier", - "start": 20117, - "end": 20127, + "start": 20144, + "end": 20154, "loc": { "start": { - "line": 593, + "line": 590, "column": 39 }, "end": { - "line": 593, + "line": 590, "column": 49 }, "identifierName": "playToggle" @@ -35231,15 +35789,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20132, - "end": 20141, + "start": 20159, + "end": 20168, "loc": { "start": { - "line": 593, + "line": 590, "column": 54 }, "end": { - "line": 593, + "line": 590, "column": 63 }, "identifierName": "undefined" @@ -35251,100 +35809,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20161, - "end": 20206, + "start": 20188, + "end": 20233, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20161, - "end": 20204, + "start": 20188, + "end": 20231, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20194, + "start": 20188, + "end": 20221, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20183, + "start": 20188, + "end": 20210, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20172, + "start": 20188, + "end": 20199, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20161, - "end": 20165, + "start": 20188, + "end": 20192, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20166, - "end": 20172, + "start": 20193, + "end": 20199, "loc": { "start": { - "line": 594, + "line": 591, "column": 21 }, "end": { - "line": 594, + "line": 591, "column": 27 }, "identifierName": "player" @@ -35355,15 +35913,15 @@ }, "property": { "type": "Identifier", - "start": 20173, - "end": 20183, + "start": 20200, + "end": 20210, "loc": { "start": { - "line": 594, + "line": 591, "column": 28 }, "end": { - "line": 594, + "line": 591, "column": 38 }, "identifierName": "controlBar" @@ -35374,15 +35932,15 @@ }, "property": { "type": "Identifier", - "start": 20184, - "end": 20194, + "start": 20211, + "end": 20221, "loc": { "start": { - "line": 594, + "line": 591, "column": 39 }, "end": { - "line": 594, + "line": 591, "column": 49 }, "identifierName": "playToggle" @@ -35393,15 +35951,15 @@ }, "property": { "type": "Identifier", - "start": 20195, - "end": 20204, + "start": 20222, + "end": 20231, "loc": { "start": { - "line": 594, + "line": 591, "column": 50 }, "end": { - "line": 594, + "line": 591, "column": 59 }, "identifierName": "contentEl" @@ -35416,129 +35974,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20208, - "end": 20281, + "start": 20235, + "end": 20308, "loc": { "start": { - "line": 594, + "line": 591, "column": 63 }, "end": { - "line": 596, + "line": 593, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20226, - "end": 20267, + "start": 20253, + "end": 20294, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20226, - "end": 20266, + "start": 20253, + "end": 20293, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20226, - "end": 20264, + "start": 20253, + "end": 20291, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20259, + "start": 20253, + "end": 20286, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20248, + "start": 20253, + "end": 20275, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20237, + "start": 20253, + "end": 20264, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20226, - "end": 20230, + "start": 20253, + "end": 20257, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20231, - "end": 20237, + "start": 20258, + "end": 20264, "loc": { "start": { - "line": 595, + "line": 592, "column": 21 }, "end": { - "line": 595, + "line": 592, "column": 27 }, "identifierName": "player" @@ -35549,15 +36107,15 @@ }, "property": { "type": "Identifier", - "start": 20238, - "end": 20248, + "start": 20265, + "end": 20275, "loc": { "start": { - "line": 595, + "line": 592, "column": 28 }, "end": { - "line": 595, + "line": 592, "column": 38 }, "identifierName": "controlBar" @@ -35568,15 +36126,15 @@ }, "property": { "type": "Identifier", - "start": 20249, - "end": 20259, + "start": 20276, + "end": 20286, "loc": { "start": { - "line": 595, + "line": 592, "column": 39 }, "end": { - "line": 595, + "line": 592, "column": 49 }, "identifierName": "playToggle" @@ -35587,15 +36145,15 @@ }, "property": { "type": "Identifier", - "start": 20260, - "end": 20264, + "start": 20287, + "end": 20291, "loc": { "start": { - "line": 595, + "line": 592, "column": 50 }, "end": { - "line": 595, + "line": 592, "column": 54 }, "identifierName": "show" @@ -35615,15 +36173,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -35635,37 +36193,19 @@ "trailingComments": null }, "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " update time display", - "start": 19901, - "end": 19923, - "loc": { - "start": { - "line": 587, - "column": 8 - }, - "end": { - "line": 587, - "column": 30 - } - } - } - ], "trailingComments": [ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -35674,85 +36214,85 @@ }, { "type": "IfStatement", - "start": 20333, - "end": 20435, + "start": 20360, + "end": 20462, "loc": { "start": { - "line": 600, + "line": 597, "column": 8 }, "end": { - "line": 602, + "line": 599, "column": 9 } }, "test": { "type": "CallExpression", - "start": 20337, - "end": 20375, + "start": 20364, + "end": 20402, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 20337, - "end": 20373, + "start": 20364, + "end": 20400, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 20337, - "end": 20363, + "start": 20364, + "end": 20390, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20337, - "end": 20348, + "start": 20364, + "end": 20375, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20337, - "end": 20341, + "start": 20364, + "end": 20368, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 16 } }, @@ -35760,15 +36300,15 @@ }, "property": { "type": "Identifier", - "start": 20342, - "end": 20348, + "start": 20369, + "end": 20375, "loc": { "start": { - "line": 600, + "line": 597, "column": 17 }, "end": { - "line": 600, + "line": 597, "column": 23 }, "identifierName": "player" @@ -35780,15 +36320,15 @@ }, "property": { "type": "Identifier", - "start": 20349, - "end": 20363, + "start": 20376, + "end": 20390, "loc": { "start": { - "line": 600, + "line": 597, "column": 24 }, "end": { - "line": 600, + "line": 597, "column": 38 }, "identifierName": "loadingSpinner" @@ -35800,15 +36340,15 @@ }, "property": { "type": "Identifier", - "start": 20364, - "end": 20373, + "start": 20391, + "end": 20400, "loc": { "start": { - "line": 600, + "line": 597, "column": 39 }, "end": { - "line": 600, + "line": 597, "column": 48 }, "identifierName": "contentEl" @@ -35823,115 +36363,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20377, - "end": 20435, + "start": 20404, + "end": 20462, "loc": { "start": { - "line": 600, + "line": 597, "column": 52 }, "end": { - "line": 602, + "line": 599, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20391, - "end": 20425, + "start": 20418, + "end": 20452, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20391, - "end": 20424, + "start": 20418, + "end": 20451, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20391, - "end": 20422, + "start": 20418, + "end": 20449, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 20391, - "end": 20417, + "start": 20418, + "end": 20444, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20391, - "end": 20402, + "start": 20418, + "end": 20429, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20391, - "end": 20395, + "start": 20418, + "end": 20422, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20396, - "end": 20402, + "start": 20423, + "end": 20429, "loc": { "start": { - "line": 601, + "line": 598, "column": 17 }, "end": { - "line": 601, + "line": 598, "column": 23 }, "identifierName": "player" @@ -35942,15 +36482,15 @@ }, "property": { "type": "Identifier", - "start": 20403, - "end": 20417, + "start": 20430, + "end": 20444, "loc": { "start": { - "line": 601, + "line": 598, "column": 24 }, "end": { - "line": 601, + "line": 598, "column": 38 }, "identifierName": "loadingSpinner" @@ -35961,15 +36501,15 @@ }, "property": { "type": "Identifier", - "start": 20418, - "end": 20422, + "start": 20445, + "end": 20449, "loc": { "start": { - "line": 601, + "line": 598, "column": 39 }, "end": { - "line": 601, + "line": 598, "column": 43 }, "identifierName": "hide" @@ -35990,15 +36530,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -36008,15 +36548,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -36025,85 +36565,85 @@ }, { "type": "IfStatement", - "start": 20490, - "end": 20886, + "start": 20517, + "end": 20911, "loc": { "start": { - "line": 605, + "line": 602, "column": 8 }, "end": { - "line": 617, + "line": 614, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20494, - "end": 20532, + "start": 20521, + "end": 20559, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 20494, - "end": 20523, + "start": 20521, + "end": 20550, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20494, - "end": 20514, + "start": 20521, + "end": 20541, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20494, - "end": 20505, + "start": 20521, + "end": 20532, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20494, - "end": 20498, + "start": 20521, + "end": 20525, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 16 } }, @@ -36111,15 +36651,15 @@ }, "property": { "type": "Identifier", - "start": 20499, - "end": 20505, + "start": 20526, + "end": 20532, "loc": { "start": { - "line": 605, + "line": 602, "column": 17 }, "end": { - "line": 605, + "line": 602, "column": 23 }, "identifierName": "player" @@ -36131,15 +36671,15 @@ }, "property": { "type": "Identifier", - "start": 20506, - "end": 20514, + "start": 20533, + "end": 20541, "loc": { "start": { - "line": 605, + "line": 602, "column": 24 }, "end": { - "line": 605, + "line": 602, "column": 32 }, "identifierName": "options_" @@ -36151,15 +36691,15 @@ }, "property": { "type": "Identifier", - "start": 20515, - "end": 20523, + "start": 20542, + "end": 20550, "loc": { "start": { - "line": 605, + "line": 602, "column": 33 }, "end": { - "line": 605, + "line": 602, "column": 41 }, "identifierName": "autoplay" @@ -36172,15 +36712,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 20528, - "end": 20532, + "start": 20555, + "end": 20559, "loc": { "start": { - "line": 605, + "line": 602, "column": 46 }, "end": { - "line": 605, + "line": 602, "column": 50 } }, @@ -36190,72 +36730,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20534, - "end": 20886, + "start": 20561, + "end": 20911, "loc": { "start": { - "line": 605, + "line": 602, "column": 52 }, "end": { - "line": 617, + "line": 614, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20608, - "end": 20626, + "start": 20635, + "end": 20653, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 20608, - "end": 20625, + "start": 20635, + "end": 20652, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 20608, - "end": 20622, + "start": 20635, + "end": 20649, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 20608, - "end": 20612, + "start": 20635, + "end": 20639, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 16 } }, @@ -36263,15 +36803,15 @@ }, "property": { "type": "Identifier", - "start": 20613, - "end": 20622, + "start": 20640, + "end": 20649, "loc": { "start": { - "line": 607, + "line": 604, "column": 17 }, "end": { - "line": 607, + "line": 604, "column": 26 }, "identifierName": "setVolume" @@ -36284,15 +36824,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 20623, - "end": 20624, + "start": 20650, + "end": 20651, "loc": { "start": { - "line": 607, + "line": 604, "column": 27 }, "end": { - "line": 607, + "line": 604, "column": 28 } }, @@ -36309,15 +36849,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 20548, - "end": 20595, + "start": 20575, + "end": 20622, "loc": { "start": { - "line": 606, + "line": 603, "column": 12 }, "end": { - "line": 606, + "line": 603, "column": 59 } } @@ -36327,15 +36867,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -36344,57 +36884,57 @@ }, { "type": "IfStatement", - "start": 20669, - "end": 20876, + "start": 20696, + "end": 20901, "loc": { "start": { - "line": 610, + "line": 607, "column": 12 }, "end": { - "line": 616, + "line": 613, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 20673, - "end": 20700, + "start": 20700, + "end": 20725, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, - "column": 43 + "line": 607, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 20673, - "end": 20685, + "start": 20700, + "end": 20712, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, + "line": 607, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20673, - "end": 20677, + "start": 20700, + "end": 20704, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, + "line": 607, "column": 20 } }, @@ -36402,15 +36942,15 @@ }, "property": { "type": "Identifier", - "start": 20678, - "end": 20685, + "start": 20705, + "end": 20712, "loc": { "start": { - "line": 610, + "line": 607, "column": 21 }, "end": { - "line": 610, + "line": 607, "column": 28 }, "identifierName": "backend" @@ -36422,110 +36962,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 20690, - "end": 20700, + "type": "Identifier", + "start": 20717, + "end": 20725, "loc": { "start": { - "line": 610, + "line": 607, "column": 33 }, "end": { - "line": 610, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 607, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 20702, - "end": 20746, + "start": 20727, + "end": 20771, "loc": { "start": { - "line": 610, - "column": 45 + "line": 607, + "column": 43 }, "end": { - "line": 612, + "line": 609, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20720, - "end": 20732, + "start": 20745, + "end": 20757, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 20720, - "end": 20731, + "start": 20745, + "end": 20756, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 20720, - "end": 20729, + "start": 20745, + "end": 20754, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20720, - "end": 20724, + "start": 20745, + "end": 20749, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20725, - "end": 20729, + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 611, + "line": 608, "column": 21 }, "end": { - "line": 611, + "line": 608, "column": 25 }, "identifierName": "play" @@ -36542,129 +37079,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 20752, - "end": 20876, + "start": 20777, + "end": 20901, "loc": { "start": { - "line": 612, + "line": 609, "column": 19 }, "end": { - "line": 616, + "line": 613, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20770, - "end": 20862, + "start": 20795, + "end": 20887, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 615, + "line": 612, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 20770, - "end": 20861, + "start": 20795, + "end": 20886, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 615, + "line": 612, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 20770, - "end": 20794, + "start": 20795, + "end": 20819, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 40 } }, "object": { "type": "CallExpression", - "start": 20770, - "end": 20788, + "start": 20795, + "end": 20813, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 20770, - "end": 20786, + "start": 20795, + "end": 20811, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20770, - "end": 20781, + "start": 20795, + "end": 20806, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20770, - "end": 20774, + "start": 20795, + "end": 20799, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20775, - "end": 20781, + "start": 20800, + "end": 20806, "loc": { "start": { - "line": 613, + "line": 610, "column": 21 }, "end": { - "line": 613, + "line": 610, "column": 27 }, "identifierName": "player" @@ -36675,15 +37212,15 @@ }, "property": { "type": "Identifier", - "start": 20782, - "end": 20786, + "start": 20807, + "end": 20811, "loc": { "start": { - "line": 613, + "line": 610, "column": 28 }, "end": { - "line": 613, + "line": 610, "column": 32 }, "identifierName": "play" @@ -36696,15 +37233,15 @@ }, "property": { "type": "Identifier", - "start": 20789, - "end": 20794, + "start": 20814, + "end": 20819, "loc": { "start": { - "line": 613, + "line": 610, "column": 35 }, "end": { - "line": 613, + "line": 610, "column": 40 }, "identifierName": "catch" @@ -36716,15 +37253,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20795, - "end": 20860, + "start": 20820, + "end": 20885, "loc": { "start": { - "line": 613, + "line": 610, "column": 41 }, "end": { - "line": 615, + "line": 612, "column": 17 } }, @@ -36735,15 +37272,15 @@ "params": [ { "type": "Identifier", - "start": 20795, - "end": 20796, + "start": 20820, + "end": 20821, "loc": { "start": { - "line": 613, + "line": 610, "column": 41 }, "end": { - "line": 613, + "line": 610, "column": 42 }, "identifierName": "e" @@ -36753,87 +37290,87 @@ ], "body": { "type": "BlockStatement", - "start": 20800, - "end": 20860, + "start": 20825, + "end": 20885, "loc": { "start": { - "line": 613, + "line": 610, "column": 46 }, "end": { - "line": 615, + "line": 612, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 20822, - "end": 20842, + "start": 20847, + "end": 20867, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 20822, - "end": 20841, + "start": 20847, + "end": 20866, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 20822, - "end": 20838, + "start": 20847, + "end": 20863, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 20822, - "end": 20826, + "start": 20847, + "end": 20851, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 24 } } }, "property": { "type": "Identifier", - "start": 20827, - "end": 20838, + "start": 20852, + "end": 20863, "loc": { "start": { - "line": 614, + "line": 611, "column": 25 }, "end": { - "line": 614, + "line": 611, "column": 36 }, "identifierName": "onWaveError" @@ -36845,15 +37382,15 @@ "arguments": [ { "type": "Identifier", - "start": 20839, - "end": 20840, + "start": 20864, + "end": 20865, "loc": { "start": { - "line": 614, + "line": 611, "column": 37 }, "end": { - "line": 614, + "line": 611, "column": 38 }, "identifierName": "e" @@ -36877,15 +37414,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -36900,15 +37437,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -36923,15 +37460,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -36941,15 +37478,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -36958,15 +37495,15 @@ }, { "type": "ClassMethod", - "start": 21010, - "end": 22213, + "start": 21035, + "end": 22234, "loc": { "start": { - "line": 626, + "line": 623, "column": 4 }, "end": { - "line": 661, + "line": 658, "column": 5 } }, @@ -36974,15 +37511,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21010, - "end": 21022, + "start": 21035, + "end": 21047, "loc": { "start": { - "line": 626, + "line": 623, "column": 4 }, "end": { - "line": 626, + "line": 623, "column": 16 }, "identifierName": "onWaveFinish" @@ -36998,87 +37535,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21025, - "end": 22213, + "start": 21050, + "end": 22234, "loc": { "start": { - "line": 626, + "line": 623, "column": 19 }, "end": { - "line": 661, + "line": 658, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21035, - "end": 21065, + "start": 21060, + "end": 21090, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21035, - "end": 21064, + "start": 21060, + "end": 21089, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21035, - "end": 21043, + "start": 21060, + "end": 21068, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21035, - "end": 21039, + "start": 21060, + "end": 21064, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21040, - "end": 21043, + "start": 21065, + "end": 21068, "loc": { "start": { - "line": 627, + "line": 624, "column": 13 }, "end": { - "line": 627, + "line": 624, "column": 16 }, "identifierName": "log" @@ -37090,15 +37627,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21044, - "end": 21063, + "start": 21069, + "end": 21088, "loc": { "start": { - "line": 627, + "line": 624, "column": 17 }, "end": { - "line": 627, + "line": 624, "column": 36 } }, @@ -37114,15 +37651,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -37131,71 +37668,71 @@ }, { "type": "ExpressionStatement", - "start": 21103, - "end": 21146, + "start": 21128, + "end": 21171, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21103, - "end": 21145, + "start": 21128, + "end": 21170, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21103, - "end": 21122, + "start": 21128, + "end": 21147, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21103, - "end": 21114, + "start": 21128, + "end": 21139, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21103, - "end": 21107, + "start": 21128, + "end": 21132, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 12 } }, @@ -37203,15 +37740,15 @@ }, "property": { "type": "Identifier", - "start": 21108, - "end": 21114, + "start": 21133, + "end": 21139, "loc": { "start": { - "line": 630, + "line": 627, "column": 13 }, "end": { - "line": 630, + "line": 627, "column": 19 }, "identifierName": "player" @@ -37223,15 +37760,15 @@ }, "property": { "type": "Identifier", - "start": 21115, - "end": 21122, + "start": 21140, + "end": 21147, "loc": { "start": { - "line": 630, + "line": 627, "column": 20 }, "end": { - "line": 630, + "line": 627, "column": 27 }, "identifierName": "trigger" @@ -37244,29 +37781,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21123, - "end": 21144, + "start": 21148, + "end": 21169, "loc": { "start": { - "line": 630, + "line": 627, "column": 28 }, "end": { - "line": 630, + "line": 627, "column": 49 } }, "object": { "type": "Identifier", - "start": 21123, - "end": 21128, + "start": 21148, + "end": 21153, "loc": { "start": { - "line": 630, + "line": 627, "column": 28 }, "end": { - "line": 630, + "line": 627, "column": 33 }, "identifierName": "Event" @@ -37275,15 +37812,15 @@ }, "property": { "type": "Identifier", - "start": 21129, - "end": 21144, + "start": 21154, + "end": 21169, "loc": { "start": { - "line": 630, + "line": 627, "column": 34 }, "end": { - "line": 630, + "line": 627, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -37299,15 +37836,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -37317,15 +37854,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -37334,85 +37871,85 @@ }, { "type": "IfStatement", - "start": 21192, - "end": 22207, + "start": 21217, + "end": 22228, "loc": { "start": { - "line": 633, + "line": 630, "column": 8 }, "end": { - "line": 660, + "line": 657, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21196, - "end": 21230, + "start": 21221, + "end": 21255, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21196, - "end": 21221, + "start": 21221, + "end": 21246, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21196, - "end": 21216, + "start": 21221, + "end": 21241, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21196, - "end": 21207, + "start": 21221, + "end": 21232, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21196, - "end": 21200, + "start": 21221, + "end": 21225, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 16 } }, @@ -37420,15 +37957,15 @@ }, "property": { "type": "Identifier", - "start": 21201, - "end": 21207, + "start": 21226, + "end": 21232, "loc": { "start": { - "line": 633, + "line": 630, "column": 17 }, "end": { - "line": 633, + "line": 630, "column": 23 }, "identifierName": "player" @@ -37440,15 +37977,15 @@ }, "property": { "type": "Identifier", - "start": 21208, - "end": 21216, + "start": 21233, + "end": 21241, "loc": { "start": { - "line": 633, + "line": 630, "column": 24 }, "end": { - "line": 633, + "line": 630, "column": 32 }, "identifierName": "options_" @@ -37460,15 +37997,15 @@ }, "property": { "type": "Identifier", - "start": 21217, - "end": 21221, + "start": 21242, + "end": 21246, "loc": { "start": { - "line": 633, + "line": 630, "column": 33 }, "end": { - "line": 633, + "line": 630, "column": 37 }, "identifierName": "loop" @@ -37481,15 +38018,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21226, - "end": 21230, + "start": 21251, + "end": 21255, "loc": { "start": { - "line": 633, + "line": 630, "column": 42 }, "end": { - "line": 633, + "line": 630, "column": 46 } }, @@ -37499,87 +38036,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21232, - "end": 21403, + "start": 21257, + "end": 21426, "loc": { "start": { - "line": 633, + "line": 630, "column": 48 }, "end": { - "line": 639, + "line": 636, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21246, - "end": 21393, + "start": 21271, + "end": 21416, "loc": { "start": { - "line": 634, + "line": 631, "column": 12 }, "end": { - "line": 638, + "line": 635, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21250, - "end": 21277, + "start": 21275, + "end": 21300, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, - "column": 43 + "line": 631, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21250, - "end": 21262, + "start": 21275, + "end": 21287, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, + "line": 631, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21250, - "end": 21254, + "start": 21275, + "end": 21279, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, + "line": 631, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21255, - "end": 21262, + "start": 21280, + "end": 21287, "loc": { "start": { - "line": 634, + "line": 631, "column": 21 }, "end": { - "line": 634, + "line": 631, "column": 28 }, "identifierName": "backend" @@ -37590,108 +38127,105 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 21267, - "end": 21277, + "type": "Identifier", + "start": 21292, + "end": 21300, "loc": { "start": { - "line": 634, + "line": 631, "column": 33 }, "end": { - "line": 634, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 631, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 21279, - "end": 21393, + "start": 21302, + "end": 21416, "loc": { "start": { - "line": 634, - "column": 45 + "line": 631, + "column": 43 }, "end": { - "line": 638, + "line": 635, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21331, - "end": 21350, + "start": 21354, + "end": 21373, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 21331, - "end": 21349, + "start": 21354, + "end": 21372, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21331, - "end": 21347, + "start": 21354, + "end": 21370, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21331, - "end": 21342, + "start": 21354, + "end": 21365, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21331, - "end": 21335, + "start": 21354, + "end": 21358, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 20 } }, @@ -37699,15 +38233,15 @@ }, "property": { "type": "Identifier", - "start": 21336, - "end": 21342, + "start": 21359, + "end": 21365, "loc": { "start": { - "line": 636, + "line": 633, "column": 21 }, "end": { - "line": 636, + "line": 633, "column": 27 }, "identifierName": "surfer" @@ -37719,15 +38253,15 @@ }, "property": { "type": "Identifier", - "start": 21343, - "end": 21347, + "start": 21366, + "end": 21370, "loc": { "start": { - "line": 636, + "line": 633, "column": 28 }, "end": { - "line": 636, + "line": 633, "column": 32 }, "identifierName": "stop" @@ -37744,15 +38278,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21297, - "end": 21314, + "start": 21320, + "end": 21337, "loc": { "start": { - "line": 635, + "line": 632, "column": 16 }, "end": { - "line": 635, + "line": 632, "column": 33 } } @@ -37761,72 +38295,72 @@ }, { "type": "ExpressionStatement", - "start": 21367, - "end": 21379, + "start": 21390, + "end": 21402, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21367, - "end": 21378, + "start": 21390, + "end": 21401, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21367, - "end": 21376, + "start": 21390, + "end": 21399, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21367, - "end": 21371, + "start": 21390, + "end": 21394, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21372, - "end": 21376, + "start": 21395, + "end": 21399, "loc": { "start": { - "line": 637, + "line": 634, "column": 21 }, "end": { - "line": 637, + "line": 634, "column": 25 }, "identifierName": "play" @@ -37848,73 +38382,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21409, - "end": 22207, + "start": 21432, + "end": 22228, "loc": { "start": { - "line": 639, + "line": 636, "column": 15 }, "end": { - "line": 660, + "line": 657, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21447, - "end": 21472, + "start": 21470, + "end": 21495, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 21447, - "end": 21471, + "start": 21470, + "end": 21494, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21447, - "end": 21464, + "start": 21470, + "end": 21487, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 21447, - "end": 21451, + "start": 21470, + "end": 21474, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 16 } }, @@ -37922,15 +38456,15 @@ }, "property": { "type": "Identifier", - "start": 21452, - "end": 21464, + "start": 21475, + "end": 21487, "loc": { "start": { - "line": 641, + "line": 638, "column": 17 }, "end": { - "line": 641, + "line": 638, "column": 29 }, "identifierName": "waveFinished" @@ -37942,15 +38476,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21467, - "end": 21471, + "start": 21490, + "end": 21494, "loc": { "start": { - "line": 641, + "line": 638, "column": 32 }, "end": { - "line": 641, + "line": 638, "column": 36 } }, @@ -37962,15 +38496,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21423, - "end": 21434, + "start": 21446, + "end": 21457, "loc": { "start": { - "line": 640, + "line": 637, "column": 12 }, "end": { - "line": 640, + "line": 637, "column": 23 } } @@ -37979,72 +38513,72 @@ }, { "type": "IfStatement", - "start": 21486, - "end": 22197, + "start": 21509, + "end": 22218, "loc": { "start": { - "line": 643, + "line": 640, "column": 12 }, "end": { - "line": 659, + "line": 656, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21490, - "end": 21517, + "start": 21513, + "end": 21538, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, - "column": 43 + "line": 640, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21490, - "end": 21502, + "start": 21513, + "end": 21525, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, + "line": 640, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21490, - "end": 21494, + "start": 21513, + "end": 21517, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, + "line": 640, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21495, - "end": 21502, + "start": 21518, + "end": 21525, "loc": { "start": { - "line": 643, + "line": 640, "column": 21 }, "end": { - "line": 643, + "line": 640, "column": 28 }, "identifierName": "backend" @@ -38055,94 +38589,91 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 21507, - "end": 21517, + "type": "Identifier", + "start": 21530, + "end": 21538, "loc": { "start": { - "line": 643, + "line": 640, "column": 33 }, "end": { - "line": 643, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 640, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 21519, - "end": 22197, + "start": 21540, + "end": 22218, "loc": { "start": { - "line": 643, - "column": 45 + "line": 640, + "column": 43 }, "end": { - "line": 659, + "line": 656, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21569, - "end": 21582, + "start": 21590, + "end": 21603, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 21569, - "end": 21581, + "start": 21590, + "end": 21602, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 21569, - "end": 21579, + "start": 21590, + "end": 21600, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21569, - "end": 21573, + "start": 21590, + "end": 21594, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 20 } }, @@ -38150,15 +38681,15 @@ }, "property": { "type": "Identifier", - "start": 21574, - "end": 21579, + "start": 21595, + "end": 21600, "loc": { "start": { - "line": 645, + "line": 642, "column": 21 }, "end": { - "line": 645, + "line": 642, "column": 26 }, "identifierName": "pause" @@ -38175,15 +38706,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21537, - "end": 21552, + "start": 21558, + "end": 21573, "loc": { "start": { - "line": 644, + "line": 641, "column": 16 }, "end": { - "line": 644, + "line": 641, "column": 31 } } @@ -38193,15 +38724,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -38210,71 +38741,71 @@ }, { "type": "ExpressionStatement", - "start": 21656, - "end": 21689, + "start": 21677, + "end": 21710, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 21656, - "end": 21688, + "start": 21677, + "end": 21709, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 21656, - "end": 21675, + "start": 21677, + "end": 21696, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 21656, - "end": 21667, + "start": 21677, + "end": 21688, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21656, - "end": 21660, + "start": 21677, + "end": 21681, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 20 } }, @@ -38282,15 +38813,15 @@ }, "property": { "type": "Identifier", - "start": 21661, - "end": 21667, + "start": 21682, + "end": 21688, "loc": { "start": { - "line": 648, + "line": 645, "column": 21 }, "end": { - "line": 648, + "line": 645, "column": 27 }, "identifierName": "player" @@ -38302,15 +38833,15 @@ }, "property": { "type": "Identifier", - "start": 21668, - "end": 21675, + "start": 21689, + "end": 21696, "loc": { "start": { - "line": 648, + "line": 645, "column": 28 }, "end": { - "line": 648, + "line": 645, "column": 35 }, "identifierName": "trigger" @@ -38323,29 +38854,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21676, - "end": 21687, + "start": 21697, + "end": 21708, "loc": { "start": { - "line": 648, + "line": 645, "column": 36 }, "end": { - "line": 648, + "line": 645, "column": 47 } }, "object": { "type": "Identifier", - "start": 21676, - "end": 21681, + "start": 21697, + "end": 21702, "loc": { "start": { - "line": 648, + "line": 645, "column": 36 }, "end": { - "line": 648, + "line": 645, "column": 41 }, "identifierName": "Event" @@ -38354,15 +38885,15 @@ }, "property": { "type": "Identifier", - "start": 21682, - "end": 21687, + "start": 21703, + "end": 21708, "loc": { "start": { - "line": 648, + "line": 645, "column": 42 }, "end": { - "line": 648, + "line": 645, "column": 47 }, "identifierName": "ENDED" @@ -38378,15 +38909,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -38396,15 +38927,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -38412,15 +38943,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -38428,15 +38959,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -38445,71 +38976,71 @@ }, { "type": "ExpressionStatement", - "start": 21892, - "end": 22183, + "start": 21913, + "end": 22204, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 658, + "line": 655, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21892, - "end": 22182, + "start": 21913, + "end": 22203, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 658, + "line": 655, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21892, - "end": 21908, + "start": 21913, + "end": 21929, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21892, - "end": 21903, + "start": 21913, + "end": 21924, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21892, - "end": 21896, + "start": 21913, + "end": 21917, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 20 } }, @@ -38517,15 +39048,15 @@ }, "property": { "type": "Identifier", - "start": 21897, - "end": 21903, + "start": 21918, + "end": 21924, "loc": { "start": { - "line": 653, + "line": 650, "column": 21 }, "end": { - "line": 653, + "line": 650, "column": 27 }, "identifierName": "surfer" @@ -38537,15 +39068,15 @@ }, "property": { "type": "Identifier", - "start": 21904, - "end": 21908, + "start": 21925, + "end": 21929, "loc": { "start": { - "line": 653, + "line": 650, "column": 28 }, "end": { - "line": 653, + "line": 650, "column": 32 }, "identifierName": "once" @@ -38558,29 +39089,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21909, - "end": 21919, + "start": 21930, + "end": 21940, "loc": { "start": { - "line": 653, + "line": 650, "column": 33 }, "end": { - "line": 653, + "line": 650, "column": 43 } }, "object": { "type": "Identifier", - "start": 21909, - "end": 21914, + "start": 21930, + "end": 21935, "loc": { "start": { - "line": 653, + "line": 650, "column": 33 }, "end": { - "line": 653, + "line": 650, "column": 38 }, "identifierName": "Event" @@ -38589,15 +39120,15 @@ }, "property": { "type": "Identifier", - "start": 21915, - "end": 21919, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 653, + "line": 650, "column": 39 }, "end": { - "line": 653, + "line": 650, "column": 43 }, "identifierName": "SEEK" @@ -38608,15 +39139,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 21921, - "end": 22181, + "start": 21942, + "end": 22202, "loc": { "start": { - "line": 653, + "line": 650, "column": 45 }, "end": { - "line": 658, + "line": 655, "column": 17 } }, @@ -38627,115 +39158,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21927, - "end": 22181, + "start": 21948, + "end": 22202, "loc": { "start": { - "line": 653, + "line": 650, "column": 51 }, "end": { - "line": 658, + "line": 655, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 21949, - "end": 22109, + "start": 21970, + "end": 22130, "loc": { "start": { - "line": 654, + "line": 651, "column": 20 }, "end": { - "line": 656, + "line": 653, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 21953, - "end": 22000, + "start": 21974, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 21953, - "end": 21986, + "start": 21974, + "end": 22007, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 21953, - "end": 21975, + "start": 21974, + "end": 21996, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 21953, - "end": 21964, + "start": 21974, + "end": 21985, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 21953, - "end": 21957, + "start": 21974, + "end": 21978, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 28 } } }, "property": { "type": "Identifier", - "start": 21958, - "end": 21964, + "start": 21979, + "end": 21985, "loc": { "start": { - "line": 654, + "line": 651, "column": 29 }, "end": { - "line": 654, + "line": 651, "column": 35 }, "identifierName": "player" @@ -38746,15 +39277,15 @@ }, "property": { "type": "Identifier", - "start": 21965, - "end": 21975, + "start": 21986, + "end": 21996, "loc": { "start": { - "line": 654, + "line": 651, "column": 36 }, "end": { - "line": 654, + "line": 651, "column": 46 }, "identifierName": "controlBar" @@ -38765,15 +39296,15 @@ }, "property": { "type": "Identifier", - "start": 21976, - "end": 21986, + "start": 21997, + "end": 22007, "loc": { "start": { - "line": 654, + "line": 651, "column": 47 }, "end": { - "line": 654, + "line": 651, "column": 57 }, "identifierName": "playToggle" @@ -38785,15 +39316,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 21991, - "end": 22000, + "start": 22012, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 651, "column": 62 }, "end": { - "line": 654, + "line": 651, "column": 71 }, "identifierName": "undefined" @@ -38803,129 +39334,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22002, - "end": 22109, + "start": 22023, + "end": 22130, "loc": { "start": { - "line": 654, + "line": 651, "column": 73 }, "end": { - "line": 656, + "line": 653, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22028, - "end": 22087, + "start": 22049, + "end": 22108, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22028, - "end": 22086, + "start": 22049, + "end": 22107, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22028, - "end": 22073, + "start": 22049, + "end": 22094, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22061, + "start": 22049, + "end": 22082, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22050, + "start": 22049, + "end": 22071, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22039, + "start": 22049, + "end": 22060, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22028, - "end": 22032, + "start": 22049, + "end": 22053, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22033, - "end": 22039, + "start": 22054, + "end": 22060, "loc": { "start": { - "line": 655, + "line": 652, "column": 29 }, "end": { - "line": 655, + "line": 652, "column": 35 }, "identifierName": "player" @@ -38936,15 +39467,15 @@ }, "property": { "type": "Identifier", - "start": 22040, - "end": 22050, + "start": 22061, + "end": 22071, "loc": { "start": { - "line": 655, + "line": 652, "column": 36 }, "end": { - "line": 655, + "line": 652, "column": 46 }, "identifierName": "controlBar" @@ -38955,15 +39486,15 @@ }, "property": { "type": "Identifier", - "start": 22051, - "end": 22061, + "start": 22072, + "end": 22082, "loc": { "start": { - "line": 655, + "line": 652, "column": 47 }, "end": { - "line": 655, + "line": 652, "column": 57 }, "identifierName": "playToggle" @@ -38974,15 +39505,15 @@ }, "property": { "type": "Identifier", - "start": 22062, - "end": 22073, + "start": 22083, + "end": 22094, "loc": { "start": { - "line": 655, + "line": 652, "column": 58 }, "end": { - "line": 655, + "line": 652, "column": 69 }, "identifierName": "removeClass" @@ -38994,15 +39525,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22074, - "end": 22085, + "start": 22095, + "end": 22106, "loc": { "start": { - "line": 655, + "line": 652, "column": 70 }, "end": { - "line": 655, + "line": 652, "column": 81 } }, @@ -39022,86 +39553,86 @@ }, { "type": "ExpressionStatement", - "start": 22130, - "end": 22163, + "start": 22151, + "end": 22184, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22130, - "end": 22162, + "start": 22151, + "end": 22183, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22130, - "end": 22149, + "start": 22151, + "end": 22170, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22130, - "end": 22141, + "start": 22151, + "end": 22162, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22130, - "end": 22134, + "start": 22151, + "end": 22155, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22135, - "end": 22141, + "start": 22156, + "end": 22162, "loc": { "start": { - "line": 657, + "line": 654, "column": 25 }, "end": { - "line": 657, + "line": 654, "column": 31 }, "identifierName": "player" @@ -39112,15 +39643,15 @@ }, "property": { "type": "Identifier", - "start": 22142, - "end": 22149, + "start": 22163, + "end": 22170, "loc": { "start": { - "line": 657, + "line": 654, "column": 32 }, "end": { - "line": 657, + "line": 654, "column": 39 }, "identifierName": "trigger" @@ -39132,29 +39663,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22150, - "end": 22161, + "start": 22171, + "end": 22182, "loc": { "start": { - "line": 657, + "line": 654, "column": 40 }, "end": { - "line": 657, + "line": 654, "column": 51 } }, "object": { "type": "Identifier", - "start": 22150, - "end": 22155, + "start": 22171, + "end": 22176, "loc": { "start": { - "line": 657, + "line": 654, "column": 40 }, "end": { - "line": 657, + "line": 654, "column": 45 }, "identifierName": "Event" @@ -39163,15 +39694,15 @@ }, "property": { "type": "Identifier", - "start": 22156, - "end": 22161, + "start": 22177, + "end": 22182, "loc": { "start": { - "line": 657, + "line": 654, "column": 46 }, "end": { - "line": 657, + "line": 654, "column": 51 }, "identifierName": "PAUSE" @@ -39194,15 +39725,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -39210,15 +39741,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -39226,15 +39757,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -39253,15 +39784,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -39276,15 +39807,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -39294,15 +39825,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -39311,15 +39842,15 @@ }, { "type": "ClassMethod", - "start": 22376, - "end": 22435, + "start": 22397, + "end": 22456, "loc": { "start": { - "line": 669, + "line": 666, "column": 4 }, "end": { - "line": 671, + "line": 668, "column": 5 } }, @@ -39327,15 +39858,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22376, - "end": 22390, + "start": 22397, + "end": 22411, "loc": { "start": { - "line": 669, + "line": 666, "column": 4 }, "end": { - "line": 669, + "line": 666, "column": 18 }, "identifierName": "onWaveProgress" @@ -39351,15 +39882,15 @@ "params": [ { "type": "Identifier", - "start": 22391, - "end": 22395, + "start": 22412, + "end": 22416, "loc": { "start": { - "line": 669, + "line": 666, "column": 19 }, "end": { - "line": 669, + "line": 666, "column": 23 }, "identifierName": "time" @@ -39369,87 +39900,87 @@ ], "body": { "type": "BlockStatement", - "start": 22397, - "end": 22435, + "start": 22418, + "end": 22456, "loc": { "start": { - "line": 669, + "line": 666, "column": 25 }, "end": { - "line": 671, + "line": 668, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22407, - "end": 22429, + "start": 22428, + "end": 22450, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22407, - "end": 22428, + "start": 22428, + "end": 22449, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22407, - "end": 22426, + "start": 22428, + "end": 22447, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22407, - "end": 22411, + "start": 22428, + "end": 22432, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22412, - "end": 22426, + "start": 22433, + "end": 22447, "loc": { "start": { - "line": 670, + "line": 667, "column": 13 }, "end": { - "line": 670, + "line": 667, "column": 27 }, "identifierName": "setCurrentTime" @@ -39469,15 +40000,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -39487,15 +40018,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -39504,15 +40035,15 @@ }, { "type": "ClassMethod", - "start": 22525, - "end": 22576, + "start": 22546, + "end": 22597, "loc": { "start": { - "line": 678, + "line": 675, "column": 4 }, "end": { - "line": 680, + "line": 677, "column": 5 } }, @@ -39520,15 +40051,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22525, - "end": 22535, + "start": 22546, + "end": 22556, "loc": { "start": { - "line": 678, + "line": 675, "column": 4 }, "end": { - "line": 678, + "line": 675, "column": 14 }, "identifierName": "onWaveSeek" @@ -39544,87 +40075,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22538, - "end": 22576, + "start": 22559, + "end": 22597, "loc": { "start": { - "line": 678, + "line": 675, "column": 17 }, "end": { - "line": 680, + "line": 677, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22548, - "end": 22570, + "start": 22569, + "end": 22591, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22548, - "end": 22569, + "start": 22569, + "end": 22590, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22548, - "end": 22567, + "start": 22569, + "end": 22588, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22548, - "end": 22552, + "start": 22569, + "end": 22573, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22553, - "end": 22567, + "start": 22574, + "end": 22588, "loc": { "start": { - "line": 679, + "line": 676, "column": 13 }, "end": { - "line": 679, + "line": 676, "column": 27 }, "identifierName": "setCurrentTime" @@ -39644,15 +40175,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -39662,15 +40193,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -39679,15 +40210,15 @@ }, { "type": "ClassMethod", - "start": 22697, - "end": 23090, + "start": 22718, + "end": 23111, "loc": { "start": { - "line": 688, + "line": 685, "column": 4 }, "end": { - "line": 699, + "line": 696, "column": 5 } }, @@ -39695,15 +40226,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22697, - "end": 22708, + "start": 22718, + "end": 22729, "loc": { "start": { - "line": 688, + "line": 685, "column": 4 }, "end": { - "line": 688, + "line": 685, "column": 15 }, "identifierName": "onWaveError" @@ -39719,15 +40250,15 @@ "params": [ { "type": "Identifier", - "start": 22709, - "end": 22714, + "start": 22730, + "end": 22735, "loc": { "start": { - "line": 688, + "line": 685, "column": 16 }, "end": { - "line": 688, + "line": 685, "column": 21 }, "identifierName": "error" @@ -39737,86 +40268,86 @@ ], "body": { "type": "BlockStatement", - "start": 22716, - "end": 23090, + "start": 22737, + "end": 23111, "loc": { "start": { - "line": 688, + "line": 685, "column": 23 }, "end": { - "line": 699, + "line": 696, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 22754, - "end": 23084, + "start": 22775, + "end": 23105, "loc": { "start": { - "line": 690, + "line": 687, "column": 8 }, "end": { - "line": 698, + "line": 695, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 22758, - "end": 22901, + "start": 22779, + "end": 22922, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 22758, - "end": 22799, + "start": 22779, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 22758, - "end": 22768, + "start": 22779, + "end": 22789, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 22 } }, "object": { "type": "Identifier", - "start": 22758, - "end": 22763, + "start": 22779, + "end": 22784, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 17 }, "identifierName": "error" @@ -39826,15 +40357,15 @@ }, "property": { "type": "Identifier", - "start": 22764, - "end": 22768, + "start": 22785, + "end": 22789, "loc": { "start": { - "line": 690, + "line": 687, "column": 18 }, "end": { - "line": 690, + "line": 687, "column": 22 }, "identifierName": "name" @@ -39847,43 +40378,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22772, - "end": 22799, + "start": 22793, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 22772, - "end": 22782, + "start": 22793, + "end": 22803, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 36 } }, "object": { "type": "Identifier", - "start": 22772, - "end": 22777, + "start": 22793, + "end": 22798, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 31 }, "identifierName": "error" @@ -39892,15 +40423,15 @@ }, "property": { "type": "Identifier", - "start": 22778, - "end": 22782, + "start": 22799, + "end": 22803, "loc": { "start": { - "line": 690, + "line": 687, "column": 32 }, "end": { - "line": 690, + "line": 687, "column": 36 }, "identifierName": "name" @@ -39912,15 +40443,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 22787, - "end": 22799, + "start": 22808, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 41 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, @@ -39936,57 +40467,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 22815, - "end": 22901, + "start": 22836, + "end": 22922, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 22815, - "end": 22844, + "start": 22836, + "end": 22865, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 22815, - "end": 22825, + "start": 22836, + "end": 22846, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 22 } }, "object": { "type": "Identifier", - "start": 22815, - "end": 22820, + "start": 22836, + "end": 22841, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 17 }, "identifierName": "error" @@ -39995,15 +40526,15 @@ }, "property": { "type": "Identifier", - "start": 22821, - "end": 22825, + "start": 22842, + "end": 22846, "loc": { "start": { - "line": 691, + "line": 688, "column": 18 }, "end": { - "line": 691, + "line": 688, "column": 22 }, "identifierName": "name" @@ -40015,15 +40546,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 22830, - "end": 22844, + "start": 22851, + "end": 22865, "loc": { "start": { - "line": 691, + "line": 688, "column": 27 }, "end": { - "line": 691, + "line": 688, "column": 41 } }, @@ -40037,57 +40568,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 22848, - "end": 22901, + "start": 22869, + "end": 22922, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 22848, - "end": 22872, + "start": 22869, + "end": 22893, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22848, - "end": 22861, + "start": 22869, + "end": 22882, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 58 } }, "object": { "type": "Identifier", - "start": 22848, - "end": 22853, + "start": 22869, + "end": 22874, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 50 }, "identifierName": "error" @@ -40096,15 +40627,15 @@ }, "property": { "type": "Identifier", - "start": 22854, - "end": 22861, + "start": 22875, + "end": 22882, "loc": { "start": { - "line": 691, + "line": 688, "column": 51 }, "end": { - "line": 691, + "line": 688, "column": 58 }, "identifierName": "message" @@ -40115,15 +40646,15 @@ }, "property": { "type": "Identifier", - "start": 22862, - "end": 22872, + "start": 22883, + "end": 22893, "loc": { "start": { - "line": 691, + "line": 688, "column": 59 }, "end": { - "line": 691, + "line": 688, "column": 69 }, "identifierName": "startsWith" @@ -40135,15 +40666,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22873, - "end": 22900, + "start": 22894, + "end": 22921, "loc": { "start": { - "line": 691, + "line": 688, "column": 70 }, "end": { - "line": 691, + "line": 688, "column": 97 } }, @@ -40160,101 +40691,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 22911, - "end": 22975, + "start": 22932, + "end": 22996, "loc": { "start": { - "line": 692, + "line": 689, "column": 8 }, "end": { - "line": 694, + "line": 691, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22925, - "end": 22965, + "start": 22946, + "end": 22986, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 22925, - "end": 22964, + "start": 22946, + "end": 22985, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 22925, - "end": 22944, + "start": 22946, + "end": 22965, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 22925, - "end": 22936, + "start": 22946, + "end": 22957, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 22925, - "end": 22929, + "start": 22946, + "end": 22950, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 16 } } }, "property": { "type": "Identifier", - "start": 22930, - "end": 22936, + "start": 22951, + "end": 22957, "loc": { "start": { - "line": 693, + "line": 690, "column": 17 }, "end": { - "line": 693, + "line": 690, "column": 23 }, "identifierName": "player" @@ -40265,15 +40796,15 @@ }, "property": { "type": "Identifier", - "start": 22937, - "end": 22944, + "start": 22958, + "end": 22965, "loc": { "start": { - "line": 693, + "line": 690, "column": 24 }, "end": { - "line": 693, + "line": 690, "column": 31 }, "identifierName": "trigger" @@ -40285,29 +40816,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22945, - "end": 22956, + "start": 22966, + "end": 22977, "loc": { "start": { - "line": 693, + "line": 690, "column": 32 }, "end": { - "line": 693, + "line": 690, "column": 43 } }, "object": { "type": "Identifier", - "start": 22945, - "end": 22950, + "start": 22966, + "end": 22971, "loc": { "start": { - "line": 693, + "line": 690, "column": 32 }, "end": { - "line": 693, + "line": 690, "column": 37 }, "identifierName": "Event" @@ -40316,15 +40847,15 @@ }, "property": { "type": "Identifier", - "start": 22951, - "end": 22956, + "start": 22972, + "end": 22977, "loc": { "start": { - "line": 693, + "line": 690, "column": 38 }, "end": { - "line": 693, + "line": 690, "column": 43 }, "identifierName": "ABORT" @@ -40335,15 +40866,15 @@ }, { "type": "Identifier", - "start": 22958, - "end": 22963, + "start": 22979, + "end": 22984, "loc": { "start": { - "line": 693, + "line": 690, "column": 45 }, "end": { - "line": 693, + "line": 690, "column": 50 }, "identifierName": "error" @@ -40358,101 +40889,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 22981, - "end": 23084, + "start": 23002, + "end": 23105, "loc": { "start": { - "line": 694, + "line": 691, "column": 15 }, "end": { - "line": 698, + "line": 695, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22995, - "end": 23035, + "start": 23016, + "end": 23056, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 22995, - "end": 23034, + "start": 23016, + "end": 23055, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 22995, - "end": 23014, + "start": 23016, + "end": 23035, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 22995, - "end": 23006, + "start": 23016, + "end": 23027, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 22995, - "end": 22999, + "start": 23016, + "end": 23020, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23000, - "end": 23006, + "start": 23021, + "end": 23027, "loc": { "start": { - "line": 695, + "line": 692, "column": 17 }, "end": { - "line": 695, + "line": 692, "column": 23 }, "identifierName": "player" @@ -40463,15 +40994,15 @@ }, "property": { "type": "Identifier", - "start": 23007, - "end": 23014, + "start": 23028, + "end": 23035, "loc": { "start": { - "line": 695, + "line": 692, "column": 24 }, "end": { - "line": 695, + "line": 692, "column": 31 }, "identifierName": "trigger" @@ -40483,29 +41014,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23015, - "end": 23026, + "start": 23036, + "end": 23047, "loc": { "start": { - "line": 695, + "line": 692, "column": 32 }, "end": { - "line": 695, + "line": 692, "column": 43 } }, "object": { "type": "Identifier", - "start": 23015, - "end": 23020, + "start": 23036, + "end": 23041, "loc": { "start": { - "line": 695, + "line": 692, "column": 32 }, "end": { - "line": 695, + "line": 692, "column": 37 }, "identifierName": "Event" @@ -40514,15 +41045,15 @@ }, "property": { "type": "Identifier", - "start": 23021, - "end": 23026, + "start": 23042, + "end": 23047, "loc": { "start": { - "line": 695, + "line": 692, "column": 38 }, "end": { - "line": 695, + "line": 692, "column": 43 }, "identifierName": "ERROR" @@ -40533,15 +41064,15 @@ }, { "type": "Identifier", - "start": 23028, - "end": 23033, + "start": 23049, + "end": 23054, "loc": { "start": { - "line": 695, + "line": 692, "column": 45 }, "end": { - "line": 695, + "line": 692, "column": 50 }, "identifierName": "error" @@ -40553,72 +41084,72 @@ }, { "type": "ExpressionStatement", - "start": 23049, - "end": 23074, + "start": 23070, + "end": 23095, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23049, - "end": 23073, + "start": 23070, + "end": 23094, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23049, - "end": 23057, + "start": 23070, + "end": 23078, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23049, - "end": 23053, + "start": 23070, + "end": 23074, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23054, - "end": 23057, + "start": 23075, + "end": 23078, "loc": { "start": { - "line": 697, + "line": 694, "column": 17 }, "end": { - "line": 697, + "line": 694, "column": 20 }, "identifierName": "log" @@ -40630,15 +41161,15 @@ "arguments": [ { "type": "Identifier", - "start": 23058, - "end": 23063, + "start": 23079, + "end": 23084, "loc": { "start": { - "line": 697, + "line": 694, "column": 21 }, "end": { - "line": 697, + "line": 694, "column": 26 }, "identifierName": "error" @@ -40647,15 +41178,15 @@ }, { "type": "StringLiteral", - "start": 23065, - "end": 23072, + "start": 23086, + "end": 23093, "loc": { "start": { - "line": 697, + "line": 694, "column": 28 }, "end": { - "line": 697, + "line": 694, "column": 35 } }, @@ -40675,15 +41206,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 22726, - "end": 22745, + "start": 22747, + "end": 22766, "loc": { "start": { - "line": 689, + "line": 686, "column": 8 }, "end": { - "line": 689, + "line": 686, "column": 27 } } @@ -40698,15 +41229,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -40716,15 +41247,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -40733,15 +41264,15 @@ }, { "type": "ClassMethod", - "start": 23174, - "end": 23529, + "start": 23195, + "end": 23550, "loc": { "start": { - "line": 705, + "line": 702, "column": 4 }, "end": { - "line": 715, + "line": 712, "column": 5 } }, @@ -40749,15 +41280,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23174, - "end": 23186, + "start": 23195, + "end": 23207, "loc": { "start": { - "line": 705, + "line": 702, "column": 4 }, "end": { - "line": 705, + "line": 702, "column": 16 }, "identifierName": "onPlayToggle" @@ -40773,129 +41304,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23189, - "end": 23529, + "start": 23210, + "end": 23550, "loc": { "start": { - "line": 705, + "line": 702, "column": 19 }, "end": { - "line": 715, + "line": 712, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23199, - "end": 23406, + "start": 23220, + "end": 23427, "loc": { "start": { - "line": 706, + "line": 703, "column": 8 }, "end": { - "line": 709, + "line": 706, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23203, - "end": 23321, + "start": 23224, + "end": 23342, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23203, - "end": 23250, + "start": 23224, + "end": 23271, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23203, - "end": 23236, + "start": 23224, + "end": 23257, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23203, - "end": 23225, + "start": 23224, + "end": 23246, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23203, - "end": 23214, + "start": 23224, + "end": 23235, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23203, - "end": 23207, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23208, - "end": 23214, + "start": 23229, + "end": 23235, "loc": { "start": { - "line": 706, + "line": 703, "column": 17 }, "end": { - "line": 706, + "line": 703, "column": 23 }, "identifierName": "player" @@ -40906,15 +41437,15 @@ }, "property": { "type": "Identifier", - "start": 23215, - "end": 23225, + "start": 23236, + "end": 23246, "loc": { "start": { - "line": 706, + "line": 703, "column": 24 }, "end": { - "line": 706, + "line": 703, "column": 34 }, "identifierName": "controlBar" @@ -40925,15 +41456,15 @@ }, "property": { "type": "Identifier", - "start": 23226, - "end": 23236, + "start": 23247, + "end": 23257, "loc": { "start": { - "line": 706, + "line": 703, "column": 35 }, "end": { - "line": 706, + "line": 703, "column": 45 }, "identifierName": "playToggle" @@ -40945,15 +41476,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23241, - "end": 23250, + "start": 23262, + "end": 23271, "loc": { "start": { - "line": 706, + "line": 703, "column": 50 }, "end": { - "line": 706, + "line": 703, "column": 59 }, "identifierName": "undefined" @@ -40964,100 +41495,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23266, - "end": 23321, + "start": 23287, + "end": 23342, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23266, - "end": 23308, + "start": 23287, + "end": 23329, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23299, + "start": 23287, + "end": 23320, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23288, + "start": 23287, + "end": 23309, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23277, + "start": 23287, + "end": 23298, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23266, - "end": 23270, + "start": 23287, + "end": 23291, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23271, - "end": 23277, + "start": 23292, + "end": 23298, "loc": { "start": { - "line": 707, + "line": 704, "column": 17 }, "end": { - "line": 707, + "line": 704, "column": 23 }, "identifierName": "player" @@ -41068,15 +41599,15 @@ }, "property": { "type": "Identifier", - "start": 23278, - "end": 23288, + "start": 23299, + "end": 23309, "loc": { "start": { - "line": 707, + "line": 704, "column": 24 }, "end": { - "line": 707, + "line": 704, "column": 34 }, "identifierName": "controlBar" @@ -41087,15 +41618,15 @@ }, "property": { "type": "Identifier", - "start": 23289, - "end": 23299, + "start": 23310, + "end": 23320, "loc": { "start": { - "line": 707, + "line": 704, "column": 35 }, "end": { - "line": 707, + "line": 704, "column": 45 }, "identifierName": "playToggle" @@ -41106,15 +41637,15 @@ }, "property": { "type": "Identifier", - "start": 23300, - "end": 23308, + "start": 23321, + "end": 23329, "loc": { "start": { - "line": 707, + "line": 704, "column": 46 }, "end": { - "line": 707, + "line": 704, "column": 54 }, "identifierName": "hasClass" @@ -41126,15 +41657,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23309, - "end": 23320, + "start": 23330, + "end": 23341, "loc": { "start": { - "line": 707, + "line": 704, "column": 55 }, "end": { - "line": 707, + "line": 704, "column": 66 } }, @@ -41149,129 +41680,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23323, - "end": 23406, + "start": 23344, + "end": 23427, "loc": { "start": { - "line": 707, + "line": 704, "column": 69 }, "end": { - "line": 709, + "line": 706, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23337, - "end": 23396, + "start": 23358, + "end": 23417, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23337, - "end": 23395, + "start": 23358, + "end": 23416, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23337, - "end": 23382, + "start": 23358, + "end": 23403, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23370, + "start": 23358, + "end": 23391, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23359, + "start": 23358, + "end": 23380, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23348, + "start": 23358, + "end": 23369, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23337, - "end": 23341, + "start": 23358, + "end": 23362, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23342, - "end": 23348, + "start": 23363, + "end": 23369, "loc": { "start": { - "line": 708, + "line": 705, "column": 17 }, "end": { - "line": 708, + "line": 705, "column": 23 }, "identifierName": "player" @@ -41282,15 +41813,15 @@ }, "property": { "type": "Identifier", - "start": 23349, - "end": 23359, + "start": 23370, + "end": 23380, "loc": { "start": { - "line": 708, + "line": 705, "column": 24 }, "end": { - "line": 708, + "line": 705, "column": 34 }, "identifierName": "controlBar" @@ -41301,15 +41832,15 @@ }, "property": { "type": "Identifier", - "start": 23360, - "end": 23370, + "start": 23381, + "end": 23391, "loc": { "start": { - "line": 708, + "line": 705, "column": 35 }, "end": { - "line": 708, + "line": 705, "column": 45 }, "identifierName": "playToggle" @@ -41320,15 +41851,15 @@ }, "property": { "type": "Identifier", - "start": 23371, - "end": 23382, + "start": 23392, + "end": 23403, "loc": { "start": { - "line": 708, + "line": 705, "column": 46 }, "end": { - "line": 708, + "line": 705, "column": 57 }, "identifierName": "removeClass" @@ -41340,15 +41871,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23383, - "end": 23394, + "start": 23404, + "end": 23415, "loc": { "start": { - "line": 708, + "line": 705, "column": 58 }, "end": { - "line": 708, + "line": 705, "column": 69 } }, @@ -41368,86 +41899,86 @@ }, { "type": "IfStatement", - "start": 23415, - "end": 23523, + "start": 23436, + "end": 23544, "loc": { "start": { - "line": 710, + "line": 707, "column": 8 }, "end": { - "line": 714, + "line": 711, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23419, - "end": 23442, + "start": 23440, + "end": 23463, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 23419, - "end": 23440, + "start": 23440, + "end": 23461, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 23419, - "end": 23430, + "start": 23440, + "end": 23451, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23419, - "end": 23423, + "start": 23440, + "end": 23444, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23424, - "end": 23430, + "start": 23445, + "end": 23451, "loc": { "start": { - "line": 710, + "line": 707, "column": 17 }, "end": { - "line": 710, + "line": 707, "column": 23 }, "identifierName": "surfer" @@ -41458,15 +41989,15 @@ }, "property": { "type": "Identifier", - "start": 23431, - "end": 23440, + "start": 23452, + "end": 23461, "loc": { "start": { - "line": 710, + "line": 707, "column": 24 }, "end": { - "line": 710, + "line": 707, "column": 33 }, "identifierName": "isPlaying" @@ -41479,87 +42010,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 23444, - "end": 23481, + "start": 23465, + "end": 23502, "loc": { "start": { - "line": 710, + "line": 707, "column": 37 }, "end": { - "line": 712, + "line": 709, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23458, - "end": 23471, + "start": 23479, + "end": 23492, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 23458, - "end": 23470, + "start": 23479, + "end": 23491, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 23458, - "end": 23468, + "start": 23479, + "end": 23489, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23458, - "end": 23462, + "start": 23479, + "end": 23483, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23463, - "end": 23468, + "start": 23484, + "end": 23489, "loc": { "start": { - "line": 711, + "line": 708, "column": 17 }, "end": { - "line": 711, + "line": 708, "column": 22 }, "identifierName": "pause" @@ -41576,87 +42107,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 23487, - "end": 23523, + "start": 23508, + "end": 23544, "loc": { "start": { - "line": 712, + "line": 709, "column": 15 }, "end": { - "line": 714, + "line": 711, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23501, - "end": 23513, + "start": 23522, + "end": 23534, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 23501, - "end": 23512, + "start": 23522, + "end": 23533, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 23501, - "end": 23510, + "start": 23522, + "end": 23531, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 23501, - "end": 23505, + "start": 23522, + "end": 23526, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23506, - "end": 23510, + "start": 23527, + "end": 23531, "loc": { "start": { - "line": 713, + "line": 710, "column": 17 }, "end": { - "line": 713, + "line": 710, "column": 21 }, "identifierName": "play" @@ -41680,15 +42211,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -41698,15 +42229,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -41715,15 +42246,15 @@ }, { "type": "ClassMethod", - "start": 23628, - "end": 23871, + "start": 23649, + "end": 23892, "loc": { "start": { - "line": 721, + "line": 718, "column": 4 }, "end": { - "line": 730, + "line": 727, "column": 5 } }, @@ -41731,15 +42262,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23628, - "end": 23642, + "start": 23649, + "end": 23663, "loc": { "start": { - "line": 721, + "line": 718, "column": 4 }, "end": { - "line": 721, + "line": 718, "column": 18 }, "identifierName": "onVolumeChange" @@ -41755,59 +42286,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23645, - "end": 23871, + "start": 23666, + "end": 23892, "loc": { "start": { - "line": 721, + "line": 718, "column": 21 }, "end": { - "line": 730, + "line": 727, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 23655, - "end": 23689, + "start": 23676, + "end": 23710, "loc": { "start": { - "line": 722, + "line": 719, "column": 8 }, "end": { - "line": 722, + "line": 719, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23659, - "end": 23688, + "start": 23680, + "end": 23709, "loc": { "start": { - "line": 722, + "line": 719, "column": 12 }, "end": { - "line": 722, + "line": 719, "column": 41 } }, "id": { "type": "Identifier", - "start": 23659, - "end": 23665, + "start": 23680, + "end": 23686, "loc": { "start": { - "line": 722, + "line": 719, "column": 12 }, "end": { - "line": 722, + "line": 719, "column": 18 }, "identifierName": "volume" @@ -41816,72 +42347,72 @@ }, "init": { "type": "CallExpression", - "start": 23668, - "end": 23688, + "start": 23689, + "end": 23709, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 23668, - "end": 23686, + "start": 23689, + "end": 23707, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 23668, - "end": 23679, + "start": 23689, + "end": 23700, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 23668, - "end": 23672, + "start": 23689, + "end": 23693, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 25 } } }, "property": { "type": "Identifier", - "start": 23673, - "end": 23679, + "start": 23694, + "end": 23700, "loc": { "start": { - "line": 722, + "line": 719, "column": 26 }, "end": { - "line": 722, + "line": 719, "column": 32 }, "identifierName": "player" @@ -41892,15 +42423,15 @@ }, "property": { "type": "Identifier", - "start": 23680, - "end": 23686, + "start": 23701, + "end": 23707, "loc": { "start": { - "line": 722, + "line": 719, "column": 33 }, "end": { - "line": 722, + "line": 719, "column": 39 }, "identifierName": "volume" @@ -41917,86 +42448,86 @@ }, { "type": "IfStatement", - "start": 23698, - "end": 23786, + "start": 23719, + "end": 23807, "loc": { "start": { - "line": 723, + "line": 720, "column": 8 }, "end": { - "line": 726, + "line": 723, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23702, - "end": 23721, + "start": 23723, + "end": 23742, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 23702, - "end": 23719, + "start": 23723, + "end": 23740, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 23702, - "end": 23713, + "start": 23723, + "end": 23734, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23702, - "end": 23706, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23707, - "end": 23713, + "start": 23728, + "end": 23734, "loc": { "start": { - "line": 723, + "line": 720, "column": 17 }, "end": { - "line": 723, + "line": 720, "column": 23 }, "identifierName": "player" @@ -42007,15 +42538,15 @@ }, "property": { "type": "Identifier", - "start": 23714, - "end": 23719, + "start": 23735, + "end": 23740, "loc": { "start": { - "line": 723, + "line": 720, "column": 24 }, "end": { - "line": 723, + "line": 720, "column": 29 }, "identifierName": "muted" @@ -42028,59 +42559,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 23723, - "end": 23786, + "start": 23744, + "end": 23807, "loc": { "start": { - "line": 723, + "line": 720, "column": 33 }, "end": { - "line": 726, + "line": 723, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23765, - "end": 23776, + "start": 23786, + "end": 23797, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 23765, - "end": 23775, + "start": 23786, + "end": 23796, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 23765, - "end": 23771, + "start": 23786, + "end": 23792, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 18 }, "identifierName": "volume" @@ -42090,15 +42621,15 @@ }, "right": { "type": "NumericLiteral", - "start": 23774, - "end": 23775, + "start": 23795, + "end": 23796, "loc": { "start": { - "line": 725, + "line": 722, "column": 21 }, "end": { - "line": 725, + "line": 722, "column": 22 } }, @@ -42114,15 +42645,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 23737, - "end": 23752, + "start": 23758, + "end": 23773, "loc": { "start": { - "line": 724, + "line": 721, "column": 12 }, "end": { - "line": 724, + "line": 721, "column": 27 } } @@ -42138,15 +42669,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -42155,71 +42686,71 @@ }, { "type": "ExpressionStatement", - "start": 23835, - "end": 23865, + "start": 23856, + "end": 23886, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 23835, - "end": 23864, + "start": 23856, + "end": 23885, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 23835, - "end": 23856, + "start": 23856, + "end": 23877, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 23835, - "end": 23846, + "start": 23856, + "end": 23867, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 23835, - "end": 23839, + "start": 23856, + "end": 23860, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 12 } }, @@ -42227,15 +42758,15 @@ }, "property": { "type": "Identifier", - "start": 23840, - "end": 23846, + "start": 23861, + "end": 23867, "loc": { "start": { - "line": 729, + "line": 726, "column": 13 }, "end": { - "line": 729, + "line": 726, "column": 19 }, "identifierName": "surfer" @@ -42247,15 +42778,15 @@ }, "property": { "type": "Identifier", - "start": 23847, - "end": 23856, + "start": 23868, + "end": 23877, "loc": { "start": { - "line": 729, + "line": 726, "column": 20 }, "end": { - "line": 729, + "line": 726, "column": 29 }, "identifierName": "setVolume" @@ -42268,15 +42799,15 @@ "arguments": [ { "type": "Identifier", - "start": 23857, - "end": 23863, + "start": 23878, + "end": 23884, "loc": { "start": { - "line": 729, + "line": 726, "column": 30 }, "end": { - "line": 729, + "line": 726, "column": 36 }, "identifierName": "volume" @@ -42290,15 +42821,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -42313,15 +42844,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -42331,15 +42862,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -42348,15 +42879,15 @@ }, { "type": "ClassMethod", - "start": 23986, - "end": 24960, + "start": 24007, + "end": 24981, "loc": { "start": { - "line": 736, + "line": 733, "column": 4 }, "end": { - "line": 762, + "line": 759, "column": 5 } }, @@ -42364,15 +42895,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23986, - "end": 24000, + "start": 24007, + "end": 24021, "loc": { "start": { - "line": 736, + "line": 733, "column": 4 }, "end": { - "line": 736, + "line": 733, "column": 18 }, "identifierName": "onScreenChange" @@ -42388,59 +42919,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24003, - "end": 24960, + "start": 24024, + "end": 24981, "loc": { "start": { - "line": 736, + "line": 733, "column": 21 }, "end": { - "line": 762, + "line": 759, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24137, - "end": 24954, + "start": 24158, + "end": 24975, "loc": { "start": { - "line": 739, + "line": 736, "column": 8 }, "end": { - "line": 761, + "line": 758, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24141, - "end": 24953, + "start": 24162, + "end": 24974, "loc": { "start": { - "line": 739, + "line": 736, "column": 12 }, "end": { - "line": 761, + "line": 758, "column": 15 } }, "id": { "type": "Identifier", - "start": 24141, - "end": 24156, + "start": 24162, + "end": 24177, "loc": { "start": { - "line": 739, + "line": 736, "column": 12 }, "end": { - "line": 739, + "line": 736, "column": 27 }, "identifierName": "fullscreenDelay" @@ -42450,72 +42981,72 @@ }, "init": { "type": "CallExpression", - "start": 24159, - "end": 24953, + "start": 24180, + "end": 24974, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 761, + "line": 758, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24159, - "end": 24182, + "start": 24180, + "end": 24203, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24159, - "end": 24170, + "start": 24180, + "end": 24191, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24159, - "end": 24163, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24164, - "end": 24170, + "start": 24185, + "end": 24191, "loc": { "start": { - "line": 739, + "line": 736, "column": 35 }, "end": { - "line": 739, + "line": 736, "column": 41 }, "identifierName": "player" @@ -42526,15 +43057,15 @@ }, "property": { "type": "Identifier", - "start": 24171, - "end": 24182, + "start": 24192, + "end": 24203, "loc": { "start": { - "line": 739, + "line": 736, "column": 42 }, "end": { - "line": 739, + "line": 736, "column": 53 }, "identifierName": "setInterval" @@ -42546,15 +43077,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24183, - "end": 24947, + "start": 24204, + "end": 24968, "loc": { "start": { - "line": 739, + "line": 736, "column": 54 }, "end": { - "line": 761, + "line": 758, "column": 9 } }, @@ -42565,59 +43096,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24189, - "end": 24947, + "start": 24210, + "end": 24968, "loc": { "start": { - "line": 739, + "line": 736, "column": 60 }, "end": { - "line": 761, + "line": 758, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24203, - "end": 24249, + "start": 24224, + "end": 24270, "loc": { "start": { - "line": 740, + "line": 737, "column": 12 }, "end": { - "line": 740, + "line": 737, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24207, - "end": 24248, + "start": 24228, + "end": 24269, "loc": { "start": { - "line": 740, + "line": 737, "column": 16 }, "end": { - "line": 740, + "line": 737, "column": 57 } }, "id": { "type": "Identifier", - "start": 24207, - "end": 24219, + "start": 24228, + "end": 24240, "loc": { "start": { - "line": 740, + "line": 737, "column": 16 }, "end": { - "line": 740, + "line": 737, "column": 28 }, "identifierName": "isFullscreen" @@ -42626,72 +43157,72 @@ }, "init": { "type": "CallExpression", - "start": 24222, - "end": 24248, + "start": 24243, + "end": 24269, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24222, - "end": 24246, + "start": 24243, + "end": 24267, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24222, - "end": 24233, + "start": 24243, + "end": 24254, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24222, - "end": 24226, + "start": 24243, + "end": 24247, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24227, - "end": 24233, + "start": 24248, + "end": 24254, "loc": { "start": { - "line": 740, + "line": 737, "column": 36 }, "end": { - "line": 740, + "line": 737, "column": 42 }, "identifierName": "player" @@ -42702,15 +43233,15 @@ }, "property": { "type": "Identifier", - "start": 24234, - "end": 24246, + "start": 24255, + "end": 24267, "loc": { "start": { - "line": 740, + "line": 737, "column": 43 }, "end": { - "line": 740, + "line": 737, "column": 55 }, "identifierName": "isFullscreen" @@ -42727,44 +43258,44 @@ }, { "type": "VariableDeclaration", - "start": 24262, - "end": 24286, + "start": 24283, + "end": 24307, "loc": { "start": { - "line": 741, + "line": 738, "column": 12 }, "end": { - "line": 741, + "line": 738, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24266, - "end": 24274, + "start": 24287, + "end": 24295, "loc": { "start": { - "line": 741, + "line": 738, "column": 16 }, "end": { - "line": 741, + "line": 738, "column": 24 } }, "id": { "type": "Identifier", - "start": 24266, - "end": 24274, + "start": 24287, + "end": 24295, "loc": { "start": { - "line": 741, + "line": 738, "column": 16 }, "end": { - "line": 741, + "line": 738, "column": 24 }, "identifierName": "newWidth" @@ -42775,29 +43306,29 @@ }, { "type": "VariableDeclarator", - "start": 24276, - "end": 24285, + "start": 24297, + "end": 24306, "loc": { "start": { - "line": 741, + "line": 738, "column": 26 }, "end": { - "line": 741, + "line": 738, "column": 35 } }, "id": { "type": "Identifier", - "start": 24276, - "end": 24285, + "start": 24297, + "end": 24306, "loc": { "start": { - "line": 741, + "line": 738, "column": 26 }, "end": { - "line": 741, + "line": 738, "column": 35 }, "identifierName": "newHeight" @@ -42811,29 +43342,29 @@ }, { "type": "IfStatement", - "start": 24299, - "end": 24476, + "start": 24320, + "end": 24497, "loc": { "start": { - "line": 742, + "line": 739, "column": 12 }, "end": { - "line": 746, + "line": 743, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24303, - "end": 24316, + "start": 24324, + "end": 24337, "loc": { "start": { - "line": 742, + "line": 739, "column": 16 }, "end": { - "line": 742, + "line": 739, "column": 29 } }, @@ -42841,15 +43372,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24304, - "end": 24316, + "start": 24325, + "end": 24337, "loc": { "start": { - "line": 742, + "line": 739, "column": 17 }, "end": { - "line": 742, + "line": 739, "column": 29 }, "identifierName": "isFullscreen" @@ -42862,59 +43393,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24318, - "end": 24476, + "start": 24339, + "end": 24497, "loc": { "start": { - "line": 742, + "line": 739, "column": 31 }, "end": { - "line": 746, + "line": 743, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 24383, - "end": 24413, + "start": 24404, + "end": 24434, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 24383, - "end": 24412, + "start": 24404, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24383, - "end": 24391, + "start": 24404, + "end": 24412, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 24 }, "identifierName": "newWidth" @@ -42924,44 +43455,44 @@ }, "right": { "type": "MemberExpression", - "start": 24394, - "end": 24412, + "start": 24415, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 27 }, "end": { - "line": 744, + "line": 741, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 24394, - "end": 24398, + "start": 24415, + "end": 24419, "loc": { "start": { - "line": 744, + "line": 741, "column": 27 }, "end": { - "line": 744, + "line": 741, "column": 31 } } }, "property": { "type": "Identifier", - "start": 24399, - "end": 24412, + "start": 24420, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 32 }, "end": { - "line": 744, + "line": 741, "column": 45 }, "identifierName": "originalWidth" @@ -42976,15 +43507,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24336, - "end": 24366, + "start": 24357, + "end": 24387, "loc": { "start": { - "line": 743, + "line": 740, "column": 16 }, "end": { - "line": 743, + "line": 740, "column": 46 } } @@ -42993,44 +43524,44 @@ }, { "type": "ExpressionStatement", - "start": 24430, - "end": 24462, + "start": 24451, + "end": 24483, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 24430, - "end": 24461, + "start": 24451, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24430, - "end": 24439, + "start": 24451, + "end": 24460, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 25 }, "identifierName": "newHeight" @@ -43039,44 +43570,44 @@ }, "right": { "type": "MemberExpression", - "start": 24442, - "end": 24461, + "start": 24463, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 28 }, "end": { - "line": 745, + "line": 742, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 24442, - "end": 24446, + "start": 24463, + "end": 24467, "loc": { "start": { - "line": 745, + "line": 742, "column": 28 }, "end": { - "line": 745, + "line": 742, "column": 32 } } }, "property": { "type": "Identifier", - "start": 24447, - "end": 24461, + "start": 24468, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 33 }, "end": { - "line": 745, + "line": 742, "column": 47 }, "identifierName": "originalHeight" @@ -43094,58 +43625,58 @@ }, { "type": "IfStatement", - "start": 24490, - "end": 24834, + "start": 24511, + "end": 24855, "loc": { "start": { - "line": 748, + "line": 745, "column": 12 }, "end": { - "line": 756, + "line": 753, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 24494, - "end": 24508, + "start": 24515, + "end": 24529, "loc": { "start": { - "line": 748, + "line": 745, "column": 16 }, "end": { - "line": 748, + "line": 745, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 24494, - "end": 24498, + "start": 24515, + "end": 24519, "loc": { "start": { - "line": 748, + "line": 745, "column": 16 }, "end": { - "line": 748, + "line": 745, "column": 20 } } }, "property": { "type": "Identifier", - "start": 24499, - "end": 24508, + "start": 24520, + "end": 24529, "loc": { "start": { - "line": 748, + "line": 745, "column": 21 }, "end": { - "line": 748, + "line": 745, "column": 30 }, "identifierName": "waveReady" @@ -43156,87 +43687,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24510, - "end": 24834, + "start": 24531, + "end": 24855, "loc": { "start": { - "line": 748, + "line": 745, "column": 32 }, "end": { - "line": 756, + "line": 753, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 24528, - "end": 24736, + "start": 24549, + "end": 24757, "loc": { "start": { - "line": 749, + "line": 746, "column": 16 }, "end": { - "line": 753, + "line": 750, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 24532, - "end": 24579, + "start": 24553, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 24532, - "end": 24545, + "start": 24553, + "end": 24566, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 24532, - "end": 24536, + "start": 24553, + "end": 24557, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 24 } } }, "property": { "type": "Identifier", - "start": 24537, - "end": 24545, + "start": 24558, + "end": 24566, "loc": { "start": { - "line": 749, + "line": 746, "column": 25 }, "end": { - "line": 749, + "line": 746, "column": 33 }, "identifierName": "liveMode" @@ -43248,15 +43779,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 24549, - "end": 24579, + "start": 24570, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 37 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, @@ -43264,72 +43795,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 24550, - "end": 24579, + "start": 24571, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 24550, - "end": 24572, + "start": 24571, + "end": 24593, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 24550, - "end": 24561, + "start": 24571, + "end": 24582, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 24550, - "end": 24554, + "start": 24571, + "end": 24575, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 42 } } }, "property": { "type": "Identifier", - "start": 24555, - "end": 24561, + "start": 24576, + "end": 24582, "loc": { "start": { - "line": 749, + "line": 746, "column": 43 }, "end": { - "line": 749, + "line": 746, "column": 49 }, "identifierName": "surfer" @@ -43340,15 +43871,15 @@ }, "property": { "type": "Identifier", - "start": 24562, - "end": 24572, + "start": 24583, + "end": 24593, "loc": { "start": { - "line": 749, + "line": 746, "column": 50 }, "end": { - "line": 749, + "line": 746, "column": 60 }, "identifierName": "microphone" @@ -43359,15 +43890,15 @@ }, "property": { "type": "Identifier", - "start": 24573, - "end": 24579, + "start": 24594, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 61 }, "end": { - "line": 749, + "line": 746, "column": 67 }, "identifierName": "active" @@ -43383,30 +43914,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 24581, - "end": 24736, + "start": 24602, + "end": 24757, "loc": { "start": { - "line": 749, + "line": 746, "column": 69 }, "end": { - "line": 753, + "line": 750, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 24711, - "end": 24718, + "start": 24732, + "end": 24739, "loc": { "start": { - "line": 752, + "line": 749, "column": 20 }, "end": { - "line": 752, + "line": 749, "column": 27 } }, @@ -43415,15 +43946,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 24603, - "end": 24655, + "start": 24624, + "end": 24676, "loc": { "start": { - "line": 750, + "line": 747, "column": 20 }, "end": { - "line": 750, + "line": 747, "column": 72 } } @@ -43431,15 +43962,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 24676, - "end": 24690, + "start": 24697, + "end": 24711, "loc": { "start": { - "line": 751, + "line": 748, "column": 20 }, "end": { - "line": 751, + "line": 748, "column": 34 } } @@ -43455,15 +43986,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -43472,57 +44003,57 @@ }, { "type": "ExpressionStatement", - "start": 24779, - "end": 24820, + "start": 24800, + "end": 24841, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 24779, - "end": 24819, + "start": 24800, + "end": 24840, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 24779, - "end": 24798, + "start": 24800, + "end": 24819, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 24779, - "end": 24783, + "start": 24800, + "end": 24804, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 20 } }, @@ -43530,15 +44061,15 @@ }, "property": { "type": "Identifier", - "start": 24784, - "end": 24798, + "start": 24805, + "end": 24819, "loc": { "start": { - "line": 755, + "line": 752, "column": 21 }, "end": { - "line": 755, + "line": 752, "column": 35 }, "identifierName": "redrawWaveform" @@ -43551,15 +44082,15 @@ "arguments": [ { "type": "Identifier", - "start": 24799, - "end": 24807, + "start": 24820, + "end": 24828, "loc": { "start": { - "line": 755, + "line": 752, "column": 36 }, "end": { - "line": 755, + "line": 752, "column": 44 }, "identifierName": "newWidth" @@ -43568,15 +44099,15 @@ }, { "type": "Identifier", - "start": 24809, - "end": 24818, + "start": 24830, + "end": 24839, "loc": { "start": { - "line": 755, + "line": 752, "column": 46 }, "end": { - "line": 755, + "line": 752, "column": 55 }, "identifierName": "newHeight" @@ -43590,15 +44121,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -43614,15 +44145,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -43631,71 +44162,71 @@ }, { "type": "ExpressionStatement", - "start": 24893, - "end": 24936, + "start": 24914, + "end": 24957, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 24893, - "end": 24935, + "start": 24914, + "end": 24956, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 24893, - "end": 24918, + "start": 24914, + "end": 24939, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 24893, - "end": 24904, + "start": 24914, + "end": 24925, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24893, - "end": 24897, + "start": 24914, + "end": 24918, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 16 } }, @@ -43703,15 +44234,15 @@ }, "property": { "type": "Identifier", - "start": 24898, - "end": 24904, + "start": 24919, + "end": 24925, "loc": { "start": { - "line": 759, + "line": 756, "column": 17 }, "end": { - "line": 759, + "line": 756, "column": 23 }, "identifierName": "player" @@ -43723,15 +44254,15 @@ }, "property": { "type": "Identifier", - "start": 24905, - "end": 24918, + "start": 24926, + "end": 24939, "loc": { "start": { - "line": 759, + "line": 756, "column": 24 }, "end": { - "line": 759, + "line": 756, "column": 37 }, "identifierName": "clearInterval" @@ -43744,15 +44275,15 @@ "arguments": [ { "type": "Identifier", - "start": 24919, - "end": 24934, + "start": 24940, + "end": 24955, "loc": { "start": { - "line": 759, + "line": 756, "column": 38 }, "end": { - "line": 759, + "line": 756, "column": 53 }, "identifierName": "fullscreenDelay" @@ -43766,15 +44297,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -43787,15 +44318,15 @@ }, { "type": "NumericLiteral", - "start": 24949, - "end": 24952, + "start": 24970, + "end": 24973, "loc": { "start": { - "line": 761, + "line": 758, "column": 11 }, "end": { - "line": 761, + "line": 758, "column": 14 } }, @@ -43815,15 +44346,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24013, - "end": 24071, + "start": 24034, + "end": 24092, "loc": { "start": { - "line": 737, + "line": 734, "column": 8 }, "end": { - "line": 737, + "line": 734, "column": 66 } } @@ -43831,15 +44362,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24080, - "end": 24128, + "start": 24101, + "end": 24149, "loc": { "start": { - "line": 738, + "line": 735, "column": 8 }, "end": { - "line": 738, + "line": 735, "column": 56 } } @@ -43854,15 +44385,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -43872,15 +44403,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -43889,15 +44420,15 @@ }, { "type": "ClassMethod", - "start": 25055, - "end": 25196, + "start": 25076, + "end": 25217, "loc": { "start": { - "line": 769, + "line": 766, "column": 4 }, "end": { - "line": 774, + "line": 771, "column": 5 } }, @@ -43905,15 +44436,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25055, - "end": 25069, + "start": 25076, + "end": 25090, "loc": { "start": { - "line": 769, + "line": 766, "column": 4 }, "end": { - "line": 769, + "line": 766, "column": 18 }, "identifierName": "onResizeChange" @@ -43929,87 +44460,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 25072, - "end": 25196, + "start": 25093, + "end": 25217, "loc": { "start": { - "line": 769, + "line": 766, "column": 21 }, "end": { - "line": 774, + "line": 771, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25082, - "end": 25190, + "start": 25103, + "end": 25211, "loc": { "start": { - "line": 770, + "line": 767, "column": 8 }, "end": { - "line": 773, + "line": 770, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 25086, - "end": 25111, + "start": 25107, + "end": 25132, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 25086, - "end": 25097, + "start": 25107, + "end": 25118, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25086, - "end": 25090, + "start": 25107, + "end": 25111, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 16 } } }, "property": { "type": "Identifier", - "start": 25091, - "end": 25097, + "start": 25112, + "end": 25118, "loc": { "start": { - "line": 770, + "line": 767, "column": 17 }, "end": { - "line": 770, + "line": 767, "column": 23 }, "identifierName": "surfer" @@ -44021,15 +44552,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 25102, - "end": 25111, + "start": 25123, + "end": 25132, "loc": { "start": { - "line": 770, + "line": 767, "column": 28 }, "end": { - "line": 770, + "line": 767, "column": 37 }, "identifierName": "undefined" @@ -44039,72 +44570,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 25113, - "end": 25190, + "start": 25134, + "end": 25211, "loc": { "start": { - "line": 770, + "line": 767, "column": 39 }, "end": { - "line": 773, + "line": 770, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 25158, - "end": 25180, + "start": 25179, + "end": 25201, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 25158, - "end": 25179, + "start": 25179, + "end": 25200, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 25158, - "end": 25177, + "start": 25179, + "end": 25198, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 25158, - "end": 25162, + "start": 25179, + "end": 25183, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 16 } }, @@ -44112,15 +44643,15 @@ }, "property": { "type": "Identifier", - "start": 25163, - "end": 25177, + "start": 25184, + "end": 25198, "loc": { "start": { - "line": 772, + "line": 769, "column": 17 }, "end": { - "line": 772, + "line": 769, "column": 31 }, "identifierName": "redrawWaveform" @@ -44137,15 +44668,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25127, - "end": 25145, + "start": 25148, + "end": 25166, "loc": { "start": { - "line": 771, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 768, "column": 30 } } @@ -44165,15 +44696,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -44183,15 +44714,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -44200,15 +44731,15 @@ }, { "type": "ClassMethod", - "start": 25395, - "end": 26474, + "start": 25416, + "end": 26495, "loc": { "start": { - "line": 783, + "line": 780, "column": 4 }, "end": { - "line": 812, + "line": 809, "column": 5 } }, @@ -44216,15 +44747,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25395, - "end": 25409, + "start": 25416, + "end": 25430, "loc": { "start": { - "line": 783, + "line": 780, "column": 4 }, "end": { - "line": 783, + "line": 780, "column": 18 }, "identifierName": "redrawWaveform" @@ -44240,15 +44771,15 @@ "params": [ { "type": "Identifier", - "start": 25410, - "end": 25418, + "start": 25431, + "end": 25439, "loc": { "start": { - "line": 783, + "line": 780, "column": 19 }, "end": { - "line": 783, + "line": 780, "column": 27 }, "identifierName": "newWidth" @@ -44257,15 +44788,15 @@ }, { "type": "Identifier", - "start": 25420, - "end": 25429, + "start": 25441, + "end": 25450, "loc": { "start": { - "line": 783, + "line": 780, "column": 29 }, "end": { - "line": 783, + "line": 780, "column": 38 }, "identifierName": "newHeight" @@ -44275,44 +44806,44 @@ ], "body": { "type": "BlockStatement", - "start": 25431, - "end": 26474, + "start": 25452, + "end": 26495, "loc": { "start": { - "line": 783, + "line": 780, "column": 40 }, "end": { - "line": 812, + "line": 809, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25441, - "end": 26468, + "start": 25462, + "end": 26489, "loc": { "start": { - "line": 784, + "line": 781, "column": 8 }, "end": { - "line": 811, + "line": 808, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 25445, - "end": 25464, + "start": 25466, + "end": 25485, "loc": { "start": { - "line": 784, + "line": 781, "column": 12 }, "end": { - "line": 784, + "line": 781, "column": 31 } }, @@ -44320,58 +44851,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 25446, - "end": 25464, + "start": 25467, + "end": 25485, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 25446, - "end": 25462, + "start": 25467, + "end": 25483, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 25446, - "end": 25450, + "start": 25467, + "end": 25471, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 17 } } }, "property": { "type": "Identifier", - "start": 25451, - "end": 25462, + "start": 25472, + "end": 25483, "loc": { "start": { - "line": 784, + "line": 781, "column": 18 }, "end": { - "line": 784, + "line": 781, "column": 29 }, "identifierName": "isDestroyed" @@ -44388,87 +44919,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25466, - "end": 26468, + "start": 25487, + "end": 26489, "loc": { "start": { - "line": 784, + "line": 781, "column": 33 }, "end": { - "line": 811, + "line": 808, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 25480, - "end": 25882, + "start": 25501, + "end": 25903, "loc": { "start": { - "line": 785, + "line": 782, "column": 12 }, "end": { - "line": 795, + "line": 792, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25484, - "end": 25499, + "start": 25505, + "end": 25520, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 25484, - "end": 25495, + "start": 25505, + "end": 25516, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 25484, - "end": 25488, + "start": 25505, + "end": 25509, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25489, - "end": 25495, + "start": 25510, + "end": 25516, "loc": { "start": { - "line": 785, + "line": 782, "column": 21 }, "end": { - "line": 785, + "line": 782, "column": 27 }, "identifierName": "player" @@ -44479,15 +45010,15 @@ }, "property": { "type": "Identifier", - "start": 25496, - "end": 25499, + "start": 25517, + "end": 25520, "loc": { "start": { - "line": 785, + "line": 782, "column": 28 }, "end": { - "line": 785, + "line": 782, "column": 31 }, "identifierName": "el_" @@ -44498,59 +45029,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25501, - "end": 25882, + "start": 25522, + "end": 25903, "loc": { "start": { - "line": 785, + "line": 782, "column": 33 }, "end": { - "line": 795, + "line": 792, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 25519, - "end": 25570, + "start": 25540, + "end": 25591, "loc": { "start": { - "line": 786, + "line": 783, "column": 16 }, "end": { - "line": 786, + "line": 783, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 25523, - "end": 25569, + "start": 25544, + "end": 25590, "loc": { "start": { - "line": 786, + "line": 783, "column": 20 }, "end": { - "line": 786, + "line": 783, "column": 66 } }, "id": { "type": "Identifier", - "start": 25523, - "end": 25527, + "start": 25544, + "end": 25548, "loc": { "start": { - "line": 786, + "line": 783, "column": 20 }, "end": { - "line": 786, + "line": 783, "column": 24 }, "identifierName": "rect" @@ -44559,86 +45090,86 @@ }, "init": { "type": "CallExpression", - "start": 25530, - "end": 25569, + "start": 25551, + "end": 25590, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 25530, - "end": 25567, + "start": 25551, + "end": 25588, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 25530, - "end": 25545, + "start": 25551, + "end": 25566, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 25530, - "end": 25541, + "start": 25551, + "end": 25562, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 25530, - "end": 25534, + "start": 25551, + "end": 25555, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25535, - "end": 25541, + "start": 25556, + "end": 25562, "loc": { "start": { - "line": 786, + "line": 783, "column": 32 }, "end": { - "line": 786, + "line": 783, "column": 38 }, "identifierName": "player" @@ -44649,15 +45180,15 @@ }, "property": { "type": "Identifier", - "start": 25542, - "end": 25545, + "start": 25563, + "end": 25566, "loc": { "start": { - "line": 786, + "line": 783, "column": 39 }, "end": { - "line": 786, + "line": 783, "column": 42 }, "identifierName": "el_" @@ -44668,15 +45199,15 @@ }, "property": { "type": "Identifier", - "start": 25546, - "end": 25567, + "start": 25567, + "end": 25588, "loc": { "start": { - "line": 786, + "line": 783, "column": 43 }, "end": { - "line": 786, + "line": 783, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -44693,43 +45224,43 @@ }, { "type": "IfStatement", - "start": 25587, - "end": 25717, + "start": 25608, + "end": 25738, "loc": { "start": { - "line": 787, + "line": 784, "column": 16 }, "end": { - "line": 790, + "line": 787, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 25591, - "end": 25613, + "start": 25612, + "end": 25634, "loc": { "start": { - "line": 787, + "line": 784, "column": 20 }, "end": { - "line": 787, + "line": 784, "column": 42 } }, "left": { "type": "Identifier", - "start": 25591, - "end": 25599, + "start": 25612, + "end": 25620, "loc": { "start": { - "line": 787, + "line": 784, "column": 20 }, "end": { - "line": 787, + "line": 784, "column": 28 }, "identifierName": "newWidth" @@ -44739,15 +45270,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 25604, - "end": 25613, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 787, + "line": 784, "column": 33 }, "end": { - "line": 787, + "line": 784, "column": 42 }, "identifierName": "undefined" @@ -44757,59 +45288,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25615, - "end": 25717, + "start": 25636, + "end": 25738, "loc": { "start": { - "line": 787, + "line": 784, "column": 44 }, "end": { - "line": 790, + "line": 787, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 25677, - "end": 25699, + "start": 25698, + "end": 25720, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 25677, - "end": 25698, + "start": 25698, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25677, - "end": 25685, + "start": 25698, + "end": 25706, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 28 }, "identifierName": "newWidth" @@ -44819,29 +45350,29 @@ }, "right": { "type": "MemberExpression", - "start": 25688, - "end": 25698, + "start": 25709, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 31 }, "end": { - "line": 789, + "line": 786, "column": 41 } }, "object": { "type": "Identifier", - "start": 25688, - "end": 25692, + "start": 25709, + "end": 25713, "loc": { "start": { - "line": 789, + "line": 786, "column": 31 }, "end": { - "line": 789, + "line": 786, "column": 35 }, "identifierName": "rect" @@ -44850,15 +45381,15 @@ }, "property": { "type": "Identifier", - "start": 25693, - "end": 25698, + "start": 25714, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 36 }, "end": { - "line": 789, + "line": 786, "column": 41 }, "identifierName": "width" @@ -44873,15 +45404,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 25637, - "end": 25656, + "start": 25658, + "end": 25677, "loc": { "start": { - "line": 788, + "line": 785, "column": 20 }, "end": { - "line": 788, + "line": 785, "column": 39 } } @@ -44895,43 +45426,43 @@ }, { "type": "IfStatement", - "start": 25734, - "end": 25868, + "start": 25755, + "end": 25889, "loc": { "start": { - "line": 791, + "line": 788, "column": 16 }, "end": { - "line": 794, + "line": 791, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 25738, - "end": 25761, + "start": 25759, + "end": 25782, "loc": { "start": { - "line": 791, + "line": 788, "column": 20 }, "end": { - "line": 791, + "line": 788, "column": 43 } }, "left": { "type": "Identifier", - "start": 25738, - "end": 25747, + "start": 25759, + "end": 25768, "loc": { "start": { - "line": 791, + "line": 788, "column": 20 }, "end": { - "line": 791, + "line": 788, "column": 29 }, "identifierName": "newHeight" @@ -44941,15 +45472,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 25752, - "end": 25761, + "start": 25773, + "end": 25782, "loc": { "start": { - "line": 791, + "line": 788, "column": 34 }, "end": { - "line": 791, + "line": 788, "column": 43 }, "identifierName": "undefined" @@ -44959,59 +45490,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25763, - "end": 25868, + "start": 25784, + "end": 25889, "loc": { "start": { - "line": 791, + "line": 788, "column": 45 }, "end": { - "line": 794, + "line": 791, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 25826, - "end": 25850, + "start": 25847, + "end": 25871, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 25826, - "end": 25849, + "start": 25847, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25826, - "end": 25835, + "start": 25847, + "end": 25856, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 29 }, "identifierName": "newHeight" @@ -45021,29 +45552,29 @@ }, "right": { "type": "MemberExpression", - "start": 25838, - "end": 25849, + "start": 25859, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 32 }, "end": { - "line": 793, + "line": 790, "column": 43 } }, "object": { "type": "Identifier", - "start": 25838, - "end": 25842, + "start": 25859, + "end": 25863, "loc": { "start": { - "line": 793, + "line": 790, "column": 32 }, "end": { - "line": 793, + "line": 790, "column": 36 }, "identifierName": "rect" @@ -45052,15 +45583,15 @@ }, "property": { "type": "Identifier", - "start": 25843, - "end": 25849, + "start": 25864, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 37 }, "end": { - "line": 793, + "line": 790, "column": 43 }, "identifierName": "height" @@ -45075,15 +45606,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 25785, - "end": 25805, + "start": 25806, + "end": 25826, "loc": { "start": { - "line": 792, + "line": 789, "column": 20 }, "end": { - "line": 792, + "line": 789, "column": 40 } } @@ -45104,15 +45635,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -45121,85 +45652,85 @@ }, { "type": "ExpressionStatement", - "start": 25931, - "end": 25960, + "start": 25952, + "end": 25981, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 25931, - "end": 25959, + "start": 25952, + "end": 25980, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 25931, - "end": 25957, + "start": 25952, + "end": 25978, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 25931, - "end": 25949, + "start": 25952, + "end": 25970, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 25931, - "end": 25942, + "start": 25952, + "end": 25963, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25931, - "end": 25935, + "start": 25952, + "end": 25956, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 16 } }, @@ -45207,15 +45738,15 @@ }, "property": { "type": "Identifier", - "start": 25936, - "end": 25942, + "start": 25957, + "end": 25963, "loc": { "start": { - "line": 798, + "line": 795, "column": 17 }, "end": { - "line": 798, + "line": 795, "column": 23 }, "identifierName": "surfer" @@ -45227,15 +45758,15 @@ }, "property": { "type": "Identifier", - "start": 25943, - "end": 25949, + "start": 25964, + "end": 25970, "loc": { "start": { - "line": 798, + "line": 795, "column": 24 }, "end": { - "line": 798, + "line": 795, "column": 30 }, "identifierName": "drawer" @@ -45247,15 +45778,15 @@ }, "property": { "type": "Identifier", - "start": 25950, - "end": 25957, + "start": 25971, + "end": 25978, "loc": { "start": { - "line": 798, + "line": 795, "column": 31 }, "end": { - "line": 798, + "line": 795, "column": 38 }, "identifierName": "destroy" @@ -45272,15 +45803,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -45290,15 +45821,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -45307,86 +45838,86 @@ }, { "type": "ExpressionStatement", - "start": 26008, - "end": 26044, + "start": 26029, + "end": 26065, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26008, - "end": 26043, + "start": 26029, + "end": 26064, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26008, - "end": 26032, + "start": 26029, + "end": 26053, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26008, - "end": 26026, + "start": 26029, + "end": 26047, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26008, - "end": 26019, + "start": 26029, + "end": 26040, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26008, - "end": 26012, + "start": 26029, + "end": 26033, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 16 } }, @@ -45394,15 +45925,15 @@ }, "property": { "type": "Identifier", - "start": 26013, - "end": 26019, + "start": 26034, + "end": 26040, "loc": { "start": { - "line": 801, + "line": 798, "column": 17 }, "end": { - "line": 801, + "line": 798, "column": 23 }, "identifierName": "surfer" @@ -45414,15 +45945,15 @@ }, "property": { "type": "Identifier", - "start": 26020, - "end": 26026, + "start": 26041, + "end": 26047, "loc": { "start": { - "line": 801, + "line": 798, "column": 24 }, "end": { - "line": 801, + "line": 798, "column": 30 }, "identifierName": "params" @@ -45434,15 +45965,15 @@ }, "property": { "type": "Identifier", - "start": 26027, - "end": 26032, + "start": 26048, + "end": 26053, "loc": { "start": { - "line": 801, + "line": 798, "column": 31 }, "end": { - "line": 801, + "line": 798, "column": 36 }, "identifierName": "width" @@ -45454,15 +45985,15 @@ }, "right": { "type": "Identifier", - "start": 26035, - "end": 26043, + "start": 26056, + "end": 26064, "loc": { "start": { - "line": 801, + "line": 798, "column": 39 }, "end": { - "line": 801, + "line": 798, "column": 47 }, "identifierName": "newWidth" @@ -45475,15 +46006,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -45492,101 +46023,101 @@ }, { "type": "ExpressionStatement", - "start": 26057, - "end": 26129, + "start": 26078, + "end": 26150, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26057, - "end": 26128, + "start": 26078, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26057, - "end": 26082, + "start": 26078, + "end": 26103, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26057, - "end": 26075, + "start": 26078, + "end": 26096, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26057, - "end": 26068, + "start": 26078, + "end": 26089, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26057, - "end": 26061, + "start": 26078, + "end": 26082, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26062, - "end": 26068, + "start": 26083, + "end": 26089, "loc": { "start": { - "line": 802, + "line": 799, "column": 17 }, "end": { - "line": 802, + "line": 799, "column": 23 }, "identifierName": "surfer" @@ -45597,15 +46128,15 @@ }, "property": { "type": "Identifier", - "start": 26069, - "end": 26075, + "start": 26090, + "end": 26096, "loc": { "start": { - "line": 802, + "line": 799, "column": 24 }, "end": { - "line": 802, + "line": 799, "column": 30 }, "identifierName": "params" @@ -45616,15 +46147,15 @@ }, "property": { "type": "Identifier", - "start": 26076, - "end": 26082, + "start": 26097, + "end": 26103, "loc": { "start": { - "line": 802, + "line": 799, "column": 31 }, "end": { - "line": 802, + "line": 799, "column": 37 }, "identifierName": "height" @@ -45635,29 +46166,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26085, - "end": 26128, + "start": 26106, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 40 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "left": { "type": "Identifier", - "start": 26085, - "end": 26094, + "start": 26106, + "end": 26115, "loc": { "start": { - "line": 802, + "line": 799, "column": 40 }, "end": { - "line": 802, + "line": 799, "column": 49 }, "identifierName": "newHeight" @@ -45667,86 +46198,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26097, - "end": 26128, + "start": 26118, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26097, - "end": 26126, + "start": 26118, + "end": 26147, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26097, - "end": 26119, + "start": 26118, + "end": 26140, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26097, - "end": 26108, + "start": 26118, + "end": 26129, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26097, - "end": 26101, + "start": 26118, + "end": 26122, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26102, - "end": 26108, + "start": 26123, + "end": 26129, "loc": { "start": { - "line": 802, + "line": 799, "column": 57 }, "end": { - "line": 802, + "line": 799, "column": 63 }, "identifierName": "player" @@ -45757,15 +46288,15 @@ }, "property": { "type": "Identifier", - "start": 26109, - "end": 26119, + "start": 26130, + "end": 26140, "loc": { "start": { - "line": 802, + "line": 799, "column": 64 }, "end": { - "line": 802, + "line": 799, "column": 74 }, "identifierName": "controlBar" @@ -45776,15 +46307,15 @@ }, "property": { "type": "Identifier", - "start": 26120, - "end": 26126, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 802, + "line": 799, "column": 75 }, "end": { - "line": 802, + "line": 799, "column": 81 }, "identifierName": "height" @@ -45801,15 +46332,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -45818,71 +46349,71 @@ }, { "type": "ExpressionStatement", - "start": 26174, - "end": 26201, + "start": 26195, + "end": 26222, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26174, - "end": 26200, + "start": 26195, + "end": 26221, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26174, - "end": 26198, + "start": 26195, + "end": 26219, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26174, - "end": 26185, + "start": 26195, + "end": 26206, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26174, - "end": 26178, + "start": 26195, + "end": 26199, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 16 } }, @@ -45890,15 +46421,15 @@ }, "property": { "type": "Identifier", - "start": 26179, - "end": 26185, + "start": 26200, + "end": 26206, "loc": { "start": { - "line": 805, + "line": 802, "column": 17 }, "end": { - "line": 805, + "line": 802, "column": 23 }, "identifierName": "surfer" @@ -45910,15 +46441,15 @@ }, "property": { "type": "Identifier", - "start": 26186, - "end": 26198, + "start": 26207, + "end": 26219, "loc": { "start": { - "line": 805, + "line": 802, "column": 24 }, "end": { - "line": 805, + "line": 802, "column": 36 }, "identifierName": "createDrawer" @@ -45935,15 +46466,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -45952,115 +46483,115 @@ }, { "type": "ExpressionStatement", - "start": 26214, - "end": 26273, + "start": 26235, + "end": 26294, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26214, - "end": 26272, + "start": 26235, + "end": 26293, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26214, - "end": 26250, + "start": 26235, + "end": 26271, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26240, + "start": 26235, + "end": 26261, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26232, + "start": 26235, + "end": 26253, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26225, + "start": 26235, + "end": 26246, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26214, - "end": 26218, + "start": 26235, + "end": 26239, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26219, - "end": 26225, + "start": 26240, + "end": 26246, "loc": { "start": { - "line": 806, + "line": 803, "column": 17 }, "end": { - "line": 806, + "line": 803, "column": 23 }, "identifierName": "surfer" @@ -46071,15 +46602,15 @@ }, "property": { "type": "Identifier", - "start": 26226, - "end": 26232, + "start": 26247, + "end": 26253, "loc": { "start": { - "line": 806, + "line": 803, "column": 24 }, "end": { - "line": 806, + "line": 803, "column": 30 }, "identifierName": "drawer" @@ -46090,15 +46621,15 @@ }, "property": { "type": "Identifier", - "start": 26233, - "end": 26240, + "start": 26254, + "end": 26261, "loc": { "start": { - "line": 806, + "line": 803, "column": 31 }, "end": { - "line": 806, + "line": 803, "column": 38 }, "identifierName": "wrapper" @@ -46109,15 +46640,15 @@ }, "property": { "type": "Identifier", - "start": 26241, - "end": 26250, + "start": 26262, + "end": 26271, "loc": { "start": { - "line": 806, + "line": 803, "column": 39 }, "end": { - "line": 806, + "line": 803, "column": 48 }, "identifierName": "className" @@ -46128,15 +46659,15 @@ }, "right": { "type": "Identifier", - "start": 26253, - "end": 26272, + "start": 26274, + "end": 26293, "loc": { "start": { - "line": 806, + "line": 803, "column": 51 }, "end": { - "line": 806, + "line": 803, "column": 70 }, "identifierName": "wavesurferClassName" @@ -46147,86 +46678,86 @@ }, { "type": "ExpressionStatement", - "start": 26286, - "end": 26311, + "start": 26307, + "end": 26332, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26286, - "end": 26310, + "start": 26307, + "end": 26331, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26286, - "end": 26308, + "start": 26307, + "end": 26329, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26286, - "end": 26297, + "start": 26307, + "end": 26318, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26286, - "end": 26290, + "start": 26307, + "end": 26311, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26291, - "end": 26297, + "start": 26312, + "end": 26318, "loc": { "start": { - "line": 807, + "line": 804, "column": 17 }, "end": { - "line": 807, + "line": 804, "column": 23 }, "identifierName": "surfer" @@ -46237,15 +46768,15 @@ }, "property": { "type": "Identifier", - "start": 26298, - "end": 26308, + "start": 26319, + "end": 26329, "loc": { "start": { - "line": 807, + "line": 804, "column": 24 }, "end": { - "line": 807, + "line": 804, "column": 34 }, "identifierName": "drawBuffer" @@ -46260,15 +46791,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -46277,85 +46808,85 @@ }, { "type": "ExpressionStatement", - "start": 26389, - "end": 26458, + "start": 26410, + "end": 26479, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 26389, - "end": 26457, + "start": 26410, + "end": 26478, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 26389, - "end": 26416, + "start": 26410, + "end": 26437, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 26389, - "end": 26407, + "start": 26410, + "end": 26428, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26389, - "end": 26400, + "start": 26410, + "end": 26421, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26389, - "end": 26393, + "start": 26410, + "end": 26414, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 16 } }, @@ -46363,15 +46894,15 @@ }, "property": { "type": "Identifier", - "start": 26394, - "end": 26400, + "start": 26415, + "end": 26421, "loc": { "start": { - "line": 810, + "line": 807, "column": 17 }, "end": { - "line": 810, + "line": 807, "column": 23 }, "identifierName": "surfer" @@ -46383,15 +46914,15 @@ }, "property": { "type": "Identifier", - "start": 26401, - "end": 26407, + "start": 26422, + "end": 26428, "loc": { "start": { - "line": 810, + "line": 807, "column": 24 }, "end": { - "line": 810, + "line": 807, "column": 30 }, "identifierName": "drawer" @@ -46403,15 +46934,15 @@ }, "property": { "type": "Identifier", - "start": 26408, - "end": 26416, + "start": 26429, + "end": 26437, "loc": { "start": { - "line": 810, + "line": 807, "column": 31 }, "end": { - "line": 810, + "line": 807, "column": 39 }, "identifierName": "progress" @@ -46424,86 +46955,86 @@ "arguments": [ { "type": "CallExpression", - "start": 26417, - "end": 26456, + "start": 26438, + "end": 26477, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 26417, - "end": 26454, + "start": 26438, + "end": 26475, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 26417, - "end": 26436, + "start": 26438, + "end": 26457, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 26417, - "end": 26428, + "start": 26438, + "end": 26449, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 26417, - "end": 26421, + "start": 26438, + "end": 26442, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 44 } } }, "property": { "type": "Identifier", - "start": 26422, - "end": 26428, + "start": 26443, + "end": 26449, "loc": { "start": { - "line": 810, + "line": 807, "column": 45 }, "end": { - "line": 810, + "line": 807, "column": 51 }, "identifierName": "surfer" @@ -46514,15 +47045,15 @@ }, "property": { "type": "Identifier", - "start": 26429, - "end": 26436, + "start": 26450, + "end": 26457, "loc": { "start": { - "line": 810, + "line": 807, "column": 52 }, "end": { - "line": 810, + "line": 807, "column": 59 }, "identifierName": "backend" @@ -46533,15 +47064,15 @@ }, "property": { "type": "Identifier", - "start": 26437, - "end": 26454, + "start": 26458, + "end": 26475, "loc": { "start": { - "line": 810, + "line": 807, "column": 60 }, "end": { - "line": 810, + "line": 807, "column": 77 }, "identifierName": "getPlayedPercents" @@ -46559,15 +47090,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -46587,15 +47118,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -46605,15 +47136,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -46622,15 +47153,15 @@ }, { "type": "ClassMethod", - "start": 26754, - "end": 26820, + "start": 26775, + "end": 26841, "loc": { "start": { - "line": 822, + "line": 819, "column": 4 }, "end": { - "line": 824, + "line": 821, "column": 5 } }, @@ -46638,15 +47169,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 26754, - "end": 26757, + "start": 26775, + "end": 26778, "loc": { "start": { - "line": 822, + "line": 819, "column": 4 }, "end": { - "line": 822, + "line": 819, "column": 7 }, "identifierName": "log" @@ -46662,15 +47193,15 @@ "params": [ { "type": "Identifier", - "start": 26758, - "end": 26762, + "start": 26779, + "end": 26783, "loc": { "start": { - "line": 822, + "line": 819, "column": 8 }, "end": { - "line": 822, + "line": 819, "column": 12 }, "identifierName": "args" @@ -46679,15 +47210,15 @@ }, { "type": "Identifier", - "start": 26764, - "end": 26771, + "start": 26785, + "end": 26792, "loc": { "start": { - "line": 822, + "line": 819, "column": 14 }, "end": { - "line": 822, + "line": 819, "column": 21 }, "identifierName": "logType" @@ -46697,58 +47228,58 @@ ], "body": { "type": "BlockStatement", - "start": 26773, - "end": 26820, + "start": 26794, + "end": 26841, "loc": { "start": { - "line": 822, + "line": 819, "column": 23 }, "end": { - "line": 824, + "line": 821, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 26783, - "end": 26814, + "start": 26804, + "end": 26835, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26783, - "end": 26813, + "start": 26804, + "end": 26834, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 38 } }, "callee": { "type": "Identifier", - "start": 26783, - "end": 26786, + "start": 26804, + "end": 26807, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 11 }, "identifierName": "log" @@ -46758,15 +47289,15 @@ "arguments": [ { "type": "Identifier", - "start": 26787, - "end": 26791, + "start": 26808, + "end": 26812, "loc": { "start": { - "line": 823, + "line": 820, "column": 12 }, "end": { - "line": 823, + "line": 820, "column": 16 }, "identifierName": "args" @@ -46775,15 +47306,15 @@ }, { "type": "Identifier", - "start": 26793, - "end": 26800, + "start": 26814, + "end": 26821, "loc": { "start": { - "line": 823, + "line": 820, "column": 18 }, "end": { - "line": 823, + "line": 820, "column": 25 }, "identifierName": "logType" @@ -46792,44 +47323,44 @@ }, { "type": "MemberExpression", - "start": 26802, - "end": 26812, + "start": 26823, + "end": 26833, "loc": { "start": { - "line": 823, + "line": 820, "column": 27 }, "end": { - "line": 823, + "line": 820, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 26802, - "end": 26806, + "start": 26823, + "end": 26827, "loc": { "start": { - "line": 823, + "line": 820, "column": 27 }, "end": { - "line": 823, + "line": 820, "column": 31 } } }, "property": { "type": "Identifier", - "start": 26807, - "end": 26812, + "start": 26828, + "end": 26833, "loc": { "start": { - "line": 823, + "line": 820, "column": 32 }, "end": { - "line": 823, + "line": 820, "column": 37 }, "identifierName": "debug" @@ -46848,15 +47379,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -46872,58 +47403,58 @@ }, { "type": "ExpressionStatement", - "start": 26863, - "end": 26896, + "start": 26884, + "end": 26917, "loc": { "start": { - "line": 828, + "line": 825, "column": 0 }, "end": { - "line": 828, + "line": 825, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 26863, - "end": 26895, + "start": 26884, + "end": 26916, "loc": { "start": { - "line": 828, + "line": 825, "column": 0 }, "end": { - "line": 828, + "line": 825, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26863, - "end": 26881, + "start": 26884, + "end": 26902, "loc": { "start": { - "line": 828, + "line": 825, "column": 0 }, "end": { - "line": 828, + "line": 825, "column": 18 } }, "object": { "type": "Identifier", - "start": 26863, - "end": 26873, + "start": 26884, + "end": 26894, "loc": { "start": { - "line": 828, + "line": 825, "column": 0 }, "end": { - "line": 828, + "line": 825, "column": 10 }, "identifierName": "Wavesurfer" @@ -46933,15 +47464,15 @@ }, "property": { "type": "Identifier", - "start": 26874, - "end": 26881, + "start": 26895, + "end": 26902, "loc": { "start": { - "line": 828, + "line": 825, "column": 11 }, "end": { - "line": 828, + "line": 825, "column": 18 }, "identifierName": "VERSION" @@ -46953,15 +47484,15 @@ }, "right": { "type": "Identifier", - "start": 26884, - "end": 26895, + "start": 26905, + "end": 26916, "loc": { "start": { - "line": 828, + "line": 825, "column": 21 }, "end": { - "line": 828, + "line": 825, "column": 32 }, "identifierName": "__VERSION__" @@ -46974,15 +47505,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 26824, - "end": 26862, + "start": 26845, + "end": 26883, "loc": { "start": { - "line": 827, + "line": 824, "column": 0 }, "end": { - "line": 827, + "line": 824, "column": 38 } } @@ -46992,15 +47523,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 26898, - "end": 26921, + "start": 26919, + "end": 26942, "loc": { "start": { - "line": 830, + "line": 827, "column": 0 }, "end": { - "line": 830, + "line": 827, "column": 23 } } @@ -47009,58 +47540,58 @@ }, { "type": "ExpressionStatement", - "start": 26922, - "end": 26954, + "start": 26943, + "end": 26975, "loc": { "start": { - "line": 831, + "line": 828, "column": 0 }, "end": { - "line": 831, + "line": 828, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 26922, - "end": 26953, + "start": 26943, + "end": 26974, "loc": { "start": { - "line": 831, + "line": 828, "column": 0 }, "end": { - "line": 831, + "line": 828, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26922, - "end": 26940, + "start": 26943, + "end": 26961, "loc": { "start": { - "line": 831, + "line": 828, "column": 0 }, "end": { - "line": 831, + "line": 828, "column": 18 } }, "object": { "type": "Identifier", - "start": 26922, - "end": 26929, + "start": 26943, + "end": 26950, "loc": { "start": { - "line": 831, + "line": 828, "column": 0 }, "end": { - "line": 831, + "line": 828, "column": 7 }, "identifierName": "videojs" @@ -47070,15 +47601,15 @@ }, "property": { "type": "Identifier", - "start": 26930, - "end": 26940, + "start": 26951, + "end": 26961, "loc": { "start": { - "line": 831, + "line": 828, "column": 8 }, "end": { - "line": 831, + "line": 828, "column": 18 }, "identifierName": "Wavesurfer" @@ -47090,15 +47621,15 @@ }, "right": { "type": "Identifier", - "start": 26943, - "end": 26953, + "start": 26964, + "end": 26974, "loc": { "start": { - "line": 831, + "line": 828, "column": 21 }, "end": { - "line": 831, + "line": 828, "column": 31 }, "identifierName": "Wavesurfer" @@ -47111,15 +47642,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 26898, - "end": 26921, + "start": 26919, + "end": 26942, "loc": { "start": { - "line": 830, + "line": 827, "column": 0 }, "end": { - "line": 830, + "line": 827, "column": 23 } } @@ -47128,71 +47659,71 @@ }, { "type": "IfStatement", - "start": 26955, - "end": 27079, + "start": 26976, + "end": 27100, "loc": { "start": { - "line": 832, + "line": 829, "column": 0 }, "end": { - "line": 834, + "line": 831, "column": 1 } }, "test": { "type": "BinaryExpression", - "start": 26959, - "end": 27012, + "start": 26980, + "end": 27033, "loc": { "start": { - "line": 832, + "line": 829, "column": 4 }, "end": { - "line": 832, + "line": 829, "column": 57 } }, "left": { "type": "CallExpression", - "start": 26959, - "end": 26998, + "start": 26980, + "end": 27019, "loc": { "start": { - "line": 832, + "line": 829, "column": 4 }, "end": { - "line": 832, + "line": 829, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 26959, - "end": 26976, + "start": 26980, + "end": 26997, "loc": { "start": { - "line": 832, + "line": 829, "column": 4 }, "end": { - "line": 832, + "line": 829, "column": 21 } }, "object": { "type": "Identifier", - "start": 26959, - "end": 26966, + "start": 26980, + "end": 26987, "loc": { "start": { - "line": 832, + "line": 829, "column": 4 }, "end": { - "line": 832, + "line": 829, "column": 11 }, "identifierName": "videojs" @@ -47201,15 +47732,15 @@ }, "property": { "type": "Identifier", - "start": 26967, - "end": 26976, + "start": 26988, + "end": 26997, "loc": { "start": { - "line": 832, + "line": 829, "column": 12 }, "end": { - "line": 832, + "line": 829, "column": 21 }, "identifierName": "getPlugin" @@ -47221,15 +47752,15 @@ "arguments": [ { "type": "Identifier", - "start": 26977, - "end": 26997, + "start": 26998, + "end": 27018, "loc": { "start": { - "line": 832, + "line": 829, "column": 22 }, "end": { - "line": 832, + "line": 829, "column": 42 }, "identifierName": "wavesurferPluginName" @@ -47241,15 +47772,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 27003, - "end": 27012, + "start": 27024, + "end": 27033, "loc": { "start": { - "line": 832, + "line": 829, "column": 48 }, "end": { - "line": 832, + "line": 829, "column": 57 }, "identifierName": "undefined" @@ -47259,72 +47790,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 27014, - "end": 27079, + "start": 27035, + "end": 27100, "loc": { "start": { - "line": 832, + "line": 829, "column": 59 }, "end": { - "line": 834, + "line": 831, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 27020, - "end": 27077, + "start": 27041, + "end": 27098, "loc": { "start": { - "line": 833, + "line": 830, "column": 4 }, "end": { - "line": 833, + "line": 830, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 27020, - "end": 27076, + "start": 27041, + "end": 27097, "loc": { "start": { - "line": 833, + "line": 830, "column": 4 }, "end": { - "line": 833, + "line": 830, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 27020, - "end": 27042, + "start": 27041, + "end": 27063, "loc": { "start": { - "line": 833, + "line": 830, "column": 4 }, "end": { - "line": 833, + "line": 830, "column": 26 } }, "object": { "type": "Identifier", - "start": 27020, - "end": 27027, + "start": 27041, + "end": 27048, "loc": { "start": { - "line": 833, + "line": 830, "column": 4 }, "end": { - "line": 833, + "line": 830, "column": 11 }, "identifierName": "videojs" @@ -47333,15 +47864,15 @@ }, "property": { "type": "Identifier", - "start": 27028, - "end": 27042, + "start": 27049, + "end": 27063, "loc": { "start": { - "line": 833, + "line": 830, "column": 12 }, "end": { - "line": 833, + "line": 830, "column": 26 }, "identifierName": "registerPlugin" @@ -47353,15 +47884,15 @@ "arguments": [ { "type": "Identifier", - "start": 27043, - "end": 27063, + "start": 27064, + "end": 27084, "loc": { "start": { - "line": 833, + "line": 830, "column": 27 }, "end": { - "line": 833, + "line": 830, "column": 47 }, "identifierName": "wavesurferPluginName" @@ -47370,15 +47901,15 @@ }, { "type": "Identifier", - "start": 27065, - "end": 27075, + "start": 27086, + "end": 27096, "loc": { "start": { - "line": 833, + "line": 830, "column": 49 }, "end": { - "line": 833, + "line": 830, "column": 59 }, "identifierName": "Wavesurfer" @@ -47397,15 +47928,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27081, - "end": 27110, + "start": 27102, + "end": 27131, "loc": { "start": { - "line": 836, + "line": 833, "column": 0 }, "end": { - "line": 836, + "line": 833, "column": 29 } } @@ -47414,57 +47945,57 @@ }, { "type": "ExpressionStatement", - "start": 27111, - "end": 27262, + "start": 27132, + "end": 27283, "loc": { "start": { - "line": 837, + "line": 834, "column": 0 }, "end": { - "line": 842, + "line": 839, "column": 3 } }, "expression": { "type": "CallExpression", - "start": 27111, - "end": 27261, + "start": 27132, + "end": 27282, "loc": { "start": { - "line": 837, + "line": 834, "column": 0 }, "end": { - "line": 842, + "line": 839, "column": 2 } }, "callee": { "type": "MemberExpression", - "start": 27111, - "end": 27122, + "start": 27132, + "end": 27143, "loc": { "start": { - "line": 837, + "line": 834, "column": 0 }, "end": { - "line": 837, + "line": 834, "column": 11 } }, "object": { "type": "Identifier", - "start": 27111, - "end": 27118, + "start": 27132, + "end": 27139, "loc": { "start": { - "line": 837, + "line": 834, "column": 0 }, "end": { - "line": 837, + "line": 834, "column": 7 }, "identifierName": "videojs" @@ -47474,15 +48005,15 @@ }, "property": { "type": "Identifier", - "start": 27119, - "end": 27122, + "start": 27140, + "end": 27143, "loc": { "start": { - "line": 837, + "line": 834, "column": 8 }, "end": { - "line": 837, + "line": 834, "column": 11 }, "identifierName": "use" @@ -47495,15 +48026,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 27123, - "end": 27126, + "start": 27144, + "end": 27147, "loc": { "start": { - "line": 837, + "line": 834, "column": 12 }, "end": { - "line": 837, + "line": 834, "column": 15 } }, @@ -47515,15 +48046,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 27128, - "end": 27260, + "start": 27149, + "end": 27281, "loc": { "start": { - "line": 837, + "line": 834, "column": 17 }, "end": { - "line": 842, + "line": 839, "column": 1 } }, @@ -47534,15 +48065,15 @@ "params": [ { "type": "Identifier", - "start": 27128, - "end": 27134, + "start": 27149, + "end": 27155, "loc": { "start": { - "line": 837, + "line": 834, "column": 17 }, "end": { - "line": 837, + "line": 834, "column": 23 }, "identifierName": "player" @@ -47552,73 +48083,73 @@ ], "body": { "type": "BlockStatement", - "start": 27138, - "end": 27260, + "start": 27159, + "end": 27281, "loc": { "start": { - "line": 837, + "line": 834, "column": 27 }, "end": { - "line": 842, + "line": 839, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 27187, - "end": 27224, + "start": 27208, + "end": 27245, "loc": { "start": { - "line": 839, + "line": 836, "column": 4 }, "end": { - "line": 839, + "line": 836, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 27187, - "end": 27223, + "start": 27208, + "end": 27244, "loc": { "start": { - "line": 839, + "line": 836, "column": 4 }, "end": { - "line": 839, + "line": 836, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27187, - "end": 27214, + "start": 27208, + "end": 27235, "loc": { "start": { - "line": 839, + "line": 836, "column": 4 }, "end": { - "line": 839, + "line": 836, "column": 31 } }, "object": { "type": "Identifier", - "start": 27187, - "end": 27207, + "start": 27208, + "end": 27228, "loc": { "start": { - "line": 839, + "line": 836, "column": 4 }, "end": { - "line": 839, + "line": 836, "column": 24 }, "identifierName": "WavesurferMiddleware" @@ -47628,15 +48159,15 @@ }, "property": { "type": "Identifier", - "start": 27208, - "end": 27214, + "start": 27229, + "end": 27235, "loc": { "start": { - "line": 839, + "line": 836, "column": 25 }, "end": { - "line": 839, + "line": 836, "column": 31 }, "identifierName": "player" @@ -47648,15 +48179,15 @@ }, "right": { "type": "Identifier", - "start": 27217, - "end": 27223, + "start": 27238, + "end": 27244, "loc": { "start": { - "line": 839, + "line": 836, "column": 34 }, "end": { - "line": 839, + "line": 836, "column": 40 }, "identifierName": "player" @@ -47669,15 +48200,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27144, - "end": 27182, + "start": 27165, + "end": 27203, "loc": { "start": { - "line": 838, + "line": 835, "column": 4 }, "end": { - "line": 838, + "line": 835, "column": 42 } } @@ -47686,29 +48217,29 @@ }, { "type": "ReturnStatement", - "start": 27230, - "end": 27258, + "start": 27251, + "end": 27279, "loc": { "start": { - "line": 841, + "line": 838, "column": 4 }, "end": { - "line": 841, + "line": 838, "column": 32 } }, "argument": { "type": "Identifier", - "start": 27237, - "end": 27257, + "start": 27258, + "end": 27278, "loc": { "start": { - "line": 841, + "line": 838, "column": 11 }, "end": { - "line": 841, + "line": 838, "column": 31 }, "identifierName": "WavesurferMiddleware" @@ -47727,15 +48258,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27081, - "end": 27110, + "start": 27102, + "end": 27131, "loc": { "start": { - "line": 836, + "line": 833, "column": 0 }, "end": { - "line": 836, + "line": 833, "column": 29 } } @@ -47744,15 +48275,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 27264, - "end": 27284, + "start": 27285, + "end": 27305, "loc": { "start": { - "line": 844, + "line": 841, "column": 0 }, "end": { - "line": 844, + "line": 841, "column": 20 } }, @@ -47760,29 +48291,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 27272, - "end": 27282, + "start": 27293, + "end": 27303, "loc": { "start": { - "line": 844, + "line": 841, "column": 8 }, "end": { - "line": 844, + "line": 841, "column": 18 } }, "local": { "type": "Identifier", - "start": 27272, - "end": 27282, + "start": 27293, + "end": 27303, "loc": { "start": { - "line": 844, + "line": 841, "column": 8 }, "end": { - "line": 844, + "line": 841, "column": 18 }, "identifierName": "Wavesurfer" @@ -47791,15 +48322,15 @@ }, "exported": { "type": "Identifier", - "start": 27272, - "end": 27282, + "start": 27293, + "end": 27303, "loc": { "start": { - "line": 844, + "line": 841, "column": 8 }, "end": { - "line": 844, + "line": 841, "column": 18 }, "identifierName": "Wavesurfer" @@ -47812,43 +48343,43 @@ }, { "type": "ExportNamedDeclaration", - "start": 27264, - "end": 27284, + "start": 27285, + "end": 27305, "loc": { "start": { - "line": 844, + "line": 841, "column": 0 }, "end": { - "line": 844, + "line": 841, "column": 20 } }, "declaration": { "type": "ClassDeclaration", - "start": 749, - "end": 26822, + "start": 942, + "end": 26843, "loc": { "start": { - "line": 29, + "line": 35, "column": 0 }, "end": { - "line": 825, + "line": 822, "column": 1 } }, "id": { "type": "Identifier", - "start": 755, - "end": 765, + "start": 948, + "end": 958, "loc": { "start": { - "line": 29, + "line": 35, "column": 6 }, "end": { - "line": 29, + "line": 35, "column": 16 }, "identifierName": "Wavesurfer" @@ -47858,15 +48389,15 @@ }, "superClass": { "type": "Identifier", - "start": 774, - "end": 780, + "start": 967, + "end": 973, "loc": { "start": { - "line": 29, + "line": 35, "column": 25 }, "end": { - "line": 29, + "line": 35, "column": 31 }, "identifierName": "Plugin" @@ -47875,30 +48406,30 @@ }, "body": { "type": "ClassBody", - "start": 781, - "end": 26822, + "start": 974, + "end": 26843, "loc": { "start": { - "line": 29, + "line": 35, "column": 32 }, "end": { - "line": 825, + "line": 822, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 979, - "end": 1648, + "start": 1172, + "end": 2027, "loc": { "start": { - "line": 36, + "line": 42, "column": 4 }, "end": { - "line": 54, + "line": 65, "column": 5 } }, @@ -47906,15 +48437,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 979, - "end": 990, + "start": 1172, + "end": 1183, "loc": { "start": { - "line": 36, + "line": 42, "column": 4 }, "end": { - "line": 36, + "line": 42, "column": 15 }, "identifierName": "constructor" @@ -47930,15 +48461,15 @@ "params": [ { "type": "Identifier", - "start": 991, - "end": 997, + "start": 1184, + "end": 1190, "loc": { "start": { - "line": 36, + "line": 42, "column": 16 }, "end": { - "line": 36, + "line": 42, "column": 22 }, "identifierName": "player" @@ -47947,15 +48478,15 @@ }, { "type": "Identifier", - "start": 999, - "end": 1006, + "start": 1192, + "end": 1199, "loc": { "start": { - "line": 36, + "line": 42, "column": 24 }, "end": { - "line": 36, + "line": 42, "column": 31 }, "identifierName": "options" @@ -47965,58 +48496,58 @@ ], "body": { "type": "BlockStatement", - "start": 1008, - "end": 1648, + "start": 1201, + "end": 2027, "loc": { "start": { - "line": 36, + "line": 42, "column": 33 }, "end": { - "line": 54, + "line": 65, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1018, - "end": 1041, + "start": 1211, + "end": 1234, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 1018, - "end": 1040, + "start": 1211, + "end": 1233, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 30 } }, "callee": { "type": "Super", - "start": 1018, - "end": 1023, + "start": 1211, + "end": 1216, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 13 } } @@ -48024,15 +48555,15 @@ "arguments": [ { "type": "Identifier", - "start": 1024, - "end": 1030, + "start": 1217, + "end": 1223, "loc": { "start": { - "line": 37, + "line": 43, "column": 14 }, "end": { - "line": 37, + "line": 43, "column": 20 }, "identifierName": "player" @@ -48041,15 +48572,15 @@ }, { "type": "Identifier", - "start": 1032, - "end": 1039, + "start": 1225, + "end": 1232, "loc": { "start": { - "line": 37, + "line": 43, "column": 22 }, "end": { - "line": 37, + "line": 43, "column": 29 }, "identifierName": "options" @@ -48062,15 +48593,15 @@ { "type": "CommentLine", "value": " add plugin style", - "start": 1051, - "end": 1070, + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 39, + "line": 45, "column": 8 }, "end": { - "line": 39, + "line": 45, "column": 27 } } @@ -48079,57 +48610,57 @@ }, { "type": "ExpressionStatement", - "start": 1079, - "end": 1113, + "start": 1272, + "end": 1309, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, - "column": 42 + "line": 46, + "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1079, - "end": 1112, + "start": 1272, + "end": 1308, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, - "column": 41 + "line": 46, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1079, - "end": 1094, + "start": 1272, + "end": 1287, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, + "line": 46, "column": 23 } }, "object": { "type": "Identifier", - "start": 1079, - "end": 1085, + "start": 1272, + "end": 1278, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, + "line": 46, "column": 14 }, "identifierName": "player" @@ -48139,15 +48670,15 @@ }, "property": { "type": "Identifier", - "start": 1086, - "end": 1094, + "start": 1279, + "end": 1287, "loc": { "start": { - "line": 40, + "line": 46, "column": 15 }, "end": { - "line": 40, + "line": 46, "column": 23 }, "identifierName": "addClass" @@ -48159,24 +48690,21 @@ }, "arguments": [ { - "type": "StringLiteral", - "start": 1095, - "end": 1111, + "type": "Identifier", + "start": 1288, + "end": 1307, "loc": { "start": { - "line": 40, + "line": 46, "column": 24 }, "end": { - "line": 40, - "column": 40 - } - }, - "extra": { - "rawValue": "vjs-wavesurfer", - "raw": "'vjs-wavesurfer'" + "line": 46, + "column": 43 + }, + "identifierName": "wavesurferStyleName" }, - "value": "vjs-wavesurfer" + "name": "wavesurferStyleName" } ], "leadingComments": null @@ -48185,15 +48713,15 @@ { "type": "CommentLine", "value": " add plugin style", - "start": 1051, - "end": 1070, + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 39, + "line": 45, "column": 8 }, "end": { - "line": 39, + "line": 45, "column": 27 } } @@ -48203,15 +48731,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1123, - "end": 1139, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, + "line": 48, "column": 24 } } @@ -48220,44 +48748,44 @@ }, { "type": "ExpressionStatement", - "start": 1148, - "end": 1210, + "start": 1344, + "end": 1406, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 1148, - "end": 1209, + "start": 1344, + "end": 1405, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 69 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1148, - "end": 1155, + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 15 }, "identifierName": "options" @@ -48267,43 +48795,43 @@ }, "right": { "type": "CallExpression", - "start": 1158, - "end": 1209, + "start": 1354, + "end": 1405, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 1158, - "end": 1178, + "start": 1354, + "end": 1374, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 38 } }, "object": { "type": "Identifier", - "start": 1158, - "end": 1165, + "start": 1354, + "end": 1361, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 25 }, "identifierName": "videojs" @@ -48312,15 +48840,15 @@ }, "property": { "type": "Identifier", - "start": 1166, - "end": 1178, + "start": 1362, + "end": 1374, "loc": { "start": { - "line": 43, + "line": 49, "column": 26 }, "end": { - "line": 43, + "line": 49, "column": 38 }, "identifierName": "mergeOptions" @@ -48332,15 +48860,15 @@ "arguments": [ { "type": "Identifier", - "start": 1179, - "end": 1199, + "start": 1375, + "end": 1395, "loc": { "start": { - "line": 43, + "line": 49, "column": 39 }, "end": { - "line": 43, + "line": 49, "column": 59 }, "identifierName": "pluginDefaultOptions" @@ -48349,15 +48877,15 @@ }, { "type": "Identifier", - "start": 1201, - "end": 1208, + "start": 1397, + "end": 1404, "loc": { "start": { - "line": 43, + "line": 49, "column": 61 }, "end": { - "line": 43, + "line": 49, "column": 68 }, "identifierName": "options" @@ -48372,15 +48900,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1123, - "end": 1139, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, + "line": 48, "column": 24 } } @@ -48389,73 +48917,73 @@ }, { "type": "ExpressionStatement", - "start": 1219, - "end": 1242, + "start": 1415, + "end": 1438, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1219, - "end": 1241, + "start": 1415, + "end": 1437, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1219, - "end": 1233, + "start": 1415, + "end": 1429, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1219, - "end": 1223, + "start": 1415, + "end": 1419, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1224, - "end": 1233, + "start": 1420, + "end": 1429, "loc": { "start": { - "line": 44, + "line": 50, "column": 13 }, "end": { - "line": 44, + "line": 50, "column": 22 }, "identifierName": "waveReady" @@ -48466,15 +48994,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1236, - "end": 1241, + "start": 1432, + "end": 1437, "loc": { "start": { - "line": 44, + "line": 50, "column": 25 }, "end": { - "line": 44, + "line": 50, "column": 30 } }, @@ -48484,73 +49012,73 @@ }, { "type": "ExpressionStatement", - "start": 1251, - "end": 1277, + "start": 1447, + "end": 1473, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1251, - "end": 1276, + "start": 1447, + "end": 1472, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1251, - "end": 1268, + "start": 1447, + "end": 1464, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 1251, - "end": 1255, + "start": 1447, + "end": 1451, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1256, - "end": 1268, + "start": 1452, + "end": 1464, "loc": { "start": { - "line": 45, + "line": 51, "column": 13 }, "end": { - "line": 45, + "line": 51, "column": 25 }, "identifierName": "waveFinished" @@ -48561,15 +49089,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1271, - "end": 1276, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 45, + "line": 51, "column": 28 }, "end": { - "line": 45, + "line": 51, "column": 33 } }, @@ -48579,73 +49107,73 @@ }, { "type": "ExpressionStatement", - "start": 1286, - "end": 1308, + "start": 1482, + "end": 1504, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 1286, - "end": 1307, + "start": 1482, + "end": 1503, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1286, - "end": 1299, + "start": 1482, + "end": 1495, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1286, - "end": 1290, + "start": 1482, + "end": 1486, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1291, - "end": 1299, + "start": 1487, + "end": 1495, "loc": { "start": { - "line": 46, + "line": 52, "column": 13 }, "end": { - "line": 46, + "line": 52, "column": 21 }, "identifierName": "liveMode" @@ -48656,15 +49184,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 1302, - "end": 1307, + "start": 1498, + "end": 1503, "loc": { "start": { - "line": 46, + "line": 52, "column": 24 }, "end": { - "line": 46, + "line": 52, "column": 29 } }, @@ -48674,73 +49202,73 @@ }, { "type": "ExpressionStatement", - "start": 1317, - "end": 1337, + "start": 1513, + "end": 1533, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 1317, - "end": 1336, + "start": 1513, + "end": 1532, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1317, - "end": 1329, + "start": 1513, + "end": 1525, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1317, - "end": 1321, + "start": 1513, + "end": 1517, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1322, - "end": 1329, + "start": 1518, + "end": 1525, "loc": { "start": { - "line": 47, + "line": 53, "column": 13 }, "end": { - "line": 47, + "line": 53, "column": 20 }, "identifierName": "backend" @@ -48751,15 +49279,15 @@ }, "right": { "type": "NullLiteral", - "start": 1332, - "end": 1336, + "start": 1528, + "end": 1532, "loc": { "start": { - "line": 47, + "line": 53, "column": 23 }, "end": { - "line": 47, + "line": 53, "column": 27 } } @@ -48768,73 +49296,73 @@ }, { "type": "ExpressionStatement", - "start": 1346, - "end": 1397, + "start": 1542, + "end": 1593, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 1346, - "end": 1396, + "start": 1542, + "end": 1592, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1346, - "end": 1356, + "start": 1542, + "end": 1552, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 1346, - "end": 1350, + "start": 1542, + "end": 1546, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1351, - "end": 1356, + "start": 1547, + "end": 1552, "loc": { "start": { - "line": 48, + "line": 54, "column": 13 }, "end": { - "line": 48, + "line": 54, "column": 18 }, "identifierName": "debug" @@ -48845,71 +49373,71 @@ }, "right": { "type": "BinaryExpression", - "start": 1360, - "end": 1395, + "start": 1556, + "end": 1591, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 57 } }, "left": { "type": "CallExpression", - "start": 1360, - "end": 1384, + "start": 1556, + "end": 1580, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 1360, - "end": 1382, + "start": 1556, + "end": 1578, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 1360, - "end": 1373, + "start": 1556, + "end": 1569, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 35 } }, "object": { "type": "Identifier", - "start": 1360, - "end": 1367, + "start": 1556, + "end": 1563, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 29 }, "identifierName": "options" @@ -48918,15 +49446,15 @@ }, "property": { "type": "Identifier", - "start": 1368, - "end": 1373, + "start": 1564, + "end": 1569, "loc": { "start": { - "line": 48, + "line": 54, "column": 30 }, "end": { - "line": 48, + "line": 54, "column": 35 }, "identifierName": "debug" @@ -48937,15 +49465,15 @@ }, "property": { "type": "Identifier", - "start": 1374, - "end": 1382, + "start": 1570, + "end": 1578, "loc": { "start": { - "line": 48, + "line": 54, "column": 36 }, "end": { - "line": 48, + "line": 54, "column": 44 }, "identifierName": "toString" @@ -48959,15 +49487,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1389, - "end": 1395, + "start": 1585, + "end": 1591, "loc": { "start": { - "line": 48, + "line": 54, "column": 51 }, "end": { - "line": 48, + "line": 54, "column": 57 } }, @@ -48979,80 +49507,80 @@ }, "extra": { "parenthesized": true, - "parenStart": 1359 + "parenStart": 1555 } } } }, { "type": "ExpressionStatement", - "start": 1406, - "end": 1472, + "start": 1602, + "end": 1668, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 1406, - "end": 1471, + "start": 1602, + "end": 1667, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1406, - "end": 1428, + "start": 1602, + "end": 1624, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 1406, - "end": 1410, + "start": 1602, + "end": 1606, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1411, - "end": 1428, + "start": 1607, + "end": 1624, "loc": { "start": { - "line": 49, + "line": 55, "column": 13 }, "end": { - "line": 49, + "line": 55, "column": 30 }, "identifierName": "textTracksEnabled" @@ -49063,100 +49591,100 @@ }, "right": { "type": "BinaryExpression", - "start": 1432, - "end": 1470, + "start": 1628, + "end": 1666, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 1432, - "end": 1466, + "start": 1628, + "end": 1662, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1459, + "start": 1628, + "end": 1655, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1452, + "start": 1628, + "end": 1648, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 1432, - "end": 1443, + "start": 1628, + "end": 1639, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 1432, - "end": 1436, + "start": 1628, + "end": 1632, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 38 } } }, "property": { "type": "Identifier", - "start": 1437, - "end": 1443, + "start": 1633, + "end": 1639, "loc": { "start": { - "line": 49, + "line": 55, "column": 39 }, "end": { - "line": 49, + "line": 55, "column": 45 }, "identifierName": "player" @@ -49167,15 +49695,15 @@ }, "property": { "type": "Identifier", - "start": 1444, - "end": 1452, + "start": 1640, + "end": 1648, "loc": { "start": { - "line": 49, + "line": 55, "column": 46 }, "end": { - "line": 49, + "line": 55, "column": 54 }, "identifierName": "options_" @@ -49186,15 +49714,15 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1459, + "start": 1649, + "end": 1655, "loc": { "start": { - "line": 49, + "line": 55, "column": 55 }, "end": { - "line": 49, + "line": 55, "column": 61 }, "identifierName": "tracks" @@ -49205,15 +49733,15 @@ }, "property": { "type": "Identifier", - "start": 1460, - "end": 1466, + "start": 1656, + "end": 1662, "loc": { "start": { - "line": 49, + "line": 55, "column": 62 }, "end": { - "line": 49, + "line": 55, "column": 68 }, "identifierName": "length" @@ -49225,15 +49753,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1469, - "end": 1470, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 49, + "line": 55, "column": 71 }, "end": { - "line": 49, + "line": 55, "column": 72 } }, @@ -49245,186 +49773,477 @@ }, "extra": { "parenthesized": true, - "parenStart": 1431 + "parenStart": 1627 } } } }, { "type": "ExpressionStatement", - "start": 1481, - "end": 1534, + "start": 1677, + "end": 1732, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 61 + "line": 56, + "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 1481, - "end": 1533, + "start": 1677, + "end": 1731, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 60 + "line": 56, + "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1481, - "end": 1498, + "start": 1677, + "end": 1701, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, - "column": 25 + "line": 56, + "column": 32 } }, "object": { "type": "ThisExpression", - "start": 1481, - "end": 1485, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, + "line": 56, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1486, - "end": 1498, + "start": 1682, + "end": 1701, "loc": { "start": { - "line": 50, + "line": 56, "column": 13 }, "end": { - "line": 50, - "column": 25 + "line": 56, + "column": 32 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false }, "right": { - "type": "CallExpression", - "start": 1501, - "end": 1533, + "type": "MemberExpression", + "start": 1704, + "end": 1731, "loc": { "start": { - "line": 50, - "column": 28 + "line": 56, + "column": 35 }, "end": { - "line": 50, - "column": 60 + "line": 56, + "column": 62 } }, - "callee": { + "object": { "type": "Identifier", - "start": 1501, - "end": 1511, + "start": 1704, + "end": 1711, "loc": { "start": { - "line": 50, - "column": 28 + "line": 56, + "column": 35 }, "end": { - "line": 50, - "column": 38 + "line": 56, + "column": 42 }, - "identifierName": "parseFloat" + "identifierName": "options" }, - "name": "parseFloat" + "name": "options" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1512, - "end": 1532, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 59 - } + "property": { + "type": "Identifier", + "start": 1712, + "end": 1731, + "loc": { + "start": { + "line": 56, + "column": 43 }, - "object": { + "end": { + "line": 56, + "column": 62 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1785, + "end": 1913, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1785, + "end": 1912, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 61, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1785, + "end": 1806, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1785, + "end": 1792, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 15 + }, + "identifierName": "videojs" + }, + "name": "videojs", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1793, + "end": 1806, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 29 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1807, + "end": 1911, + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 61, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 1512, - "end": 1519, + "start": 1808, + "end": 1815, "loc": { "start": { - "line": 50, - "column": 39 + "line": 59, + "column": 31 }, "end": { - "line": 50, - "column": 46 + "line": 59, + "column": 38 }, - "identifierName": "options" + "identifierName": "seconds" }, - "name": "options" + "name": "seconds" }, - "property": { + { "type": "Identifier", - "start": 1520, - "end": 1532, + "start": 1817, + "end": 1822, "loc": { "start": { - "line": 50, - "column": 47 + "line": 59, + "column": 40 }, "end": { - "line": 50, - "column": 59 + "line": 59, + "column": 45 }, - "identifierName": "msDisplayMax" + "identifierName": "guide" + }, + "name": "guide" + } + ], + "body": { + "type": "BlockStatement", + "start": 1827, + "end": 1911, + "loc": { + "start": { + "line": 59, + "column": 50 }, - "name": "msDisplayMax" + "end": { + "line": 61, + "column": 9 + } }, - "computed": false + "body": [ + { + "type": "ReturnStatement", + "start": 1841, + "end": 1901, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 72 + } + }, + "argument": { + "type": "CallExpression", + "start": 1848, + "end": 1900, + "loc": { + "start": { + "line": 60, + "column": 19 + }, + "end": { + "line": 60, + "column": 71 + } + }, + "callee": { + "type": "Identifier", + "start": 1848, + "end": 1858, + "loc": { + "start": { + "line": 60, + "column": 19 + }, + "end": { + "line": 60, + "column": 29 + }, + "identifierName": "formatTime" + }, + "name": "formatTime" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1859, + "end": 1866, + "loc": { + "start": { + "line": 60, + "column": 30 + }, + "end": { + "line": 60, + "column": 37 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + { + "type": "Identifier", + "start": 1868, + "end": 1873, + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 44 + }, + "identifierName": "guide" + }, + "name": "guide" + }, + { + "type": "MemberExpression", + "start": 1875, + "end": 1899, + "loc": { + "start": { + "line": 60, + "column": 46 + }, + "end": { + "line": 60, + "column": 70 + } + }, + "object": { + "type": "ThisExpression", + "start": 1875, + "end": 1879, + "loc": { + "start": { + "line": 60, + "column": 46 + }, + "end": { + "line": 60, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 1880, + "end": 1899, + "loc": { + "start": { + "line": 60, + "column": 51 + }, + "end": { + "line": 60, + "column": 70 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + ] + } + } + ], + "directives": [] } - ] - } + } + ], + "leadingComments": null }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 42 + } + } + } + ], "trailingComments": [ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 52, + "line": 63, "column": 8 }, "end": { - "line": 52, + "line": 63, "column": 40 } } @@ -49433,71 +50252,71 @@ }, { "type": "ExpressionStatement", - "start": 1585, - "end": 1642, + "start": 1964, + "end": 2021, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 1585, - "end": 1641, + "start": 1964, + "end": 2020, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1585, - "end": 1600, + "start": 1964, + "end": 1979, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 23 } }, "object": { "type": "MemberExpression", - "start": 1585, - "end": 1596, + "start": 1964, + "end": 1975, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1585, - "end": 1589, + "start": 1964, + "end": 1968, "loc": { "start": { - "line": 53, + "line": 64, "column": 8 }, "end": { - "line": 53, + "line": 64, "column": 12 } }, @@ -49505,15 +50324,15 @@ }, "property": { "type": "Identifier", - "start": 1590, - "end": 1596, + "start": 1969, + "end": 1975, "loc": { "start": { - "line": 53, + "line": 64, "column": 13 }, "end": { - "line": 53, + "line": 64, "column": 19 }, "identifierName": "player" @@ -49525,15 +50344,15 @@ }, "property": { "type": "Identifier", - "start": 1597, - "end": 1600, + "start": 1976, + "end": 1979, "loc": { "start": { - "line": 53, + "line": 64, "column": 20 }, "end": { - "line": 53, + "line": 64, "column": 23 }, "identifierName": "one" @@ -49546,29 +50365,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1601, - "end": 1612, + "start": 1980, + "end": 1991, "loc": { "start": { - "line": 53, + "line": 64, "column": 24 }, "end": { - "line": 53, + "line": 64, "column": 35 } }, "object": { "type": "Identifier", - "start": 1601, - "end": 1606, + "start": 1980, + "end": 1985, "loc": { "start": { - "line": 53, + "line": 64, "column": 24 }, "end": { - "line": 53, + "line": 64, "column": 29 }, "identifierName": "Event" @@ -49577,15 +50396,15 @@ }, "property": { "type": "Identifier", - "start": 1607, - "end": 1612, + "start": 1986, + "end": 1991, "loc": { "start": { - "line": 53, + "line": 64, "column": 30 }, "end": { - "line": 53, + "line": 64, "column": 35 }, "identifierName": "READY" @@ -49596,72 +50415,72 @@ }, { "type": "CallExpression", - "start": 1614, - "end": 1640, + "start": 1993, + "end": 2019, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1614, - "end": 1634, + "start": 1993, + "end": 2013, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 1614, - "end": 1629, + "start": 1993, + "end": 2008, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 1614, - "end": 1618, + "start": 1993, + "end": 1997, "loc": { "start": { - "line": 53, + "line": 64, "column": 37 }, "end": { - "line": 53, + "line": 64, "column": 41 } } }, "property": { "type": "Identifier", - "start": 1619, - "end": 1629, + "start": 1998, + "end": 2008, "loc": { "start": { - "line": 53, + "line": 64, "column": 42 }, "end": { - "line": 53, + "line": 64, "column": 52 }, "identifierName": "initialize" @@ -49672,15 +50491,15 @@ }, "property": { "type": "Identifier", - "start": 1630, - "end": 1634, + "start": 2009, + "end": 2013, "loc": { "start": { - "line": 53, + "line": 64, "column": 53 }, "end": { - "line": 53, + "line": 64, "column": 57 }, "identifierName": "bind" @@ -49692,15 +50511,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 1635, - "end": 1639, + "start": 2014, + "end": 2018, "loc": { "start": { - "line": 53, + "line": 64, "column": 58 }, "end": { - "line": 53, + "line": 64, "column": 62 } } @@ -49714,15 +50533,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 52, + "line": 63, "column": 8 }, "end": { - "line": 52, + "line": 63, "column": 40 } } @@ -49737,15 +50556,15 @@ { "type": "CommentBlock", "value": "*\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n ", - "start": 787, - "end": 974, + "start": 980, + "end": 1167, "loc": { "start": { - "line": 30, + "line": 36, "column": 4 }, "end": { - "line": 35, + "line": 41, "column": 7 } } @@ -49755,15 +50574,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, + "start": 2033, + "end": 2114, "loc": { "start": { - "line": 56, + "line": 67, "column": 4 }, "end": { - "line": 60, + "line": 71, "column": 7 } } @@ -49772,15 +50591,15 @@ }, { "type": "ClassMethod", - "start": 1740, - "end": 6921, + "start": 2119, + "end": 6783, "loc": { "start": { - "line": 61, + "line": 72, "column": 4 }, "end": { - "line": 186, + "line": 181, "column": 5 } }, @@ -49788,15 +50607,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1740, - "end": 1750, + "start": 2119, + "end": 2129, "loc": { "start": { - "line": 61, + "line": 72, "column": 4 }, "end": { - "line": 61, + "line": 72, "column": 14 }, "identifierName": "initialize" @@ -49812,86 +50631,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1753, - "end": 6921, + "start": 2132, + "end": 6783, "loc": { "start": { - "line": 61, + "line": 72, "column": 17 }, "end": { - "line": 186, + "line": 181, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1795, - "end": 1897, + "start": 2174, + "end": 2276, "loc": { "start": { - "line": 63, + "line": 74, "column": 8 }, "end": { - "line": 65, + "line": 76, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 1799, - "end": 1838, + "start": 2178, + "end": 2217, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 1799, - "end": 1824, + "start": 2178, + "end": 2203, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 1799, - "end": 1810, + "start": 2178, + "end": 2189, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1799, - "end": 1803, + "start": 2178, + "end": 2182, "loc": { "start": { - "line": 63, + "line": 74, "column": 12 }, "end": { - "line": 63, + "line": 74, "column": 16 } }, @@ -49899,15 +50718,15 @@ }, "property": { "type": "Identifier", - "start": 1804, - "end": 1810, + "start": 2183, + "end": 2189, "loc": { "start": { - "line": 63, + "line": 74, "column": 17 }, "end": { - "line": 63, + "line": 74, "column": 23 }, "identifierName": "player" @@ -49919,15 +50738,15 @@ }, "property": { "type": "Identifier", - "start": 1811, - "end": 1824, + "start": 2190, + "end": 2203, "loc": { "start": { - "line": 63, + "line": 74, "column": 24 }, "end": { - "line": 63, + "line": 74, "column": 37 }, "identifierName": "bigPlayButton" @@ -49940,15 +50759,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1829, - "end": 1838, + "start": 2208, + "end": 2217, "loc": { "start": { - "line": 63, + "line": 74, "column": 42 }, "end": { - "line": 63, + "line": 74, "column": 51 }, "identifierName": "undefined" @@ -49959,115 +50778,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 1840, - "end": 1897, + "start": 2219, + "end": 2276, "loc": { "start": { - "line": 63, + "line": 74, "column": 53 }, "end": { - "line": 65, + "line": 76, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1854, - "end": 1887, + "start": 2233, + "end": 2266, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1854, - "end": 1886, + "start": 2233, + "end": 2265, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1854, - "end": 1884, + "start": 2233, + "end": 2263, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 1854, - "end": 1879, + "start": 2233, + "end": 2258, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 1854, - "end": 1865, + "start": 2233, + "end": 2244, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1854, - "end": 1858, + "start": 2233, + "end": 2237, "loc": { "start": { - "line": 64, + "line": 75, "column": 12 }, "end": { - "line": 64, + "line": 75, "column": 16 } } }, "property": { "type": "Identifier", - "start": 1859, - "end": 1865, + "start": 2238, + "end": 2244, "loc": { "start": { - "line": 64, + "line": 75, "column": 17 }, "end": { - "line": 64, + "line": 75, "column": 23 }, "identifierName": "player" @@ -50078,15 +50897,15 @@ }, "property": { "type": "Identifier", - "start": 1866, - "end": 1879, + "start": 2245, + "end": 2258, "loc": { "start": { - "line": 64, + "line": 75, "column": 24 }, "end": { - "line": 64, + "line": 75, "column": 37 }, "identifierName": "bigPlayButton" @@ -50097,15 +50916,15 @@ }, "property": { "type": "Identifier", - "start": 1880, - "end": 1884, + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 64, + "line": 75, "column": 38 }, "end": { - "line": 64, + "line": 75, "column": 42 }, "identifierName": "hide" @@ -50126,15 +50945,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 1763, - "end": 1786, + "start": 2142, + "end": 2165, "loc": { "start": { - "line": 62, + "line": 73, "column": 8 }, "end": { - "line": 62, + "line": 73, "column": 31 } } @@ -50144,15 +50963,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 1907, - "end": 1923, + "start": 2286, + "end": 2302, "loc": { "start": { - "line": 67, + "line": 78, "column": 8 }, "end": { - "line": 67, + "line": 78, "column": 24 } } @@ -50161,44 +50980,44 @@ }, { "type": "VariableDeclaration", - "start": 1932, - "end": 2011, + "start": 2311, + "end": 2390, "loc": { "start": { - "line": 68, + "line": 79, "column": 8 }, "end": { - "line": 68, + "line": 79, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1936, - "end": 2010, + "start": 2315, + "end": 2389, "loc": { "start": { - "line": 68, + "line": 79, "column": 12 }, "end": { - "line": 68, + "line": 79, "column": 86 } }, "id": { "type": "Identifier", - "start": 1936, - "end": 1949, + "start": 2315, + "end": 2328, "loc": { "start": { - "line": 68, + "line": 79, "column": 12 }, "end": { - "line": 68, + "line": 79, "column": 25 }, "identifierName": "mergedOptions" @@ -50208,58 +51027,58 @@ }, "init": { "type": "CallExpression", - "start": 1952, - "end": 2010, + "start": 2331, + "end": 2389, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 1952, - "end": 1969, + "start": 2331, + "end": 2348, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 1952, - "end": 1956, + "start": 2331, + "end": 2335, "loc": { "start": { - "line": 68, + "line": 79, "column": 28 }, "end": { - "line": 68, + "line": 79, "column": 32 } } }, "property": { "type": "Identifier", - "start": 1957, - "end": 1969, + "start": 2336, + "end": 2348, "loc": { "start": { - "line": 68, + "line": 79, "column": 33 }, "end": { - "line": 68, + "line": 79, "column": 45 }, "identifierName": "parseOptions" @@ -50271,86 +51090,86 @@ "arguments": [ { "type": "MemberExpression", - "start": 1970, - "end": 2009, + "start": 2349, + "end": 2388, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1998, + "start": 2349, + "end": 2377, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1990, + "start": 2349, + "end": 2369, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 1970, - "end": 1981, + "start": 2349, + "end": 2360, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1970, - "end": 1974, + "start": 2349, + "end": 2353, "loc": { "start": { - "line": 68, + "line": 79, "column": 46 }, "end": { - "line": 68, + "line": 79, "column": 50 } } }, "property": { "type": "Identifier", - "start": 1975, - "end": 1981, + "start": 2354, + "end": 2360, "loc": { "start": { - "line": 68, + "line": 79, "column": 51 }, "end": { - "line": 68, + "line": 79, "column": 57 }, "identifierName": "player" @@ -50361,15 +51180,15 @@ }, "property": { "type": "Identifier", - "start": 1982, - "end": 1990, + "start": 2361, + "end": 2369, "loc": { "start": { - "line": 68, + "line": 79, "column": 58 }, "end": { - "line": 68, + "line": 79, "column": 66 }, "identifierName": "options_" @@ -50380,15 +51199,15 @@ }, "property": { "type": "Identifier", - "start": 1991, - "end": 1998, + "start": 2370, + "end": 2377, "loc": { "start": { - "line": 68, + "line": 79, "column": 67 }, "end": { - "line": 68, + "line": 79, "column": 74 }, "identifierName": "plugins" @@ -50399,15 +51218,15 @@ }, "property": { "type": "Identifier", - "start": 1999, - "end": 2009, + "start": 2378, + "end": 2388, "loc": { "start": { - "line": 68, + "line": 79, "column": 75 }, "end": { - "line": 68, + "line": 79, "column": 85 }, "identifierName": "wavesurfer" @@ -50426,422 +51245,33 @@ { "type": "CommentLine", "value": " parse options", - "start": 1907, - "end": 1923, + "start": 2286, + "end": 2302, "loc": { "start": { - "line": 67, + "line": 78, "column": 8 }, "end": { - "line": 67, + "line": 78, "column": 24 } } } ], "trailingComments": [ - { - "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, - "loc": { - "start": { - "line": 70, - "column": 8 - }, - "end": { - "line": 70, - "column": 35 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 2057, - "end": 2178, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 73, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 2057, - "end": 2177, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 73, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2057, - "end": 2078, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2057, - "end": 2064, - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 15 - }, - "identifierName": "videojs" - }, - "name": "videojs", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2065, - "end": 2078, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 29 - }, - "identifierName": "setFormatTime" - }, - "name": "setFormatTime" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2079, - "end": 2176, - "loc": { - "start": { - "line": 71, - "column": 30 - }, - "end": { - "line": 73, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2080, - "end": 2087, - "loc": { - "start": { - "line": 71, - "column": 31 - }, - "end": { - "line": 71, - "column": 38 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 2089, - "end": 2094, - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 45 - }, - "identifierName": "guide" - }, - "name": "guide" - } - ], - "body": { - "type": "BlockStatement", - "start": 2099, - "end": 2176, - "loc": { - "start": { - "line": 71, - "column": 50 - }, - "end": { - "line": 73, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2113, - "end": 2166, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 65 - } - }, - "argument": { - "type": "CallExpression", - "start": 2120, - "end": 2165, - "loc": { - "start": { - "line": 72, - "column": 19 - }, - "end": { - "line": 72, - "column": 64 - } - }, - "callee": { - "type": "Identifier", - "start": 2120, - "end": 2130, - "loc": { - "start": { - "line": 72, - "column": 19 - }, - "end": { - "line": 72, - "column": 29 - }, - "identifierName": "formatTime" - }, - "name": "formatTime" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2131, - "end": 2138, - "loc": { - "start": { - "line": 72, - "column": 30 - }, - "end": { - "line": 72, - "column": 37 - }, - "identifierName": "seconds" - }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 2140, - "end": 2145, - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 44 - }, - "identifierName": "guide" - }, - "name": "guide" - }, - { - "type": "MemberExpression", - "start": 2147, - "end": 2164, - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 2147, - "end": 2151, - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 50 - } - } - }, - "property": { - "type": "Identifier", - "start": 2152, - "end": 2164, - "loc": { - "start": { - "line": 72, - "column": 51 - }, - "end": { - "line": 72, - "column": 63 - }, - "identifierName": "msDisplayMax" - }, - "name": "msDisplayMax" - }, - "computed": false - } - ] - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, - "loc": { - "start": { - "line": 70, - "column": 8 - }, - "end": { - "line": 70, - "column": 35 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, - "loc": { - "start": { - "line": 77, - "column": 8 - }, - "end": { - "line": 77, - "column": 32 - } - } - }, - { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - } - } - }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -50850,85 +51280,85 @@ }, { "type": "IfStatement", - "start": 2552, - "end": 4686, + "start": 2420, + "end": 4550, "loc": { "start": { - "line": 87, + "line": 82, "column": 8 }, "end": { - "line": 131, + "line": 126, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2556, - "end": 2594, + "start": 2424, + "end": 2462, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 2556, - "end": 2585, + "start": 2424, + "end": 2453, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2556, - "end": 2576, + "start": 2424, + "end": 2444, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2556, - "end": 2567, + "start": 2424, + "end": 2435, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2556, - "end": 2560, + "start": 2424, + "end": 2428, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 16 } }, @@ -50936,15 +51366,15 @@ }, "property": { "type": "Identifier", - "start": 2561, - "end": 2567, + "start": 2429, + "end": 2435, "loc": { "start": { - "line": 87, + "line": 82, "column": 17 }, "end": { - "line": 87, + "line": 82, "column": 23 }, "identifierName": "player" @@ -50956,15 +51386,15 @@ }, "property": { "type": "Identifier", - "start": 2568, - "end": 2576, + "start": 2436, + "end": 2444, "loc": { "start": { - "line": 87, + "line": 82, "column": 24 }, "end": { - "line": 87, + "line": 82, "column": 32 }, "identifierName": "options_" @@ -50976,15 +51406,15 @@ }, "property": { "type": "Identifier", - "start": 2577, - "end": 2585, + "start": 2445, + "end": 2453, "loc": { "start": { - "line": 87, + "line": 82, "column": 33 }, "end": { - "line": 87, + "line": 82, "column": 41 }, "identifierName": "controls" @@ -50997,15 +51427,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 2590, - "end": 2594, + "start": 2458, + "end": 2462, "loc": { "start": { - "line": 87, + "line": 82, "column": 46 }, "end": { - "line": 87, + "line": 82, "column": 50 } }, @@ -51015,100 +51445,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 2596, - "end": 4686, + "start": 2464, + "end": 4550, "loc": { "start": { - "line": 87, + "line": 82, "column": 52 }, "end": { - "line": 131, + "line": 126, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2798, - "end": 2828, + "start": 2666, + "end": 2696, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2798, - "end": 2827, + "start": 2666, + "end": 2695, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2798, - "end": 2825, + "start": 2666, + "end": 2693, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 2798, - "end": 2820, + "start": 2666, + "end": 2688, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2798, - "end": 2809, + "start": 2666, + "end": 2677, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2798, - "end": 2802, + "start": 2666, + "end": 2670, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 16 } }, @@ -51116,15 +51546,15 @@ }, "property": { "type": "Identifier", - "start": 2803, - "end": 2809, + "start": 2671, + "end": 2677, "loc": { "start": { - "line": 91, + "line": 86, "column": 17 }, "end": { - "line": 91, + "line": 86, "column": 23 }, "identifierName": "player" @@ -51136,15 +51566,15 @@ }, "property": { "type": "Identifier", - "start": 2810, - "end": 2820, + "start": 2678, + "end": 2688, "loc": { "start": { - "line": 91, + "line": 86, "column": 24 }, "end": { - "line": 91, + "line": 86, "column": 34 }, "identifierName": "controlBar" @@ -51156,15 +51586,15 @@ }, "property": { "type": "Identifier", - "start": 2821, - "end": 2825, + "start": 2689, + "end": 2693, "loc": { "start": { - "line": 91, + "line": 86, "column": 35 }, "end": { - "line": 91, + "line": 86, "column": 39 }, "identifierName": "show" @@ -51181,15 +51611,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2610, - "end": 2645, + "start": 2478, + "end": 2513, "loc": { "start": { - "line": 88, + "line": 83, "column": 12 }, "end": { - "line": 88, + "line": 83, "column": 47 } } @@ -51197,15 +51627,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2658, - "end": 2720, + "start": 2526, + "end": 2588, "loc": { "start": { - "line": 89, + "line": 84, "column": 12 }, "end": { - "line": 89, + "line": 84, "column": 74 } } @@ -51213,15 +51643,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2733, - "end": 2785, + "start": 2601, + "end": 2653, "loc": { "start": { - "line": 90, + "line": 85, "column": 12 }, "end": { - "line": 90, + "line": 85, "column": 64 } } @@ -51230,129 +51660,129 @@ }, { "type": "ExpressionStatement", - "start": 2841, - "end": 2891, + "start": 2709, + "end": 2759, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 2841, - "end": 2890, + "start": 2709, + "end": 2758, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2841, - "end": 2881, + "start": 2709, + "end": 2749, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2873, + "start": 2709, + "end": 2741, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2867, + "start": 2709, + "end": 2735, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2863, + "start": 2709, + "end": 2731, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2841, - "end": 2852, + "start": 2709, + "end": 2720, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2841, - "end": 2845, + "start": 2709, + "end": 2713, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2846, - "end": 2852, + "start": 2714, + "end": 2720, "loc": { "start": { - "line": 92, + "line": 87, "column": 17 }, "end": { - "line": 92, + "line": 87, "column": 23 }, "identifierName": "player" @@ -51363,15 +51793,15 @@ }, "property": { "type": "Identifier", - "start": 2853, - "end": 2863, + "start": 2721, + "end": 2731, "loc": { "start": { - "line": 92, + "line": 87, "column": 24 }, "end": { - "line": 92, + "line": 87, "column": 34 }, "identifierName": "controlBar" @@ -51382,15 +51812,15 @@ }, "property": { "type": "Identifier", - "start": 2864, - "end": 2867, + "start": 2732, + "end": 2735, "loc": { "start": { - "line": 92, + "line": 87, "column": 35 }, "end": { - "line": 92, + "line": 87, "column": 38 }, "identifierName": "el_" @@ -51401,15 +51831,15 @@ }, "property": { "type": "Identifier", - "start": 2868, - "end": 2873, + "start": 2736, + "end": 2741, "loc": { "start": { - "line": 92, + "line": 87, "column": 39 }, "end": { - "line": 92, + "line": 87, "column": 44 }, "identifierName": "style" @@ -51420,15 +51850,15 @@ }, "property": { "type": "Identifier", - "start": 2874, - "end": 2881, + "start": 2742, + "end": 2749, "loc": { "start": { - "line": 92, + "line": 87, "column": 45 }, "end": { - "line": 92, + "line": 87, "column": 52 }, "identifierName": "display" @@ -51439,15 +51869,15 @@ }, "right": { "type": "StringLiteral", - "start": 2884, - "end": 2890, + "start": 2752, + "end": 2758, "loc": { "start": { - "line": 92, + "line": 87, "column": 55 }, "end": { - "line": 92, + "line": 87, "column": 61 } }, @@ -51462,15 +51892,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -51479,71 +51909,71 @@ }, { "type": "IfStatement", - "start": 2985, - "end": 3168, + "start": 2853, + "end": 3034, "loc": { "start": { - "line": 95, + "line": 90, "column": 12 }, "end": { - "line": 98, + "line": 93, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 2989, - "end": 3088, + "start": 2857, + "end": 2954, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 2989, - "end": 3016, + "start": 2857, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, - "column": 43 + "line": 90, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2989, - "end": 3001, + "start": 2857, + "end": 2869, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, + "line": 90, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2989, - "end": 2993, + "start": 2857, + "end": 2861, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, + "line": 90, "column": 20 } }, @@ -51551,15 +51981,15 @@ }, "property": { "type": "Identifier", - "start": 2994, - "end": 3001, + "start": 2862, + "end": 2869, "loc": { "start": { - "line": 95, + "line": 90, "column": 21 }, "end": { - "line": 95, + "line": 90, "column": 28 }, "identifierName": "backend" @@ -51571,110 +52001,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 3006, - "end": 3016, + "type": "Identifier", + "start": 2874, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 90, "column": 33 }, "end": { - "line": 95, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 90, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" }, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 3036, - "end": 3088, + "start": 2902, + "end": 2954, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 3036, - "end": 3074, + "start": 2902, + "end": 2940, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 3036, - "end": 3058, + "start": 2902, + "end": 2924, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3036, - "end": 3047, + "start": 2902, + "end": 2913, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3036, - "end": 3040, + "start": 2902, + "end": 2906, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3041, - "end": 3047, + "start": 2907, + "end": 2913, "loc": { "start": { - "line": 96, + "line": 91, "column": 21 }, "end": { - "line": 96, + "line": 91, "column": 27 }, "identifierName": "player" @@ -51685,15 +52112,15 @@ }, "property": { "type": "Identifier", - "start": 3048, - "end": 3058, + "start": 2914, + "end": 2924, "loc": { "start": { - "line": 96, + "line": 91, "column": 28 }, "end": { - "line": 96, + "line": 91, "column": 38 }, "identifierName": "controlBar" @@ -51704,15 +52131,15 @@ }, "property": { "type": "Identifier", - "start": 3059, - "end": 3074, + "start": 2925, + "end": 2940, "loc": { "start": { - "line": 96, + "line": 91, "column": 39 }, "end": { - "line": 96, + "line": 91, "column": 54 }, "identifierName": "progressControl" @@ -51724,15 +52151,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3079, - "end": 3088, + "start": 2945, + "end": 2954, "loc": { "start": { - "line": 96, + "line": 91, "column": 59 }, "end": { - "line": 96, + "line": 91, "column": 68 }, "identifierName": "undefined" @@ -51744,129 +52171,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3090, - "end": 3168, + "start": 2956, + "end": 3034, "loc": { "start": { - "line": 96, + "line": 91, "column": 70 }, "end": { - "line": 98, + "line": 93, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3108, - "end": 3154, + "start": 2974, + "end": 3020, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 3108, - "end": 3153, + "start": 2974, + "end": 3019, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 3108, - "end": 3151, + "start": 2974, + "end": 3017, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3146, + "start": 2974, + "end": 3012, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3130, + "start": 2974, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3108, - "end": 3119, + "start": 2974, + "end": 2985, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3108, - "end": 3112, + "start": 2974, + "end": 2978, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3113, - "end": 3119, + "start": 2979, + "end": 2985, "loc": { "start": { - "line": 97, + "line": 92, "column": 21 }, "end": { - "line": 97, + "line": 92, "column": 27 }, "identifierName": "player" @@ -51877,15 +52304,15 @@ }, "property": { "type": "Identifier", - "start": 3120, - "end": 3130, + "start": 2986, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 92, "column": 28 }, "end": { - "line": 97, + "line": 92, "column": 38 }, "identifierName": "controlBar" @@ -51896,15 +52323,15 @@ }, "property": { "type": "Identifier", - "start": 3131, - "end": 3146, + "start": 2997, + "end": 3012, "loc": { "start": { - "line": 97, + "line": 92, "column": 39 }, "end": { - "line": 97, + "line": 92, "column": 54 }, "identifierName": "progressControl" @@ -51915,15 +52342,15 @@ }, "property": { "type": "Identifier", - "start": 3147, - "end": 3151, + "start": 3013, + "end": 3017, "loc": { "start": { - "line": 97, + "line": 92, "column": 55 }, "end": { - "line": 97, + "line": 92, "column": 59 }, "identifierName": "hide" @@ -51944,15 +52371,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -51962,15 +52389,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -51978,15 +52405,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -51994,15 +52421,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -52011,85 +52438,85 @@ }, { "type": "IfStatement", - "start": 3423, - "end": 3573, + "start": 3289, + "end": 3439, "loc": { "start": { - "line": 103, + "line": 98, "column": 12 }, "end": { - "line": 105, + "line": 100, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3427, - "end": 3486, + "start": 3293, + "end": 3352, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 75 } }, "left": { "type": "MemberExpression", - "start": 3427, - "end": 3472, + "start": 3293, + "end": 3338, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3427, - "end": 3449, + "start": 3293, + "end": 3315, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3427, - "end": 3438, + "start": 3293, + "end": 3304, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3427, - "end": 3431, + "start": 3293, + "end": 3297, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 20 } }, @@ -52097,15 +52524,15 @@ }, "property": { "type": "Identifier", - "start": 3432, - "end": 3438, + "start": 3298, + "end": 3304, "loc": { "start": { - "line": 103, + "line": 98, "column": 21 }, "end": { - "line": 103, + "line": 98, "column": 27 }, "identifierName": "player" @@ -52117,15 +52544,15 @@ }, "property": { "type": "Identifier", - "start": 3439, - "end": 3449, + "start": 3305, + "end": 3315, "loc": { "start": { - "line": 103, + "line": 98, "column": 28 }, "end": { - "line": 103, + "line": 98, "column": 38 }, "identifierName": "controlBar" @@ -52137,15 +52564,15 @@ }, "property": { "type": "Identifier", - "start": 3450, - "end": 3472, + "start": 3316, + "end": 3338, "loc": { "start": { - "line": 103, + "line": 98, "column": 39 }, "end": { - "line": 103, + "line": 98, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -52158,15 +52585,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3477, - "end": 3486, + "start": 3343, + "end": 3352, "loc": { "start": { - "line": 103, + "line": 98, "column": 66 }, "end": { - "line": 103, + "line": 98, "column": 75 }, "identifierName": "undefined" @@ -52177,129 +52604,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3488, - "end": 3573, + "start": 3354, + "end": 3439, "loc": { "start": { - "line": 103, + "line": 98, "column": 77 }, "end": { - "line": 105, + "line": 100, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3506, - "end": 3559, + "start": 3372, + "end": 3425, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 69 } }, "expression": { "type": "CallExpression", - "start": 3506, - "end": 3558, + "start": 3372, + "end": 3424, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 3506, - "end": 3556, + "start": 3372, + "end": 3422, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3551, + "start": 3372, + "end": 3417, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3528, + "start": 3372, + "end": 3394, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3506, - "end": 3517, + "start": 3372, + "end": 3383, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3506, - "end": 3510, + "start": 3372, + "end": 3376, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3511, - "end": 3517, + "start": 3377, + "end": 3383, "loc": { "start": { - "line": 104, + "line": 99, "column": 21 }, "end": { - "line": 104, + "line": 99, "column": 27 }, "identifierName": "player" @@ -52310,15 +52737,15 @@ }, "property": { "type": "Identifier", - "start": 3518, - "end": 3528, + "start": 3384, + "end": 3394, "loc": { "start": { - "line": 104, + "line": 99, "column": 28 }, "end": { - "line": 104, + "line": 99, "column": 38 }, "identifierName": "controlBar" @@ -52329,15 +52756,15 @@ }, "property": { "type": "Identifier", - "start": 3529, - "end": 3551, + "start": 3395, + "end": 3417, "loc": { "start": { - "line": 104, + "line": 99, "column": 39 }, "end": { - "line": 104, + "line": 99, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -52348,15 +52775,15 @@ }, "property": { "type": "Identifier", - "start": 3552, - "end": 3556, + "start": 3418, + "end": 3422, "loc": { "start": { - "line": 104, + "line": 99, "column": 62 }, "end": { - "line": 104, + "line": 99, "column": 66 }, "identifierName": "hide" @@ -52377,15 +52804,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -52393,15 +52820,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -52409,15 +52836,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -52427,15 +52854,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -52444,44 +52871,44 @@ }, { "type": "VariableDeclaration", - "start": 3638, - "end": 3712, + "start": 3504, + "end": 3578, "loc": { "start": { - "line": 108, + "line": 103, "column": 12 }, "end": { - "line": 108, + "line": 103, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3642, - "end": 3711, + "start": 3508, + "end": 3577, "loc": { "start": { - "line": 108, + "line": 103, "column": 16 }, "end": { - "line": 108, + "line": 103, "column": 85 } }, "id": { "type": "Identifier", - "start": 3642, - "end": 3652, + "start": 3508, + "end": 3518, "loc": { "start": { - "line": 108, + "line": 103, "column": 16 }, "end": { - "line": 108, + "line": 103, "column": 26 }, "identifierName": "uiElements" @@ -52491,30 +52918,30 @@ }, "init": { "type": "ArrayExpression", - "start": 3655, - "end": 3711, + "start": 3521, + "end": 3577, "loc": { "start": { - "line": 108, + "line": 103, "column": 29 }, "end": { - "line": 108, + "line": 103, "column": 85 } }, "elements": [ { "type": "StringLiteral", - "start": 3656, - "end": 3676, + "start": 3522, + "end": 3542, "loc": { "start": { - "line": 108, + "line": 103, "column": 30 }, "end": { - "line": 108, + "line": 103, "column": 50 } }, @@ -52526,15 +52953,15 @@ }, { "type": "StringLiteral", - "start": 3678, - "end": 3691, + "start": 3544, + "end": 3557, "loc": { "start": { - "line": 108, + "line": 103, "column": 52 }, "end": { - "line": 108, + "line": 103, "column": 65 } }, @@ -52546,15 +52973,15 @@ }, { "type": "StringLiteral", - "start": 3693, - "end": 3710, + "start": 3559, + "end": 3576, "loc": { "start": { - "line": 108, + "line": 103, "column": 67 }, "end": { - "line": 108, + "line": 103, "column": 84 } }, @@ -52574,15 +53001,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -52591,57 +53018,57 @@ }, { "type": "ExpressionStatement", - "start": 3725, - "end": 4094, + "start": 3591, + "end": 3960, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 117, + "line": 112, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 3725, - "end": 4093, + "start": 3591, + "end": 3959, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 117, + "line": 112, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 3725, - "end": 3743, + "start": 3591, + "end": 3609, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 109, + "line": 104, "column": 30 } }, "object": { "type": "Identifier", - "start": 3725, - "end": 3735, + "start": 3591, + "end": 3601, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 109, + "line": 104, "column": 22 }, "identifierName": "uiElements" @@ -52650,15 +53077,15 @@ }, "property": { "type": "Identifier", - "start": 3736, - "end": 3743, + "start": 3602, + "end": 3609, "loc": { "start": { - "line": 109, + "line": 104, "column": 23 }, "end": { - "line": 109, + "line": 104, "column": 30 }, "identifierName": "forEach" @@ -52670,15 +53097,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3744, - "end": 4092, + "start": 3610, + "end": 3958, "loc": { "start": { - "line": 109, + "line": 104, "column": 31 }, "end": { - "line": 117, + "line": 112, "column": 13 } }, @@ -52689,15 +53116,15 @@ "params": [ { "type": "Identifier", - "start": 3745, - "end": 3752, + "start": 3611, + "end": 3618, "loc": { "start": { - "line": 109, + "line": 104, "column": 32 }, "end": { - "line": 109, + "line": 104, "column": 39 }, "identifierName": "element" @@ -52707,59 +53134,59 @@ ], "body": { "type": "BlockStatement", - "start": 3757, - "end": 4092, + "start": 3623, + "end": 3958, "loc": { "start": { - "line": 109, + "line": 104, "column": 44 }, "end": { - "line": 117, + "line": 112, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3880, - "end": 3922, + "start": 3746, + "end": 3788, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 3880, - "end": 3921, + "start": 3746, + "end": 3787, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3880, - "end": 3887, + "start": 3746, + "end": 3753, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 23 }, "identifierName": "element" @@ -52769,72 +53196,72 @@ }, "right": { "type": "MemberExpression", - "start": 3890, - "end": 3921, + "start": 3756, + "end": 3787, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 3890, - "end": 3912, + "start": 3756, + "end": 3778, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 3890, - "end": 3901, + "start": 3756, + "end": 3767, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 3890, - "end": 3894, + "start": 3756, + "end": 3760, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 30 } } }, "property": { "type": "Identifier", - "start": 3895, - "end": 3901, + "start": 3761, + "end": 3767, "loc": { "start": { - "line": 112, + "line": 107, "column": 31 }, "end": { - "line": 112, + "line": 107, "column": 37 }, "identifierName": "player" @@ -52845,15 +53272,15 @@ }, "property": { "type": "Identifier", - "start": 3902, - "end": 3912, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 112, + "line": 107, "column": 38 }, "end": { - "line": 112, + "line": 107, "column": 48 }, "identifierName": "controlBar" @@ -52864,15 +53291,15 @@ }, "property": { "type": "Identifier", - "start": 3913, - "end": 3920, + "start": 3779, + "end": 3786, "loc": { "start": { - "line": 112, + "line": 107, "column": 49 }, "end": { - "line": 112, + "line": 107, "column": 56 }, "identifierName": "element" @@ -52887,15 +53314,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3775, - "end": 3836, + "start": 3641, + "end": 3702, "loc": { "start": { - "line": 110, + "line": 105, "column": 16 }, "end": { - "line": 110, + "line": 105, "column": 77 } } @@ -52903,15 +53330,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3853, - "end": 3863, + "start": 3719, + "end": 3729, "loc": { "start": { - "line": 111, + "line": 106, "column": 16 }, "end": { - "line": 111, + "line": 106, "column": 26 } } @@ -52920,43 +53347,43 @@ }, { "type": "IfStatement", - "start": 3939, - "end": 4078, + "start": 3805, + "end": 3944, "loc": { "start": { - "line": 113, + "line": 108, "column": 16 }, "end": { - "line": 116, + "line": 111, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 3943, - "end": 3964, + "start": 3809, + "end": 3830, "loc": { "start": { - "line": 113, + "line": 108, "column": 20 }, "end": { - "line": 113, + "line": 108, "column": 41 } }, "left": { "type": "Identifier", - "start": 3943, - "end": 3950, + "start": 3809, + "end": 3816, "loc": { "start": { - "line": 113, + "line": 108, "column": 20 }, "end": { - "line": 113, + "line": 108, "column": 27 }, "identifierName": "element" @@ -52966,15 +53393,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3955, - "end": 3964, + "start": 3821, + "end": 3830, "loc": { "start": { - "line": 113, + "line": 108, "column": 32 }, "end": { - "line": 113, + "line": 108, "column": 41 }, "identifierName": "undefined" @@ -52984,101 +53411,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 3966, - "end": 4078, + "start": 3832, + "end": 3944, "loc": { "start": { - "line": 113, + "line": 108, "column": 43 }, "end": { - "line": 116, + "line": 111, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 3988, - "end": 4024, + "start": 3854, + "end": 3890, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 3988, - "end": 4023, + "start": 3854, + "end": 3889, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3988, - "end": 4013, + "start": 3854, + "end": 3879, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3988, - "end": 4005, + "start": 3854, + "end": 3871, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 3988, - "end": 3999, + "start": 3854, + "end": 3865, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 31 } }, "object": { "type": "Identifier", - "start": 3988, - "end": 3995, + "start": 3854, + "end": 3861, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 27 }, "identifierName": "element" @@ -53087,15 +53514,15 @@ }, "property": { "type": "Identifier", - "start": 3996, - "end": 3999, + "start": 3862, + "end": 3865, "loc": { "start": { - "line": 114, + "line": 109, "column": 28 }, "end": { - "line": 114, + "line": 109, "column": 31 }, "identifierName": "el_" @@ -53106,15 +53533,15 @@ }, "property": { "type": "Identifier", - "start": 4000, - "end": 4005, + "start": 3866, + "end": 3871, "loc": { "start": { - "line": 114, + "line": 109, "column": 32 }, "end": { - "line": 114, + "line": 109, "column": 37 }, "identifierName": "style" @@ -53125,15 +53552,15 @@ }, "property": { "type": "Identifier", - "start": 4006, - "end": 4013, + "start": 3872, + "end": 3879, "loc": { "start": { - "line": 114, + "line": 109, "column": 38 }, "end": { - "line": 114, + "line": 109, "column": 45 }, "identifierName": "display" @@ -53144,15 +53571,15 @@ }, "right": { "type": "StringLiteral", - "start": 4016, - "end": 4023, + "start": 3882, + "end": 3889, "loc": { "start": { - "line": 114, + "line": 109, "column": 48 }, "end": { - "line": 114, + "line": 109, "column": 55 } }, @@ -53166,57 +53593,57 @@ }, { "type": "ExpressionStatement", - "start": 4045, - "end": 4060, + "start": 3911, + "end": 3926, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 4045, - "end": 4059, + "start": 3911, + "end": 3925, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 4045, - "end": 4057, + "start": 3911, + "end": 3923, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 32 } }, "object": { "type": "Identifier", - "start": 4045, - "end": 4052, + "start": 3911, + "end": 3918, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 27 }, "identifierName": "element" @@ -53225,15 +53652,15 @@ }, "property": { "type": "Identifier", - "start": 4053, - "end": 4057, + "start": 3919, + "end": 3923, "loc": { "start": { - "line": 115, + "line": 110, "column": 28 }, "end": { - "line": 115, + "line": 110, "column": 32 }, "identifierName": "show" @@ -53259,100 +53686,100 @@ }, { "type": "IfStatement", - "start": 4107, - "end": 4253, + "start": 3973, + "end": 4119, "loc": { "start": { - "line": 118, + "line": 113, "column": 12 }, "end": { - "line": 120, + "line": 115, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4111, - "end": 4168, + "start": 3977, + "end": 4034, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 4111, - "end": 4154, + "start": 3977, + "end": 4020, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4111, - "end": 4133, + "start": 3977, + "end": 3999, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4111, - "end": 4122, + "start": 3977, + "end": 3988, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4111, - "end": 4115, + "start": 3977, + "end": 3981, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4116, - "end": 4122, + "start": 3982, + "end": 3988, "loc": { "start": { - "line": 118, + "line": 113, "column": 21 }, "end": { - "line": 118, + "line": 113, "column": 27 }, "identifierName": "player" @@ -53363,15 +53790,15 @@ }, "property": { "type": "Identifier", - "start": 4123, - "end": 4133, + "start": 3989, + "end": 3999, "loc": { "start": { - "line": 118, + "line": 113, "column": 28 }, "end": { - "line": 118, + "line": 113, "column": 38 }, "identifierName": "controlBar" @@ -53382,15 +53809,15 @@ }, "property": { "type": "Identifier", - "start": 4134, - "end": 4154, + "start": 4000, + "end": 4020, "loc": { "start": { - "line": 118, + "line": 113, "column": 39 }, "end": { - "line": 118, + "line": 113, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -53402,15 +53829,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4159, - "end": 4168, + "start": 4025, + "end": 4034, "loc": { "start": { - "line": 118, + "line": 113, "column": 64 }, "end": { - "line": 118, + "line": 113, "column": 73 }, "identifierName": "undefined" @@ -53420,129 +53847,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 4170, - "end": 4253, + "start": 4036, + "end": 4119, "loc": { "start": { - "line": 118, + "line": 113, "column": 75 }, "end": { - "line": 120, + "line": 115, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4188, - "end": 4239, + "start": 4054, + "end": 4105, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4188, - "end": 4238, + "start": 4054, + "end": 4104, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4188, - "end": 4236, + "start": 4054, + "end": 4102, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4231, + "start": 4054, + "end": 4097, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4210, + "start": 4054, + "end": 4076, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4188, - "end": 4199, + "start": 4054, + "end": 4065, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4188, - "end": 4192, + "start": 4054, + "end": 4058, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4193, - "end": 4199, + "start": 4059, + "end": 4065, "loc": { "start": { - "line": 119, + "line": 114, "column": 21 }, "end": { - "line": 119, + "line": 114, "column": 27 }, "identifierName": "player" @@ -53553,15 +53980,15 @@ }, "property": { "type": "Identifier", - "start": 4200, - "end": 4210, + "start": 4066, + "end": 4076, "loc": { "start": { - "line": 119, + "line": 114, "column": 28 }, "end": { - "line": 119, + "line": 114, "column": 38 }, "identifierName": "controlBar" @@ -53572,15 +53999,15 @@ }, "property": { "type": "Identifier", - "start": 4211, - "end": 4231, + "start": 4077, + "end": 4097, "loc": { "start": { - "line": 119, + "line": 114, "column": 39 }, "end": { - "line": 119, + "line": 114, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -53591,15 +54018,15 @@ }, "property": { "type": "Identifier", - "start": 4232, - "end": 4236, + "start": 4098, + "end": 4102, "loc": { "start": { - "line": 119, + "line": 114, "column": 60 }, "end": { - "line": 119, + "line": 114, "column": 64 }, "identifierName": "hide" @@ -53618,86 +54045,86 @@ }, { "type": "IfStatement", - "start": 4267, - "end": 4676, + "start": 4133, + "end": 4540, "loc": { "start": { - "line": 122, + "line": 117, "column": 12 }, "end": { - "line": 130, + "line": 125, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 4271, - "end": 4365, + "start": 4137, + "end": 4229, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 4271, - "end": 4298, + "start": 4137, + "end": 4162, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, - "column": 43 + "line": 117, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 4271, - "end": 4283, + "start": 4137, + "end": 4149, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, + "line": 117, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4271, - "end": 4275, + "start": 4137, + "end": 4141, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, + "line": 117, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4276, - "end": 4283, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 122, + "line": 117, "column": 21 }, "end": { - "line": 122, + "line": 117, "column": 28 }, "identifierName": "backend" @@ -53708,109 +54135,106 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 4288, - "end": 4298, + "type": "Identifier", + "start": 4154, + "end": 4162, "loc": { "start": { - "line": 122, + "line": 117, "column": 33 }, "end": { - "line": 122, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 117, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4318, - "end": 4365, + "start": 4182, + "end": 4229, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 4318, - "end": 4351, + "start": 4182, + "end": 4215, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4318, - "end": 4340, + "start": 4182, + "end": 4204, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4318, - "end": 4329, + "start": 4182, + "end": 4193, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4318, - "end": 4322, + "start": 4182, + "end": 4186, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4323, - "end": 4329, + "start": 4187, + "end": 4193, "loc": { "start": { - "line": 123, + "line": 118, "column": 21 }, "end": { - "line": 123, + "line": 118, "column": 27 }, "identifierName": "player" @@ -53821,15 +54245,15 @@ }, "property": { "type": "Identifier", - "start": 4330, - "end": 4340, + "start": 4194, + "end": 4204, "loc": { "start": { - "line": 123, + "line": 118, "column": 28 }, "end": { - "line": 123, + "line": 118, "column": 38 }, "identifierName": "controlBar" @@ -53840,15 +54264,15 @@ }, "property": { "type": "Identifier", - "start": 4341, - "end": 4351, + "start": 4205, + "end": 4215, "loc": { "start": { - "line": 123, + "line": 118, "column": 39 }, "end": { - "line": 123, + "line": 118, "column": 49 }, "identifierName": "playToggle" @@ -53860,15 +54284,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4356, - "end": 4365, + "start": 4220, + "end": 4229, "loc": { "start": { - "line": 123, + "line": 118, "column": 54 }, "end": { - "line": 123, + "line": 118, "column": 63 }, "identifierName": "undefined" @@ -53879,114 +54303,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 4367, - "end": 4676, + "start": 4231, + "end": 4540, "loc": { "start": { - "line": 123, + "line": 118, "column": 65 }, "end": { - "line": 130, + "line": 125, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4435, - "end": 4540, + "start": 4299, + "end": 4404, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 126, + "line": 121, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 4435, - "end": 4539, + "start": 4299, + "end": 4403, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 126, + "line": 121, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4435, - "end": 4471, + "start": 4299, + "end": 4335, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4468, + "start": 4299, + "end": 4332, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4457, + "start": 4299, + "end": 4321, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4435, - "end": 4446, + "start": 4299, + "end": 4310, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4435, - "end": 4439, + "start": 4299, + "end": 4303, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 20 } }, @@ -53994,15 +54418,15 @@ }, "property": { "type": "Identifier", - "start": 4440, - "end": 4446, + "start": 4304, + "end": 4310, "loc": { "start": { - "line": 125, + "line": 120, "column": 21 }, "end": { - "line": 125, + "line": 120, "column": 27 }, "identifierName": "player" @@ -54014,15 +54438,15 @@ }, "property": { "type": "Identifier", - "start": 4447, - "end": 4457, + "start": 4311, + "end": 4321, "loc": { "start": { - "line": 125, + "line": 120, "column": 28 }, "end": { - "line": 125, + "line": 120, "column": 38 }, "identifierName": "controlBar" @@ -54034,15 +54458,15 @@ }, "property": { "type": "Identifier", - "start": 4458, - "end": 4468, + "start": 4322, + "end": 4332, "loc": { "start": { - "line": 125, + "line": 120, "column": 39 }, "end": { - "line": 125, + "line": 120, "column": 49 }, "identifierName": "playToggle" @@ -54054,15 +54478,15 @@ }, "property": { "type": "Identifier", - "start": 4469, - "end": 4471, + "start": 4333, + "end": 4335, "loc": { "start": { - "line": 125, + "line": 120, "column": 50 }, "end": { - "line": 125, + "line": 120, "column": 52 }, "identifierName": "on" @@ -54075,30 +54499,30 @@ "arguments": [ { "type": "ArrayExpression", - "start": 4472, - "end": 4488, + "start": 4336, + "end": 4352, "loc": { "start": { - "line": 125, + "line": 120, "column": 53 }, "end": { - "line": 125, + "line": 120, "column": 69 } }, "elements": [ { "type": "StringLiteral", - "start": 4473, - "end": 4478, + "start": 4337, + "end": 4342, "loc": { "start": { - "line": 125, + "line": 120, "column": 54 }, "end": { - "line": 125, + "line": 120, "column": 59 } }, @@ -54110,15 +54534,15 @@ }, { "type": "StringLiteral", - "start": 4480, - "end": 4487, + "start": 4344, + "end": 4351, "loc": { "start": { - "line": 125, + "line": 120, "column": 61 }, "end": { - "line": 125, + "line": 120, "column": 68 } }, @@ -54132,72 +54556,72 @@ }, { "type": "CallExpression", - "start": 4510, - "end": 4538, + "start": 4374, + "end": 4402, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4510, - "end": 4532, + "start": 4374, + "end": 4396, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4510, - "end": 4527, + "start": 4374, + "end": 4391, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4510, - "end": 4514, + "start": 4374, + "end": 4378, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4515, - "end": 4527, + "start": 4379, + "end": 4391, "loc": { "start": { - "line": 126, + "line": 121, "column": 25 }, "end": { - "line": 126, + "line": 121, "column": 37 }, "identifierName": "onPlayToggle" @@ -54208,15 +54632,15 @@ }, "property": { "type": "Identifier", - "start": 4528, - "end": 4532, + "start": 4392, + "end": 4396, "loc": { "start": { - "line": 126, + "line": 121, "column": 38 }, "end": { - "line": 126, + "line": 121, "column": 42 }, "identifierName": "bind" @@ -54228,15 +54652,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4533, - "end": 4537, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 126, + "line": 121, "column": 43 }, "end": { - "line": 126, + "line": 121, "column": 47 } } @@ -54250,15 +54674,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4385, - "end": 4418, + "start": 4249, + "end": 4282, "loc": { "start": { - "line": 124, + "line": 119, "column": 16 }, "end": { - "line": 124, + "line": 119, "column": 49 } } @@ -54268,15 +54692,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -54285,99 +54709,99 @@ }, { "type": "ExpressionStatement", - "start": 4621, - "end": 4662, + "start": 4485, + "end": 4526, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 4621, - "end": 4661, + "start": 4485, + "end": 4525, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4621, - "end": 4659, + "start": 4485, + "end": 4523, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4654, + "start": 4485, + "end": 4518, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4643, + "start": 4485, + "end": 4507, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4621, - "end": 4632, + "start": 4485, + "end": 4496, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4621, - "end": 4625, + "start": 4485, + "end": 4489, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 20 } }, @@ -54385,15 +54809,15 @@ }, "property": { "type": "Identifier", - "start": 4626, - "end": 4632, + "start": 4490, + "end": 4496, "loc": { "start": { - "line": 129, + "line": 124, "column": 21 }, "end": { - "line": 129, + "line": 124, "column": 27 }, "identifierName": "player" @@ -54405,15 +54829,15 @@ }, "property": { "type": "Identifier", - "start": 4633, - "end": 4643, + "start": 4497, + "end": 4507, "loc": { "start": { - "line": 129, + "line": 124, "column": 28 }, "end": { - "line": 129, + "line": 124, "column": 38 }, "identifierName": "controlBar" @@ -54425,15 +54849,15 @@ }, "property": { "type": "Identifier", - "start": 4644, - "end": 4654, + "start": 4508, + "end": 4518, "loc": { "start": { - "line": 129, + "line": 124, "column": 39 }, "end": { - "line": 129, + "line": 124, "column": 49 }, "identifierName": "playToggle" @@ -54445,15 +54869,15 @@ }, "property": { "type": "Identifier", - "start": 4655, - "end": 4659, + "start": 4519, + "end": 4523, "loc": { "start": { - "line": 129, + "line": 124, "column": 50 }, "end": { - "line": 129, + "line": 124, "column": 54 }, "identifierName": "hide" @@ -54470,15 +54894,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -54496,82 +54920,18 @@ }, "alternate": null, "leadingComments": [ - { - "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, - "loc": { - "start": { - "line": 77, - "column": 8 - }, - "end": { - "line": 77, - "column": 32 - } - } - }, - { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - } - } - }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -54581,15 +54941,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -54598,58 +54958,58 @@ }, { "type": "ExpressionStatement", - "start": 4727, - "end": 4774, + "start": 4591, + "end": 4638, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4727, - "end": 4773, + "start": 4591, + "end": 4637, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4727, - "end": 4738, + "start": 4591, + "end": 4602, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4727, - "end": 4731, + "start": 4591, + "end": 4595, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 12 } }, @@ -54657,15 +55017,15 @@ }, "property": { "type": "Identifier", - "start": 4732, - "end": 4738, + "start": 4596, + "end": 4602, "loc": { "start": { - "line": 134, + "line": 129, "column": 13 }, "end": { - "line": 134, + "line": 129, "column": 19 }, "identifierName": "surfer" @@ -54677,43 +55037,43 @@ }, "right": { "type": "CallExpression", - "start": 4741, - "end": 4773, + "start": 4605, + "end": 4637, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4741, - "end": 4758, + "start": 4605, + "end": 4622, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 39 } }, "object": { "type": "Identifier", - "start": 4741, - "end": 4751, + "start": 4605, + "end": 4615, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 32 }, "identifierName": "WaveSurfer" @@ -54722,15 +55082,15 @@ }, "property": { "type": "Identifier", - "start": 4752, - "end": 4758, + "start": 4616, + "end": 4622, "loc": { "start": { - "line": 134, + "line": 129, "column": 33 }, "end": { - "line": 134, + "line": 129, "column": 39 }, "identifierName": "create" @@ -54742,15 +55102,15 @@ "arguments": [ { "type": "Identifier", - "start": 4759, - "end": 4772, + "start": 4623, + "end": 4636, "loc": { "start": { - "line": 134, + "line": 129, "column": 40 }, "end": { - "line": 134, + "line": 129, "column": 53 }, "identifierName": "mergedOptions" @@ -54765,15 +55125,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -54782,86 +55142,86 @@ }, { "type": "ExpressionStatement", - "start": 4783, - "end": 4840, + "start": 4647, + "end": 4704, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 4783, - "end": 4839, + "start": 4647, + "end": 4703, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4783, - "end": 4797, + "start": 4647, + "end": 4661, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4783, - "end": 4794, + "start": 4647, + "end": 4658, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4783, - "end": 4787, + "start": 4647, + "end": 4651, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4788, - "end": 4794, + "start": 4652, + "end": 4658, "loc": { "start": { - "line": 135, + "line": 130, "column": 13 }, "end": { - "line": 135, + "line": 130, "column": 19 }, "identifierName": "surfer" @@ -54872,15 +55232,15 @@ }, "property": { "type": "Identifier", - "start": 4795, - "end": 4797, + "start": 4659, + "end": 4661, "loc": { "start": { - "line": 135, + "line": 130, "column": 20 }, "end": { - "line": 135, + "line": 130, "column": 22 }, "identifierName": "on" @@ -54892,29 +55252,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4798, - "end": 4809, + "start": 4662, + "end": 4673, "loc": { "start": { - "line": 135, + "line": 130, "column": 23 }, "end": { - "line": 135, + "line": 130, "column": 34 } }, "object": { "type": "Identifier", - "start": 4798, - "end": 4803, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 135, + "line": 130, "column": 23 }, "end": { - "line": 135, + "line": 130, "column": 28 }, "identifierName": "Event" @@ -54923,15 +55283,15 @@ }, "property": { "type": "Identifier", - "start": 4804, - "end": 4809, + "start": 4668, + "end": 4673, "loc": { "start": { - "line": 135, + "line": 130, "column": 29 }, "end": { - "line": 135, + "line": 130, "column": 34 }, "identifierName": "ERROR" @@ -54942,72 +55302,72 @@ }, { "type": "CallExpression", - "start": 4811, - "end": 4838, + "start": 4675, + "end": 4702, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 4811, - "end": 4832, + "start": 4675, + "end": 4696, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 4811, - "end": 4827, + "start": 4675, + "end": 4691, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 4811, - "end": 4815, + "start": 4675, + "end": 4679, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 40 } } }, "property": { "type": "Identifier", - "start": 4816, - "end": 4827, + "start": 4680, + "end": 4691, "loc": { "start": { - "line": 135, + "line": 130, "column": 41 }, "end": { - "line": 135, + "line": 130, "column": 52 }, "identifierName": "onWaveError" @@ -55018,15 +55378,15 @@ }, "property": { "type": "Identifier", - "start": 4828, - "end": 4832, + "start": 4692, + "end": 4696, "loc": { "start": { - "line": 135, + "line": 130, "column": 53 }, "end": { - "line": 135, + "line": 130, "column": 57 }, "identifierName": "bind" @@ -55038,15 +55398,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4833, - "end": 4837, + "start": 4697, + "end": 4701, "loc": { "start": { - "line": 135, + "line": 130, "column": 58 }, "end": { - "line": 135, + "line": 130, "column": 62 } } @@ -55058,86 +55418,86 @@ }, { "type": "ExpressionStatement", - "start": 4849, - "end": 4908, + "start": 4713, + "end": 4772, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4849, - "end": 4907, + "start": 4713, + "end": 4771, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4849, - "end": 4863, + "start": 4713, + "end": 4727, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4849, - "end": 4860, + "start": 4713, + "end": 4724, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4849, - "end": 4853, + "start": 4713, + "end": 4717, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4854, - "end": 4860, + "start": 4718, + "end": 4724, "loc": { "start": { - "line": 136, + "line": 131, "column": 13 }, "end": { - "line": 136, + "line": 131, "column": 19 }, "identifierName": "surfer" @@ -55148,15 +55508,15 @@ }, "property": { "type": "Identifier", - "start": 4861, - "end": 4863, + "start": 4725, + "end": 4727, "loc": { "start": { - "line": 136, + "line": 131, "column": 20 }, "end": { - "line": 136, + "line": 131, "column": 22 }, "identifierName": "on" @@ -55168,29 +55528,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4864, - "end": 4876, + "start": 4728, + "end": 4740, "loc": { "start": { - "line": 136, + "line": 131, "column": 23 }, "end": { - "line": 136, + "line": 131, "column": 35 } }, "object": { "type": "Identifier", - "start": 4864, - "end": 4869, + "start": 4728, + "end": 4733, "loc": { "start": { - "line": 136, + "line": 131, "column": 23 }, "end": { - "line": 136, + "line": 131, "column": 28 }, "identifierName": "Event" @@ -55199,15 +55559,15 @@ }, "property": { "type": "Identifier", - "start": 4870, - "end": 4876, + "start": 4734, + "end": 4740, "loc": { "start": { - "line": 136, + "line": 131, "column": 29 }, "end": { - "line": 136, + "line": 131, "column": 35 }, "identifierName": "FINISH" @@ -55218,72 +55578,72 @@ }, { "type": "CallExpression", - "start": 4878, - "end": 4906, + "start": 4742, + "end": 4770, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4878, - "end": 4900, + "start": 4742, + "end": 4764, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4878, - "end": 4895, + "start": 4742, + "end": 4759, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4878, - "end": 4882, + "start": 4742, + "end": 4746, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 41 } } }, "property": { "type": "Identifier", - "start": 4883, - "end": 4895, + "start": 4747, + "end": 4759, "loc": { "start": { - "line": 136, + "line": 131, "column": 42 }, "end": { - "line": 136, + "line": 131, "column": 54 }, "identifierName": "onWaveFinish" @@ -55294,15 +55654,15 @@ }, "property": { "type": "Identifier", - "start": 4896, - "end": 4900, + "start": 4760, + "end": 4764, "loc": { "start": { - "line": 136, + "line": 131, "column": 55 }, "end": { - "line": 136, + "line": 131, "column": 59 }, "identifierName": "bind" @@ -55314,15 +55674,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4901, - "end": 4905, + "start": 4765, + "end": 4769, "loc": { "start": { - "line": 136, + "line": 131, "column": 60 }, "end": { - "line": 136, + "line": 131, "column": 64 } } @@ -55334,73 +55694,73 @@ }, { "type": "ExpressionStatement", - "start": 4917, - "end": 4959, + "start": 4781, + "end": 4823, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 4917, - "end": 4958, + "start": 4781, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4917, - "end": 4929, + "start": 4781, + "end": 4793, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4917, - "end": 4921, + "start": 4781, + "end": 4785, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4922, - "end": 4929, + "start": 4786, + "end": 4793, "loc": { "start": { - "line": 137, + "line": 132, "column": 13 }, "end": { - "line": 137, + "line": 132, "column": 20 }, "identifierName": "backend" @@ -55411,72 +55771,72 @@ }, "right": { "type": "MemberExpression", - "start": 4932, - "end": 4958, + "start": 4796, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4932, - "end": 4950, + "start": 4796, + "end": 4814, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4932, - "end": 4943, + "start": 4796, + "end": 4807, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 4932, - "end": 4936, + "start": 4796, + "end": 4800, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 27 } } }, "property": { "type": "Identifier", - "start": 4937, - "end": 4943, + "start": 4801, + "end": 4807, "loc": { "start": { - "line": 137, + "line": 132, "column": 28 }, "end": { - "line": 137, + "line": 132, "column": 34 }, "identifierName": "surfer" @@ -55487,15 +55847,15 @@ }, "property": { "type": "Identifier", - "start": 4944, - "end": 4950, + "start": 4808, + "end": 4814, "loc": { "start": { - "line": 137, + "line": 132, "column": 35 }, "end": { - "line": 137, + "line": 132, "column": 41 }, "identifierName": "params" @@ -55506,15 +55866,15 @@ }, "property": { "type": "Identifier", - "start": 4951, - "end": 4958, + "start": 4815, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 42 }, "end": { - "line": 137, + "line": 132, "column": 49 }, "identifierName": "backend" @@ -55527,72 +55887,72 @@ }, { "type": "ExpressionStatement", - "start": 4968, - "end": 5030, + "start": 4832, + "end": 4894, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 4968, - "end": 5029, + "start": 4832, + "end": 4893, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 4968, - "end": 4976, + "start": 4832, + "end": 4840, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4968, - "end": 4972, + "start": 4832, + "end": 4836, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4973, - "end": 4976, + "start": 4837, + "end": 4840, "loc": { "start": { - "line": 138, + "line": 133, "column": 13 }, "end": { - "line": 138, + "line": 133, "column": 16 }, "identifierName": "log" @@ -55604,43 +55964,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4977, - "end": 5028, + "start": 4841, + "end": 4892, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 4977, - "end": 5014, + "start": 4841, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 4977, - "end": 4999, + "start": 4841, + "end": 4863, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 39 } }, @@ -55653,44 +56013,44 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5002, - "end": 5014, + "start": 4866, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 42 }, "end": { - "line": 138, + "line": 133, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 5002, - "end": 5006, + "start": 4866, + "end": 4870, "loc": { "start": { - "line": 138, + "line": 133, "column": 42 }, "end": { - "line": 138, + "line": 133, "column": 46 } } }, "property": { "type": "Identifier", - "start": 5007, - "end": 5014, + "start": 4871, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 47 }, "end": { - "line": 138, + "line": 133, "column": 54 }, "identifierName": "backend" @@ -55703,15 +56063,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 5017, - "end": 5028, + "start": 4881, + "end": 4892, "loc": { "start": { - "line": 138, + "line": 133, "column": 57 }, "end": { - "line": 138, + "line": 133, "column": 68 } }, @@ -55728,15 +56088,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -55745,43 +56105,43 @@ }, { "type": "IfStatement", - "start": 5107, - "end": 5659, + "start": 4971, + "end": 5523, "loc": { "start": { - "line": 141, + "line": 136, "column": 8 }, "end": { - "line": 153, + "line": 148, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5111, - "end": 5177, + "start": 4975, + "end": 5041, "loc": { "start": { - "line": 141, + "line": 136, "column": 12 }, "end": { - "line": 141, + "line": 136, "column": 78 } }, "left": { "type": "StringLiteral", - "start": 5111, - "end": 5123, + "start": 4975, + "end": 4987, "loc": { "start": { - "line": 141, + "line": 136, "column": 12 }, "end": { - "line": 141, + "line": 136, "column": 24 } }, @@ -55795,114 +56155,114 @@ "operator": "in", "right": { "type": "CallExpression", - "start": 5127, - "end": 5177, + "start": 4991, + "end": 5041, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 5127, - "end": 5175, + "start": 4991, + "end": 5039, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 5127, - "end": 5158, + "start": 4991, + "end": 5022, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 59 } }, "object": { "type": "CallExpression", - "start": 5127, - "end": 5151, + "start": 4991, + "end": 5015, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5127, - "end": 5149, + "start": 4991, + "end": 5013, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5127, - "end": 5138, + "start": 4991, + "end": 5002, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5127, - "end": 5131, + "start": 4991, + "end": 4995, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 32 } } }, "property": { "type": "Identifier", - "start": 5132, - "end": 5138, + "start": 4996, + "end": 5002, "loc": { "start": { - "line": 141, + "line": 136, "column": 33 }, "end": { - "line": 141, + "line": 136, "column": 39 }, "identifierName": "player" @@ -55913,15 +56273,15 @@ }, "property": { "type": "Identifier", - "start": 5139, - "end": 5149, + "start": 5003, + "end": 5013, "loc": { "start": { - "line": 141, + "line": 136, "column": 40 }, "end": { - "line": 141, + "line": 136, "column": 50 }, "identifierName": "wavesurfer" @@ -55934,15 +56294,15 @@ }, "property": { "type": "Identifier", - "start": 5152, - "end": 5158, + "start": 5016, + "end": 5022, "loc": { "start": { - "line": 141, + "line": 136, "column": 53 }, "end": { - "line": 141, + "line": 136, "column": 59 }, "identifierName": "surfer" @@ -55953,15 +56313,15 @@ }, "property": { "type": "Identifier", - "start": 5159, - "end": 5175, + "start": 5023, + "end": 5039, "loc": { "start": { - "line": 141, + "line": 136, "column": 60 }, "end": { - "line": 141, + "line": 136, "column": 76 }, "identifierName": "getActivePlugins" @@ -55976,73 +56336,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5179, - "end": 5659, + "start": 5043, + "end": 5523, "loc": { "start": { - "line": 141, + "line": 136, "column": 80 }, "end": { - "line": 153, + "line": 148, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5245, - "end": 5266, + "start": 5109, + "end": 5130, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 5245, - "end": 5265, + "start": 5109, + "end": 5129, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5245, - "end": 5258, + "start": 5109, + "end": 5122, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5245, - "end": 5249, + "start": 5109, + "end": 5113, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 16 } }, @@ -56050,15 +56410,15 @@ }, "property": { "type": "Identifier", - "start": 5250, - "end": 5258, + "start": 5114, + "end": 5122, "loc": { "start": { - "line": 143, + "line": 138, "column": 17 }, "end": { - "line": 143, + "line": 138, "column": 25 }, "identifierName": "liveMode" @@ -56070,15 +56430,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5261, - "end": 5265, + "start": 5125, + "end": 5129, "loc": { "start": { - "line": 143, + "line": 138, "column": 28 }, "end": { - "line": 143, + "line": 138, "column": 32 } }, @@ -56090,15 +56450,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5193, - "end": 5232, + "start": 5057, + "end": 5096, "loc": { "start": { - "line": 142, + "line": 137, "column": 12 }, "end": { - "line": 142, + "line": 137, "column": 51 } } @@ -56107,73 +56467,73 @@ }, { "type": "ExpressionStatement", - "start": 5279, - "end": 5301, + "start": 5143, + "end": 5165, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 5279, - "end": 5300, + "start": 5143, + "end": 5164, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5279, - "end": 5293, + "start": 5143, + "end": 5157, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5279, - "end": 5283, + "start": 5143, + "end": 5147, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5284, - "end": 5293, + "start": 5148, + "end": 5157, "loc": { "start": { - "line": 144, + "line": 139, "column": 17 }, "end": { - "line": 144, + "line": 139, "column": 26 }, "identifierName": "waveReady" @@ -56184,15 +56544,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5296, - "end": 5300, + "start": 5160, + "end": 5164, "loc": { "start": { - "line": 144, + "line": 139, "column": 29 }, "end": { - "line": 144, + "line": 139, "column": 33 } }, @@ -56202,72 +56562,72 @@ }, { "type": "ExpressionStatement", - "start": 5314, - "end": 5367, + "start": 5178, + "end": 5231, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 5314, - "end": 5366, + "start": 5178, + "end": 5230, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5314, - "end": 5322, + "start": 5178, + "end": 5186, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5314, - "end": 5318, + "start": 5178, + "end": 5182, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5319, - "end": 5322, + "start": 5183, + "end": 5186, "loc": { "start": { - "line": 145, + "line": 140, "column": 17 }, "end": { - "line": 145, + "line": 140, "column": 20 }, "identifierName": "log" @@ -56279,15 +56639,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5323, - "end": 5365, + "start": 5187, + "end": 5229, "loc": { "start": { - "line": 145, + "line": 140, "column": 21 }, "end": { - "line": 145, + "line": 140, "column": 63 } }, @@ -56303,15 +56663,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -56320,99 +56680,99 @@ }, { "type": "ExpressionStatement", - "start": 5438, - "end": 5479, + "start": 5302, + "end": 5343, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 5438, - "end": 5478, + "start": 5302, + "end": 5342, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5438, - "end": 5476, + "start": 5302, + "end": 5340, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5471, + "start": 5302, + "end": 5335, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5460, + "start": 5302, + "end": 5324, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5438, - "end": 5449, + "start": 5302, + "end": 5313, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5438, - "end": 5442, + "start": 5302, + "end": 5306, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 16 } }, @@ -56420,15 +56780,15 @@ }, "property": { "type": "Identifier", - "start": 5443, - "end": 5449, + "start": 5307, + "end": 5313, "loc": { "start": { - "line": 148, + "line": 143, "column": 17 }, "end": { - "line": 148, + "line": 143, "column": 23 }, "identifierName": "player" @@ -56440,15 +56800,15 @@ }, "property": { "type": "Identifier", - "start": 5450, - "end": 5460, + "start": 5314, + "end": 5324, "loc": { "start": { - "line": 148, + "line": 143, "column": 24 }, "end": { - "line": 148, + "line": 143, "column": 34 }, "identifierName": "controlBar" @@ -56460,15 +56820,15 @@ }, "property": { "type": "Identifier", - "start": 5461, - "end": 5471, + "start": 5325, + "end": 5335, "loc": { "start": { - "line": 148, + "line": 143, "column": 35 }, "end": { - "line": 148, + "line": 143, "column": 45 }, "identifierName": "playToggle" @@ -56480,15 +56840,15 @@ }, "property": { "type": "Identifier", - "start": 5472, - "end": 5476, + "start": 5336, + "end": 5340, "loc": { "start": { - "line": 148, + "line": 143, "column": 46 }, "end": { - "line": 148, + "line": 143, "column": 50 }, "identifierName": "show" @@ -56505,15 +56865,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -56523,15 +56883,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -56540,85 +56900,85 @@ }, { "type": "ExpressionStatement", - "start": 5558, - "end": 5649, + "start": 5422, + "end": 5513, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 152, + "line": 147, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 5558, - "end": 5648, + "start": 5422, + "end": 5512, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 152, + "line": 147, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 5558, - "end": 5583, + "start": 5422, + "end": 5447, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5580, + "start": 5422, + "end": 5444, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5569, + "start": 5422, + "end": 5433, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5558, - "end": 5562, + "start": 5422, + "end": 5426, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 16 } }, @@ -56626,15 +56986,15 @@ }, "property": { "type": "Identifier", - "start": 5563, - "end": 5569, + "start": 5427, + "end": 5433, "loc": { "start": { - "line": 151, + "line": 146, "column": 17 }, "end": { - "line": 151, + "line": 146, "column": 23 }, "identifierName": "surfer" @@ -56646,15 +57006,15 @@ }, "property": { "type": "Identifier", - "start": 5570, - "end": 5580, + "start": 5434, + "end": 5444, "loc": { "start": { - "line": 151, + "line": 146, "column": 24 }, "end": { - "line": 151, + "line": 146, "column": 34 }, "identifierName": "microphone" @@ -56666,15 +57026,15 @@ }, "property": { "type": "Identifier", - "start": 5581, - "end": 5583, + "start": 5445, + "end": 5447, "loc": { "start": { - "line": 151, + "line": 146, "column": 35 }, "end": { - "line": 151, + "line": 146, "column": 37 }, "identifierName": "on" @@ -56687,29 +57047,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 5584, - "end": 5602, + "start": 5448, + "end": 5466, "loc": { "start": { - "line": 151, + "line": 146, "column": 38 }, "end": { - "line": 151, + "line": 146, "column": 56 } }, "object": { "type": "Identifier", - "start": 5584, - "end": 5589, + "start": 5448, + "end": 5453, "loc": { "start": { - "line": 151, + "line": 146, "column": 38 }, "end": { - "line": 151, + "line": 146, "column": 43 }, "identifierName": "Event" @@ -56718,15 +57078,15 @@ }, "property": { "type": "Identifier", - "start": 5590, - "end": 5602, + "start": 5454, + "end": 5466, "loc": { "start": { - "line": 151, + "line": 146, "column": 44 }, "end": { - "line": 151, + "line": 146, "column": 56 }, "identifierName": "DEVICE_ERROR" @@ -56737,72 +57097,72 @@ }, { "type": "CallExpression", - "start": 5620, - "end": 5647, + "start": 5484, + "end": 5511, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5620, - "end": 5641, + "start": 5484, + "end": 5505, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5620, - "end": 5636, + "start": 5484, + "end": 5500, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 5620, - "end": 5624, + "start": 5484, + "end": 5488, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5625, - "end": 5636, + "start": 5489, + "end": 5500, "loc": { "start": { - "line": 152, + "line": 147, "column": 21 }, "end": { - "line": 152, + "line": 147, "column": 32 }, "identifierName": "onWaveError" @@ -56813,15 +57173,15 @@ }, "property": { "type": "Identifier", - "start": 5637, - "end": 5641, + "start": 5501, + "end": 5505, "loc": { "start": { - "line": 152, + "line": 147, "column": 33 }, "end": { - "line": 152, + "line": 147, "column": 37 }, "identifierName": "bind" @@ -56833,15 +57193,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5642, - "end": 5646, + "start": 5506, + "end": 5510, "loc": { "start": { - "line": 152, + "line": 147, "column": 38 }, "end": { - "line": 152, + "line": 147, "column": 42 } } @@ -56855,15 +57215,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -56879,15 +57239,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -56897,15 +57257,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -56914,58 +57274,58 @@ }, { "type": "ExpressionStatement", - "start": 5712, - "end": 5759, + "start": 5576, + "end": 5623, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 5712, - "end": 5758, + "start": 5576, + "end": 5622, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5712, - "end": 5728, + "start": 5576, + "end": 5592, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5712, - "end": 5716, + "start": 5576, + "end": 5580, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 12 } }, @@ -56973,15 +57333,15 @@ }, "property": { "type": "Identifier", - "start": 5717, - "end": 5728, + "start": 5581, + "end": 5592, "loc": { "start": { - "line": 156, + "line": 151, "column": 13 }, "end": { - "line": 156, + "line": 151, "column": 24 }, "identifierName": "surferReady" @@ -56993,72 +57353,72 @@ }, "right": { "type": "CallExpression", - "start": 5731, - "end": 5758, + "start": 5595, + "end": 5622, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 5731, - "end": 5752, + "start": 5595, + "end": 5616, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5731, - "end": 5747, + "start": 5595, + "end": 5611, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 5731, - "end": 5735, + "start": 5595, + "end": 5599, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 31 } } }, "property": { "type": "Identifier", - "start": 5736, - "end": 5747, + "start": 5600, + "end": 5611, "loc": { "start": { - "line": 156, + "line": 151, "column": 32 }, "end": { - "line": 156, + "line": 151, "column": 43 }, "identifierName": "onWaveReady" @@ -57069,15 +57429,15 @@ }, "property": { "type": "Identifier", - "start": 5748, - "end": 5752, + "start": 5612, + "end": 5616, "loc": { "start": { - "line": 156, + "line": 151, "column": 44 }, "end": { - "line": 156, + "line": 151, "column": 48 }, "identifierName": "bind" @@ -57089,15 +57449,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5753, - "end": 5757, + "start": 5617, + "end": 5621, "loc": { "start": { - "line": 156, + "line": 151, "column": 49 }, "end": { - "line": 156, + "line": 151, "column": 53 } } @@ -57110,15 +57470,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -57127,72 +57487,72 @@ }, { "type": "IfStatement", - "start": 5768, - "end": 6081, + "start": 5632, + "end": 5943, "loc": { "start": { - "line": 157, + "line": 152, "column": 8 }, "end": { - "line": 165, + "line": 160, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5772, - "end": 5799, + "start": 5636, + "end": 5661, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, - "column": 39 + "line": 152, + "column": 37 } }, "left": { "type": "MemberExpression", - "start": 5772, - "end": 5784, + "start": 5636, + "end": 5648, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, + "line": 152, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5772, - "end": 5776, + "start": 5636, + "end": 5640, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, + "line": 152, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5777, - "end": 5784, + "start": 5641, + "end": 5648, "loc": { "start": { - "line": 157, + "line": 152, "column": 17 }, "end": { - "line": 157, + "line": 152, "column": 24 }, "identifierName": "backend" @@ -57203,110 +57563,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 5789, - "end": 5799, + "type": "Identifier", + "start": 5653, + "end": 5661, "loc": { "start": { - "line": 157, + "line": 152, "column": 29 }, "end": { - "line": 157, - "column": 39 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 152, + "column": 37 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 5801, - "end": 6081, + "start": 5663, + "end": 5943, "loc": { "start": { - "line": 157, - "column": 41 + "line": 152, + "column": 39 }, "end": { - "line": 165, + "line": 160, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5815, - "end": 5868, + "start": 5677, + "end": 5730, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5815, - "end": 5867, + "start": 5677, + "end": 5729, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5815, - "end": 5834, + "start": 5677, + "end": 5696, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5815, - "end": 5819, + "start": 5677, + "end": 5681, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5820, - "end": 5834, + "start": 5682, + "end": 5696, "loc": { "start": { - "line": 158, + "line": 153, "column": 17 }, "end": { - "line": 158, + "line": 153, "column": 31 }, "identifierName": "surferProgress" @@ -57317,72 +57674,72 @@ }, "right": { "type": "CallExpression", - "start": 5837, - "end": 5867, + "start": 5699, + "end": 5729, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5837, - "end": 5861, + "start": 5699, + "end": 5723, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 5837, - "end": 5856, + "start": 5699, + "end": 5718, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 5837, - "end": 5841, + "start": 5699, + "end": 5703, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 38 } } }, "property": { "type": "Identifier", - "start": 5842, - "end": 5856, + "start": 5704, + "end": 5718, "loc": { "start": { - "line": 158, + "line": 153, "column": 39 }, "end": { - "line": 158, + "line": 153, "column": 53 }, "identifierName": "onWaveProgress" @@ -57393,15 +57750,15 @@ }, "property": { "type": "Identifier", - "start": 5857, - "end": 5861, + "start": 5719, + "end": 5723, "loc": { "start": { - "line": 158, + "line": 153, "column": 54 }, "end": { - "line": 158, + "line": 153, "column": 58 }, "identifierName": "bind" @@ -57413,15 +57770,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5862, - "end": 5866, + "start": 5724, + "end": 5728, "loc": { "start": { - "line": 158, + "line": 153, "column": 59 }, "end": { - "line": 158, + "line": 153, "column": 63 } } @@ -57432,73 +57789,73 @@ }, { "type": "ExpressionStatement", - "start": 5881, - "end": 5926, + "start": 5743, + "end": 5788, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 5881, - "end": 5925, + "start": 5743, + "end": 5787, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5881, - "end": 5896, + "start": 5743, + "end": 5758, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5881, - "end": 5885, + "start": 5743, + "end": 5747, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5886, - "end": 5896, + "start": 5748, + "end": 5758, "loc": { "start": { - "line": 159, + "line": 154, "column": 17 }, "end": { - "line": 159, + "line": 154, "column": 27 }, "identifierName": "surferSeek" @@ -57509,72 +57866,72 @@ }, "right": { "type": "CallExpression", - "start": 5899, - "end": 5925, + "start": 5761, + "end": 5787, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 5899, - "end": 5919, + "start": 5761, + "end": 5781, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5899, - "end": 5914, + "start": 5761, + "end": 5776, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 5899, - "end": 5903, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 34 } } }, "property": { "type": "Identifier", - "start": 5904, - "end": 5914, + "start": 5766, + "end": 5776, "loc": { "start": { - "line": 159, + "line": 154, "column": 35 }, "end": { - "line": 159, + "line": 154, "column": 45 }, "identifierName": "onWaveSeek" @@ -57585,15 +57942,15 @@ }, "property": { "type": "Identifier", - "start": 5915, - "end": 5919, + "start": 5777, + "end": 5781, "loc": { "start": { - "line": 159, + "line": 154, "column": 46 }, "end": { - "line": 159, + "line": 154, "column": 50 }, "identifierName": "bind" @@ -57605,15 +57962,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5920, - "end": 5924, + "start": 5782, + "end": 5786, "loc": { "start": { - "line": 159, + "line": 154, "column": 51 }, "end": { - "line": 159, + "line": 154, "column": 55 } } @@ -57625,15 +57982,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -57642,71 +57999,71 @@ }, { "type": "IfStatement", - "start": 5996, - "end": 6071, + "start": 5858, + "end": 5933, "loc": { "start": { - "line": 162, + "line": 157, "column": 12 }, "end": { - "line": 164, + "line": 159, "column": 13 } }, "test": { "type": "CallExpression", - "start": 6000, - "end": 6019, + "start": 5862, + "end": 5881, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 6000, - "end": 6017, + "start": 5862, + "end": 5879, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 6000, - "end": 6011, + "start": 5862, + "end": 5873, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 6000, - "end": 6004, + "start": 5862, + "end": 5866, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 20 } }, @@ -57714,15 +58071,15 @@ }, "property": { "type": "Identifier", - "start": 6005, - "end": 6011, + "start": 5867, + "end": 5873, "loc": { "start": { - "line": 162, + "line": 157, "column": 21 }, "end": { - "line": 162, + "line": 157, "column": 27 }, "identifierName": "player" @@ -57734,15 +58091,15 @@ }, "property": { "type": "Identifier", - "start": 6012, - "end": 6017, + "start": 5874, + "end": 5879, "loc": { "start": { - "line": 162, + "line": 157, "column": 28 }, "end": { - "line": 162, + "line": 157, "column": 33 }, "identifierName": "muted" @@ -57757,87 +58114,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6021, - "end": 6071, + "start": 5883, + "end": 5933, "loc": { "start": { - "line": 162, + "line": 157, "column": 37 }, "end": { - "line": 164, + "line": 159, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 6039, - "end": 6057, + "start": 5901, + "end": 5919, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 6039, - "end": 6056, + "start": 5901, + "end": 5918, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 6039, - "end": 6053, + "start": 5901, + "end": 5915, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 6039, - "end": 6043, + "start": 5901, + "end": 5905, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6044, - "end": 6053, + "start": 5906, + "end": 5915, "loc": { "start": { - "line": 163, + "line": 158, "column": 21 }, "end": { - "line": 163, + "line": 158, "column": 30 }, "identifierName": "setVolume" @@ -57849,15 +58206,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6054, - "end": 6055, + "start": 5916, + "end": 5917, "loc": { "start": { - "line": 163, + "line": 158, "column": 31 }, "end": { - "line": 163, + "line": 158, "column": 32 } }, @@ -57878,15 +58235,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -57902,15 +58259,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -57918,15 +58275,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -57935,29 +58292,29 @@ }, { "type": "IfStatement", - "start": 6184, - "end": 6259, + "start": 6046, + "end": 6121, "loc": { "start": { - "line": 169, + "line": 164, "column": 8 }, "end": { - "line": 171, + "line": 166, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 6188, - "end": 6202, + "start": 6050, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 12 }, "end": { - "line": 169, + "line": 164, "column": 26 } }, @@ -57965,29 +58322,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6189, - "end": 6202, + "start": 6051, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 13 }, "end": { - "line": 169, + "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 6189, - "end": 6193, + "start": 6051, + "end": 6055, "loc": { "start": { - "line": 169, + "line": 164, "column": 13 }, "end": { - "line": 169, + "line": 164, "column": 17 } }, @@ -57995,15 +58352,15 @@ }, "property": { "type": "Identifier", - "start": 6194, - "end": 6202, + "start": 6056, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 18 }, "end": { - "line": 169, + "line": 164, "column": 26 }, "identifierName": "liveMode" @@ -58020,87 +58377,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6204, - "end": 6259, + "start": 6066, + "end": 6121, "loc": { "start": { - "line": 169, + "line": 164, "column": 28 }, "end": { - "line": 171, + "line": 166, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6218, - "end": 6249, + "start": 6080, + "end": 6111, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6218, - "end": 6248, + "start": 6080, + "end": 6110, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6218, - "end": 6242, + "start": 6080, + "end": 6104, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 6218, - "end": 6222, + "start": 6080, + "end": 6084, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 16 } } }, "property": { "type": "Identifier", - "start": 6223, - "end": 6242, + "start": 6085, + "end": 6104, "loc": { "start": { - "line": 170, + "line": 165, "column": 17 }, "end": { - "line": 170, + "line": 165, "column": 36 }, "identifierName": "setupPlaybackEvents" @@ -58112,15 +58469,15 @@ "arguments": [ { "type": "BooleanLiteral", - "start": 6243, - "end": 6247, + "start": 6105, + "end": 6109, "loc": { "start": { - "line": 170, + "line": 165, "column": 37 }, "end": { - "line": 170, + "line": 165, "column": 41 } }, @@ -58138,15 +58495,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -58154,15 +58511,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -58172,15 +58529,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -58189,71 +58546,71 @@ }, { "type": "ExpressionStatement", - "start": 6303, - "end": 6370, + "start": 6165, + "end": 6232, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 6303, - "end": 6369, + "start": 6165, + "end": 6231, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 6303, - "end": 6317, + "start": 6165, + "end": 6179, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6303, - "end": 6314, + "start": 6165, + "end": 6176, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6303, - "end": 6307, + "start": 6165, + "end": 6169, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 12 } }, @@ -58261,15 +58618,15 @@ }, "property": { "type": "Identifier", - "start": 6308, - "end": 6314, + "start": 6170, + "end": 6176, "loc": { "start": { - "line": 174, + "line": 169, "column": 13 }, "end": { - "line": 174, + "line": 169, "column": 19 }, "identifierName": "player" @@ -58281,15 +58638,15 @@ }, "property": { "type": "Identifier", - "start": 6315, - "end": 6317, + "start": 6177, + "end": 6179, "loc": { "start": { - "line": 174, + "line": 169, "column": 20 }, "end": { - "line": 174, + "line": 169, "column": 22 }, "identifierName": "on" @@ -58302,29 +58659,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6318, - "end": 6336, + "start": 6180, + "end": 6198, "loc": { "start": { - "line": 174, + "line": 169, "column": 23 }, "end": { - "line": 174, + "line": 169, "column": 41 } }, "object": { "type": "Identifier", - "start": 6318, - "end": 6323, + "start": 6180, + "end": 6185, "loc": { "start": { - "line": 174, + "line": 169, "column": 23 }, "end": { - "line": 174, + "line": 169, "column": 28 }, "identifierName": "Event" @@ -58333,15 +58690,15 @@ }, "property": { "type": "Identifier", - "start": 6324, - "end": 6336, + "start": 6186, + "end": 6198, "loc": { "start": { - "line": 174, + "line": 169, "column": 29 }, "end": { - "line": 174, + "line": 169, "column": 41 }, "identifierName": "VOLUMECHANGE" @@ -58352,72 +58709,72 @@ }, { "type": "CallExpression", - "start": 6338, - "end": 6368, + "start": 6200, + "end": 6230, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6338, - "end": 6362, + "start": 6200, + "end": 6224, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 6338, - "end": 6357, + "start": 6200, + "end": 6219, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 62 } }, "object": { "type": "ThisExpression", - "start": 6338, - "end": 6342, + "start": 6200, + "end": 6204, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 47 } } }, "property": { "type": "Identifier", - "start": 6343, - "end": 6357, + "start": 6205, + "end": 6219, "loc": { "start": { - "line": 174, + "line": 169, "column": 48 }, "end": { - "line": 174, + "line": 169, "column": 62 }, "identifierName": "onVolumeChange" @@ -58428,15 +58785,15 @@ }, "property": { "type": "Identifier", - "start": 6358, - "end": 6362, + "start": 6220, + "end": 6224, "loc": { "start": { - "line": 174, + "line": 169, "column": 63 }, "end": { - "line": 174, + "line": 169, "column": 67 }, "identifierName": "bind" @@ -58448,15 +58805,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6363, - "end": 6367, + "start": 6225, + "end": 6229, "loc": { "start": { - "line": 174, + "line": 169, "column": 68 }, "end": { - "line": 174, + "line": 169, "column": 72 } } @@ -58470,15 +58827,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -58487,86 +58844,86 @@ }, { "type": "ExpressionStatement", - "start": 6379, - "end": 6450, + "start": 6241, + "end": 6312, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 79 } }, "expression": { "type": "CallExpression", - "start": 6379, - "end": 6449, + "start": 6241, + "end": 6311, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 6379, - "end": 6393, + "start": 6241, + "end": 6255, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6379, - "end": 6390, + "start": 6241, + "end": 6252, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6379, - "end": 6383, + "start": 6241, + "end": 6245, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6384, - "end": 6390, + "start": 6246, + "end": 6252, "loc": { "start": { - "line": 175, + "line": 170, "column": 13 }, "end": { - "line": 175, + "line": 170, "column": 19 }, "identifierName": "player" @@ -58577,15 +58934,15 @@ }, "property": { "type": "Identifier", - "start": 6391, - "end": 6393, + "start": 6253, + "end": 6255, "loc": { "start": { - "line": 175, + "line": 170, "column": 20 }, "end": { - "line": 175, + "line": 170, "column": 22 }, "identifierName": "on" @@ -58597,29 +58954,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6394, - "end": 6416, + "start": 6256, + "end": 6278, "loc": { "start": { - "line": 175, + "line": 170, "column": 23 }, "end": { - "line": 175, + "line": 170, "column": 45 } }, "object": { "type": "Identifier", - "start": 6394, - "end": 6399, + "start": 6256, + "end": 6261, "loc": { "start": { - "line": 175, + "line": 170, "column": 23 }, "end": { - "line": 175, + "line": 170, "column": 28 }, "identifierName": "Event" @@ -58628,15 +58985,15 @@ }, "property": { "type": "Identifier", - "start": 6400, - "end": 6416, + "start": 6262, + "end": 6278, "loc": { "start": { - "line": 175, + "line": 170, "column": 29 }, "end": { - "line": 175, + "line": 170, "column": 45 }, "identifierName": "FULLSCREENCHANGE" @@ -58647,72 +59004,72 @@ }, { "type": "CallExpression", - "start": 6418, - "end": 6448, + "start": 6280, + "end": 6310, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 6418, - "end": 6442, + "start": 6280, + "end": 6304, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 6418, - "end": 6437, + "start": 6280, + "end": 6299, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 66 } }, "object": { "type": "ThisExpression", - "start": 6418, - "end": 6422, + "start": 6280, + "end": 6284, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 51 } } }, "property": { "type": "Identifier", - "start": 6423, - "end": 6437, + "start": 6285, + "end": 6299, "loc": { "start": { - "line": 175, + "line": 170, "column": 52 }, "end": { - "line": 175, + "line": 170, "column": 66 }, "identifierName": "onScreenChange" @@ -58723,15 +59080,15 @@ }, "property": { "type": "Identifier", - "start": 6438, - "end": 6442, + "start": 6300, + "end": 6304, "loc": { "start": { - "line": 175, + "line": 170, "column": 67 }, "end": { - "line": 175, + "line": 170, "column": 71 }, "identifierName": "bind" @@ -58743,15 +59100,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6443, - "end": 6447, + "start": 6305, + "end": 6309, "loc": { "start": { - "line": 175, + "line": 170, "column": 72 }, "end": { - "line": 175, + "line": 170, "column": 76 } } @@ -58764,15 +59121,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -58781,85 +59138,85 @@ }, { "type": "IfStatement", - "start": 6493, - "end": 6915, + "start": 6355, + "end": 6777, "loc": { "start": { - "line": 178, + "line": 173, "column": 8 }, "end": { - "line": 185, + "line": 180, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6497, - "end": 6532, + "start": 6359, + "end": 6394, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 6497, - "end": 6523, + "start": 6359, + "end": 6385, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6497, - "end": 6517, + "start": 6359, + "end": 6379, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 6497, - "end": 6508, + "start": 6359, + "end": 6370, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6497, - "end": 6501, + "start": 6359, + "end": 6363, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 16 } }, @@ -58867,15 +59224,15 @@ }, "property": { "type": "Identifier", - "start": 6502, - "end": 6508, + "start": 6364, + "end": 6370, "loc": { "start": { - "line": 178, + "line": 173, "column": 17 }, "end": { - "line": 178, + "line": 173, "column": 23 }, "identifierName": "player" @@ -58887,15 +59244,15 @@ }, "property": { "type": "Identifier", - "start": 6509, - "end": 6517, + "start": 6371, + "end": 6379, "loc": { "start": { - "line": 178, + "line": 173, "column": 24 }, "end": { - "line": 178, + "line": 173, "column": 32 }, "identifierName": "options_" @@ -58907,15 +59264,15 @@ }, "property": { "type": "Identifier", - "start": 6518, - "end": 6523, + "start": 6380, + "end": 6385, "loc": { "start": { - "line": 178, + "line": 173, "column": 33 }, "end": { - "line": 178, + "line": 173, "column": 38 }, "identifierName": "fluid" @@ -58928,15 +59285,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 6528, - "end": 6532, + "start": 6390, + "end": 6394, "loc": { "start": { - "line": 178, + "line": 173, "column": 43 }, "end": { - "line": 178, + "line": 173, "column": 47 } }, @@ -58946,115 +59303,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 6534, - "end": 6915, + "start": 6396, + "end": 6777, "loc": { "start": { - "line": 178, + "line": 173, "column": 49 }, "end": { - "line": 185, + "line": 180, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6613, - "end": 6672, + "start": 6475, + "end": 6534, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 6613, - "end": 6671, + "start": 6475, + "end": 6533, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6613, - "end": 6649, + "start": 6475, + "end": 6511, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6639, + "start": 6475, + "end": 6501, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6631, + "start": 6475, + "end": 6493, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 6613, - "end": 6624, + "start": 6475, + "end": 6486, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6613, - "end": 6617, + "start": 6475, + "end": 6479, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 16 } }, @@ -59062,15 +59419,15 @@ }, "property": { "type": "Identifier", - "start": 6618, - "end": 6624, + "start": 6480, + "end": 6486, "loc": { "start": { - "line": 180, + "line": 175, "column": 17 }, "end": { - "line": 180, + "line": 175, "column": 23 }, "identifierName": "surfer" @@ -59082,15 +59439,15 @@ }, "property": { "type": "Identifier", - "start": 6625, - "end": 6631, + "start": 6487, + "end": 6493, "loc": { "start": { - "line": 180, + "line": 175, "column": 24 }, "end": { - "line": 180, + "line": 175, "column": 30 }, "identifierName": "drawer" @@ -59102,15 +59459,15 @@ }, "property": { "type": "Identifier", - "start": 6632, - "end": 6639, + "start": 6494, + "end": 6501, "loc": { "start": { - "line": 180, + "line": 175, "column": 31 }, "end": { - "line": 180, + "line": 175, "column": 38 }, "identifierName": "wrapper" @@ -59122,15 +59479,15 @@ }, "property": { "type": "Identifier", - "start": 6640, - "end": 6649, + "start": 6502, + "end": 6511, "loc": { "start": { - "line": 180, + "line": 175, "column": 39 }, "end": { - "line": 180, + "line": 175, "column": 48 }, "identifierName": "className" @@ -59142,15 +59499,15 @@ }, "right": { "type": "Identifier", - "start": 6652, - "end": 6671, + "start": 6514, + "end": 6533, "loc": { "start": { - "line": 180, + "line": 175, "column": 51 }, "end": { - "line": 180, + "line": 175, "column": 70 }, "identifierName": "wavesurferClassName" @@ -59163,15 +59520,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6548, - "end": 6600, + "start": 6410, + "end": 6462, "loc": { "start": { - "line": 179, + "line": 174, "column": 12 }, "end": { - "line": 179, + "line": 174, "column": 64 } } @@ -59181,15 +59538,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -59198,58 +59555,58 @@ }, { "type": "ExpressionStatement", - "start": 6732, - "end": 6833, + "start": 6594, + "end": 6695, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 178, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 6732, - "end": 6832, + "start": 6594, + "end": 6694, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 178, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6732, - "end": 6751, + "start": 6594, + "end": 6613, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 182, + "line": 177, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 6732, - "end": 6736, + "start": 6594, + "end": 6598, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 182, + "line": 177, "column": 16 } }, @@ -59257,15 +59614,15 @@ }, "property": { "type": "Identifier", - "start": 6737, - "end": 6751, + "start": 6599, + "end": 6613, "loc": { "start": { - "line": 182, + "line": 177, "column": 17 }, "end": { - "line": 182, + "line": 177, "column": 31 }, "identifierName": "responsiveWave" @@ -59277,57 +59634,57 @@ }, "right": { "type": "CallExpression", - "start": 6754, - "end": 6832, + "start": 6616, + "end": 6694, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 183, + "line": 178, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 6754, - "end": 6778, + "start": 6616, + "end": 6640, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 6754, - "end": 6769, + "start": 6616, + "end": 6631, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 49 } }, "object": { "type": "Identifier", - "start": 6754, - "end": 6764, + "start": 6616, + "end": 6626, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 44 }, "identifierName": "WaveSurfer" @@ -59336,15 +59693,15 @@ }, "property": { "type": "Identifier", - "start": 6765, - "end": 6769, + "start": 6627, + "end": 6631, "loc": { "start": { - "line": 182, + "line": 177, "column": 45 }, "end": { - "line": 182, + "line": 177, "column": 49 }, "identifierName": "util" @@ -59355,15 +59712,15 @@ }, "property": { "type": "Identifier", - "start": 6770, - "end": 6778, + "start": 6632, + "end": 6640, "loc": { "start": { - "line": 182, + "line": 177, "column": 50 }, "end": { - "line": 182, + "line": 177, "column": 58 }, "identifierName": "debounce" @@ -59375,72 +59732,72 @@ "arguments": [ { "type": "CallExpression", - "start": 6796, - "end": 6826, + "start": 6658, + "end": 6688, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 6796, - "end": 6820, + "start": 6658, + "end": 6682, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 6796, - "end": 6815, + "start": 6658, + "end": 6677, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 6796, - "end": 6800, + "start": 6658, + "end": 6662, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6801, - "end": 6815, + "start": 6663, + "end": 6677, "loc": { "start": { - "line": 183, + "line": 178, "column": 21 }, "end": { - "line": 183, + "line": 178, "column": 35 }, "identifierName": "onResizeChange" @@ -59451,15 +59808,15 @@ }, "property": { "type": "Identifier", - "start": 6816, - "end": 6820, + "start": 6678, + "end": 6682, "loc": { "start": { - "line": 183, + "line": 178, "column": 36 }, "end": { - "line": 183, + "line": 178, "column": 40 }, "identifierName": "bind" @@ -59471,15 +59828,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6821, - "end": 6825, + "start": 6683, + "end": 6687, "loc": { "start": { - "line": 183, + "line": 178, "column": 41 }, "end": { - "line": 183, + "line": 178, "column": 45 } } @@ -59488,15 +59845,15 @@ }, { "type": "NumericLiteral", - "start": 6828, - "end": 6831, + "start": 6690, + "end": 6693, "loc": { "start": { - "line": 183, + "line": 178, "column": 48 }, "end": { - "line": 183, + "line": 178, "column": 51 } }, @@ -59514,15 +59871,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -59531,57 +59888,57 @@ }, { "type": "ExpressionStatement", - "start": 6846, - "end": 6905, + "start": 6708, + "end": 6767, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 6846, - "end": 6904, + "start": 6708, + "end": 6766, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 6846, - "end": 6869, + "start": 6708, + "end": 6731, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 35 } }, "object": { "type": "Identifier", - "start": 6846, - "end": 6852, + "start": 6708, + "end": 6714, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 18 }, "identifierName": "window" @@ -59590,15 +59947,15 @@ }, "property": { "type": "Identifier", - "start": 6853, - "end": 6869, + "start": 6715, + "end": 6731, "loc": { "start": { - "line": 184, + "line": 179, "column": 19 }, "end": { - "line": 184, + "line": 179, "column": 35 }, "identifierName": "addEventListener" @@ -59610,29 +59967,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6870, - "end": 6882, + "start": 6732, + "end": 6744, "loc": { "start": { - "line": 184, + "line": 179, "column": 36 }, "end": { - "line": 184, + "line": 179, "column": 48 } }, "object": { "type": "Identifier", - "start": 6870, - "end": 6875, + "start": 6732, + "end": 6737, "loc": { "start": { - "line": 184, + "line": 179, "column": 36 }, "end": { - "line": 184, + "line": 179, "column": 41 }, "identifierName": "Event" @@ -59641,15 +59998,15 @@ }, "property": { "type": "Identifier", - "start": 6876, - "end": 6882, + "start": 6738, + "end": 6744, "loc": { "start": { - "line": 184, + "line": 179, "column": 42 }, "end": { - "line": 184, + "line": 179, "column": 48 }, "identifierName": "RESIZE" @@ -59660,44 +60017,44 @@ }, { "type": "MemberExpression", - "start": 6884, - "end": 6903, + "start": 6746, + "end": 6765, "loc": { "start": { - "line": 184, + "line": 179, "column": 50 }, "end": { - "line": 184, + "line": 179, "column": 69 } }, "object": { "type": "ThisExpression", - "start": 6884, - "end": 6888, + "start": 6746, + "end": 6750, "loc": { "start": { - "line": 184, + "line": 179, "column": 50 }, "end": { - "line": 184, + "line": 179, "column": 54 } } }, "property": { "type": "Identifier", - "start": 6889, - "end": 6903, + "start": 6751, + "end": 6765, "loc": { "start": { - "line": 184, + "line": 179, "column": 55 }, "end": { - "line": 184, + "line": 179, "column": 69 }, "identifierName": "responsiveWave" @@ -59717,15 +60074,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -59740,15 +60097,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, + "start": 2033, + "end": 2114, "loc": { "start": { - "line": 56, + "line": 67, "column": 4 }, "end": { - "line": 60, + "line": 71, "column": 7 } } @@ -59758,15 +60115,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -59775,15 +60132,15 @@ }, { "type": "ClassMethod", - "start": 7115, - "end": 9126, + "start": 6977, + "end": 8986, "loc": { "start": { - "line": 195, + "line": 190, "column": 4 }, "end": { - "line": 242, + "line": 237, "column": 5 } }, @@ -59791,15 +60148,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7115, - "end": 7127, + "start": 6977, + "end": 6989, "loc": { "start": { - "line": 195, + "line": 190, "column": 4 }, "end": { - "line": 195, + "line": 190, "column": 16 }, "identifierName": "parseOptions" @@ -59815,29 +60172,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 7128, - "end": 7143, + "start": 6990, + "end": 7005, "loc": { "start": { - "line": 195, + "line": 190, "column": 17 }, "end": { - "line": 195, + "line": 190, "column": 32 } }, "left": { "type": "Identifier", - "start": 7128, - "end": 7138, + "start": 6990, + "end": 7000, "loc": { "start": { - "line": 195, + "line": 190, "column": 17 }, "end": { - "line": 195, + "line": 190, "column": 27 }, "identifierName": "surferOpts" @@ -59846,15 +60203,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7141, - "end": 7143, + "start": 7003, + "end": 7005, "loc": { "start": { - "line": 195, + "line": 190, "column": 30 }, "end": { - "line": 195, + "line": 190, "column": 32 } }, @@ -59864,59 +60221,59 @@ ], "body": { "type": "BlockStatement", - "start": 7145, - "end": 9126, + "start": 7007, + "end": 8986, "loc": { "start": { - "line": 195, + "line": 190, "column": 34 }, "end": { - "line": 242, + "line": 237, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7155, - "end": 7206, + "start": 7017, + "end": 7068, "loc": { "start": { - "line": 196, + "line": 191, "column": 8 }, "end": { - "line": 196, + "line": 191, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7159, - "end": 7205, + "start": 7021, + "end": 7067, "loc": { "start": { - "line": 196, + "line": 191, "column": 12 }, "end": { - "line": 196, + "line": 191, "column": 58 } }, "id": { "type": "Identifier", - "start": 7159, - "end": 7163, + "start": 7021, + "end": 7025, "loc": { "start": { - "line": 196, + "line": 191, "column": 12 }, "end": { - "line": 196, + "line": 191, "column": 16 }, "identifierName": "rect" @@ -59925,86 +60282,86 @@ }, "init": { "type": "CallExpression", - "start": 7166, - "end": 7205, + "start": 7028, + "end": 7067, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7166, - "end": 7203, + "start": 7028, + "end": 7065, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7166, - "end": 7181, + "start": 7028, + "end": 7043, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7166, - "end": 7177, + "start": 7028, + "end": 7039, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7166, - "end": 7170, + "start": 7028, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7171, - "end": 7177, + "start": 7033, + "end": 7039, "loc": { "start": { - "line": 196, + "line": 191, "column": 24 }, "end": { - "line": 196, + "line": 191, "column": 30 }, "identifierName": "player" @@ -60015,15 +60372,15 @@ }, "property": { "type": "Identifier", - "start": 7178, - "end": 7181, + "start": 7040, + "end": 7043, "loc": { "start": { - "line": 196, + "line": 191, "column": 31 }, "end": { - "line": 196, + "line": 191, "column": 34 }, "identifierName": "el_" @@ -60034,15 +60391,15 @@ }, "property": { "type": "Identifier", - "start": 7182, - "end": 7203, + "start": 7044, + "end": 7065, "loc": { "start": { - "line": 196, + "line": 191, "column": 35 }, "end": { - "line": 196, + "line": 191, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -60059,73 +60416,73 @@ }, { "type": "ExpressionStatement", - "start": 7215, - "end": 7277, + "start": 7077, + "end": 7139, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7215, - "end": 7276, + "start": 7077, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7215, - "end": 7233, + "start": 7077, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7215, - "end": 7219, + "start": 7077, + "end": 7081, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7220, - "end": 7233, + "start": 7082, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 192, "column": 13 }, "end": { - "line": 197, + "line": 192, "column": 26 }, "identifierName": "originalWidth" @@ -60136,86 +60493,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7236, - "end": 7276, + "start": 7098, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7236, - "end": 7262, + "start": 7098, + "end": 7124, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7236, - "end": 7256, + "start": 7098, + "end": 7118, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7236, - "end": 7247, + "start": 7098, + "end": 7109, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7236, - "end": 7240, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7241, - "end": 7247, + "start": 7103, + "end": 7109, "loc": { "start": { - "line": 197, + "line": 192, "column": 34 }, "end": { - "line": 197, + "line": 192, "column": 40 }, "identifierName": "player" @@ -60226,15 +60583,15 @@ }, "property": { "type": "Identifier", - "start": 7248, - "end": 7256, + "start": 7110, + "end": 7118, "loc": { "start": { - "line": 197, + "line": 192, "column": 41 }, "end": { - "line": 197, + "line": 192, "column": 49 }, "identifierName": "options_" @@ -60245,15 +60602,15 @@ }, "property": { "type": "Identifier", - "start": 7257, - "end": 7262, + "start": 7119, + "end": 7124, "loc": { "start": { - "line": 197, + "line": 192, "column": 50 }, "end": { - "line": 197, + "line": 192, "column": 55 }, "identifierName": "width" @@ -60265,29 +60622,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7266, - "end": 7276, + "start": 7128, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 59 }, "end": { - "line": 197, + "line": 192, "column": 69 } }, "object": { "type": "Identifier", - "start": 7266, - "end": 7270, + "start": 7128, + "end": 7132, "loc": { "start": { - "line": 197, + "line": 192, "column": 59 }, "end": { - "line": 197, + "line": 192, "column": 63 }, "identifierName": "rect" @@ -60296,15 +60653,15 @@ }, "property": { "type": "Identifier", - "start": 7271, - "end": 7276, + "start": 7133, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 64 }, "end": { - "line": 197, + "line": 192, "column": 69 }, "identifierName": "width" @@ -60318,73 +60675,73 @@ }, { "type": "ExpressionStatement", - "start": 7286, - "end": 7351, + "start": 7148, + "end": 7213, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7286, - "end": 7350, + "start": 7148, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7286, - "end": 7305, + "start": 7148, + "end": 7167, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7286, - "end": 7290, + "start": 7148, + "end": 7152, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7291, - "end": 7305, + "start": 7153, + "end": 7167, "loc": { "start": { - "line": 198, + "line": 193, "column": 13 }, "end": { - "line": 198, + "line": 193, "column": 27 }, "identifierName": "originalHeight" @@ -60395,86 +60752,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7308, - "end": 7350, + "start": 7170, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7308, - "end": 7335, + "start": 7170, + "end": 7197, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7308, - "end": 7328, + "start": 7170, + "end": 7190, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7308, - "end": 7319, + "start": 7170, + "end": 7181, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7308, - "end": 7312, + "start": 7170, + "end": 7174, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7313, - "end": 7319, + "start": 7175, + "end": 7181, "loc": { "start": { - "line": 198, + "line": 193, "column": 35 }, "end": { - "line": 198, + "line": 193, "column": 41 }, "identifierName": "player" @@ -60485,15 +60842,15 @@ }, "property": { "type": "Identifier", - "start": 7320, - "end": 7328, + "start": 7182, + "end": 7190, "loc": { "start": { - "line": 198, + "line": 193, "column": 42 }, "end": { - "line": 198, + "line": 193, "column": 50 }, "identifierName": "options_" @@ -60504,15 +60861,15 @@ }, "property": { "type": "Identifier", - "start": 7329, - "end": 7335, + "start": 7191, + "end": 7197, "loc": { "start": { - "line": 198, + "line": 193, "column": 51 }, "end": { - "line": 198, + "line": 193, "column": 57 }, "identifierName": "height" @@ -60524,29 +60881,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7339, - "end": 7350, + "start": 7201, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 61 }, "end": { - "line": 198, + "line": 193, "column": 72 } }, "object": { "type": "Identifier", - "start": 7339, - "end": 7343, + "start": 7201, + "end": 7205, "loc": { "start": { - "line": 198, + "line": 193, "column": 61 }, "end": { - "line": 198, + "line": 193, "column": 65 }, "identifierName": "rect" @@ -60555,15 +60912,15 @@ }, "property": { "type": "Identifier", - "start": 7344, - "end": 7350, + "start": 7206, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 66 }, "end": { - "line": 198, + "line": 193, "column": 72 }, "identifierName": "height" @@ -60578,15 +60935,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -60595,44 +60952,44 @@ }, { "type": "VariableDeclaration", - "start": 7383, - "end": 7438, + "start": 7245, + "end": 7300, "loc": { "start": { - "line": 201, + "line": 196, "column": 8 }, "end": { - "line": 201, + "line": 196, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7387, - "end": 7437, + "start": 7249, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 196, "column": 12 }, "end": { - "line": 201, + "line": 196, "column": 62 } }, "id": { "type": "Identifier", - "start": 7387, - "end": 7403, + "start": 7249, + "end": 7265, "loc": { "start": { - "line": 201, + "line": 196, "column": 12 }, "end": { - "line": 201, + "line": 196, "column": 28 }, "identifierName": "controlBarHeight" @@ -60642,86 +60999,86 @@ }, "init": { "type": "CallExpression", - "start": 7406, - "end": 7437, + "start": 7268, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7406, - "end": 7435, + "start": 7268, + "end": 7297, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7406, - "end": 7428, + "start": 7268, + "end": 7290, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7406, - "end": 7417, + "start": 7268, + "end": 7279, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7406, - "end": 7410, + "start": 7268, + "end": 7272, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7411, - "end": 7417, + "start": 7273, + "end": 7279, "loc": { "start": { - "line": 201, + "line": 196, "column": 36 }, "end": { - "line": 201, + "line": 196, "column": 42 }, "identifierName": "player" @@ -60732,15 +61089,15 @@ }, "property": { "type": "Identifier", - "start": 7418, - "end": 7428, + "start": 7280, + "end": 7290, "loc": { "start": { - "line": 201, + "line": 196, "column": 43 }, "end": { - "line": 201, + "line": 196, "column": 53 }, "identifierName": "controlBar" @@ -60751,15 +61108,15 @@ }, "property": { "type": "Identifier", - "start": 7429, - "end": 7435, + "start": 7291, + "end": 7297, "loc": { "start": { - "line": 201, + "line": 196, "column": 54 }, "end": { - "line": 201, + "line": 196, "column": 60 }, "identifierName": "height" @@ -60778,15 +61135,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -60795,114 +61152,114 @@ }, { "type": "IfStatement", - "start": 7447, - "end": 7777, + "start": 7309, + "end": 7639, "loc": { "start": { - "line": 202, + "line": 197, "column": 8 }, "end": { - "line": 207, + "line": 202, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7451, - "end": 7515, + "start": 7313, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7451, - "end": 7489, + "start": 7313, + "end": 7351, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7451, - "end": 7480, + "start": 7313, + "end": 7342, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7451, - "end": 7471, + "start": 7313, + "end": 7333, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7451, - "end": 7462, + "start": 7313, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7451, - "end": 7455, + "start": 7313, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7456, - "end": 7462, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 197, "column": 17 }, "end": { - "line": 202, + "line": 197, "column": 23 }, "identifierName": "player" @@ -60913,15 +61270,15 @@ }, "property": { "type": "Identifier", - "start": 7463, - "end": 7471, + "start": 7325, + "end": 7333, "loc": { "start": { - "line": 202, + "line": 197, "column": 24 }, "end": { - "line": 202, + "line": 197, "column": 32 }, "identifierName": "options_" @@ -60932,15 +61289,15 @@ }, "property": { "type": "Identifier", - "start": 7472, - "end": 7480, + "start": 7334, + "end": 7342, "loc": { "start": { - "line": 202, + "line": 197, "column": 33 }, "end": { - "line": 202, + "line": 197, "column": 41 }, "identifierName": "controls" @@ -60952,15 +61309,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7485, - "end": 7489, + "start": 7347, + "end": 7351, "loc": { "start": { - "line": 202, + "line": 197, "column": 46 }, "end": { - "line": 202, + "line": 197, "column": 50 } }, @@ -60970,29 +61327,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7493, - "end": 7515, + "start": 7355, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 54 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, "left": { "type": "Identifier", - "start": 7493, - "end": 7509, + "start": 7355, + "end": 7371, "loc": { "start": { - "line": 202, + "line": 197, "column": 54 }, "end": { - "line": 202, + "line": 197, "column": 70 }, "identifierName": "controlBarHeight" @@ -61002,15 +61359,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7514, - "end": 7515, + "start": 7376, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 75 }, "end": { - "line": 202, + "line": 197, "column": 76 } }, @@ -61024,59 +61381,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7517, - "end": 7777, + "start": 7379, + "end": 7639, "loc": { "start": { - "line": 202, + "line": 197, "column": 78 }, "end": { - "line": 207, + "line": 202, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7745, - "end": 7767, + "start": 7607, + "end": 7629, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7745, - "end": 7766, + "start": 7607, + "end": 7628, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7745, - "end": 7761, + "start": 7607, + "end": 7623, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 28 }, "identifierName": "controlBarHeight" @@ -61086,15 +61443,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7764, - "end": 7766, + "start": 7626, + "end": 7628, "loc": { "start": { - "line": 206, + "line": 201, "column": 31 }, "end": { - "line": 206, + "line": 201, "column": 33 } }, @@ -61110,15 +61467,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7531, - "end": 7592, + "start": 7393, + "end": 7454, "loc": { "start": { - "line": 203, + "line": 198, "column": 12 }, "end": { - "line": 203, + "line": 198, "column": 73 } } @@ -61126,15 +61483,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7605, - "end": 7668, + "start": 7467, + "end": 7530, "loc": { "start": { - "line": 204, + "line": 199, "column": 12 }, "end": { - "line": 204, + "line": 199, "column": 75 } } @@ -61142,15 +61499,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7681, - "end": 7732, + "start": 7543, + "end": 7594, "loc": { "start": { - "line": 205, + "line": 200, "column": 12 }, "end": { - "line": 205, + "line": 200, "column": 63 } } @@ -61166,15 +61523,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -61182,15 +61539,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -61198,15 +61555,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -61214,15 +61571,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -61230,15 +61587,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -61247,57 +61604,57 @@ }, { "type": "IfStatement", - "start": 8103, - "end": 8206, + "start": 7965, + "end": 8068, "loc": { "start": { - "line": 214, + "line": 209, "column": 8 }, "end": { - "line": 216, + "line": 211, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8107, - "end": 8141, + "start": 7969, + "end": 8003, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 8107, - "end": 8127, + "start": 7969, + "end": 7989, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 32 } }, "object": { "type": "Identifier", - "start": 8107, - "end": 8117, + "start": 7969, + "end": 7979, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 22 }, "identifierName": "surferOpts" @@ -61307,15 +61664,15 @@ }, "property": { "type": "Identifier", - "start": 8118, - "end": 8127, + "start": 7980, + "end": 7989, "loc": { "start": { - "line": 214, + "line": 209, "column": 23 }, "end": { - "line": 214, + "line": 209, "column": 32 }, "identifierName": "container" @@ -61328,15 +61685,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8132, - "end": 8141, + "start": 7994, + "end": 8003, "loc": { "start": { - "line": 214, + "line": 209, "column": 37 }, "end": { - "line": 214, + "line": 209, "column": 46 }, "identifierName": "undefined" @@ -61347,73 +61704,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8143, - "end": 8206, + "start": 8005, + "end": 8068, "loc": { "start": { - "line": 214, + "line": 209, "column": 48 }, "end": { - "line": 216, + "line": 211, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8157, - "end": 8196, + "start": 8019, + "end": 8058, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8157, - "end": 8195, + "start": 8019, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8157, - "end": 8177, + "start": 8019, + "end": 8039, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 32 } }, "object": { "type": "Identifier", - "start": 8157, - "end": 8167, + "start": 8019, + "end": 8029, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 22 }, "identifierName": "surferOpts" @@ -61422,15 +61779,15 @@ }, "property": { "type": "Identifier", - "start": 8168, - "end": 8177, + "start": 8030, + "end": 8039, "loc": { "start": { - "line": 215, + "line": 210, "column": 23 }, "end": { - "line": 215, + "line": 210, "column": 32 }, "identifierName": "container" @@ -61441,58 +61798,58 @@ }, "right": { "type": "MemberExpression", - "start": 8180, - "end": 8195, + "start": 8042, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8180, - "end": 8191, + "start": 8042, + "end": 8053, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8180, - "end": 8184, + "start": 8042, + "end": 8046, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8185, - "end": 8191, + "start": 8047, + "end": 8053, "loc": { "start": { - "line": 215, + "line": 210, "column": 40 }, "end": { - "line": 215, + "line": 210, "column": 46 }, "identifierName": "player" @@ -61503,15 +61860,15 @@ }, "property": { "type": "Identifier", - "start": 8192, - "end": 8195, + "start": 8054, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 47 }, "end": { - "line": 215, + "line": 210, "column": 50 }, "identifierName": "el_" @@ -61531,15 +61888,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -61547,15 +61904,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -61563,15 +61920,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -61579,15 +61936,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -61595,15 +61952,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -61613,15 +61970,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -61629,15 +61986,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -61645,15 +62002,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -61662,57 +62019,57 @@ }, { "type": "IfStatement", - "start": 8427, - "end": 8668, + "start": 8289, + "end": 8530, "loc": { "start": { - "line": 221, + "line": 216, "column": 8 }, "end": { - "line": 226, + "line": 221, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8431, - "end": 8470, + "start": 8293, + "end": 8332, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8431, - "end": 8456, + "start": 8293, + "end": 8318, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 37 } }, "object": { "type": "Identifier", - "start": 8431, - "end": 8441, + "start": 8293, + "end": 8303, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 22 }, "identifierName": "surferOpts" @@ -61722,15 +62079,15 @@ }, "property": { "type": "Identifier", - "start": 8442, - "end": 8456, + "start": 8304, + "end": 8318, "loc": { "start": { - "line": 221, + "line": 216, "column": 23 }, "end": { - "line": 221, + "line": 216, "column": 37 }, "identifierName": "waveformHeight" @@ -61743,15 +62100,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8461, - "end": 8470, + "start": 8323, + "end": 8332, "loc": { "start": { - "line": 221, + "line": 216, "column": 42 }, "end": { - "line": 221, + "line": 216, "column": 51 }, "identifierName": "undefined" @@ -61762,59 +62119,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8472, - "end": 8592, + "start": 8334, + "end": 8454, "loc": { "start": { - "line": 221, + "line": 216, "column": 53 }, "end": { - "line": 224, + "line": 219, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8486, - "end": 8517, + "start": 8348, + "end": 8379, "loc": { "start": { - "line": 222, + "line": 217, "column": 12 }, "end": { - "line": 222, + "line": 217, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8490, - "end": 8516, + "start": 8352, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 16 }, "end": { - "line": 222, + "line": 217, "column": 42 } }, "id": { "type": "Identifier", - "start": 8490, - "end": 8502, + "start": 8352, + "end": 8364, "loc": { "start": { - "line": 222, + "line": 217, "column": 16 }, "end": { - "line": 222, + "line": 217, "column": 28 }, "identifierName": "playerHeight" @@ -61823,29 +62180,29 @@ }, "init": { "type": "MemberExpression", - "start": 8505, - "end": 8516, + "start": 8367, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 31 }, "end": { - "line": 222, + "line": 217, "column": 42 } }, "object": { "type": "Identifier", - "start": 8505, - "end": 8509, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 222, + "line": 217, "column": 31 }, "end": { - "line": 222, + "line": 217, "column": 35 }, "identifierName": "rect" @@ -61854,15 +62211,15 @@ }, "property": { "type": "Identifier", - "start": 8510, - "end": 8516, + "start": 8372, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 36 }, "end": { - "line": 222, + "line": 217, "column": 42 }, "identifierName": "height" @@ -61877,58 +62234,58 @@ }, { "type": "ExpressionStatement", - "start": 8530, - "end": 8582, + "start": 8392, + "end": 8444, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8530, - "end": 8581, + "start": 8392, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8530, - "end": 8547, + "start": 8392, + "end": 8409, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 29 } }, "object": { "type": "Identifier", - "start": 8530, - "end": 8540, + "start": 8392, + "end": 8402, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 22 }, "identifierName": "surferOpts" @@ -61937,15 +62294,15 @@ }, "property": { "type": "Identifier", - "start": 8541, - "end": 8547, + "start": 8403, + "end": 8409, "loc": { "start": { - "line": 223, + "line": 218, "column": 23 }, "end": { - "line": 223, + "line": 218, "column": 29 }, "identifierName": "height" @@ -61956,29 +62313,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8550, - "end": 8581, + "start": 8412, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 32 }, "end": { - "line": 223, + "line": 218, "column": 63 } }, "left": { "type": "Identifier", - "start": 8550, - "end": 8562, + "start": 8412, + "end": 8424, "loc": { "start": { - "line": 223, + "line": 218, "column": 32 }, "end": { - "line": 223, + "line": 218, "column": 44 }, "identifierName": "playerHeight" @@ -61988,15 +62345,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8565, - "end": 8581, + "start": 8427, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 47 }, "end": { - "line": 223, + "line": 218, "column": 63 }, "identifierName": "controlBarHeight" @@ -62011,73 +62368,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8598, - "end": 8668, + "start": 8460, + "end": 8530, "loc": { "start": { - "line": 224, + "line": 219, "column": 15 }, "end": { - "line": 226, + "line": 221, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8612, - "end": 8658, + "start": 8474, + "end": 8520, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8612, - "end": 8657, + "start": 8474, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8612, - "end": 8629, + "start": 8474, + "end": 8491, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 29 } }, "object": { "type": "Identifier", - "start": 8612, - "end": 8622, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 22 }, "identifierName": "surferOpts" @@ -62086,15 +62443,15 @@ }, "property": { "type": "Identifier", - "start": 8623, - "end": 8629, + "start": 8485, + "end": 8491, "loc": { "start": { - "line": 225, + "line": 220, "column": 23 }, "end": { - "line": 225, + "line": 220, "column": 29 }, "identifierName": "height" @@ -62105,29 +62462,29 @@ }, "right": { "type": "MemberExpression", - "start": 8632, - "end": 8657, + "start": 8494, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 32 }, "end": { - "line": 225, + "line": 220, "column": 57 } }, "object": { "type": "Identifier", - "start": 8632, - "end": 8642, + "start": 8494, + "end": 8504, "loc": { "start": { - "line": 225, + "line": 220, "column": 32 }, "end": { - "line": 225, + "line": 220, "column": 42 }, "identifierName": "surferOpts" @@ -62136,15 +62493,15 @@ }, "property": { "type": "Identifier", - "start": 8643, - "end": 8657, + "start": 8505, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 43 }, "end": { - "line": 225, + "line": 220, "column": 57 }, "identifierName": "waveformHeight" @@ -62163,15 +62520,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -62179,15 +62536,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -62195,15 +62552,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -62213,15 +62570,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -62230,57 +62587,57 @@ }, { "type": "IfStatement", - "start": 8704, - "end": 8818, + "start": 8566, + "end": 8680, "loc": { "start": { - "line": 229, + "line": 224, "column": 8 }, "end": { - "line": 231, + "line": 226, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8708, - "end": 8769, + "start": 8570, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8708, - "end": 8732, + "start": 8570, + "end": 8594, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 36 } }, "object": { "type": "Identifier", - "start": 8708, - "end": 8718, + "start": 8570, + "end": 8580, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 22 }, "identifierName": "surferOpts" @@ -62290,15 +62647,15 @@ }, "property": { "type": "Identifier", - "start": 8719, - "end": 8732, + "start": 8581, + "end": 8594, "loc": { "start": { - "line": 229, + "line": 224, "column": 23 }, "end": { - "line": 229, + "line": 224, "column": 36 }, "identifierName": "splitChannels" @@ -62311,43 +62668,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8736, - "end": 8769, + "start": 8598, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8736, - "end": 8760, + "start": 8598, + "end": 8622, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 64 } }, "object": { "type": "Identifier", - "start": 8736, - "end": 8746, + "start": 8598, + "end": 8608, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 50 }, "identifierName": "surferOpts" @@ -62356,15 +62713,15 @@ }, "property": { "type": "Identifier", - "start": 8747, - "end": 8760, + "start": 8609, + "end": 8622, "loc": { "start": { - "line": 229, + "line": 224, "column": 51 }, "end": { - "line": 229, + "line": 224, "column": 64 }, "identifierName": "splitChannels" @@ -62376,15 +62733,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8765, - "end": 8769, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 69 }, "end": { - "line": 229, + "line": 224, "column": 73 } }, @@ -62395,73 +62752,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8771, - "end": 8818, + "start": 8633, + "end": 8680, "loc": { "start": { - "line": 229, + "line": 224, "column": 75 }, "end": { - "line": 231, + "line": 226, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8785, - "end": 8808, + "start": 8647, + "end": 8670, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8785, - "end": 8807, + "start": 8647, + "end": 8669, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8785, - "end": 8802, + "start": 8647, + "end": 8664, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 29 } }, "object": { "type": "Identifier", - "start": 8785, - "end": 8795, + "start": 8647, + "end": 8657, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 22 }, "identifierName": "surferOpts" @@ -62470,15 +62827,15 @@ }, "property": { "type": "Identifier", - "start": 8796, - "end": 8802, + "start": 8658, + "end": 8664, "loc": { "start": { - "line": 230, + "line": 225, "column": 23 }, "end": { - "line": 230, + "line": 225, "column": 29 }, "identifierName": "height" @@ -62489,15 +62846,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8806, - "end": 8807, + "start": 8668, + "end": 8669, "loc": { "start": { - "line": 230, + "line": 225, "column": 33 }, "end": { - "line": 230, + "line": 225, "column": 34 } }, @@ -62518,15 +62875,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -62536,15 +62893,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -62552,15 +62909,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -62569,43 +62926,43 @@ }, { "type": "IfStatement", - "start": 8924, - "end": 9092, + "start": 8786, + "end": 8952, "loc": { "start": { - "line": 235, + "line": 230, "column": 8 }, "end": { - "line": 239, + "line": 234, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8928, - "end": 8951, + "start": 8790, + "end": 8813, "loc": { "start": { - "line": 235, + "line": 230, "column": 12 }, "end": { - "line": 235, + "line": 230, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 8928, - "end": 8937, + "start": 8790, + "end": 8799, "loc": { "start": { - "line": 235, + "line": 230, "column": 12 }, "end": { - "line": 235, + "line": 230, "column": 21 } }, @@ -62619,15 +62976,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 8941, - "end": 8951, + "start": 8803, + "end": 8813, "loc": { "start": { - "line": 235, + "line": 230, "column": 25 }, "end": { - "line": 235, + "line": 230, "column": 35 }, "identifierName": "surferOpts" @@ -62638,88 +62995,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8953, - "end": 9011, + "start": 8815, + "end": 8873, "loc": { "start": { - "line": 235, + "line": 230, "column": 37 }, "end": { - "line": 237, + "line": 232, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8967, - "end": 9001, + "start": 8829, + "end": 8863, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 8967, - "end": 9000, + "start": 8829, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8967, - "end": 8979, + "start": 8829, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 8967, - "end": 8971, + "start": 8829, + "end": 8833, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 16 } } }, "property": { "type": "Identifier", - "start": 8972, - "end": 8979, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 231, "column": 17 }, "end": { - "line": 236, + "line": 231, "column": 24 }, "identifierName": "backend" @@ -62730,29 +63087,29 @@ }, "right": { "type": "MemberExpression", - "start": 8982, - "end": 9000, + "start": 8844, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 27 }, "end": { - "line": 236, + "line": 231, "column": 45 } }, "object": { "type": "Identifier", - "start": 8982, - "end": 8992, + "start": 8844, + "end": 8854, "loc": { "start": { - "line": 236, + "line": 231, "column": 27 }, "end": { - "line": 236, + "line": 231, "column": 37 }, "identifierName": "surferOpts" @@ -62761,15 +63118,15 @@ }, "property": { "type": "Identifier", - "start": 8993, - "end": 9000, + "start": 8855, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 38 }, "end": { - "line": 236, + "line": 231, "column": 45 }, "identifierName": "backend" @@ -62785,73 +63142,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 9017, - "end": 9092, + "start": 8879, + "end": 8952, "loc": { "start": { - "line": 237, + "line": 232, "column": 15 }, "end": { - "line": 239, + "line": 234, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9031, - "end": 9082, + "start": 8893, + "end": 8942, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, - "column": 63 + "line": 233, + "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9031, - "end": 9081, + "start": 8893, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9031, - "end": 9049, + "start": 8893, + "end": 8911, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, + "line": 233, "column": 30 } }, "object": { "type": "Identifier", - "start": 9031, - "end": 9041, + "start": 8893, + "end": 8903, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, + "line": 233, "column": 22 }, "identifierName": "surferOpts" @@ -62860,15 +63217,15 @@ }, "property": { "type": "Identifier", - "start": 9042, - "end": 9049, + "start": 8904, + "end": 8911, "loc": { "start": { - "line": 238, + "line": 233, "column": 23 }, "end": { - "line": 238, + "line": 233, "column": 30 }, "identifierName": "backend" @@ -62879,59 +63236,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 9052, - "end": 9081, + "start": 8914, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9052, - "end": 9064, + "start": 8914, + "end": 8926, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, + "line": 233, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 9052, - "end": 9056, + "start": 8914, + "end": 8918, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, + "line": 233, "column": 37 } } }, "property": { "type": "Identifier", - "start": 9057, - "end": 9064, + "start": 8919, + "end": 8926, "loc": { "start": { - "line": 238, + "line": 233, "column": 38 }, "end": { - "line": 238, + "line": 233, "column": 45 }, "identifierName": "backend" @@ -62941,24 +63298,21 @@ "computed": false }, "right": { - "type": "StringLiteral", - "start": 9067, - "end": 9081, + "type": "Identifier", + "start": 8929, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 48 }, "end": { - "line": 238, - "column": 62 - } - }, - "extra": { - "rawValue": "MediaElement", - "raw": "'MediaElement'" + "line": 233, + "column": 60 + }, + "identifierName": "MEDIAELEMENT" }, - "value": "MediaElement" + "name": "MEDIAELEMENT" } } } @@ -62970,15 +63324,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -62986,15 +63340,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -63003,29 +63357,29 @@ }, { "type": "ReturnStatement", - "start": 9102, - "end": 9120, + "start": 8962, + "end": 8980, "loc": { "start": { - "line": 241, + "line": 236, "column": 8 }, "end": { - "line": 241, + "line": 236, "column": 26 } }, "argument": { "type": "Identifier", - "start": 9109, - "end": 9119, + "start": 8969, + "end": 8979, "loc": { "start": { - "line": 241, + "line": 236, "column": 15 }, "end": { - "line": 241, + "line": 236, "column": 25 }, "identifierName": "surferOpts" @@ -63041,15 +63395,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -63059,15 +63413,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -63076,15 +63430,15 @@ }, { "type": "ClassMethod", - "start": 9337, - "end": 9960, + "start": 9197, + "end": 9816, "loc": { "start": { - "line": 251, + "line": 246, "column": 4 }, "end": { - "line": 265, + "line": 260, "column": 5 } }, @@ -63092,15 +63446,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9337, - "end": 9356, + "start": 9197, + "end": 9216, "loc": { "start": { - "line": 251, + "line": 246, "column": 4 }, "end": { - "line": 251, + "line": 246, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -63116,15 +63470,15 @@ "params": [ { "type": "Identifier", - "start": 9357, - "end": 9363, + "start": 9217, + "end": 9223, "loc": { "start": { - "line": 251, + "line": 246, "column": 24 }, "end": { - "line": 251, + "line": 246, "column": 30 }, "identifierName": "enable" @@ -63134,58 +63488,58 @@ ], "body": { "type": "BlockStatement", - "start": 9365, - "end": 9960, + "start": 9225, + "end": 9816, "loc": { "start": { - "line": 251, + "line": 246, "column": 32 }, "end": { - "line": 265, + "line": 260, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9375, - "end": 9954, + "start": 9235, + "end": 9810, "loc": { "start": { - "line": 252, + "line": 247, "column": 8 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9379, - "end": 9395, + "start": 9239, + "end": 9255, "loc": { "start": { - "line": 252, + "line": 247, "column": 12 }, "end": { - "line": 252, + "line": 247, "column": 28 } }, "left": { "type": "Identifier", - "start": 9379, - "end": 9385, + "start": 9239, + "end": 9245, "loc": { "start": { - "line": 252, + "line": 247, "column": 12 }, "end": { - "line": 252, + "line": 247, "column": 18 }, "identifierName": "enable" @@ -63195,15 +63549,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9390, - "end": 9395, + "start": 9250, + "end": 9255, "loc": { "start": { - "line": 252, + "line": 247, "column": 23 }, "end": { - "line": 252, + "line": 247, "column": 28 } }, @@ -63212,101 +63566,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9397, - "end": 9662, + "start": 9257, + "end": 9520, "loc": { "start": { - "line": 252, + "line": 247, "column": 30 }, "end": { - "line": 258, + "line": 253, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9411, - "end": 9457, + "start": 9271, + "end": 9317, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9411, - "end": 9456, + "start": 9271, + "end": 9316, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9411, - "end": 9425, + "start": 9271, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9411, - "end": 9422, + "start": 9271, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9411, - "end": 9415, + "start": 9271, + "end": 9275, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9416, - "end": 9422, + "start": 9276, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 248, "column": 17 }, "end": { - "line": 253, + "line": 248, "column": 23 }, "identifierName": "surfer" @@ -63317,15 +63671,15 @@ }, "property": { "type": "Identifier", - "start": 9423, - "end": 9425, + "start": 9283, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 248, "column": 24 }, "end": { - "line": 253, + "line": 248, "column": 26 }, "identifierName": "un" @@ -63337,29 +63691,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9426, - "end": 9437, + "start": 9286, + "end": 9297, "loc": { "start": { - "line": 253, + "line": 248, "column": 27 }, "end": { - "line": 253, + "line": 248, "column": 38 } }, "object": { "type": "Identifier", - "start": 9426, - "end": 9431, + "start": 9286, + "end": 9291, "loc": { "start": { - "line": 253, + "line": 248, "column": 27 }, "end": { - "line": 253, + "line": 248, "column": 32 }, "identifierName": "Event" @@ -63368,15 +63722,15 @@ }, "property": { "type": "Identifier", - "start": 9432, - "end": 9437, + "start": 9292, + "end": 9297, "loc": { "start": { - "line": 253, + "line": 248, "column": 33 }, "end": { - "line": 253, + "line": 248, "column": 38 }, "identifierName": "READY" @@ -63387,44 +63741,44 @@ }, { "type": "MemberExpression", - "start": 9439, - "end": 9455, + "start": 9299, + "end": 9315, "loc": { "start": { - "line": 253, + "line": 248, "column": 40 }, "end": { - "line": 253, + "line": 248, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9439, - "end": 9443, + "start": 9299, + "end": 9303, "loc": { "start": { - "line": 253, + "line": 248, "column": 40 }, "end": { - "line": 253, + "line": 248, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9444, - "end": 9455, + "start": 9304, + "end": 9315, "loc": { "start": { - "line": 253, + "line": 248, "column": 45 }, "end": { - "line": 253, + "line": 248, "column": 56 }, "identifierName": "surferReady" @@ -63438,72 +63792,72 @@ }, { "type": "IfStatement", - "start": 9470, - "end": 9652, + "start": 9330, + "end": 9510, "loc": { "start": { - "line": 254, + "line": 249, "column": 12 }, "end": { - "line": 257, + "line": 252, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9474, - "end": 9501, + "start": 9334, + "end": 9359, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, - "column": 43 + "line": 249, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9474, - "end": 9486, + "start": 9334, + "end": 9346, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, + "line": 249, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9474, - "end": 9478, + "start": 9334, + "end": 9338, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, + "line": 249, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9479, - "end": 9486, + "start": 9339, + "end": 9346, "loc": { "start": { - "line": 254, + "line": 249, "column": 21 }, "end": { - "line": 254, + "line": 249, "column": 28 }, "identifierName": "backend" @@ -63514,123 +63868,120 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 9491, - "end": 9501, + "type": "Identifier", + "start": 9351, + "end": 9359, "loc": { "start": { - "line": 254, + "line": 249, "column": 33 }, "end": { - "line": 254, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 249, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 9503, - "end": 9652, + "start": 9361, + "end": 9510, "loc": { "start": { - "line": 254, - "column": 45 + "line": 249, + "column": 43 }, "end": { - "line": 257, + "line": 252, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9521, - "end": 9577, + "start": 9379, + "end": 9435, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9521, - "end": 9576, + "start": 9379, + "end": 9434, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9521, - "end": 9535, + "start": 9379, + "end": 9393, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9521, - "end": 9532, + "start": 9379, + "end": 9390, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9521, - "end": 9525, + "start": 9379, + "end": 9383, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9526, - "end": 9532, + "start": 9384, + "end": 9390, "loc": { "start": { - "line": 255, + "line": 250, "column": 21 }, "end": { - "line": 255, + "line": 250, "column": 27 }, "identifierName": "surfer" @@ -63641,15 +63992,15 @@ }, "property": { "type": "Identifier", - "start": 9533, - "end": 9535, + "start": 9391, + "end": 9393, "loc": { "start": { - "line": 255, + "line": 250, "column": 28 }, "end": { - "line": 255, + "line": 250, "column": 30 }, "identifierName": "un" @@ -63661,29 +64012,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9536, - "end": 9554, + "start": 9394, + "end": 9412, "loc": { "start": { - "line": 255, + "line": 250, "column": 31 }, "end": { - "line": 255, + "line": 250, "column": 49 } }, "object": { "type": "Identifier", - "start": 9536, - "end": 9541, + "start": 9394, + "end": 9399, "loc": { "start": { - "line": 255, + "line": 250, "column": 31 }, "end": { - "line": 255, + "line": 250, "column": 36 }, "identifierName": "Event" @@ -63692,15 +64043,15 @@ }, "property": { "type": "Identifier", - "start": 9542, - "end": 9554, + "start": 9400, + "end": 9412, "loc": { "start": { - "line": 255, + "line": 250, "column": 37 }, "end": { - "line": 255, + "line": 250, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -63711,44 +64062,44 @@ }, { "type": "MemberExpression", - "start": 9556, - "end": 9575, + "start": 9414, + "end": 9433, "loc": { "start": { - "line": 255, + "line": 250, "column": 51 }, "end": { - "line": 255, + "line": 250, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9556, - "end": 9560, + "start": 9414, + "end": 9418, "loc": { "start": { - "line": 255, + "line": 250, "column": 51 }, "end": { - "line": 255, + "line": 250, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9561, - "end": 9575, + "start": 9419, + "end": 9433, "loc": { "start": { - "line": 255, + "line": 250, "column": 56 }, "end": { - "line": 255, + "line": 250, "column": 70 }, "identifierName": "surferProgress" @@ -63762,86 +64113,86 @@ }, { "type": "ExpressionStatement", - "start": 9594, - "end": 9638, + "start": 9452, + "end": 9496, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9594, - "end": 9637, + "start": 9452, + "end": 9495, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9594, - "end": 9608, + "start": 9452, + "end": 9466, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9594, - "end": 9605, + "start": 9452, + "end": 9463, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9594, - "end": 9598, + "start": 9452, + "end": 9456, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9599, - "end": 9605, + "start": 9457, + "end": 9463, "loc": { "start": { - "line": 256, + "line": 251, "column": 21 }, "end": { - "line": 256, + "line": 251, "column": 27 }, "identifierName": "surfer" @@ -63852,15 +64203,15 @@ }, "property": { "type": "Identifier", - "start": 9606, - "end": 9608, + "start": 9464, + "end": 9466, "loc": { "start": { - "line": 256, + "line": 251, "column": 28 }, "end": { - "line": 256, + "line": 251, "column": 30 }, "identifierName": "un" @@ -63872,29 +64223,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9609, - "end": 9619, + "start": 9467, + "end": 9477, "loc": { "start": { - "line": 256, + "line": 251, "column": 31 }, "end": { - "line": 256, + "line": 251, "column": 41 } }, "object": { "type": "Identifier", - "start": 9609, - "end": 9614, + "start": 9467, + "end": 9472, "loc": { "start": { - "line": 256, + "line": 251, "column": 31 }, "end": { - "line": 256, + "line": 251, "column": 36 }, "identifierName": "Event" @@ -63903,15 +64254,15 @@ }, "property": { "type": "Identifier", - "start": 9615, - "end": 9619, + "start": 9473, + "end": 9477, "loc": { "start": { - "line": 256, + "line": 251, "column": 37 }, "end": { - "line": 256, + "line": 251, "column": 41 }, "identifierName": "SEEK" @@ -63922,44 +64273,44 @@ }, { "type": "MemberExpression", - "start": 9621, - "end": 9636, + "start": 9479, + "end": 9494, "loc": { "start": { - "line": 256, + "line": 251, "column": 43 }, "end": { - "line": 256, + "line": 251, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9621, - "end": 9625, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 256, + "line": 251, "column": 43 }, "end": { - "line": 256, + "line": 251, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9626, - "end": 9636, + "start": 9484, + "end": 9494, "loc": { "start": { - "line": 256, + "line": 251, "column": 48 }, "end": { - "line": 256, + "line": 251, "column": 58 }, "identifierName": "surferSeek" @@ -63981,43 +64332,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9668, - "end": 9954, + "start": 9526, + "end": 9810, "loc": { "start": { - "line": 258, + "line": 253, "column": 15 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9672, - "end": 9687, + "start": 9530, + "end": 9545, "loc": { "start": { - "line": 258, + "line": 253, "column": 19 }, "end": { - "line": 258, + "line": 253, "column": 34 } }, "left": { "type": "Identifier", - "start": 9672, - "end": 9678, + "start": 9530, + "end": 9536, "loc": { "start": { - "line": 258, + "line": 253, "column": 19 }, "end": { - "line": 258, + "line": 253, "column": 25 }, "identifierName": "enable" @@ -64027,15 +64378,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9683, - "end": 9687, + "start": 9541, + "end": 9545, "loc": { "start": { - "line": 258, + "line": 253, "column": 30 }, "end": { - "line": 258, + "line": 253, "column": 34 } }, @@ -64044,101 +64395,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9689, - "end": 9954, + "start": 9547, + "end": 9810, "loc": { "start": { - "line": 258, + "line": 253, "column": 36 }, "end": { - "line": 264, + "line": 259, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9703, - "end": 9749, + "start": 9561, + "end": 9607, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9703, - "end": 9748, + "start": 9561, + "end": 9606, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9703, - "end": 9717, + "start": 9561, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9703, - "end": 9714, + "start": 9561, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9703, - "end": 9707, + "start": 9561, + "end": 9565, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9708, - "end": 9714, + "start": 9566, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 254, "column": 17 }, "end": { - "line": 259, + "line": 254, "column": 23 }, "identifierName": "surfer" @@ -64149,15 +64500,15 @@ }, "property": { "type": "Identifier", - "start": 9715, - "end": 9717, + "start": 9573, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 254, "column": 24 }, "end": { - "line": 259, + "line": 254, "column": 26 }, "identifierName": "on" @@ -64169,29 +64520,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9718, - "end": 9729, + "start": 9576, + "end": 9587, "loc": { "start": { - "line": 259, + "line": 254, "column": 27 }, "end": { - "line": 259, + "line": 254, "column": 38 } }, "object": { "type": "Identifier", - "start": 9718, - "end": 9723, + "start": 9576, + "end": 9581, "loc": { "start": { - "line": 259, + "line": 254, "column": 27 }, "end": { - "line": 259, + "line": 254, "column": 32 }, "identifierName": "Event" @@ -64200,15 +64551,15 @@ }, "property": { "type": "Identifier", - "start": 9724, - "end": 9729, + "start": 9582, + "end": 9587, "loc": { "start": { - "line": 259, + "line": 254, "column": 33 }, "end": { - "line": 259, + "line": 254, "column": 38 }, "identifierName": "READY" @@ -64219,44 +64570,44 @@ }, { "type": "MemberExpression", - "start": 9731, - "end": 9747, + "start": 9589, + "end": 9605, "loc": { "start": { - "line": 259, + "line": 254, "column": 40 }, "end": { - "line": 259, + "line": 254, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9731, - "end": 9735, + "start": 9589, + "end": 9593, "loc": { "start": { - "line": 259, + "line": 254, "column": 40 }, "end": { - "line": 259, + "line": 254, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9736, - "end": 9747, + "start": 9594, + "end": 9605, "loc": { "start": { - "line": 259, + "line": 254, "column": 45 }, "end": { - "line": 259, + "line": 254, "column": 56 }, "identifierName": "surferReady" @@ -64270,72 +64621,72 @@ }, { "type": "IfStatement", - "start": 9762, - "end": 9944, + "start": 9620, + "end": 9800, "loc": { "start": { - "line": 260, + "line": 255, "column": 12 }, "end": { - "line": 263, + "line": 258, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9766, - "end": 9793, + "start": 9624, + "end": 9649, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, - "column": 43 + "line": 255, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9766, - "end": 9778, + "start": 9624, + "end": 9636, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, + "line": 255, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9766, - "end": 9770, + "start": 9624, + "end": 9628, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, + "line": 255, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9771, - "end": 9778, + "start": 9629, + "end": 9636, "loc": { "start": { - "line": 260, + "line": 255, "column": 21 }, "end": { - "line": 260, + "line": 255, "column": 28 }, "identifierName": "backend" @@ -64346,123 +64697,120 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 9783, - "end": 9793, + "type": "Identifier", + "start": 9641, + "end": 9649, "loc": { "start": { - "line": 260, + "line": 255, "column": 33 }, "end": { - "line": 260, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 255, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 9795, - "end": 9944, + "start": 9651, + "end": 9800, "loc": { "start": { - "line": 260, - "column": 45 + "line": 255, + "column": 43 }, "end": { - "line": 263, + "line": 258, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9813, - "end": 9869, + "start": 9669, + "end": 9725, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9813, - "end": 9868, + "start": 9669, + "end": 9724, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9813, - "end": 9827, + "start": 9669, + "end": 9683, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9813, - "end": 9824, + "start": 9669, + "end": 9680, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9813, - "end": 9817, + "start": 9669, + "end": 9673, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9818, - "end": 9824, + "start": 9674, + "end": 9680, "loc": { "start": { - "line": 261, + "line": 256, "column": 21 }, "end": { - "line": 261, + "line": 256, "column": 27 }, "identifierName": "surfer" @@ -64473,15 +64821,15 @@ }, "property": { "type": "Identifier", - "start": 9825, - "end": 9827, + "start": 9681, + "end": 9683, "loc": { "start": { - "line": 261, + "line": 256, "column": 28 }, "end": { - "line": 261, + "line": 256, "column": 30 }, "identifierName": "on" @@ -64493,29 +64841,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9828, - "end": 9846, + "start": 9684, + "end": 9702, "loc": { "start": { - "line": 261, + "line": 256, "column": 31 }, "end": { - "line": 261, + "line": 256, "column": 49 } }, "object": { "type": "Identifier", - "start": 9828, - "end": 9833, + "start": 9684, + "end": 9689, "loc": { "start": { - "line": 261, + "line": 256, "column": 31 }, "end": { - "line": 261, + "line": 256, "column": 36 }, "identifierName": "Event" @@ -64524,15 +64872,15 @@ }, "property": { "type": "Identifier", - "start": 9834, - "end": 9846, + "start": 9690, + "end": 9702, "loc": { "start": { - "line": 261, + "line": 256, "column": 37 }, "end": { - "line": 261, + "line": 256, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -64543,44 +64891,44 @@ }, { "type": "MemberExpression", - "start": 9848, - "end": 9867, + "start": 9704, + "end": 9723, "loc": { "start": { - "line": 261, + "line": 256, "column": 51 }, "end": { - "line": 261, + "line": 256, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9848, - "end": 9852, + "start": 9704, + "end": 9708, "loc": { "start": { - "line": 261, + "line": 256, "column": 51 }, "end": { - "line": 261, + "line": 256, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9853, - "end": 9867, + "start": 9709, + "end": 9723, "loc": { "start": { - "line": 261, + "line": 256, "column": 56 }, "end": { - "line": 261, + "line": 256, "column": 70 }, "identifierName": "surferProgress" @@ -64594,86 +64942,86 @@ }, { "type": "ExpressionStatement", - "start": 9886, - "end": 9930, + "start": 9742, + "end": 9786, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9886, - "end": 9929, + "start": 9742, + "end": 9785, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9886, - "end": 9900, + "start": 9742, + "end": 9756, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9886, - "end": 9897, + "start": 9742, + "end": 9753, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9886, - "end": 9890, + "start": 9742, + "end": 9746, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9891, - "end": 9897, + "start": 9747, + "end": 9753, "loc": { "start": { - "line": 262, + "line": 257, "column": 21 }, "end": { - "line": 262, + "line": 257, "column": 27 }, "identifierName": "surfer" @@ -64684,15 +65032,15 @@ }, "property": { "type": "Identifier", - "start": 9898, - "end": 9900, + "start": 9754, + "end": 9756, "loc": { "start": { - "line": 262, + "line": 257, "column": 28 }, "end": { - "line": 262, + "line": 257, "column": 30 }, "identifierName": "on" @@ -64704,29 +65052,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9901, - "end": 9911, + "start": 9757, + "end": 9767, "loc": { "start": { - "line": 262, + "line": 257, "column": 31 }, "end": { - "line": 262, + "line": 257, "column": 41 } }, "object": { "type": "Identifier", - "start": 9901, - "end": 9906, + "start": 9757, + "end": 9762, "loc": { "start": { - "line": 262, + "line": 257, "column": 31 }, "end": { - "line": 262, + "line": 257, "column": 36 }, "identifierName": "Event" @@ -64735,15 +65083,15 @@ }, "property": { "type": "Identifier", - "start": 9907, - "end": 9911, + "start": 9763, + "end": 9767, "loc": { "start": { - "line": 262, + "line": 257, "column": 37 }, "end": { - "line": 262, + "line": 257, "column": 41 }, "identifierName": "SEEK" @@ -64754,44 +65102,44 @@ }, { "type": "MemberExpression", - "start": 9913, - "end": 9928, + "start": 9769, + "end": 9784, "loc": { "start": { - "line": 262, + "line": 257, "column": 43 }, "end": { - "line": 262, + "line": 257, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9913, - "end": 9917, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 262, + "line": 257, "column": 43 }, "end": { - "line": 262, + "line": 257, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9918, - "end": 9928, + "start": 9774, + "end": 9784, "loc": { "start": { - "line": 262, + "line": 257, "column": 48 }, "end": { - "line": 262, + "line": 257, "column": 58 }, "identifierName": "surferSeek" @@ -64822,15 +65170,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -64840,15 +65188,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -64857,15 +65205,15 @@ }, { "type": "ClassMethod", - "start": 10263, - "end": 10909, + "start": 10119, + "end": 10765, "loc": { "start": { - "line": 275, + "line": 270, "column": 4 }, "end": { - "line": 293, + "line": 288, "column": 5 } }, @@ -64873,15 +65221,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10263, - "end": 10267, + "start": 10119, + "end": 10123, "loc": { "start": { - "line": 275, + "line": 270, "column": 4 }, "end": { - "line": 275, + "line": 270, "column": 8 }, "identifierName": "load" @@ -64897,15 +65245,15 @@ "params": [ { "type": "Identifier", - "start": 10268, - "end": 10271, + "start": 10124, + "end": 10127, "loc": { "start": { - "line": 275, + "line": 270, "column": 9 }, "end": { - "line": 275, + "line": 270, "column": 12 }, "identifierName": "url" @@ -64914,15 +65262,15 @@ }, { "type": "Identifier", - "start": 10273, - "end": 10278, + "start": 10129, + "end": 10134, "loc": { "start": { - "line": 275, + "line": 270, "column": 14 }, "end": { - "line": 275, + "line": 270, "column": 19 }, "identifierName": "peaks" @@ -64932,72 +65280,72 @@ ], "body": { "type": "BlockStatement", - "start": 10280, - "end": 10909, + "start": 10136, + "end": 10765, "loc": { "start": { - "line": 275, + "line": 270, "column": 21 }, "end": { - "line": 293, + "line": 288, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10290, - "end": 10903, + "start": 10146, + "end": 10759, "loc": { "start": { - "line": 276, + "line": 271, "column": 8 }, "end": { - "line": 292, + "line": 287, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10294, - "end": 10336, + "start": 10150, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10294, - "end": 10313, + "start": 10150, + "end": 10169, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 31 } }, "left": { "type": "Identifier", - "start": 10294, - "end": 10297, + "start": 10150, + "end": 10153, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 15 }, "identifierName": "url" @@ -65007,15 +65355,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10309, - "end": 10313, + "start": 10165, + "end": 10169, "loc": { "start": { - "line": 276, + "line": 271, "column": 27 }, "end": { - "line": 276, + "line": 271, "column": 31 }, "identifierName": "Blob" @@ -65026,29 +65374,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10317, - "end": 10336, + "start": 10173, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 35 }, "end": { - "line": 276, + "line": 271, "column": 54 } }, "left": { "type": "Identifier", - "start": 10317, - "end": 10320, + "start": 10173, + "end": 10176, "loc": { "start": { - "line": 276, + "line": 271, "column": 35 }, "end": { - "line": 276, + "line": 271, "column": 38 }, "identifierName": "url" @@ -65058,15 +65406,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10332, - "end": 10336, + "start": 10188, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 50 }, "end": { - "line": 276, + "line": 271, "column": 54 }, "identifierName": "File" @@ -65077,87 +65425,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10338, - "end": 10452, + "start": 10194, + "end": 10308, "loc": { "start": { - "line": 276, + "line": 271, "column": 56 }, "end": { - "line": 279, + "line": 274, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10352, - "end": 10403, + "start": 10208, + "end": 10259, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10352, - "end": 10402, + "start": 10208, + "end": 10258, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10352, - "end": 10360, + "start": 10208, + "end": 10216, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10352, - "end": 10356, + "start": 10208, + "end": 10212, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10357, - "end": 10360, + "start": 10213, + "end": 10216, "loc": { "start": { - "line": 277, + "line": 272, "column": 17 }, "end": { - "line": 277, + "line": 272, "column": 20 }, "identifierName": "log" @@ -65169,29 +65517,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10361, - "end": 10401, + "start": 10217, + "end": 10257, "loc": { "start": { - "line": 277, + "line": 272, "column": 21 }, "end": { - "line": 277, + "line": 272, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10361, - "end": 10379, + "start": 10217, + "end": 10235, "loc": { "start": { - "line": 277, + "line": 272, "column": 21 }, "end": { - "line": 277, + "line": 272, "column": 39 } }, @@ -65204,43 +65552,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10382, - "end": 10401, + "start": 10238, + "end": 10257, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10382, - "end": 10396, + "start": 10238, + "end": 10252, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 56 } }, "object": { "type": "Identifier", - "start": 10382, - "end": 10386, + "start": 10238, + "end": 10242, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 46 }, "identifierName": "JSON" @@ -65249,15 +65597,15 @@ }, "property": { "type": "Identifier", - "start": 10387, - "end": 10396, + "start": 10243, + "end": 10252, "loc": { "start": { - "line": 277, + "line": 272, "column": 47 }, "end": { - "line": 277, + "line": 272, "column": 56 }, "identifierName": "stringify" @@ -65269,15 +65617,15 @@ "arguments": [ { "type": "Identifier", - "start": 10397, - "end": 10400, + "start": 10253, + "end": 10256, "loc": { "start": { - "line": 277, + "line": 272, "column": 57 }, "end": { - "line": 277, + "line": 272, "column": 60 }, "identifierName": "url" @@ -65292,86 +65640,86 @@ }, { "type": "ExpressionStatement", - "start": 10416, - "end": 10442, + "start": 10272, + "end": 10298, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10416, - "end": 10441, + "start": 10272, + "end": 10297, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10416, - "end": 10436, + "start": 10272, + "end": 10292, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10416, - "end": 10427, + "start": 10272, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10416, - "end": 10420, + "start": 10272, + "end": 10276, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10421, - "end": 10427, + "start": 10277, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 273, "column": 17 }, "end": { - "line": 278, + "line": 273, "column": 23 }, "identifierName": "surfer" @@ -65382,15 +65730,15 @@ }, "property": { "type": "Identifier", - "start": 10428, - "end": 10436, + "start": 10284, + "end": 10292, "loc": { "start": { - "line": 278, + "line": 273, "column": 24 }, "end": { - "line": 278, + "line": 273, "column": 32 }, "identifierName": "loadBlob" @@ -65402,15 +65750,15 @@ "arguments": [ { "type": "Identifier", - "start": 10437, - "end": 10440, + "start": 10293, + "end": 10296, "loc": { "start": { - "line": 278, + "line": 273, "column": 33 }, "end": { - "line": 278, + "line": 273, "column": 36 }, "identifierName": "url" @@ -65425,58 +65773,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10458, - "end": 10903, + "start": 10314, + "end": 10759, "loc": { "start": { - "line": 279, + "line": 274, "column": 15 }, "end": { - "line": 292, + "line": 287, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10521, - "end": 10893, + "start": 10377, + "end": 10749, "loc": { "start": { - "line": 281, + "line": 276, "column": 12 }, "end": { - "line": 291, + "line": 286, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10525, - "end": 10544, + "start": 10381, + "end": 10400, "loc": { "start": { - "line": 281, + "line": 276, "column": 16 }, "end": { - "line": 281, + "line": 276, "column": 35 } }, "left": { "type": "Identifier", - "start": 10525, - "end": 10530, + "start": 10381, + "end": 10386, "loc": { "start": { - "line": 281, + "line": 276, "column": 16 }, "end": { - "line": 281, + "line": 276, "column": 21 }, "identifierName": "peaks" @@ -65487,15 +65835,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10535, - "end": 10544, + "start": 10391, + "end": 10400, "loc": { "start": { - "line": 281, + "line": 276, "column": 26 }, "end": { - "line": 281, + "line": 276, "column": 35 }, "identifierName": "undefined" @@ -65506,87 +65854,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10546, - "end": 10605, + "start": 10402, + "end": 10461, "loc": { "start": { - "line": 281, + "line": 276, "column": 37 }, "end": { - "line": 283, + "line": 278, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10564, - "end": 10591, + "start": 10420, + "end": 10447, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10564, - "end": 10590, + "start": 10420, + "end": 10446, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10564, - "end": 10578, + "start": 10420, + "end": 10434, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10564, - "end": 10568, + "start": 10420, + "end": 10424, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10569, - "end": 10578, + "start": 10425, + "end": 10434, "loc": { "start": { - "line": 282, + "line": 277, "column": 21 }, "end": { - "line": 282, + "line": 277, "column": 30 }, "identifierName": "loadPeaks" @@ -65598,15 +65946,15 @@ "arguments": [ { "type": "Identifier", - "start": 10579, - "end": 10582, + "start": 10435, + "end": 10438, "loc": { "start": { - "line": 282, + "line": 277, "column": 31 }, "end": { - "line": 282, + "line": 277, "column": 34 }, "identifierName": "url" @@ -65615,15 +65963,15 @@ }, { "type": "Identifier", - "start": 10584, - "end": 10589, + "start": 10440, + "end": 10445, "loc": { "start": { - "line": 282, + "line": 277, "column": 36 }, "end": { - "line": 282, + "line": 277, "column": 41 }, "identifierName": "peaks" @@ -65638,58 +65986,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10611, - "end": 10893, + "start": 10467, + "end": 10749, "loc": { "start": { - "line": 283, + "line": 278, "column": 19 }, "end": { - "line": 291, + "line": 286, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10657, - "end": 10840, + "start": 10513, + "end": 10696, "loc": { "start": { - "line": 285, + "line": 280, "column": 16 }, "end": { - "line": 289, + "line": 284, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10661, - "end": 10684, + "start": 10517, + "end": 10540, "loc": { "start": { - "line": 285, + "line": 280, "column": 20 }, "end": { - "line": 285, + "line": 280, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10661, - "end": 10671, + "start": 10517, + "end": 10527, "loc": { "start": { - "line": 285, + "line": 280, "column": 20 }, "end": { - "line": 285, + "line": 280, "column": 30 } }, @@ -65697,15 +66045,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10668, - "end": 10671, + "start": 10524, + "end": 10527, "loc": { "start": { - "line": 285, + "line": 280, "column": 27 }, "end": { - "line": 285, + "line": 280, "column": 30 }, "identifierName": "url" @@ -65721,15 +66069,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10676, - "end": 10684, + "start": 10532, + "end": 10540, "loc": { "start": { - "line": 285, + "line": 280, "column": 35 }, "end": { - "line": 285, + "line": 280, "column": 43 } }, @@ -65743,87 +66091,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10686, - "end": 10758, + "start": 10542, + "end": 10614, "loc": { "start": { - "line": 285, + "line": 280, "column": 45 }, "end": { - "line": 287, + "line": 282, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10708, - "end": 10740, + "start": 10564, + "end": 10596, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10708, - "end": 10739, + "start": 10564, + "end": 10595, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10708, - "end": 10716, + "start": 10564, + "end": 10572, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10708, - "end": 10712, + "start": 10564, + "end": 10568, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10713, - "end": 10716, + "start": 10569, + "end": 10572, "loc": { "start": { - "line": 286, + "line": 281, "column": 25 }, "end": { - "line": 286, + "line": 281, "column": 28 }, "identifierName": "log" @@ -65835,29 +66183,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10717, - "end": 10738, + "start": 10573, + "end": 10594, "loc": { "start": { - "line": 286, + "line": 281, "column": 29 }, "end": { - "line": 286, + "line": 281, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10717, - "end": 10732, + "start": 10573, + "end": 10588, "loc": { "start": { - "line": 286, + "line": 281, "column": 29 }, "end": { - "line": 286, + "line": 281, "column": 44 } }, @@ -65870,15 +66218,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10735, - "end": 10738, + "start": 10591, + "end": 10594, "loc": { "start": { - "line": 286, + "line": 281, "column": 47 }, "end": { - "line": 286, + "line": 281, "column": 50 }, "identifierName": "url" @@ -65894,87 +66242,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10764, - "end": 10840, + "start": 10620, + "end": 10696, "loc": { "start": { - "line": 287, + "line": 282, "column": 23 }, "end": { - "line": 289, + "line": 284, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10786, - "end": 10822, + "start": 10642, + "end": 10678, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10786, - "end": 10821, + "start": 10642, + "end": 10677, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10786, - "end": 10794, + "start": 10642, + "end": 10650, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10786, - "end": 10790, + "start": 10642, + "end": 10646, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10791, - "end": 10794, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 288, + "line": 283, "column": 25 }, "end": { - "line": 288, + "line": 283, "column": 28 }, "identifierName": "log" @@ -65986,29 +66334,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10795, - "end": 10820, + "start": 10651, + "end": 10676, "loc": { "start": { - "line": 288, + "line": 283, "column": 29 }, "end": { - "line": 288, + "line": 283, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10795, - "end": 10814, + "start": 10651, + "end": 10670, "loc": { "start": { - "line": 288, + "line": 283, "column": 29 }, "end": { - "line": 288, + "line": 283, "column": 48 } }, @@ -66021,15 +66369,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10817, - "end": 10820, + "start": 10673, + "end": 10676, "loc": { "start": { - "line": 288, + "line": 283, "column": 51 }, "end": { - "line": 288, + "line": 283, "column": 54 }, "identifierName": "url" @@ -66047,15 +66395,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10629, - "end": 10640, + "start": 10485, + "end": 10496, "loc": { "start": { - "line": 284, + "line": 279, "column": 16 }, "end": { - "line": 284, + "line": 279, "column": 27 } } @@ -66064,86 +66412,86 @@ }, { "type": "ExpressionStatement", - "start": 10857, - "end": 10879, + "start": 10713, + "end": 10735, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10857, - "end": 10878, + "start": 10713, + "end": 10734, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10857, - "end": 10873, + "start": 10713, + "end": 10729, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10857, - "end": 10868, + "start": 10713, + "end": 10724, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10857, - "end": 10861, + "start": 10713, + "end": 10717, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10862, - "end": 10868, + "start": 10718, + "end": 10724, "loc": { "start": { - "line": 290, + "line": 285, "column": 21 }, "end": { - "line": 290, + "line": 285, "column": 27 }, "identifierName": "surfer" @@ -66154,15 +66502,15 @@ }, "property": { "type": "Identifier", - "start": 10869, - "end": 10873, + "start": 10725, + "end": 10729, "loc": { "start": { - "line": 290, + "line": 285, "column": 28 }, "end": { - "line": 290, + "line": 285, "column": 32 }, "identifierName": "load" @@ -66174,15 +66522,15 @@ "arguments": [ { "type": "Identifier", - "start": 10874, - "end": 10877, + "start": 10730, + "end": 10733, "loc": { "start": { - "line": 290, + "line": 285, "column": 33 }, "end": { - "line": 290, + "line": 285, "column": 36 }, "identifierName": "url" @@ -66199,15 +66547,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10472, - "end": 10508, + "start": 10328, + "end": 10364, "loc": { "start": { - "line": 280, + "line": 275, "column": 12 }, "end": { - "line": 280, + "line": 275, "column": 48 } } @@ -66226,15 +66574,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -66244,15 +66592,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -66261,15 +66609,15 @@ }, { "type": "ClassMethod", - "start": 11212, - "end": 12665, + "start": 11068, + "end": 12521, "loc": { "start": { - "line": 303, + "line": 298, "column": 4 }, "end": { - "line": 339, + "line": 334, "column": 5 } }, @@ -66277,15 +66625,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11212, - "end": 11221, + "start": 11068, + "end": 11077, "loc": { "start": { - "line": 303, + "line": 298, "column": 4 }, "end": { - "line": 303, + "line": 298, "column": 13 }, "identifierName": "loadPeaks" @@ -66301,15 +66649,15 @@ "params": [ { "type": "Identifier", - "start": 11222, - "end": 11225, + "start": 11078, + "end": 11081, "loc": { "start": { - "line": 303, + "line": 298, "column": 14 }, "end": { - "line": 303, + "line": 298, "column": 17 }, "identifierName": "url" @@ -66318,15 +66666,15 @@ }, { "type": "Identifier", - "start": 11227, - "end": 11232, + "start": 11083, + "end": 11088, "loc": { "start": { - "line": 303, + "line": 298, "column": 19 }, "end": { - "line": 303, + "line": 298, "column": 24 }, "identifierName": "peaks" @@ -66336,72 +66684,72 @@ ], "body": { "type": "BlockStatement", - "start": 11234, - "end": 12665, + "start": 11090, + "end": 12521, "loc": { "start": { - "line": 303, + "line": 298, "column": 26 }, "end": { - "line": 339, + "line": 334, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11244, - "end": 12659, + "start": 11100, + "end": 12515, "loc": { "start": { - "line": 304, + "line": 299, "column": 8 }, "end": { - "line": 338, + "line": 333, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11248, - "end": 11268, + "start": 11104, + "end": 11124, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11248, - "end": 11261, + "start": 11104, + "end": 11117, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 25 } }, "object": { "type": "Identifier", - "start": 11248, - "end": 11253, + "start": 11104, + "end": 11109, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 17 }, "identifierName": "Array" @@ -66410,15 +66758,15 @@ }, "property": { "type": "Identifier", - "start": 11254, - "end": 11261, + "start": 11110, + "end": 11117, "loc": { "start": { - "line": 304, + "line": 299, "column": 18 }, "end": { - "line": 304, + "line": 299, "column": 25 }, "identifierName": "isArray" @@ -66430,15 +66778,15 @@ "arguments": [ { "type": "Identifier", - "start": 11262, - "end": 11267, + "start": 11118, + "end": 11123, "loc": { "start": { - "line": 304, + "line": 299, "column": 26 }, "end": { - "line": 304, + "line": 299, "column": 31 }, "identifierName": "peaks" @@ -66449,72 +66797,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11270, - "end": 11427, + "start": 11126, + "end": 11283, "loc": { "start": { - "line": 304, + "line": 299, "column": 34 }, "end": { - "line": 308, + "line": 303, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11323, - "end": 11375, + "start": 11179, + "end": 11231, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11323, - "end": 11374, + "start": 11179, + "end": 11230, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11323, - "end": 11331, + "start": 11179, + "end": 11187, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11323, - "end": 11327, + "start": 11179, + "end": 11183, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 16 } }, @@ -66522,15 +66870,15 @@ }, "property": { "type": "Identifier", - "start": 11328, - "end": 11331, + "start": 11184, + "end": 11187, "loc": { "start": { - "line": 306, + "line": 301, "column": 17 }, "end": { - "line": 306, + "line": 301, "column": 20 }, "identifierName": "log" @@ -66543,29 +66891,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11332, - "end": 11373, + "start": 11188, + "end": 11229, "loc": { "start": { - "line": 306, + "line": 301, "column": 21 }, "end": { - "line": 306, + "line": 301, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11332, - "end": 11367, + "start": 11188, + "end": 11223, "loc": { "start": { - "line": 306, + "line": 301, "column": 21 }, "end": { - "line": 306, + "line": 301, "column": 56 } }, @@ -66578,15 +66926,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11370, - "end": 11373, + "start": 11226, + "end": 11229, "loc": { "start": { - "line": 306, + "line": 301, "column": 59 }, "end": { - "line": 306, + "line": 301, "column": 62 }, "identifierName": "url" @@ -66601,15 +66949,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11284, - "end": 11310, + "start": 11140, + "end": 11166, "loc": { "start": { - "line": 305, + "line": 300, "column": 12 }, "end": { - "line": 305, + "line": 300, "column": 38 } } @@ -66618,86 +66966,86 @@ }, { "type": "ExpressionStatement", - "start": 11388, - "end": 11417, + "start": 11244, + "end": 11273, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11388, - "end": 11416, + "start": 11244, + "end": 11272, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11388, - "end": 11404, + "start": 11244, + "end": 11260, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11388, - "end": 11399, + "start": 11244, + "end": 11255, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11388, - "end": 11392, + "start": 11244, + "end": 11248, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11393, - "end": 11399, + "start": 11249, + "end": 11255, "loc": { "start": { - "line": 307, + "line": 302, "column": 17 }, "end": { - "line": 307, + "line": 302, "column": 23 }, "identifierName": "surfer" @@ -66708,15 +67056,15 @@ }, "property": { "type": "Identifier", - "start": 11400, - "end": 11404, + "start": 11256, + "end": 11260, "loc": { "start": { - "line": 307, + "line": 302, "column": 24 }, "end": { - "line": 307, + "line": 302, "column": 28 }, "identifierName": "load" @@ -66728,15 +67076,15 @@ "arguments": [ { "type": "Identifier", - "start": 11405, - "end": 11408, + "start": 11261, + "end": 11264, "loc": { "start": { - "line": 307, + "line": 302, "column": 29 }, "end": { - "line": 307, + "line": 302, "column": 32 }, "identifierName": "url" @@ -66745,15 +67093,15 @@ }, { "type": "Identifier", - "start": 11410, - "end": 11415, + "start": 11266, + "end": 11271, "loc": { "start": { - "line": 307, + "line": 302, "column": 34 }, "end": { - "line": 307, + "line": 302, "column": 39 }, "identifierName": "peaks" @@ -66768,59 +67116,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11433, - "end": 12659, + "start": 11289, + "end": 12515, "loc": { "start": { - "line": 308, + "line": 303, "column": 15 }, "end": { - "line": 338, + "line": 333, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11487, - "end": 11589, + "start": 11343, + "end": 11445, "loc": { "start": { - "line": 310, + "line": 305, "column": 12 }, "end": { - "line": 313, + "line": 308, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11491, - "end": 11588, + "start": 11347, + "end": 11444, "loc": { "start": { - "line": 310, + "line": 305, "column": 16 }, "end": { - "line": 313, + "line": 308, "column": 13 } }, "id": { "type": "Identifier", - "start": 11491, - "end": 11505, + "start": 11347, + "end": 11361, "loc": { "start": { - "line": 310, + "line": 305, "column": 16 }, "end": { - "line": 310, + "line": 305, "column": 30 }, "identifierName": "requestOptions" @@ -66830,30 +67178,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11508, - "end": 11588, + "start": 11364, + "end": 11444, "loc": { "start": { - "line": 310, + "line": 305, "column": 33 }, "end": { - "line": 313, + "line": 308, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11526, - "end": 11536, + "start": 11382, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 306, "column": 16 }, "end": { - "line": 311, + "line": 306, "column": 26 } }, @@ -66862,15 +67210,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11526, - "end": 11529, + "start": 11382, + "end": 11385, "loc": { "start": { - "line": 311, + "line": 306, "column": 16 }, "end": { - "line": 311, + "line": 306, "column": 19 }, "identifierName": "url" @@ -66879,15 +67227,15 @@ }, "value": { "type": "Identifier", - "start": 11531, - "end": 11536, + "start": 11387, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 306, "column": 21 }, "end": { - "line": 311, + "line": 306, "column": 26 }, "identifierName": "peaks" @@ -66897,15 +67245,15 @@ }, { "type": "ObjectProperty", - "start": 11554, - "end": 11574, + "start": 11410, + "end": 11430, "loc": { "start": { - "line": 312, + "line": 307, "column": 16 }, "end": { - "line": 312, + "line": 307, "column": 36 } }, @@ -66914,15 +67262,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11554, - "end": 11566, + "start": 11410, + "end": 11422, "loc": { "start": { - "line": 312, + "line": 307, "column": 16 }, "end": { - "line": 312, + "line": 307, "column": 28 }, "identifierName": "responseType" @@ -66931,15 +67279,15 @@ }, "value": { "type": "StringLiteral", - "start": 11568, - "end": 11574, + "start": 11424, + "end": 11430, "loc": { "start": { - "line": 312, + "line": 307, "column": 30 }, "end": { - "line": 312, + "line": 307, "column": 36 } }, @@ -66960,15 +67308,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11447, - "end": 11474, + "start": 11303, + "end": 11330, "loc": { "start": { - "line": 309, + "line": 304, "column": 12 }, "end": { - "line": 309, + "line": 304, "column": 39 } } @@ -66978,15 +67326,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -66995,113 +67343,113 @@ }, { "type": "IfStatement", - "start": 11645, - "end": 11805, + "start": 11501, + "end": 11661, "loc": { "start": { - "line": 316, + "line": 311, "column": 12 }, "end": { - "line": 318, + "line": 313, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11649, - "end": 11706, + "start": 11505, + "end": 11562, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11649, - "end": 11692, + "start": 11505, + "end": 11548, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11688, + "start": 11505, + "end": 11544, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11677, + "start": 11505, + "end": 11533, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11669, + "start": 11505, + "end": 11525, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11649, - "end": 11660, + "start": 11505, + "end": 11516, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11649, - "end": 11653, + "start": 11505, + "end": 11509, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 20 } }, @@ -67109,15 +67457,15 @@ }, "property": { "type": "Identifier", - "start": 11654, - "end": 11660, + "start": 11510, + "end": 11516, "loc": { "start": { - "line": 316, + "line": 311, "column": 21 }, "end": { - "line": 316, + "line": 311, "column": 27 }, "identifierName": "player" @@ -67129,15 +67477,15 @@ }, "property": { "type": "Identifier", - "start": 11661, - "end": 11669, + "start": 11517, + "end": 11525, "loc": { "start": { - "line": 316, + "line": 311, "column": 28 }, "end": { - "line": 316, + "line": 311, "column": 36 }, "identifierName": "options_" @@ -67149,15 +67497,15 @@ }, "property": { "type": "Identifier", - "start": 11670, - "end": 11677, + "start": 11526, + "end": 11533, "loc": { "start": { - "line": 316, + "line": 311, "column": 37 }, "end": { - "line": 316, + "line": 311, "column": 44 }, "identifierName": "plugins" @@ -67169,15 +67517,15 @@ }, "property": { "type": "Identifier", - "start": 11678, - "end": 11688, + "start": 11534, + "end": 11544, "loc": { "start": { - "line": 316, + "line": 311, "column": 45 }, "end": { - "line": 316, + "line": 311, "column": 55 }, "identifierName": "wavesurfer" @@ -67189,15 +67537,15 @@ }, "property": { "type": "Identifier", - "start": 11689, - "end": 11692, + "start": 11545, + "end": 11548, "loc": { "start": { - "line": 316, + "line": 311, "column": 56 }, "end": { - "line": 316, + "line": 311, "column": 59 }, "identifierName": "xhr" @@ -67210,15 +67558,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11697, - "end": 11706, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 316, + "line": 311, "column": 64 }, "end": { - "line": 316, + "line": 311, "column": 73 }, "identifierName": "undefined" @@ -67229,73 +67577,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11708, - "end": 11805, + "start": 11564, + "end": 11661, "loc": { "start": { - "line": 316, + "line": 311, "column": 75 }, "end": { - "line": 318, + "line": 313, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11726, - "end": 11791, + "start": 11582, + "end": 11647, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11726, - "end": 11790, + "start": 11582, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11726, - "end": 11744, + "start": 11582, + "end": 11600, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 34 } }, "object": { "type": "Identifier", - "start": 11726, - "end": 11740, + "start": 11582, + "end": 11596, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 30 }, "identifierName": "requestOptions" @@ -67304,15 +67652,15 @@ }, "property": { "type": "Identifier", - "start": 11741, - "end": 11744, + "start": 11597, + "end": 11600, "loc": { "start": { - "line": 317, + "line": 312, "column": 31 }, "end": { - "line": 317, + "line": 312, "column": 34 }, "identifierName": "xhr" @@ -67323,100 +67671,100 @@ }, "right": { "type": "MemberExpression", - "start": 11747, - "end": 11790, + "start": 11603, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11786, + "start": 11603, + "end": 11642, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11775, + "start": 11603, + "end": 11631, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11767, + "start": 11603, + "end": 11623, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11747, - "end": 11758, + "start": 11603, + "end": 11614, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11747, - "end": 11751, + "start": 11603, + "end": 11607, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11752, - "end": 11758, + "start": 11608, + "end": 11614, "loc": { "start": { - "line": 317, + "line": 312, "column": 42 }, "end": { - "line": 317, + "line": 312, "column": 48 }, "identifierName": "player" @@ -67427,15 +67775,15 @@ }, "property": { "type": "Identifier", - "start": 11759, - "end": 11767, + "start": 11615, + "end": 11623, "loc": { "start": { - "line": 317, + "line": 312, "column": 49 }, "end": { - "line": 317, + "line": 312, "column": 57 }, "identifierName": "options_" @@ -67446,15 +67794,15 @@ }, "property": { "type": "Identifier", - "start": 11768, - "end": 11775, + "start": 11624, + "end": 11631, "loc": { "start": { - "line": 317, + "line": 312, "column": 58 }, "end": { - "line": 317, + "line": 312, "column": 65 }, "identifierName": "plugins" @@ -67465,15 +67813,15 @@ }, "property": { "type": "Identifier", - "start": 11776, - "end": 11786, + "start": 11632, + "end": 11642, "loc": { "start": { - "line": 317, + "line": 312, "column": 66 }, "end": { - "line": 317, + "line": 312, "column": 76 }, "identifierName": "wavesurfer" @@ -67484,15 +67832,15 @@ }, "property": { "type": "Identifier", - "start": 11787, - "end": 11790, + "start": 11643, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 77 }, "end": { - "line": 317, + "line": 312, "column": 80 }, "identifierName": "xhr" @@ -67511,15 +67859,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -67528,44 +67876,44 @@ }, { "type": "VariableDeclaration", - "start": 11818, - "end": 11874, + "start": 11674, + "end": 11730, "loc": { "start": { - "line": 319, + "line": 314, "column": 12 }, "end": { - "line": 319, + "line": 314, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11822, - "end": 11873, + "start": 11678, + "end": 11729, "loc": { "start": { - "line": 319, + "line": 314, "column": 16 }, "end": { - "line": 319, + "line": 314, "column": 67 } }, "id": { "type": "Identifier", - "start": 11822, - "end": 11829, + "start": 11678, + "end": 11685, "loc": { "start": { - "line": 319, + "line": 314, "column": 16 }, "end": { - "line": 319, + "line": 314, "column": 23 }, "identifierName": "request" @@ -67574,57 +67922,57 @@ }, "init": { "type": "CallExpression", - "start": 11832, - "end": 11873, + "start": 11688, + "end": 11729, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11832, - "end": 11857, + "start": 11688, + "end": 11713, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11832, - "end": 11847, + "start": 11688, + "end": 11703, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 41 } }, "object": { "type": "Identifier", - "start": 11832, - "end": 11842, + "start": 11688, + "end": 11698, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 36 }, "identifierName": "WaveSurfer" @@ -67633,15 +67981,15 @@ }, "property": { "type": "Identifier", - "start": 11843, - "end": 11847, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 319, + "line": 314, "column": 37 }, "end": { - "line": 319, + "line": 314, "column": 41 }, "identifierName": "util" @@ -67652,15 +68000,15 @@ }, "property": { "type": "Identifier", - "start": 11848, - "end": 11857, + "start": 11704, + "end": 11713, "loc": { "start": { - "line": 319, + "line": 314, "column": 42 }, "end": { - "line": 319, + "line": 314, "column": 51 }, "identifierName": "fetchFile" @@ -67672,15 +68020,15 @@ "arguments": [ { "type": "Identifier", - "start": 11858, - "end": 11872, + "start": 11714, + "end": 11728, "loc": { "start": { - "line": 319, + "line": 314, "column": 52 }, "end": { - "line": 319, + "line": 314, "column": 66 }, "identifierName": "requestOptions" @@ -67695,57 +68043,57 @@ }, { "type": "ExpressionStatement", - "start": 11888, - "end": 12360, + "start": 11744, + "end": 12216, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 331, + "line": 326, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 11888, - "end": 12359, + "start": 11744, + "end": 12215, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 331, + "line": 326, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 11888, - "end": 11900, + "start": 11744, + "end": 11756, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 321, + "line": 316, "column": 24 } }, "object": { "type": "Identifier", - "start": 11888, - "end": 11895, + "start": 11744, + "end": 11751, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 321, + "line": 316, "column": 19 }, "identifierName": "request" @@ -67754,15 +68102,15 @@ }, "property": { "type": "Identifier", - "start": 11896, - "end": 11900, + "start": 11752, + "end": 11756, "loc": { "start": { - "line": 321, + "line": 316, "column": 20 }, "end": { - "line": 321, + "line": 316, "column": 24 }, "identifierName": "once" @@ -67774,15 +68122,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11901, - "end": 11910, + "start": 11757, + "end": 11766, "loc": { "start": { - "line": 321, + "line": 316, "column": 25 }, "end": { - "line": 321, + "line": 316, "column": 34 } }, @@ -67794,15 +68142,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 11912, - "end": 12358, + "start": 11768, + "end": 12214, "loc": { "start": { - "line": 321, + "line": 316, "column": 36 }, "end": { - "line": 331, + "line": 326, "column": 13 } }, @@ -67813,15 +68161,15 @@ "params": [ { "type": "Identifier", - "start": 11912, - "end": 11916, + "start": 11768, + "end": 11772, "loc": { "start": { - "line": 321, + "line": 316, "column": 36 }, "end": { - "line": 321, + "line": 316, "column": 40 }, "identifierName": "data" @@ -67831,87 +68179,87 @@ ], "body": { "type": "BlockStatement", - "start": 11920, - "end": 12358, + "start": 11776, + "end": 12214, "loc": { "start": { - "line": 321, + "line": 316, "column": 44 }, "end": { - "line": 331, + "line": 326, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11938, - "end": 11981, + "start": 11794, + "end": 11837, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 11938, - "end": 11980, + "start": 11794, + "end": 11836, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 11938, - "end": 11946, + "start": 11794, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11938, - "end": 11942, + "start": 11794, + "end": 11798, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 20 } } }, "property": { "type": "Identifier", - "start": 11943, - "end": 11946, + "start": 11799, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 317, "column": 21 }, "end": { - "line": 322, + "line": 317, "column": 24 }, "identifierName": "log" @@ -67923,29 +68271,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11947, - "end": 11979, + "start": 11803, + "end": 11835, "loc": { "start": { - "line": 322, + "line": 317, "column": 25 }, "end": { - "line": 322, + "line": 317, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 11947, - "end": 11971, + "start": 11803, + "end": 11827, "loc": { "start": { - "line": 322, + "line": 317, "column": 25 }, "end": { - "line": 322, + "line": 317, "column": 49 } }, @@ -67958,15 +68306,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11974, - "end": 11979, + "start": 11830, + "end": 11835, "loc": { "start": { - "line": 322, + "line": 317, "column": 52 }, "end": { - "line": 322, + "line": 317, "column": 57 }, "identifierName": "peaks" @@ -67980,15 +68328,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -67997,43 +68345,43 @@ }, { "type": "IfStatement", - "start": 12058, - "end": 12344, + "start": 11914, + "end": 12200, "loc": { "start": { - "line": 324, + "line": 319, "column": 16 }, "end": { - "line": 330, + "line": 325, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 12062, - "end": 12079, + "start": 11918, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 20 }, "end": { - "line": 324, + "line": 319, "column": 37 } }, "left": { "type": "Identifier", - "start": 12062, - "end": 12066, + "start": 11918, + "end": 11922, "loc": { "start": { - "line": 324, + "line": 319, "column": 20 }, "end": { - "line": 324, + "line": 319, "column": 24 }, "identifierName": "data" @@ -68044,29 +68392,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 12070, - "end": 12079, + "start": 11926, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 28 }, "end": { - "line": 324, + "line": 319, "column": 37 } }, "object": { "type": "Identifier", - "start": 12070, - "end": 12074, + "start": 11926, + "end": 11930, "loc": { "start": { - "line": 324, + "line": 319, "column": 28 }, "end": { - "line": 324, + "line": 319, "column": 32 }, "identifierName": "data" @@ -68075,15 +68423,15 @@ }, "property": { "type": "Identifier", - "start": 12075, - "end": 12079, + "start": 11931, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 33 }, "end": { - "line": 324, + "line": 319, "column": 37 }, "identifierName": "data" @@ -68096,101 +68444,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 12081, - "end": 12154, + "start": 11937, + "end": 12010, "loc": { "start": { - "line": 324, + "line": 319, "column": 39 }, "end": { - "line": 326, + "line": 321, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12103, - "end": 12136, + "start": 11959, + "end": 11992, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 12103, - "end": 12135, + "start": 11959, + "end": 11991, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 12103, - "end": 12119, + "start": 11959, + "end": 11975, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12103, - "end": 12114, + "start": 11959, + "end": 11970, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12103, - "end": 12107, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12108, - "end": 12114, + "start": 11964, + "end": 11970, "loc": { "start": { - "line": 325, + "line": 320, "column": 25 }, "end": { - "line": 325, + "line": 320, "column": 31 }, "identifierName": "surfer" @@ -68201,15 +68549,15 @@ }, "property": { "type": "Identifier", - "start": 12115, - "end": 12119, + "start": 11971, + "end": 11975, "loc": { "start": { - "line": 325, + "line": 320, "column": 32 }, "end": { - "line": 325, + "line": 320, "column": 36 }, "identifierName": "load" @@ -68221,15 +68569,15 @@ "arguments": [ { "type": "Identifier", - "start": 12120, - "end": 12123, + "start": 11976, + "end": 11979, "loc": { "start": { - "line": 325, + "line": 320, "column": 37 }, "end": { - "line": 325, + "line": 320, "column": 40 }, "identifierName": "url" @@ -68238,29 +68586,29 @@ }, { "type": "MemberExpression", - "start": 12125, - "end": 12134, + "start": 11981, + "end": 11990, "loc": { "start": { - "line": 325, + "line": 320, "column": 42 }, "end": { - "line": 325, + "line": 320, "column": 51 } }, "object": { "type": "Identifier", - "start": 12125, - "end": 12129, + "start": 11981, + "end": 11985, "loc": { "start": { - "line": 325, + "line": 320, "column": 42 }, "end": { - "line": 325, + "line": 320, "column": 46 }, "identifierName": "data" @@ -68269,15 +68617,15 @@ }, "property": { "type": "Identifier", - "start": 12130, - "end": 12134, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 325, + "line": 320, "column": 47 }, "end": { - "line": 325, + "line": 320, "column": 51 }, "identifierName": "data" @@ -68294,101 +68642,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12160, - "end": 12344, + "start": 12016, + "end": 12200, "loc": { "start": { - "line": 326, + "line": 321, "column": 23 }, "end": { - "line": 330, + "line": 325, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12182, - "end": 12282, + "start": 12038, + "end": 12138, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 328, + "line": 323, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12182, - "end": 12281, + "start": 12038, + "end": 12137, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 328, + "line": 323, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12182, - "end": 12201, + "start": 12038, + "end": 12057, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12182, - "end": 12193, + "start": 12038, + "end": 12049, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12182, - "end": 12186, + "start": 12038, + "end": 12042, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12187, - "end": 12193, + "start": 12043, + "end": 12049, "loc": { "start": { - "line": 327, + "line": 322, "column": 25 }, "end": { - "line": 327, + "line": 322, "column": 31 }, "identifierName": "player" @@ -68399,15 +68747,15 @@ }, "property": { "type": "Identifier", - "start": 12194, - "end": 12201, + "start": 12050, + "end": 12057, "loc": { "start": { - "line": 327, + "line": 322, "column": 32 }, "end": { - "line": 327, + "line": 322, "column": 39 }, "identifierName": "trigger" @@ -68419,29 +68767,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12202, - "end": 12213, + "start": 12058, + "end": 12069, "loc": { "start": { - "line": 327, + "line": 322, "column": 40 }, "end": { - "line": 327, + "line": 322, "column": 51 } }, "object": { "type": "Identifier", - "start": 12202, - "end": 12207, + "start": 12058, + "end": 12063, "loc": { "start": { - "line": 327, + "line": 322, "column": 40 }, "end": { - "line": 327, + "line": 322, "column": 45 }, "identifierName": "Event" @@ -68450,15 +68798,15 @@ }, "property": { "type": "Identifier", - "start": 12208, - "end": 12213, + "start": 12064, + "end": 12069, "loc": { "start": { - "line": 327, + "line": 322, "column": 46 }, "end": { - "line": 327, + "line": 322, "column": 51 }, "identifierName": "ERROR" @@ -68469,29 +68817,29 @@ }, { "type": "BinaryExpression", - "start": 12239, - "end": 12280, + "start": 12095, + "end": 12136, "loc": { "start": { - "line": 328, + "line": 323, "column": 24 }, "end": { - "line": 328, + "line": 323, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12239, - "end": 12272, + "start": 12095, + "end": 12128, "loc": { "start": { - "line": 328, + "line": 323, "column": 24 }, "end": { - "line": 328, + "line": 323, "column": 57 } }, @@ -68504,15 +68852,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12275, - "end": 12280, + "start": 12131, + "end": 12136, "loc": { "start": { - "line": 328, + "line": 323, "column": 60 }, "end": { - "line": 328, + "line": 323, "column": 65 }, "identifierName": "peaks" @@ -68525,72 +68873,72 @@ }, { "type": "ExpressionStatement", - "start": 12303, - "end": 12326, + "start": 12159, + "end": 12182, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12303, - "end": 12325, + "start": 12159, + "end": 12181, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12303, - "end": 12311, + "start": 12159, + "end": 12167, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12303, - "end": 12307, + "start": 12159, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12308, - "end": 12311, + "start": 12164, + "end": 12167, "loc": { "start": { - "line": 329, + "line": 324, "column": 25 }, "end": { - "line": 329, + "line": 324, "column": 28 }, "identifierName": "log" @@ -68602,15 +68950,15 @@ "arguments": [ { "type": "Identifier", - "start": 12312, - "end": 12315, + "start": 12168, + "end": 12171, "loc": { "start": { - "line": 329, + "line": 324, "column": 29 }, "end": { - "line": 329, + "line": 324, "column": 32 }, "identifierName": "err" @@ -68619,15 +68967,15 @@ }, { "type": "StringLiteral", - "start": 12317, - "end": 12324, + "start": 12173, + "end": 12180, "loc": { "start": { - "line": 329, + "line": 324, "column": 34 }, "end": { - "line": 329, + "line": 324, "column": 41 } }, @@ -68647,15 +68995,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -68671,57 +69019,57 @@ }, { "type": "ExpressionStatement", - "start": 12373, - "end": 12649, + "start": 12229, + "end": 12505, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 337, + "line": 332, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12373, - "end": 12648, + "start": 12229, + "end": 12504, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 337, + "line": 332, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12373, - "end": 12383, + "start": 12229, + "end": 12239, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 332, + "line": 327, "column": 22 } }, "object": { "type": "Identifier", - "start": 12373, - "end": 12380, + "start": 12229, + "end": 12236, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 332, + "line": 327, "column": 19 }, "identifierName": "request" @@ -68730,15 +69078,15 @@ }, "property": { "type": "Identifier", - "start": 12381, - "end": 12383, + "start": 12237, + "end": 12239, "loc": { "start": { - "line": 332, + "line": 327, "column": 20 }, "end": { - "line": 332, + "line": 327, "column": 22 }, "identifierName": "on" @@ -68750,15 +69098,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12384, - "end": 12391, + "start": 12240, + "end": 12247, "loc": { "start": { - "line": 332, + "line": 327, "column": 23 }, "end": { - "line": 332, + "line": 327, "column": 30 } }, @@ -68770,15 +69118,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12393, - "end": 12647, + "start": 12249, + "end": 12503, "loc": { "start": { - "line": 332, + "line": 327, "column": 32 }, "end": { - "line": 337, + "line": 332, "column": 13 } }, @@ -68789,15 +69137,15 @@ "params": [ { "type": "Identifier", - "start": 12393, - "end": 12394, + "start": 12249, + "end": 12250, "loc": { "start": { - "line": 332, + "line": 327, "column": 32 }, "end": { - "line": 332, + "line": 327, "column": 33 }, "identifierName": "e" @@ -68807,87 +69155,87 @@ ], "body": { "type": "BlockStatement", - "start": 12398, - "end": 12647, + "start": 12254, + "end": 12503, "loc": { "start": { - "line": 332, + "line": 327, "column": 37 }, "end": { - "line": 337, + "line": 332, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12416, - "end": 12545, + "start": 12272, + "end": 12401, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 334, + "line": 329, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 12416, - "end": 12544, + "start": 12272, + "end": 12400, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 334, + "line": 329, "column": 72 } }, "callee": { "type": "MemberExpression", - "start": 12416, - "end": 12424, + "start": 12272, + "end": 12280, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 333, + "line": 328, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12416, - "end": 12420, + "start": 12272, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 333, + "line": 328, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12421, - "end": 12424, + "start": 12277, + "end": 12280, "loc": { "start": { - "line": 333, + "line": 328, "column": 21 }, "end": { - "line": 333, + "line": 328, "column": 24 }, "identifierName": "log" @@ -68899,57 +69247,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12425, - "end": 12535, + "start": 12281, + "end": 12391, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 334, + "line": 329, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12425, - "end": 12509, + "start": 12281, + "end": 12365, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 334, + "line": 329, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12425, - "end": 12469, + "start": 12281, + "end": 12325, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 333, + "line": 328, "column": 69 } }, "left": { "type": "StringLiteral", - "start": 12425, - "end": 12461, + "start": 12281, + "end": 12317, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 333, + "line": 328, "column": 61 } }, @@ -68962,15 +69310,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12464, - "end": 12469, + "start": 12320, + "end": 12325, "loc": { "start": { - "line": 333, + "line": 328, "column": 64 }, "end": { - "line": 333, + "line": 328, "column": 69 }, "identifierName": "peaks" @@ -68981,15 +69329,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12492, - "end": 12509, + "start": 12348, + "end": 12365, "loc": { "start": { - "line": 334, + "line": 329, "column": 20 }, "end": { - "line": 334, + "line": 329, "column": 37 } }, @@ -69003,43 +69351,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12512, - "end": 12535, + "start": 12368, + "end": 12391, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12512, - "end": 12528, + "start": 12368, + "end": 12384, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 56 } }, "object": { "type": "Identifier", - "start": 12512, - "end": 12519, + "start": 12368, + "end": 12375, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 47 }, "identifierName": "request" @@ -69048,15 +69396,15 @@ }, "property": { "type": "Identifier", - "start": 12520, - "end": 12528, + "start": 12376, + "end": 12384, "loc": { "start": { - "line": 334, + "line": 329, "column": 48 }, "end": { - "line": 334, + "line": 329, "column": 56 }, "identifierName": "response" @@ -69067,15 +69415,15 @@ }, "property": { "type": "Identifier", - "start": 12529, - "end": 12535, + "start": 12385, + "end": 12391, "loc": { "start": { - "line": 334, + "line": 329, "column": 57 }, "end": { - "line": 334, + "line": 329, "column": 63 }, "identifierName": "status" @@ -69087,15 +69435,15 @@ }, { "type": "StringLiteral", - "start": 12537, - "end": 12543, + "start": 12393, + "end": 12399, "loc": { "start": { - "line": 334, + "line": 329, "column": 65 }, "end": { - "line": 334, + "line": 329, "column": 71 } }, @@ -69110,72 +69458,72 @@ }, { "type": "ExpressionStatement", - "start": 12562, - "end": 12594, + "start": 12418, + "end": 12450, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 12562, - "end": 12593, + "start": 12418, + "end": 12449, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 12562, - "end": 12570, + "start": 12418, + "end": 12426, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12562, - "end": 12566, + "start": 12418, + "end": 12422, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12567, - "end": 12570, + "start": 12423, + "end": 12426, "loc": { "start": { - "line": 335, + "line": 330, "column": 21 }, "end": { - "line": 335, + "line": 330, "column": 24 }, "identifierName": "log" @@ -69187,29 +69535,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12571, - "end": 12592, + "start": 12427, + "end": 12448, "loc": { "start": { - "line": 335, + "line": 330, "column": 25 }, "end": { - "line": 335, + "line": 330, "column": 46 } }, "left": { "type": "StringLiteral", - "start": 12571, - "end": 12586, + "start": 12427, + "end": 12442, "loc": { "start": { - "line": 335, + "line": 330, "column": 25 }, "end": { - "line": 335, + "line": 330, "column": 40 } }, @@ -69222,15 +69570,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12589, - "end": 12592, + "start": 12445, + "end": 12448, "loc": { "start": { - "line": 335, + "line": 330, "column": 43 }, "end": { - "line": 335, + "line": 330, "column": 46 }, "identifierName": "url" @@ -69243,86 +69591,86 @@ }, { "type": "ExpressionStatement", - "start": 12611, - "end": 12633, + "start": 12467, + "end": 12489, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 12611, - "end": 12632, + "start": 12467, + "end": 12488, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 12611, - "end": 12627, + "start": 12467, + "end": 12483, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 12611, - "end": 12622, + "start": 12467, + "end": 12478, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12611, - "end": 12615, + "start": 12467, + "end": 12471, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12616, - "end": 12622, + "start": 12472, + "end": 12478, "loc": { "start": { - "line": 336, + "line": 331, "column": 21 }, "end": { - "line": 336, + "line": 331, "column": 27 }, "identifierName": "surfer" @@ -69333,15 +69681,15 @@ }, "property": { "type": "Identifier", - "start": 12623, - "end": 12627, + "start": 12479, + "end": 12483, "loc": { "start": { - "line": 336, + "line": 331, "column": 28 }, "end": { - "line": 336, + "line": 331, "column": 32 }, "identifierName": "load" @@ -69353,15 +69701,15 @@ "arguments": [ { "type": "Identifier", - "start": 12628, - "end": 12631, + "start": 12484, + "end": 12487, "loc": { "start": { - "line": 336, + "line": 331, "column": 33 }, "end": { - "line": 336, + "line": 331, "column": 36 }, "identifierName": "url" @@ -69390,15 +69738,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -69408,15 +69756,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -69425,15 +69773,15 @@ }, { "type": "ClassMethod", - "start": 12731, - "end": 13771, + "start": 12587, + "end": 13627, "loc": { "start": { - "line": 344, + "line": 339, "column": 4 }, "end": { - "line": 377, + "line": 372, "column": 5 } }, @@ -69441,15 +69789,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12731, - "end": 12735, + "start": 12587, + "end": 12591, "loc": { "start": { - "line": 344, + "line": 339, "column": 4 }, "end": { - "line": 344, + "line": 339, "column": 8 }, "identifierName": "play" @@ -69465,114 +69813,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12738, - "end": 13771, + "start": 12594, + "end": 13627, "loc": { "start": { - "line": 344, + "line": 339, "column": 11 }, "end": { - "line": 377, + "line": 372, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12777, - "end": 12962, + "start": 12633, + "end": 12818, "loc": { "start": { - "line": 346, + "line": 341, "column": 8 }, "end": { - "line": 349, + "line": 344, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12781, - "end": 12889, + "start": 12637, + "end": 12745, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12781, - "end": 12828, + "start": 12637, + "end": 12684, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12781, - "end": 12814, + "start": 12637, + "end": 12670, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12781, - "end": 12803, + "start": 12637, + "end": 12659, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12781, - "end": 12792, + "start": 12637, + "end": 12648, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12781, - "end": 12785, + "start": 12637, + "end": 12641, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 16 } }, @@ -69580,15 +69928,15 @@ }, "property": { "type": "Identifier", - "start": 12786, - "end": 12792, + "start": 12642, + "end": 12648, "loc": { "start": { - "line": 346, + "line": 341, "column": 17 }, "end": { - "line": 346, + "line": 341, "column": 23 }, "identifierName": "player" @@ -69600,15 +69948,15 @@ }, "property": { "type": "Identifier", - "start": 12793, - "end": 12803, + "start": 12649, + "end": 12659, "loc": { "start": { - "line": 346, + "line": 341, "column": 24 }, "end": { - "line": 346, + "line": 341, "column": 34 }, "identifierName": "controlBar" @@ -69620,15 +69968,15 @@ }, "property": { "type": "Identifier", - "start": 12804, - "end": 12814, + "start": 12660, + "end": 12670, "loc": { "start": { - "line": 346, + "line": 341, "column": 35 }, "end": { - "line": 346, + "line": 341, "column": 45 }, "identifierName": "playToggle" @@ -69641,15 +69989,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12819, - "end": 12828, + "start": 12675, + "end": 12684, "loc": { "start": { - "line": 346, + "line": 341, "column": 50 }, "end": { - "line": 346, + "line": 341, "column": 59 }, "identifierName": "undefined" @@ -69661,100 +70009,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12844, - "end": 12889, + "start": 12700, + "end": 12745, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12844, - "end": 12887, + "start": 12700, + "end": 12743, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12877, + "start": 12700, + "end": 12733, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12866, + "start": 12700, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12844, - "end": 12855, + "start": 12700, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12844, - "end": 12848, + "start": 12700, + "end": 12704, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12849, - "end": 12855, + "start": 12705, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 342, "column": 17 }, "end": { - "line": 347, + "line": 342, "column": 23 }, "identifierName": "player" @@ -69765,15 +70113,15 @@ }, "property": { "type": "Identifier", - "start": 12856, - "end": 12866, + "start": 12712, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 342, "column": 24 }, "end": { - "line": 347, + "line": 342, "column": 34 }, "identifierName": "controlBar" @@ -69784,15 +70132,15 @@ }, "property": { "type": "Identifier", - "start": 12867, - "end": 12877, + "start": 12723, + "end": 12733, "loc": { "start": { - "line": 347, + "line": 342, "column": 35 }, "end": { - "line": 347, + "line": 342, "column": 45 }, "identifierName": "playToggle" @@ -69803,15 +70151,15 @@ }, "property": { "type": "Identifier", - "start": 12878, - "end": 12887, + "start": 12734, + "end": 12743, "loc": { "start": { - "line": 347, + "line": 342, "column": 46 }, "end": { - "line": 347, + "line": 342, "column": 55 }, "identifierName": "contentEl" @@ -69826,129 +70174,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12891, - "end": 12962, + "start": 12747, + "end": 12818, "loc": { "start": { - "line": 347, + "line": 342, "column": 59 }, "end": { - "line": 349, + "line": 344, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12905, - "end": 12952, + "start": 12761, + "end": 12808, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12905, - "end": 12951, + "start": 12761, + "end": 12807, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12905, - "end": 12949, + "start": 12761, + "end": 12805, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12938, + "start": 12761, + "end": 12794, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12927, + "start": 12761, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12905, - "end": 12916, + "start": 12761, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12905, - "end": 12909, + "start": 12761, + "end": 12765, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12910, - "end": 12916, + "start": 12766, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 343, "column": 17 }, "end": { - "line": 348, + "line": 343, "column": 23 }, "identifierName": "player" @@ -69959,15 +70307,15 @@ }, "property": { "type": "Identifier", - "start": 12917, - "end": 12927, + "start": 12773, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 343, "column": 24 }, "end": { - "line": 348, + "line": 343, "column": 34 }, "identifierName": "controlBar" @@ -69978,15 +70326,15 @@ }, "property": { "type": "Identifier", - "start": 12928, - "end": 12938, + "start": 12784, + "end": 12794, "loc": { "start": { - "line": 348, + "line": 343, "column": 35 }, "end": { - "line": 348, + "line": 343, "column": 45 }, "identifierName": "playToggle" @@ -69997,15 +70345,15 @@ }, "property": { "type": "Identifier", - "start": 12939, - "end": 12949, + "start": 12795, + "end": 12805, "loc": { "start": { - "line": 348, + "line": 343, "column": 46 }, "end": { - "line": 348, + "line": 343, "column": 56 }, "identifierName": "handlePlay" @@ -70025,15 +70373,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12748, - "end": 12768, + "start": 12604, + "end": 12624, "loc": { "start": { - "line": 345, + "line": 340, "column": 8 }, "end": { - "line": 345, + "line": 340, "column": 28 } } @@ -70042,58 +70390,58 @@ }, { "type": "IfStatement", - "start": 12972, - "end": 13765, + "start": 12828, + "end": 13621, "loc": { "start": { - "line": 351, + "line": 346, "column": 8 }, "end": { - "line": 376, + "line": 371, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 12976, - "end": 12989, + "start": 12832, + "end": 12845, "loc": { "start": { - "line": 351, + "line": 346, "column": 12 }, "end": { - "line": 351, + "line": 346, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 12976, - "end": 12980, + "start": 12832, + "end": 12836, "loc": { "start": { - "line": 351, + "line": 346, "column": 12 }, "end": { - "line": 351, + "line": 346, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12981, - "end": 12989, + "start": 12837, + "end": 12845, "loc": { "start": { - "line": 351, + "line": 346, "column": 17 }, "end": { - "line": 351, + "line": 346, "column": 25 }, "identifierName": "liveMode" @@ -70104,44 +70452,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 12991, - "end": 13550, + "start": 12847, + "end": 13406, "loc": { "start": { - "line": 351, + "line": 346, "column": 27 }, "end": { - "line": 368, + "line": 363, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13058, - "end": 13540, + "start": 12914, + "end": 13396, "loc": { "start": { - "line": 353, + "line": 348, "column": 12 }, "end": { - "line": 367, + "line": 362, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 13062, - "end": 13092, + "start": 12918, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 16 }, "end": { - "line": 353, + "line": 348, "column": 46 } }, @@ -70149,57 +70497,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13063, - "end": 13092, + "start": 12919, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 13063, - "end": 13085, + "start": 12919, + "end": 12941, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 13063, - "end": 13074, + "start": 12919, + "end": 12930, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13063, - "end": 13067, + "start": 12919, + "end": 12923, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 21 } }, @@ -70207,15 +70555,15 @@ }, "property": { "type": "Identifier", - "start": 13068, - "end": 13074, + "start": 12924, + "end": 12930, "loc": { "start": { - "line": 353, + "line": 348, "column": 22 }, "end": { - "line": 353, + "line": 348, "column": 28 }, "identifierName": "surfer" @@ -70227,15 +70575,15 @@ }, "property": { "type": "Identifier", - "start": 13075, - "end": 13085, + "start": 12931, + "end": 12941, "loc": { "start": { - "line": 353, + "line": 348, "column": 29 }, "end": { - "line": 353, + "line": 348, "column": 39 }, "identifierName": "microphone" @@ -70247,15 +70595,15 @@ }, "property": { "type": "Identifier", - "start": 13086, - "end": 13092, + "start": 12942, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 40 }, "end": { - "line": 353, + "line": 348, "column": 46 }, "identifierName": "active" @@ -70272,87 +70620,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13106, - "end": 13215, + "start": 12962, + "end": 13071, "loc": { "start": { - "line": 354, + "line": 349, "column": 12 }, "end": { - "line": 357, + "line": 352, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13124, - "end": 13153, + "start": 12980, + "end": 13009, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 13124, - "end": 13152, + "start": 12980, + "end": 13008, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 13124, - "end": 13132, + "start": 12980, + "end": 12988, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13124, - "end": 13128, + "start": 12980, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13129, - "end": 13132, + "start": 12985, + "end": 12988, "loc": { "start": { - "line": 355, + "line": 350, "column": 21 }, "end": { - "line": 355, + "line": 350, "column": 24 }, "identifierName": "log" @@ -70364,15 +70712,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13133, - "end": 13151, + "start": 12989, + "end": 13007, "loc": { "start": { - "line": 355, + "line": 350, "column": 25 }, "end": { - "line": 355, + "line": 350, "column": 43 } }, @@ -70387,100 +70735,100 @@ }, { "type": "ExpressionStatement", - "start": 13170, - "end": 13201, + "start": 13026, + "end": 13057, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13170, - "end": 13200, + "start": 13026, + "end": 13056, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13170, - "end": 13198, + "start": 13026, + "end": 13054, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13170, - "end": 13192, + "start": 13026, + "end": 13048, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13170, - "end": 13181, + "start": 13026, + "end": 13037, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13170, - "end": 13174, + "start": 13026, + "end": 13030, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13175, - "end": 13181, + "start": 13031, + "end": 13037, "loc": { "start": { - "line": 356, + "line": 351, "column": 21 }, "end": { - "line": 356, + "line": 351, "column": 27 }, "identifierName": "surfer" @@ -70491,15 +70839,15 @@ }, "property": { "type": "Identifier", - "start": 13182, - "end": 13192, + "start": 13038, + "end": 13048, "loc": { "start": { - "line": 356, + "line": 351, "column": 28 }, "end": { - "line": 356, + "line": 351, "column": 38 }, "identifierName": "microphone" @@ -70510,15 +70858,15 @@ }, "property": { "type": "Identifier", - "start": 13193, - "end": 13198, + "start": 13049, + "end": 13054, "loc": { "start": { - "line": 356, + "line": 351, "column": 39 }, "end": { - "line": 356, + "line": 351, "column": 44 }, "identifierName": "start" @@ -70535,59 +70883,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13221, - "end": 13540, + "start": 13077, + "end": 13396, "loc": { "start": { - "line": 357, + "line": 352, "column": 19 }, "end": { - "line": 367, + "line": 362, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13272, - "end": 13316, + "start": 13128, + "end": 13172, "loc": { "start": { - "line": 359, + "line": 354, "column": 16 }, "end": { - "line": 359, + "line": 354, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13276, - "end": 13315, + "start": 13132, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 20 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, "id": { "type": "Identifier", - "start": 13276, - "end": 13282, + "start": 13132, + "end": 13138, "loc": { "start": { - "line": 359, + "line": 354, "column": 20 }, "end": { - "line": 359, + "line": 354, "column": 26 }, "identifierName": "paused" @@ -70597,15 +70945,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13285, - "end": 13315, + "start": 13141, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 29 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, @@ -70613,72 +70961,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13286, - "end": 13315, + "start": 13142, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13286, - "end": 13308, + "start": 13142, + "end": 13164, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13286, - "end": 13297, + "start": 13142, + "end": 13153, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13286, - "end": 13290, + "start": 13142, + "end": 13146, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13291, - "end": 13297, + "start": 13147, + "end": 13153, "loc": { "start": { - "line": 359, + "line": 354, "column": 35 }, "end": { - "line": 359, + "line": 354, "column": 41 }, "identifierName": "surfer" @@ -70689,15 +71037,15 @@ }, "property": { "type": "Identifier", - "start": 13298, - "end": 13308, + "start": 13154, + "end": 13164, "loc": { "start": { - "line": 359, + "line": 354, "column": 42 }, "end": { - "line": 359, + "line": 354, "column": 52 }, "identifierName": "microphone" @@ -70708,15 +71056,15 @@ }, "property": { "type": "Identifier", - "start": 13309, - "end": 13315, + "start": 13165, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 53 }, "end": { - "line": 359, + "line": 354, "column": 59 }, "identifierName": "paused" @@ -70737,15 +71085,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13239, - "end": 13255, + "start": 13095, + "end": 13111, "loc": { "start": { - "line": 358, + "line": 353, "column": 16 }, "end": { - "line": 358, + "line": 353, "column": 32 } } @@ -70754,29 +71102,29 @@ }, { "type": "IfStatement", - "start": 13334, - "end": 13526, + "start": 13190, + "end": 13382, "loc": { "start": { - "line": 361, + "line": 356, "column": 16 }, "end": { - "line": 366, + "line": 361, "column": 17 } }, "test": { "type": "Identifier", - "start": 13338, - "end": 13344, + "start": 13194, + "end": 13200, "loc": { "start": { - "line": 361, + "line": 356, "column": 20 }, "end": { - "line": 361, + "line": 356, "column": 26 }, "identifierName": "paused" @@ -70785,87 +71133,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13346, - "end": 13399, + "start": 13202, + "end": 13255, "loc": { "start": { - "line": 361, + "line": 356, "column": 28 }, "end": { - "line": 363, + "line": 358, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13368, - "end": 13381, + "start": 13224, + "end": 13237, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13368, - "end": 13380, + "start": 13224, + "end": 13236, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13368, - "end": 13378, + "start": 13224, + "end": 13234, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13368, - "end": 13372, + "start": 13224, + "end": 13228, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13373, - "end": 13378, + "start": 13229, + "end": 13234, "loc": { "start": { - "line": 362, + "line": 357, "column": 25 }, "end": { - "line": 362, + "line": 357, "column": 30 }, "identifierName": "pause" @@ -70882,87 +71230,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13405, - "end": 13526, + "start": 13261, + "end": 13382, "loc": { "start": { - "line": 363, + "line": 358, "column": 23 }, "end": { - "line": 366, + "line": 361, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13427, - "end": 13457, + "start": 13283, + "end": 13313, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13427, - "end": 13456, + "start": 13283, + "end": 13312, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13427, - "end": 13435, + "start": 13283, + "end": 13291, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13427, - "end": 13431, + "start": 13283, + "end": 13287, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13432, - "end": 13435, + "start": 13288, + "end": 13291, "loc": { "start": { - "line": 364, + "line": 359, "column": 25 }, "end": { - "line": 364, + "line": 359, "column": 28 }, "identifierName": "log" @@ -70974,15 +71322,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13436, - "end": 13455, + "start": 13292, + "end": 13311, "loc": { "start": { - "line": 364, + "line": 359, "column": 29 }, "end": { - "line": 364, + "line": 359, "column": 48 } }, @@ -70997,100 +71345,100 @@ }, { "type": "ExpressionStatement", - "start": 13478, - "end": 13508, + "start": 13334, + "end": 13364, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13478, - "end": 13507, + "start": 13334, + "end": 13363, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13478, - "end": 13505, + "start": 13334, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13478, - "end": 13500, + "start": 13334, + "end": 13356, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13478, - "end": 13489, + "start": 13334, + "end": 13345, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13478, - "end": 13482, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13483, - "end": 13489, + "start": 13339, + "end": 13345, "loc": { "start": { - "line": 365, + "line": 360, "column": 25 }, "end": { - "line": 365, + "line": 360, "column": 31 }, "identifierName": "surfer" @@ -71101,15 +71449,15 @@ }, "property": { "type": "Identifier", - "start": 13490, - "end": 13500, + "start": 13346, + "end": 13356, "loc": { "start": { - "line": 365, + "line": 360, "column": 32 }, "end": { - "line": 365, + "line": 360, "column": 42 }, "identifierName": "microphone" @@ -71120,15 +71468,15 @@ }, "property": { "type": "Identifier", - "start": 13501, - "end": 13505, + "start": 13357, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 360, "column": 43 }, "end": { - "line": 365, + "line": 360, "column": 47 }, "identifierName": "play" @@ -71151,15 +71499,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13005, - "end": 13045, + "start": 12861, + "end": 12901, "loc": { "start": { - "line": 352, + "line": 347, "column": 12 }, "end": { - "line": 352, + "line": 347, "column": 52 } } @@ -71171,87 +71519,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13556, - "end": 13765, + "start": 13412, + "end": 13621, "loc": { "start": { - "line": 368, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 371, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13570, - "end": 13597, + "start": 13426, + "end": 13453, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13570, - "end": 13596, + "start": 13426, + "end": 13452, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13570, - "end": 13578, + "start": 13426, + "end": 13434, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13570, - "end": 13574, + "start": 13426, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13575, - "end": 13578, + "start": 13431, + "end": 13434, "loc": { "start": { - "line": 369, + "line": 364, "column": 17 }, "end": { - "line": 369, + "line": 364, "column": 20 }, "identifierName": "log" @@ -71263,15 +71611,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13579, - "end": 13595, + "start": 13435, + "end": 13451, "loc": { "start": { - "line": 369, + "line": 364, "column": 21 }, "end": { - "line": 369, + "line": 364, "column": 37 } }, @@ -71287,15 +71635,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -71304,71 +71652,71 @@ }, { "type": "ExpressionStatement", - "start": 13666, - "end": 13685, + "start": 13522, + "end": 13541, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13666, - "end": 13684, + "start": 13522, + "end": 13540, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13666, - "end": 13682, + "start": 13522, + "end": 13538, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13666, - "end": 13677, + "start": 13522, + "end": 13533, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13666, - "end": 13670, + "start": 13522, + "end": 13526, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 16 } }, @@ -71376,15 +71724,15 @@ }, "property": { "type": "Identifier", - "start": 13671, - "end": 13677, + "start": 13527, + "end": 13533, "loc": { "start": { - "line": 372, + "line": 367, "column": 17 }, "end": { - "line": 372, + "line": 367, "column": 23 }, "identifierName": "player" @@ -71396,15 +71744,15 @@ }, "property": { "type": "Identifier", - "start": 13678, - "end": 13682, + "start": 13534, + "end": 13538, "loc": { "start": { - "line": 372, + "line": 367, "column": 24 }, "end": { - "line": 372, + "line": 367, "column": 28 }, "identifierName": "play" @@ -71421,15 +71769,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -71439,15 +71787,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -71456,71 +71804,71 @@ }, { "type": "ExpressionStatement", - "start": 13736, - "end": 13755, + "start": 13592, + "end": 13611, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13736, - "end": 13754, + "start": 13592, + "end": 13610, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13736, - "end": 13752, + "start": 13592, + "end": 13608, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13736, - "end": 13747, + "start": 13592, + "end": 13603, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13736, - "end": 13740, + "start": 13592, + "end": 13596, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 16 } }, @@ -71528,15 +71876,15 @@ }, "property": { "type": "Identifier", - "start": 13741, - "end": 13747, + "start": 13597, + "end": 13603, "loc": { "start": { - "line": 375, + "line": 370, "column": 17 }, "end": { - "line": 375, + "line": 370, "column": 23 }, "identifierName": "surfer" @@ -71548,15 +71896,15 @@ }, "property": { "type": "Identifier", - "start": 13748, - "end": 13752, + "start": 13604, + "end": 13608, "loc": { "start": { - "line": 375, + "line": 370, "column": 24 }, "end": { - "line": 375, + "line": 370, "column": 28 }, "identifierName": "play" @@ -71573,15 +71921,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -71600,15 +71948,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -71618,15 +71966,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -71635,15 +71983,15 @@ }, { "type": "ClassMethod", - "start": 13845, - "end": 14577, + "start": 13701, + "end": 14433, "loc": { "start": { - "line": 382, + "line": 377, "column": 4 }, "end": { - "line": 406, + "line": 401, "column": 5 } }, @@ -71651,15 +71999,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13845, - "end": 13850, + "start": 13701, + "end": 13706, "loc": { "start": { - "line": 382, + "line": 377, "column": 4 }, "end": { - "line": 382, + "line": 377, "column": 9 }, "identifierName": "pause" @@ -71675,114 +72023,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13853, - "end": 14577, + "start": 13709, + "end": 14433, "loc": { "start": { - "line": 382, + "line": 377, "column": 12 }, "end": { - "line": 406, + "line": 401, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13891, - "end": 14077, + "start": 13747, + "end": 13933, "loc": { "start": { - "line": 384, + "line": 379, "column": 8 }, "end": { - "line": 387, + "line": 382, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13895, - "end": 14003, + "start": 13751, + "end": 13859, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13895, - "end": 13942, + "start": 13751, + "end": 13798, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13895, - "end": 13928, + "start": 13751, + "end": 13784, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13895, - "end": 13917, + "start": 13751, + "end": 13773, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13895, - "end": 13906, + "start": 13751, + "end": 13762, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13895, - "end": 13899, + "start": 13751, + "end": 13755, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 16 } }, @@ -71790,15 +72138,15 @@ }, "property": { "type": "Identifier", - "start": 13900, - "end": 13906, + "start": 13756, + "end": 13762, "loc": { "start": { - "line": 384, + "line": 379, "column": 17 }, "end": { - "line": 384, + "line": 379, "column": 23 }, "identifierName": "player" @@ -71810,15 +72158,15 @@ }, "property": { "type": "Identifier", - "start": 13907, - "end": 13917, + "start": 13763, + "end": 13773, "loc": { "start": { - "line": 384, + "line": 379, "column": 24 }, "end": { - "line": 384, + "line": 379, "column": 34 }, "identifierName": "controlBar" @@ -71830,15 +72178,15 @@ }, "property": { "type": "Identifier", - "start": 13918, - "end": 13928, + "start": 13774, + "end": 13784, "loc": { "start": { - "line": 384, + "line": 379, "column": 35 }, "end": { - "line": 384, + "line": 379, "column": 45 }, "identifierName": "playToggle" @@ -71851,15 +72199,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13933, - "end": 13942, + "start": 13789, + "end": 13798, "loc": { "start": { - "line": 384, + "line": 379, "column": 50 }, "end": { - "line": 384, + "line": 379, "column": 59 }, "identifierName": "undefined" @@ -71871,100 +72219,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13958, - "end": 14003, + "start": 13814, + "end": 13859, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13958, - "end": 14001, + "start": 13814, + "end": 13857, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13991, + "start": 13814, + "end": 13847, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13980, + "start": 13814, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13958, - "end": 13969, + "start": 13814, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13958, - "end": 13962, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13963, - "end": 13969, + "start": 13819, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 380, "column": 17 }, "end": { - "line": 385, + "line": 380, "column": 23 }, "identifierName": "player" @@ -71975,15 +72323,15 @@ }, "property": { "type": "Identifier", - "start": 13970, - "end": 13980, + "start": 13826, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 380, "column": 24 }, "end": { - "line": 385, + "line": 380, "column": 34 }, "identifierName": "controlBar" @@ -71994,15 +72342,15 @@ }, "property": { "type": "Identifier", - "start": 13981, - "end": 13991, + "start": 13837, + "end": 13847, "loc": { "start": { - "line": 385, + "line": 380, "column": 35 }, "end": { - "line": 385, + "line": 380, "column": 45 }, "identifierName": "playToggle" @@ -72013,15 +72361,15 @@ }, "property": { "type": "Identifier", - "start": 13992, - "end": 14001, + "start": 13848, + "end": 13857, "loc": { "start": { - "line": 385, + "line": 380, "column": 46 }, "end": { - "line": 385, + "line": 380, "column": 55 }, "identifierName": "contentEl" @@ -72036,129 +72384,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 14005, - "end": 14077, + "start": 13861, + "end": 13933, "loc": { "start": { - "line": 385, + "line": 380, "column": 59 }, "end": { - "line": 387, + "line": 382, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14019, - "end": 14067, + "start": 13875, + "end": 13923, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 14019, - "end": 14066, + "start": 13875, + "end": 13922, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 14019, - "end": 14064, + "start": 13875, + "end": 13920, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14052, + "start": 13875, + "end": 13908, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14041, + "start": 13875, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14019, - "end": 14030, + "start": 13875, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14019, - "end": 14023, + "start": 13875, + "end": 13879, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14024, - "end": 14030, + "start": 13880, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 381, "column": 17 }, "end": { - "line": 386, + "line": 381, "column": 23 }, "identifierName": "player" @@ -72169,15 +72517,15 @@ }, "property": { "type": "Identifier", - "start": 14031, - "end": 14041, + "start": 13887, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 381, "column": 24 }, "end": { - "line": 386, + "line": 381, "column": 34 }, "identifierName": "controlBar" @@ -72188,15 +72536,15 @@ }, "property": { "type": "Identifier", - "start": 14042, - "end": 14052, + "start": 13898, + "end": 13908, "loc": { "start": { - "line": 386, + "line": 381, "column": 35 }, "end": { - "line": 386, + "line": 381, "column": 45 }, "identifierName": "playToggle" @@ -72207,15 +72555,15 @@ }, "property": { "type": "Identifier", - "start": 14053, - "end": 14064, + "start": 13909, + "end": 13920, "loc": { "start": { - "line": 386, + "line": 381, "column": 46 }, "end": { - "line": 386, + "line": 381, "column": 57 }, "identifierName": "handlePause" @@ -72235,15 +72583,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13863, - "end": 13882, + "start": 13719, + "end": 13738, "loc": { "start": { - "line": 383, + "line": 378, "column": 8 }, "end": { - "line": 383, + "line": 378, "column": 27 } } @@ -72252,58 +72600,58 @@ }, { "type": "IfStatement", - "start": 14087, - "end": 14571, + "start": 13943, + "end": 14427, "loc": { "start": { - "line": 389, + "line": 384, "column": 8 }, "end": { - "line": 405, + "line": 400, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14091, - "end": 14104, + "start": 13947, + "end": 13960, "loc": { "start": { - "line": 389, + "line": 384, "column": 12 }, "end": { - "line": 389, + "line": 384, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 14091, - "end": 14095, + "start": 13947, + "end": 13951, "loc": { "start": { - "line": 389, + "line": 384, "column": 12 }, "end": { - "line": 389, + "line": 384, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14096, - "end": 14104, + "start": 13952, + "end": 13960, "loc": { "start": { - "line": 389, + "line": 384, "column": 17 }, "end": { - "line": 389, + "line": 384, "column": 25 }, "identifierName": "liveMode" @@ -72314,72 +72662,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14106, - "end": 14249, + "start": 13962, + "end": 14105, "loc": { "start": { - "line": 389, + "line": 384, "column": 27 }, "end": { - "line": 393, + "line": 388, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14166, - "end": 14195, + "start": 14022, + "end": 14051, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14166, - "end": 14194, + "start": 14022, + "end": 14050, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14166, - "end": 14174, + "start": 14022, + "end": 14030, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14166, - "end": 14170, + "start": 14022, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 16 } }, @@ -72387,15 +72735,15 @@ }, "property": { "type": "Identifier", - "start": 14171, - "end": 14174, + "start": 14027, + "end": 14030, "loc": { "start": { - "line": 391, + "line": 386, "column": 17 }, "end": { - "line": 391, + "line": 386, "column": 20 }, "identifierName": "log" @@ -72408,15 +72756,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14175, - "end": 14193, + "start": 14031, + "end": 14049, "loc": { "start": { - "line": 391, + "line": 386, "column": 21 }, "end": { - "line": 391, + "line": 386, "column": 39 } }, @@ -72433,15 +72781,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14120, - "end": 14153, + "start": 13976, + "end": 14009, "loc": { "start": { - "line": 390, + "line": 385, "column": 12 }, "end": { - "line": 390, + "line": 385, "column": 45 } } @@ -72450,100 +72798,100 @@ }, { "type": "ExpressionStatement", - "start": 14208, - "end": 14239, + "start": 14064, + "end": 14095, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14208, - "end": 14238, + "start": 14064, + "end": 14094, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14208, - "end": 14236, + "start": 14064, + "end": 14092, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14208, - "end": 14230, + "start": 14064, + "end": 14086, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14208, - "end": 14219, + "start": 14064, + "end": 14075, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14208, - "end": 14212, + "start": 14064, + "end": 14068, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14213, - "end": 14219, + "start": 14069, + "end": 14075, "loc": { "start": { - "line": 392, + "line": 387, "column": 17 }, "end": { - "line": 392, + "line": 387, "column": 23 }, "identifierName": "surfer" @@ -72554,15 +72902,15 @@ }, "property": { "type": "Identifier", - "start": 14220, - "end": 14230, + "start": 14076, + "end": 14086, "loc": { "start": { - "line": 392, + "line": 387, "column": 24 }, "end": { - "line": 392, + "line": 387, "column": 34 }, "identifierName": "microphone" @@ -72573,15 +72921,15 @@ }, "property": { "type": "Identifier", - "start": 14231, - "end": 14236, + "start": 14087, + "end": 14092, "loc": { "start": { - "line": 392, + "line": 387, "column": 35 }, "end": { - "line": 392, + "line": 387, "column": 40 }, "identifierName": "pause" @@ -72598,72 +72946,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14255, - "end": 14571, + "start": 14111, + "end": 14427, "loc": { "start": { - "line": 393, + "line": 388, "column": 15 }, "end": { - "line": 405, + "line": 400, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14299, - "end": 14326, + "start": 14155, + "end": 14182, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14299, - "end": 14325, + "start": 14155, + "end": 14181, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14299, - "end": 14307, + "start": 14155, + "end": 14163, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14299, - "end": 14303, + "start": 14155, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 16 } }, @@ -72671,15 +73019,15 @@ }, "property": { "type": "Identifier", - "start": 14304, - "end": 14307, + "start": 14160, + "end": 14163, "loc": { "start": { - "line": 395, + "line": 390, "column": 17 }, "end": { - "line": 395, + "line": 390, "column": 20 }, "identifierName": "log" @@ -72692,15 +73040,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14308, - "end": 14324, + "start": 14164, + "end": 14180, "loc": { "start": { - "line": 395, + "line": 390, "column": 21 }, "end": { - "line": 395, + "line": 390, "column": 37 } }, @@ -72717,15 +73065,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14269, - "end": 14286, + "start": 14125, + "end": 14142, "loc": { "start": { - "line": 394, + "line": 389, "column": 12 }, "end": { - "line": 394, + "line": 389, "column": 29 } } @@ -72734,29 +73082,29 @@ }, { "type": "IfStatement", - "start": 14340, - "end": 14525, + "start": 14196, + "end": 14381, "loc": { "start": { - "line": 397, + "line": 392, "column": 12 }, "end": { - "line": 402, + "line": 397, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14344, - "end": 14362, + "start": 14200, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 16 }, "end": { - "line": 397, + "line": 392, "column": 34 } }, @@ -72764,44 +73112,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14345, - "end": 14362, + "start": 14201, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 17 }, "end": { - "line": 397, + "line": 392, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14345, - "end": 14349, + "start": 14201, + "end": 14205, "loc": { "start": { - "line": 397, + "line": 392, "column": 17 }, "end": { - "line": 397, + "line": 392, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14350, - "end": 14362, + "start": 14206, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 22 }, "end": { - "line": 397, + "line": 392, "column": 34 }, "identifierName": "waveFinished" @@ -72816,86 +73164,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14364, - "end": 14461, + "start": 14220, + "end": 14317, "loc": { "start": { - "line": 397, + "line": 392, "column": 36 }, "end": { - "line": 400, + "line": 395, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14427, - "end": 14447, + "start": 14283, + "end": 14303, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14427, - "end": 14446, + "start": 14283, + "end": 14302, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14427, - "end": 14444, + "start": 14283, + "end": 14300, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14427, - "end": 14438, + "start": 14283, + "end": 14294, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14427, - "end": 14431, + "start": 14283, + "end": 14287, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 20 } }, @@ -72903,15 +73251,15 @@ }, "property": { "type": "Identifier", - "start": 14432, - "end": 14438, + "start": 14288, + "end": 14294, "loc": { "start": { - "line": 399, + "line": 394, "column": 21 }, "end": { - "line": 399, + "line": 394, "column": 27 }, "identifierName": "surfer" @@ -72923,15 +73271,15 @@ }, "property": { "type": "Identifier", - "start": 14439, - "end": 14444, + "start": 14295, + "end": 14300, "loc": { "start": { - "line": 399, + "line": 394, "column": 28 }, "end": { - "line": 399, + "line": 394, "column": 33 }, "identifierName": "pause" @@ -72948,15 +73296,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14382, - "end": 14410, + "start": 14238, + "end": 14266, "loc": { "start": { - "line": 398, + "line": 393, "column": 16 }, "end": { - "line": 398, + "line": 393, "column": 44 } } @@ -72968,88 +73316,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14467, - "end": 14525, + "start": 14323, + "end": 14381, "loc": { "start": { - "line": 400, + "line": 395, "column": 19 }, "end": { - "line": 402, + "line": 397, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14485, - "end": 14511, + "start": 14341, + "end": 14367, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14485, - "end": 14510, + "start": 14341, + "end": 14366, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14485, - "end": 14502, + "start": 14341, + "end": 14358, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14485, - "end": 14489, + "start": 14341, + "end": 14345, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14490, - "end": 14502, + "start": 14346, + "end": 14358, "loc": { "start": { - "line": 401, + "line": 396, "column": 21 }, "end": { - "line": 401, + "line": 396, "column": 33 }, "identifierName": "waveFinished" @@ -73060,15 +73408,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14505, - "end": 14510, + "start": 14361, + "end": 14366, "loc": { "start": { - "line": 401, + "line": 396, "column": 36 }, "end": { - "line": 401, + "line": 396, "column": 41 } }, @@ -73082,72 +73430,72 @@ }, { "type": "ExpressionStatement", - "start": 14539, - "end": 14561, + "start": 14395, + "end": 14417, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14539, - "end": 14560, + "start": 14395, + "end": 14416, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14539, - "end": 14558, + "start": 14395, + "end": 14414, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14539, - "end": 14543, + "start": 14395, + "end": 14399, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14544, - "end": 14558, + "start": 14400, + "end": 14414, "loc": { "start": { - "line": 404, + "line": 399, "column": 17 }, "end": { - "line": 404, + "line": 399, "column": 31 }, "identifierName": "setCurrentTime" @@ -73171,15 +73519,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -73189,15 +73537,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -73206,15 +73554,15 @@ }, { "type": "ClassMethod", - "start": 14615, - "end": 15010, + "start": 14471, + "end": 14866, "loc": { "start": { - "line": 411, + "line": 406, "column": 4 }, "end": { - "line": 422, + "line": 417, "column": 5 } }, @@ -73222,15 +73570,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14615, - "end": 14622, + "start": 14471, + "end": 14478, "loc": { "start": { - "line": 411, + "line": 406, "column": 4 }, "end": { - "line": 411, + "line": 406, "column": 11 }, "identifierName": "dispose" @@ -73246,73 +73594,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14625, - "end": 15010, + "start": 14481, + "end": 14866, "loc": { "start": { - "line": 411, + "line": 406, "column": 14 }, "end": { - "line": 422, + "line": 417, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14635, - "end": 14966, + "start": 14491, + "end": 14822, "loc": { "start": { - "line": 412, + "line": 407, "column": 8 }, "end": { - "line": 420, + "line": 415, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14639, - "end": 14650, + "start": 14495, + "end": 14506, "loc": { "start": { - "line": 412, + "line": 407, "column": 12 }, "end": { - "line": 412, + "line": 407, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14639, - "end": 14643, + "start": 14495, + "end": 14499, "loc": { "start": { - "line": 412, + "line": 407, "column": 12 }, "end": { - "line": 412, + "line": 407, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14644, - "end": 14650, + "start": 14500, + "end": 14506, "loc": { "start": { - "line": 412, + "line": 407, "column": 17 }, "end": { - "line": 412, + "line": 407, "column": 23 }, "identifierName": "surfer" @@ -73323,87 +73671,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14652, - "end": 14966, + "start": 14508, + "end": 14822, "loc": { "start": { - "line": 412, + "line": 407, "column": 25 }, "end": { - "line": 420, + "line": 415, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14666, - "end": 14878, + "start": 14522, + "end": 14734, "loc": { "start": { - "line": 413, + "line": 408, "column": 12 }, "end": { - "line": 417, + "line": 412, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14670, - "end": 14709, + "start": 14526, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14670, - "end": 14683, + "start": 14526, + "end": 14539, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14670, - "end": 14674, + "start": 14526, + "end": 14530, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14675, - "end": 14683, + "start": 14531, + "end": 14539, "loc": { "start": { - "line": 413, + "line": 408, "column": 21 }, "end": { - "line": 413, + "line": 408, "column": 29 }, "identifierName": "liveMode" @@ -73415,58 +73763,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14687, - "end": 14709, + "start": 14543, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14687, - "end": 14698, + "start": 14543, + "end": 14554, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14687, - "end": 14691, + "start": 14543, + "end": 14547, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14692, - "end": 14698, + "start": 14548, + "end": 14554, "loc": { "start": { - "line": 413, + "line": 408, "column": 38 }, "end": { - "line": 413, + "line": 408, "column": 44 }, "identifierName": "surfer" @@ -73477,15 +73825,15 @@ }, "property": { "type": "Identifier", - "start": 14699, - "end": 14709, + "start": 14555, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 45 }, "end": { - "line": 413, + "line": 408, "column": 55 }, "identifierName": "microphone" @@ -73497,100 +73845,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14711, - "end": 14878, + "start": 14567, + "end": 14734, "loc": { "start": { - "line": 413, + "line": 408, "column": 57 }, "end": { - "line": 417, + "line": 412, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14774, - "end": 14807, + "start": 14630, + "end": 14663, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14774, - "end": 14806, + "start": 14630, + "end": 14662, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14774, - "end": 14804, + "start": 14630, + "end": 14660, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14774, - "end": 14796, + "start": 14630, + "end": 14652, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14774, - "end": 14785, + "start": 14630, + "end": 14641, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14774, - "end": 14778, + "start": 14630, + "end": 14634, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 20 } }, @@ -73598,15 +73946,15 @@ }, "property": { "type": "Identifier", - "start": 14779, - "end": 14785, + "start": 14635, + "end": 14641, "loc": { "start": { - "line": 415, + "line": 410, "column": 21 }, "end": { - "line": 415, + "line": 410, "column": 27 }, "identifierName": "surfer" @@ -73618,15 +73966,15 @@ }, "property": { "type": "Identifier", - "start": 14786, - "end": 14796, + "start": 14642, + "end": 14652, "loc": { "start": { - "line": 415, + "line": 410, "column": 28 }, "end": { - "line": 415, + "line": 410, "column": 38 }, "identifierName": "microphone" @@ -73638,15 +73986,15 @@ }, "property": { "type": "Identifier", - "start": 14797, - "end": 14804, + "start": 14653, + "end": 14660, "loc": { "start": { - "line": 415, + "line": 410, "column": 39 }, "end": { - "line": 415, + "line": 410, "column": 46 }, "identifierName": "destroy" @@ -73663,15 +74011,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14729, - "end": 14757, + "start": 14585, + "end": 14613, "loc": { "start": { - "line": 414, + "line": 409, "column": 16 }, "end": { - "line": 414, + "line": 409, "column": 44 } } @@ -73680,72 +74028,72 @@ }, { "type": "ExpressionStatement", - "start": 14824, - "end": 14864, + "start": 14680, + "end": 14720, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14824, - "end": 14863, + "start": 14680, + "end": 14719, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14824, - "end": 14832, + "start": 14680, + "end": 14688, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14824, - "end": 14828, + "start": 14680, + "end": 14684, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14829, - "end": 14832, + "start": 14685, + "end": 14688, "loc": { "start": { - "line": 416, + "line": 411, "column": 21 }, "end": { - "line": 416, + "line": 411, "column": 24 }, "identifierName": "log" @@ -73757,15 +74105,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14833, - "end": 14862, + "start": 14689, + "end": 14718, "loc": { "start": { - "line": 416, + "line": 411, "column": 25 }, "end": { - "line": 416, + "line": 411, "column": 54 } }, @@ -73787,15 +74135,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -73804,71 +74152,71 @@ }, { "type": "ExpressionStatement", - "start": 14934, - "end": 14956, + "start": 14790, + "end": 14812, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14934, - "end": 14955, + "start": 14790, + "end": 14811, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14934, - "end": 14953, + "start": 14790, + "end": 14809, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 14934, - "end": 14945, + "start": 14790, + "end": 14801, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14934, - "end": 14938, + "start": 14790, + "end": 14794, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 16 } }, @@ -73876,15 +74224,15 @@ }, "property": { "type": "Identifier", - "start": 14939, - "end": 14945, + "start": 14795, + "end": 14801, "loc": { "start": { - "line": 419, + "line": 414, "column": 17 }, "end": { - "line": 419, + "line": 414, "column": 23 }, "identifierName": "surfer" @@ -73896,15 +74244,15 @@ }, "property": { "type": "Identifier", - "start": 14946, - "end": 14953, + "start": 14802, + "end": 14809, "loc": { "start": { - "line": 419, + "line": 414, "column": 24 }, "end": { - "line": 419, + "line": 414, "column": 31 }, "identifierName": "destroy" @@ -73921,15 +74269,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -73943,72 +74291,72 @@ }, { "type": "ExpressionStatement", - "start": 14975, - "end": 15004, + "start": 14831, + "end": 14860, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 14975, - "end": 15003, + "start": 14831, + "end": 14859, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 14975, - "end": 14983, + "start": 14831, + "end": 14839, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 14975, - "end": 14979, + "start": 14831, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14980, - "end": 14983, + "start": 14836, + "end": 14839, "loc": { "start": { - "line": 421, + "line": 416, "column": 13 }, "end": { - "line": 421, + "line": 416, "column": 16 }, "identifierName": "log" @@ -74020,15 +74368,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14984, - "end": 15002, + "start": 14840, + "end": 14858, "loc": { "start": { - "line": 421, + "line": 416, "column": 17 }, "end": { - "line": 421, + "line": 416, "column": 35 } }, @@ -74049,15 +74397,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -74067,15 +74415,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -74084,15 +74432,15 @@ }, { "type": "ClassMethod", - "start": 15146, - "end": 15232, + "start": 15002, + "end": 15088, "loc": { "start": { - "line": 429, + "line": 424, "column": 4 }, "end": { - "line": 431, + "line": 426, "column": 5 } }, @@ -74100,15 +74448,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15146, - "end": 15157, + "start": 15002, + "end": 15013, "loc": { "start": { - "line": 429, + "line": 424, "column": 4 }, "end": { - "line": 429, + "line": 424, "column": 15 }, "identifierName": "isDestroyed" @@ -74124,87 +74472,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15160, - "end": 15232, + "start": 15016, + "end": 15088, "loc": { "start": { - "line": 429, + "line": 424, "column": 18 }, "end": { - "line": 431, + "line": 426, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15170, - "end": 15226, + "start": 15026, + "end": 15082, "loc": { "start": { - "line": 430, + "line": 425, "column": 8 }, "end": { - "line": 430, + "line": 425, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15177, - "end": 15225, + "start": 15033, + "end": 15081, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15177, - "end": 15188, + "start": 15033, + "end": 15044, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15177, - "end": 15181, + "start": 15033, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15182, - "end": 15188, + "start": 15038, + "end": 15044, "loc": { "start": { - "line": 430, + "line": 425, "column": 20 }, "end": { - "line": 430, + "line": 425, "column": 26 }, "identifierName": "player" @@ -74216,86 +74564,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15193, - "end": 15224, + "start": 15049, + "end": 15080, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15193, - "end": 15215, + "start": 15049, + "end": 15071, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15193, - "end": 15213, + "start": 15049, + "end": 15069, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15193, - "end": 15204, + "start": 15049, + "end": 15060, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15193, - "end": 15197, + "start": 15049, + "end": 15053, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15198, - "end": 15204, + "start": 15054, + "end": 15060, "loc": { "start": { - "line": 430, + "line": 425, "column": 36 }, "end": { - "line": 430, + "line": 425, "column": 42 }, "identifierName": "player" @@ -74306,15 +74654,15 @@ }, "property": { "type": "Identifier", - "start": 15205, - "end": 15213, + "start": 15061, + "end": 15069, "loc": { "start": { - "line": 430, + "line": 425, "column": 43 }, "end": { - "line": 430, + "line": 425, "column": 51 }, "identifierName": "children" @@ -74328,22 +74676,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15220, - "end": 15224, + "start": 15076, + "end": 15080, "loc": { "start": { - "line": 430, + "line": 425, "column": 58 }, "end": { - "line": 430, + "line": 425, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15192 + "parenStart": 15048 } } } @@ -74356,15 +74704,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -74374,15 +74722,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -74391,15 +74739,15 @@ }, { "type": "ClassMethod", - "start": 15293, - "end": 15341, + "start": 15149, + "end": 15197, "loc": { "start": { - "line": 436, + "line": 431, "column": 4 }, "end": { - "line": 438, + "line": 433, "column": 5 } }, @@ -74407,15 +74755,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15293, - "end": 15300, + "start": 15149, + "end": 15156, "loc": { "start": { - "line": 436, + "line": 431, "column": 4 }, "end": { - "line": 436, + "line": 431, "column": 11 }, "identifierName": "destroy" @@ -74431,101 +74779,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15303, - "end": 15341, + "start": 15159, + "end": 15197, "loc": { "start": { - "line": 436, + "line": 431, "column": 14 }, "end": { - "line": 438, + "line": 433, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15313, - "end": 15335, + "start": 15169, + "end": 15191, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15313, - "end": 15334, + "start": 15169, + "end": 15190, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15313, - "end": 15332, + "start": 15169, + "end": 15188, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15313, - "end": 15324, + "start": 15169, + "end": 15180, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15313, - "end": 15317, + "start": 15169, + "end": 15173, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15318, - "end": 15324, + "start": 15174, + "end": 15180, "loc": { "start": { - "line": 437, + "line": 432, "column": 13 }, "end": { - "line": 437, + "line": 432, "column": 19 }, "identifierName": "player" @@ -74536,15 +74884,15 @@ }, "property": { "type": "Identifier", - "start": 15325, - "end": 15332, + "start": 15181, + "end": 15188, "loc": { "start": { - "line": 437, + "line": 432, "column": 20 }, "end": { - "line": 437, + "line": 432, "column": 27 }, "identifierName": "dispose" @@ -74564,15 +74912,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -74582,15 +74930,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -74599,15 +74947,15 @@ }, { "type": "ClassMethod", - "start": 15453, - "end": 15656, + "start": 15309, + "end": 15512, "loc": { "start": { - "line": 445, + "line": 440, "column": 4 }, "end": { - "line": 452, + "line": 447, "column": 5 } }, @@ -74615,15 +74963,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15453, - "end": 15462, + "start": 15309, + "end": 15318, "loc": { "start": { - "line": 445, + "line": 440, "column": 4 }, "end": { - "line": 445, + "line": 440, "column": 13 }, "identifierName": "setVolume" @@ -74639,15 +74987,15 @@ "params": [ { "type": "Identifier", - "start": 15463, - "end": 15469, + "start": 15319, + "end": 15325, "loc": { "start": { - "line": 445, + "line": 440, "column": 14 }, "end": { - "line": 445, + "line": 440, "column": 20 }, "identifierName": "volume" @@ -74657,58 +75005,58 @@ ], "body": { "type": "BlockStatement", - "start": 15471, - "end": 15656, + "start": 15327, + "end": 15512, "loc": { "start": { - "line": 445, + "line": 440, "column": 22 }, "end": { - "line": 452, + "line": 447, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15481, - "end": 15650, + "start": 15337, + "end": 15506, "loc": { "start": { - "line": 446, + "line": 441, "column": 8 }, "end": { - "line": 451, + "line": 446, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15485, - "end": 15505, + "start": 15341, + "end": 15361, "loc": { "start": { - "line": 446, + "line": 441, "column": 12 }, "end": { - "line": 446, + "line": 441, "column": 32 } }, "left": { "type": "Identifier", - "start": 15485, - "end": 15491, + "start": 15341, + "end": 15347, "loc": { "start": { - "line": 446, + "line": 441, "column": 12 }, "end": { - "line": 446, + "line": 441, "column": 18 }, "identifierName": "volume" @@ -74718,15 +75066,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15496, - "end": 15505, + "start": 15352, + "end": 15361, "loc": { "start": { - "line": 446, + "line": 441, "column": 23 }, "end": { - "line": 446, + "line": 441, "column": 32 }, "identifierName": "undefined" @@ -74736,87 +75084,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15507, - "end": 15650, + "start": 15363, + "end": 15506, "loc": { "start": { - "line": 446, + "line": 441, "column": 34 }, "end": { - "line": 451, + "line": 446, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15521, - "end": 15563, + "start": 15377, + "end": 15419, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15521, - "end": 15562, + "start": 15377, + "end": 15418, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15521, - "end": 15529, + "start": 15377, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15521, - "end": 15525, + "start": 15377, + "end": 15381, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15526, - "end": 15529, + "start": 15382, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 442, "column": 17 }, "end": { - "line": 447, + "line": 442, "column": 20 }, "identifierName": "log" @@ -74828,29 +75176,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15530, - "end": 15561, + "start": 15386, + "end": 15417, "loc": { "start": { - "line": 447, + "line": 442, "column": 21 }, "end": { - "line": 447, + "line": 442, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15530, - "end": 15552, + "start": 15386, + "end": 15408, "loc": { "start": { - "line": 447, + "line": 442, "column": 21 }, "end": { - "line": 447, + "line": 442, "column": 43 } }, @@ -74863,15 +75211,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15555, - "end": 15561, + "start": 15411, + "end": 15417, "loc": { "start": { - "line": 447, + "line": 442, "column": 46 }, "end": { - "line": 447, + "line": 442, "column": 52 }, "identifierName": "volume" @@ -74885,15 +75233,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -74902,71 +75250,71 @@ }, { "type": "ExpressionStatement", - "start": 15613, - "end": 15640, + "start": 15469, + "end": 15496, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15613, - "end": 15639, + "start": 15469, + "end": 15495, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15613, - "end": 15631, + "start": 15469, + "end": 15487, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15613, - "end": 15624, + "start": 15469, + "end": 15480, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15613, - "end": 15617, + "start": 15469, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 16 } }, @@ -74974,15 +75322,15 @@ }, "property": { "type": "Identifier", - "start": 15618, - "end": 15624, + "start": 15474, + "end": 15480, "loc": { "start": { - "line": 450, + "line": 445, "column": 17 }, "end": { - "line": 450, + "line": 445, "column": 23 }, "identifierName": "player" @@ -74994,15 +75342,15 @@ }, "property": { "type": "Identifier", - "start": 15625, - "end": 15631, + "start": 15481, + "end": 15487, "loc": { "start": { - "line": 450, + "line": 445, "column": 24 }, "end": { - "line": 450, + "line": 445, "column": 30 }, "identifierName": "volume" @@ -75015,15 +75363,15 @@ "arguments": [ { "type": "Identifier", - "start": 15632, - "end": 15638, + "start": 15488, + "end": 15494, "loc": { "start": { - "line": 450, + "line": 445, "column": 31 }, "end": { - "line": 450, + "line": 445, "column": 37 }, "identifierName": "volume" @@ -75037,15 +75385,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -75065,15 +75413,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -75083,15 +75431,293 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, + "start": 15518, + "end": 15987, + "loc": { + "start": { + "line": 449, + "column": 4 + }, + "end": { + "line": 459, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 15992, + "end": 16085, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 462, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 15992, + "end": 16003, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 460, + "column": 15 + }, + "identifierName": "exportImage" + }, + "name": "exportImage", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16004, + "end": 16010, + "loc": { + "start": { + "line": 460, + "column": 16 + }, + "end": { + "line": 460, + "column": 22 + }, + "identifierName": "format" + }, + "name": "format" + }, + { + "type": "Identifier", + "start": 16012, + "end": 16019, + "loc": { + "start": { + "line": 460, + "column": 24 + }, + "end": { + "line": 460, + "column": 31 + }, + "identifierName": "quality" + }, + "name": "quality" + } + ], + "body": { + "type": "BlockStatement", + "start": 16021, + "end": 16085, + "loc": { + "start": { + "line": 460, + "column": 33 + }, + "end": { + "line": 462, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 16031, + "end": 16079, + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 56 + } + }, + "argument": { + "type": "CallExpression", + "start": 16038, + "end": 16078, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16038, + "end": 16061, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 16038, + "end": 16049, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16038, + "end": 16042, + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 461, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 16043, + "end": 16049, + "loc": { + "start": { + "line": 461, + "column": 20 + }, + "end": { + "line": 461, + "column": 26 + }, + "identifierName": "surfer" + }, + "name": "surfer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16050, + "end": 16061, + "loc": { + "start": { + "line": 461, + "column": 27 + }, + "end": { + "line": 461, + "column": 38 + }, + "identifierName": "exportImage" + }, + "name": "exportImage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 16062, + "end": 16068, + "loc": { + "start": { + "line": 461, + "column": 39 + }, + "end": { + "line": 461, + "column": 45 + }, + "identifierName": "format" + }, + "name": "format" + }, + { + "type": "Identifier", + "start": 16070, + "end": 16077, + "loc": { + "start": { + "line": 461, + "column": 47 + }, + "end": { + "line": 461, + "column": 54 + }, + "identifierName": "quality" + }, + "name": "quality" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", + "start": 15518, + "end": 15987, "loc": { "start": { - "line": 454, + "line": 449, "column": 4 }, "end": { + "line": 459, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", + "start": 16091, + "end": 16209, + "loc": { + "start": { "line": 464, + "column": 4 + }, + "end": { + "line": 468, "column": 7 } } @@ -75100,15 +75726,15 @@ }, { "type": "ClassMethod", - "start": 16136, - "end": 16229, + "start": 16214, + "end": 16622, "loc": { "start": { - "line": 465, + "line": 469, "column": 4 }, "end": { - "line": 467, + "line": 481, "column": 5 } }, @@ -75116,293 +75742,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16136, - "end": 16147, + "start": 16214, + "end": 16228, "loc": { "start": { - "line": 465, - "column": 4 - }, - "end": { - "line": 465, - "column": 15 - }, - "identifierName": "exportImage" - }, - "name": "exportImage", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 16148, - "end": 16154, - "loc": { - "start": { - "line": 465, - "column": 16 - }, - "end": { - "line": 465, - "column": 22 - }, - "identifierName": "format" - }, - "name": "format" - }, - { - "type": "Identifier", - "start": 16156, - "end": 16163, - "loc": { - "start": { - "line": 465, - "column": 24 - }, - "end": { - "line": 465, - "column": 31 - }, - "identifierName": "quality" - }, - "name": "quality" - } - ], - "body": { - "type": "BlockStatement", - "start": 16165, - "end": 16229, - "loc": { - "start": { - "line": 465, - "column": 33 - }, - "end": { - "line": 467, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 16175, - "end": 16223, - "loc": { - "start": { - "line": 466, - "column": 8 - }, - "end": { - "line": 466, - "column": 56 - } - }, - "argument": { - "type": "CallExpression", - "start": 16182, - "end": 16222, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16182, - "end": 16205, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 16182, - "end": 16193, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 16182, - "end": 16186, - "loc": { - "start": { - "line": 466, - "column": 15 - }, - "end": { - "line": 466, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 16187, - "end": 16193, - "loc": { - "start": { - "line": 466, - "column": 20 - }, - "end": { - "line": 466, - "column": 26 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16194, - "end": 16205, - "loc": { - "start": { - "line": 466, - "column": 27 - }, - "end": { - "line": 466, - "column": 38 - }, - "identifierName": "exportImage" - }, - "name": "exportImage" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 16206, - "end": 16212, - "loc": { - "start": { - "line": 466, - "column": 39 - }, - "end": { - "line": 466, - "column": 45 - }, - "identifierName": "format" - }, - "name": "format" - }, - { - "type": "Identifier", - "start": 16214, - "end": 16221, - "loc": { - "start": { - "line": 466, - "column": 47 - }, - "end": { - "line": 466, - "column": 54 - }, - "identifierName": "quality" - }, - "name": "quality" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, - "loc": { - "start": { - "line": 454, - "column": 4 - }, - "end": { - "line": 464, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 473, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 16358, - "end": 16766, - "loc": { - "start": { - "line": 474, - "column": 4 - }, - "end": { - "line": 486, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 16358, - "end": 16372, - "loc": { - "start": { - "line": 474, + "line": 469, "column": 4 }, "end": { - "line": 474, + "line": 469, "column": 18 }, "identifierName": "setAudioOutput" @@ -75418,15 +75766,15 @@ "params": [ { "type": "Identifier", - "start": 16373, - "end": 16381, + "start": 16229, + "end": 16237, "loc": { "start": { - "line": 474, + "line": 469, "column": 19 }, "end": { - "line": 474, + "line": 469, "column": 27 }, "identifierName": "deviceId" @@ -75436,44 +75784,44 @@ ], "body": { "type": "BlockStatement", - "start": 16383, - "end": 16766, + "start": 16239, + "end": 16622, "loc": { "start": { - "line": 474, + "line": 469, "column": 29 }, "end": { - "line": 486, + "line": 481, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16393, - "end": 16760, + "start": 16249, + "end": 16616, "loc": { "start": { - "line": 475, + "line": 470, "column": 8 }, "end": { - "line": 485, + "line": 480, "column": 9 } }, "test": { "type": "Identifier", - "start": 16397, - "end": 16405, + "start": 16253, + "end": 16261, "loc": { "start": { - "line": 475, + "line": 470, "column": 12 }, "end": { - "line": 475, + "line": 470, "column": 20 }, "identifierName": "deviceId" @@ -75482,157 +75830,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16407, - "end": 16760, + "start": 16263, + "end": 16616, "loc": { "start": { - "line": 475, + "line": 470, "column": 22 }, "end": { - "line": 485, + "line": 480, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16421, - "end": 16750, + "start": 16277, + "end": 16606, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 484, + "line": 479, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16421, - "end": 16749, + "start": 16277, + "end": 16605, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 484, + "line": 479, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16591, + "start": 16277, + "end": 16447, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 479, + "line": 474, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16421, - "end": 16585, + "start": 16277, + "end": 16441, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 479, + "line": 474, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16457, + "start": 16277, + "end": 16313, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16421, - "end": 16452, + "start": 16277, + "end": 16308, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16421, - "end": 16442, + "start": 16277, + "end": 16298, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16421, - "end": 16432, + "start": 16277, + "end": 16288, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16421, - "end": 16425, + "start": 16277, + "end": 16281, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16426, - "end": 16432, + "start": 16282, + "end": 16288, "loc": { "start": { - "line": 476, + "line": 471, "column": 17 }, "end": { - "line": 476, + "line": 471, "column": 23 }, "identifierName": "surfer" @@ -75643,15 +75991,15 @@ }, "property": { "type": "Identifier", - "start": 16433, - "end": 16442, + "start": 16289, + "end": 16298, "loc": { "start": { - "line": 476, + "line": 471, "column": 24 }, "end": { - "line": 476, + "line": 471, "column": 33 }, "identifierName": "setSinkId" @@ -75663,15 +76011,15 @@ "arguments": [ { "type": "Identifier", - "start": 16443, - "end": 16451, + "start": 16299, + "end": 16307, "loc": { "start": { - "line": 476, + "line": 471, "column": 34 }, "end": { - "line": 476, + "line": 471, "column": 42 }, "identifierName": "deviceId" @@ -75682,15 +76030,15 @@ }, "property": { "type": "Identifier", - "start": 16453, - "end": 16457, + "start": 16309, + "end": 16313, "loc": { "start": { - "line": 476, + "line": 471, "column": 44 }, "end": { - "line": 476, + "line": 471, "column": 48 }, "identifierName": "then" @@ -75702,15 +76050,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16458, - "end": 16584, + "start": 16314, + "end": 16440, "loc": { "start": { - "line": 476, + "line": 471, "column": 49 }, "end": { - "line": 479, + "line": 474, "column": 13 } }, @@ -75721,15 +76069,15 @@ "params": [ { "type": "Identifier", - "start": 16459, - "end": 16465, + "start": 16315, + "end": 16321, "loc": { "start": { - "line": 476, + "line": 471, "column": 50 }, "end": { - "line": 476, + "line": 471, "column": 56 }, "identifierName": "result" @@ -75739,86 +76087,86 @@ ], "body": { "type": "BlockStatement", - "start": 16470, - "end": 16584, + "start": 16326, + "end": 16440, "loc": { "start": { - "line": 476, + "line": 471, "column": 61 }, "end": { - "line": 479, + "line": 474, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16524, - "end": 16570, + "start": 16380, + "end": 16426, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16524, - "end": 16569, + "start": 16380, + "end": 16425, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16524, - "end": 16543, + "start": 16380, + "end": 16399, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16524, - "end": 16535, + "start": 16380, + "end": 16391, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16524, - "end": 16528, + "start": 16380, + "end": 16384, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 20 } }, @@ -75826,15 +76174,15 @@ }, "property": { "type": "Identifier", - "start": 16529, - "end": 16535, + "start": 16385, + "end": 16391, "loc": { "start": { - "line": 478, + "line": 473, "column": 21 }, "end": { - "line": 478, + "line": 473, "column": 27 }, "identifierName": "player" @@ -75846,15 +76194,15 @@ }, "property": { "type": "Identifier", - "start": 16536, - "end": 16543, + "start": 16392, + "end": 16399, "loc": { "start": { - "line": 478, + "line": 473, "column": 28 }, "end": { - "line": 478, + "line": 473, "column": 35 }, "identifierName": "trigger" @@ -75867,29 +76215,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16544, - "end": 16568, + "start": 16400, + "end": 16424, "loc": { "start": { - "line": 478, + "line": 473, "column": 36 }, "end": { - "line": 478, + "line": 473, "column": 60 } }, "object": { "type": "Identifier", - "start": 16544, - "end": 16549, + "start": 16400, + "end": 16405, "loc": { "start": { - "line": 478, + "line": 473, "column": 36 }, "end": { - "line": 478, + "line": 473, "column": 41 }, "identifierName": "Event" @@ -75898,15 +76246,15 @@ }, "property": { "type": "Identifier", - "start": 16550, - "end": 16568, + "start": 16406, + "end": 16424, "loc": { "start": { - "line": 478, + "line": 473, "column": 42 }, "end": { - "line": 478, + "line": 473, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -75922,15 +76270,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16488, - "end": 16507, + "start": 16344, + "end": 16363, "loc": { "start": { - "line": 477, + "line": 472, "column": 16 }, "end": { - "line": 477, + "line": 472, "column": 35 } } @@ -75945,15 +76293,15 @@ }, "property": { "type": "Identifier", - "start": 16586, - "end": 16591, + "start": 16442, + "end": 16447, "loc": { "start": { - "line": 479, + "line": 474, "column": 15 }, "end": { - "line": 479, + "line": 474, "column": 20 }, "identifierName": "catch" @@ -75965,15 +76313,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16592, - "end": 16748, + "start": 16448, + "end": 16604, "loc": { "start": { - "line": 479, + "line": 474, "column": 21 }, "end": { - "line": 484, + "line": 479, "column": 13 } }, @@ -75984,15 +76332,15 @@ "params": [ { "type": "Identifier", - "start": 16593, - "end": 16596, + "start": 16449, + "end": 16452, "loc": { "start": { - "line": 479, + "line": 474, "column": 22 }, "end": { - "line": 479, + "line": 474, "column": 25 }, "identifierName": "err" @@ -76002,86 +76350,86 @@ ], "body": { "type": "BlockStatement", - "start": 16601, - "end": 16748, + "start": 16457, + "end": 16604, "loc": { "start": { - "line": 479, + "line": 474, "column": 30 }, "end": { - "line": 484, + "line": 479, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16655, - "end": 16693, + "start": 16511, + "end": 16549, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 16655, - "end": 16692, + "start": 16511, + "end": 16548, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 16655, - "end": 16674, + "start": 16511, + "end": 16530, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16655, - "end": 16666, + "start": 16511, + "end": 16522, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16655, - "end": 16659, + "start": 16511, + "end": 16515, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 20 } }, @@ -76089,15 +76437,15 @@ }, "property": { "type": "Identifier", - "start": 16660, - "end": 16666, + "start": 16516, + "end": 16522, "loc": { "start": { - "line": 481, + "line": 476, "column": 21 }, "end": { - "line": 481, + "line": 476, "column": 27 }, "identifierName": "player" @@ -76109,15 +76457,15 @@ }, "property": { "type": "Identifier", - "start": 16667, - "end": 16674, + "start": 16523, + "end": 16530, "loc": { "start": { - "line": 481, + "line": 476, "column": 28 }, "end": { - "line": 481, + "line": 476, "column": 35 }, "identifierName": "trigger" @@ -76130,29 +76478,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16675, - "end": 16686, + "start": 16531, + "end": 16542, "loc": { "start": { - "line": 481, + "line": 476, "column": 36 }, "end": { - "line": 481, + "line": 476, "column": 47 } }, "object": { "type": "Identifier", - "start": 16675, - "end": 16680, + "start": 16531, + "end": 16536, "loc": { "start": { - "line": 481, + "line": 476, "column": 36 }, "end": { - "line": 481, + "line": 476, "column": 41 }, "identifierName": "Event" @@ -76161,15 +76509,15 @@ }, "property": { "type": "Identifier", - "start": 16681, - "end": 16686, + "start": 16537, + "end": 16542, "loc": { "start": { - "line": 481, + "line": 476, "column": 42 }, "end": { - "line": 481, + "line": 476, "column": 47 }, "identifierName": "ERROR" @@ -76180,15 +76528,15 @@ }, { "type": "Identifier", - "start": 16688, - "end": 16691, + "start": 16544, + "end": 16547, "loc": { "start": { - "line": 481, + "line": 476, "column": 49 }, "end": { - "line": 481, + "line": 476, "column": 52 }, "identifierName": "err" @@ -76202,15 +76550,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16619, - "end": 16638, + "start": 16475, + "end": 16494, "loc": { "start": { - "line": 480, + "line": 475, "column": 16 }, "end": { - "line": 480, + "line": 475, "column": 35 } } @@ -76219,72 +76567,72 @@ }, { "type": "ExpressionStatement", - "start": 16711, - "end": 16734, + "start": 16567, + "end": 16590, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 16711, - "end": 16733, + "start": 16567, + "end": 16589, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16711, - "end": 16719, + "start": 16567, + "end": 16575, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 16711, - "end": 16715, + "start": 16567, + "end": 16571, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 20 } } }, "property": { "type": "Identifier", - "start": 16716, - "end": 16719, + "start": 16572, + "end": 16575, "loc": { "start": { - "line": 483, + "line": 478, "column": 21 }, "end": { - "line": 483, + "line": 478, "column": 24 }, "identifierName": "log" @@ -76296,15 +76644,15 @@ "arguments": [ { "type": "Identifier", - "start": 16720, - "end": 16723, + "start": 16576, + "end": 16579, "loc": { "start": { - "line": 483, + "line": 478, "column": 25 }, "end": { - "line": 483, + "line": 478, "column": 28 }, "identifierName": "err" @@ -76313,15 +76661,15 @@ }, { "type": "StringLiteral", - "start": 16725, - "end": 16732, + "start": 16581, + "end": 16588, "loc": { "start": { - "line": 483, + "line": 478, "column": 30 }, "end": { - "line": 483, + "line": 478, "column": 37 } }, @@ -76354,15 +76702,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, + "start": 16091, + "end": 16209, "loc": { "start": { - "line": 469, + "line": 464, "column": 4 }, "end": { - "line": 473, + "line": 468, "column": 7 } } @@ -76372,15 +76720,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -76389,15 +76737,15 @@ }, { "type": "ClassMethod", - "start": 16976, - "end": 17145, + "start": 16832, + "end": 17001, "loc": { "start": { - "line": 495, + "line": 490, "column": 4 }, "end": { - "line": 500, + "line": 495, "column": 5 } }, @@ -76405,15 +76753,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16976, - "end": 16990, + "start": 16832, + "end": 16846, "loc": { "start": { - "line": 495, + "line": 490, "column": 4 }, "end": { - "line": 495, + "line": 490, "column": 18 }, "identifierName": "getCurrentTime" @@ -76429,59 +76777,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16993, - "end": 17145, + "start": 16849, + "end": 17001, "loc": { "start": { - "line": 495, + "line": 490, "column": 21 }, "end": { - "line": 500, + "line": 495, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17003, - "end": 17050, + "start": 16859, + "end": 16906, "loc": { "start": { - "line": 496, + "line": 491, "column": 8 }, "end": { - "line": 496, + "line": 491, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17007, - "end": 17049, + "start": 16863, + "end": 16905, "loc": { "start": { - "line": 496, + "line": 491, "column": 12 }, "end": { - "line": 496, + "line": 491, "column": 54 } }, "id": { "type": "Identifier", - "start": 17007, - "end": 17018, + "start": 16863, + "end": 16874, "loc": { "start": { - "line": 496, + "line": 491, "column": 12 }, "end": { - "line": 496, + "line": 491, "column": 23 }, "identifierName": "currentTime" @@ -76490,72 +76838,72 @@ }, "init": { "type": "CallExpression", - "start": 17021, - "end": 17049, + "start": 16877, + "end": 16905, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17021, - "end": 17047, + "start": 16877, + "end": 16903, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17021, - "end": 17032, + "start": 16877, + "end": 16888, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17021, - "end": 17025, + "start": 16877, + "end": 16881, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17026, - "end": 17032, + "start": 16882, + "end": 16888, "loc": { "start": { - "line": 496, + "line": 491, "column": 31 }, "end": { - "line": 496, + "line": 491, "column": 37 }, "identifierName": "surfer" @@ -76566,15 +76914,15 @@ }, "property": { "type": "Identifier", - "start": 17033, - "end": 17047, + "start": 16889, + "end": 16903, "loc": { "start": { - "line": 496, + "line": 491, "column": 38 }, "end": { - "line": 496, + "line": 491, "column": 52 }, "identifierName": "getCurrentTime" @@ -76591,44 +76939,44 @@ }, { "type": "ExpressionStatement", - "start": 17059, - "end": 17110, + "start": 16915, + "end": 16966, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17059, - "end": 17109, + "start": 16915, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17059, - "end": 17070, + "start": 16915, + "end": 16926, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 19 }, "identifierName": "currentTime" @@ -76637,43 +76985,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17073, - "end": 17109, + "start": 16929, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17073, - "end": 17091, + "start": 16929, + "end": 16947, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17073, - "end": 17078, + "start": 16929, + "end": 16934, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 27 }, "identifierName": "isNaN" @@ -76683,15 +77031,15 @@ "arguments": [ { "type": "Identifier", - "start": 17079, - "end": 17090, + "start": 16935, + "end": 16946, "loc": { "start": { - "line": 497, + "line": 492, "column": 28 }, "end": { - "line": 497, + "line": 492, "column": 39 }, "identifierName": "currentTime" @@ -76702,15 +77050,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17094, - "end": 17095, + "start": 16950, + "end": 16951, "loc": { "start": { - "line": 497, + "line": 492, "column": 43 }, "end": { - "line": 497, + "line": 492, "column": 44 } }, @@ -76722,15 +77070,15 @@ }, "alternate": { "type": "Identifier", - "start": 17098, - "end": 17109, + "start": 16954, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 47 }, "end": { - "line": 497, + "line": 492, "column": 58 }, "identifierName": "currentTime" @@ -76742,29 +77090,29 @@ }, { "type": "ReturnStatement", - "start": 17120, - "end": 17139, + "start": 16976, + "end": 16995, "loc": { "start": { - "line": 499, + "line": 494, "column": 8 }, "end": { - "line": 499, + "line": 494, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17127, - "end": 17138, + "start": 16983, + "end": 16994, "loc": { "start": { - "line": 499, + "line": 494, "column": 15 }, "end": { - "line": 499, + "line": 494, "column": 26 }, "identifierName": "currentTime" @@ -76780,15 +77128,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -76798,15 +77146,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -76815,15 +77163,15 @@ }, { "type": "ClassMethod", - "start": 17427, - "end": 18462, + "start": 17283, + "end": 18404, "loc": { "start": { - "line": 510, + "line": 505, "column": 4 }, "end": { - "line": 536, + "line": 532, "column": 5 } }, @@ -76831,15 +77179,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17427, - "end": 17441, + "start": 17283, + "end": 17297, "loc": { "start": { - "line": 510, + "line": 505, "column": 4 }, "end": { - "line": 510, + "line": 505, "column": 18 }, "identifierName": "setCurrentTime" @@ -76855,15 +77203,15 @@ "params": [ { "type": "Identifier", - "start": 17442, - "end": 17453, + "start": 17298, + "end": 17309, "loc": { "start": { - "line": 510, + "line": 505, "column": 19 }, "end": { - "line": 510, + "line": 505, "column": 30 }, "identifierName": "currentTime" @@ -76872,15 +77220,15 @@ }, { "type": "Identifier", - "start": 17455, - "end": 17463, + "start": 17311, + "end": 17319, "loc": { "start": { - "line": 510, + "line": 505, "column": 32 }, "end": { - "line": 510, + "line": 505, "column": 40 }, "identifierName": "duration" @@ -76890,58 +77238,58 @@ ], "body": { "type": "BlockStatement", - "start": 17465, - "end": 18462, + "start": 17321, + "end": 18404, "loc": { "start": { - "line": 510, + "line": 505, "column": 42 }, "end": { - "line": 536, + "line": 532, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17475, - "end": 17573, + "start": 17331, + "end": 17429, "loc": { "start": { - "line": 511, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 508, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17479, - "end": 17504, + "start": 17335, + "end": 17360, "loc": { "start": { - "line": 511, + "line": 506, "column": 12 }, "end": { - "line": 511, + "line": 506, "column": 37 } }, "left": { "type": "Identifier", - "start": 17479, - "end": 17490, + "start": 17335, + "end": 17346, "loc": { "start": { - "line": 511, + "line": 506, "column": 12 }, "end": { - "line": 511, + "line": 506, "column": 23 }, "identifierName": "currentTime" @@ -76951,15 +77299,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17495, - "end": 17504, + "start": 17351, + "end": 17360, "loc": { "start": { - "line": 511, + "line": 506, "column": 28 }, "end": { - "line": 511, + "line": 506, "column": 37 }, "identifierName": "undefined" @@ -76969,59 +77317,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17506, - "end": 17573, + "start": 17362, + "end": 17429, "loc": { "start": { - "line": 511, + "line": 506, "column": 39 }, "end": { - "line": 513, + "line": 508, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17520, - "end": 17563, + "start": 17376, + "end": 17419, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17520, - "end": 17562, + "start": 17376, + "end": 17418, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17520, - "end": 17531, + "start": 17376, + "end": 17387, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 23 }, "identifierName": "currentTime" @@ -77030,72 +77378,72 @@ }, "right": { "type": "CallExpression", - "start": 17534, - "end": 17562, + "start": 17390, + "end": 17418, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17534, - "end": 17560, + "start": 17390, + "end": 17416, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17534, - "end": 17545, + "start": 17390, + "end": 17401, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17534, - "end": 17538, + "start": 17390, + "end": 17394, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17539, - "end": 17545, + "start": 17395, + "end": 17401, "loc": { "start": { - "line": 512, + "line": 507, "column": 31 }, "end": { - "line": 512, + "line": 507, "column": 37 }, "identifierName": "surfer" @@ -77106,15 +77454,15 @@ }, "property": { "type": "Identifier", - "start": 17546, - "end": 17560, + "start": 17402, + "end": 17416, "loc": { "start": { - "line": 512, + "line": 507, "column": 38 }, "end": { - "line": 512, + "line": 507, "column": 52 }, "identifierName": "getCurrentTime" @@ -77134,43 +77482,43 @@ }, { "type": "IfStatement", - "start": 17583, - "end": 17672, + "start": 17439, + "end": 17528, "loc": { "start": { - "line": 515, + "line": 510, "column": 8 }, "end": { - "line": 517, + "line": 512, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17587, - "end": 17609, + "start": 17443, + "end": 17465, "loc": { "start": { - "line": 515, + "line": 510, "column": 12 }, "end": { - "line": 515, + "line": 510, "column": 34 } }, "left": { "type": "Identifier", - "start": 17587, - "end": 17595, + "start": 17443, + "end": 17451, "loc": { "start": { - "line": 515, + "line": 510, "column": 12 }, "end": { - "line": 515, + "line": 510, "column": 20 }, "identifierName": "duration" @@ -77180,15 +77528,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17600, - "end": 17609, + "start": 17456, + "end": 17465, "loc": { "start": { - "line": 515, + "line": 510, "column": 25 }, "end": { - "line": 515, + "line": 510, "column": 34 }, "identifierName": "undefined" @@ -77198,59 +77546,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17611, - "end": 17672, + "start": 17467, + "end": 17528, "loc": { "start": { - "line": 515, + "line": 510, "column": 36 }, "end": { - "line": 517, + "line": 512, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17625, - "end": 17662, + "start": 17481, + "end": 17518, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 17625, - "end": 17661, + "start": 17481, + "end": 17517, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17625, - "end": 17633, + "start": 17481, + "end": 17489, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 20 }, "identifierName": "duration" @@ -77259,72 +77607,72 @@ }, "right": { "type": "CallExpression", - "start": 17636, - "end": 17661, + "start": 17492, + "end": 17517, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 17636, - "end": 17659, + "start": 17492, + "end": 17515, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 17636, - "end": 17647, + "start": 17492, + "end": 17503, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17636, - "end": 17640, + "start": 17492, + "end": 17496, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17641, - "end": 17647, + "start": 17497, + "end": 17503, "loc": { "start": { - "line": 516, + "line": 511, "column": 28 }, "end": { - "line": 516, + "line": 511, "column": 34 }, "identifierName": "surfer" @@ -77335,15 +77683,15 @@ }, "property": { "type": "Identifier", - "start": 17648, - "end": 17659, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 516, + "line": 511, "column": 35 }, "end": { - "line": 516, + "line": 511, "column": 46 }, "identifierName": "getDuration" @@ -77363,44 +77711,44 @@ }, { "type": "ExpressionStatement", - "start": 17682, - "end": 17733, + "start": 17538, + "end": 17589, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17682, - "end": 17732, + "start": 17538, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17682, - "end": 17693, + "start": 17538, + "end": 17549, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 19 }, "identifierName": "currentTime" @@ -77409,43 +77757,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17696, - "end": 17732, + "start": 17552, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17696, - "end": 17714, + "start": 17552, + "end": 17570, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17696, - "end": 17701, + "start": 17552, + "end": 17557, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 27 }, "identifierName": "isNaN" @@ -77455,15 +77803,15 @@ "arguments": [ { "type": "Identifier", - "start": 17702, - "end": 17713, + "start": 17558, + "end": 17569, "loc": { "start": { - "line": 519, + "line": 514, "column": 28 }, "end": { - "line": 519, + "line": 514, "column": 39 }, "identifierName": "currentTime" @@ -77474,15 +77822,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17717, - "end": 17718, + "start": 17573, + "end": 17574, "loc": { "start": { - "line": 519, + "line": 514, "column": 43 }, "end": { - "line": 519, + "line": 514, "column": 44 } }, @@ -77494,15 +77842,15 @@ }, "alternate": { "type": "Identifier", - "start": 17721, - "end": 17732, + "start": 17577, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 47 }, "end": { - "line": 519, + "line": 514, "column": 58 }, "identifierName": "currentTime" @@ -77514,44 +77862,44 @@ }, { "type": "ExpressionStatement", - "start": 17742, - "end": 17784, + "start": 17598, + "end": 17640, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 17742, - "end": 17783, + "start": 17598, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17742, - "end": 17750, + "start": 17598, + "end": 17606, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 16 }, "identifierName": "duration" @@ -77560,43 +77908,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17753, - "end": 17783, + "start": 17609, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 49 } }, "test": { "type": "CallExpression", - "start": 17753, - "end": 17768, + "start": 17609, + "end": 17624, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 34 } }, "callee": { "type": "Identifier", - "start": 17753, - "end": 17758, + "start": 17609, + "end": 17614, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 24 }, "identifierName": "isNaN" @@ -77606,15 +77954,15 @@ "arguments": [ { "type": "Identifier", - "start": 17759, - "end": 17767, + "start": 17615, + "end": 17623, "loc": { "start": { - "line": 520, + "line": 515, "column": 25 }, "end": { - "line": 520, + "line": 515, "column": 33 }, "identifierName": "duration" @@ -77625,15 +77973,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17771, - "end": 17772, + "start": 17627, + "end": 17628, "loc": { "start": { - "line": 520, + "line": 515, "column": 37 }, "end": { - "line": 520, + "line": 515, "column": 38 } }, @@ -77645,15 +77993,15 @@ }, "alternate": { "type": "Identifier", - "start": 17775, - "end": 17783, + "start": 17631, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 41 }, "end": { - "line": 520, + "line": 515, "column": 49 }, "identifierName": "duration" @@ -77666,15 +78014,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -77683,371 +78031,584 @@ }, { "type": "IfStatement", - "start": 17843, - "end": 18259, + "start": 17699, + "end": 18201, "loc": { "start": { - "line": 523, + "line": 518, "column": 8 }, "end": { - "line": 530, + "line": 526, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 17847, - "end": 17957, + "start": 17703, + "end": 17892, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 524, - "column": 65 + "line": 520, + "column": 75 } }, "left": { - "type": "MemberExpression", - "start": 17847, - "end": 17888, + "type": "LogicalExpression", + "start": 17703, + "end": 17813, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 53 + "line": 519, + "column": 65 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 17847, - "end": 17869, + "start": 17703, + "end": 17744, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 34 + "line": 518, + "column": 53 } }, "object": { "type": "MemberExpression", - "start": 17847, - "end": 17858, + "start": 17703, + "end": 17725, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 23 + "line": 518, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 17847, - "end": 17851, + "type": "MemberExpression", + "start": 17703, + "end": 17714, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, - "column": 16 + "line": 518, + "column": 23 } }, + "object": { + "type": "ThisExpression", + "start": 17703, + "end": 17707, + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 17708, + "end": 17714, + "loc": { + "start": { + "line": 518, + "column": 17 + }, + "end": { + "line": 518, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 17852, - "end": 17858, + "start": 17715, + "end": 17725, "loc": { "start": { - "line": 523, - "column": 17 + "line": 518, + "column": 24 }, "end": { - "line": 523, - "column": 23 + "line": 518, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 17859, - "end": 17869, + "start": 17726, + "end": 17744, "loc": { "start": { - "line": 523, - "column": 24 + "line": 518, + "column": 35 }, "end": { - "line": 523, - "column": 34 + "line": 518, + "column": 53 }, - "identifierName": "controlBar" + "identifierName": "currentTimeDisplay" }, - "name": "controlBar" + "name": "currentTimeDisplay" }, "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 17870, - "end": 17888, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 17760, + "end": 17813, "loc": { "start": { - "line": 523, - "column": 35 + "line": 519, + "column": 12 }, "end": { - "line": 523, - "column": 53 + "line": 519, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17760, + "end": 17811, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 63 + } }, - "identifierName": "currentTimeDisplay" + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17801, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17782, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 17760, + "end": 17771, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 17760, + "end": 17764, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 17765, + "end": 17771, + "loc": { + "start": { + "line": 519, + "column": 17 + }, + "end": { + "line": 519, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17772, + "end": 17782, + "loc": { + "start": { + "line": 519, + "column": 24 + }, + "end": { + "line": 519, + "column": 34 + }, + "identifierName": "controlBar" + }, + "name": "controlBar" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17783, + "end": 17801, + "loc": { + "start": { + "line": 519, + "column": 35 + }, + "end": { + "line": 519, + "column": 53 + }, + "identifierName": "currentTimeDisplay" + }, + "name": "currentTimeDisplay" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17802, + "end": 17811, + "loc": { + "start": { + "line": 519, + "column": 54 + }, + "end": { + "line": 519, + "column": 63 + }, + "identifierName": "contentEl" + }, + "name": "contentEl" + }, + "computed": false }, - "name": "currentTimeDisplay" + "arguments": [] }, - "computed": false, "leadingComments": null }, "operator": "&&", "right": { - "type": "CallExpression", - "start": 17904, - "end": 17957, + "type": "MemberExpression", + "start": 17829, + "end": 17892, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 65 + "line": 520, + "column": 75 } }, - "callee": { - "type": "MemberExpression", - "start": 17904, - "end": 17955, + "object": { + "type": "CallExpression", + "start": 17829, + "end": 17882, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 63 + "line": 520, + "column": 65 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 17904, - "end": 17945, + "start": 17829, + "end": 17880, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 53 + "line": 520, + "column": 63 } }, "object": { "type": "MemberExpression", - "start": 17904, - "end": 17926, + "start": 17829, + "end": 17870, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 34 + "line": 520, + "column": 53 } }, "object": { "type": "MemberExpression", - "start": 17904, - "end": 17915, + "start": 17829, + "end": 17851, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 23 + "line": 520, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 17904, - "end": 17908, + "type": "MemberExpression", + "start": 17829, + "end": 17840, "loc": { "start": { - "line": 524, + "line": 520, "column": 12 }, "end": { - "line": 524, - "column": 16 + "line": 520, + "column": 23 } - } + }, + "object": { + "type": "ThisExpression", + "start": 17829, + "end": 17833, + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 17834, + "end": 17840, + "loc": { + "start": { + "line": 520, + "column": 17 + }, + "end": { + "line": 520, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 17909, - "end": 17915, + "start": 17841, + "end": 17851, "loc": { "start": { - "line": 524, - "column": 17 + "line": 520, + "column": 24 }, "end": { - "line": 524, - "column": 23 + "line": 520, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false }, "property": { "type": "Identifier", - "start": 17916, - "end": 17926, + "start": 17852, + "end": 17870, "loc": { "start": { - "line": 524, - "column": 24 + "line": 520, + "column": 35 }, "end": { - "line": 524, - "column": 34 + "line": 520, + "column": 53 }, - "identifierName": "controlBar" + "identifierName": "currentTimeDisplay" }, - "name": "controlBar" + "name": "currentTimeDisplay" }, "computed": false }, "property": { "type": "Identifier", - "start": 17927, - "end": 17945, + "start": 17871, + "end": 17880, "loc": { "start": { - "line": 524, - "column": 35 + "line": 520, + "column": 54 }, "end": { - "line": 524, - "column": 53 + "line": 520, + "column": 63 }, - "identifierName": "currentTimeDisplay" + "identifierName": "contentEl" }, - "name": "currentTimeDisplay" + "name": "contentEl" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 17946, - "end": 17955, - "loc": { - "start": { - "line": 524, - "column": 54 - }, - "end": { - "line": 524, - "column": 63 - }, - "identifierName": "contentEl" + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 17883, + "end": 17892, + "loc": { + "start": { + "line": 520, + "column": 66 }, - "name": "contentEl" + "end": { + "line": 520, + "column": 75 + }, + "identifierName": "lastChild" }, - "computed": false + "name": "lastChild" }, - "arguments": [] + "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 17959, - "end": 18259, + "start": 17894, + "end": 18201, "loc": { "start": { - "line": 524, - "column": 67 + "line": 520, + "column": 77 }, "end": { - "line": 530, + "line": 526, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 17973, - "end": 18016, + "start": 17908, + "end": 17951, "loc": { "start": { - "line": 525, + "line": 521, "column": 12 }, "end": { - "line": 525, + "line": 521, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17977, - "end": 18015, + "start": 17912, + "end": 17950, "loc": { "start": { - "line": 525, + "line": 521, "column": 16 }, "end": { - "line": 525, + "line": 521, "column": 54 } }, "id": { "type": "Identifier", - "start": 17977, - "end": 17981, + "start": 17912, + "end": 17916, "loc": { "start": { - "line": 525, + "line": 521, "column": 16 }, "end": { - "line": 525, + "line": 521, "column": 20 }, "identifierName": "time" @@ -78056,43 +78617,43 @@ }, "init": { "type": "CallExpression", - "start": 17984, - "end": 18015, + "start": 17919, + "end": 17950, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17984, - "end": 17992, + "start": 17919, + "end": 17927, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 31 } }, "object": { "type": "Identifier", - "start": 17984, - "end": 17988, + "start": 17919, + "end": 17923, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 27 }, "identifierName": "Math" @@ -78101,15 +78662,15 @@ }, "property": { "type": "Identifier", - "start": 17989, - "end": 17992, + "start": 17924, + "end": 17927, "loc": { "start": { - "line": 525, + "line": 521, "column": 28 }, "end": { - "line": 525, + "line": 521, "column": 31 }, "identifierName": "min" @@ -78121,15 +78682,15 @@ "arguments": [ { "type": "Identifier", - "start": 17993, - "end": 18004, + "start": 17928, + "end": 17939, "loc": { "start": { - "line": 525, + "line": 521, "column": 32 }, "end": { - "line": 525, + "line": 521, "column": 43 }, "identifierName": "currentTime" @@ -78138,15 +78699,15 @@ }, { "type": "Identifier", - "start": 18006, - "end": 18014, + "start": 17941, + "end": 17949, "loc": { "start": { - "line": 525, + "line": 521, "column": 45 }, "end": { - "line": 525, + "line": 521, "column": 53 }, "identifierName": "duration" @@ -78161,115 +78722,115 @@ }, { "type": "ExpressionStatement", - "start": 18030, - "end": 18249, + "start": 17965, + "end": 18191, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 529, - "column": 66 + "line": 525, + "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 18030, - "end": 18248, + "start": 17965, + "end": 18190, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18030, - "end": 18086, + "start": 17965, + "end": 18021, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18071, + "start": 17965, + "end": 18006, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18052, + "start": 17965, + "end": 17987, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18030, - "end": 18041, + "start": 17965, + "end": 17976, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18030, - "end": 18034, + "start": 17965, + "end": 17969, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18035, - "end": 18041, + "start": 17970, + "end": 17976, "loc": { "start": { - "line": 527, + "line": 523, "column": 17 }, "end": { - "line": 527, + "line": 523, "column": 23 }, "identifierName": "player" @@ -78280,15 +78841,15 @@ }, "property": { "type": "Identifier", - "start": 18042, - "end": 18052, + "start": 17977, + "end": 17987, "loc": { "start": { - "line": 527, + "line": 523, "column": 24 }, "end": { - "line": 527, + "line": 523, "column": 34 }, "identifierName": "controlBar" @@ -78299,15 +78860,15 @@ }, "property": { "type": "Identifier", - "start": 18053, - "end": 18071, + "start": 17988, + "end": 18006, "loc": { "start": { - "line": 527, + "line": 523, "column": 35 }, "end": { - "line": 527, + "line": 523, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -78318,15 +78879,15 @@ }, "property": { "type": "Identifier", - "start": 18072, - "end": 18086, + "start": 18007, + "end": 18021, "loc": { "start": { - "line": 527, + "line": 523, "column": 54 }, "end": { - "line": 527, + "line": 523, "column": 68 }, "identifierName": "formattedTime_" @@ -78337,143 +78898,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18105, - "end": 18248, + "start": 18040, + "end": 18190, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18105, - "end": 18180, + "start": 18040, + "end": 18115, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18168, + "start": 18040, + "end": 18103, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18105, - "end": 18158, + "start": 18040, + "end": 18093, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18105, - "end": 18156, + "start": 18040, + "end": 18091, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18146, + "start": 18040, + "end": 18081, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18127, + "start": 18040, + "end": 18062, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18105, - "end": 18116, + "start": 18040, + "end": 18051, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18105, - "end": 18109, + "start": 18040, + "end": 18044, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18110, - "end": 18116, + "start": 18045, + "end": 18051, "loc": { "start": { - "line": 528, + "line": 524, "column": 21 }, "end": { - "line": 528, + "line": 524, "column": 27 }, "identifierName": "player" @@ -78484,15 +79045,15 @@ }, "property": { "type": "Identifier", - "start": 18117, - "end": 18127, + "start": 18052, + "end": 18062, "loc": { "start": { - "line": 528, + "line": 524, "column": 28 }, "end": { - "line": 528, + "line": 524, "column": 38 }, "identifierName": "controlBar" @@ -78503,15 +79064,15 @@ }, "property": { "type": "Identifier", - "start": 18128, - "end": 18146, + "start": 18063, + "end": 18081, "loc": { "start": { - "line": 528, + "line": 524, "column": 39 }, "end": { - "line": 528, + "line": 524, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -78522,15 +79083,15 @@ }, "property": { "type": "Identifier", - "start": 18147, - "end": 18156, + "start": 18082, + "end": 18091, "loc": { "start": { - "line": 528, + "line": 524, "column": 58 }, "end": { - "line": 528, + "line": 524, "column": 67 }, "identifierName": "contentEl" @@ -78543,15 +79104,15 @@ }, "property": { "type": "Identifier", - "start": 18159, - "end": 18168, + "start": 18094, + "end": 18103, "loc": { "start": { - "line": 528, + "line": 524, "column": 70 }, "end": { - "line": 528, + "line": 524, "column": 79 }, "identifierName": "lastChild" @@ -78562,15 +79123,15 @@ }, "property": { "type": "Identifier", - "start": 18169, - "end": 18180, + "start": 18104, + "end": 18115, "loc": { "start": { - "line": 528, + "line": 524, "column": 80 }, "end": { - "line": 528, + "line": 524, "column": 91 }, "identifierName": "textContent" @@ -78581,29 +79142,29 @@ }, "right": { "type": "CallExpression", - "start": 18203, - "end": 18248, + "start": 18138, + "end": 18190, "loc": { "start": { - "line": 529, + "line": 525, "column": 20 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } }, "callee": { "type": "Identifier", - "start": 18203, - "end": 18213, + "start": 18138, + "end": 18148, "loc": { "start": { - "line": 529, + "line": 525, "column": 20 }, "end": { - "line": 529, + "line": 525, "column": 30 }, "identifierName": "formatTime" @@ -78613,15 +79174,15 @@ "arguments": [ { "type": "Identifier", - "start": 18214, - "end": 18218, + "start": 18149, + "end": 18153, "loc": { "start": { - "line": 529, + "line": 525, "column": 31 }, "end": { - "line": 529, + "line": 525, "column": 35 }, "identifierName": "time" @@ -78630,15 +79191,15 @@ }, { "type": "Identifier", - "start": 18220, - "end": 18228, + "start": 18155, + "end": 18163, "loc": { "start": { - "line": 529, + "line": 525, "column": 37 }, "end": { - "line": 529, + "line": 525, "column": 45 }, "identifierName": "duration" @@ -78647,49 +79208,49 @@ }, { "type": "MemberExpression", - "start": 18230, - "end": 18247, + "start": 18165, + "end": 18189, "loc": { "start": { - "line": 529, + "line": 525, "column": 47 }, "end": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 } }, "object": { "type": "ThisExpression", - "start": 18230, - "end": 18234, + "start": 18165, + "end": 18169, "loc": { "start": { - "line": 529, + "line": 525, "column": 47 }, "end": { - "line": 529, + "line": 525, "column": 51 } } }, "property": { "type": "Identifier", - "start": 18235, - "end": 18247, + "start": 18170, + "end": 18189, "loc": { "start": { - "line": 529, + "line": 525, "column": 52 }, "end": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false } @@ -78706,15 +79267,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -78723,86 +79284,86 @@ }, { "type": "IfStatement", - "start": 18269, - "end": 18456, + "start": 18211, + "end": 18398, "loc": { "start": { - "line": 532, + "line": 528, "column": 8 }, "end": { - "line": 535, + "line": 531, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18273, - "end": 18341, + "start": 18215, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18273, - "end": 18316, + "start": 18215, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18273, - "end": 18295, + "start": 18215, + "end": 18237, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18273, - "end": 18277, + "start": 18215, + "end": 18219, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18278, - "end": 18295, + "start": 18220, + "end": 18237, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 34 }, "identifierName": "textTracksEnabled" @@ -78814,58 +79375,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18299, - "end": 18316, + "start": 18241, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18299, - "end": 18310, + "start": 18241, + "end": 18252, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18299, - "end": 18303, + "start": 18241, + "end": 18245, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18304, - "end": 18310, + "start": 18246, + "end": 18252, "loc": { "start": { - "line": 532, + "line": 528, "column": 43 }, "end": { - "line": 532, + "line": 528, "column": 49 }, "identifierName": "player" @@ -78876,15 +79437,15 @@ }, "property": { "type": "Identifier", - "start": 18311, - "end": 18316, + "start": 18253, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 50 }, "end": { - "line": 532, + "line": 528, "column": 55 }, "identifierName": "tech_" @@ -78897,72 +79458,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18320, - "end": 18341, + "start": 18262, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18320, - "end": 18337, + "start": 18262, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18320, - "end": 18331, + "start": 18262, + "end": 18273, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18320, - "end": 18324, + "start": 18262, + "end": 18266, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18325, - "end": 18331, + "start": 18267, + "end": 18273, "loc": { "start": { - "line": 532, + "line": 528, "column": 64 }, "end": { - "line": 532, + "line": 528, "column": 70 }, "identifierName": "player" @@ -78973,15 +79534,15 @@ }, "property": { "type": "Identifier", - "start": 18332, - "end": 18337, + "start": 18274, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 71 }, "end": { - "line": 532, + "line": 528, "column": 76 }, "identifierName": "tech_" @@ -78992,15 +79553,15 @@ }, "property": { "type": "Identifier", - "start": 18338, - "end": 18341, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 532, + "line": 528, "column": 80 }, "identifierName": "el_" @@ -79012,100 +79573,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18343, - "end": 18456, + "start": 18285, + "end": 18398, "loc": { "start": { - "line": 532, + "line": 528, "column": 82 }, "end": { - "line": 535, + "line": 531, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18400, - "end": 18446, + "start": 18342, + "end": 18388, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18400, - "end": 18445, + "start": 18342, + "end": 18387, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18400, - "end": 18432, + "start": 18342, + "end": 18374, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18400, - "end": 18417, + "start": 18342, + "end": 18359, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18400, - "end": 18411, + "start": 18342, + "end": 18353, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18400, - "end": 18404, + "start": 18342, + "end": 18346, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 16 } }, @@ -79113,15 +79674,15 @@ }, "property": { "type": "Identifier", - "start": 18405, - "end": 18411, + "start": 18347, + "end": 18353, "loc": { "start": { - "line": 534, + "line": 530, "column": 17 }, "end": { - "line": 534, + "line": 530, "column": 23 }, "identifierName": "player" @@ -79133,15 +79694,15 @@ }, "property": { "type": "Identifier", - "start": 18412, - "end": 18417, + "start": 18354, + "end": 18359, "loc": { "start": { - "line": 534, + "line": 530, "column": 24 }, "end": { - "line": 534, + "line": 530, "column": 29 }, "identifierName": "tech_" @@ -79153,15 +79714,15 @@ }, "property": { "type": "Identifier", - "start": 18418, - "end": 18432, + "start": 18360, + "end": 18374, "loc": { "start": { - "line": 534, + "line": 530, "column": 30 }, "end": { - "line": 534, + "line": 530, "column": 44 }, "identifierName": "setCurrentTime" @@ -79174,15 +79735,15 @@ "arguments": [ { "type": "Identifier", - "start": 18433, - "end": 18444, + "start": 18375, + "end": 18386, "loc": { "start": { - "line": 534, + "line": 530, "column": 45 }, "end": { - "line": 534, + "line": 530, "column": 56 }, "identifierName": "currentTime" @@ -79196,15 +79757,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18357, - "end": 18387, + "start": 18299, + "end": 18329, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 42 } } @@ -79224,15 +79785,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -79242,15 +79803,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -79259,15 +79820,15 @@ }, { "type": "ClassMethod", - "start": 18646, - "end": 18794, + "start": 18588, + "end": 18736, "loc": { "start": { - "line": 545, + "line": 541, "column": 4 }, "end": { - "line": 550, + "line": 546, "column": 5 } }, @@ -79275,15 +79836,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18646, - "end": 18657, + "start": 18588, + "end": 18599, "loc": { "start": { - "line": 545, + "line": 541, "column": 4 }, "end": { - "line": 545, + "line": 541, "column": 15 }, "identifierName": "getDuration" @@ -79299,59 +79860,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18660, - "end": 18794, + "start": 18602, + "end": 18736, "loc": { "start": { - "line": 545, + "line": 541, "column": 18 }, "end": { - "line": 550, + "line": 546, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 18670, - "end": 18711, + "start": 18612, + "end": 18653, "loc": { "start": { - "line": 546, + "line": 542, "column": 8 }, "end": { - "line": 546, + "line": 542, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18674, - "end": 18710, + "start": 18616, + "end": 18652, "loc": { "start": { - "line": 546, + "line": 542, "column": 12 }, "end": { - "line": 546, + "line": 542, "column": 48 } }, "id": { "type": "Identifier", - "start": 18674, - "end": 18682, + "start": 18616, + "end": 18624, "loc": { "start": { - "line": 546, + "line": 542, "column": 12 }, "end": { - "line": 546, + "line": 542, "column": 20 }, "identifierName": "duration" @@ -79360,72 +79921,72 @@ }, "init": { "type": "CallExpression", - "start": 18685, - "end": 18710, + "start": 18627, + "end": 18652, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 18685, - "end": 18708, + "start": 18627, + "end": 18650, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 18685, - "end": 18696, + "start": 18627, + "end": 18638, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18685, - "end": 18689, + "start": 18627, + "end": 18631, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 27 } } }, "property": { "type": "Identifier", - "start": 18690, - "end": 18696, + "start": 18632, + "end": 18638, "loc": { "start": { - "line": 546, + "line": 542, "column": 28 }, "end": { - "line": 546, + "line": 542, "column": 34 }, "identifierName": "surfer" @@ -79436,15 +79997,15 @@ }, "property": { "type": "Identifier", - "start": 18697, - "end": 18708, + "start": 18639, + "end": 18650, "loc": { "start": { - "line": 546, + "line": 542, "column": 35 }, "end": { - "line": 546, + "line": 542, "column": 46 }, "identifierName": "getDuration" @@ -79461,44 +80022,44 @@ }, { "type": "ExpressionStatement", - "start": 18720, - "end": 18762, + "start": 18662, + "end": 18704, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18720, - "end": 18761, + "start": 18662, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18720, - "end": 18728, + "start": 18662, + "end": 18670, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 16 }, "identifierName": "duration" @@ -79507,43 +80068,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18731, - "end": 18761, + "start": 18673, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18731, - "end": 18746, + "start": 18673, + "end": 18688, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18731, - "end": 18736, + "start": 18673, + "end": 18678, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 24 }, "identifierName": "isNaN" @@ -79553,15 +80114,15 @@ "arguments": [ { "type": "Identifier", - "start": 18737, - "end": 18745, + "start": 18679, + "end": 18687, "loc": { "start": { - "line": 547, + "line": 543, "column": 25 }, "end": { - "line": 547, + "line": 543, "column": 33 }, "identifierName": "duration" @@ -79572,15 +80133,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18749, - "end": 18750, + "start": 18691, + "end": 18692, "loc": { "start": { - "line": 547, + "line": 543, "column": 37 }, "end": { - "line": 547, + "line": 543, "column": 38 } }, @@ -79592,15 +80153,15 @@ }, "alternate": { "type": "Identifier", - "start": 18753, - "end": 18761, + "start": 18695, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 41 }, "end": { - "line": 547, + "line": 543, "column": 49 }, "identifierName": "duration" @@ -79612,29 +80173,29 @@ }, { "type": "ReturnStatement", - "start": 18772, - "end": 18788, + "start": 18714, + "end": 18730, "loc": { "start": { - "line": 549, + "line": 545, "column": 8 }, "end": { - "line": 549, + "line": 545, "column": 24 } }, "argument": { "type": "Identifier", - "start": 18779, - "end": 18787, + "start": 18721, + "end": 18729, "loc": { "start": { - "line": 549, + "line": 545, "column": 15 }, "end": { - "line": 549, + "line": 545, "column": 23 }, "identifierName": "duration" @@ -79650,15 +80211,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -79668,15 +80229,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -79685,15 +80246,15 @@ }, { "type": "ClassMethod", - "start": 18980, - "end": 19564, + "start": 18922, + "end": 19589, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 571, + "line": 568, "column": 5 } }, @@ -79701,15 +80262,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18980, - "end": 18991, + "start": 18922, + "end": 18933, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 15 }, "identifierName": "setDuration" @@ -79725,15 +80286,15 @@ "params": [ { "type": "Identifier", - "start": 18992, - "end": 19000, + "start": 18934, + "end": 18942, "loc": { "start": { - "line": 558, + "line": 554, "column": 16 }, "end": { - "line": 558, + "line": 554, "column": 24 }, "identifierName": "duration" @@ -79743,58 +80304,58 @@ ], "body": { "type": "BlockStatement", - "start": 19002, - "end": 19564, + "start": 18944, + "end": 19589, "loc": { "start": { - "line": 558, + "line": 554, "column": 26 }, "end": { - "line": 571, + "line": 568, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19012, - "end": 19101, + "start": 18954, + "end": 19043, "loc": { "start": { - "line": 559, + "line": 555, "column": 8 }, "end": { - "line": 561, + "line": 557, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19016, - "end": 19038, + "start": 18958, + "end": 18980, "loc": { "start": { - "line": 559, + "line": 555, "column": 12 }, "end": { - "line": 559, + "line": 555, "column": 34 } }, "left": { "type": "Identifier", - "start": 19016, - "end": 19024, + "start": 18958, + "end": 18966, "loc": { "start": { - "line": 559, + "line": 555, "column": 12 }, "end": { - "line": 559, + "line": 555, "column": 20 }, "identifierName": "duration" @@ -79804,15 +80365,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19029, - "end": 19038, + "start": 18971, + "end": 18980, "loc": { "start": { - "line": 559, + "line": 555, "column": 25 }, "end": { - "line": 559, + "line": 555, "column": 34 }, "identifierName": "undefined" @@ -79822,59 +80383,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19040, - "end": 19101, + "start": 18982, + "end": 19043, "loc": { "start": { - "line": 559, + "line": 555, "column": 36 }, "end": { - "line": 561, + "line": 557, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19054, - "end": 19091, + "start": 18996, + "end": 19033, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19054, - "end": 19090, + "start": 18996, + "end": 19032, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19054, - "end": 19062, + "start": 18996, + "end": 19004, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 20 }, "identifierName": "duration" @@ -79883,72 +80444,72 @@ }, "right": { "type": "CallExpression", - "start": 19065, - "end": 19090, + "start": 19007, + "end": 19032, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19065, - "end": 19088, + "start": 19007, + "end": 19030, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19065, - "end": 19076, + "start": 19007, + "end": 19018, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19065, - "end": 19069, + "start": 19007, + "end": 19011, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19070, - "end": 19076, + "start": 19012, + "end": 19018, "loc": { "start": { - "line": 560, + "line": 556, "column": 28 }, "end": { - "line": 560, + "line": 556, "column": 34 }, "identifierName": "surfer" @@ -79959,15 +80520,15 @@ }, "property": { "type": "Identifier", - "start": 19077, - "end": 19088, + "start": 19019, + "end": 19030, "loc": { "start": { - "line": 560, + "line": 556, "column": 35 }, "end": { - "line": 560, + "line": 556, "column": 46 }, "identifierName": "getDuration" @@ -79987,44 +80548,44 @@ }, { "type": "ExpressionStatement", - "start": 19110, - "end": 19152, + "start": 19052, + "end": 19094, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19110, - "end": 19151, + "start": 19052, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19110, - "end": 19118, + "start": 19052, + "end": 19060, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 16 }, "identifierName": "duration" @@ -80033,43 +80594,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19121, - "end": 19151, + "start": 19063, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19121, - "end": 19136, + "start": 19063, + "end": 19078, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19121, - "end": 19126, + "start": 19063, + "end": 19068, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 24 }, "identifierName": "isNaN" @@ -80079,15 +80640,15 @@ "arguments": [ { "type": "Identifier", - "start": 19127, - "end": 19135, + "start": 19069, + "end": 19077, "loc": { "start": { - "line": 562, + "line": 558, "column": 25 }, "end": { - "line": 562, + "line": 558, "column": 33 }, "identifierName": "duration" @@ -80098,15 +80659,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19139, - "end": 19140, + "start": 19081, + "end": 19082, "loc": { "start": { - "line": 562, + "line": 558, "column": 37 }, "end": { - "line": 562, + "line": 558, "column": 38 } }, @@ -80118,15 +80679,15 @@ }, "alternate": { "type": "Identifier", - "start": 19143, - "end": 19151, + "start": 19085, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 41 }, "end": { - "line": 562, + "line": 558, "column": 49 }, "identifierName": "duration" @@ -80139,15 +80700,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -80156,442 +80717,655 @@ }, { "type": "IfStatement", - "start": 19207, - "end": 19558, + "start": 19149, + "end": 19583, "loc": { "start": { - "line": 565, + "line": 561, "column": 8 }, "end": { - "line": 570, + "line": 567, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19211, - "end": 19315, + "start": 19153, + "end": 19333, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 566, - "column": 62 + "line": 563, + "column": 72 } }, "left": { - "type": "MemberExpression", - "start": 19211, - "end": 19249, + "type": "LogicalExpression", + "start": 19153, + "end": 19257, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 50 + "line": 562, + "column": 62 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 19211, - "end": 19233, + "start": 19153, + "end": 19191, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 34 + "line": 561, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19211, - "end": 19222, + "start": 19153, + "end": 19175, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 23 + "line": 561, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 19211, - "end": 19215, + "type": "MemberExpression", + "start": 19153, + "end": 19164, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, - "column": 16 + "line": 561, + "column": 23 } }, + "object": { + "type": "ThisExpression", + "start": 19153, + "end": 19157, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19158, + "end": 19164, + "loc": { + "start": { + "line": 561, + "column": 17 + }, + "end": { + "line": 561, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19216, - "end": 19222, + "start": 19165, + "end": 19175, "loc": { "start": { - "line": 565, - "column": 17 + "line": 561, + "column": 24 }, "end": { - "line": 565, - "column": 23 + "line": 561, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19223, - "end": 19233, + "start": 19176, + "end": 19191, "loc": { "start": { - "line": 565, - "column": 24 + "line": 561, + "column": 35 }, "end": { - "line": 565, - "column": 34 + "line": 561, + "column": 50 }, - "identifierName": "controlBar" + "identifierName": "durationDisplay" }, - "name": "controlBar" + "name": "durationDisplay" }, "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 19234, - "end": 19249, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 19207, + "end": 19257, "loc": { "start": { - "line": 565, - "column": 35 + "line": 562, + "column": 12 }, "end": { - "line": 565, - "column": 50 + "line": 562, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19207, + "end": 19255, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 60 + } }, - "identifierName": "durationDisplay" + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19245, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19229, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 19207, + "end": 19218, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 19207, + "end": 19211, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 19212, + "end": 19218, + "loc": { + "start": { + "line": 562, + "column": 17 + }, + "end": { + "line": 562, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19219, + "end": 19229, + "loc": { + "start": { + "line": 562, + "column": 24 + }, + "end": { + "line": 562, + "column": 34 + }, + "identifierName": "controlBar" + }, + "name": "controlBar" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19230, + "end": 19245, + "loc": { + "start": { + "line": 562, + "column": 35 + }, + "end": { + "line": 562, + "column": 50 + }, + "identifierName": "durationDisplay" + }, + "name": "durationDisplay" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19246, + "end": 19255, + "loc": { + "start": { + "line": 562, + "column": 51 + }, + "end": { + "line": 562, + "column": 60 + }, + "identifierName": "contentEl" + }, + "name": "contentEl" + }, + "computed": false }, - "name": "durationDisplay" + "arguments": [] }, - "computed": false, "leadingComments": null }, "operator": "&&", "right": { - "type": "CallExpression", - "start": 19265, - "end": 19315, + "type": "MemberExpression", + "start": 19273, + "end": 19333, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 62 + "line": 563, + "column": 72 } }, - "callee": { - "type": "MemberExpression", - "start": 19265, - "end": 19313, + "object": { + "type": "CallExpression", + "start": 19273, + "end": 19323, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 60 + "line": 563, + "column": 62 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 19265, - "end": 19303, + "start": 19273, + "end": 19321, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 50 + "line": 563, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19265, - "end": 19287, + "start": 19273, + "end": 19311, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 34 + "line": 563, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19265, - "end": 19276, + "start": 19273, + "end": 19295, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 23 + "line": 563, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 19265, - "end": 19269, + "type": "MemberExpression", + "start": 19273, + "end": 19284, "loc": { "start": { - "line": 566, + "line": 563, "column": 12 }, "end": { - "line": 566, - "column": 16 + "line": 563, + "column": 23 } - } + }, + "object": { + "type": "ThisExpression", + "start": 19273, + "end": 19277, + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 19278, + "end": 19284, + "loc": { + "start": { + "line": 563, + "column": 17 + }, + "end": { + "line": 563, + "column": 23 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 19270, - "end": 19276, + "start": 19285, + "end": 19295, "loc": { "start": { - "line": 566, - "column": 17 + "line": 563, + "column": 24 }, "end": { - "line": 566, - "column": 23 + "line": 563, + "column": 34 }, - "identifierName": "player" + "identifierName": "controlBar" }, - "name": "player" + "name": "controlBar" }, "computed": false }, "property": { "type": "Identifier", - "start": 19277, - "end": 19287, + "start": 19296, + "end": 19311, "loc": { "start": { - "line": 566, - "column": 24 + "line": 563, + "column": 35 }, "end": { - "line": 566, - "column": 34 + "line": 563, + "column": 50 }, - "identifierName": "controlBar" + "identifierName": "durationDisplay" }, - "name": "controlBar" + "name": "durationDisplay" }, "computed": false }, "property": { "type": "Identifier", - "start": 19288, - "end": 19303, + "start": 19312, + "end": 19321, "loc": { "start": { - "line": 566, - "column": 35 + "line": 563, + "column": 51 }, "end": { - "line": 566, - "column": 50 + "line": 563, + "column": 60 }, - "identifierName": "durationDisplay" + "identifierName": "contentEl" }, - "name": "durationDisplay" + "name": "contentEl" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 19304, - "end": 19313, - "loc": { - "start": { - "line": 566, - "column": 51 - }, - "end": { - "line": 566, - "column": 60 - }, - "identifierName": "contentEl" + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 19324, + "end": 19333, + "loc": { + "start": { + "line": 563, + "column": 63 }, - "name": "contentEl" + "end": { + "line": 563, + "column": 72 + }, + "identifierName": "lastChild" }, - "computed": false + "name": "lastChild" }, - "arguments": [] + "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 19317, - "end": 19558, + "start": 19335, + "end": 19583, "loc": { "start": { - "line": 566, - "column": 64 + "line": 563, + "column": 74 }, "end": { - "line": 570, + "line": 567, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19331, - "end": 19548, + "start": 19349, + "end": 19573, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 569, - "column": 70 + "line": 566, + "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 19331, - "end": 19547, + "start": 19349, + "end": 19572, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19331, - "end": 19384, + "start": 19349, + "end": 19402, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19369, + "start": 19349, + "end": 19387, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19353, + "start": 19349, + "end": 19371, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19331, - "end": 19342, + "start": 19349, + "end": 19360, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19331, - "end": 19335, + "start": 19349, + "end": 19353, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19336, - "end": 19342, + "start": 19354, + "end": 19360, "loc": { "start": { - "line": 567, + "line": 564, "column": 17 }, "end": { - "line": 567, + "line": 564, "column": 23 }, "identifierName": "player" @@ -80602,15 +81376,15 @@ }, "property": { "type": "Identifier", - "start": 19343, - "end": 19353, + "start": 19361, + "end": 19371, "loc": { "start": { - "line": 567, + "line": 564, "column": 24 }, "end": { - "line": 567, + "line": 564, "column": 34 }, "identifierName": "controlBar" @@ -80621,15 +81395,15 @@ }, "property": { "type": "Identifier", - "start": 19354, - "end": 19369, + "start": 19372, + "end": 19387, "loc": { "start": { - "line": 567, + "line": 564, "column": 35 }, "end": { - "line": 567, + "line": 564, "column": 50 }, "identifierName": "durationDisplay" @@ -80640,15 +81414,15 @@ }, "property": { "type": "Identifier", - "start": 19370, - "end": 19384, + "start": 19388, + "end": 19402, "loc": { "start": { - "line": 567, + "line": 564, "column": 51 }, "end": { - "line": 567, + "line": 564, "column": 65 }, "identifierName": "formattedTime_" @@ -80659,143 +81433,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 19403, - "end": 19547, + "start": 19421, + "end": 19572, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19403, - "end": 19475, + "start": 19421, + "end": 19493, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19463, + "start": 19421, + "end": 19481, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 76 } }, "object": { "type": "CallExpression", - "start": 19403, - "end": 19453, + "start": 19421, + "end": 19471, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19403, - "end": 19451, + "start": 19421, + "end": 19469, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19441, + "start": 19421, + "end": 19459, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19425, + "start": 19421, + "end": 19443, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 19403, - "end": 19414, + "start": 19421, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 19403, - "end": 19407, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 20 } } }, "property": { "type": "Identifier", - "start": 19408, - "end": 19414, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 565, "column": 21 }, "end": { - "line": 568, + "line": 565, "column": 27 }, "identifierName": "player" @@ -80806,15 +81580,15 @@ }, "property": { "type": "Identifier", - "start": 19415, - "end": 19425, + "start": 19433, + "end": 19443, "loc": { "start": { - "line": 568, + "line": 565, "column": 28 }, "end": { - "line": 568, + "line": 565, "column": 38 }, "identifierName": "controlBar" @@ -80825,15 +81599,15 @@ }, "property": { "type": "Identifier", - "start": 19426, - "end": 19441, + "start": 19444, + "end": 19459, "loc": { "start": { - "line": 568, + "line": 565, "column": 39 }, "end": { - "line": 568, + "line": 565, "column": 54 }, "identifierName": "durationDisplay" @@ -80844,15 +81618,15 @@ }, "property": { "type": "Identifier", - "start": 19442, - "end": 19451, + "start": 19460, + "end": 19469, "loc": { "start": { - "line": 568, + "line": 565, "column": 55 }, "end": { - "line": 568, + "line": 565, "column": 64 }, "identifierName": "contentEl" @@ -80865,15 +81639,15 @@ }, "property": { "type": "Identifier", - "start": 19454, - "end": 19463, + "start": 19472, + "end": 19481, "loc": { "start": { - "line": 568, + "line": 565, "column": 67 }, "end": { - "line": 568, + "line": 565, "column": 76 }, "identifierName": "lastChild" @@ -80884,15 +81658,15 @@ }, "property": { "type": "Identifier", - "start": 19464, - "end": 19475, + "start": 19482, + "end": 19493, "loc": { "start": { - "line": 568, + "line": 565, "column": 77 }, "end": { - "line": 568, + "line": 565, "column": 88 }, "identifierName": "textContent" @@ -80903,29 +81677,29 @@ }, "right": { "type": "CallExpression", - "start": 19498, - "end": 19547, + "start": 19516, + "end": 19572, "loc": { "start": { - "line": 569, + "line": 566, "column": 20 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } }, "callee": { "type": "Identifier", - "start": 19498, - "end": 19508, + "start": 19516, + "end": 19526, "loc": { "start": { - "line": 569, + "line": 566, "column": 20 }, "end": { - "line": 569, + "line": 566, "column": 30 }, "identifierName": "formatTime" @@ -80935,15 +81709,15 @@ "arguments": [ { "type": "Identifier", - "start": 19509, - "end": 19517, + "start": 19527, + "end": 19535, "loc": { "start": { - "line": 569, + "line": 566, "column": 31 }, "end": { - "line": 569, + "line": 566, "column": 39 }, "identifierName": "duration" @@ -80952,15 +81726,15 @@ }, { "type": "Identifier", - "start": 19519, - "end": 19527, + "start": 19537, + "end": 19545, "loc": { "start": { - "line": 569, + "line": 566, "column": 41 }, "end": { - "line": 569, + "line": 566, "column": 49 }, "identifierName": "duration" @@ -80969,49 +81743,49 @@ }, { "type": "MemberExpression", - "start": 19529, - "end": 19546, + "start": 19547, + "end": 19571, "loc": { "start": { - "line": 569, + "line": 566, "column": 51 }, "end": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 } }, "object": { "type": "ThisExpression", - "start": 19529, - "end": 19533, + "start": 19547, + "end": 19551, "loc": { "start": { - "line": 569, + "line": 566, "column": 51 }, "end": { - "line": 569, + "line": 566, "column": 55 } } }, "property": { "type": "Identifier", - "start": 19534, - "end": 19546, + "start": 19552, + "end": 19571, "loc": { "start": { - "line": 569, + "line": 566, "column": 56 }, "end": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 }, - "identifierName": "msDisplayMax" + "identifierName": "displayMilliseconds" }, - "name": "msDisplayMax" + "name": "displayMilliseconds" }, "computed": false } @@ -81028,15 +81802,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -81051,15 +81825,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -81069,15 +81843,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -81086,15 +81860,15 @@ }, { "type": "ClassMethod", - "start": 19692, - "end": 20892, + "start": 19717, + "end": 20917, "loc": { "start": { - "line": 579, + "line": 576, "column": 4 }, "end": { - "line": 618, + "line": 615, "column": 5 } }, @@ -81102,15 +81876,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19692, - "end": 19703, + "start": 19717, + "end": 19728, "loc": { "start": { - "line": 579, + "line": 576, "column": 4 }, "end": { - "line": 579, + "line": 576, "column": 15 }, "identifierName": "onWaveReady" @@ -81126,88 +81900,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19706, - "end": 20892, + "start": 19731, + "end": 20917, "loc": { "start": { - "line": 579, + "line": 576, "column": 18 }, "end": { - "line": 618, + "line": 615, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 19716, - "end": 19738, + "start": 19741, + "end": 19763, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 19716, - "end": 19737, + "start": 19741, + "end": 19762, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19716, - "end": 19730, + "start": 19741, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 19716, - "end": 19720, + "start": 19741, + "end": 19745, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19721, - "end": 19730, + "start": 19746, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 577, "column": 13 }, "end": { - "line": 580, + "line": 577, "column": 22 }, "identifierName": "waveReady" @@ -81218,15 +81992,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19733, - "end": 19737, + "start": 19758, + "end": 19762, "loc": { "start": { - "line": 580, + "line": 577, "column": 25 }, "end": { - "line": 580, + "line": 577, "column": 29 } }, @@ -81236,73 +82010,73 @@ }, { "type": "ExpressionStatement", - "start": 19747, - "end": 19773, + "start": 19772, + "end": 19798, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 19747, - "end": 19772, + "start": 19772, + "end": 19797, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19747, - "end": 19764, + "start": 19772, + "end": 19789, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 19747, - "end": 19751, + "start": 19772, + "end": 19776, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19752, - "end": 19764, + "start": 19777, + "end": 19789, "loc": { "start": { - "line": 581, + "line": 578, "column": 13 }, "end": { - "line": 581, + "line": 578, "column": 25 }, "identifierName": "waveFinished" @@ -81313,15 +82087,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19767, - "end": 19772, + "start": 19792, + "end": 19797, "loc": { "start": { - "line": 581, + "line": 578, "column": 28 }, "end": { - "line": 581, + "line": 578, "column": 33 } }, @@ -81331,73 +82105,73 @@ }, { "type": "ExpressionStatement", - "start": 19782, - "end": 19804, + "start": 19807, + "end": 19829, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 19782, - "end": 19803, + "start": 19807, + "end": 19828, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19782, - "end": 19795, + "start": 19807, + "end": 19820, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 19782, - "end": 19786, + "start": 19807, + "end": 19811, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19787, - "end": 19795, + "start": 19812, + "end": 19820, "loc": { "start": { - "line": 582, + "line": 579, "column": 13 }, "end": { - "line": 582, + "line": 579, "column": 21 }, "identifierName": "liveMode" @@ -81408,15 +82182,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 19798, - "end": 19803, + "start": 19823, + "end": 19828, "loc": { "start": { - "line": 582, + "line": 579, "column": 24 }, "end": { - "line": 582, + "line": 579, "column": 29 } }, @@ -81426,72 +82200,72 @@ }, { "type": "ExpressionStatement", - "start": 19814, - "end": 19844, + "start": 19839, + "end": 19869, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 19814, - "end": 19843, + "start": 19839, + "end": 19868, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 19814, - "end": 19822, + "start": 19839, + "end": 19847, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 19814, - "end": 19818, + "start": 19839, + "end": 19843, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19819, - "end": 19822, + "start": 19844, + "end": 19847, "loc": { "start": { - "line": 584, + "line": 581, "column": 13 }, "end": { - "line": 584, + "line": 581, "column": 16 }, "identifierName": "log" @@ -81503,15 +82277,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19823, - "end": 19842, + "start": 19848, + "end": 19867, "loc": { "start": { - "line": 584, + "line": 581, "column": 17 }, "end": { - "line": 584, + "line": 581, "column": 36 } }, @@ -81526,86 +82300,86 @@ }, { "type": "ExpressionStatement", - "start": 19853, - "end": 19891, + "start": 19878, + "end": 19916, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 19853, - "end": 19890, + "start": 19878, + "end": 19915, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 19853, - "end": 19872, + "start": 19878, + "end": 19897, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 19853, - "end": 19864, + "start": 19878, + "end": 19889, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 19853, - "end": 19857, + "start": 19878, + "end": 19882, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19858, - "end": 19864, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 585, + "line": 582, "column": 13 }, "end": { - "line": 585, + "line": 582, "column": 19 }, "identifierName": "player" @@ -81616,15 +82390,15 @@ }, "property": { "type": "Identifier", - "start": 19865, - "end": 19872, + "start": 19890, + "end": 19897, "loc": { "start": { - "line": 585, + "line": 582, "column": 20 }, "end": { - "line": 585, + "line": 582, "column": 27 }, "identifierName": "trigger" @@ -81636,29 +82410,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 19873, - "end": 19889, + "start": 19898, + "end": 19914, "loc": { "start": { - "line": 585, + "line": 582, "column": 28 }, "end": { - "line": 585, + "line": 582, "column": 44 } }, "object": { "type": "Identifier", - "start": 19873, - "end": 19878, + "start": 19898, + "end": 19903, "loc": { "start": { - "line": 585, + "line": 582, "column": 28 }, "end": { - "line": 585, + "line": 582, "column": 33 }, "identifierName": "Event" @@ -81667,15 +82441,15 @@ }, "property": { "type": "Identifier", - "start": 19879, - "end": 19889, + "start": 19904, + "end": 19914, "loc": { "start": { - "line": 585, + "line": 582, "column": 34 }, "end": { - "line": 585, + "line": 582, "column": 44 }, "identifierName": "WAVE_READY" @@ -81685,289 +82459,286 @@ "computed": false } ] - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " update time display", - "start": 19901, - "end": 19923, - "loc": { - "start": { - "line": 587, - "column": 8 - }, - "end": { - "line": 587, - "column": 30 - } - } - } - ] + } }, { "type": "IfStatement", - "start": 19932, - "end": 20291, + "start": 19926, + "end": 20318, "loc": { "start": { - "line": 588, + "line": 584, "column": 8 }, "end": { - "line": 597, + "line": 594, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19936, - "end": 19963, + "start": 19930, + "end": 19955, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, - "column": 39 + "line": 584, + "column": 37 } }, "left": { "type": "MemberExpression", - "start": 19936, - "end": 19948, + "start": 19930, + "end": 19942, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, + "line": 584, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 19936, - "end": 19940, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, + "line": 584, "column": 16 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 19941, - "end": 19948, + "start": 19935, + "end": 19942, "loc": { "start": { - "line": 588, + "line": 584, "column": 17 }, "end": { - "line": 588, + "line": 584, "column": 24 }, "identifierName": "backend" }, "name": "backend" }, - "computed": false, - "leadingComments": null + "computed": false }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 19953, - "end": 19963, + "type": "Identifier", + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 588, + "line": 584, "column": 29 }, "end": { - "line": 588, - "column": 39 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 584, + "column": 37 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" - }, - "leadingComments": null + "name": "WEBAUDIO" + } }, "consequent": { "type": "BlockStatement", - "start": 19965, - "end": 20291, + "start": 19957, + "end": 20318, "loc": { "start": { - "line": 588, - "column": 41 + "line": 584, + "column": 39 }, "end": { - "line": 597, + "line": 594, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19979, - "end": 20001, + "start": 20006, + "end": 20028, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 19979, - "end": 20000, + "start": 20006, + "end": 20027, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 19979, - "end": 19998, + "start": 20006, + "end": 20025, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 19979, - "end": 19983, + "start": 20006, + "end": 20010, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 16 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 19984, - "end": 19998, + "start": 20011, + "end": 20025, "loc": { "start": { - "line": 589, + "line": 586, "column": 17 }, "end": { - "line": 589, + "line": 586, "column": 31 }, "identifierName": "setCurrentTime" }, "name": "setCurrentTime" }, - "computed": false + "computed": false, + "leadingComments": null }, - "arguments": [] - } + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " update time display", + "start": 19971, + "end": 19993, + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 34 + } + } + } + ] }, { "type": "ExpressionStatement", - "start": 20014, - "end": 20033, + "start": 20041, + "end": 20060, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20014, - "end": 20032, + "start": 20041, + "end": 20059, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20014, - "end": 20030, + "start": 20041, + "end": 20057, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20014, - "end": 20018, + "start": 20041, + "end": 20045, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20019, - "end": 20030, + "start": 20046, + "end": 20057, "loc": { "start": { - "line": 590, + "line": 587, "column": 17 }, "end": { - "line": 590, + "line": 587, "column": 28 }, "identifierName": "setDuration" @@ -81982,15 +82753,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -81999,99 +82770,99 @@ }, { "type": "IfStatement", - "start": 20090, - "end": 20281, + "start": 20117, + "end": 20308, "loc": { "start": { - "line": 593, + "line": 590, "column": 12 }, "end": { - "line": 596, + "line": 593, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20094, - "end": 20206, + "start": 20121, + "end": 20233, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20094, - "end": 20141, + "start": 20121, + "end": 20168, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20094, - "end": 20127, + "start": 20121, + "end": 20154, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20094, - "end": 20116, + "start": 20121, + "end": 20143, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20094, - "end": 20105, + "start": 20121, + "end": 20132, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20094, - "end": 20098, + "start": 20121, + "end": 20125, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 20 } }, @@ -82099,15 +82870,15 @@ }, "property": { "type": "Identifier", - "start": 20099, - "end": 20105, + "start": 20126, + "end": 20132, "loc": { "start": { - "line": 593, + "line": 590, "column": 21 }, "end": { - "line": 593, + "line": 590, "column": 27 }, "identifierName": "player" @@ -82119,15 +82890,15 @@ }, "property": { "type": "Identifier", - "start": 20106, - "end": 20116, + "start": 20133, + "end": 20143, "loc": { "start": { - "line": 593, + "line": 590, "column": 28 }, "end": { - "line": 593, + "line": 590, "column": 38 }, "identifierName": "controlBar" @@ -82139,15 +82910,15 @@ }, "property": { "type": "Identifier", - "start": 20117, - "end": 20127, + "start": 20144, + "end": 20154, "loc": { "start": { - "line": 593, + "line": 590, "column": 39 }, "end": { - "line": 593, + "line": 590, "column": 49 }, "identifierName": "playToggle" @@ -82160,15 +82931,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20132, - "end": 20141, + "start": 20159, + "end": 20168, "loc": { "start": { - "line": 593, + "line": 590, "column": 54 }, "end": { - "line": 593, + "line": 590, "column": 63 }, "identifierName": "undefined" @@ -82180,100 +82951,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20161, - "end": 20206, + "start": 20188, + "end": 20233, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20161, - "end": 20204, + "start": 20188, + "end": 20231, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20194, + "start": 20188, + "end": 20221, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20183, + "start": 20188, + "end": 20210, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20161, - "end": 20172, + "start": 20188, + "end": 20199, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20161, - "end": 20165, + "start": 20188, + "end": 20192, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20166, - "end": 20172, + "start": 20193, + "end": 20199, "loc": { "start": { - "line": 594, + "line": 591, "column": 21 }, "end": { - "line": 594, + "line": 591, "column": 27 }, "identifierName": "player" @@ -82284,15 +83055,15 @@ }, "property": { "type": "Identifier", - "start": 20173, - "end": 20183, + "start": 20200, + "end": 20210, "loc": { "start": { - "line": 594, + "line": 591, "column": 28 }, "end": { - "line": 594, + "line": 591, "column": 38 }, "identifierName": "controlBar" @@ -82303,15 +83074,15 @@ }, "property": { "type": "Identifier", - "start": 20184, - "end": 20194, + "start": 20211, + "end": 20221, "loc": { "start": { - "line": 594, + "line": 591, "column": 39 }, "end": { - "line": 594, + "line": 591, "column": 49 }, "identifierName": "playToggle" @@ -82322,15 +83093,15 @@ }, "property": { "type": "Identifier", - "start": 20195, - "end": 20204, + "start": 20222, + "end": 20231, "loc": { "start": { - "line": 594, + "line": 591, "column": 50 }, "end": { - "line": 594, + "line": 591, "column": 59 }, "identifierName": "contentEl" @@ -82345,129 +83116,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20208, - "end": 20281, + "start": 20235, + "end": 20308, "loc": { "start": { - "line": 594, + "line": 591, "column": 63 }, "end": { - "line": 596, + "line": 593, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20226, - "end": 20267, + "start": 20253, + "end": 20294, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20226, - "end": 20266, + "start": 20253, + "end": 20293, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20226, - "end": 20264, + "start": 20253, + "end": 20291, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20259, + "start": 20253, + "end": 20286, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20248, + "start": 20253, + "end": 20275, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20237, + "start": 20253, + "end": 20264, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20226, - "end": 20230, + "start": 20253, + "end": 20257, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20231, - "end": 20237, + "start": 20258, + "end": 20264, "loc": { "start": { - "line": 595, + "line": 592, "column": 21 }, "end": { - "line": 595, + "line": 592, "column": 27 }, "identifierName": "player" @@ -82478,15 +83249,15 @@ }, "property": { "type": "Identifier", - "start": 20238, - "end": 20248, + "start": 20265, + "end": 20275, "loc": { "start": { - "line": 595, + "line": 592, "column": 28 }, "end": { - "line": 595, + "line": 592, "column": 38 }, "identifierName": "controlBar" @@ -82497,15 +83268,15 @@ }, "property": { "type": "Identifier", - "start": 20249, - "end": 20259, + "start": 20276, + "end": 20286, "loc": { "start": { - "line": 595, + "line": 592, "column": 39 }, "end": { - "line": 595, + "line": 592, "column": 49 }, "identifierName": "playToggle" @@ -82516,15 +83287,15 @@ }, "property": { "type": "Identifier", - "start": 20260, - "end": 20264, + "start": 20287, + "end": 20291, "loc": { "start": { - "line": 595, + "line": 592, "column": 50 }, "end": { - "line": 595, + "line": 592, "column": 54 }, "identifierName": "show" @@ -82544,15 +83315,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -82564,37 +83335,19 @@ "trailingComments": null }, "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " update time display", - "start": 19901, - "end": 19923, - "loc": { - "start": { - "line": 587, - "column": 8 - }, - "end": { - "line": 587, - "column": 30 - } - } - } - ], "trailingComments": [ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -82603,85 +83356,85 @@ }, { "type": "IfStatement", - "start": 20333, - "end": 20435, + "start": 20360, + "end": 20462, "loc": { "start": { - "line": 600, + "line": 597, "column": 8 }, "end": { - "line": 602, + "line": 599, "column": 9 } }, "test": { "type": "CallExpression", - "start": 20337, - "end": 20375, + "start": 20364, + "end": 20402, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 20337, - "end": 20373, + "start": 20364, + "end": 20400, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 20337, - "end": 20363, + "start": 20364, + "end": 20390, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20337, - "end": 20348, + "start": 20364, + "end": 20375, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20337, - "end": 20341, + "start": 20364, + "end": 20368, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 16 } }, @@ -82689,15 +83442,15 @@ }, "property": { "type": "Identifier", - "start": 20342, - "end": 20348, + "start": 20369, + "end": 20375, "loc": { "start": { - "line": 600, + "line": 597, "column": 17 }, "end": { - "line": 600, + "line": 597, "column": 23 }, "identifierName": "player" @@ -82709,15 +83462,15 @@ }, "property": { "type": "Identifier", - "start": 20349, - "end": 20363, + "start": 20376, + "end": 20390, "loc": { "start": { - "line": 600, + "line": 597, "column": 24 }, "end": { - "line": 600, + "line": 597, "column": 38 }, "identifierName": "loadingSpinner" @@ -82729,15 +83482,15 @@ }, "property": { "type": "Identifier", - "start": 20364, - "end": 20373, + "start": 20391, + "end": 20400, "loc": { "start": { - "line": 600, + "line": 597, "column": 39 }, "end": { - "line": 600, + "line": 597, "column": 48 }, "identifierName": "contentEl" @@ -82752,115 +83505,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20377, - "end": 20435, + "start": 20404, + "end": 20462, "loc": { "start": { - "line": 600, + "line": 597, "column": 52 }, "end": { - "line": 602, + "line": 599, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20391, - "end": 20425, + "start": 20418, + "end": 20452, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20391, - "end": 20424, + "start": 20418, + "end": 20451, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20391, - "end": 20422, + "start": 20418, + "end": 20449, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 20391, - "end": 20417, + "start": 20418, + "end": 20444, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20391, - "end": 20402, + "start": 20418, + "end": 20429, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20391, - "end": 20395, + "start": 20418, + "end": 20422, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20396, - "end": 20402, + "start": 20423, + "end": 20429, "loc": { "start": { - "line": 601, + "line": 598, "column": 17 }, "end": { - "line": 601, + "line": 598, "column": 23 }, "identifierName": "player" @@ -82871,15 +83624,15 @@ }, "property": { "type": "Identifier", - "start": 20403, - "end": 20417, + "start": 20430, + "end": 20444, "loc": { "start": { - "line": 601, + "line": 598, "column": 24 }, "end": { - "line": 601, + "line": 598, "column": 38 }, "identifierName": "loadingSpinner" @@ -82890,15 +83643,15 @@ }, "property": { "type": "Identifier", - "start": 20418, - "end": 20422, + "start": 20445, + "end": 20449, "loc": { "start": { - "line": 601, + "line": 598, "column": 39 }, "end": { - "line": 601, + "line": 598, "column": 43 }, "identifierName": "hide" @@ -82919,15 +83672,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -82937,15 +83690,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -82954,85 +83707,85 @@ }, { "type": "IfStatement", - "start": 20490, - "end": 20886, + "start": 20517, + "end": 20911, "loc": { "start": { - "line": 605, + "line": 602, "column": 8 }, "end": { - "line": 617, + "line": 614, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20494, - "end": 20532, + "start": 20521, + "end": 20559, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 20494, - "end": 20523, + "start": 20521, + "end": 20550, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20494, - "end": 20514, + "start": 20521, + "end": 20541, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20494, - "end": 20505, + "start": 20521, + "end": 20532, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20494, - "end": 20498, + "start": 20521, + "end": 20525, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 16 } }, @@ -83040,15 +83793,15 @@ }, "property": { "type": "Identifier", - "start": 20499, - "end": 20505, + "start": 20526, + "end": 20532, "loc": { "start": { - "line": 605, + "line": 602, "column": 17 }, "end": { - "line": 605, + "line": 602, "column": 23 }, "identifierName": "player" @@ -83060,15 +83813,15 @@ }, "property": { "type": "Identifier", - "start": 20506, - "end": 20514, + "start": 20533, + "end": 20541, "loc": { "start": { - "line": 605, + "line": 602, "column": 24 }, "end": { - "line": 605, + "line": 602, "column": 32 }, "identifierName": "options_" @@ -83080,15 +83833,15 @@ }, "property": { "type": "Identifier", - "start": 20515, - "end": 20523, + "start": 20542, + "end": 20550, "loc": { "start": { - "line": 605, + "line": 602, "column": 33 }, "end": { - "line": 605, + "line": 602, "column": 41 }, "identifierName": "autoplay" @@ -83101,15 +83854,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 20528, - "end": 20532, + "start": 20555, + "end": 20559, "loc": { "start": { - "line": 605, + "line": 602, "column": 46 }, "end": { - "line": 605, + "line": 602, "column": 50 } }, @@ -83119,72 +83872,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20534, - "end": 20886, + "start": 20561, + "end": 20911, "loc": { "start": { - "line": 605, + "line": 602, "column": 52 }, "end": { - "line": 617, + "line": 614, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20608, - "end": 20626, + "start": 20635, + "end": 20653, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 20608, - "end": 20625, + "start": 20635, + "end": 20652, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 20608, - "end": 20622, + "start": 20635, + "end": 20649, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 20608, - "end": 20612, + "start": 20635, + "end": 20639, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 16 } }, @@ -83192,15 +83945,15 @@ }, "property": { "type": "Identifier", - "start": 20613, - "end": 20622, + "start": 20640, + "end": 20649, "loc": { "start": { - "line": 607, + "line": 604, "column": 17 }, "end": { - "line": 607, + "line": 604, "column": 26 }, "identifierName": "setVolume" @@ -83213,15 +83966,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 20623, - "end": 20624, + "start": 20650, + "end": 20651, "loc": { "start": { - "line": 607, + "line": 604, "column": 27 }, "end": { - "line": 607, + "line": 604, "column": 28 } }, @@ -83238,15 +83991,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 20548, - "end": 20595, + "start": 20575, + "end": 20622, "loc": { "start": { - "line": 606, + "line": 603, "column": 12 }, "end": { - "line": 606, + "line": 603, "column": 59 } } @@ -83256,15 +84009,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -83273,57 +84026,57 @@ }, { "type": "IfStatement", - "start": 20669, - "end": 20876, + "start": 20696, + "end": 20901, "loc": { "start": { - "line": 610, + "line": 607, "column": 12 }, "end": { - "line": 616, + "line": 613, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 20673, - "end": 20700, + "start": 20700, + "end": 20725, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, - "column": 43 + "line": 607, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 20673, - "end": 20685, + "start": 20700, + "end": 20712, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, + "line": 607, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20673, - "end": 20677, + "start": 20700, + "end": 20704, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, + "line": 607, "column": 20 } }, @@ -83331,15 +84084,15 @@ }, "property": { "type": "Identifier", - "start": 20678, - "end": 20685, + "start": 20705, + "end": 20712, "loc": { "start": { - "line": 610, + "line": 607, "column": 21 }, "end": { - "line": 610, + "line": 607, "column": 28 }, "identifierName": "backend" @@ -83351,110 +84104,107 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 20690, - "end": 20700, + "type": "Identifier", + "start": 20717, + "end": 20725, "loc": { "start": { - "line": 610, + "line": 607, "column": 33 }, "end": { - "line": 610, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 607, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", - "start": 20702, - "end": 20746, + "start": 20727, + "end": 20771, "loc": { "start": { - "line": 610, - "column": 45 + "line": 607, + "column": 43 }, "end": { - "line": 612, + "line": 609, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20720, - "end": 20732, + "start": 20745, + "end": 20757, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 20720, - "end": 20731, + "start": 20745, + "end": 20756, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 20720, - "end": 20729, + "start": 20745, + "end": 20754, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20720, - "end": 20724, + "start": 20745, + "end": 20749, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20725, - "end": 20729, + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 611, + "line": 608, "column": 21 }, "end": { - "line": 611, + "line": 608, "column": 25 }, "identifierName": "play" @@ -83471,129 +84221,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 20752, - "end": 20876, + "start": 20777, + "end": 20901, "loc": { "start": { - "line": 612, + "line": 609, "column": 19 }, "end": { - "line": 616, + "line": 613, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20770, - "end": 20862, + "start": 20795, + "end": 20887, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 615, + "line": 612, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 20770, - "end": 20861, + "start": 20795, + "end": 20886, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 615, + "line": 612, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 20770, - "end": 20794, + "start": 20795, + "end": 20819, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 40 } }, "object": { "type": "CallExpression", - "start": 20770, - "end": 20788, + "start": 20795, + "end": 20813, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 20770, - "end": 20786, + "start": 20795, + "end": 20811, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20770, - "end": 20781, + "start": 20795, + "end": 20806, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20770, - "end": 20774, + "start": 20795, + "end": 20799, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20775, - "end": 20781, + "start": 20800, + "end": 20806, "loc": { "start": { - "line": 613, + "line": 610, "column": 21 }, "end": { - "line": 613, + "line": 610, "column": 27 }, "identifierName": "player" @@ -83604,15 +84354,15 @@ }, "property": { "type": "Identifier", - "start": 20782, - "end": 20786, + "start": 20807, + "end": 20811, "loc": { "start": { - "line": 613, + "line": 610, "column": 28 }, "end": { - "line": 613, + "line": 610, "column": 32 }, "identifierName": "play" @@ -83625,15 +84375,15 @@ }, "property": { "type": "Identifier", - "start": 20789, - "end": 20794, + "start": 20814, + "end": 20819, "loc": { "start": { - "line": 613, + "line": 610, "column": 35 }, "end": { - "line": 613, + "line": 610, "column": 40 }, "identifierName": "catch" @@ -83645,15 +84395,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20795, - "end": 20860, + "start": 20820, + "end": 20885, "loc": { "start": { - "line": 613, + "line": 610, "column": 41 }, "end": { - "line": 615, + "line": 612, "column": 17 } }, @@ -83664,15 +84414,15 @@ "params": [ { "type": "Identifier", - "start": 20795, - "end": 20796, + "start": 20820, + "end": 20821, "loc": { "start": { - "line": 613, + "line": 610, "column": 41 }, "end": { - "line": 613, + "line": 610, "column": 42 }, "identifierName": "e" @@ -83682,87 +84432,87 @@ ], "body": { "type": "BlockStatement", - "start": 20800, - "end": 20860, + "start": 20825, + "end": 20885, "loc": { "start": { - "line": 613, + "line": 610, "column": 46 }, "end": { - "line": 615, + "line": 612, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 20822, - "end": 20842, + "start": 20847, + "end": 20867, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 20822, - "end": 20841, + "start": 20847, + "end": 20866, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 20822, - "end": 20838, + "start": 20847, + "end": 20863, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 20822, - "end": 20826, + "start": 20847, + "end": 20851, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 24 } } }, "property": { "type": "Identifier", - "start": 20827, - "end": 20838, + "start": 20852, + "end": 20863, "loc": { "start": { - "line": 614, + "line": 611, "column": 25 }, "end": { - "line": 614, + "line": 611, "column": 36 }, "identifierName": "onWaveError" @@ -83774,15 +84524,15 @@ "arguments": [ { "type": "Identifier", - "start": 20839, - "end": 20840, + "start": 20864, + "end": 20865, "loc": { "start": { - "line": 614, + "line": 611, "column": 37 }, "end": { - "line": 614, + "line": 611, "column": 38 }, "identifierName": "e" @@ -83806,15 +84556,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -83829,15 +84579,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -83852,15 +84602,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -83870,15 +84620,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -83887,15 +84637,15 @@ }, { "type": "ClassMethod", - "start": 21010, - "end": 22213, + "start": 21035, + "end": 22234, "loc": { "start": { - "line": 626, + "line": 623, "column": 4 }, "end": { - "line": 661, + "line": 658, "column": 5 } }, @@ -83903,15 +84653,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21010, - "end": 21022, + "start": 21035, + "end": 21047, "loc": { "start": { - "line": 626, + "line": 623, "column": 4 }, "end": { - "line": 626, + "line": 623, "column": 16 }, "identifierName": "onWaveFinish" @@ -83927,87 +84677,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21025, - "end": 22213, + "start": 21050, + "end": 22234, "loc": { "start": { - "line": 626, + "line": 623, "column": 19 }, "end": { - "line": 661, + "line": 658, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21035, - "end": 21065, + "start": 21060, + "end": 21090, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21035, - "end": 21064, + "start": 21060, + "end": 21089, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21035, - "end": 21043, + "start": 21060, + "end": 21068, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21035, - "end": 21039, + "start": 21060, + "end": 21064, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21040, - "end": 21043, + "start": 21065, + "end": 21068, "loc": { "start": { - "line": 627, + "line": 624, "column": 13 }, "end": { - "line": 627, + "line": 624, "column": 16 }, "identifierName": "log" @@ -84019,15 +84769,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21044, - "end": 21063, + "start": 21069, + "end": 21088, "loc": { "start": { - "line": 627, + "line": 624, "column": 17 }, "end": { - "line": 627, + "line": 624, "column": 36 } }, @@ -84043,15 +84793,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -84060,71 +84810,71 @@ }, { "type": "ExpressionStatement", - "start": 21103, - "end": 21146, + "start": 21128, + "end": 21171, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21103, - "end": 21145, + "start": 21128, + "end": 21170, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21103, - "end": 21122, + "start": 21128, + "end": 21147, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21103, - "end": 21114, + "start": 21128, + "end": 21139, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21103, - "end": 21107, + "start": 21128, + "end": 21132, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 12 } }, @@ -84132,15 +84882,15 @@ }, "property": { "type": "Identifier", - "start": 21108, - "end": 21114, + "start": 21133, + "end": 21139, "loc": { "start": { - "line": 630, + "line": 627, "column": 13 }, "end": { - "line": 630, + "line": 627, "column": 19 }, "identifierName": "player" @@ -84152,15 +84902,15 @@ }, "property": { "type": "Identifier", - "start": 21115, - "end": 21122, + "start": 21140, + "end": 21147, "loc": { "start": { - "line": 630, + "line": 627, "column": 20 }, "end": { - "line": 630, + "line": 627, "column": 27 }, "identifierName": "trigger" @@ -84173,29 +84923,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21123, - "end": 21144, + "start": 21148, + "end": 21169, "loc": { "start": { - "line": 630, + "line": 627, "column": 28 }, "end": { - "line": 630, + "line": 627, "column": 49 } }, "object": { "type": "Identifier", - "start": 21123, - "end": 21128, + "start": 21148, + "end": 21153, "loc": { "start": { - "line": 630, + "line": 627, "column": 28 }, "end": { - "line": 630, + "line": 627, "column": 33 }, "identifierName": "Event" @@ -84204,15 +84954,15 @@ }, "property": { "type": "Identifier", - "start": 21129, - "end": 21144, + "start": 21154, + "end": 21169, "loc": { "start": { - "line": 630, + "line": 627, "column": 34 }, "end": { - "line": 630, + "line": 627, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -84228,15 +84978,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -84246,15 +84996,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -84263,85 +85013,85 @@ }, { "type": "IfStatement", - "start": 21192, - "end": 22207, + "start": 21217, + "end": 22228, "loc": { "start": { - "line": 633, + "line": 630, "column": 8 }, "end": { - "line": 660, + "line": 657, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21196, - "end": 21230, + "start": 21221, + "end": 21255, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21196, - "end": 21221, + "start": 21221, + "end": 21246, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21196, - "end": 21216, + "start": 21221, + "end": 21241, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21196, - "end": 21207, + "start": 21221, + "end": 21232, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21196, - "end": 21200, + "start": 21221, + "end": 21225, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 16 } }, @@ -84349,15 +85099,15 @@ }, "property": { "type": "Identifier", - "start": 21201, - "end": 21207, + "start": 21226, + "end": 21232, "loc": { "start": { - "line": 633, + "line": 630, "column": 17 }, "end": { - "line": 633, + "line": 630, "column": 23 }, "identifierName": "player" @@ -84369,15 +85119,15 @@ }, "property": { "type": "Identifier", - "start": 21208, - "end": 21216, + "start": 21233, + "end": 21241, "loc": { "start": { - "line": 633, + "line": 630, "column": 24 }, "end": { - "line": 633, + "line": 630, "column": 32 }, "identifierName": "options_" @@ -84389,15 +85139,15 @@ }, "property": { "type": "Identifier", - "start": 21217, - "end": 21221, + "start": 21242, + "end": 21246, "loc": { "start": { - "line": 633, + "line": 630, "column": 33 }, "end": { - "line": 633, + "line": 630, "column": 37 }, "identifierName": "loop" @@ -84410,15 +85160,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21226, - "end": 21230, + "start": 21251, + "end": 21255, "loc": { "start": { - "line": 633, + "line": 630, "column": 42 }, "end": { - "line": 633, + "line": 630, "column": 46 } }, @@ -84428,87 +85178,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21232, - "end": 21403, + "start": 21257, + "end": 21426, "loc": { "start": { - "line": 633, + "line": 630, "column": 48 }, "end": { - "line": 639, + "line": 636, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21246, - "end": 21393, + "start": 21271, + "end": 21416, "loc": { "start": { - "line": 634, + "line": 631, "column": 12 }, "end": { - "line": 638, + "line": 635, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21250, - "end": 21277, + "start": 21275, + "end": 21300, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, - "column": 43 + "line": 631, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21250, - "end": 21262, + "start": 21275, + "end": 21287, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, + "line": 631, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21250, - "end": 21254, + "start": 21275, + "end": 21279, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, + "line": 631, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21255, - "end": 21262, + "start": 21280, + "end": 21287, "loc": { "start": { - "line": 634, + "line": 631, "column": 21 }, "end": { - "line": 634, + "line": 631, "column": 28 }, "identifierName": "backend" @@ -84519,108 +85269,105 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 21267, - "end": 21277, + "type": "Identifier", + "start": 21292, + "end": 21300, "loc": { "start": { - "line": 634, + "line": 631, "column": 33 }, "end": { - "line": 634, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 631, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 21279, - "end": 21393, + "start": 21302, + "end": 21416, "loc": { "start": { - "line": 634, - "column": 45 + "line": 631, + "column": 43 }, "end": { - "line": 638, + "line": 635, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21331, - "end": 21350, + "start": 21354, + "end": 21373, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 21331, - "end": 21349, + "start": 21354, + "end": 21372, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21331, - "end": 21347, + "start": 21354, + "end": 21370, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21331, - "end": 21342, + "start": 21354, + "end": 21365, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21331, - "end": 21335, + "start": 21354, + "end": 21358, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 20 } }, @@ -84628,15 +85375,15 @@ }, "property": { "type": "Identifier", - "start": 21336, - "end": 21342, + "start": 21359, + "end": 21365, "loc": { "start": { - "line": 636, + "line": 633, "column": 21 }, "end": { - "line": 636, + "line": 633, "column": 27 }, "identifierName": "surfer" @@ -84648,15 +85395,15 @@ }, "property": { "type": "Identifier", - "start": 21343, - "end": 21347, + "start": 21366, + "end": 21370, "loc": { "start": { - "line": 636, + "line": 633, "column": 28 }, "end": { - "line": 636, + "line": 633, "column": 32 }, "identifierName": "stop" @@ -84673,15 +85420,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21297, - "end": 21314, + "start": 21320, + "end": 21337, "loc": { "start": { - "line": 635, + "line": 632, "column": 16 }, "end": { - "line": 635, + "line": 632, "column": 33 } } @@ -84690,72 +85437,72 @@ }, { "type": "ExpressionStatement", - "start": 21367, - "end": 21379, + "start": 21390, + "end": 21402, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21367, - "end": 21378, + "start": 21390, + "end": 21401, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21367, - "end": 21376, + "start": 21390, + "end": 21399, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21367, - "end": 21371, + "start": 21390, + "end": 21394, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21372, - "end": 21376, + "start": 21395, + "end": 21399, "loc": { "start": { - "line": 637, + "line": 634, "column": 21 }, "end": { - "line": 637, + "line": 634, "column": 25 }, "identifierName": "play" @@ -84777,73 +85524,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21409, - "end": 22207, + "start": 21432, + "end": 22228, "loc": { "start": { - "line": 639, + "line": 636, "column": 15 }, "end": { - "line": 660, + "line": 657, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21447, - "end": 21472, + "start": 21470, + "end": 21495, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 21447, - "end": 21471, + "start": 21470, + "end": 21494, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21447, - "end": 21464, + "start": 21470, + "end": 21487, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 21447, - "end": 21451, + "start": 21470, + "end": 21474, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 16 } }, @@ -84851,15 +85598,15 @@ }, "property": { "type": "Identifier", - "start": 21452, - "end": 21464, + "start": 21475, + "end": 21487, "loc": { "start": { - "line": 641, + "line": 638, "column": 17 }, "end": { - "line": 641, + "line": 638, "column": 29 }, "identifierName": "waveFinished" @@ -84871,15 +85618,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21467, - "end": 21471, + "start": 21490, + "end": 21494, "loc": { "start": { - "line": 641, + "line": 638, "column": 32 }, "end": { - "line": 641, + "line": 638, "column": 36 } }, @@ -84891,15 +85638,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21423, - "end": 21434, + "start": 21446, + "end": 21457, "loc": { "start": { - "line": 640, + "line": 637, "column": 12 }, "end": { - "line": 640, + "line": 637, "column": 23 } } @@ -84908,72 +85655,72 @@ }, { "type": "IfStatement", - "start": 21486, - "end": 22197, + "start": 21509, + "end": 22218, "loc": { "start": { - "line": 643, + "line": 640, "column": 12 }, "end": { - "line": 659, + "line": 656, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21490, - "end": 21517, + "start": 21513, + "end": 21538, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, - "column": 43 + "line": 640, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21490, - "end": 21502, + "start": 21513, + "end": 21525, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, + "line": 640, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21490, - "end": 21494, + "start": 21513, + "end": 21517, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, + "line": 640, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21495, - "end": 21502, + "start": 21518, + "end": 21525, "loc": { "start": { - "line": 643, + "line": 640, "column": 21 }, "end": { - "line": 643, + "line": 640, "column": 28 }, "identifierName": "backend" @@ -84984,94 +85731,91 @@ }, "operator": "===", "right": { - "type": "StringLiteral", - "start": 21507, - "end": 21517, + "type": "Identifier", + "start": 21530, + "end": 21538, "loc": { "start": { - "line": 643, + "line": 640, "column": 33 }, "end": { - "line": 643, - "column": 43 - } - }, - "extra": { - "rawValue": "WebAudio", - "raw": "'WebAudio'" + "line": 640, + "column": 41 + }, + "identifierName": "WEBAUDIO" }, - "value": "WebAudio" + "name": "WEBAUDIO" } }, "consequent": { "type": "BlockStatement", - "start": 21519, - "end": 22197, + "start": 21540, + "end": 22218, "loc": { "start": { - "line": 643, - "column": 45 + "line": 640, + "column": 43 }, "end": { - "line": 659, + "line": 656, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21569, - "end": 21582, + "start": 21590, + "end": 21603, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 21569, - "end": 21581, + "start": 21590, + "end": 21602, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 21569, - "end": 21579, + "start": 21590, + "end": 21600, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21569, - "end": 21573, + "start": 21590, + "end": 21594, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 20 } }, @@ -85079,15 +85823,15 @@ }, "property": { "type": "Identifier", - "start": 21574, - "end": 21579, + "start": 21595, + "end": 21600, "loc": { "start": { - "line": 645, + "line": 642, "column": 21 }, "end": { - "line": 645, + "line": 642, "column": 26 }, "identifierName": "pause" @@ -85104,15 +85848,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21537, - "end": 21552, + "start": 21558, + "end": 21573, "loc": { "start": { - "line": 644, + "line": 641, "column": 16 }, "end": { - "line": 644, + "line": 641, "column": 31 } } @@ -85122,15 +85866,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -85139,71 +85883,71 @@ }, { "type": "ExpressionStatement", - "start": 21656, - "end": 21689, + "start": 21677, + "end": 21710, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 21656, - "end": 21688, + "start": 21677, + "end": 21709, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 21656, - "end": 21675, + "start": 21677, + "end": 21696, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 21656, - "end": 21667, + "start": 21677, + "end": 21688, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21656, - "end": 21660, + "start": 21677, + "end": 21681, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 20 } }, @@ -85211,15 +85955,15 @@ }, "property": { "type": "Identifier", - "start": 21661, - "end": 21667, + "start": 21682, + "end": 21688, "loc": { "start": { - "line": 648, + "line": 645, "column": 21 }, "end": { - "line": 648, + "line": 645, "column": 27 }, "identifierName": "player" @@ -85231,15 +85975,15 @@ }, "property": { "type": "Identifier", - "start": 21668, - "end": 21675, + "start": 21689, + "end": 21696, "loc": { "start": { - "line": 648, + "line": 645, "column": 28 }, "end": { - "line": 648, + "line": 645, "column": 35 }, "identifierName": "trigger" @@ -85252,29 +85996,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21676, - "end": 21687, + "start": 21697, + "end": 21708, "loc": { "start": { - "line": 648, + "line": 645, "column": 36 }, "end": { - "line": 648, + "line": 645, "column": 47 } }, "object": { "type": "Identifier", - "start": 21676, - "end": 21681, + "start": 21697, + "end": 21702, "loc": { "start": { - "line": 648, + "line": 645, "column": 36 }, "end": { - "line": 648, + "line": 645, "column": 41 }, "identifierName": "Event" @@ -85283,15 +86027,15 @@ }, "property": { "type": "Identifier", - "start": 21682, - "end": 21687, + "start": 21703, + "end": 21708, "loc": { "start": { - "line": 648, + "line": 645, "column": 42 }, "end": { - "line": 648, + "line": 645, "column": 47 }, "identifierName": "ENDED" @@ -85307,15 +86051,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -85325,15 +86069,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -85341,15 +86085,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -85357,15 +86101,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -85374,71 +86118,71 @@ }, { "type": "ExpressionStatement", - "start": 21892, - "end": 22183, + "start": 21913, + "end": 22204, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 658, + "line": 655, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21892, - "end": 22182, + "start": 21913, + "end": 22203, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 658, + "line": 655, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21892, - "end": 21908, + "start": 21913, + "end": 21929, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21892, - "end": 21903, + "start": 21913, + "end": 21924, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21892, - "end": 21896, + "start": 21913, + "end": 21917, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 20 } }, @@ -85446,15 +86190,15 @@ }, "property": { "type": "Identifier", - "start": 21897, - "end": 21903, + "start": 21918, + "end": 21924, "loc": { "start": { - "line": 653, + "line": 650, "column": 21 }, "end": { - "line": 653, + "line": 650, "column": 27 }, "identifierName": "surfer" @@ -85466,15 +86210,15 @@ }, "property": { "type": "Identifier", - "start": 21904, - "end": 21908, + "start": 21925, + "end": 21929, "loc": { "start": { - "line": 653, + "line": 650, "column": 28 }, "end": { - "line": 653, + "line": 650, "column": 32 }, "identifierName": "once" @@ -85487,29 +86231,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21909, - "end": 21919, + "start": 21930, + "end": 21940, "loc": { "start": { - "line": 653, + "line": 650, "column": 33 }, "end": { - "line": 653, + "line": 650, "column": 43 } }, "object": { "type": "Identifier", - "start": 21909, - "end": 21914, + "start": 21930, + "end": 21935, "loc": { "start": { - "line": 653, + "line": 650, "column": 33 }, "end": { - "line": 653, + "line": 650, "column": 38 }, "identifierName": "Event" @@ -85518,15 +86262,15 @@ }, "property": { "type": "Identifier", - "start": 21915, - "end": 21919, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 653, + "line": 650, "column": 39 }, "end": { - "line": 653, + "line": 650, "column": 43 }, "identifierName": "SEEK" @@ -85537,15 +86281,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 21921, - "end": 22181, + "start": 21942, + "end": 22202, "loc": { "start": { - "line": 653, + "line": 650, "column": 45 }, "end": { - "line": 658, + "line": 655, "column": 17 } }, @@ -85556,115 +86300,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21927, - "end": 22181, + "start": 21948, + "end": 22202, "loc": { "start": { - "line": 653, + "line": 650, "column": 51 }, "end": { - "line": 658, + "line": 655, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 21949, - "end": 22109, + "start": 21970, + "end": 22130, "loc": { "start": { - "line": 654, + "line": 651, "column": 20 }, "end": { - "line": 656, + "line": 653, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 21953, - "end": 22000, + "start": 21974, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 21953, - "end": 21986, + "start": 21974, + "end": 22007, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 21953, - "end": 21975, + "start": 21974, + "end": 21996, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 21953, - "end": 21964, + "start": 21974, + "end": 21985, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 21953, - "end": 21957, + "start": 21974, + "end": 21978, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 28 } } }, "property": { "type": "Identifier", - "start": 21958, - "end": 21964, + "start": 21979, + "end": 21985, "loc": { "start": { - "line": 654, + "line": 651, "column": 29 }, "end": { - "line": 654, + "line": 651, "column": 35 }, "identifierName": "player" @@ -85675,15 +86419,15 @@ }, "property": { "type": "Identifier", - "start": 21965, - "end": 21975, + "start": 21986, + "end": 21996, "loc": { "start": { - "line": 654, + "line": 651, "column": 36 }, "end": { - "line": 654, + "line": 651, "column": 46 }, "identifierName": "controlBar" @@ -85694,15 +86438,15 @@ }, "property": { "type": "Identifier", - "start": 21976, - "end": 21986, + "start": 21997, + "end": 22007, "loc": { "start": { - "line": 654, + "line": 651, "column": 47 }, "end": { - "line": 654, + "line": 651, "column": 57 }, "identifierName": "playToggle" @@ -85714,15 +86458,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 21991, - "end": 22000, + "start": 22012, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 651, "column": 62 }, "end": { - "line": 654, + "line": 651, "column": 71 }, "identifierName": "undefined" @@ -85732,129 +86476,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22002, - "end": 22109, + "start": 22023, + "end": 22130, "loc": { "start": { - "line": 654, + "line": 651, "column": 73 }, "end": { - "line": 656, + "line": 653, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22028, - "end": 22087, + "start": 22049, + "end": 22108, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22028, - "end": 22086, + "start": 22049, + "end": 22107, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22028, - "end": 22073, + "start": 22049, + "end": 22094, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22061, + "start": 22049, + "end": 22082, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22050, + "start": 22049, + "end": 22071, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22028, - "end": 22039, + "start": 22049, + "end": 22060, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22028, - "end": 22032, + "start": 22049, + "end": 22053, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22033, - "end": 22039, + "start": 22054, + "end": 22060, "loc": { "start": { - "line": 655, + "line": 652, "column": 29 }, "end": { - "line": 655, + "line": 652, "column": 35 }, "identifierName": "player" @@ -85865,15 +86609,15 @@ }, "property": { "type": "Identifier", - "start": 22040, - "end": 22050, + "start": 22061, + "end": 22071, "loc": { "start": { - "line": 655, + "line": 652, "column": 36 }, "end": { - "line": 655, + "line": 652, "column": 46 }, "identifierName": "controlBar" @@ -85884,15 +86628,15 @@ }, "property": { "type": "Identifier", - "start": 22051, - "end": 22061, + "start": 22072, + "end": 22082, "loc": { "start": { - "line": 655, + "line": 652, "column": 47 }, "end": { - "line": 655, + "line": 652, "column": 57 }, "identifierName": "playToggle" @@ -85903,15 +86647,15 @@ }, "property": { "type": "Identifier", - "start": 22062, - "end": 22073, + "start": 22083, + "end": 22094, "loc": { "start": { - "line": 655, + "line": 652, "column": 58 }, "end": { - "line": 655, + "line": 652, "column": 69 }, "identifierName": "removeClass" @@ -85923,15 +86667,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22074, - "end": 22085, + "start": 22095, + "end": 22106, "loc": { "start": { - "line": 655, + "line": 652, "column": 70 }, "end": { - "line": 655, + "line": 652, "column": 81 } }, @@ -85951,86 +86695,86 @@ }, { "type": "ExpressionStatement", - "start": 22130, - "end": 22163, + "start": 22151, + "end": 22184, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22130, - "end": 22162, + "start": 22151, + "end": 22183, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22130, - "end": 22149, + "start": 22151, + "end": 22170, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22130, - "end": 22141, + "start": 22151, + "end": 22162, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22130, - "end": 22134, + "start": 22151, + "end": 22155, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22135, - "end": 22141, + "start": 22156, + "end": 22162, "loc": { "start": { - "line": 657, + "line": 654, "column": 25 }, "end": { - "line": 657, + "line": 654, "column": 31 }, "identifierName": "player" @@ -86041,15 +86785,15 @@ }, "property": { "type": "Identifier", - "start": 22142, - "end": 22149, + "start": 22163, + "end": 22170, "loc": { "start": { - "line": 657, + "line": 654, "column": 32 }, "end": { - "line": 657, + "line": 654, "column": 39 }, "identifierName": "trigger" @@ -86061,29 +86805,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22150, - "end": 22161, + "start": 22171, + "end": 22182, "loc": { "start": { - "line": 657, + "line": 654, "column": 40 }, "end": { - "line": 657, + "line": 654, "column": 51 } }, "object": { "type": "Identifier", - "start": 22150, - "end": 22155, + "start": 22171, + "end": 22176, "loc": { "start": { - "line": 657, + "line": 654, "column": 40 }, "end": { - "line": 657, + "line": 654, "column": 45 }, "identifierName": "Event" @@ -86092,15 +86836,15 @@ }, "property": { "type": "Identifier", - "start": 22156, - "end": 22161, + "start": 22177, + "end": 22182, "loc": { "start": { - "line": 657, + "line": 654, "column": 46 }, "end": { - "line": 657, + "line": 654, "column": 51 }, "identifierName": "PAUSE" @@ -86123,15 +86867,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -86139,15 +86883,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -86155,15 +86899,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -86182,15 +86926,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -86205,15 +86949,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -86223,15 +86967,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -86240,15 +86984,15 @@ }, { "type": "ClassMethod", - "start": 22376, - "end": 22435, + "start": 22397, + "end": 22456, "loc": { "start": { - "line": 669, + "line": 666, "column": 4 }, "end": { - "line": 671, + "line": 668, "column": 5 } }, @@ -86256,15 +87000,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22376, - "end": 22390, + "start": 22397, + "end": 22411, "loc": { "start": { - "line": 669, + "line": 666, "column": 4 }, "end": { - "line": 669, + "line": 666, "column": 18 }, "identifierName": "onWaveProgress" @@ -86280,15 +87024,15 @@ "params": [ { "type": "Identifier", - "start": 22391, - "end": 22395, + "start": 22412, + "end": 22416, "loc": { "start": { - "line": 669, + "line": 666, "column": 19 }, "end": { - "line": 669, + "line": 666, "column": 23 }, "identifierName": "time" @@ -86298,87 +87042,87 @@ ], "body": { "type": "BlockStatement", - "start": 22397, - "end": 22435, + "start": 22418, + "end": 22456, "loc": { "start": { - "line": 669, + "line": 666, "column": 25 }, "end": { - "line": 671, + "line": 668, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22407, - "end": 22429, + "start": 22428, + "end": 22450, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22407, - "end": 22428, + "start": 22428, + "end": 22449, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22407, - "end": 22426, + "start": 22428, + "end": 22447, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22407, - "end": 22411, + "start": 22428, + "end": 22432, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22412, - "end": 22426, + "start": 22433, + "end": 22447, "loc": { "start": { - "line": 670, + "line": 667, "column": 13 }, "end": { - "line": 670, + "line": 667, "column": 27 }, "identifierName": "setCurrentTime" @@ -86398,15 +87142,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -86416,15 +87160,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -86433,15 +87177,15 @@ }, { "type": "ClassMethod", - "start": 22525, - "end": 22576, + "start": 22546, + "end": 22597, "loc": { "start": { - "line": 678, + "line": 675, "column": 4 }, "end": { - "line": 680, + "line": 677, "column": 5 } }, @@ -86449,15 +87193,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22525, - "end": 22535, + "start": 22546, + "end": 22556, "loc": { "start": { - "line": 678, + "line": 675, "column": 4 }, "end": { - "line": 678, + "line": 675, "column": 14 }, "identifierName": "onWaveSeek" @@ -86473,87 +87217,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22538, - "end": 22576, + "start": 22559, + "end": 22597, "loc": { "start": { - "line": 678, + "line": 675, "column": 17 }, "end": { - "line": 680, + "line": 677, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22548, - "end": 22570, + "start": 22569, + "end": 22591, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22548, - "end": 22569, + "start": 22569, + "end": 22590, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22548, - "end": 22567, + "start": 22569, + "end": 22588, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22548, - "end": 22552, + "start": 22569, + "end": 22573, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22553, - "end": 22567, + "start": 22574, + "end": 22588, "loc": { "start": { - "line": 679, + "line": 676, "column": 13 }, "end": { - "line": 679, + "line": 676, "column": 27 }, "identifierName": "setCurrentTime" @@ -86573,15 +87317,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -86591,15 +87335,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -86608,15 +87352,15 @@ }, { "type": "ClassMethod", - "start": 22697, - "end": 23090, + "start": 22718, + "end": 23111, "loc": { "start": { - "line": 688, + "line": 685, "column": 4 }, "end": { - "line": 699, + "line": 696, "column": 5 } }, @@ -86624,15 +87368,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22697, - "end": 22708, + "start": 22718, + "end": 22729, "loc": { "start": { - "line": 688, + "line": 685, "column": 4 }, "end": { - "line": 688, + "line": 685, "column": 15 }, "identifierName": "onWaveError" @@ -86648,15 +87392,15 @@ "params": [ { "type": "Identifier", - "start": 22709, - "end": 22714, + "start": 22730, + "end": 22735, "loc": { "start": { - "line": 688, + "line": 685, "column": 16 }, "end": { - "line": 688, + "line": 685, "column": 21 }, "identifierName": "error" @@ -86666,86 +87410,86 @@ ], "body": { "type": "BlockStatement", - "start": 22716, - "end": 23090, + "start": 22737, + "end": 23111, "loc": { "start": { - "line": 688, + "line": 685, "column": 23 }, "end": { - "line": 699, + "line": 696, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 22754, - "end": 23084, + "start": 22775, + "end": 23105, "loc": { "start": { - "line": 690, + "line": 687, "column": 8 }, "end": { - "line": 698, + "line": 695, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 22758, - "end": 22901, + "start": 22779, + "end": 22922, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 22758, - "end": 22799, + "start": 22779, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 22758, - "end": 22768, + "start": 22779, + "end": 22789, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 22 } }, "object": { "type": "Identifier", - "start": 22758, - "end": 22763, + "start": 22779, + "end": 22784, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 17 }, "identifierName": "error" @@ -86755,15 +87499,15 @@ }, "property": { "type": "Identifier", - "start": 22764, - "end": 22768, + "start": 22785, + "end": 22789, "loc": { "start": { - "line": 690, + "line": 687, "column": 18 }, "end": { - "line": 690, + "line": 687, "column": 22 }, "identifierName": "name" @@ -86776,43 +87520,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22772, - "end": 22799, + "start": 22793, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 22772, - "end": 22782, + "start": 22793, + "end": 22803, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 36 } }, "object": { "type": "Identifier", - "start": 22772, - "end": 22777, + "start": 22793, + "end": 22798, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 31 }, "identifierName": "error" @@ -86821,15 +87565,15 @@ }, "property": { "type": "Identifier", - "start": 22778, - "end": 22782, + "start": 22799, + "end": 22803, "loc": { "start": { - "line": 690, + "line": 687, "column": 32 }, "end": { - "line": 690, + "line": 687, "column": 36 }, "identifierName": "name" @@ -86841,15 +87585,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 22787, - "end": 22799, + "start": 22808, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 41 }, "end": { - "line": 690, + "line": 687, "column": 53 } }, @@ -86865,57 +87609,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 22815, - "end": 22901, + "start": 22836, + "end": 22922, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 22815, - "end": 22844, + "start": 22836, + "end": 22865, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 22815, - "end": 22825, + "start": 22836, + "end": 22846, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 22 } }, "object": { "type": "Identifier", - "start": 22815, - "end": 22820, + "start": 22836, + "end": 22841, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 17 }, "identifierName": "error" @@ -86924,15 +87668,15 @@ }, "property": { "type": "Identifier", - "start": 22821, - "end": 22825, + "start": 22842, + "end": 22846, "loc": { "start": { - "line": 691, + "line": 688, "column": 18 }, "end": { - "line": 691, + "line": 688, "column": 22 }, "identifierName": "name" @@ -86944,15 +87688,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 22830, - "end": 22844, + "start": 22851, + "end": 22865, "loc": { "start": { - "line": 691, + "line": 688, "column": 27 }, "end": { - "line": 691, + "line": 688, "column": 41 } }, @@ -86966,57 +87710,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 22848, - "end": 22901, + "start": 22869, + "end": 22922, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 22848, - "end": 22872, + "start": 22869, + "end": 22893, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22848, - "end": 22861, + "start": 22869, + "end": 22882, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 58 } }, "object": { "type": "Identifier", - "start": 22848, - "end": 22853, + "start": 22869, + "end": 22874, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 50 }, "identifierName": "error" @@ -87025,15 +87769,15 @@ }, "property": { "type": "Identifier", - "start": 22854, - "end": 22861, + "start": 22875, + "end": 22882, "loc": { "start": { - "line": 691, + "line": 688, "column": 51 }, "end": { - "line": 691, + "line": 688, "column": 58 }, "identifierName": "message" @@ -87044,15 +87788,15 @@ }, "property": { "type": "Identifier", - "start": 22862, - "end": 22872, + "start": 22883, + "end": 22893, "loc": { "start": { - "line": 691, + "line": 688, "column": 59 }, "end": { - "line": 691, + "line": 688, "column": 69 }, "identifierName": "startsWith" @@ -87064,15 +87808,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22873, - "end": 22900, + "start": 22894, + "end": 22921, "loc": { "start": { - "line": 691, + "line": 688, "column": 70 }, "end": { - "line": 691, + "line": 688, "column": 97 } }, @@ -87089,101 +87833,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 22911, - "end": 22975, + "start": 22932, + "end": 22996, "loc": { "start": { - "line": 692, + "line": 689, "column": 8 }, "end": { - "line": 694, + "line": 691, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22925, - "end": 22965, + "start": 22946, + "end": 22986, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 22925, - "end": 22964, + "start": 22946, + "end": 22985, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 22925, - "end": 22944, + "start": 22946, + "end": 22965, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 22925, - "end": 22936, + "start": 22946, + "end": 22957, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 22925, - "end": 22929, + "start": 22946, + "end": 22950, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 16 } } }, "property": { "type": "Identifier", - "start": 22930, - "end": 22936, + "start": 22951, + "end": 22957, "loc": { "start": { - "line": 693, + "line": 690, "column": 17 }, "end": { - "line": 693, + "line": 690, "column": 23 }, "identifierName": "player" @@ -87194,15 +87938,15 @@ }, "property": { "type": "Identifier", - "start": 22937, - "end": 22944, + "start": 22958, + "end": 22965, "loc": { "start": { - "line": 693, + "line": 690, "column": 24 }, "end": { - "line": 693, + "line": 690, "column": 31 }, "identifierName": "trigger" @@ -87214,29 +87958,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22945, - "end": 22956, + "start": 22966, + "end": 22977, "loc": { "start": { - "line": 693, + "line": 690, "column": 32 }, "end": { - "line": 693, + "line": 690, "column": 43 } }, "object": { "type": "Identifier", - "start": 22945, - "end": 22950, + "start": 22966, + "end": 22971, "loc": { "start": { - "line": 693, + "line": 690, "column": 32 }, "end": { - "line": 693, + "line": 690, "column": 37 }, "identifierName": "Event" @@ -87245,15 +87989,15 @@ }, "property": { "type": "Identifier", - "start": 22951, - "end": 22956, + "start": 22972, + "end": 22977, "loc": { "start": { - "line": 693, + "line": 690, "column": 38 }, "end": { - "line": 693, + "line": 690, "column": 43 }, "identifierName": "ABORT" @@ -87264,15 +88008,15 @@ }, { "type": "Identifier", - "start": 22958, - "end": 22963, + "start": 22979, + "end": 22984, "loc": { "start": { - "line": 693, + "line": 690, "column": 45 }, "end": { - "line": 693, + "line": 690, "column": 50 }, "identifierName": "error" @@ -87287,101 +88031,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 22981, - "end": 23084, + "start": 23002, + "end": 23105, "loc": { "start": { - "line": 694, + "line": 691, "column": 15 }, "end": { - "line": 698, + "line": 695, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22995, - "end": 23035, + "start": 23016, + "end": 23056, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 22995, - "end": 23034, + "start": 23016, + "end": 23055, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 22995, - "end": 23014, + "start": 23016, + "end": 23035, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 22995, - "end": 23006, + "start": 23016, + "end": 23027, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 22995, - "end": 22999, + "start": 23016, + "end": 23020, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23000, - "end": 23006, + "start": 23021, + "end": 23027, "loc": { "start": { - "line": 695, + "line": 692, "column": 17 }, "end": { - "line": 695, + "line": 692, "column": 23 }, "identifierName": "player" @@ -87392,15 +88136,15 @@ }, "property": { "type": "Identifier", - "start": 23007, - "end": 23014, + "start": 23028, + "end": 23035, "loc": { "start": { - "line": 695, + "line": 692, "column": 24 }, "end": { - "line": 695, + "line": 692, "column": 31 }, "identifierName": "trigger" @@ -87412,29 +88156,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23015, - "end": 23026, + "start": 23036, + "end": 23047, "loc": { "start": { - "line": 695, + "line": 692, "column": 32 }, "end": { - "line": 695, + "line": 692, "column": 43 } }, "object": { "type": "Identifier", - "start": 23015, - "end": 23020, + "start": 23036, + "end": 23041, "loc": { "start": { - "line": 695, + "line": 692, "column": 32 }, "end": { - "line": 695, + "line": 692, "column": 37 }, "identifierName": "Event" @@ -87443,15 +88187,15 @@ }, "property": { "type": "Identifier", - "start": 23021, - "end": 23026, + "start": 23042, + "end": 23047, "loc": { "start": { - "line": 695, + "line": 692, "column": 38 }, "end": { - "line": 695, + "line": 692, "column": 43 }, "identifierName": "ERROR" @@ -87462,15 +88206,15 @@ }, { "type": "Identifier", - "start": 23028, - "end": 23033, + "start": 23049, + "end": 23054, "loc": { "start": { - "line": 695, + "line": 692, "column": 45 }, "end": { - "line": 695, + "line": 692, "column": 50 }, "identifierName": "error" @@ -87482,72 +88226,72 @@ }, { "type": "ExpressionStatement", - "start": 23049, - "end": 23074, + "start": 23070, + "end": 23095, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23049, - "end": 23073, + "start": 23070, + "end": 23094, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23049, - "end": 23057, + "start": 23070, + "end": 23078, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23049, - "end": 23053, + "start": 23070, + "end": 23074, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23054, - "end": 23057, + "start": 23075, + "end": 23078, "loc": { "start": { - "line": 697, + "line": 694, "column": 17 }, "end": { - "line": 697, + "line": 694, "column": 20 }, "identifierName": "log" @@ -87559,15 +88303,15 @@ "arguments": [ { "type": "Identifier", - "start": 23058, - "end": 23063, + "start": 23079, + "end": 23084, "loc": { "start": { - "line": 697, + "line": 694, "column": 21 }, "end": { - "line": 697, + "line": 694, "column": 26 }, "identifierName": "error" @@ -87576,15 +88320,15 @@ }, { "type": "StringLiteral", - "start": 23065, - "end": 23072, + "start": 23086, + "end": 23093, "loc": { "start": { - "line": 697, + "line": 694, "column": 28 }, "end": { - "line": 697, + "line": 694, "column": 35 } }, @@ -87604,15 +88348,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 22726, - "end": 22745, + "start": 22747, + "end": 22766, "loc": { "start": { - "line": 689, + "line": 686, "column": 8 }, "end": { - "line": 689, + "line": 686, "column": 27 } } @@ -87627,15 +88371,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -87645,15 +88389,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -87662,15 +88406,15 @@ }, { "type": "ClassMethod", - "start": 23174, - "end": 23529, + "start": 23195, + "end": 23550, "loc": { "start": { - "line": 705, + "line": 702, "column": 4 }, "end": { - "line": 715, + "line": 712, "column": 5 } }, @@ -87678,15 +88422,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23174, - "end": 23186, + "start": 23195, + "end": 23207, "loc": { "start": { - "line": 705, + "line": 702, "column": 4 }, "end": { - "line": 705, + "line": 702, "column": 16 }, "identifierName": "onPlayToggle" @@ -87702,129 +88446,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23189, - "end": 23529, + "start": 23210, + "end": 23550, "loc": { "start": { - "line": 705, + "line": 702, "column": 19 }, "end": { - "line": 715, + "line": 712, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23199, - "end": 23406, + "start": 23220, + "end": 23427, "loc": { "start": { - "line": 706, + "line": 703, "column": 8 }, "end": { - "line": 709, + "line": 706, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23203, - "end": 23321, + "start": 23224, + "end": 23342, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23203, - "end": 23250, + "start": 23224, + "end": 23271, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23203, - "end": 23236, + "start": 23224, + "end": 23257, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23203, - "end": 23225, + "start": 23224, + "end": 23246, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23203, - "end": 23214, + "start": 23224, + "end": 23235, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23203, - "end": 23207, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23208, - "end": 23214, + "start": 23229, + "end": 23235, "loc": { "start": { - "line": 706, + "line": 703, "column": 17 }, "end": { - "line": 706, + "line": 703, "column": 23 }, "identifierName": "player" @@ -87835,15 +88579,15 @@ }, "property": { "type": "Identifier", - "start": 23215, - "end": 23225, + "start": 23236, + "end": 23246, "loc": { "start": { - "line": 706, + "line": 703, "column": 24 }, "end": { - "line": 706, + "line": 703, "column": 34 }, "identifierName": "controlBar" @@ -87854,15 +88598,15 @@ }, "property": { "type": "Identifier", - "start": 23226, - "end": 23236, + "start": 23247, + "end": 23257, "loc": { "start": { - "line": 706, + "line": 703, "column": 35 }, "end": { - "line": 706, + "line": 703, "column": 45 }, "identifierName": "playToggle" @@ -87874,15 +88618,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23241, - "end": 23250, + "start": 23262, + "end": 23271, "loc": { "start": { - "line": 706, + "line": 703, "column": 50 }, "end": { - "line": 706, + "line": 703, "column": 59 }, "identifierName": "undefined" @@ -87893,100 +88637,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23266, - "end": 23321, + "start": 23287, + "end": 23342, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23266, - "end": 23308, + "start": 23287, + "end": 23329, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23299, + "start": 23287, + "end": 23320, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23288, + "start": 23287, + "end": 23309, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23266, - "end": 23277, + "start": 23287, + "end": 23298, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23266, - "end": 23270, + "start": 23287, + "end": 23291, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23271, - "end": 23277, + "start": 23292, + "end": 23298, "loc": { "start": { - "line": 707, + "line": 704, "column": 17 }, "end": { - "line": 707, + "line": 704, "column": 23 }, "identifierName": "player" @@ -87997,15 +88741,15 @@ }, "property": { "type": "Identifier", - "start": 23278, - "end": 23288, + "start": 23299, + "end": 23309, "loc": { "start": { - "line": 707, + "line": 704, "column": 24 }, "end": { - "line": 707, + "line": 704, "column": 34 }, "identifierName": "controlBar" @@ -88016,15 +88760,15 @@ }, "property": { "type": "Identifier", - "start": 23289, - "end": 23299, + "start": 23310, + "end": 23320, "loc": { "start": { - "line": 707, + "line": 704, "column": 35 }, "end": { - "line": 707, + "line": 704, "column": 45 }, "identifierName": "playToggle" @@ -88035,15 +88779,15 @@ }, "property": { "type": "Identifier", - "start": 23300, - "end": 23308, + "start": 23321, + "end": 23329, "loc": { "start": { - "line": 707, + "line": 704, "column": 46 }, "end": { - "line": 707, + "line": 704, "column": 54 }, "identifierName": "hasClass" @@ -88055,15 +88799,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23309, - "end": 23320, + "start": 23330, + "end": 23341, "loc": { "start": { - "line": 707, + "line": 704, "column": 55 }, "end": { - "line": 707, + "line": 704, "column": 66 } }, @@ -88078,129 +88822,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23323, - "end": 23406, + "start": 23344, + "end": 23427, "loc": { "start": { - "line": 707, + "line": 704, "column": 69 }, "end": { - "line": 709, + "line": 706, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23337, - "end": 23396, + "start": 23358, + "end": 23417, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23337, - "end": 23395, + "start": 23358, + "end": 23416, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23337, - "end": 23382, + "start": 23358, + "end": 23403, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23370, + "start": 23358, + "end": 23391, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23359, + "start": 23358, + "end": 23380, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23337, - "end": 23348, + "start": 23358, + "end": 23369, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23337, - "end": 23341, + "start": 23358, + "end": 23362, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23342, - "end": 23348, + "start": 23363, + "end": 23369, "loc": { "start": { - "line": 708, + "line": 705, "column": 17 }, "end": { - "line": 708, + "line": 705, "column": 23 }, "identifierName": "player" @@ -88211,15 +88955,15 @@ }, "property": { "type": "Identifier", - "start": 23349, - "end": 23359, + "start": 23370, + "end": 23380, "loc": { "start": { - "line": 708, + "line": 705, "column": 24 }, "end": { - "line": 708, + "line": 705, "column": 34 }, "identifierName": "controlBar" @@ -88230,15 +88974,15 @@ }, "property": { "type": "Identifier", - "start": 23360, - "end": 23370, + "start": 23381, + "end": 23391, "loc": { "start": { - "line": 708, + "line": 705, "column": 35 }, "end": { - "line": 708, + "line": 705, "column": 45 }, "identifierName": "playToggle" @@ -88249,15 +88993,15 @@ }, "property": { "type": "Identifier", - "start": 23371, - "end": 23382, + "start": 23392, + "end": 23403, "loc": { "start": { - "line": 708, + "line": 705, "column": 46 }, "end": { - "line": 708, + "line": 705, "column": 57 }, "identifierName": "removeClass" @@ -88269,15 +89013,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23383, - "end": 23394, + "start": 23404, + "end": 23415, "loc": { "start": { - "line": 708, + "line": 705, "column": 58 }, "end": { - "line": 708, + "line": 705, "column": 69 } }, @@ -88297,86 +89041,86 @@ }, { "type": "IfStatement", - "start": 23415, - "end": 23523, + "start": 23436, + "end": 23544, "loc": { "start": { - "line": 710, + "line": 707, "column": 8 }, "end": { - "line": 714, + "line": 711, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23419, - "end": 23442, + "start": 23440, + "end": 23463, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 23419, - "end": 23440, + "start": 23440, + "end": 23461, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 23419, - "end": 23430, + "start": 23440, + "end": 23451, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23419, - "end": 23423, + "start": 23440, + "end": 23444, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23424, - "end": 23430, + "start": 23445, + "end": 23451, "loc": { "start": { - "line": 710, + "line": 707, "column": 17 }, "end": { - "line": 710, + "line": 707, "column": 23 }, "identifierName": "surfer" @@ -88387,15 +89131,15 @@ }, "property": { "type": "Identifier", - "start": 23431, - "end": 23440, + "start": 23452, + "end": 23461, "loc": { "start": { - "line": 710, + "line": 707, "column": 24 }, "end": { - "line": 710, + "line": 707, "column": 33 }, "identifierName": "isPlaying" @@ -88408,87 +89152,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 23444, - "end": 23481, + "start": 23465, + "end": 23502, "loc": { "start": { - "line": 710, + "line": 707, "column": 37 }, "end": { - "line": 712, + "line": 709, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23458, - "end": 23471, + "start": 23479, + "end": 23492, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 23458, - "end": 23470, + "start": 23479, + "end": 23491, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 23458, - "end": 23468, + "start": 23479, + "end": 23489, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23458, - "end": 23462, + "start": 23479, + "end": 23483, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23463, - "end": 23468, + "start": 23484, + "end": 23489, "loc": { "start": { - "line": 711, + "line": 708, "column": 17 }, "end": { - "line": 711, + "line": 708, "column": 22 }, "identifierName": "pause" @@ -88505,87 +89249,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 23487, - "end": 23523, + "start": 23508, + "end": 23544, "loc": { "start": { - "line": 712, + "line": 709, "column": 15 }, "end": { - "line": 714, + "line": 711, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23501, - "end": 23513, + "start": 23522, + "end": 23534, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 23501, - "end": 23512, + "start": 23522, + "end": 23533, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 23501, - "end": 23510, + "start": 23522, + "end": 23531, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 23501, - "end": 23505, + "start": 23522, + "end": 23526, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23506, - "end": 23510, + "start": 23527, + "end": 23531, "loc": { "start": { - "line": 713, + "line": 710, "column": 17 }, "end": { - "line": 713, + "line": 710, "column": 21 }, "identifierName": "play" @@ -88609,15 +89353,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -88627,15 +89371,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -88644,15 +89388,15 @@ }, { "type": "ClassMethod", - "start": 23628, - "end": 23871, + "start": 23649, + "end": 23892, "loc": { "start": { - "line": 721, + "line": 718, "column": 4 }, "end": { - "line": 730, + "line": 727, "column": 5 } }, @@ -88660,15 +89404,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23628, - "end": 23642, + "start": 23649, + "end": 23663, "loc": { "start": { - "line": 721, + "line": 718, "column": 4 }, "end": { - "line": 721, + "line": 718, "column": 18 }, "identifierName": "onVolumeChange" @@ -88684,59 +89428,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23645, - "end": 23871, + "start": 23666, + "end": 23892, "loc": { "start": { - "line": 721, + "line": 718, "column": 21 }, "end": { - "line": 730, + "line": 727, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 23655, - "end": 23689, + "start": 23676, + "end": 23710, "loc": { "start": { - "line": 722, + "line": 719, "column": 8 }, "end": { - "line": 722, + "line": 719, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23659, - "end": 23688, + "start": 23680, + "end": 23709, "loc": { "start": { - "line": 722, + "line": 719, "column": 12 }, "end": { - "line": 722, + "line": 719, "column": 41 } }, "id": { "type": "Identifier", - "start": 23659, - "end": 23665, + "start": 23680, + "end": 23686, "loc": { "start": { - "line": 722, + "line": 719, "column": 12 }, "end": { - "line": 722, + "line": 719, "column": 18 }, "identifierName": "volume" @@ -88745,72 +89489,72 @@ }, "init": { "type": "CallExpression", - "start": 23668, - "end": 23688, + "start": 23689, + "end": 23709, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 23668, - "end": 23686, + "start": 23689, + "end": 23707, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 23668, - "end": 23679, + "start": 23689, + "end": 23700, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 23668, - "end": 23672, + "start": 23689, + "end": 23693, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 25 } } }, "property": { "type": "Identifier", - "start": 23673, - "end": 23679, + "start": 23694, + "end": 23700, "loc": { "start": { - "line": 722, + "line": 719, "column": 26 }, "end": { - "line": 722, + "line": 719, "column": 32 }, "identifierName": "player" @@ -88821,15 +89565,15 @@ }, "property": { "type": "Identifier", - "start": 23680, - "end": 23686, + "start": 23701, + "end": 23707, "loc": { "start": { - "line": 722, + "line": 719, "column": 33 }, "end": { - "line": 722, + "line": 719, "column": 39 }, "identifierName": "volume" @@ -88846,86 +89590,86 @@ }, { "type": "IfStatement", - "start": 23698, - "end": 23786, + "start": 23719, + "end": 23807, "loc": { "start": { - "line": 723, + "line": 720, "column": 8 }, "end": { - "line": 726, + "line": 723, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23702, - "end": 23721, + "start": 23723, + "end": 23742, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 23702, - "end": 23719, + "start": 23723, + "end": 23740, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 23702, - "end": 23713, + "start": 23723, + "end": 23734, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23702, - "end": 23706, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23707, - "end": 23713, + "start": 23728, + "end": 23734, "loc": { "start": { - "line": 723, + "line": 720, "column": 17 }, "end": { - "line": 723, + "line": 720, "column": 23 }, "identifierName": "player" @@ -88936,15 +89680,15 @@ }, "property": { "type": "Identifier", - "start": 23714, - "end": 23719, + "start": 23735, + "end": 23740, "loc": { "start": { - "line": 723, + "line": 720, "column": 24 }, "end": { - "line": 723, + "line": 720, "column": 29 }, "identifierName": "muted" @@ -88957,59 +89701,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 23723, - "end": 23786, + "start": 23744, + "end": 23807, "loc": { "start": { - "line": 723, + "line": 720, "column": 33 }, "end": { - "line": 726, + "line": 723, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23765, - "end": 23776, + "start": 23786, + "end": 23797, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 23765, - "end": 23775, + "start": 23786, + "end": 23796, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 23765, - "end": 23771, + "start": 23786, + "end": 23792, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 18 }, "identifierName": "volume" @@ -89019,15 +89763,15 @@ }, "right": { "type": "NumericLiteral", - "start": 23774, - "end": 23775, + "start": 23795, + "end": 23796, "loc": { "start": { - "line": 725, + "line": 722, "column": 21 }, "end": { - "line": 725, + "line": 722, "column": 22 } }, @@ -89043,15 +89787,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 23737, - "end": 23752, + "start": 23758, + "end": 23773, "loc": { "start": { - "line": 724, + "line": 721, "column": 12 }, "end": { - "line": 724, + "line": 721, "column": 27 } } @@ -89067,15 +89811,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -89084,71 +89828,71 @@ }, { "type": "ExpressionStatement", - "start": 23835, - "end": 23865, + "start": 23856, + "end": 23886, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 23835, - "end": 23864, + "start": 23856, + "end": 23885, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 23835, - "end": 23856, + "start": 23856, + "end": 23877, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 23835, - "end": 23846, + "start": 23856, + "end": 23867, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 23835, - "end": 23839, + "start": 23856, + "end": 23860, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 12 } }, @@ -89156,15 +89900,15 @@ }, "property": { "type": "Identifier", - "start": 23840, - "end": 23846, + "start": 23861, + "end": 23867, "loc": { "start": { - "line": 729, + "line": 726, "column": 13 }, "end": { - "line": 729, + "line": 726, "column": 19 }, "identifierName": "surfer" @@ -89176,15 +89920,15 @@ }, "property": { "type": "Identifier", - "start": 23847, - "end": 23856, + "start": 23868, + "end": 23877, "loc": { "start": { - "line": 729, + "line": 726, "column": 20 }, "end": { - "line": 729, + "line": 726, "column": 29 }, "identifierName": "setVolume" @@ -89197,15 +89941,15 @@ "arguments": [ { "type": "Identifier", - "start": 23857, - "end": 23863, + "start": 23878, + "end": 23884, "loc": { "start": { - "line": 729, + "line": 726, "column": 30 }, "end": { - "line": 729, + "line": 726, "column": 36 }, "identifierName": "volume" @@ -89219,15 +89963,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -89242,15 +89986,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -89260,15 +90004,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -89277,15 +90021,15 @@ }, { "type": "ClassMethod", - "start": 23986, - "end": 24960, + "start": 24007, + "end": 24981, "loc": { "start": { - "line": 736, + "line": 733, "column": 4 }, "end": { - "line": 762, + "line": 759, "column": 5 } }, @@ -89293,15 +90037,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23986, - "end": 24000, + "start": 24007, + "end": 24021, "loc": { "start": { - "line": 736, + "line": 733, "column": 4 }, "end": { - "line": 736, + "line": 733, "column": 18 }, "identifierName": "onScreenChange" @@ -89317,59 +90061,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24003, - "end": 24960, + "start": 24024, + "end": 24981, "loc": { "start": { - "line": 736, + "line": 733, "column": 21 }, "end": { - "line": 762, + "line": 759, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24137, - "end": 24954, + "start": 24158, + "end": 24975, "loc": { "start": { - "line": 739, + "line": 736, "column": 8 }, "end": { - "line": 761, + "line": 758, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24141, - "end": 24953, + "start": 24162, + "end": 24974, "loc": { "start": { - "line": 739, + "line": 736, "column": 12 }, "end": { - "line": 761, + "line": 758, "column": 15 } }, "id": { "type": "Identifier", - "start": 24141, - "end": 24156, + "start": 24162, + "end": 24177, "loc": { "start": { - "line": 739, + "line": 736, "column": 12 }, "end": { - "line": 739, + "line": 736, "column": 27 }, "identifierName": "fullscreenDelay" @@ -89379,72 +90123,72 @@ }, "init": { "type": "CallExpression", - "start": 24159, - "end": 24953, + "start": 24180, + "end": 24974, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 761, + "line": 758, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24159, - "end": 24182, + "start": 24180, + "end": 24203, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24159, - "end": 24170, + "start": 24180, + "end": 24191, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24159, - "end": 24163, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24164, - "end": 24170, + "start": 24185, + "end": 24191, "loc": { "start": { - "line": 739, + "line": 736, "column": 35 }, "end": { - "line": 739, + "line": 736, "column": 41 }, "identifierName": "player" @@ -89455,15 +90199,15 @@ }, "property": { "type": "Identifier", - "start": 24171, - "end": 24182, + "start": 24192, + "end": 24203, "loc": { "start": { - "line": 739, + "line": 736, "column": 42 }, "end": { - "line": 739, + "line": 736, "column": 53 }, "identifierName": "setInterval" @@ -89475,15 +90219,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24183, - "end": 24947, + "start": 24204, + "end": 24968, "loc": { "start": { - "line": 739, + "line": 736, "column": 54 }, "end": { - "line": 761, + "line": 758, "column": 9 } }, @@ -89494,59 +90238,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24189, - "end": 24947, + "start": 24210, + "end": 24968, "loc": { "start": { - "line": 739, + "line": 736, "column": 60 }, "end": { - "line": 761, + "line": 758, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24203, - "end": 24249, + "start": 24224, + "end": 24270, "loc": { "start": { - "line": 740, + "line": 737, "column": 12 }, "end": { - "line": 740, + "line": 737, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24207, - "end": 24248, + "start": 24228, + "end": 24269, "loc": { "start": { - "line": 740, + "line": 737, "column": 16 }, "end": { - "line": 740, + "line": 737, "column": 57 } }, "id": { "type": "Identifier", - "start": 24207, - "end": 24219, + "start": 24228, + "end": 24240, "loc": { "start": { - "line": 740, + "line": 737, "column": 16 }, "end": { - "line": 740, + "line": 737, "column": 28 }, "identifierName": "isFullscreen" @@ -89555,72 +90299,72 @@ }, "init": { "type": "CallExpression", - "start": 24222, - "end": 24248, + "start": 24243, + "end": 24269, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24222, - "end": 24246, + "start": 24243, + "end": 24267, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24222, - "end": 24233, + "start": 24243, + "end": 24254, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24222, - "end": 24226, + "start": 24243, + "end": 24247, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24227, - "end": 24233, + "start": 24248, + "end": 24254, "loc": { "start": { - "line": 740, + "line": 737, "column": 36 }, "end": { - "line": 740, + "line": 737, "column": 42 }, "identifierName": "player" @@ -89631,15 +90375,15 @@ }, "property": { "type": "Identifier", - "start": 24234, - "end": 24246, + "start": 24255, + "end": 24267, "loc": { "start": { - "line": 740, + "line": 737, "column": 43 }, "end": { - "line": 740, + "line": 737, "column": 55 }, "identifierName": "isFullscreen" @@ -89656,44 +90400,44 @@ }, { "type": "VariableDeclaration", - "start": 24262, - "end": 24286, + "start": 24283, + "end": 24307, "loc": { "start": { - "line": 741, + "line": 738, "column": 12 }, "end": { - "line": 741, + "line": 738, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24266, - "end": 24274, + "start": 24287, + "end": 24295, "loc": { "start": { - "line": 741, + "line": 738, "column": 16 }, "end": { - "line": 741, + "line": 738, "column": 24 } }, "id": { "type": "Identifier", - "start": 24266, - "end": 24274, + "start": 24287, + "end": 24295, "loc": { "start": { - "line": 741, + "line": 738, "column": 16 }, "end": { - "line": 741, + "line": 738, "column": 24 }, "identifierName": "newWidth" @@ -89704,29 +90448,29 @@ }, { "type": "VariableDeclarator", - "start": 24276, - "end": 24285, + "start": 24297, + "end": 24306, "loc": { "start": { - "line": 741, + "line": 738, "column": 26 }, "end": { - "line": 741, + "line": 738, "column": 35 } }, "id": { "type": "Identifier", - "start": 24276, - "end": 24285, + "start": 24297, + "end": 24306, "loc": { "start": { - "line": 741, + "line": 738, "column": 26 }, "end": { - "line": 741, + "line": 738, "column": 35 }, "identifierName": "newHeight" @@ -89740,29 +90484,29 @@ }, { "type": "IfStatement", - "start": 24299, - "end": 24476, + "start": 24320, + "end": 24497, "loc": { "start": { - "line": 742, + "line": 739, "column": 12 }, "end": { - "line": 746, + "line": 743, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24303, - "end": 24316, + "start": 24324, + "end": 24337, "loc": { "start": { - "line": 742, + "line": 739, "column": 16 }, "end": { - "line": 742, + "line": 739, "column": 29 } }, @@ -89770,15 +90514,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24304, - "end": 24316, + "start": 24325, + "end": 24337, "loc": { "start": { - "line": 742, + "line": 739, "column": 17 }, "end": { - "line": 742, + "line": 739, "column": 29 }, "identifierName": "isFullscreen" @@ -89791,59 +90535,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24318, - "end": 24476, + "start": 24339, + "end": 24497, "loc": { "start": { - "line": 742, + "line": 739, "column": 31 }, "end": { - "line": 746, + "line": 743, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 24383, - "end": 24413, + "start": 24404, + "end": 24434, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 24383, - "end": 24412, + "start": 24404, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24383, - "end": 24391, + "start": 24404, + "end": 24412, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 24 }, "identifierName": "newWidth" @@ -89853,44 +90597,44 @@ }, "right": { "type": "MemberExpression", - "start": 24394, - "end": 24412, + "start": 24415, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 27 }, "end": { - "line": 744, + "line": 741, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 24394, - "end": 24398, + "start": 24415, + "end": 24419, "loc": { "start": { - "line": 744, + "line": 741, "column": 27 }, "end": { - "line": 744, + "line": 741, "column": 31 } } }, "property": { "type": "Identifier", - "start": 24399, - "end": 24412, + "start": 24420, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 32 }, "end": { - "line": 744, + "line": 741, "column": 45 }, "identifierName": "originalWidth" @@ -89905,15 +90649,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24336, - "end": 24366, + "start": 24357, + "end": 24387, "loc": { "start": { - "line": 743, + "line": 740, "column": 16 }, "end": { - "line": 743, + "line": 740, "column": 46 } } @@ -89922,44 +90666,44 @@ }, { "type": "ExpressionStatement", - "start": 24430, - "end": 24462, + "start": 24451, + "end": 24483, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 24430, - "end": 24461, + "start": 24451, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24430, - "end": 24439, + "start": 24451, + "end": 24460, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 25 }, "identifierName": "newHeight" @@ -89968,44 +90712,44 @@ }, "right": { "type": "MemberExpression", - "start": 24442, - "end": 24461, + "start": 24463, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 28 }, "end": { - "line": 745, + "line": 742, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 24442, - "end": 24446, + "start": 24463, + "end": 24467, "loc": { "start": { - "line": 745, + "line": 742, "column": 28 }, "end": { - "line": 745, + "line": 742, "column": 32 } } }, "property": { "type": "Identifier", - "start": 24447, - "end": 24461, + "start": 24468, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 33 }, "end": { - "line": 745, + "line": 742, "column": 47 }, "identifierName": "originalHeight" @@ -90023,58 +90767,58 @@ }, { "type": "IfStatement", - "start": 24490, - "end": 24834, + "start": 24511, + "end": 24855, "loc": { "start": { - "line": 748, + "line": 745, "column": 12 }, "end": { - "line": 756, + "line": 753, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 24494, - "end": 24508, + "start": 24515, + "end": 24529, "loc": { "start": { - "line": 748, + "line": 745, "column": 16 }, "end": { - "line": 748, + "line": 745, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 24494, - "end": 24498, + "start": 24515, + "end": 24519, "loc": { "start": { - "line": 748, + "line": 745, "column": 16 }, "end": { - "line": 748, + "line": 745, "column": 20 } } }, "property": { "type": "Identifier", - "start": 24499, - "end": 24508, + "start": 24520, + "end": 24529, "loc": { "start": { - "line": 748, + "line": 745, "column": 21 }, "end": { - "line": 748, + "line": 745, "column": 30 }, "identifierName": "waveReady" @@ -90085,87 +90829,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24510, - "end": 24834, + "start": 24531, + "end": 24855, "loc": { "start": { - "line": 748, + "line": 745, "column": 32 }, "end": { - "line": 756, + "line": 753, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 24528, - "end": 24736, + "start": 24549, + "end": 24757, "loc": { "start": { - "line": 749, + "line": 746, "column": 16 }, "end": { - "line": 753, + "line": 750, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 24532, - "end": 24579, + "start": 24553, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 24532, - "end": 24545, + "start": 24553, + "end": 24566, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 24532, - "end": 24536, + "start": 24553, + "end": 24557, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 24 } } }, "property": { "type": "Identifier", - "start": 24537, - "end": 24545, + "start": 24558, + "end": 24566, "loc": { "start": { - "line": 749, + "line": 746, "column": 25 }, "end": { - "line": 749, + "line": 746, "column": 33 }, "identifierName": "liveMode" @@ -90177,15 +90921,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 24549, - "end": 24579, + "start": 24570, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 37 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, @@ -90193,72 +90937,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 24550, - "end": 24579, + "start": 24571, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 24550, - "end": 24572, + "start": 24571, + "end": 24593, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 24550, - "end": 24561, + "start": 24571, + "end": 24582, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 24550, - "end": 24554, + "start": 24571, + "end": 24575, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 42 } } }, "property": { "type": "Identifier", - "start": 24555, - "end": 24561, + "start": 24576, + "end": 24582, "loc": { "start": { - "line": 749, + "line": 746, "column": 43 }, "end": { - "line": 749, + "line": 746, "column": 49 }, "identifierName": "surfer" @@ -90269,15 +91013,15 @@ }, "property": { "type": "Identifier", - "start": 24562, - "end": 24572, + "start": 24583, + "end": 24593, "loc": { "start": { - "line": 749, + "line": 746, "column": 50 }, "end": { - "line": 749, + "line": 746, "column": 60 }, "identifierName": "microphone" @@ -90288,15 +91032,15 @@ }, "property": { "type": "Identifier", - "start": 24573, - "end": 24579, + "start": 24594, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 61 }, "end": { - "line": 749, + "line": 746, "column": 67 }, "identifierName": "active" @@ -90312,30 +91056,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 24581, - "end": 24736, + "start": 24602, + "end": 24757, "loc": { "start": { - "line": 749, + "line": 746, "column": 69 }, "end": { - "line": 753, + "line": 750, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 24711, - "end": 24718, + "start": 24732, + "end": 24739, "loc": { "start": { - "line": 752, + "line": 749, "column": 20 }, "end": { - "line": 752, + "line": 749, "column": 27 } }, @@ -90344,15 +91088,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 24603, - "end": 24655, + "start": 24624, + "end": 24676, "loc": { "start": { - "line": 750, + "line": 747, "column": 20 }, "end": { - "line": 750, + "line": 747, "column": 72 } } @@ -90360,15 +91104,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 24676, - "end": 24690, + "start": 24697, + "end": 24711, "loc": { "start": { - "line": 751, + "line": 748, "column": 20 }, "end": { - "line": 751, + "line": 748, "column": 34 } } @@ -90384,15 +91128,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -90401,57 +91145,57 @@ }, { "type": "ExpressionStatement", - "start": 24779, - "end": 24820, + "start": 24800, + "end": 24841, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 24779, - "end": 24819, + "start": 24800, + "end": 24840, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 24779, - "end": 24798, + "start": 24800, + "end": 24819, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 24779, - "end": 24783, + "start": 24800, + "end": 24804, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 20 } }, @@ -90459,15 +91203,15 @@ }, "property": { "type": "Identifier", - "start": 24784, - "end": 24798, + "start": 24805, + "end": 24819, "loc": { "start": { - "line": 755, + "line": 752, "column": 21 }, "end": { - "line": 755, + "line": 752, "column": 35 }, "identifierName": "redrawWaveform" @@ -90480,15 +91224,15 @@ "arguments": [ { "type": "Identifier", - "start": 24799, - "end": 24807, + "start": 24820, + "end": 24828, "loc": { "start": { - "line": 755, + "line": 752, "column": 36 }, "end": { - "line": 755, + "line": 752, "column": 44 }, "identifierName": "newWidth" @@ -90497,15 +91241,15 @@ }, { "type": "Identifier", - "start": 24809, - "end": 24818, + "start": 24830, + "end": 24839, "loc": { "start": { - "line": 755, + "line": 752, "column": 46 }, "end": { - "line": 755, + "line": 752, "column": 55 }, "identifierName": "newHeight" @@ -90519,15 +91263,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -90543,15 +91287,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -90560,71 +91304,71 @@ }, { "type": "ExpressionStatement", - "start": 24893, - "end": 24936, + "start": 24914, + "end": 24957, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 24893, - "end": 24935, + "start": 24914, + "end": 24956, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 24893, - "end": 24918, + "start": 24914, + "end": 24939, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 24893, - "end": 24904, + "start": 24914, + "end": 24925, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24893, - "end": 24897, + "start": 24914, + "end": 24918, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 16 } }, @@ -90632,15 +91376,15 @@ }, "property": { "type": "Identifier", - "start": 24898, - "end": 24904, + "start": 24919, + "end": 24925, "loc": { "start": { - "line": 759, + "line": 756, "column": 17 }, "end": { - "line": 759, + "line": 756, "column": 23 }, "identifierName": "player" @@ -90652,15 +91396,15 @@ }, "property": { "type": "Identifier", - "start": 24905, - "end": 24918, + "start": 24926, + "end": 24939, "loc": { "start": { - "line": 759, + "line": 756, "column": 24 }, "end": { - "line": 759, + "line": 756, "column": 37 }, "identifierName": "clearInterval" @@ -90673,15 +91417,15 @@ "arguments": [ { "type": "Identifier", - "start": 24919, - "end": 24934, + "start": 24940, + "end": 24955, "loc": { "start": { - "line": 759, + "line": 756, "column": 38 }, "end": { - "line": 759, + "line": 756, "column": 53 }, "identifierName": "fullscreenDelay" @@ -90695,15 +91439,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -90716,15 +91460,15 @@ }, { "type": "NumericLiteral", - "start": 24949, - "end": 24952, + "start": 24970, + "end": 24973, "loc": { "start": { - "line": 761, + "line": 758, "column": 11 }, "end": { - "line": 761, + "line": 758, "column": 14 } }, @@ -90744,15 +91488,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24013, - "end": 24071, + "start": 24034, + "end": 24092, "loc": { "start": { - "line": 737, + "line": 734, "column": 8 }, "end": { - "line": 737, + "line": 734, "column": 66 } } @@ -90760,15 +91504,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24080, - "end": 24128, + "start": 24101, + "end": 24149, "loc": { "start": { - "line": 738, + "line": 735, "column": 8 }, "end": { - "line": 738, + "line": 735, "column": 56 } } @@ -90783,15 +91527,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -90801,15 +91545,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -90818,15 +91562,15 @@ }, { "type": "ClassMethod", - "start": 25055, - "end": 25196, + "start": 25076, + "end": 25217, "loc": { "start": { - "line": 769, + "line": 766, "column": 4 }, "end": { - "line": 774, + "line": 771, "column": 5 } }, @@ -90834,15 +91578,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25055, - "end": 25069, + "start": 25076, + "end": 25090, "loc": { "start": { - "line": 769, + "line": 766, "column": 4 }, "end": { - "line": 769, + "line": 766, "column": 18 }, "identifierName": "onResizeChange" @@ -90858,87 +91602,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 25072, - "end": 25196, + "start": 25093, + "end": 25217, "loc": { "start": { - "line": 769, + "line": 766, "column": 21 }, "end": { - "line": 774, + "line": 771, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25082, - "end": 25190, + "start": 25103, + "end": 25211, "loc": { "start": { - "line": 770, + "line": 767, "column": 8 }, "end": { - "line": 773, + "line": 770, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 25086, - "end": 25111, + "start": 25107, + "end": 25132, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 25086, - "end": 25097, + "start": 25107, + "end": 25118, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25086, - "end": 25090, + "start": 25107, + "end": 25111, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 16 } } }, "property": { "type": "Identifier", - "start": 25091, - "end": 25097, + "start": 25112, + "end": 25118, "loc": { "start": { - "line": 770, + "line": 767, "column": 17 }, "end": { - "line": 770, + "line": 767, "column": 23 }, "identifierName": "surfer" @@ -90950,15 +91694,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 25102, - "end": 25111, + "start": 25123, + "end": 25132, "loc": { "start": { - "line": 770, + "line": 767, "column": 28 }, "end": { - "line": 770, + "line": 767, "column": 37 }, "identifierName": "undefined" @@ -90968,72 +91712,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 25113, - "end": 25190, + "start": 25134, + "end": 25211, "loc": { "start": { - "line": 770, + "line": 767, "column": 39 }, "end": { - "line": 773, + "line": 770, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 25158, - "end": 25180, + "start": 25179, + "end": 25201, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 25158, - "end": 25179, + "start": 25179, + "end": 25200, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 25158, - "end": 25177, + "start": 25179, + "end": 25198, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 25158, - "end": 25162, + "start": 25179, + "end": 25183, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 16 } }, @@ -91041,15 +91785,15 @@ }, "property": { "type": "Identifier", - "start": 25163, - "end": 25177, + "start": 25184, + "end": 25198, "loc": { "start": { - "line": 772, + "line": 769, "column": 17 }, "end": { - "line": 772, + "line": 769, "column": 31 }, "identifierName": "redrawWaveform" @@ -91066,15 +91810,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25127, - "end": 25145, + "start": 25148, + "end": 25166, "loc": { "start": { - "line": 771, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 768, "column": 30 } } @@ -91094,15 +91838,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -91112,15 +91856,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -91129,15 +91873,15 @@ }, { "type": "ClassMethod", - "start": 25395, - "end": 26474, + "start": 25416, + "end": 26495, "loc": { "start": { - "line": 783, + "line": 780, "column": 4 }, "end": { - "line": 812, + "line": 809, "column": 5 } }, @@ -91145,15 +91889,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25395, - "end": 25409, + "start": 25416, + "end": 25430, "loc": { "start": { - "line": 783, + "line": 780, "column": 4 }, "end": { - "line": 783, + "line": 780, "column": 18 }, "identifierName": "redrawWaveform" @@ -91169,15 +91913,15 @@ "params": [ { "type": "Identifier", - "start": 25410, - "end": 25418, + "start": 25431, + "end": 25439, "loc": { "start": { - "line": 783, + "line": 780, "column": 19 }, "end": { - "line": 783, + "line": 780, "column": 27 }, "identifierName": "newWidth" @@ -91186,15 +91930,15 @@ }, { "type": "Identifier", - "start": 25420, - "end": 25429, + "start": 25441, + "end": 25450, "loc": { "start": { - "line": 783, + "line": 780, "column": 29 }, "end": { - "line": 783, + "line": 780, "column": 38 }, "identifierName": "newHeight" @@ -91204,44 +91948,44 @@ ], "body": { "type": "BlockStatement", - "start": 25431, - "end": 26474, + "start": 25452, + "end": 26495, "loc": { "start": { - "line": 783, + "line": 780, "column": 40 }, "end": { - "line": 812, + "line": 809, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25441, - "end": 26468, + "start": 25462, + "end": 26489, "loc": { "start": { - "line": 784, + "line": 781, "column": 8 }, "end": { - "line": 811, + "line": 808, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 25445, - "end": 25464, + "start": 25466, + "end": 25485, "loc": { "start": { - "line": 784, + "line": 781, "column": 12 }, "end": { - "line": 784, + "line": 781, "column": 31 } }, @@ -91249,58 +91993,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 25446, - "end": 25464, + "start": 25467, + "end": 25485, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 25446, - "end": 25462, + "start": 25467, + "end": 25483, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 25446, - "end": 25450, + "start": 25467, + "end": 25471, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 17 } } }, "property": { "type": "Identifier", - "start": 25451, - "end": 25462, + "start": 25472, + "end": 25483, "loc": { "start": { - "line": 784, + "line": 781, "column": 18 }, "end": { - "line": 784, + "line": 781, "column": 29 }, "identifierName": "isDestroyed" @@ -91317,87 +92061,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25466, - "end": 26468, + "start": 25487, + "end": 26489, "loc": { "start": { - "line": 784, + "line": 781, "column": 33 }, "end": { - "line": 811, + "line": 808, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 25480, - "end": 25882, + "start": 25501, + "end": 25903, "loc": { "start": { - "line": 785, + "line": 782, "column": 12 }, "end": { - "line": 795, + "line": 792, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25484, - "end": 25499, + "start": 25505, + "end": 25520, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 25484, - "end": 25495, + "start": 25505, + "end": 25516, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 25484, - "end": 25488, + "start": 25505, + "end": 25509, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25489, - "end": 25495, + "start": 25510, + "end": 25516, "loc": { "start": { - "line": 785, + "line": 782, "column": 21 }, "end": { - "line": 785, + "line": 782, "column": 27 }, "identifierName": "player" @@ -91408,15 +92152,15 @@ }, "property": { "type": "Identifier", - "start": 25496, - "end": 25499, + "start": 25517, + "end": 25520, "loc": { "start": { - "line": 785, + "line": 782, "column": 28 }, "end": { - "line": 785, + "line": 782, "column": 31 }, "identifierName": "el_" @@ -91427,59 +92171,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25501, - "end": 25882, + "start": 25522, + "end": 25903, "loc": { "start": { - "line": 785, + "line": 782, "column": 33 }, "end": { - "line": 795, + "line": 792, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 25519, - "end": 25570, + "start": 25540, + "end": 25591, "loc": { "start": { - "line": 786, + "line": 783, "column": 16 }, "end": { - "line": 786, + "line": 783, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 25523, - "end": 25569, + "start": 25544, + "end": 25590, "loc": { "start": { - "line": 786, + "line": 783, "column": 20 }, "end": { - "line": 786, + "line": 783, "column": 66 } }, "id": { "type": "Identifier", - "start": 25523, - "end": 25527, + "start": 25544, + "end": 25548, "loc": { "start": { - "line": 786, + "line": 783, "column": 20 }, "end": { - "line": 786, + "line": 783, "column": 24 }, "identifierName": "rect" @@ -91488,86 +92232,86 @@ }, "init": { "type": "CallExpression", - "start": 25530, - "end": 25569, + "start": 25551, + "end": 25590, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 25530, - "end": 25567, + "start": 25551, + "end": 25588, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 25530, - "end": 25545, + "start": 25551, + "end": 25566, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 25530, - "end": 25541, + "start": 25551, + "end": 25562, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 25530, - "end": 25534, + "start": 25551, + "end": 25555, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25535, - "end": 25541, + "start": 25556, + "end": 25562, "loc": { "start": { - "line": 786, + "line": 783, "column": 32 }, "end": { - "line": 786, + "line": 783, "column": 38 }, "identifierName": "player" @@ -91578,15 +92322,15 @@ }, "property": { "type": "Identifier", - "start": 25542, - "end": 25545, + "start": 25563, + "end": 25566, "loc": { "start": { - "line": 786, + "line": 783, "column": 39 }, "end": { - "line": 786, + "line": 783, "column": 42 }, "identifierName": "el_" @@ -91597,15 +92341,15 @@ }, "property": { "type": "Identifier", - "start": 25546, - "end": 25567, + "start": 25567, + "end": 25588, "loc": { "start": { - "line": 786, + "line": 783, "column": 43 }, "end": { - "line": 786, + "line": 783, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -91622,43 +92366,43 @@ }, { "type": "IfStatement", - "start": 25587, - "end": 25717, + "start": 25608, + "end": 25738, "loc": { "start": { - "line": 787, + "line": 784, "column": 16 }, "end": { - "line": 790, + "line": 787, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 25591, - "end": 25613, + "start": 25612, + "end": 25634, "loc": { "start": { - "line": 787, + "line": 784, "column": 20 }, "end": { - "line": 787, + "line": 784, "column": 42 } }, "left": { "type": "Identifier", - "start": 25591, - "end": 25599, + "start": 25612, + "end": 25620, "loc": { "start": { - "line": 787, + "line": 784, "column": 20 }, "end": { - "line": 787, + "line": 784, "column": 28 }, "identifierName": "newWidth" @@ -91668,15 +92412,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 25604, - "end": 25613, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 787, + "line": 784, "column": 33 }, "end": { - "line": 787, + "line": 784, "column": 42 }, "identifierName": "undefined" @@ -91686,59 +92430,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25615, - "end": 25717, + "start": 25636, + "end": 25738, "loc": { "start": { - "line": 787, + "line": 784, "column": 44 }, "end": { - "line": 790, + "line": 787, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 25677, - "end": 25699, + "start": 25698, + "end": 25720, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 25677, - "end": 25698, + "start": 25698, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25677, - "end": 25685, + "start": 25698, + "end": 25706, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 28 }, "identifierName": "newWidth" @@ -91748,29 +92492,29 @@ }, "right": { "type": "MemberExpression", - "start": 25688, - "end": 25698, + "start": 25709, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 31 }, "end": { - "line": 789, + "line": 786, "column": 41 } }, "object": { "type": "Identifier", - "start": 25688, - "end": 25692, + "start": 25709, + "end": 25713, "loc": { "start": { - "line": 789, + "line": 786, "column": 31 }, "end": { - "line": 789, + "line": 786, "column": 35 }, "identifierName": "rect" @@ -91779,15 +92523,15 @@ }, "property": { "type": "Identifier", - "start": 25693, - "end": 25698, + "start": 25714, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 36 }, "end": { - "line": 789, + "line": 786, "column": 41 }, "identifierName": "width" @@ -91802,15 +92546,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 25637, - "end": 25656, + "start": 25658, + "end": 25677, "loc": { "start": { - "line": 788, + "line": 785, "column": 20 }, "end": { - "line": 788, + "line": 785, "column": 39 } } @@ -91824,43 +92568,43 @@ }, { "type": "IfStatement", - "start": 25734, - "end": 25868, + "start": 25755, + "end": 25889, "loc": { "start": { - "line": 791, + "line": 788, "column": 16 }, "end": { - "line": 794, + "line": 791, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 25738, - "end": 25761, + "start": 25759, + "end": 25782, "loc": { "start": { - "line": 791, + "line": 788, "column": 20 }, "end": { - "line": 791, + "line": 788, "column": 43 } }, "left": { "type": "Identifier", - "start": 25738, - "end": 25747, + "start": 25759, + "end": 25768, "loc": { "start": { - "line": 791, + "line": 788, "column": 20 }, "end": { - "line": 791, + "line": 788, "column": 29 }, "identifierName": "newHeight" @@ -91870,15 +92614,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 25752, - "end": 25761, + "start": 25773, + "end": 25782, "loc": { "start": { - "line": 791, + "line": 788, "column": 34 }, "end": { - "line": 791, + "line": 788, "column": 43 }, "identifierName": "undefined" @@ -91888,59 +92632,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25763, - "end": 25868, + "start": 25784, + "end": 25889, "loc": { "start": { - "line": 791, + "line": 788, "column": 45 }, "end": { - "line": 794, + "line": 791, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 25826, - "end": 25850, + "start": 25847, + "end": 25871, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 25826, - "end": 25849, + "start": 25847, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25826, - "end": 25835, + "start": 25847, + "end": 25856, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 29 }, "identifierName": "newHeight" @@ -91950,29 +92694,29 @@ }, "right": { "type": "MemberExpression", - "start": 25838, - "end": 25849, + "start": 25859, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 32 }, "end": { - "line": 793, + "line": 790, "column": 43 } }, "object": { "type": "Identifier", - "start": 25838, - "end": 25842, + "start": 25859, + "end": 25863, "loc": { "start": { - "line": 793, + "line": 790, "column": 32 }, "end": { - "line": 793, + "line": 790, "column": 36 }, "identifierName": "rect" @@ -91981,15 +92725,15 @@ }, "property": { "type": "Identifier", - "start": 25843, - "end": 25849, + "start": 25864, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 37 }, "end": { - "line": 793, + "line": 790, "column": 43 }, "identifierName": "height" @@ -92004,15 +92748,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 25785, - "end": 25805, + "start": 25806, + "end": 25826, "loc": { "start": { - "line": 792, + "line": 789, "column": 20 }, "end": { - "line": 792, + "line": 789, "column": 40 } } @@ -92033,15 +92777,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -92050,85 +92794,85 @@ }, { "type": "ExpressionStatement", - "start": 25931, - "end": 25960, + "start": 25952, + "end": 25981, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 25931, - "end": 25959, + "start": 25952, + "end": 25980, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 25931, - "end": 25957, + "start": 25952, + "end": 25978, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 25931, - "end": 25949, + "start": 25952, + "end": 25970, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 25931, - "end": 25942, + "start": 25952, + "end": 25963, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25931, - "end": 25935, + "start": 25952, + "end": 25956, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 16 } }, @@ -92136,15 +92880,15 @@ }, "property": { "type": "Identifier", - "start": 25936, - "end": 25942, + "start": 25957, + "end": 25963, "loc": { "start": { - "line": 798, + "line": 795, "column": 17 }, "end": { - "line": 798, + "line": 795, "column": 23 }, "identifierName": "surfer" @@ -92156,15 +92900,15 @@ }, "property": { "type": "Identifier", - "start": 25943, - "end": 25949, + "start": 25964, + "end": 25970, "loc": { "start": { - "line": 798, + "line": 795, "column": 24 }, "end": { - "line": 798, + "line": 795, "column": 30 }, "identifierName": "drawer" @@ -92176,15 +92920,15 @@ }, "property": { "type": "Identifier", - "start": 25950, - "end": 25957, + "start": 25971, + "end": 25978, "loc": { "start": { - "line": 798, + "line": 795, "column": 31 }, "end": { - "line": 798, + "line": 795, "column": 38 }, "identifierName": "destroy" @@ -92201,15 +92945,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -92219,15 +92963,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -92236,86 +92980,86 @@ }, { "type": "ExpressionStatement", - "start": 26008, - "end": 26044, + "start": 26029, + "end": 26065, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26008, - "end": 26043, + "start": 26029, + "end": 26064, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26008, - "end": 26032, + "start": 26029, + "end": 26053, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26008, - "end": 26026, + "start": 26029, + "end": 26047, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26008, - "end": 26019, + "start": 26029, + "end": 26040, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26008, - "end": 26012, + "start": 26029, + "end": 26033, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 16 } }, @@ -92323,15 +93067,15 @@ }, "property": { "type": "Identifier", - "start": 26013, - "end": 26019, + "start": 26034, + "end": 26040, "loc": { "start": { - "line": 801, + "line": 798, "column": 17 }, "end": { - "line": 801, + "line": 798, "column": 23 }, "identifierName": "surfer" @@ -92343,15 +93087,15 @@ }, "property": { "type": "Identifier", - "start": 26020, - "end": 26026, + "start": 26041, + "end": 26047, "loc": { "start": { - "line": 801, + "line": 798, "column": 24 }, "end": { - "line": 801, + "line": 798, "column": 30 }, "identifierName": "params" @@ -92363,15 +93107,15 @@ }, "property": { "type": "Identifier", - "start": 26027, - "end": 26032, + "start": 26048, + "end": 26053, "loc": { "start": { - "line": 801, + "line": 798, "column": 31 }, "end": { - "line": 801, + "line": 798, "column": 36 }, "identifierName": "width" @@ -92383,15 +93127,15 @@ }, "right": { "type": "Identifier", - "start": 26035, - "end": 26043, + "start": 26056, + "end": 26064, "loc": { "start": { - "line": 801, + "line": 798, "column": 39 }, "end": { - "line": 801, + "line": 798, "column": 47 }, "identifierName": "newWidth" @@ -92404,15 +93148,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -92421,101 +93165,101 @@ }, { "type": "ExpressionStatement", - "start": 26057, - "end": 26129, + "start": 26078, + "end": 26150, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26057, - "end": 26128, + "start": 26078, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26057, - "end": 26082, + "start": 26078, + "end": 26103, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26057, - "end": 26075, + "start": 26078, + "end": 26096, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26057, - "end": 26068, + "start": 26078, + "end": 26089, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26057, - "end": 26061, + "start": 26078, + "end": 26082, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26062, - "end": 26068, + "start": 26083, + "end": 26089, "loc": { "start": { - "line": 802, + "line": 799, "column": 17 }, "end": { - "line": 802, + "line": 799, "column": 23 }, "identifierName": "surfer" @@ -92526,15 +93270,15 @@ }, "property": { "type": "Identifier", - "start": 26069, - "end": 26075, + "start": 26090, + "end": 26096, "loc": { "start": { - "line": 802, + "line": 799, "column": 24 }, "end": { - "line": 802, + "line": 799, "column": 30 }, "identifierName": "params" @@ -92545,15 +93289,15 @@ }, "property": { "type": "Identifier", - "start": 26076, - "end": 26082, + "start": 26097, + "end": 26103, "loc": { "start": { - "line": 802, + "line": 799, "column": 31 }, "end": { - "line": 802, + "line": 799, "column": 37 }, "identifierName": "height" @@ -92564,29 +93308,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26085, - "end": 26128, + "start": 26106, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 40 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "left": { "type": "Identifier", - "start": 26085, - "end": 26094, + "start": 26106, + "end": 26115, "loc": { "start": { - "line": 802, + "line": 799, "column": 40 }, "end": { - "line": 802, + "line": 799, "column": 49 }, "identifierName": "newHeight" @@ -92596,86 +93340,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26097, - "end": 26128, + "start": 26118, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26097, - "end": 26126, + "start": 26118, + "end": 26147, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26097, - "end": 26119, + "start": 26118, + "end": 26140, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26097, - "end": 26108, + "start": 26118, + "end": 26129, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26097, - "end": 26101, + "start": 26118, + "end": 26122, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26102, - "end": 26108, + "start": 26123, + "end": 26129, "loc": { "start": { - "line": 802, + "line": 799, "column": 57 }, "end": { - "line": 802, + "line": 799, "column": 63 }, "identifierName": "player" @@ -92686,15 +93430,15 @@ }, "property": { "type": "Identifier", - "start": 26109, - "end": 26119, + "start": 26130, + "end": 26140, "loc": { "start": { - "line": 802, + "line": 799, "column": 64 }, "end": { - "line": 802, + "line": 799, "column": 74 }, "identifierName": "controlBar" @@ -92705,15 +93449,15 @@ }, "property": { "type": "Identifier", - "start": 26120, - "end": 26126, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 802, + "line": 799, "column": 75 }, "end": { - "line": 802, + "line": 799, "column": 81 }, "identifierName": "height" @@ -92730,15 +93474,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -92747,71 +93491,71 @@ }, { "type": "ExpressionStatement", - "start": 26174, - "end": 26201, + "start": 26195, + "end": 26222, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26174, - "end": 26200, + "start": 26195, + "end": 26221, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26174, - "end": 26198, + "start": 26195, + "end": 26219, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26174, - "end": 26185, + "start": 26195, + "end": 26206, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26174, - "end": 26178, + "start": 26195, + "end": 26199, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 16 } }, @@ -92819,15 +93563,15 @@ }, "property": { "type": "Identifier", - "start": 26179, - "end": 26185, + "start": 26200, + "end": 26206, "loc": { "start": { - "line": 805, + "line": 802, "column": 17 }, "end": { - "line": 805, + "line": 802, "column": 23 }, "identifierName": "surfer" @@ -92839,15 +93583,15 @@ }, "property": { "type": "Identifier", - "start": 26186, - "end": 26198, + "start": 26207, + "end": 26219, "loc": { "start": { - "line": 805, + "line": 802, "column": 24 }, "end": { - "line": 805, + "line": 802, "column": 36 }, "identifierName": "createDrawer" @@ -92864,15 +93608,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -92881,115 +93625,115 @@ }, { "type": "ExpressionStatement", - "start": 26214, - "end": 26273, + "start": 26235, + "end": 26294, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26214, - "end": 26272, + "start": 26235, + "end": 26293, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26214, - "end": 26250, + "start": 26235, + "end": 26271, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26240, + "start": 26235, + "end": 26261, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26232, + "start": 26235, + "end": 26253, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26214, - "end": 26225, + "start": 26235, + "end": 26246, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26214, - "end": 26218, + "start": 26235, + "end": 26239, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26219, - "end": 26225, + "start": 26240, + "end": 26246, "loc": { "start": { - "line": 806, + "line": 803, "column": 17 }, "end": { - "line": 806, + "line": 803, "column": 23 }, "identifierName": "surfer" @@ -93000,15 +93744,15 @@ }, "property": { "type": "Identifier", - "start": 26226, - "end": 26232, + "start": 26247, + "end": 26253, "loc": { "start": { - "line": 806, + "line": 803, "column": 24 }, "end": { - "line": 806, + "line": 803, "column": 30 }, "identifierName": "drawer" @@ -93019,15 +93763,15 @@ }, "property": { "type": "Identifier", - "start": 26233, - "end": 26240, + "start": 26254, + "end": 26261, "loc": { "start": { - "line": 806, + "line": 803, "column": 31 }, "end": { - "line": 806, + "line": 803, "column": 38 }, "identifierName": "wrapper" @@ -93038,15 +93782,15 @@ }, "property": { "type": "Identifier", - "start": 26241, - "end": 26250, + "start": 26262, + "end": 26271, "loc": { "start": { - "line": 806, + "line": 803, "column": 39 }, "end": { - "line": 806, + "line": 803, "column": 48 }, "identifierName": "className" @@ -93057,15 +93801,15 @@ }, "right": { "type": "Identifier", - "start": 26253, - "end": 26272, + "start": 26274, + "end": 26293, "loc": { "start": { - "line": 806, + "line": 803, "column": 51 }, "end": { - "line": 806, + "line": 803, "column": 70 }, "identifierName": "wavesurferClassName" @@ -93076,86 +93820,86 @@ }, { "type": "ExpressionStatement", - "start": 26286, - "end": 26311, + "start": 26307, + "end": 26332, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26286, - "end": 26310, + "start": 26307, + "end": 26331, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26286, - "end": 26308, + "start": 26307, + "end": 26329, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26286, - "end": 26297, + "start": 26307, + "end": 26318, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26286, - "end": 26290, + "start": 26307, + "end": 26311, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26291, - "end": 26297, + "start": 26312, + "end": 26318, "loc": { "start": { - "line": 807, + "line": 804, "column": 17 }, "end": { - "line": 807, + "line": 804, "column": 23 }, "identifierName": "surfer" @@ -93166,15 +93910,15 @@ }, "property": { "type": "Identifier", - "start": 26298, - "end": 26308, + "start": 26319, + "end": 26329, "loc": { "start": { - "line": 807, + "line": 804, "column": 24 }, "end": { - "line": 807, + "line": 804, "column": 34 }, "identifierName": "drawBuffer" @@ -93189,15 +93933,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -93206,85 +93950,85 @@ }, { "type": "ExpressionStatement", - "start": 26389, - "end": 26458, + "start": 26410, + "end": 26479, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 26389, - "end": 26457, + "start": 26410, + "end": 26478, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 26389, - "end": 26416, + "start": 26410, + "end": 26437, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 26389, - "end": 26407, + "start": 26410, + "end": 26428, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26389, - "end": 26400, + "start": 26410, + "end": 26421, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26389, - "end": 26393, + "start": 26410, + "end": 26414, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 16 } }, @@ -93292,15 +94036,15 @@ }, "property": { "type": "Identifier", - "start": 26394, - "end": 26400, + "start": 26415, + "end": 26421, "loc": { "start": { - "line": 810, + "line": 807, "column": 17 }, "end": { - "line": 810, + "line": 807, "column": 23 }, "identifierName": "surfer" @@ -93312,15 +94056,15 @@ }, "property": { "type": "Identifier", - "start": 26401, - "end": 26407, + "start": 26422, + "end": 26428, "loc": { "start": { - "line": 810, + "line": 807, "column": 24 }, "end": { - "line": 810, + "line": 807, "column": 30 }, "identifierName": "drawer" @@ -93332,15 +94076,15 @@ }, "property": { "type": "Identifier", - "start": 26408, - "end": 26416, + "start": 26429, + "end": 26437, "loc": { "start": { - "line": 810, + "line": 807, "column": 31 }, "end": { - "line": 810, + "line": 807, "column": 39 }, "identifierName": "progress" @@ -93353,86 +94097,86 @@ "arguments": [ { "type": "CallExpression", - "start": 26417, - "end": 26456, + "start": 26438, + "end": 26477, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 26417, - "end": 26454, + "start": 26438, + "end": 26475, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 26417, - "end": 26436, + "start": 26438, + "end": 26457, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 26417, - "end": 26428, + "start": 26438, + "end": 26449, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 26417, - "end": 26421, + "start": 26438, + "end": 26442, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 44 } } }, "property": { "type": "Identifier", - "start": 26422, - "end": 26428, + "start": 26443, + "end": 26449, "loc": { "start": { - "line": 810, + "line": 807, "column": 45 }, "end": { - "line": 810, + "line": 807, "column": 51 }, "identifierName": "surfer" @@ -93443,15 +94187,15 @@ }, "property": { "type": "Identifier", - "start": 26429, - "end": 26436, + "start": 26450, + "end": 26457, "loc": { "start": { - "line": 810, + "line": 807, "column": 52 }, "end": { - "line": 810, + "line": 807, "column": 59 }, "identifierName": "backend" @@ -93462,15 +94206,15 @@ }, "property": { "type": "Identifier", - "start": 26437, - "end": 26454, + "start": 26458, + "end": 26475, "loc": { "start": { - "line": 810, + "line": 807, "column": 60 }, "end": { - "line": 810, + "line": 807, "column": 77 }, "identifierName": "getPlayedPercents" @@ -93488,15 +94232,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -93516,15 +94260,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -93534,15 +94278,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -93551,15 +94295,15 @@ }, { "type": "ClassMethod", - "start": 26754, - "end": 26820, + "start": 26775, + "end": 26841, "loc": { "start": { - "line": 822, + "line": 819, "column": 4 }, "end": { - "line": 824, + "line": 821, "column": 5 } }, @@ -93567,15 +94311,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 26754, - "end": 26757, + "start": 26775, + "end": 26778, "loc": { "start": { - "line": 822, + "line": 819, "column": 4 }, "end": { - "line": 822, + "line": 819, "column": 7 }, "identifierName": "log" @@ -93591,15 +94335,15 @@ "params": [ { "type": "Identifier", - "start": 26758, - "end": 26762, + "start": 26779, + "end": 26783, "loc": { "start": { - "line": 822, + "line": 819, "column": 8 }, "end": { - "line": 822, + "line": 819, "column": 12 }, "identifierName": "args" @@ -93608,15 +94352,15 @@ }, { "type": "Identifier", - "start": 26764, - "end": 26771, + "start": 26785, + "end": 26792, "loc": { "start": { - "line": 822, + "line": 819, "column": 14 }, "end": { - "line": 822, + "line": 819, "column": 21 }, "identifierName": "logType" @@ -93626,58 +94370,58 @@ ], "body": { "type": "BlockStatement", - "start": 26773, - "end": 26820, + "start": 26794, + "end": 26841, "loc": { "start": { - "line": 822, + "line": 819, "column": 23 }, "end": { - "line": 824, + "line": 821, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 26783, - "end": 26814, + "start": 26804, + "end": 26835, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26783, - "end": 26813, + "start": 26804, + "end": 26834, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 38 } }, "callee": { "type": "Identifier", - "start": 26783, - "end": 26786, + "start": 26804, + "end": 26807, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 11 }, "identifierName": "log" @@ -93687,15 +94431,15 @@ "arguments": [ { "type": "Identifier", - "start": 26787, - "end": 26791, + "start": 26808, + "end": 26812, "loc": { "start": { - "line": 823, + "line": 820, "column": 12 }, "end": { - "line": 823, + "line": 820, "column": 16 }, "identifierName": "args" @@ -93704,15 +94448,15 @@ }, { "type": "Identifier", - "start": 26793, - "end": 26800, + "start": 26814, + "end": 26821, "loc": { "start": { - "line": 823, + "line": 820, "column": 18 }, "end": { - "line": 823, + "line": 820, "column": 25 }, "identifierName": "logType" @@ -93721,44 +94465,44 @@ }, { "type": "MemberExpression", - "start": 26802, - "end": 26812, + "start": 26823, + "end": 26833, "loc": { "start": { - "line": 823, + "line": 820, "column": 27 }, "end": { - "line": 823, + "line": 820, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 26802, - "end": 26806, + "start": 26823, + "end": 26827, "loc": { "start": { - "line": 823, + "line": 820, "column": 27 }, "end": { - "line": 823, + "line": 820, "column": 31 } } }, "property": { "type": "Identifier", - "start": 26807, - "end": 26812, + "start": 26828, + "end": 26833, "loc": { "start": { - "line": 823, + "line": 820, "column": 32 }, "end": { - "line": 823, + "line": 820, "column": 37 }, "identifierName": "debug" @@ -93777,15 +94521,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -93799,15 +94543,15 @@ { "type": "CommentBlock", "value": "*\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n ", - "start": 633, - "end": 748, + "start": 826, + "end": 941, "loc": { "start": { - "line": 23, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 34, "column": 3 } } @@ -93817,15 +94561,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 26824, - "end": 26862, + "start": 26845, + "end": 26883, "loc": { "start": { - "line": 827, + "line": 824, "column": 0 }, "end": { - "line": 827, + "line": 824, "column": 38 } } @@ -93858,225 +94602,177 @@ } }, { - "type": "CommentBlock", - "value": "*\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n ", - "start": 633, - "end": 748, + "type": "CommentLine", + "value": " wavesurfer.js backends", + "start": 679, + "end": 704, "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 28, - "column": 3 + "line": 24, + "column": 25 } } }, { "type": "CommentBlock", - "value": "*\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n ", - "start": 787, - "end": 974, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 35, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " add plugin style", - "start": 1051, - "end": 1070, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " parse options", - "start": 1123, - "end": 1139, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, + "value": "*\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n ", + "start": 826, + "end": 941, "loc": { "start": { - "line": 52, - "column": 8 + "line": 29, + "column": 0 }, "end": { - "line": 52, - "column": 40 + "line": 34, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, + "value": "*\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n ", + "start": 980, + "end": 1167, "loc": { "start": { - "line": 56, + "line": 36, "column": 4 }, "end": { - "line": 60, + "line": 41, "column": 7 } } }, { "type": "CommentLine", - "value": " hide big play button", - "start": 1763, - "end": 1786, + "value": " add plugin style", + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 62, + "line": 45, "column": 8 }, "end": { - "line": 62, - "column": 31 + "line": 45, + "column": 27 } } }, { "type": "CommentLine", "value": " parse options", - "start": 1907, - "end": 1923, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 67, + "line": 48, "column": 8 }, "end": { - "line": 67, + "line": 48, "column": 24 } } }, { "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, "loc": { "start": { - "line": 70, + "line": 58, "column": 8 }, "end": { - "line": 70, - "column": 35 + "line": 58, + "column": 42 } } }, { "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, + "value": " wait until player ui is ready", + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 75, + "line": 63, "column": 8 }, "end": { - "line": 75, - "column": 64 + "line": 63, + "column": 40 } } }, { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, + "type": "CommentBlock", + "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", + "start": 2033, + "end": 2114, "loc": { "start": { - "line": 76, - "column": 8 + "line": 67, + "column": 4 }, "end": { - "line": 76, - "column": 30 + "line": 71, + "column": 7 } } }, { "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, + "value": " hide big play button", + "start": 2142, + "end": 2165, "loc": { "start": { - "line": 77, + "line": 73, "column": 8 }, "end": { - "line": 77, - "column": 32 + "line": 73, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, + "type": "CommentLine", + "value": " parse options", + "start": 2286, + "end": 2302, "loc": { "start": { "line": 78, "column": 8 }, "end": { - "line": 84, - "column": 10 + "line": 78, + "column": 24 } } }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -94084,15 +94780,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2610, - "end": 2645, + "start": 2478, + "end": 2513, "loc": { "start": { - "line": 88, + "line": 83, "column": 12 }, "end": { - "line": 88, + "line": 83, "column": 47 } } @@ -94100,15 +94796,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2658, - "end": 2720, + "start": 2526, + "end": 2588, "loc": { "start": { - "line": 89, + "line": 84, "column": 12 }, "end": { - "line": 89, + "line": 84, "column": 74 } } @@ -94116,15 +94812,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2733, - "end": 2785, + "start": 2601, + "end": 2653, "loc": { "start": { - "line": 90, + "line": 85, "column": 12 }, "end": { - "line": 90, + "line": 85, "column": 64 } } @@ -94132,15 +94828,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -94148,15 +94844,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -94164,15 +94860,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -94180,15 +94876,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -94196,15 +94892,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -94212,15 +94908,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3775, - "end": 3836, + "start": 3641, + "end": 3702, "loc": { "start": { - "line": 110, + "line": 105, "column": 16 }, "end": { - "line": 110, + "line": 105, "column": 77 } } @@ -94228,15 +94924,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3853, - "end": 3863, + "start": 3719, + "end": 3729, "loc": { "start": { - "line": 111, + "line": 106, "column": 16 }, "end": { - "line": 111, + "line": 106, "column": 26 } } @@ -94244,15 +94940,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4385, - "end": 4418, + "start": 4249, + "end": 4282, "loc": { "start": { - "line": 124, + "line": 119, "column": 16 }, "end": { - "line": 124, + "line": 119, "column": 49 } } @@ -94260,15 +94956,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -94276,15 +94972,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -94292,15 +94988,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -94308,15 +95004,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5193, - "end": 5232, + "start": 5057, + "end": 5096, "loc": { "start": { - "line": 142, + "line": 137, "column": 12 }, "end": { - "line": 142, + "line": 137, "column": 51 } } @@ -94324,15 +95020,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -94340,15 +95036,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -94356,15 +95052,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -94372,15 +95068,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -94388,15 +95084,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -94404,15 +95100,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -94420,15 +95116,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -94436,15 +95132,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -94452,15 +95148,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6548, - "end": 6600, + "start": 6410, + "end": 6462, "loc": { "start": { - "line": 179, + "line": 174, "column": 12 }, "end": { - "line": 179, + "line": 174, "column": 64 } } @@ -94468,15 +95164,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -94484,15 +95180,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -94500,15 +95196,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -94516,15 +95212,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7531, - "end": 7592, + "start": 7393, + "end": 7454, "loc": { "start": { - "line": 203, + "line": 198, "column": 12 }, "end": { - "line": 203, + "line": 198, "column": 73 } } @@ -94532,15 +95228,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7605, - "end": 7668, + "start": 7467, + "end": 7530, "loc": { "start": { - "line": 204, + "line": 199, "column": 12 }, "end": { - "line": 204, + "line": 199, "column": 75 } } @@ -94548,15 +95244,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7681, - "end": 7732, + "start": 7543, + "end": 7594, "loc": { "start": { - "line": 205, + "line": 200, "column": 12 }, "end": { - "line": 205, + "line": 200, "column": 63 } } @@ -94564,15 +95260,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -94580,15 +95276,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -94596,15 +95292,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -94612,15 +95308,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -94628,15 +95324,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -94644,15 +95340,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -94660,15 +95356,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -94676,15 +95372,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -94692,15 +95388,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -94708,15 +95404,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -94724,15 +95420,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -94740,15 +95436,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -94756,15 +95452,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -94772,15 +95468,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10472, - "end": 10508, + "start": 10328, + "end": 10364, "loc": { "start": { - "line": 280, + "line": 275, "column": 12 }, "end": { - "line": 280, + "line": 275, "column": 48 } } @@ -94788,15 +95484,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10629, - "end": 10640, + "start": 10485, + "end": 10496, "loc": { "start": { - "line": 284, + "line": 279, "column": 16 }, "end": { - "line": 284, + "line": 279, "column": 27 } } @@ -94804,15 +95500,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -94820,15 +95516,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11284, - "end": 11310, + "start": 11140, + "end": 11166, "loc": { "start": { - "line": 305, + "line": 300, "column": 12 }, "end": { - "line": 305, + "line": 300, "column": 38 } } @@ -94836,15 +95532,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11447, - "end": 11474, + "start": 11303, + "end": 11330, "loc": { "start": { - "line": 309, + "line": 304, "column": 12 }, "end": { - "line": 309, + "line": 304, "column": 39 } } @@ -94852,15 +95548,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -94868,15 +95564,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -94884,15 +95580,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -94900,15 +95596,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12748, - "end": 12768, + "start": 12604, + "end": 12624, "loc": { "start": { - "line": 345, + "line": 340, "column": 8 }, "end": { - "line": 345, + "line": 340, "column": 28 } } @@ -94916,15 +95612,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13005, - "end": 13045, + "start": 12861, + "end": 12901, "loc": { "start": { - "line": 352, + "line": 347, "column": 12 }, "end": { - "line": 352, + "line": 347, "column": 52 } } @@ -94932,15 +95628,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13239, - "end": 13255, + "start": 13095, + "end": 13111, "loc": { "start": { - "line": 358, + "line": 353, "column": 16 }, "end": { - "line": 358, + "line": 353, "column": 32 } } @@ -94948,15 +95644,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -94964,15 +95660,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -94980,15 +95676,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -94996,15 +95692,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13863, - "end": 13882, + "start": 13719, + "end": 13738, "loc": { "start": { - "line": 383, + "line": 378, "column": 8 }, "end": { - "line": 383, + "line": 378, "column": 27 } } @@ -95012,15 +95708,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14120, - "end": 14153, + "start": 13976, + "end": 14009, "loc": { "start": { - "line": 390, + "line": 385, "column": 12 }, "end": { - "line": 390, + "line": 385, "column": 45 } } @@ -95028,15 +95724,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14269, - "end": 14286, + "start": 14125, + "end": 14142, "loc": { "start": { - "line": 394, + "line": 389, "column": 12 }, "end": { - "line": 394, + "line": 389, "column": 29 } } @@ -95044,15 +95740,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14382, - "end": 14410, + "start": 14238, + "end": 14266, "loc": { "start": { - "line": 398, + "line": 393, "column": 16 }, "end": { - "line": 398, + "line": 393, "column": 44 } } @@ -95060,15 +95756,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -95076,15 +95772,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14729, - "end": 14757, + "start": 14585, + "end": 14613, "loc": { "start": { - "line": 414, + "line": 409, "column": 16 }, "end": { - "line": 414, + "line": 409, "column": 44 } } @@ -95092,15 +95788,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -95108,15 +95804,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -95124,15 +95820,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -95140,15 +95836,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -95156,15 +95852,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -95172,15 +95868,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, + "start": 15518, + "end": 15987, "loc": { "start": { - "line": 454, + "line": 449, "column": 4 }, "end": { - "line": 464, + "line": 459, "column": 7 } } @@ -95188,15 +95884,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, + "start": 16091, + "end": 16209, "loc": { "start": { - "line": 469, + "line": 464, "column": 4 }, "end": { - "line": 473, + "line": 468, "column": 7 } } @@ -95204,15 +95900,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16488, - "end": 16507, + "start": 16344, + "end": 16363, "loc": { "start": { - "line": 477, + "line": 472, "column": 16 }, "end": { - "line": 477, + "line": 472, "column": 35 } } @@ -95220,15 +95916,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16619, - "end": 16638, + "start": 16475, + "end": 16494, "loc": { "start": { - "line": 480, + "line": 475, "column": 16 }, "end": { - "line": 480, + "line": 475, "column": 35 } } @@ -95236,15 +95932,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -95252,15 +95948,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -95268,15 +95964,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -95284,15 +95980,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18357, - "end": 18387, + "start": 18299, + "end": 18329, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 42 } } @@ -95300,15 +95996,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -95316,15 +96012,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -95332,15 +96028,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -95348,15 +96044,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -95364,31 +96060,31 @@ { "type": "CommentLine", "value": " update time display", - "start": 19901, - "end": 19923, + "start": 19971, + "end": 19993, "loc": { "start": { - "line": 587, - "column": 8 + "line": 585, + "column": 12 }, "end": { - "line": 587, - "column": 30 + "line": 585, + "column": 34 } } }, { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -95396,15 +96092,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -95412,15 +96108,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -95428,15 +96124,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 20548, - "end": 20595, + "start": 20575, + "end": 20622, "loc": { "start": { - "line": 606, + "line": 603, "column": 12 }, "end": { - "line": 606, + "line": 603, "column": 59 } } @@ -95444,15 +96140,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -95460,15 +96156,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -95476,15 +96172,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -95492,15 +96188,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -95508,15 +96204,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21297, - "end": 21314, + "start": 21320, + "end": 21337, "loc": { "start": { - "line": 635, + "line": 632, "column": 16 }, "end": { - "line": 635, + "line": 632, "column": 33 } } @@ -95524,15 +96220,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21423, - "end": 21434, + "start": 21446, + "end": 21457, "loc": { "start": { - "line": 640, + "line": 637, "column": 12 }, "end": { - "line": 640, + "line": 637, "column": 23 } } @@ -95540,15 +96236,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21537, - "end": 21552, + "start": 21558, + "end": 21573, "loc": { "start": { - "line": 644, + "line": 641, "column": 16 }, "end": { - "line": 644, + "line": 641, "column": 31 } } @@ -95556,15 +96252,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -95572,15 +96268,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -95588,15 +96284,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -95604,15 +96300,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -95620,15 +96316,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -95636,15 +96332,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -95652,15 +96348,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -95668,15 +96364,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 22726, - "end": 22745, + "start": 22747, + "end": 22766, "loc": { "start": { - "line": 689, + "line": 686, "column": 8 }, "end": { - "line": 689, + "line": 686, "column": 27 } } @@ -95684,15 +96380,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -95700,15 +96396,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -95716,15 +96412,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 23737, - "end": 23752, + "start": 23758, + "end": 23773, "loc": { "start": { - "line": 724, + "line": 721, "column": 12 }, "end": { - "line": 724, + "line": 721, "column": 27 } } @@ -95732,15 +96428,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -95748,15 +96444,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -95764,15 +96460,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24013, - "end": 24071, + "start": 24034, + "end": 24092, "loc": { "start": { - "line": 737, + "line": 734, "column": 8 }, "end": { - "line": 737, + "line": 734, "column": 66 } } @@ -95780,15 +96476,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24080, - "end": 24128, + "start": 24101, + "end": 24149, "loc": { "start": { - "line": 738, + "line": 735, "column": 8 }, "end": { - "line": 738, + "line": 735, "column": 56 } } @@ -95796,15 +96492,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24336, - "end": 24366, + "start": 24357, + "end": 24387, "loc": { "start": { - "line": 743, + "line": 740, "column": 16 }, "end": { - "line": 743, + "line": 740, "column": 46 } } @@ -95812,15 +96508,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 24603, - "end": 24655, + "start": 24624, + "end": 24676, "loc": { "start": { - "line": 750, + "line": 747, "column": 20 }, "end": { - "line": 750, + "line": 747, "column": 72 } } @@ -95828,15 +96524,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 24676, - "end": 24690, + "start": 24697, + "end": 24711, "loc": { "start": { - "line": 751, + "line": 748, "column": 20 }, "end": { - "line": 751, + "line": 748, "column": 34 } } @@ -95844,15 +96540,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -95860,15 +96556,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -95876,15 +96572,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -95892,15 +96588,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25127, - "end": 25145, + "start": 25148, + "end": 25166, "loc": { "start": { - "line": 771, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 768, "column": 30 } } @@ -95908,15 +96604,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -95924,15 +96620,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 25637, - "end": 25656, + "start": 25658, + "end": 25677, "loc": { "start": { - "line": 788, + "line": 785, "column": 20 }, "end": { - "line": 788, + "line": 785, "column": 39 } } @@ -95940,15 +96636,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 25785, - "end": 25805, + "start": 25806, + "end": 25826, "loc": { "start": { - "line": 792, + "line": 789, "column": 20 }, "end": { - "line": 792, + "line": 789, "column": 40 } } @@ -95956,15 +96652,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -95972,15 +96668,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -95988,15 +96684,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -96004,15 +96700,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -96020,15 +96716,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -96036,15 +96732,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 26824, - "end": 26862, + "start": 26845, + "end": 26883, "loc": { "start": { - "line": 827, + "line": 824, "column": 0 }, "end": { - "line": 827, + "line": 824, "column": 38 } } @@ -96052,15 +96748,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 26898, - "end": 26921, + "start": 26919, + "end": 26942, "loc": { "start": { - "line": 830, + "line": 827, "column": 0 }, "end": { - "line": 830, + "line": 827, "column": 23 } } @@ -96068,15 +96764,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27081, - "end": 27110, + "start": 27102, + "end": 27131, "loc": { "start": { - "line": 836, + "line": 833, "column": 0 }, "end": { - "line": 836, + "line": 833, "column": 29 } } @@ -96084,15 +96780,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27144, - "end": 27182, + "start": 27165, + "end": 27203, "loc": { "start": { - "line": 838, + "line": 835, "column": 4 }, "end": { - "line": 838, + "line": 835, "column": 42 } } @@ -97709,18 +98405,570 @@ } } }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 632, + "end": 637, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wavesurferStyleName", + "start": 638, + "end": 657, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 658, + "end": 659, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "vjs-wavesurfer", + "start": 660, + "end": 676, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 676, + "end": 677, + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 45 + } + } + }, + { + "type": "CommentLine", + "value": " wavesurfer.js backends", + "start": 679, + "end": 704, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 705, + "end": 710, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "WEBAUDIO", + "start": 711, + "end": 719, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "WebAudio", + "start": 722, + "end": 732, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 732, + "end": 733, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 734, + "end": 739, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MEDIAELEMENT", + "start": 740, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MediaElement", + "start": 755, + "end": 769, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 26, + "column": 35 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 771, + "end": 776, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MEDIAELEMENT_WEBAUDIO", + "start": 777, + "end": 798, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 27, + "column": 28 + }, + "end": { + "line": 27, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MediaElementWebAudio", + "start": 801, + "end": 823, + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 823, + "end": 824, + "loc": { + "start": { + "line": 27, + "column": 52 + }, + "end": { + "line": 27, + "column": 53 + } + } + }, { "type": "CommentBlock", "value": "*\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n ", - "start": 633, - "end": 748, + "start": 826, + "end": 941, "loc": { "start": { - "line": 23, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 34, "column": 3 } } @@ -97740,15 +98988,15 @@ "updateContext": null }, "value": "class", - "start": 749, - "end": 754, + "start": 942, + "end": 947, "loc": { "start": { - "line": 29, + "line": 35, "column": 0 }, "end": { - "line": 29, + "line": 35, "column": 5 } } @@ -97766,15 +99014,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 755, - "end": 765, + "start": 948, + "end": 958, "loc": { "start": { - "line": 29, + "line": 35, "column": 6 }, "end": { - "line": 29, + "line": 35, "column": 16 } } @@ -97794,15 +99042,15 @@ "updateContext": null }, "value": "extends", - "start": 766, - "end": 773, + "start": 959, + "end": 966, "loc": { "start": { - "line": 29, + "line": 35, "column": 17 }, "end": { - "line": 29, + "line": 35, "column": 24 } } @@ -97820,15 +99068,15 @@ "binop": null }, "value": "Plugin", - "start": 774, - "end": 780, + "start": 967, + "end": 973, "loc": { "start": { - "line": 29, + "line": 35, "column": 25 }, "end": { - "line": 29, + "line": 35, "column": 31 } } @@ -97845,15 +99093,15 @@ "postfix": false, "binop": null }, - "start": 781, - "end": 782, + "start": 974, + "end": 975, "loc": { "start": { - "line": 29, + "line": 35, "column": 32 }, "end": { - "line": 29, + "line": 35, "column": 33 } } @@ -97861,15 +99109,15 @@ { "type": "CommentBlock", "value": "*\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n ", - "start": 787, - "end": 974, + "start": 980, + "end": 1167, "loc": { "start": { - "line": 30, + "line": 36, "column": 4 }, "end": { - "line": 35, + "line": 41, "column": 7 } } @@ -97887,15 +99135,15 @@ "binop": null }, "value": "constructor", - "start": 979, - "end": 990, + "start": 1172, + "end": 1183, "loc": { "start": { - "line": 36, + "line": 42, "column": 4 }, "end": { - "line": 36, + "line": 42, "column": 15 } } @@ -97912,15 +99160,15 @@ "postfix": false, "binop": null }, - "start": 990, - "end": 991, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 36, + "line": 42, "column": 15 }, "end": { - "line": 36, + "line": 42, "column": 16 } } @@ -97938,15 +99186,15 @@ "binop": null }, "value": "player", - "start": 991, - "end": 997, + "start": 1184, + "end": 1190, "loc": { "start": { - "line": 36, + "line": 42, "column": 16 }, "end": { - "line": 36, + "line": 42, "column": 22 } } @@ -97964,15 +99212,15 @@ "binop": null, "updateContext": null }, - "start": 997, - "end": 998, + "start": 1190, + "end": 1191, "loc": { "start": { - "line": 36, + "line": 42, "column": 22 }, "end": { - "line": 36, + "line": 42, "column": 23 } } @@ -97990,15 +99238,15 @@ "binop": null }, "value": "options", - "start": 999, - "end": 1006, + "start": 1192, + "end": 1199, "loc": { "start": { - "line": 36, + "line": 42, "column": 24 }, "end": { - "line": 36, + "line": 42, "column": 31 } } @@ -98015,15 +99263,15 @@ "postfix": false, "binop": null }, - "start": 1006, - "end": 1007, + "start": 1199, + "end": 1200, "loc": { "start": { - "line": 36, + "line": 42, "column": 31 }, "end": { - "line": 36, + "line": 42, "column": 32 } } @@ -98040,15 +99288,15 @@ "postfix": false, "binop": null }, - "start": 1008, - "end": 1009, + "start": 1201, + "end": 1202, "loc": { "start": { - "line": 36, + "line": 42, "column": 33 }, "end": { - "line": 36, + "line": 42, "column": 34 } } @@ -98068,15 +99316,15 @@ "updateContext": null }, "value": "super", - "start": 1018, - "end": 1023, + "start": 1211, + "end": 1216, "loc": { "start": { - "line": 37, + "line": 43, "column": 8 }, "end": { - "line": 37, + "line": 43, "column": 13 } } @@ -98093,15 +99341,15 @@ "postfix": false, "binop": null }, - "start": 1023, - "end": 1024, + "start": 1216, + "end": 1217, "loc": { "start": { - "line": 37, + "line": 43, "column": 13 }, "end": { - "line": 37, + "line": 43, "column": 14 } } @@ -98119,15 +99367,15 @@ "binop": null }, "value": "player", - "start": 1024, - "end": 1030, + "start": 1217, + "end": 1223, "loc": { "start": { - "line": 37, + "line": 43, "column": 14 }, "end": { - "line": 37, + "line": 43, "column": 20 } } @@ -98145,15 +99393,15 @@ "binop": null, "updateContext": null }, - "start": 1030, - "end": 1031, + "start": 1223, + "end": 1224, "loc": { "start": { - "line": 37, + "line": 43, "column": 20 }, "end": { - "line": 37, + "line": 43, "column": 21 } } @@ -98171,15 +99419,15 @@ "binop": null }, "value": "options", - "start": 1032, - "end": 1039, + "start": 1225, + "end": 1232, "loc": { "start": { - "line": 37, + "line": 43, "column": 22 }, "end": { - "line": 37, + "line": 43, "column": 29 } } @@ -98196,15 +99444,15 @@ "postfix": false, "binop": null }, - "start": 1039, - "end": 1040, + "start": 1232, + "end": 1233, "loc": { "start": { - "line": 37, + "line": 43, "column": 29 }, "end": { - "line": 37, + "line": 43, "column": 30 } } @@ -98222,15 +99470,15 @@ "binop": null, "updateContext": null }, - "start": 1040, - "end": 1041, + "start": 1233, + "end": 1234, "loc": { "start": { - "line": 37, + "line": 43, "column": 30 }, "end": { - "line": 37, + "line": 43, "column": 31 } } @@ -98238,15 +99486,15 @@ { "type": "CommentLine", "value": " add plugin style", - "start": 1051, - "end": 1070, + "start": 1244, + "end": 1263, "loc": { "start": { - "line": 39, + "line": 45, "column": 8 }, "end": { - "line": 39, + "line": 45, "column": 27 } } @@ -98264,15 +99512,15 @@ "binop": null }, "value": "player", - "start": 1079, - "end": 1085, + "start": 1272, + "end": 1278, "loc": { "start": { - "line": 40, + "line": 46, "column": 8 }, "end": { - "line": 40, + "line": 46, "column": 14 } } @@ -98290,15 +99538,15 @@ "binop": null, "updateContext": null }, - "start": 1085, - "end": 1086, + "start": 1278, + "end": 1279, "loc": { "start": { - "line": 40, + "line": 46, "column": 14 }, "end": { - "line": 40, + "line": 46, "column": 15 } } @@ -98316,15 +99564,15 @@ "binop": null }, "value": "addClass", - "start": 1086, - "end": 1094, + "start": 1279, + "end": 1287, "loc": { "start": { - "line": 40, + "line": 46, "column": 15 }, "end": { - "line": 40, + "line": 46, "column": 23 } } @@ -98341,22 +99589,22 @@ "postfix": false, "binop": null }, - "start": 1094, - "end": 1095, + "start": 1287, + "end": 1288, "loc": { "start": { - "line": 40, + "line": 46, "column": 23 }, "end": { - "line": 40, + "line": 46, "column": 24 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -98364,20 +99612,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "vjs-wavesurfer", - "start": 1095, - "end": 1111, + "value": "wavesurferStyleName", + "start": 1288, + "end": 1307, "loc": { "start": { - "line": 40, + "line": 46, "column": 24 }, "end": { - "line": 40, - "column": 40 + "line": 46, + "column": 43 } } }, @@ -98393,16 +99640,16 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 40, - "column": 40 + "line": 46, + "column": 43 }, "end": { - "line": 40, - "column": 41 + "line": 46, + "column": 44 } } }, @@ -98419,31 +99666,31 @@ "binop": null, "updateContext": null }, - "start": 1112, - "end": 1113, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 40, - "column": 41 + "line": 46, + "column": 44 }, "end": { - "line": 40, - "column": 42 + "line": 46, + "column": 45 } } }, { "type": "CommentLine", "value": " parse options", - "start": 1123, - "end": 1139, + "start": 1319, + "end": 1335, "loc": { "start": { - "line": 42, + "line": 48, "column": 8 }, "end": { - "line": 42, + "line": 48, "column": 24 } } @@ -98461,15 +99708,15 @@ "binop": null }, "value": "options", - "start": 1148, - "end": 1155, + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 43, + "line": 49, "column": 8 }, "end": { - "line": 43, + "line": 49, "column": 15 } } @@ -98488,15 +99735,15 @@ "updateContext": null }, "value": "=", - "start": 1156, - "end": 1157, + "start": 1352, + "end": 1353, "loc": { "start": { - "line": 43, + "line": 49, "column": 16 }, "end": { - "line": 43, + "line": 49, "column": 17 } } @@ -98514,15 +99761,15 @@ "binop": null }, "value": "videojs", - "start": 1158, - "end": 1165, + "start": 1354, + "end": 1361, "loc": { "start": { - "line": 43, + "line": 49, "column": 18 }, "end": { - "line": 43, + "line": 49, "column": 25 } } @@ -98540,15 +99787,15 @@ "binop": null, "updateContext": null }, - "start": 1165, - "end": 1166, + "start": 1361, + "end": 1362, "loc": { "start": { - "line": 43, + "line": 49, "column": 25 }, "end": { - "line": 43, + "line": 49, "column": 26 } } @@ -98566,15 +99813,15 @@ "binop": null }, "value": "mergeOptions", - "start": 1166, - "end": 1178, + "start": 1362, + "end": 1374, "loc": { "start": { - "line": 43, + "line": 49, "column": 26 }, "end": { - "line": 43, + "line": 49, "column": 38 } } @@ -98591,15 +99838,15 @@ "postfix": false, "binop": null }, - "start": 1178, - "end": 1179, + "start": 1374, + "end": 1375, "loc": { "start": { - "line": 43, + "line": 49, "column": 38 }, "end": { - "line": 43, + "line": 49, "column": 39 } } @@ -98617,15 +99864,15 @@ "binop": null }, "value": "pluginDefaultOptions", - "start": 1179, - "end": 1199, + "start": 1375, + "end": 1395, "loc": { "start": { - "line": 43, + "line": 49, "column": 39 }, "end": { - "line": 43, + "line": 49, "column": 59 } } @@ -98643,15 +99890,15 @@ "binop": null, "updateContext": null }, - "start": 1199, - "end": 1200, + "start": 1395, + "end": 1396, "loc": { "start": { - "line": 43, + "line": 49, "column": 59 }, "end": { - "line": 43, + "line": 49, "column": 60 } } @@ -98669,15 +99916,15 @@ "binop": null }, "value": "options", - "start": 1201, - "end": 1208, + "start": 1397, + "end": 1404, "loc": { "start": { - "line": 43, + "line": 49, "column": 61 }, "end": { - "line": 43, + "line": 49, "column": 68 } } @@ -98694,15 +99941,15 @@ "postfix": false, "binop": null }, - "start": 1208, - "end": 1209, + "start": 1404, + "end": 1405, "loc": { "start": { - "line": 43, + "line": 49, "column": 68 }, "end": { - "line": 43, + "line": 49, "column": 69 } } @@ -98720,15 +99967,15 @@ "binop": null, "updateContext": null }, - "start": 1209, - "end": 1210, + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 43, + "line": 49, "column": 69 }, "end": { - "line": 43, + "line": 49, "column": 70 } } @@ -98748,15 +99995,15 @@ "updateContext": null }, "value": "this", - "start": 1219, - "end": 1223, + "start": 1415, + "end": 1419, "loc": { "start": { - "line": 44, + "line": 50, "column": 8 }, "end": { - "line": 44, + "line": 50, "column": 12 } } @@ -98774,15 +100021,15 @@ "binop": null, "updateContext": null }, - "start": 1223, - "end": 1224, + "start": 1419, + "end": 1420, "loc": { "start": { - "line": 44, + "line": 50, "column": 12 }, "end": { - "line": 44, + "line": 50, "column": 13 } } @@ -98800,15 +100047,15 @@ "binop": null }, "value": "waveReady", - "start": 1224, - "end": 1233, + "start": 1420, + "end": 1429, "loc": { "start": { - "line": 44, + "line": 50, "column": 13 }, "end": { - "line": 44, + "line": 50, "column": 22 } } @@ -98827,15 +100074,15 @@ "updateContext": null }, "value": "=", - "start": 1234, - "end": 1235, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 44, + "line": 50, "column": 23 }, "end": { - "line": 44, + "line": 50, "column": 24 } } @@ -98855,15 +100102,15 @@ "updateContext": null }, "value": "false", - "start": 1236, - "end": 1241, + "start": 1432, + "end": 1437, "loc": { "start": { - "line": 44, + "line": 50, "column": 25 }, "end": { - "line": 44, + "line": 50, "column": 30 } } @@ -98881,15 +100128,15 @@ "binop": null, "updateContext": null }, - "start": 1241, - "end": 1242, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 44, + "line": 50, "column": 30 }, "end": { - "line": 44, + "line": 50, "column": 31 } } @@ -98909,15 +100156,15 @@ "updateContext": null }, "value": "this", - "start": 1251, - "end": 1255, + "start": 1447, + "end": 1451, "loc": { "start": { - "line": 45, + "line": 51, "column": 8 }, "end": { - "line": 45, + "line": 51, "column": 12 } } @@ -98935,15 +100182,15 @@ "binop": null, "updateContext": null }, - "start": 1255, - "end": 1256, + "start": 1451, + "end": 1452, "loc": { "start": { - "line": 45, + "line": 51, "column": 12 }, "end": { - "line": 45, + "line": 51, "column": 13 } } @@ -98961,15 +100208,15 @@ "binop": null }, "value": "waveFinished", - "start": 1256, - "end": 1268, + "start": 1452, + "end": 1464, "loc": { "start": { - "line": 45, + "line": 51, "column": 13 }, "end": { - "line": 45, + "line": 51, "column": 25 } } @@ -98988,15 +100235,15 @@ "updateContext": null }, "value": "=", - "start": 1269, - "end": 1270, + "start": 1465, + "end": 1466, "loc": { "start": { - "line": 45, + "line": 51, "column": 26 }, "end": { - "line": 45, + "line": 51, "column": 27 } } @@ -99016,15 +100263,15 @@ "updateContext": null }, "value": "false", - "start": 1271, - "end": 1276, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 45, + "line": 51, "column": 28 }, "end": { - "line": 45, + "line": 51, "column": 33 } } @@ -99042,15 +100289,15 @@ "binop": null, "updateContext": null }, - "start": 1276, - "end": 1277, + "start": 1472, + "end": 1473, "loc": { "start": { - "line": 45, + "line": 51, "column": 33 }, "end": { - "line": 45, + "line": 51, "column": 34 } } @@ -99070,15 +100317,15 @@ "updateContext": null }, "value": "this", - "start": 1286, - "end": 1290, + "start": 1482, + "end": 1486, "loc": { "start": { - "line": 46, + "line": 52, "column": 8 }, "end": { - "line": 46, + "line": 52, "column": 12 } } @@ -99096,15 +100343,15 @@ "binop": null, "updateContext": null }, - "start": 1290, - "end": 1291, + "start": 1486, + "end": 1487, "loc": { "start": { - "line": 46, + "line": 52, "column": 12 }, "end": { - "line": 46, + "line": 52, "column": 13 } } @@ -99122,15 +100369,15 @@ "binop": null }, "value": "liveMode", - "start": 1291, - "end": 1299, + "start": 1487, + "end": 1495, "loc": { "start": { - "line": 46, + "line": 52, "column": 13 }, "end": { - "line": 46, + "line": 52, "column": 21 } } @@ -99149,15 +100396,15 @@ "updateContext": null }, "value": "=", - "start": 1300, - "end": 1301, + "start": 1496, + "end": 1497, "loc": { "start": { - "line": 46, + "line": 52, "column": 22 }, "end": { - "line": 46, + "line": 52, "column": 23 } } @@ -99177,15 +100424,15 @@ "updateContext": null }, "value": "false", - "start": 1302, - "end": 1307, + "start": 1498, + "end": 1503, "loc": { "start": { - "line": 46, + "line": 52, "column": 24 }, "end": { - "line": 46, + "line": 52, "column": 29 } } @@ -99203,15 +100450,15 @@ "binop": null, "updateContext": null }, - "start": 1307, - "end": 1308, + "start": 1503, + "end": 1504, "loc": { "start": { - "line": 46, + "line": 52, "column": 29 }, "end": { - "line": 46, + "line": 52, "column": 30 } } @@ -99231,15 +100478,15 @@ "updateContext": null }, "value": "this", - "start": 1317, - "end": 1321, + "start": 1513, + "end": 1517, "loc": { "start": { - "line": 47, + "line": 53, "column": 8 }, "end": { - "line": 47, + "line": 53, "column": 12 } } @@ -99257,15 +100504,15 @@ "binop": null, "updateContext": null }, - "start": 1321, - "end": 1322, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 47, + "line": 53, "column": 12 }, "end": { - "line": 47, + "line": 53, "column": 13 } } @@ -99283,15 +100530,15 @@ "binop": null }, "value": "backend", - "start": 1322, - "end": 1329, + "start": 1518, + "end": 1525, "loc": { "start": { - "line": 47, + "line": 53, "column": 13 }, "end": { - "line": 47, + "line": 53, "column": 20 } } @@ -99310,15 +100557,15 @@ "updateContext": null }, "value": "=", - "start": 1330, - "end": 1331, + "start": 1526, + "end": 1527, "loc": { "start": { - "line": 47, + "line": 53, "column": 21 }, "end": { - "line": 47, + "line": 53, "column": 22 } } @@ -99338,15 +100585,15 @@ "updateContext": null }, "value": "null", - "start": 1332, - "end": 1336, + "start": 1528, + "end": 1532, "loc": { "start": { - "line": 47, + "line": 53, "column": 23 }, "end": { - "line": 47, + "line": 53, "column": 27 } } @@ -99364,15 +100611,15 @@ "binop": null, "updateContext": null }, - "start": 1336, - "end": 1337, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 47, + "line": 53, "column": 27 }, "end": { - "line": 47, + "line": 53, "column": 28 } } @@ -99392,15 +100639,15 @@ "updateContext": null }, "value": "this", - "start": 1346, - "end": 1350, + "start": 1542, + "end": 1546, "loc": { "start": { - "line": 48, + "line": 54, "column": 8 }, "end": { - "line": 48, + "line": 54, "column": 12 } } @@ -99418,15 +100665,15 @@ "binop": null, "updateContext": null }, - "start": 1350, - "end": 1351, + "start": 1546, + "end": 1547, "loc": { "start": { - "line": 48, + "line": 54, "column": 12 }, "end": { - "line": 48, + "line": 54, "column": 13 } } @@ -99444,15 +100691,15 @@ "binop": null }, "value": "debug", - "start": 1351, - "end": 1356, + "start": 1547, + "end": 1552, "loc": { "start": { - "line": 48, + "line": 54, "column": 13 }, "end": { - "line": 48, + "line": 54, "column": 18 } } @@ -99471,15 +100718,15 @@ "updateContext": null }, "value": "=", - "start": 1357, - "end": 1358, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 48, + "line": 54, "column": 19 }, "end": { - "line": 48, + "line": 54, "column": 20 } } @@ -99496,15 +100743,15 @@ "postfix": false, "binop": null }, - "start": 1359, - "end": 1360, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 48, + "line": 54, "column": 21 }, "end": { - "line": 48, + "line": 54, "column": 22 } } @@ -99522,15 +100769,15 @@ "binop": null }, "value": "options", - "start": 1360, - "end": 1367, + "start": 1556, + "end": 1563, "loc": { "start": { - "line": 48, + "line": 54, "column": 22 }, "end": { - "line": 48, + "line": 54, "column": 29 } } @@ -99548,15 +100795,15 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 48, + "line": 54, "column": 29 }, "end": { - "line": 48, + "line": 54, "column": 30 } } @@ -99574,15 +100821,15 @@ "binop": null }, "value": "debug", - "start": 1368, - "end": 1373, + "start": 1564, + "end": 1569, "loc": { "start": { - "line": 48, + "line": 54, "column": 30 }, "end": { - "line": 48, + "line": 54, "column": 35 } } @@ -99600,15 +100847,15 @@ "binop": null, "updateContext": null }, - "start": 1373, - "end": 1374, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 48, + "line": 54, "column": 35 }, "end": { - "line": 48, + "line": 54, "column": 36 } } @@ -99626,15 +100873,15 @@ "binop": null }, "value": "toString", - "start": 1374, - "end": 1382, + "start": 1570, + "end": 1578, "loc": { "start": { - "line": 48, + "line": 54, "column": 36 }, "end": { - "line": 48, + "line": 54, "column": 44 } } @@ -99651,15 +100898,15 @@ "postfix": false, "binop": null }, - "start": 1382, - "end": 1383, + "start": 1578, + "end": 1579, "loc": { "start": { - "line": 48, + "line": 54, "column": 44 }, "end": { - "line": 48, + "line": 54, "column": 45 } } @@ -99676,15 +100923,15 @@ "postfix": false, "binop": null }, - "start": 1383, - "end": 1384, + "start": 1579, + "end": 1580, "loc": { "start": { - "line": 48, + "line": 54, "column": 45 }, "end": { - "line": 48, + "line": 54, "column": 46 } } @@ -99703,15 +100950,15 @@ "updateContext": null }, "value": "===", - "start": 1385, - "end": 1388, + "start": 1581, + "end": 1584, "loc": { "start": { - "line": 48, + "line": 54, "column": 47 }, "end": { - "line": 48, + "line": 54, "column": 50 } } @@ -99730,15 +100977,15 @@ "updateContext": null }, "value": "true", - "start": 1389, - "end": 1395, + "start": 1585, + "end": 1591, "loc": { "start": { - "line": 48, + "line": 54, "column": 51 }, "end": { - "line": 48, + "line": 54, "column": 57 } } @@ -99755,15 +101002,15 @@ "postfix": false, "binop": null }, - "start": 1395, - "end": 1396, + "start": 1591, + "end": 1592, "loc": { "start": { - "line": 48, + "line": 54, "column": 57 }, "end": { - "line": 48, + "line": 54, "column": 58 } } @@ -99781,15 +101028,15 @@ "binop": null, "updateContext": null }, - "start": 1396, - "end": 1397, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 48, + "line": 54, "column": 58 }, "end": { - "line": 48, + "line": 54, "column": 59 } } @@ -99809,15 +101056,15 @@ "updateContext": null }, "value": "this", - "start": 1406, - "end": 1410, + "start": 1602, + "end": 1606, "loc": { "start": { - "line": 49, + "line": 55, "column": 8 }, "end": { - "line": 49, + "line": 55, "column": 12 } } @@ -99835,15 +101082,15 @@ "binop": null, "updateContext": null }, - "start": 1410, - "end": 1411, + "start": 1606, + "end": 1607, "loc": { "start": { - "line": 49, + "line": 55, "column": 12 }, "end": { - "line": 49, + "line": 55, "column": 13 } } @@ -99861,15 +101108,15 @@ "binop": null }, "value": "textTracksEnabled", - "start": 1411, - "end": 1428, + "start": 1607, + "end": 1624, "loc": { "start": { - "line": 49, + "line": 55, "column": 13 }, "end": { - "line": 49, + "line": 55, "column": 30 } } @@ -99888,15 +101135,15 @@ "updateContext": null }, "value": "=", - "start": 1429, - "end": 1430, + "start": 1625, + "end": 1626, "loc": { "start": { - "line": 49, + "line": 55, "column": 31 }, "end": { - "line": 49, + "line": 55, "column": 32 } } @@ -99913,15 +101160,15 @@ "postfix": false, "binop": null }, - "start": 1431, - "end": 1432, + "start": 1627, + "end": 1628, "loc": { "start": { - "line": 49, + "line": 55, "column": 33 }, "end": { - "line": 49, + "line": 55, "column": 34 } } @@ -99941,15 +101188,15 @@ "updateContext": null }, "value": "this", - "start": 1432, - "end": 1436, + "start": 1628, + "end": 1632, "loc": { "start": { - "line": 49, + "line": 55, "column": 34 }, "end": { - "line": 49, + "line": 55, "column": 38 } } @@ -99967,15 +101214,15 @@ "binop": null, "updateContext": null }, - "start": 1436, - "end": 1437, + "start": 1632, + "end": 1633, "loc": { "start": { - "line": 49, + "line": 55, "column": 38 }, "end": { - "line": 49, + "line": 55, "column": 39 } } @@ -99993,15 +101240,15 @@ "binop": null }, "value": "player", - "start": 1437, - "end": 1443, + "start": 1633, + "end": 1639, "loc": { "start": { - "line": 49, + "line": 55, "column": 39 }, "end": { - "line": 49, + "line": 55, "column": 45 } } @@ -100019,15 +101266,15 @@ "binop": null, "updateContext": null }, - "start": 1443, - "end": 1444, + "start": 1639, + "end": 1640, "loc": { "start": { - "line": 49, + "line": 55, "column": 45 }, "end": { - "line": 49, + "line": 55, "column": 46 } } @@ -100045,15 +101292,15 @@ "binop": null }, "value": "options_", - "start": 1444, - "end": 1452, + "start": 1640, + "end": 1648, "loc": { "start": { - "line": 49, + "line": 55, "column": 46 }, "end": { - "line": 49, + "line": 55, "column": 54 } } @@ -100071,15 +101318,15 @@ "binop": null, "updateContext": null }, - "start": 1452, - "end": 1453, + "start": 1648, + "end": 1649, "loc": { "start": { - "line": 49, + "line": 55, "column": 54 }, "end": { - "line": 49, + "line": 55, "column": 55 } } @@ -100097,15 +101344,15 @@ "binop": null }, "value": "tracks", - "start": 1453, - "end": 1459, + "start": 1649, + "end": 1655, "loc": { "start": { - "line": 49, + "line": 55, "column": 55 }, "end": { - "line": 49, + "line": 55, "column": 61 } } @@ -100123,15 +101370,15 @@ "binop": null, "updateContext": null }, - "start": 1459, - "end": 1460, + "start": 1655, + "end": 1656, "loc": { "start": { - "line": 49, + "line": 55, "column": 61 }, "end": { - "line": 49, + "line": 55, "column": 62 } } @@ -100149,15 +101396,15 @@ "binop": null }, "value": "length", - "start": 1460, - "end": 1466, + "start": 1656, + "end": 1662, "loc": { "start": { - "line": 49, + "line": 55, "column": 62 }, "end": { - "line": 49, + "line": 55, "column": 68 } } @@ -100176,15 +101423,15 @@ "updateContext": null }, "value": ">", - "start": 1467, - "end": 1468, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 49, + "line": 55, "column": 69 }, "end": { - "line": 49, + "line": 55, "column": 70 } } @@ -100203,15 +101450,15 @@ "updateContext": null }, "value": 0, - "start": 1469, - "end": 1470, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 49, + "line": 55, "column": 71 }, "end": { - "line": 49, + "line": 55, "column": 72 } } @@ -100228,15 +101475,15 @@ "postfix": false, "binop": null }, - "start": 1470, - "end": 1471, + "start": 1666, + "end": 1667, "loc": { "start": { - "line": 49, + "line": 55, "column": 72 }, "end": { - "line": 49, + "line": 55, "column": 73 } } @@ -100254,15 +101501,15 @@ "binop": null, "updateContext": null }, - "start": 1471, - "end": 1472, + "start": 1667, + "end": 1668, "loc": { "start": { - "line": 49, + "line": 55, "column": 73 }, "end": { - "line": 49, + "line": 55, "column": 74 } } @@ -100282,15 +101529,15 @@ "updateContext": null }, "value": "this", - "start": 1481, - "end": 1485, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 50, + "line": 56, "column": 8 }, "end": { - "line": 50, + "line": 56, "column": 12 } } @@ -100308,15 +101555,15 @@ "binop": null, "updateContext": null }, - "start": 1485, - "end": 1486, + "start": 1681, + "end": 1682, "loc": { "start": { - "line": 50, + "line": 56, "column": 12 }, "end": { - "line": 50, + "line": 56, "column": 13 } } @@ -100333,17 +101580,17 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 1486, - "end": 1498, + "value": "displayMilliseconds", + "start": 1682, + "end": 1701, "loc": { "start": { - "line": 50, + "line": 56, "column": 13 }, "end": { - "line": 50, - "column": 25 + "line": 56, + "column": 32 } } }, @@ -100361,16 +101608,16 @@ "updateContext": null }, "value": "=", - "start": 1499, - "end": 1500, + "start": 1702, + "end": 1703, "loc": { "start": { - "line": 50, - "column": 26 + "line": 56, + "column": 33 }, "end": { - "line": 50, - "column": 27 + "line": 56, + "column": 34 } } }, @@ -100386,42 +101633,43 @@ "postfix": false, "binop": null }, - "value": "parseFloat", - "start": 1501, - "end": 1511, + "value": "options", + "start": 1704, + "end": 1711, "loc": { "start": { - "line": 50, - "column": 28 + "line": 56, + "column": 35 }, "end": { - "line": 50, - "column": 38 + "line": 56, + "column": 42 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1511, - "end": 1512, + "start": 1711, + "end": 1712, "loc": { "start": { - "line": 50, - "column": 38 + "line": 56, + "column": 42 }, "end": { - "line": 50, - "column": 39 + "line": 56, + "column": 43 } } }, @@ -100437,24 +101685,24 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 1512, - "end": 1519, + "value": "displayMilliseconds", + "start": 1712, + "end": 1731, "loc": { "start": { - "line": 50, - "column": 39 + "line": 56, + "column": 43 }, "end": { - "line": 50, - "column": 46 + "line": 56, + "column": 62 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -100464,50 +101712,40 @@ "binop": null, "updateContext": null }, - "start": 1519, - "end": 1520, + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 50, - "column": 46 + "line": 56, + "column": 62 }, "end": { - "line": 50, - "column": 47 + "line": 56, + "column": 63 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "msDisplayMax", - "start": 1520, - "end": 1532, + "type": "CommentLine", + "value": " use custom video.js time format", + "start": 1742, + "end": 1776, "loc": { "start": { - "line": 50, - "column": 47 + "line": 58, + "column": 8 }, "end": { - "line": 50, - "column": 59 + "line": 58, + "column": 42 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100515,23 +101753,24 @@ "postfix": false, "binop": null }, - "start": 1532, - "end": 1533, + "value": "videojs", + "start": 1785, + "end": 1792, "loc": { "start": { - "line": 50, - "column": 59 + "line": 59, + "column": 8 }, "end": { - "line": 50, - "column": 60 + "line": 59, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -100541,39 +101780,22 @@ "binop": null, "updateContext": null }, - "start": 1533, - "end": 1534, + "start": 1792, + "end": 1793, "loc": { "start": { - "line": 50, - "column": 60 - }, - "end": { - "line": 50, - "column": 61 - } - } - }, - { - "type": "CommentLine", - "value": " wait until player ui is ready", - "start": 1544, - "end": 1576, - "loc": { - "start": { - "line": 52, - "column": 8 + "line": 59, + "column": 15 }, "end": { - "line": 52, - "column": 40 + "line": 59, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -100581,53 +101803,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1585, - "end": 1589, + "value": "setFormatTime", + "start": 1793, + "end": 1806, "loc": { "start": { - "line": 53, - "column": 8 + "line": 59, + "column": 16 }, "end": { - "line": 53, - "column": 12 + "line": 59, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1589, - "end": 1590, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 53, - "column": 12 + "line": 59, + "column": 29 }, "end": { - "line": 53, - "column": 13 + "line": 59, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100636,76 +101856,75 @@ "postfix": false, "binop": null }, - "value": "player", - "start": 1590, - "end": 1596, + "start": 1807, + "end": 1808, "loc": { "start": { - "line": 53, - "column": 13 + "line": 59, + "column": 30 }, "end": { - "line": 53, - "column": 19 + "line": 59, + "column": 31 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1596, - "end": 1597, + "value": "seconds", + "start": 1808, + "end": 1815, "loc": { "start": { - "line": 53, - "column": 19 + "line": 59, + "column": 31 }, "end": { - "line": 53, - "column": 20 + "line": 59, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "one", - "start": 1597, - "end": 1600, + "start": 1815, + "end": 1816, "loc": { "start": { - "line": 53, - "column": 20 + "line": 59, + "column": 38 }, "end": { - "line": 53, - "column": 23 + "line": 59, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100714,24 +101933,25 @@ "postfix": false, "binop": null }, - "start": 1600, - "end": 1601, + "value": "guide", + "start": 1817, + "end": 1822, "loc": { "start": { - "line": 53, - "column": 23 + "line": 59, + "column": 40 }, "end": { - "line": 53, - "column": 24 + "line": 59, + "column": 45 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100739,24 +101959,23 @@ "postfix": false, "binop": null }, - "value": "Event", - "start": 1601, - "end": 1606, + "start": 1822, + "end": 1823, "loc": { "start": { - "line": 53, - "column": 24 + "line": 59, + "column": 45 }, "end": { - "line": 53, - "column": 29 + "line": 59, + "column": 46 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -100766,23 +101985,23 @@ "binop": null, "updateContext": null }, - "start": 1606, - "end": 1607, + "start": 1824, + "end": 1826, "loc": { "start": { - "line": 53, - "column": 29 + "line": 59, + "column": 47 }, "end": { - "line": 53, - "column": 30 + "line": 59, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100791,23 +102010,23 @@ "postfix": false, "binop": null }, - "value": "READY", - "start": 1607, - "end": 1612, + "start": 1827, + "end": 1828, "loc": { "start": { - "line": 53, - "column": 30 + "line": 59, + "column": 50 }, "end": { - "line": 53, - "column": 35 + "line": 59, + "column": 51 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -100818,23 +102037,23 @@ "binop": null, "updateContext": null }, - "start": 1612, - "end": 1613, + "value": "return", + "start": 1841, + "end": 1847, "loc": { "start": { - "line": 53, - "column": 35 + "line": 60, + "column": 12 }, "end": { - "line": 53, - "column": 36 + "line": 60, + "column": 18 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -100842,46 +102061,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1614, - "end": 1618, + "value": "formatTime", + "start": 1848, + "end": 1858, "loc": { "start": { - "line": 53, - "column": 37 + "line": 60, + "column": 19 }, "end": { - "line": 53, - "column": 41 + "line": 60, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1618, - "end": 1619, + "start": 1858, + "end": 1859, "loc": { "start": { - "line": 53, - "column": 41 + "line": 60, + "column": 29 }, "end": { - "line": 53, - "column": 42 + "line": 60, + "column": 30 } } }, @@ -100897,24 +102114,24 @@ "postfix": false, "binop": null }, - "value": "initialize", - "start": 1619, - "end": 1629, + "value": "seconds", + "start": 1859, + "end": 1866, "loc": { "start": { - "line": 53, - "column": 42 + "line": 60, + "column": 30 }, "end": { - "line": 53, - "column": 52 + "line": 60, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -100924,16 +102141,16 @@ "binop": null, "updateContext": null }, - "start": 1629, - "end": 1630, + "start": 1866, + "end": 1867, "loc": { "start": { - "line": 53, - "column": 52 + "line": 60, + "column": 37 }, "end": { - "line": 53, - "column": 53 + "line": 60, + "column": 38 } } }, @@ -100949,42 +102166,43 @@ "postfix": false, "binop": null }, - "value": "bind", - "start": 1630, - "end": 1634, + "value": "guide", + "start": 1868, + "end": 1873, "loc": { "start": { - "line": 53, - "column": 53 + "line": 60, + "column": 39 }, "end": { - "line": 53, - "column": 57 + "line": 60, + "column": 44 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1634, - "end": 1635, + "start": 1873, + "end": 1874, "loc": { "start": { - "line": 53, - "column": 57 + "line": 60, + "column": 44 }, "end": { - "line": 53, - "column": 58 + "line": 60, + "column": 45 } } }, @@ -101003,22 +102221,22 @@ "updateContext": null }, "value": "this", - "start": 1635, - "end": 1639, + "start": 1875, + "end": 1879, "loc": { "start": { - "line": 53, - "column": 58 + "line": 60, + "column": 46 }, "end": { - "line": 53, - "column": 62 + "line": 60, + "column": 50 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -101026,26 +102244,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1639, - "end": 1640, + "start": 1879, + "end": 1880, "loc": { "start": { - "line": 53, - "column": 62 + "line": 60, + "column": 50 }, "end": { - "line": 53, - "column": 63 + "line": 60, + "column": 51 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101053,48 +102272,23 @@ "postfix": false, "binop": null }, - "start": 1640, - "end": 1641, - "loc": { - "start": { - "line": 53, - "column": 63 - }, - "end": { - "line": 53, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1641, - "end": 1642, + "value": "displayMilliseconds", + "start": 1880, + "end": 1899, "loc": { "start": { - "line": 53, - "column": 64 + "line": 60, + "column": 51 }, "end": { - "line": 53, - "column": 65 + "line": 60, + "column": 70 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -101104,66 +102298,50 @@ "postfix": false, "binop": null }, - "start": 1647, - "end": 1648, + "start": 1899, + "end": 1900, "loc": { "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 54, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 1654, - "end": 1735, - "loc": { - "start": { - "line": 56, - "column": 4 + "line": 60, + "column": 70 }, "end": { "line": 60, - "column": 7 + "column": 71 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "initialize", - "start": 1740, - "end": 1750, + "start": 1900, + "end": 1901, "loc": { "start": { - "line": 61, - "column": 4 + "line": 60, + "column": 71 }, "end": { - "line": 61, - "column": 14 + "line": 60, + "column": 72 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101171,16 +102349,16 @@ "postfix": false, "binop": null }, - "start": 1750, - "end": 1751, + "start": 1910, + "end": 1911, "loc": { "start": { "line": 61, - "column": 14 + "column": 8 }, "end": { "line": 61, - "column": 15 + "column": 9 } } }, @@ -101196,66 +102374,67 @@ "postfix": false, "binop": null }, - "start": 1751, - "end": 1752, + "start": 1911, + "end": 1912, "loc": { "start": { "line": 61, - "column": 15 + "column": 9 }, "end": { "line": 61, - "column": 16 + "column": 10 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1753, - "end": 1754, + "start": 1912, + "end": 1913, "loc": { "start": { "line": 61, - "column": 17 + "column": 10 }, "end": { "line": 61, - "column": 18 + "column": 11 } } }, { "type": "CommentLine", - "value": " hide big play button", - "start": 1763, - "end": 1786, + "value": " wait until player ui is ready", + "start": 1923, + "end": 1955, "loc": { "start": { - "line": 62, + "line": 63, "column": 8 }, "end": { - "line": 62, - "column": 31 + "line": 63, + "column": 40 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101264,49 +102443,49 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1795, - "end": 1797, + "value": "this", + "start": 1964, + "end": 1968, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, - "column": 10 + "line": 64, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1798, - "end": 1799, + "start": 1968, + "end": 1969, "loc": { "start": { - "line": 63, - "column": 11 + "line": 64, + "column": 12 }, "end": { - "line": 63, - "column": 12 + "line": 64, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -101314,20 +102493,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1799, - "end": 1803, + "value": "player", + "start": 1969, + "end": 1975, "loc": { "start": { - "line": 63, - "column": 12 + "line": 64, + "column": 13 }, "end": { - "line": 63, - "column": 16 + "line": 64, + "column": 19 } } }, @@ -101344,16 +102522,16 @@ "binop": null, "updateContext": null }, - "start": 1803, - "end": 1804, + "start": 1975, + "end": 1976, "loc": { "start": { - "line": 63, - "column": 16 + "line": 64, + "column": 19 }, "end": { - "line": 63, - "column": 17 + "line": 64, + "column": 20 } } }, @@ -101369,42 +102547,41 @@ "postfix": false, "binop": null }, - "value": "player", - "start": 1804, - "end": 1810, + "value": "one", + "start": 1976, + "end": 1979, "loc": { "start": { - "line": 63, - "column": 17 + "line": 64, + "column": 20 }, "end": { - "line": 63, + "line": 64, "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1810, - "end": 1811, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 63, + "line": 64, "column": 23 }, "end": { - "line": 63, + "line": 64, "column": 24 } } @@ -101421,44 +102598,43 @@ "postfix": false, "binop": null }, - "value": "bigPlayButton", - "start": 1811, - "end": 1824, + "value": "Event", + "start": 1980, + "end": 1985, "loc": { "start": { - "line": 63, + "line": 64, "column": 24 }, "end": { - "line": 63, - "column": 37 + "line": 64, + "column": 29 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 1825, - "end": 1828, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 63, - "column": 38 + "line": 64, + "column": 29 }, "end": { - "line": 63, - "column": 41 + "line": 64, + "column": 30 } } }, @@ -101474,67 +102650,43 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 1829, - "end": 1838, - "loc": { - "start": { - "line": 63, - "column": 42 - }, - "end": { - "line": 63, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1838, - "end": 1839, + "value": "READY", + "start": 1986, + "end": 1991, "loc": { "start": { - "line": 63, - "column": 51 + "line": 64, + "column": 30 }, "end": { - "line": 63, - "column": 52 + "line": 64, + "column": 35 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1840, - "end": 1841, + "start": 1991, + "end": 1992, "loc": { "start": { - "line": 63, - "column": 53 + "line": 64, + "column": 35 }, "end": { - "line": 63, - "column": 54 + "line": 64, + "column": 36 } } }, @@ -101553,16 +102705,16 @@ "updateContext": null }, "value": "this", - "start": 1854, - "end": 1858, + "start": 1993, + "end": 1997, "loc": { "start": { "line": 64, - "column": 12 + "column": 37 }, "end": { "line": 64, - "column": 16 + "column": 41 } } }, @@ -101579,16 +102731,16 @@ "binop": null, "updateContext": null }, - "start": 1858, - "end": 1859, + "start": 1997, + "end": 1998, "loc": { "start": { "line": 64, - "column": 16 + "column": 41 }, "end": { "line": 64, - "column": 17 + "column": 42 } } }, @@ -101604,17 +102756,17 @@ "postfix": false, "binop": null }, - "value": "player", - "start": 1859, - "end": 1865, + "value": "initialize", + "start": 1998, + "end": 2008, "loc": { "start": { "line": 64, - "column": 17 + "column": 42 }, "end": { "line": 64, - "column": 23 + "column": 52 } } }, @@ -101631,16 +102783,16 @@ "binop": null, "updateContext": null }, - "start": 1865, - "end": 1866, + "start": 2008, + "end": 2009, "loc": { "start": { "line": 64, - "column": 23 + "column": 52 }, "end": { "line": 64, - "column": 24 + "column": 53 } } }, @@ -101656,49 +102808,49 @@ "postfix": false, "binop": null }, - "value": "bigPlayButton", - "start": 1866, - "end": 1879, + "value": "bind", + "start": 2009, + "end": 2013, "loc": { "start": { "line": 64, - "column": 24 + "column": 53 }, "end": { "line": 64, - "column": 37 + "column": 57 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1879, - "end": 1880, + "start": 2013, + "end": 2014, "loc": { "start": { "line": 64, - "column": 37 + "column": 57 }, "end": { "line": 64, - "column": 38 + "column": 58 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -101706,27 +102858,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "hide", - "start": 1880, - "end": 1884, + "value": "this", + "start": 2014, + "end": 2018, "loc": { "start": { "line": 64, - "column": 38 + "column": 58 }, "end": { "line": 64, - "column": 42 + "column": 62 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101734,16 +102887,16 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 2018, + "end": 2019, "loc": { "start": { "line": 64, - "column": 42 + "column": 62 }, "end": { "line": 64, - "column": 43 + "column": 63 } } }, @@ -101759,16 +102912,16 @@ "postfix": false, "binop": null }, - "start": 1885, - "end": 1886, + "start": 2019, + "end": 2020, "loc": { "start": { "line": 64, - "column": 43 + "column": 63 }, "end": { "line": 64, - "column": 44 + "column": 64 } } }, @@ -101785,16 +102938,16 @@ "binop": null, "updateContext": null }, - "start": 1886, - "end": 1887, + "start": 2020, + "end": 2021, "loc": { "start": { "line": 64, - "column": 44 + "column": 64 }, "end": { "line": 64, - "column": 45 + "column": 65 } } }, @@ -101810,67 +102963,65 @@ "postfix": false, "binop": null }, - "start": 1896, - "end": 1897, + "start": 2026, + "end": 2027, "loc": { "start": { "line": 65, - "column": 8 + "column": 4 }, "end": { "line": 65, - "column": 9 + "column": 5 } } }, { - "type": "CommentLine", - "value": " parse options", - "start": 1907, - "end": 1923, + "type": "CommentBlock", + "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", + "start": 2033, + "end": 2114, "loc": { "start": { "line": 67, - "column": 8 + "column": 4 }, "end": { - "line": 67, - "column": 24 + "line": 71, + "column": 7 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1932, - "end": 1935, + "value": "initialize", + "start": 2119, + "end": 2129, "loc": { "start": { - "line": 68, - "column": 8 + "line": 72, + "column": 4 }, "end": { - "line": 68, - "column": 11 + "line": 72, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -101879,124 +103030,110 @@ "postfix": false, "binop": null }, - "value": "mergedOptions", - "start": 1936, - "end": 1949, + "start": 2129, + "end": 2130, "loc": { "start": { - "line": 68, - "column": 12 + "line": 72, + "column": 14 }, "end": { - "line": 68, - "column": 25 + "line": 72, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1950, - "end": 1951, + "start": 2130, + "end": 2131, "loc": { "start": { - "line": 68, - "column": 26 + "line": 72, + "column": 15 }, "end": { - "line": 68, - "column": 27 + "line": 72, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1952, - "end": 1956, + "start": 2132, + "end": 2133, "loc": { "start": { - "line": 68, - "column": 28 + "line": 72, + "column": 17 }, "end": { - "line": 68, - "column": 32 + "line": 72, + "column": 18 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1956, - "end": 1957, + "type": "CommentLine", + "value": " hide big play button", + "start": 2142, + "end": 2165, "loc": { "start": { - "line": 68, - "column": 32 + "line": 73, + "column": 8 }, "end": { - "line": 68, - "column": 33 + "line": 73, + "column": 31 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseOptions", - "start": 1957, - "end": 1969, + "value": "if", + "start": 2174, + "end": 2176, "loc": { "start": { - "line": 68, - "column": 33 + "line": 74, + "column": 8 }, "end": { - "line": 68, - "column": 45 + "line": 74, + "column": 10 } } }, @@ -102012,16 +103149,16 @@ "postfix": false, "binop": null }, - "start": 1969, - "end": 1970, + "start": 2177, + "end": 2178, "loc": { "start": { - "line": 68, - "column": 45 + "line": 74, + "column": 11 }, "end": { - "line": 68, - "column": 46 + "line": 74, + "column": 12 } } }, @@ -102040,16 +103177,16 @@ "updateContext": null }, "value": "this", - "start": 1970, - "end": 1974, + "start": 2178, + "end": 2182, "loc": { "start": { - "line": 68, - "column": 46 + "line": 74, + "column": 12 }, "end": { - "line": 68, - "column": 50 + "line": 74, + "column": 16 } } }, @@ -102066,16 +103203,16 @@ "binop": null, "updateContext": null }, - "start": 1974, - "end": 1975, + "start": 2182, + "end": 2183, "loc": { "start": { - "line": 68, - "column": 50 + "line": 74, + "column": 16 }, "end": { - "line": 68, - "column": 51 + "line": 74, + "column": 17 } } }, @@ -102092,16 +103229,16 @@ "binop": null }, "value": "player", - "start": 1975, - "end": 1981, + "start": 2183, + "end": 2189, "loc": { "start": { - "line": 68, - "column": 51 + "line": 74, + "column": 17 }, "end": { - "line": 68, - "column": 57 + "line": 74, + "column": 23 } } }, @@ -102118,16 +103255,16 @@ "binop": null, "updateContext": null }, - "start": 1981, - "end": 1982, + "start": 2189, + "end": 2190, "loc": { "start": { - "line": 68, - "column": 57 + "line": 74, + "column": 23 }, "end": { - "line": 68, - "column": 58 + "line": 74, + "column": 24 } } }, @@ -102143,43 +103280,44 @@ "postfix": false, "binop": null }, - "value": "options_", - "start": 1982, - "end": 1990, + "value": "bigPlayButton", + "start": 2190, + "end": 2203, "loc": { "start": { - "line": 68, - "column": 58 + "line": 74, + "column": 24 }, "end": { - "line": 68, - "column": 66 + "line": 74, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1990, - "end": 1991, + "value": "!==", + "start": 2204, + "end": 2207, "loc": { "start": { - "line": 68, - "column": 66 + "line": 74, + "column": 38 }, "end": { - "line": 68, - "column": 67 + "line": 74, + "column": 41 } } }, @@ -102195,23 +103333,23 @@ "postfix": false, "binop": null }, - "value": "plugins", - "start": 1991, - "end": 1998, + "value": "undefined", + "start": 2208, + "end": 2217, "loc": { "start": { - "line": 68, - "column": 67 + "line": 74, + "column": 42 }, "end": { - "line": 68, - "column": 74 + "line": 74, + "column": 51 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102219,26 +103357,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1998, - "end": 1999, + "start": 2217, + "end": 2218, "loc": { "start": { - "line": 68, - "column": 74 + "line": 74, + "column": 51 }, "end": { - "line": 68, - "column": 75 + "line": 74, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -102247,49 +103384,51 @@ "postfix": false, "binop": null }, - "value": "wavesurfer", - "start": 1999, - "end": 2009, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 68, - "column": 75 + "line": 74, + "column": 53 }, "end": { - "line": 68, - "column": 85 + "line": 74, + "column": 54 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2009, - "end": 2010, + "value": "this", + "start": 2233, + "end": 2237, "loc": { "start": { - "line": 68, - "column": 85 + "line": 75, + "column": 12 }, "end": { - "line": 68, - "column": 86 + "line": 75, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102299,32 +103438,16 @@ "binop": null, "updateContext": null }, - "start": 2010, - "end": 2011, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 68, - "column": 86 - }, - "end": { - "line": 68, - "column": 87 - } - } - }, - { - "type": "CommentLine", - "value": " set video.js time format", - "start": 2021, - "end": 2048, - "loc": { - "start": { - "line": 70, - "column": 8 + "line": 75, + "column": 16 }, "end": { - "line": 70, - "column": 35 + "line": 75, + "column": 17 } } }, @@ -102340,17 +103463,17 @@ "postfix": false, "binop": null }, - "value": "videojs", - "start": 2057, - "end": 2064, + "value": "player", + "start": 2238, + "end": 2244, "loc": { "start": { - "line": 71, - "column": 8 + "line": 75, + "column": 17 }, "end": { - "line": 71, - "column": 15 + "line": 75, + "column": 23 } } }, @@ -102367,16 +103490,16 @@ "binop": null, "updateContext": null }, - "start": 2064, - "end": 2065, + "start": 2244, + "end": 2245, "loc": { "start": { - "line": 71, - "column": 15 + "line": 75, + "column": 23 }, "end": { - "line": 71, - "column": 16 + "line": 75, + "column": 24 } } }, @@ -102392,67 +103515,43 @@ "postfix": false, "binop": null }, - "value": "setFormatTime", - "start": 2065, - "end": 2078, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2078, - "end": 2079, + "value": "bigPlayButton", + "start": 2245, + "end": 2258, "loc": { "start": { - "line": 71, - "column": 29 + "line": 75, + "column": 24 }, "end": { - "line": 71, - "column": 30 + "line": 75, + "column": 37 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2079, - "end": 2080, + "start": 2258, + "end": 2259, "loc": { "start": { - "line": 71, - "column": 30 + "line": 75, + "column": 37 }, "end": { - "line": 71, - "column": 31 + "line": 75, + "column": 38 } } }, @@ -102468,51 +103567,50 @@ "postfix": false, "binop": null }, - "value": "seconds", - "start": 2080, - "end": 2087, + "value": "hide", + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 71, - "column": 31 + "line": 75, + "column": 38 }, "end": { - "line": 71, - "column": 38 + "line": 75, + "column": 42 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2087, - "end": 2088, + "start": 2263, + "end": 2264, "loc": { "start": { - "line": 71, - "column": 38 + "line": 75, + "column": 42 }, "end": { - "line": 71, - "column": 39 + "line": 75, + "column": 43 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102520,101 +103618,91 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 2089, - "end": 2094, + "start": 2264, + "end": 2265, "loc": { "start": { - "line": 71, - "column": 40 + "line": 75, + "column": 43 }, "end": { - "line": 71, - "column": 45 + "line": 75, + "column": 44 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2094, - "end": 2095, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 71, - "column": 45 + "line": 75, + "column": 44 }, "end": { - "line": 71, - "column": 46 + "line": 75, + "column": 45 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2096, - "end": 2098, + "start": 2275, + "end": 2276, "loc": { "start": { - "line": 71, - "column": 47 + "line": 76, + "column": 8 }, "end": { - "line": 71, - "column": 49 + "line": 76, + "column": 9 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2099, - "end": 2100, + "type": "CommentLine", + "value": " parse options", + "start": 2286, + "end": 2302, "loc": { "start": { - "line": 71, - "column": 50 + "line": 78, + "column": 8 }, "end": { - "line": 71, - "column": 51 + "line": 78, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102624,17 +103712,17 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2113, - "end": 2119, + "value": "let", + "start": 2311, + "end": 2314, "loc": { "start": { - "line": 72, - "column": 12 + "line": 79, + "column": 8 }, "end": { - "line": 72, - "column": 18 + "line": 79, + "column": 11 } } }, @@ -102650,48 +103738,51 @@ "postfix": false, "binop": null }, - "value": "formatTime", - "start": 2120, - "end": 2130, + "value": "mergedOptions", + "start": 2315, + "end": 2328, "loc": { "start": { - "line": 72, - "column": 19 + "line": 79, + "column": 12 }, "end": { - "line": 72, - "column": 29 + "line": 79, + "column": 25 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2130, - "end": 2131, + "value": "=", + "start": 2329, + "end": 2330, "loc": { "start": { - "line": 72, - "column": 29 + "line": 79, + "column": 26 }, "end": { - "line": 72, - "column": 30 + "line": 79, + "column": 27 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -102699,26 +103790,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "seconds", - "start": 2131, - "end": 2138, + "value": "this", + "start": 2331, + "end": 2335, "loc": { "start": { - "line": 72, - "column": 30 + "line": 79, + "column": 28 }, "end": { - "line": 72, - "column": 37 + "line": 79, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102728,16 +103820,16 @@ "binop": null, "updateContext": null }, - "start": 2138, - "end": 2139, + "start": 2335, + "end": 2336, "loc": { "start": { - "line": 72, - "column": 37 + "line": 79, + "column": 32 }, "end": { - "line": 72, - "column": 38 + "line": 79, + "column": 33 } } }, @@ -102753,43 +103845,42 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 2140, - "end": 2145, + "value": "parseOptions", + "start": 2336, + "end": 2348, "loc": { "start": { - "line": 72, - "column": 39 + "line": 79, + "column": 33 }, "end": { - "line": 72, - "column": 44 + "line": 79, + "column": 45 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2145, - "end": 2146, + "start": 2348, + "end": 2349, "loc": { "start": { - "line": 72, - "column": 44 + "line": 79, + "column": 45 }, "end": { - "line": 72, - "column": 45 + "line": 79, + "column": 46 } } }, @@ -102808,15 +103899,15 @@ "updateContext": null }, "value": "this", - "start": 2147, - "end": 2151, + "start": 2349, + "end": 2353, "loc": { "start": { - "line": 72, + "line": 79, "column": 46 }, "end": { - "line": 72, + "line": 79, "column": 50 } } @@ -102834,15 +103925,15 @@ "binop": null, "updateContext": null }, - "start": 2151, - "end": 2152, + "start": 2353, + "end": 2354, "loc": { "start": { - "line": 72, + "line": 79, "column": 50 }, "end": { - "line": 72, + "line": 79, "column": 51 } } @@ -102859,23 +103950,23 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 2152, - "end": 2164, + "value": "player", + "start": 2354, + "end": 2360, "loc": { "start": { - "line": 72, + "line": 79, "column": 51 }, "end": { - "line": 72, - "column": 63 + "line": 79, + "column": 57 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102883,50 +103974,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2164, - "end": 2165, + "start": 2360, + "end": 2361, "loc": { "start": { - "line": 72, - "column": 63 + "line": 79, + "column": 57 }, "end": { - "line": 72, - "column": 64 + "line": 79, + "column": 58 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2165, - "end": 2166, + "value": "options_", + "start": 2361, + "end": 2369, "loc": { "start": { - "line": 72, - "column": 64 + "line": 79, + "column": 58 }, "end": { - "line": 72, - "column": 65 + "line": 79, + "column": 66 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102934,26 +104026,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2175, - "end": 2176, + "start": 2369, + "end": 2370, "loc": { "start": { - "line": 73, - "column": 8 + "line": 79, + "column": 66 }, "end": { - "line": 73, - "column": 9 + "line": 79, + "column": 67 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102961,23 +104054,24 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "value": "plugins", + "start": 2370, + "end": 2377, "loc": { "start": { - "line": 73, - "column": 9 + "line": 79, + "column": 67 }, "end": { - "line": 73, - "column": 10 + "line": 79, + "column": 74 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102987,95 +104081,108 @@ "binop": null, "updateContext": null }, - "start": 2177, - "end": 2178, + "start": 2377, + "end": 2378, "loc": { "start": { - "line": 73, - "column": 10 - }, - "end": { - "line": 73, - "column": 11 - } - } - }, - { - "type": "CommentLine", - "value": " the native controls don't work for this UI so disable", - "start": 2188, - "end": 2244, - "loc": { - "start": { - "line": 75, - "column": 8 + "line": 79, + "column": 74 }, "end": { - "line": 75, - "column": 64 + "line": 79, + "column": 75 } } }, { - "type": "CommentLine", - "value": " them no matter what", - "start": 2253, - "end": 2275, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wavesurfer", + "start": 2378, + "end": 2388, "loc": { "start": { - "line": 76, - "column": 8 + "line": 79, + "column": 75 }, "end": { - "line": 76, - "column": 30 + "line": 79, + "column": 85 } } }, { - "type": "CommentLine", - "value": " XXX: doublecheck this", - "start": 2284, - "end": 2308, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2388, + "end": 2389, "loc": { "start": { - "line": 77, - "column": 8 + "line": 79, + "column": 85 }, "end": { - "line": 77, - "column": 32 + "line": 79, + "column": 86 } } }, { - "type": "CommentBlock", - "value": "\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n ", - "start": 2317, - "end": 2522, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2389, + "end": 2390, "loc": { "start": { - "line": 78, - "column": 8 + "line": 79, + "column": 86 }, "end": { - "line": 84, - "column": 10 + "line": 79, + "column": 87 } } }, { "type": "CommentLine", "value": " controls", - "start": 2532, - "end": 2543, + "start": 2400, + "end": 2411, "loc": { "start": { - "line": 86, + "line": 81, "column": 8 }, "end": { - "line": 86, + "line": 81, "column": 19 } } @@ -103095,15 +104202,15 @@ "updateContext": null }, "value": "if", - "start": 2552, - "end": 2554, + "start": 2420, + "end": 2422, "loc": { "start": { - "line": 87, + "line": 82, "column": 8 }, "end": { - "line": 87, + "line": 82, "column": 10 } } @@ -103120,15 +104227,15 @@ "postfix": false, "binop": null }, - "start": 2555, - "end": 2556, + "start": 2423, + "end": 2424, "loc": { "start": { - "line": 87, + "line": 82, "column": 11 }, "end": { - "line": 87, + "line": 82, "column": 12 } } @@ -103148,15 +104255,15 @@ "updateContext": null }, "value": "this", - "start": 2556, - "end": 2560, + "start": 2424, + "end": 2428, "loc": { "start": { - "line": 87, + "line": 82, "column": 12 }, "end": { - "line": 87, + "line": 82, "column": 16 } } @@ -103174,15 +104281,15 @@ "binop": null, "updateContext": null }, - "start": 2560, - "end": 2561, + "start": 2428, + "end": 2429, "loc": { "start": { - "line": 87, + "line": 82, "column": 16 }, "end": { - "line": 87, + "line": 82, "column": 17 } } @@ -103200,15 +104307,15 @@ "binop": null }, "value": "player", - "start": 2561, - "end": 2567, + "start": 2429, + "end": 2435, "loc": { "start": { - "line": 87, + "line": 82, "column": 17 }, "end": { - "line": 87, + "line": 82, "column": 23 } } @@ -103226,15 +104333,15 @@ "binop": null, "updateContext": null }, - "start": 2567, - "end": 2568, + "start": 2435, + "end": 2436, "loc": { "start": { - "line": 87, + "line": 82, "column": 23 }, "end": { - "line": 87, + "line": 82, "column": 24 } } @@ -103252,15 +104359,15 @@ "binop": null }, "value": "options_", - "start": 2568, - "end": 2576, + "start": 2436, + "end": 2444, "loc": { "start": { - "line": 87, + "line": 82, "column": 24 }, "end": { - "line": 87, + "line": 82, "column": 32 } } @@ -103278,15 +104385,15 @@ "binop": null, "updateContext": null }, - "start": 2576, - "end": 2577, + "start": 2444, + "end": 2445, "loc": { "start": { - "line": 87, + "line": 82, "column": 32 }, "end": { - "line": 87, + "line": 82, "column": 33 } } @@ -103304,15 +104411,15 @@ "binop": null }, "value": "controls", - "start": 2577, - "end": 2585, + "start": 2445, + "end": 2453, "loc": { "start": { - "line": 87, + "line": 82, "column": 33 }, "end": { - "line": 87, + "line": 82, "column": 41 } } @@ -103331,15 +104438,15 @@ "updateContext": null }, "value": "===", - "start": 2586, - "end": 2589, + "start": 2454, + "end": 2457, "loc": { "start": { - "line": 87, + "line": 82, "column": 42 }, "end": { - "line": 87, + "line": 82, "column": 45 } } @@ -103359,15 +104466,15 @@ "updateContext": null }, "value": "true", - "start": 2590, - "end": 2594, + "start": 2458, + "end": 2462, "loc": { "start": { - "line": 87, + "line": 82, "column": 46 }, "end": { - "line": 87, + "line": 82, "column": 50 } } @@ -103384,15 +104491,15 @@ "postfix": false, "binop": null }, - "start": 2594, - "end": 2595, + "start": 2462, + "end": 2463, "loc": { "start": { - "line": 87, + "line": 82, "column": 50 }, "end": { - "line": 87, + "line": 82, "column": 51 } } @@ -103409,15 +104516,15 @@ "postfix": false, "binop": null }, - "start": 2596, - "end": 2597, + "start": 2464, + "end": 2465, "loc": { "start": { - "line": 87, + "line": 82, "column": 52 }, "end": { - "line": 87, + "line": 82, "column": 53 } } @@ -103425,15 +104532,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2610, - "end": 2645, + "start": 2478, + "end": 2513, "loc": { "start": { - "line": 88, + "line": 83, "column": 12 }, "end": { - "line": 88, + "line": 83, "column": 47 } } @@ -103441,15 +104548,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2658, - "end": 2720, + "start": 2526, + "end": 2588, "loc": { "start": { - "line": 89, + "line": 84, "column": 12 }, "end": { - "line": 89, + "line": 84, "column": 74 } } @@ -103457,15 +104564,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2733, - "end": 2785, + "start": 2601, + "end": 2653, "loc": { "start": { - "line": 90, + "line": 85, "column": 12 }, "end": { - "line": 90, + "line": 85, "column": 64 } } @@ -103485,15 +104592,15 @@ "updateContext": null }, "value": "this", - "start": 2798, - "end": 2802, + "start": 2666, + "end": 2670, "loc": { "start": { - "line": 91, + "line": 86, "column": 12 }, "end": { - "line": 91, + "line": 86, "column": 16 } } @@ -103511,15 +104618,15 @@ "binop": null, "updateContext": null }, - "start": 2802, - "end": 2803, + "start": 2670, + "end": 2671, "loc": { "start": { - "line": 91, + "line": 86, "column": 16 }, "end": { - "line": 91, + "line": 86, "column": 17 } } @@ -103537,15 +104644,15 @@ "binop": null }, "value": "player", - "start": 2803, - "end": 2809, + "start": 2671, + "end": 2677, "loc": { "start": { - "line": 91, + "line": 86, "column": 17 }, "end": { - "line": 91, + "line": 86, "column": 23 } } @@ -103563,15 +104670,15 @@ "binop": null, "updateContext": null }, - "start": 2809, - "end": 2810, + "start": 2677, + "end": 2678, "loc": { "start": { - "line": 91, + "line": 86, "column": 23 }, "end": { - "line": 91, + "line": 86, "column": 24 } } @@ -103589,15 +104696,15 @@ "binop": null }, "value": "controlBar", - "start": 2810, - "end": 2820, + "start": 2678, + "end": 2688, "loc": { "start": { - "line": 91, + "line": 86, "column": 24 }, "end": { - "line": 91, + "line": 86, "column": 34 } } @@ -103615,15 +104722,15 @@ "binop": null, "updateContext": null }, - "start": 2820, - "end": 2821, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 91, + "line": 86, "column": 34 }, "end": { - "line": 91, + "line": 86, "column": 35 } } @@ -103641,15 +104748,15 @@ "binop": null }, "value": "show", - "start": 2821, - "end": 2825, + "start": 2689, + "end": 2693, "loc": { "start": { - "line": 91, + "line": 86, "column": 35 }, "end": { - "line": 91, + "line": 86, "column": 39 } } @@ -103666,15 +104773,15 @@ "postfix": false, "binop": null }, - "start": 2825, - "end": 2826, + "start": 2693, + "end": 2694, "loc": { "start": { - "line": 91, + "line": 86, "column": 39 }, "end": { - "line": 91, + "line": 86, "column": 40 } } @@ -103691,15 +104798,15 @@ "postfix": false, "binop": null }, - "start": 2826, - "end": 2827, + "start": 2694, + "end": 2695, "loc": { "start": { - "line": 91, + "line": 86, "column": 40 }, "end": { - "line": 91, + "line": 86, "column": 41 } } @@ -103717,15 +104824,15 @@ "binop": null, "updateContext": null }, - "start": 2827, - "end": 2828, + "start": 2695, + "end": 2696, "loc": { "start": { - "line": 91, + "line": 86, "column": 41 }, "end": { - "line": 91, + "line": 86, "column": 42 } } @@ -103745,15 +104852,15 @@ "updateContext": null }, "value": "this", - "start": 2841, - "end": 2845, + "start": 2709, + "end": 2713, "loc": { "start": { - "line": 92, + "line": 87, "column": 12 }, "end": { - "line": 92, + "line": 87, "column": 16 } } @@ -103771,15 +104878,15 @@ "binop": null, "updateContext": null }, - "start": 2845, - "end": 2846, + "start": 2713, + "end": 2714, "loc": { "start": { - "line": 92, + "line": 87, "column": 16 }, "end": { - "line": 92, + "line": 87, "column": 17 } } @@ -103797,15 +104904,15 @@ "binop": null }, "value": "player", - "start": 2846, - "end": 2852, + "start": 2714, + "end": 2720, "loc": { "start": { - "line": 92, + "line": 87, "column": 17 }, "end": { - "line": 92, + "line": 87, "column": 23 } } @@ -103823,15 +104930,15 @@ "binop": null, "updateContext": null }, - "start": 2852, - "end": 2853, + "start": 2720, + "end": 2721, "loc": { "start": { - "line": 92, + "line": 87, "column": 23 }, "end": { - "line": 92, + "line": 87, "column": 24 } } @@ -103849,15 +104956,15 @@ "binop": null }, "value": "controlBar", - "start": 2853, - "end": 2863, + "start": 2721, + "end": 2731, "loc": { "start": { - "line": 92, + "line": 87, "column": 24 }, "end": { - "line": 92, + "line": 87, "column": 34 } } @@ -103875,15 +104982,15 @@ "binop": null, "updateContext": null }, - "start": 2863, - "end": 2864, + "start": 2731, + "end": 2732, "loc": { "start": { - "line": 92, + "line": 87, "column": 34 }, "end": { - "line": 92, + "line": 87, "column": 35 } } @@ -103901,15 +105008,15 @@ "binop": null }, "value": "el_", - "start": 2864, - "end": 2867, + "start": 2732, + "end": 2735, "loc": { "start": { - "line": 92, + "line": 87, "column": 35 }, "end": { - "line": 92, + "line": 87, "column": 38 } } @@ -103927,15 +105034,15 @@ "binop": null, "updateContext": null }, - "start": 2867, - "end": 2868, + "start": 2735, + "end": 2736, "loc": { "start": { - "line": 92, + "line": 87, "column": 38 }, "end": { - "line": 92, + "line": 87, "column": 39 } } @@ -103953,15 +105060,15 @@ "binop": null }, "value": "style", - "start": 2868, - "end": 2873, + "start": 2736, + "end": 2741, "loc": { "start": { - "line": 92, + "line": 87, "column": 39 }, "end": { - "line": 92, + "line": 87, "column": 44 } } @@ -103979,15 +105086,15 @@ "binop": null, "updateContext": null }, - "start": 2873, - "end": 2874, + "start": 2741, + "end": 2742, "loc": { "start": { - "line": 92, + "line": 87, "column": 44 }, "end": { - "line": 92, + "line": 87, "column": 45 } } @@ -104005,15 +105112,15 @@ "binop": null }, "value": "display", - "start": 2874, - "end": 2881, + "start": 2742, + "end": 2749, "loc": { "start": { - "line": 92, + "line": 87, "column": 45 }, "end": { - "line": 92, + "line": 87, "column": 52 } } @@ -104032,15 +105139,15 @@ "updateContext": null }, "value": "=", - "start": 2882, - "end": 2883, + "start": 2750, + "end": 2751, "loc": { "start": { - "line": 92, + "line": 87, "column": 53 }, "end": { - "line": 92, + "line": 87, "column": 54 } } @@ -104059,15 +105166,15 @@ "updateContext": null }, "value": "flex", - "start": 2884, - "end": 2890, + "start": 2752, + "end": 2758, "loc": { "start": { - "line": 92, + "line": 87, "column": 55 }, "end": { - "line": 92, + "line": 87, "column": 61 } } @@ -104085,15 +105192,15 @@ "binop": null, "updateContext": null }, - "start": 2890, - "end": 2891, + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 92, + "line": 87, "column": 61 }, "end": { - "line": 92, + "line": 87, "column": 62 } } @@ -104101,15 +105208,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2905, - "end": 2972, + "start": 2773, + "end": 2840, "loc": { "start": { - "line": 94, + "line": 89, "column": 12 }, "end": { - "line": 94, + "line": 89, "column": 79 } } @@ -104129,15 +105236,15 @@ "updateContext": null }, "value": "if", - "start": 2985, - "end": 2987, + "start": 2853, + "end": 2855, "loc": { "start": { - "line": 95, + "line": 90, "column": 12 }, "end": { - "line": 95, + "line": 90, "column": 14 } } @@ -104154,15 +105261,15 @@ "postfix": false, "binop": null }, - "start": 2988, - "end": 2989, + "start": 2856, + "end": 2857, "loc": { "start": { - "line": 95, + "line": 90, "column": 15 }, "end": { - "line": 95, + "line": 90, "column": 16 } } @@ -104182,15 +105289,15 @@ "updateContext": null }, "value": "this", - "start": 2989, - "end": 2993, + "start": 2857, + "end": 2861, "loc": { "start": { - "line": 95, + "line": 90, "column": 16 }, "end": { - "line": 95, + "line": 90, "column": 20 } } @@ -104208,15 +105315,15 @@ "binop": null, "updateContext": null }, - "start": 2993, - "end": 2994, + "start": 2861, + "end": 2862, "loc": { "start": { - "line": 95, + "line": 90, "column": 20 }, "end": { - "line": 95, + "line": 90, "column": 21 } } @@ -104234,15 +105341,15 @@ "binop": null }, "value": "backend", - "start": 2994, - "end": 3001, + "start": 2862, + "end": 2869, "loc": { "start": { - "line": 95, + "line": 90, "column": 21 }, "end": { - "line": 95, + "line": 90, "column": 28 } } @@ -104261,22 +105368,22 @@ "updateContext": null }, "value": "===", - "start": 3002, - "end": 3005, + "start": 2870, + "end": 2873, "loc": { "start": { - "line": 95, + "line": 90, "column": 29 }, "end": { - "line": 95, + "line": 90, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104284,20 +105391,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 3006, - "end": 3016, + "value": "WEBAUDIO", + "start": 2874, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 90, "column": 33 }, "end": { - "line": 95, - "column": 43 + "line": 90, + "column": 41 } } }, @@ -104315,16 +105421,16 @@ "updateContext": null }, "value": "&&", - "start": 3017, - "end": 3019, + "start": 2883, + "end": 2885, "loc": { "start": { - "line": 95, - "column": 44 + "line": 90, + "column": 42 }, "end": { - "line": 95, - "column": 46 + "line": 90, + "column": 44 } } }, @@ -104343,15 +105449,15 @@ "updateContext": null }, "value": "this", - "start": 3036, - "end": 3040, + "start": 2902, + "end": 2906, "loc": { "start": { - "line": 96, + "line": 91, "column": 16 }, "end": { - "line": 96, + "line": 91, "column": 20 } } @@ -104369,15 +105475,15 @@ "binop": null, "updateContext": null }, - "start": 3040, - "end": 3041, + "start": 2906, + "end": 2907, "loc": { "start": { - "line": 96, + "line": 91, "column": 20 }, "end": { - "line": 96, + "line": 91, "column": 21 } } @@ -104395,15 +105501,15 @@ "binop": null }, "value": "player", - "start": 3041, - "end": 3047, + "start": 2907, + "end": 2913, "loc": { "start": { - "line": 96, + "line": 91, "column": 21 }, "end": { - "line": 96, + "line": 91, "column": 27 } } @@ -104421,15 +105527,15 @@ "binop": null, "updateContext": null }, - "start": 3047, - "end": 3048, + "start": 2913, + "end": 2914, "loc": { "start": { - "line": 96, + "line": 91, "column": 27 }, "end": { - "line": 96, + "line": 91, "column": 28 } } @@ -104447,15 +105553,15 @@ "binop": null }, "value": "controlBar", - "start": 3048, - "end": 3058, + "start": 2914, + "end": 2924, "loc": { "start": { - "line": 96, + "line": 91, "column": 28 }, "end": { - "line": 96, + "line": 91, "column": 38 } } @@ -104473,15 +105579,15 @@ "binop": null, "updateContext": null }, - "start": 3058, - "end": 3059, + "start": 2924, + "end": 2925, "loc": { "start": { - "line": 96, + "line": 91, "column": 38 }, "end": { - "line": 96, + "line": 91, "column": 39 } } @@ -104499,15 +105605,15 @@ "binop": null }, "value": "progressControl", - "start": 3059, - "end": 3074, + "start": 2925, + "end": 2940, "loc": { "start": { - "line": 96, + "line": 91, "column": 39 }, "end": { - "line": 96, + "line": 91, "column": 54 } } @@ -104526,15 +105632,15 @@ "updateContext": null }, "value": "!==", - "start": 3075, - "end": 3078, + "start": 2941, + "end": 2944, "loc": { "start": { - "line": 96, + "line": 91, "column": 55 }, "end": { - "line": 96, + "line": 91, "column": 58 } } @@ -104552,15 +105658,15 @@ "binop": null }, "value": "undefined", - "start": 3079, - "end": 3088, + "start": 2945, + "end": 2954, "loc": { "start": { - "line": 96, + "line": 91, "column": 59 }, "end": { - "line": 96, + "line": 91, "column": 68 } } @@ -104577,15 +105683,15 @@ "postfix": false, "binop": null }, - "start": 3088, - "end": 3089, + "start": 2954, + "end": 2955, "loc": { "start": { - "line": 96, + "line": 91, "column": 68 }, "end": { - "line": 96, + "line": 91, "column": 69 } } @@ -104602,15 +105708,15 @@ "postfix": false, "binop": null }, - "start": 3090, - "end": 3091, + "start": 2956, + "end": 2957, "loc": { "start": { - "line": 96, + "line": 91, "column": 70 }, "end": { - "line": 96, + "line": 91, "column": 71 } } @@ -104630,15 +105736,15 @@ "updateContext": null }, "value": "this", - "start": 3108, - "end": 3112, + "start": 2974, + "end": 2978, "loc": { "start": { - "line": 97, + "line": 92, "column": 16 }, "end": { - "line": 97, + "line": 92, "column": 20 } } @@ -104656,15 +105762,15 @@ "binop": null, "updateContext": null }, - "start": 3112, - "end": 3113, + "start": 2978, + "end": 2979, "loc": { "start": { - "line": 97, + "line": 92, "column": 20 }, "end": { - "line": 97, + "line": 92, "column": 21 } } @@ -104682,15 +105788,15 @@ "binop": null }, "value": "player", - "start": 3113, - "end": 3119, + "start": 2979, + "end": 2985, "loc": { "start": { - "line": 97, + "line": 92, "column": 21 }, "end": { - "line": 97, + "line": 92, "column": 27 } } @@ -104708,15 +105814,15 @@ "binop": null, "updateContext": null }, - "start": 3119, - "end": 3120, + "start": 2985, + "end": 2986, "loc": { "start": { - "line": 97, + "line": 92, "column": 27 }, "end": { - "line": 97, + "line": 92, "column": 28 } } @@ -104734,15 +105840,15 @@ "binop": null }, "value": "controlBar", - "start": 3120, - "end": 3130, + "start": 2986, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 92, "column": 28 }, "end": { - "line": 97, + "line": 92, "column": 38 } } @@ -104760,15 +105866,15 @@ "binop": null, "updateContext": null }, - "start": 3130, - "end": 3131, + "start": 2996, + "end": 2997, "loc": { "start": { - "line": 97, + "line": 92, "column": 38 }, "end": { - "line": 97, + "line": 92, "column": 39 } } @@ -104786,15 +105892,15 @@ "binop": null }, "value": "progressControl", - "start": 3131, - "end": 3146, + "start": 2997, + "end": 3012, "loc": { "start": { - "line": 97, + "line": 92, "column": 39 }, "end": { - "line": 97, + "line": 92, "column": 54 } } @@ -104812,15 +105918,15 @@ "binop": null, "updateContext": null }, - "start": 3146, - "end": 3147, + "start": 3012, + "end": 3013, "loc": { "start": { - "line": 97, + "line": 92, "column": 54 }, "end": { - "line": 97, + "line": 92, "column": 55 } } @@ -104838,15 +105944,15 @@ "binop": null }, "value": "hide", - "start": 3147, - "end": 3151, + "start": 3013, + "end": 3017, "loc": { "start": { - "line": 97, + "line": 92, "column": 55 }, "end": { - "line": 97, + "line": 92, "column": 59 } } @@ -104863,15 +105969,15 @@ "postfix": false, "binop": null }, - "start": 3151, - "end": 3152, + "start": 3017, + "end": 3018, "loc": { "start": { - "line": 97, + "line": 92, "column": 59 }, "end": { - "line": 97, + "line": 92, "column": 60 } } @@ -104888,15 +105994,15 @@ "postfix": false, "binop": null }, - "start": 3152, - "end": 3153, + "start": 3018, + "end": 3019, "loc": { "start": { - "line": 97, + "line": 92, "column": 60 }, "end": { - "line": 97, + "line": 92, "column": 61 } } @@ -104914,15 +106020,15 @@ "binop": null, "updateContext": null }, - "start": 3153, - "end": 3154, + "start": 3019, + "end": 3020, "loc": { "start": { - "line": 97, + "line": 92, "column": 61 }, "end": { - "line": 97, + "line": 92, "column": 62 } } @@ -104939,15 +106045,15 @@ "postfix": false, "binop": null }, - "start": 3167, - "end": 3168, + "start": 3033, + "end": 3034, "loc": { "start": { - "line": 98, + "line": 93, "column": 12 }, "end": { - "line": 98, + "line": 93, "column": 13 } } @@ -104955,15 +106061,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3182, - "end": 3247, + "start": 3048, + "end": 3113, "loc": { "start": { - "line": 100, + "line": 95, "column": 12 }, "end": { - "line": 100, + "line": 95, "column": 77 } } @@ -104971,15 +106077,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3260, - "end": 3322, + "start": 3126, + "end": 3188, "loc": { "start": { - "line": 101, + "line": 96, "column": 12 }, "end": { - "line": 101, + "line": 96, "column": 74 } } @@ -104987,15 +106093,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3335, - "end": 3410, + "start": 3201, + "end": 3276, "loc": { "start": { - "line": 102, + "line": 97, "column": 12 }, "end": { - "line": 102, + "line": 97, "column": 87 } } @@ -105015,15 +106121,15 @@ "updateContext": null }, "value": "if", - "start": 3423, - "end": 3425, + "start": 3289, + "end": 3291, "loc": { "start": { - "line": 103, + "line": 98, "column": 12 }, "end": { - "line": 103, + "line": 98, "column": 14 } } @@ -105040,15 +106146,15 @@ "postfix": false, "binop": null }, - "start": 3426, - "end": 3427, + "start": 3292, + "end": 3293, "loc": { "start": { - "line": 103, + "line": 98, "column": 15 }, "end": { - "line": 103, + "line": 98, "column": 16 } } @@ -105068,15 +106174,15 @@ "updateContext": null }, "value": "this", - "start": 3427, - "end": 3431, + "start": 3293, + "end": 3297, "loc": { "start": { - "line": 103, + "line": 98, "column": 16 }, "end": { - "line": 103, + "line": 98, "column": 20 } } @@ -105094,15 +106200,15 @@ "binop": null, "updateContext": null }, - "start": 3431, - "end": 3432, + "start": 3297, + "end": 3298, "loc": { "start": { - "line": 103, + "line": 98, "column": 20 }, "end": { - "line": 103, + "line": 98, "column": 21 } } @@ -105120,15 +106226,15 @@ "binop": null }, "value": "player", - "start": 3432, - "end": 3438, + "start": 3298, + "end": 3304, "loc": { "start": { - "line": 103, + "line": 98, "column": 21 }, "end": { - "line": 103, + "line": 98, "column": 27 } } @@ -105146,15 +106252,15 @@ "binop": null, "updateContext": null }, - "start": 3438, - "end": 3439, + "start": 3304, + "end": 3305, "loc": { "start": { - "line": 103, + "line": 98, "column": 27 }, "end": { - "line": 103, + "line": 98, "column": 28 } } @@ -105172,15 +106278,15 @@ "binop": null }, "value": "controlBar", - "start": 3439, - "end": 3449, + "start": 3305, + "end": 3315, "loc": { "start": { - "line": 103, + "line": 98, "column": 28 }, "end": { - "line": 103, + "line": 98, "column": 38 } } @@ -105198,15 +106304,15 @@ "binop": null, "updateContext": null }, - "start": 3449, - "end": 3450, + "start": 3315, + "end": 3316, "loc": { "start": { - "line": 103, + "line": 98, "column": 38 }, "end": { - "line": 103, + "line": 98, "column": 39 } } @@ -105224,15 +106330,15 @@ "binop": null }, "value": "pictureInPictureToggle", - "start": 3450, - "end": 3472, + "start": 3316, + "end": 3338, "loc": { "start": { - "line": 103, + "line": 98, "column": 39 }, "end": { - "line": 103, + "line": 98, "column": 61 } } @@ -105251,15 +106357,15 @@ "updateContext": null }, "value": "!==", - "start": 3473, - "end": 3476, + "start": 3339, + "end": 3342, "loc": { "start": { - "line": 103, + "line": 98, "column": 62 }, "end": { - "line": 103, + "line": 98, "column": 65 } } @@ -105277,15 +106383,15 @@ "binop": null }, "value": "undefined", - "start": 3477, - "end": 3486, + "start": 3343, + "end": 3352, "loc": { "start": { - "line": 103, + "line": 98, "column": 66 }, "end": { - "line": 103, + "line": 98, "column": 75 } } @@ -105302,15 +106408,15 @@ "postfix": false, "binop": null }, - "start": 3486, - "end": 3487, + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 103, + "line": 98, "column": 75 }, "end": { - "line": 103, + "line": 98, "column": 76 } } @@ -105327,15 +106433,15 @@ "postfix": false, "binop": null }, - "start": 3488, - "end": 3489, + "start": 3354, + "end": 3355, "loc": { "start": { - "line": 103, + "line": 98, "column": 77 }, "end": { - "line": 103, + "line": 98, "column": 78 } } @@ -105355,15 +106461,15 @@ "updateContext": null }, "value": "this", - "start": 3506, - "end": 3510, + "start": 3372, + "end": 3376, "loc": { "start": { - "line": 104, + "line": 99, "column": 16 }, "end": { - "line": 104, + "line": 99, "column": 20 } } @@ -105381,15 +106487,15 @@ "binop": null, "updateContext": null }, - "start": 3510, - "end": 3511, + "start": 3376, + "end": 3377, "loc": { "start": { - "line": 104, + "line": 99, "column": 20 }, "end": { - "line": 104, + "line": 99, "column": 21 } } @@ -105407,15 +106513,15 @@ "binop": null }, "value": "player", - "start": 3511, - "end": 3517, + "start": 3377, + "end": 3383, "loc": { "start": { - "line": 104, + "line": 99, "column": 21 }, "end": { - "line": 104, + "line": 99, "column": 27 } } @@ -105433,15 +106539,15 @@ "binop": null, "updateContext": null }, - "start": 3517, - "end": 3518, + "start": 3383, + "end": 3384, "loc": { "start": { - "line": 104, + "line": 99, "column": 27 }, "end": { - "line": 104, + "line": 99, "column": 28 } } @@ -105459,15 +106565,15 @@ "binop": null }, "value": "controlBar", - "start": 3518, - "end": 3528, + "start": 3384, + "end": 3394, "loc": { "start": { - "line": 104, + "line": 99, "column": 28 }, "end": { - "line": 104, + "line": 99, "column": 38 } } @@ -105485,15 +106591,15 @@ "binop": null, "updateContext": null }, - "start": 3528, - "end": 3529, + "start": 3394, + "end": 3395, "loc": { "start": { - "line": 104, + "line": 99, "column": 38 }, "end": { - "line": 104, + "line": 99, "column": 39 } } @@ -105511,15 +106617,15 @@ "binop": null }, "value": "pictureInPictureToggle", - "start": 3529, - "end": 3551, + "start": 3395, + "end": 3417, "loc": { "start": { - "line": 104, + "line": 99, "column": 39 }, "end": { - "line": 104, + "line": 99, "column": 61 } } @@ -105537,15 +106643,15 @@ "binop": null, "updateContext": null }, - "start": 3551, - "end": 3552, + "start": 3417, + "end": 3418, "loc": { "start": { - "line": 104, + "line": 99, "column": 61 }, "end": { - "line": 104, + "line": 99, "column": 62 } } @@ -105563,15 +106669,15 @@ "binop": null }, "value": "hide", - "start": 3552, - "end": 3556, + "start": 3418, + "end": 3422, "loc": { "start": { - "line": 104, + "line": 99, "column": 62 }, "end": { - "line": 104, + "line": 99, "column": 66 } } @@ -105588,15 +106694,15 @@ "postfix": false, "binop": null }, - "start": 3556, - "end": 3557, + "start": 3422, + "end": 3423, "loc": { "start": { - "line": 104, + "line": 99, "column": 66 }, "end": { - "line": 104, + "line": 99, "column": 67 } } @@ -105613,15 +106719,15 @@ "postfix": false, "binop": null }, - "start": 3557, - "end": 3558, + "start": 3423, + "end": 3424, "loc": { "start": { - "line": 104, + "line": 99, "column": 67 }, "end": { - "line": 104, + "line": 99, "column": 68 } } @@ -105639,15 +106745,15 @@ "binop": null, "updateContext": null }, - "start": 3558, - "end": 3559, + "start": 3424, + "end": 3425, "loc": { "start": { - "line": 104, + "line": 99, "column": 68 }, "end": { - "line": 104, + "line": 99, "column": 69 } } @@ -105664,15 +106770,15 @@ "postfix": false, "binop": null }, - "start": 3572, - "end": 3573, + "start": 3438, + "end": 3439, "loc": { "start": { - "line": 105, + "line": 100, "column": 12 }, "end": { - "line": 105, + "line": 100, "column": 13 } } @@ -105680,15 +106786,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3587, - "end": 3625, + "start": 3453, + "end": 3491, "loc": { "start": { - "line": 107, + "line": 102, "column": 12 }, "end": { - "line": 107, + "line": 102, "column": 50 } } @@ -105708,15 +106814,15 @@ "updateContext": null }, "value": "let", - "start": 3638, - "end": 3641, + "start": 3504, + "end": 3507, "loc": { "start": { - "line": 108, + "line": 103, "column": 12 }, "end": { - "line": 108, + "line": 103, "column": 15 } } @@ -105734,15 +106840,15 @@ "binop": null }, "value": "uiElements", - "start": 3642, - "end": 3652, + "start": 3508, + "end": 3518, "loc": { "start": { - "line": 108, + "line": 103, "column": 16 }, "end": { - "line": 108, + "line": 103, "column": 26 } } @@ -105761,15 +106867,15 @@ "updateContext": null }, "value": "=", - "start": 3653, - "end": 3654, + "start": 3519, + "end": 3520, "loc": { "start": { - "line": 108, + "line": 103, "column": 27 }, "end": { - "line": 108, + "line": 103, "column": 28 } } @@ -105787,15 +106893,15 @@ "binop": null, "updateContext": null }, - "start": 3655, - "end": 3656, + "start": 3521, + "end": 3522, "loc": { "start": { - "line": 108, + "line": 103, "column": 29 }, "end": { - "line": 108, + "line": 103, "column": 30 } } @@ -105814,15 +106920,15 @@ "updateContext": null }, "value": "currentTimeDisplay", - "start": 3656, - "end": 3676, + "start": 3522, + "end": 3542, "loc": { "start": { - "line": 108, + "line": 103, "column": 30 }, "end": { - "line": 108, + "line": 103, "column": 50 } } @@ -105840,15 +106946,15 @@ "binop": null, "updateContext": null }, - "start": 3676, - "end": 3677, + "start": 3542, + "end": 3543, "loc": { "start": { - "line": 108, + "line": 103, "column": 50 }, "end": { - "line": 108, + "line": 103, "column": 51 } } @@ -105867,15 +106973,15 @@ "updateContext": null }, "value": "timeDivider", - "start": 3678, - "end": 3691, + "start": 3544, + "end": 3557, "loc": { "start": { - "line": 108, + "line": 103, "column": 52 }, "end": { - "line": 108, + "line": 103, "column": 65 } } @@ -105893,15 +106999,15 @@ "binop": null, "updateContext": null }, - "start": 3691, - "end": 3692, + "start": 3557, + "end": 3558, "loc": { "start": { - "line": 108, + "line": 103, "column": 65 }, "end": { - "line": 108, + "line": 103, "column": 66 } } @@ -105920,15 +107026,15 @@ "updateContext": null }, "value": "durationDisplay", - "start": 3693, - "end": 3710, + "start": 3559, + "end": 3576, "loc": { "start": { - "line": 108, + "line": 103, "column": 67 }, "end": { - "line": 108, + "line": 103, "column": 84 } } @@ -105946,15 +107052,15 @@ "binop": null, "updateContext": null }, - "start": 3710, - "end": 3711, + "start": 3576, + "end": 3577, "loc": { "start": { - "line": 108, + "line": 103, "column": 84 }, "end": { - "line": 108, + "line": 103, "column": 85 } } @@ -105972,15 +107078,15 @@ "binop": null, "updateContext": null }, - "start": 3711, - "end": 3712, + "start": 3577, + "end": 3578, "loc": { "start": { - "line": 108, + "line": 103, "column": 85 }, "end": { - "line": 108, + "line": 103, "column": 86 } } @@ -105998,15 +107104,15 @@ "binop": null }, "value": "uiElements", - "start": 3725, - "end": 3735, + "start": 3591, + "end": 3601, "loc": { "start": { - "line": 109, + "line": 104, "column": 12 }, "end": { - "line": 109, + "line": 104, "column": 22 } } @@ -106024,15 +107130,15 @@ "binop": null, "updateContext": null }, - "start": 3735, - "end": 3736, + "start": 3601, + "end": 3602, "loc": { "start": { - "line": 109, + "line": 104, "column": 22 }, "end": { - "line": 109, + "line": 104, "column": 23 } } @@ -106050,15 +107156,15 @@ "binop": null }, "value": "forEach", - "start": 3736, - "end": 3743, + "start": 3602, + "end": 3609, "loc": { "start": { - "line": 109, + "line": 104, "column": 23 }, "end": { - "line": 109, + "line": 104, "column": 30 } } @@ -106075,15 +107181,15 @@ "postfix": false, "binop": null }, - "start": 3743, - "end": 3744, + "start": 3609, + "end": 3610, "loc": { "start": { - "line": 109, + "line": 104, "column": 30 }, "end": { - "line": 109, + "line": 104, "column": 31 } } @@ -106100,15 +107206,15 @@ "postfix": false, "binop": null }, - "start": 3744, - "end": 3745, + "start": 3610, + "end": 3611, "loc": { "start": { - "line": 109, + "line": 104, "column": 31 }, "end": { - "line": 109, + "line": 104, "column": 32 } } @@ -106126,15 +107232,15 @@ "binop": null }, "value": "element", - "start": 3745, - "end": 3752, + "start": 3611, + "end": 3618, "loc": { "start": { - "line": 109, + "line": 104, "column": 32 }, "end": { - "line": 109, + "line": 104, "column": 39 } } @@ -106151,15 +107257,15 @@ "postfix": false, "binop": null }, - "start": 3752, - "end": 3753, + "start": 3618, + "end": 3619, "loc": { "start": { - "line": 109, + "line": 104, "column": 39 }, "end": { - "line": 109, + "line": 104, "column": 40 } } @@ -106177,15 +107283,15 @@ "binop": null, "updateContext": null }, - "start": 3754, - "end": 3756, + "start": 3620, + "end": 3622, "loc": { "start": { - "line": 109, + "line": 104, "column": 41 }, "end": { - "line": 109, + "line": 104, "column": 43 } } @@ -106202,15 +107308,15 @@ "postfix": false, "binop": null }, - "start": 3757, - "end": 3758, + "start": 3623, + "end": 3624, "loc": { "start": { - "line": 109, + "line": 104, "column": 44 }, "end": { - "line": 109, + "line": 104, "column": 45 } } @@ -106218,15 +107324,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3775, - "end": 3836, + "start": 3641, + "end": 3702, "loc": { "start": { - "line": 110, + "line": 105, "column": 16 }, "end": { - "line": 110, + "line": 105, "column": 77 } } @@ -106234,15 +107340,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3853, - "end": 3863, + "start": 3719, + "end": 3729, "loc": { "start": { - "line": 111, + "line": 106, "column": 16 }, "end": { - "line": 111, + "line": 106, "column": 26 } } @@ -106260,15 +107366,15 @@ "binop": null }, "value": "element", - "start": 3880, - "end": 3887, + "start": 3746, + "end": 3753, "loc": { "start": { - "line": 112, + "line": 107, "column": 16 }, "end": { - "line": 112, + "line": 107, "column": 23 } } @@ -106287,15 +107393,15 @@ "updateContext": null }, "value": "=", - "start": 3888, - "end": 3889, + "start": 3754, + "end": 3755, "loc": { "start": { - "line": 112, + "line": 107, "column": 24 }, "end": { - "line": 112, + "line": 107, "column": 25 } } @@ -106315,15 +107421,15 @@ "updateContext": null }, "value": "this", - "start": 3890, - "end": 3894, + "start": 3756, + "end": 3760, "loc": { "start": { - "line": 112, + "line": 107, "column": 26 }, "end": { - "line": 112, + "line": 107, "column": 30 } } @@ -106341,15 +107447,15 @@ "binop": null, "updateContext": null }, - "start": 3894, - "end": 3895, + "start": 3760, + "end": 3761, "loc": { "start": { - "line": 112, + "line": 107, "column": 30 }, "end": { - "line": 112, + "line": 107, "column": 31 } } @@ -106367,15 +107473,15 @@ "binop": null }, "value": "player", - "start": 3895, - "end": 3901, + "start": 3761, + "end": 3767, "loc": { "start": { - "line": 112, + "line": 107, "column": 31 }, "end": { - "line": 112, + "line": 107, "column": 37 } } @@ -106393,15 +107499,15 @@ "binop": null, "updateContext": null }, - "start": 3901, - "end": 3902, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 112, + "line": 107, "column": 37 }, "end": { - "line": 112, + "line": 107, "column": 38 } } @@ -106419,15 +107525,15 @@ "binop": null }, "value": "controlBar", - "start": 3902, - "end": 3912, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 112, + "line": 107, "column": 38 }, "end": { - "line": 112, + "line": 107, "column": 48 } } @@ -106445,15 +107551,15 @@ "binop": null, "updateContext": null }, - "start": 3912, - "end": 3913, + "start": 3778, + "end": 3779, "loc": { "start": { - "line": 112, + "line": 107, "column": 48 }, "end": { - "line": 112, + "line": 107, "column": 49 } } @@ -106471,15 +107577,15 @@ "binop": null }, "value": "element", - "start": 3913, - "end": 3920, + "start": 3779, + "end": 3786, "loc": { "start": { - "line": 112, + "line": 107, "column": 49 }, "end": { - "line": 112, + "line": 107, "column": 56 } } @@ -106497,15 +107603,15 @@ "binop": null, "updateContext": null }, - "start": 3920, - "end": 3921, + "start": 3786, + "end": 3787, "loc": { "start": { - "line": 112, + "line": 107, "column": 56 }, "end": { - "line": 112, + "line": 107, "column": 57 } } @@ -106523,15 +107629,15 @@ "binop": null, "updateContext": null }, - "start": 3921, - "end": 3922, + "start": 3787, + "end": 3788, "loc": { "start": { - "line": 112, + "line": 107, "column": 57 }, "end": { - "line": 112, + "line": 107, "column": 58 } } @@ -106551,15 +107657,15 @@ "updateContext": null }, "value": "if", - "start": 3939, - "end": 3941, + "start": 3805, + "end": 3807, "loc": { "start": { - "line": 113, + "line": 108, "column": 16 }, "end": { - "line": 113, + "line": 108, "column": 18 } } @@ -106576,15 +107682,15 @@ "postfix": false, "binop": null }, - "start": 3942, - "end": 3943, + "start": 3808, + "end": 3809, "loc": { "start": { - "line": 113, + "line": 108, "column": 19 }, "end": { - "line": 113, + "line": 108, "column": 20 } } @@ -106602,15 +107708,15 @@ "binop": null }, "value": "element", - "start": 3943, - "end": 3950, + "start": 3809, + "end": 3816, "loc": { "start": { - "line": 113, + "line": 108, "column": 20 }, "end": { - "line": 113, + "line": 108, "column": 27 } } @@ -106629,15 +107735,15 @@ "updateContext": null }, "value": "!==", - "start": 3951, - "end": 3954, + "start": 3817, + "end": 3820, "loc": { "start": { - "line": 113, + "line": 108, "column": 28 }, "end": { - "line": 113, + "line": 108, "column": 31 } } @@ -106655,15 +107761,15 @@ "binop": null }, "value": "undefined", - "start": 3955, - "end": 3964, + "start": 3821, + "end": 3830, "loc": { "start": { - "line": 113, + "line": 108, "column": 32 }, "end": { - "line": 113, + "line": 108, "column": 41 } } @@ -106680,15 +107786,15 @@ "postfix": false, "binop": null }, - "start": 3964, - "end": 3965, + "start": 3830, + "end": 3831, "loc": { "start": { - "line": 113, + "line": 108, "column": 41 }, "end": { - "line": 113, + "line": 108, "column": 42 } } @@ -106705,15 +107811,15 @@ "postfix": false, "binop": null }, - "start": 3966, - "end": 3967, + "start": 3832, + "end": 3833, "loc": { "start": { - "line": 113, + "line": 108, "column": 43 }, "end": { - "line": 113, + "line": 108, "column": 44 } } @@ -106731,15 +107837,15 @@ "binop": null }, "value": "element", - "start": 3988, - "end": 3995, + "start": 3854, + "end": 3861, "loc": { "start": { - "line": 114, + "line": 109, "column": 20 }, "end": { - "line": 114, + "line": 109, "column": 27 } } @@ -106757,15 +107863,15 @@ "binop": null, "updateContext": null }, - "start": 3995, - "end": 3996, + "start": 3861, + "end": 3862, "loc": { "start": { - "line": 114, + "line": 109, "column": 27 }, "end": { - "line": 114, + "line": 109, "column": 28 } } @@ -106783,15 +107889,15 @@ "binop": null }, "value": "el_", - "start": 3996, - "end": 3999, + "start": 3862, + "end": 3865, "loc": { "start": { - "line": 114, + "line": 109, "column": 28 }, "end": { - "line": 114, + "line": 109, "column": 31 } } @@ -106809,15 +107915,15 @@ "binop": null, "updateContext": null }, - "start": 3999, - "end": 4000, + "start": 3865, + "end": 3866, "loc": { "start": { - "line": 114, + "line": 109, "column": 31 }, "end": { - "line": 114, + "line": 109, "column": 32 } } @@ -106835,15 +107941,15 @@ "binop": null }, "value": "style", - "start": 4000, - "end": 4005, + "start": 3866, + "end": 3871, "loc": { "start": { - "line": 114, + "line": 109, "column": 32 }, "end": { - "line": 114, + "line": 109, "column": 37 } } @@ -106861,15 +107967,15 @@ "binop": null, "updateContext": null }, - "start": 4005, - "end": 4006, + "start": 3871, + "end": 3872, "loc": { "start": { - "line": 114, + "line": 109, "column": 37 }, "end": { - "line": 114, + "line": 109, "column": 38 } } @@ -106887,15 +107993,15 @@ "binop": null }, "value": "display", - "start": 4006, - "end": 4013, + "start": 3872, + "end": 3879, "loc": { "start": { - "line": 114, + "line": 109, "column": 38 }, "end": { - "line": 114, + "line": 109, "column": 45 } } @@ -106914,15 +108020,15 @@ "updateContext": null }, "value": "=", - "start": 4014, - "end": 4015, + "start": 3880, + "end": 3881, "loc": { "start": { - "line": 114, + "line": 109, "column": 46 }, "end": { - "line": 114, + "line": 109, "column": 47 } } @@ -106941,15 +108047,15 @@ "updateContext": null }, "value": "block", - "start": 4016, - "end": 4023, + "start": 3882, + "end": 3889, "loc": { "start": { - "line": 114, + "line": 109, "column": 48 }, "end": { - "line": 114, + "line": 109, "column": 55 } } @@ -106967,15 +108073,15 @@ "binop": null, "updateContext": null }, - "start": 4023, - "end": 4024, + "start": 3889, + "end": 3890, "loc": { "start": { - "line": 114, + "line": 109, "column": 55 }, "end": { - "line": 114, + "line": 109, "column": 56 } } @@ -106993,15 +108099,15 @@ "binop": null }, "value": "element", - "start": 4045, - "end": 4052, + "start": 3911, + "end": 3918, "loc": { "start": { - "line": 115, + "line": 110, "column": 20 }, "end": { - "line": 115, + "line": 110, "column": 27 } } @@ -107019,15 +108125,15 @@ "binop": null, "updateContext": null }, - "start": 4052, - "end": 4053, + "start": 3918, + "end": 3919, "loc": { "start": { - "line": 115, + "line": 110, "column": 27 }, "end": { - "line": 115, + "line": 110, "column": 28 } } @@ -107045,15 +108151,15 @@ "binop": null }, "value": "show", - "start": 4053, - "end": 4057, + "start": 3919, + "end": 3923, "loc": { "start": { - "line": 115, + "line": 110, "column": 28 }, "end": { - "line": 115, + "line": 110, "column": 32 } } @@ -107070,15 +108176,15 @@ "postfix": false, "binop": null }, - "start": 4057, - "end": 4058, + "start": 3923, + "end": 3924, "loc": { "start": { - "line": 115, + "line": 110, "column": 32 }, "end": { - "line": 115, + "line": 110, "column": 33 } } @@ -107095,15 +108201,15 @@ "postfix": false, "binop": null }, - "start": 4058, - "end": 4059, + "start": 3924, + "end": 3925, "loc": { "start": { - "line": 115, + "line": 110, "column": 33 }, "end": { - "line": 115, + "line": 110, "column": 34 } } @@ -107121,15 +108227,15 @@ "binop": null, "updateContext": null }, - "start": 4059, - "end": 4060, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 115, + "line": 110, "column": 34 }, "end": { - "line": 115, + "line": 110, "column": 35 } } @@ -107146,15 +108252,15 @@ "postfix": false, "binop": null }, - "start": 4077, - "end": 4078, + "start": 3943, + "end": 3944, "loc": { "start": { - "line": 116, + "line": 111, "column": 16 }, "end": { - "line": 116, + "line": 111, "column": 17 } } @@ -107171,15 +108277,15 @@ "postfix": false, "binop": null }, - "start": 4091, - "end": 4092, + "start": 3957, + "end": 3958, "loc": { "start": { - "line": 117, + "line": 112, "column": 12 }, "end": { - "line": 117, + "line": 112, "column": 13 } } @@ -107196,15 +108302,15 @@ "postfix": false, "binop": null }, - "start": 4092, - "end": 4093, + "start": 3958, + "end": 3959, "loc": { "start": { - "line": 117, + "line": 112, "column": 13 }, "end": { - "line": 117, + "line": 112, "column": 14 } } @@ -107222,15 +108328,15 @@ "binop": null, "updateContext": null }, - "start": 4093, - "end": 4094, + "start": 3959, + "end": 3960, "loc": { "start": { - "line": 117, + "line": 112, "column": 14 }, "end": { - "line": 117, + "line": 112, "column": 15 } } @@ -107250,15 +108356,15 @@ "updateContext": null }, "value": "if", - "start": 4107, - "end": 4109, + "start": 3973, + "end": 3975, "loc": { "start": { - "line": 118, + "line": 113, "column": 12 }, "end": { - "line": 118, + "line": 113, "column": 14 } } @@ -107275,15 +108381,15 @@ "postfix": false, "binop": null }, - "start": 4110, - "end": 4111, + "start": 3976, + "end": 3977, "loc": { "start": { - "line": 118, + "line": 113, "column": 15 }, "end": { - "line": 118, + "line": 113, "column": 16 } } @@ -107303,15 +108409,15 @@ "updateContext": null }, "value": "this", - "start": 4111, - "end": 4115, + "start": 3977, + "end": 3981, "loc": { "start": { - "line": 118, + "line": 113, "column": 16 }, "end": { - "line": 118, + "line": 113, "column": 20 } } @@ -107329,15 +108435,15 @@ "binop": null, "updateContext": null }, - "start": 4115, - "end": 4116, + "start": 3981, + "end": 3982, "loc": { "start": { - "line": 118, + "line": 113, "column": 20 }, "end": { - "line": 118, + "line": 113, "column": 21 } } @@ -107355,15 +108461,15 @@ "binop": null }, "value": "player", - "start": 4116, - "end": 4122, + "start": 3982, + "end": 3988, "loc": { "start": { - "line": 118, + "line": 113, "column": 21 }, "end": { - "line": 118, + "line": 113, "column": 27 } } @@ -107381,15 +108487,15 @@ "binop": null, "updateContext": null }, - "start": 4122, - "end": 4123, + "start": 3988, + "end": 3989, "loc": { "start": { - "line": 118, + "line": 113, "column": 27 }, "end": { - "line": 118, + "line": 113, "column": 28 } } @@ -107407,15 +108513,15 @@ "binop": null }, "value": "controlBar", - "start": 4123, - "end": 4133, + "start": 3989, + "end": 3999, "loc": { "start": { - "line": 118, + "line": 113, "column": 28 }, "end": { - "line": 118, + "line": 113, "column": 38 } } @@ -107433,15 +108539,15 @@ "binop": null, "updateContext": null }, - "start": 4133, - "end": 4134, + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 118, + "line": 113, "column": 38 }, "end": { - "line": 118, + "line": 113, "column": 39 } } @@ -107459,15 +108565,15 @@ "binop": null }, "value": "remainingTimeDisplay", - "start": 4134, - "end": 4154, + "start": 4000, + "end": 4020, "loc": { "start": { - "line": 118, + "line": 113, "column": 39 }, "end": { - "line": 118, + "line": 113, "column": 59 } } @@ -107486,15 +108592,15 @@ "updateContext": null }, "value": "!==", - "start": 4155, - "end": 4158, + "start": 4021, + "end": 4024, "loc": { "start": { - "line": 118, + "line": 113, "column": 60 }, "end": { - "line": 118, + "line": 113, "column": 63 } } @@ -107512,15 +108618,15 @@ "binop": null }, "value": "undefined", - "start": 4159, - "end": 4168, + "start": 4025, + "end": 4034, "loc": { "start": { - "line": 118, + "line": 113, "column": 64 }, "end": { - "line": 118, + "line": 113, "column": 73 } } @@ -107537,15 +108643,15 @@ "postfix": false, "binop": null }, - "start": 4168, - "end": 4169, + "start": 4034, + "end": 4035, "loc": { "start": { - "line": 118, + "line": 113, "column": 73 }, "end": { - "line": 118, + "line": 113, "column": 74 } } @@ -107562,15 +108668,15 @@ "postfix": false, "binop": null }, - "start": 4170, - "end": 4171, + "start": 4036, + "end": 4037, "loc": { "start": { - "line": 118, + "line": 113, "column": 75 }, "end": { - "line": 118, + "line": 113, "column": 76 } } @@ -107590,15 +108696,15 @@ "updateContext": null }, "value": "this", - "start": 4188, - "end": 4192, + "start": 4054, + "end": 4058, "loc": { "start": { - "line": 119, + "line": 114, "column": 16 }, "end": { - "line": 119, + "line": 114, "column": 20 } } @@ -107616,15 +108722,15 @@ "binop": null, "updateContext": null }, - "start": 4192, - "end": 4193, + "start": 4058, + "end": 4059, "loc": { "start": { - "line": 119, + "line": 114, "column": 20 }, "end": { - "line": 119, + "line": 114, "column": 21 } } @@ -107642,15 +108748,15 @@ "binop": null }, "value": "player", - "start": 4193, - "end": 4199, + "start": 4059, + "end": 4065, "loc": { "start": { - "line": 119, + "line": 114, "column": 21 }, "end": { - "line": 119, + "line": 114, "column": 27 } } @@ -107668,15 +108774,15 @@ "binop": null, "updateContext": null }, - "start": 4199, - "end": 4200, + "start": 4065, + "end": 4066, "loc": { "start": { - "line": 119, + "line": 114, "column": 27 }, "end": { - "line": 119, + "line": 114, "column": 28 } } @@ -107694,15 +108800,15 @@ "binop": null }, "value": "controlBar", - "start": 4200, - "end": 4210, + "start": 4066, + "end": 4076, "loc": { "start": { - "line": 119, + "line": 114, "column": 28 }, "end": { - "line": 119, + "line": 114, "column": 38 } } @@ -107720,15 +108826,15 @@ "binop": null, "updateContext": null }, - "start": 4210, - "end": 4211, + "start": 4076, + "end": 4077, "loc": { "start": { - "line": 119, + "line": 114, "column": 38 }, "end": { - "line": 119, + "line": 114, "column": 39 } } @@ -107746,15 +108852,15 @@ "binop": null }, "value": "remainingTimeDisplay", - "start": 4211, - "end": 4231, + "start": 4077, + "end": 4097, "loc": { "start": { - "line": 119, + "line": 114, "column": 39 }, "end": { - "line": 119, + "line": 114, "column": 59 } } @@ -107772,15 +108878,15 @@ "binop": null, "updateContext": null }, - "start": 4231, - "end": 4232, + "start": 4097, + "end": 4098, "loc": { "start": { - "line": 119, + "line": 114, "column": 59 }, "end": { - "line": 119, + "line": 114, "column": 60 } } @@ -107798,15 +108904,15 @@ "binop": null }, "value": "hide", - "start": 4232, - "end": 4236, + "start": 4098, + "end": 4102, "loc": { "start": { - "line": 119, + "line": 114, "column": 60 }, "end": { - "line": 119, + "line": 114, "column": 64 } } @@ -107823,15 +108929,15 @@ "postfix": false, "binop": null }, - "start": 4236, - "end": 4237, + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 119, + "line": 114, "column": 64 }, "end": { - "line": 119, + "line": 114, "column": 65 } } @@ -107848,15 +108954,15 @@ "postfix": false, "binop": null }, - "start": 4237, - "end": 4238, + "start": 4103, + "end": 4104, "loc": { "start": { - "line": 119, + "line": 114, "column": 65 }, "end": { - "line": 119, + "line": 114, "column": 66 } } @@ -107874,15 +108980,15 @@ "binop": null, "updateContext": null }, - "start": 4238, - "end": 4239, + "start": 4104, + "end": 4105, "loc": { "start": { - "line": 119, + "line": 114, "column": 66 }, "end": { - "line": 119, + "line": 114, "column": 67 } } @@ -107899,15 +109005,15 @@ "postfix": false, "binop": null }, - "start": 4252, - "end": 4253, + "start": 4118, + "end": 4119, "loc": { "start": { - "line": 120, + "line": 115, "column": 12 }, "end": { - "line": 120, + "line": 115, "column": 13 } } @@ -107927,15 +109033,15 @@ "updateContext": null }, "value": "if", - "start": 4267, - "end": 4269, + "start": 4133, + "end": 4135, "loc": { "start": { - "line": 122, + "line": 117, "column": 12 }, "end": { - "line": 122, + "line": 117, "column": 14 } } @@ -107952,15 +109058,15 @@ "postfix": false, "binop": null }, - "start": 4270, - "end": 4271, + "start": 4136, + "end": 4137, "loc": { "start": { - "line": 122, + "line": 117, "column": 15 }, "end": { - "line": 122, + "line": 117, "column": 16 } } @@ -107980,15 +109086,15 @@ "updateContext": null }, "value": "this", - "start": 4271, - "end": 4275, + "start": 4137, + "end": 4141, "loc": { "start": { - "line": 122, + "line": 117, "column": 16 }, "end": { - "line": 122, + "line": 117, "column": 20 } } @@ -108006,15 +109112,15 @@ "binop": null, "updateContext": null }, - "start": 4275, - "end": 4276, + "start": 4141, + "end": 4142, "loc": { "start": { - "line": 122, + "line": 117, "column": 20 }, "end": { - "line": 122, + "line": 117, "column": 21 } } @@ -108032,15 +109138,15 @@ "binop": null }, "value": "backend", - "start": 4276, - "end": 4283, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 122, + "line": 117, "column": 21 }, "end": { - "line": 122, + "line": 117, "column": 28 } } @@ -108059,22 +109165,22 @@ "updateContext": null }, "value": "===", - "start": 4284, - "end": 4287, + "start": 4150, + "end": 4153, "loc": { "start": { - "line": 122, + "line": 117, "column": 29 }, "end": { - "line": 122, + "line": 117, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -108082,20 +109188,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 4288, - "end": 4298, + "value": "WEBAUDIO", + "start": 4154, + "end": 4162, "loc": { "start": { - "line": 122, + "line": 117, "column": 33 }, "end": { - "line": 122, - "column": 43 + "line": 117, + "column": 41 } } }, @@ -108113,16 +109218,16 @@ "updateContext": null }, "value": "&&", - "start": 4299, - "end": 4301, + "start": 4163, + "end": 4165, "loc": { "start": { - "line": 122, - "column": 44 + "line": 117, + "column": 42 }, "end": { - "line": 122, - "column": 46 + "line": 117, + "column": 44 } } }, @@ -108141,15 +109246,15 @@ "updateContext": null }, "value": "this", - "start": 4318, - "end": 4322, + "start": 4182, + "end": 4186, "loc": { "start": { - "line": 123, + "line": 118, "column": 16 }, "end": { - "line": 123, + "line": 118, "column": 20 } } @@ -108167,15 +109272,15 @@ "binop": null, "updateContext": null }, - "start": 4322, - "end": 4323, + "start": 4186, + "end": 4187, "loc": { "start": { - "line": 123, + "line": 118, "column": 20 }, "end": { - "line": 123, + "line": 118, "column": 21 } } @@ -108193,15 +109298,15 @@ "binop": null }, "value": "player", - "start": 4323, - "end": 4329, + "start": 4187, + "end": 4193, "loc": { "start": { - "line": 123, + "line": 118, "column": 21 }, "end": { - "line": 123, + "line": 118, "column": 27 } } @@ -108219,15 +109324,15 @@ "binop": null, "updateContext": null }, - "start": 4329, - "end": 4330, + "start": 4193, + "end": 4194, "loc": { "start": { - "line": 123, + "line": 118, "column": 27 }, "end": { - "line": 123, + "line": 118, "column": 28 } } @@ -108245,15 +109350,15 @@ "binop": null }, "value": "controlBar", - "start": 4330, - "end": 4340, + "start": 4194, + "end": 4204, "loc": { "start": { - "line": 123, + "line": 118, "column": 28 }, "end": { - "line": 123, + "line": 118, "column": 38 } } @@ -108271,15 +109376,15 @@ "binop": null, "updateContext": null }, - "start": 4340, - "end": 4341, + "start": 4204, + "end": 4205, "loc": { "start": { - "line": 123, + "line": 118, "column": 38 }, "end": { - "line": 123, + "line": 118, "column": 39 } } @@ -108297,15 +109402,15 @@ "binop": null }, "value": "playToggle", - "start": 4341, - "end": 4351, + "start": 4205, + "end": 4215, "loc": { "start": { - "line": 123, + "line": 118, "column": 39 }, "end": { - "line": 123, + "line": 118, "column": 49 } } @@ -108324,15 +109429,15 @@ "updateContext": null }, "value": "!==", - "start": 4352, - "end": 4355, + "start": 4216, + "end": 4219, "loc": { "start": { - "line": 123, + "line": 118, "column": 50 }, "end": { - "line": 123, + "line": 118, "column": 53 } } @@ -108350,15 +109455,15 @@ "binop": null }, "value": "undefined", - "start": 4356, - "end": 4365, + "start": 4220, + "end": 4229, "loc": { "start": { - "line": 123, + "line": 118, "column": 54 }, "end": { - "line": 123, + "line": 118, "column": 63 } } @@ -108375,15 +109480,15 @@ "postfix": false, "binop": null }, - "start": 4365, - "end": 4366, + "start": 4229, + "end": 4230, "loc": { "start": { - "line": 123, + "line": 118, "column": 63 }, "end": { - "line": 123, + "line": 118, "column": 64 } } @@ -108400,15 +109505,15 @@ "postfix": false, "binop": null }, - "start": 4367, - "end": 4368, + "start": 4231, + "end": 4232, "loc": { "start": { - "line": 123, + "line": 118, "column": 65 }, "end": { - "line": 123, + "line": 118, "column": 66 } } @@ -108416,15 +109521,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4385, - "end": 4418, + "start": 4249, + "end": 4282, "loc": { "start": { - "line": 124, + "line": 119, "column": 16 }, "end": { - "line": 124, + "line": 119, "column": 49 } } @@ -108444,15 +109549,15 @@ "updateContext": null }, "value": "this", - "start": 4435, - "end": 4439, + "start": 4299, + "end": 4303, "loc": { "start": { - "line": 125, + "line": 120, "column": 16 }, "end": { - "line": 125, + "line": 120, "column": 20 } } @@ -108470,15 +109575,15 @@ "binop": null, "updateContext": null }, - "start": 4439, - "end": 4440, + "start": 4303, + "end": 4304, "loc": { "start": { - "line": 125, + "line": 120, "column": 20 }, "end": { - "line": 125, + "line": 120, "column": 21 } } @@ -108496,15 +109601,15 @@ "binop": null }, "value": "player", - "start": 4440, - "end": 4446, + "start": 4304, + "end": 4310, "loc": { "start": { - "line": 125, + "line": 120, "column": 21 }, "end": { - "line": 125, + "line": 120, "column": 27 } } @@ -108522,15 +109627,15 @@ "binop": null, "updateContext": null }, - "start": 4446, - "end": 4447, + "start": 4310, + "end": 4311, "loc": { "start": { - "line": 125, + "line": 120, "column": 27 }, "end": { - "line": 125, + "line": 120, "column": 28 } } @@ -108548,15 +109653,15 @@ "binop": null }, "value": "controlBar", - "start": 4447, - "end": 4457, + "start": 4311, + "end": 4321, "loc": { "start": { - "line": 125, + "line": 120, "column": 28 }, "end": { - "line": 125, + "line": 120, "column": 38 } } @@ -108574,15 +109679,15 @@ "binop": null, "updateContext": null }, - "start": 4457, - "end": 4458, + "start": 4321, + "end": 4322, "loc": { "start": { - "line": 125, + "line": 120, "column": 38 }, "end": { - "line": 125, + "line": 120, "column": 39 } } @@ -108600,15 +109705,15 @@ "binop": null }, "value": "playToggle", - "start": 4458, - "end": 4468, + "start": 4322, + "end": 4332, "loc": { "start": { - "line": 125, + "line": 120, "column": 39 }, "end": { - "line": 125, + "line": 120, "column": 49 } } @@ -108626,15 +109731,15 @@ "binop": null, "updateContext": null }, - "start": 4468, - "end": 4469, + "start": 4332, + "end": 4333, "loc": { "start": { - "line": 125, + "line": 120, "column": 49 }, "end": { - "line": 125, + "line": 120, "column": 50 } } @@ -108652,15 +109757,15 @@ "binop": null }, "value": "on", - "start": 4469, - "end": 4471, + "start": 4333, + "end": 4335, "loc": { "start": { - "line": 125, + "line": 120, "column": 50 }, "end": { - "line": 125, + "line": 120, "column": 52 } } @@ -108677,15 +109782,15 @@ "postfix": false, "binop": null }, - "start": 4471, - "end": 4472, + "start": 4335, + "end": 4336, "loc": { "start": { - "line": 125, + "line": 120, "column": 52 }, "end": { - "line": 125, + "line": 120, "column": 53 } } @@ -108703,15 +109808,15 @@ "binop": null, "updateContext": null }, - "start": 4472, - "end": 4473, + "start": 4336, + "end": 4337, "loc": { "start": { - "line": 125, + "line": 120, "column": 53 }, "end": { - "line": 125, + "line": 120, "column": 54 } } @@ -108730,15 +109835,15 @@ "updateContext": null }, "value": "tap", - "start": 4473, - "end": 4478, + "start": 4337, + "end": 4342, "loc": { "start": { - "line": 125, + "line": 120, "column": 54 }, "end": { - "line": 125, + "line": 120, "column": 59 } } @@ -108756,15 +109861,15 @@ "binop": null, "updateContext": null }, - "start": 4478, - "end": 4479, + "start": 4342, + "end": 4343, "loc": { "start": { - "line": 125, + "line": 120, "column": 59 }, "end": { - "line": 125, + "line": 120, "column": 60 } } @@ -108783,15 +109888,15 @@ "updateContext": null }, "value": "click", - "start": 4480, - "end": 4487, + "start": 4344, + "end": 4351, "loc": { "start": { - "line": 125, + "line": 120, "column": 61 }, "end": { - "line": 125, + "line": 120, "column": 68 } } @@ -108809,15 +109914,15 @@ "binop": null, "updateContext": null }, - "start": 4487, - "end": 4488, + "start": 4351, + "end": 4352, "loc": { "start": { - "line": 125, + "line": 120, "column": 68 }, "end": { - "line": 125, + "line": 120, "column": 69 } } @@ -108835,15 +109940,15 @@ "binop": null, "updateContext": null }, - "start": 4488, - "end": 4489, + "start": 4352, + "end": 4353, "loc": { "start": { - "line": 125, + "line": 120, "column": 69 }, "end": { - "line": 125, + "line": 120, "column": 70 } } @@ -108863,15 +109968,15 @@ "updateContext": null }, "value": "this", - "start": 4510, - "end": 4514, + "start": 4374, + "end": 4378, "loc": { "start": { - "line": 126, + "line": 121, "column": 20 }, "end": { - "line": 126, + "line": 121, "column": 24 } } @@ -108889,15 +109994,15 @@ "binop": null, "updateContext": null }, - "start": 4514, - "end": 4515, + "start": 4378, + "end": 4379, "loc": { "start": { - "line": 126, + "line": 121, "column": 24 }, "end": { - "line": 126, + "line": 121, "column": 25 } } @@ -108915,15 +110020,15 @@ "binop": null }, "value": "onPlayToggle", - "start": 4515, - "end": 4527, + "start": 4379, + "end": 4391, "loc": { "start": { - "line": 126, + "line": 121, "column": 25 }, "end": { - "line": 126, + "line": 121, "column": 37 } } @@ -108941,15 +110046,15 @@ "binop": null, "updateContext": null }, - "start": 4527, - "end": 4528, + "start": 4391, + "end": 4392, "loc": { "start": { - "line": 126, + "line": 121, "column": 37 }, "end": { - "line": 126, + "line": 121, "column": 38 } } @@ -108967,15 +110072,15 @@ "binop": null }, "value": "bind", - "start": 4528, - "end": 4532, + "start": 4392, + "end": 4396, "loc": { "start": { - "line": 126, + "line": 121, "column": 38 }, "end": { - "line": 126, + "line": 121, "column": 42 } } @@ -108992,15 +110097,15 @@ "postfix": false, "binop": null }, - "start": 4532, - "end": 4533, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 126, + "line": 121, "column": 42 }, "end": { - "line": 126, + "line": 121, "column": 43 } } @@ -109020,15 +110125,15 @@ "updateContext": null }, "value": "this", - "start": 4533, - "end": 4537, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 126, + "line": 121, "column": 43 }, "end": { - "line": 126, + "line": 121, "column": 47 } } @@ -109045,15 +110150,15 @@ "postfix": false, "binop": null }, - "start": 4537, - "end": 4538, + "start": 4401, + "end": 4402, "loc": { "start": { - "line": 126, + "line": 121, "column": 47 }, "end": { - "line": 126, + "line": 121, "column": 48 } } @@ -109070,15 +110175,15 @@ "postfix": false, "binop": null }, - "start": 4538, - "end": 4539, + "start": 4402, + "end": 4403, "loc": { "start": { - "line": 126, + "line": 121, "column": 48 }, "end": { - "line": 126, + "line": 121, "column": 49 } } @@ -109096,15 +110201,15 @@ "binop": null, "updateContext": null }, - "start": 4539, - "end": 4540, + "start": 4403, + "end": 4404, "loc": { "start": { - "line": 126, + "line": 121, "column": 49 }, "end": { - "line": 126, + "line": 121, "column": 50 } } @@ -109112,15 +110217,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4558, - "end": 4604, + "start": 4422, + "end": 4468, "loc": { "start": { - "line": 128, + "line": 123, "column": 16 }, "end": { - "line": 128, + "line": 123, "column": 62 } } @@ -109140,15 +110245,15 @@ "updateContext": null }, "value": "this", - "start": 4621, - "end": 4625, + "start": 4485, + "end": 4489, "loc": { "start": { - "line": 129, + "line": 124, "column": 16 }, "end": { - "line": 129, + "line": 124, "column": 20 } } @@ -109166,15 +110271,15 @@ "binop": null, "updateContext": null }, - "start": 4625, - "end": 4626, + "start": 4489, + "end": 4490, "loc": { "start": { - "line": 129, + "line": 124, "column": 20 }, "end": { - "line": 129, + "line": 124, "column": 21 } } @@ -109192,15 +110297,15 @@ "binop": null }, "value": "player", - "start": 4626, - "end": 4632, + "start": 4490, + "end": 4496, "loc": { "start": { - "line": 129, + "line": 124, "column": 21 }, "end": { - "line": 129, + "line": 124, "column": 27 } } @@ -109218,15 +110323,15 @@ "binop": null, "updateContext": null }, - "start": 4632, - "end": 4633, + "start": 4496, + "end": 4497, "loc": { "start": { - "line": 129, + "line": 124, "column": 27 }, "end": { - "line": 129, + "line": 124, "column": 28 } } @@ -109244,15 +110349,15 @@ "binop": null }, "value": "controlBar", - "start": 4633, - "end": 4643, + "start": 4497, + "end": 4507, "loc": { "start": { - "line": 129, + "line": 124, "column": 28 }, "end": { - "line": 129, + "line": 124, "column": 38 } } @@ -109270,15 +110375,15 @@ "binop": null, "updateContext": null }, - "start": 4643, - "end": 4644, + "start": 4507, + "end": 4508, "loc": { "start": { - "line": 129, + "line": 124, "column": 38 }, "end": { - "line": 129, + "line": 124, "column": 39 } } @@ -109296,15 +110401,15 @@ "binop": null }, "value": "playToggle", - "start": 4644, - "end": 4654, + "start": 4508, + "end": 4518, "loc": { "start": { - "line": 129, + "line": 124, "column": 39 }, "end": { - "line": 129, + "line": 124, "column": 49 } } @@ -109322,15 +110427,15 @@ "binop": null, "updateContext": null }, - "start": 4654, - "end": 4655, + "start": 4518, + "end": 4519, "loc": { "start": { - "line": 129, + "line": 124, "column": 49 }, "end": { - "line": 129, + "line": 124, "column": 50 } } @@ -109348,15 +110453,15 @@ "binop": null }, "value": "hide", - "start": 4655, - "end": 4659, + "start": 4519, + "end": 4523, "loc": { "start": { - "line": 129, + "line": 124, "column": 50 }, "end": { - "line": 129, + "line": 124, "column": 54 } } @@ -109373,15 +110478,15 @@ "postfix": false, "binop": null }, - "start": 4659, - "end": 4660, + "start": 4523, + "end": 4524, "loc": { "start": { - "line": 129, + "line": 124, "column": 54 }, "end": { - "line": 129, + "line": 124, "column": 55 } } @@ -109398,15 +110503,15 @@ "postfix": false, "binop": null }, - "start": 4660, - "end": 4661, + "start": 4524, + "end": 4525, "loc": { "start": { - "line": 129, + "line": 124, "column": 55 }, "end": { - "line": 129, + "line": 124, "column": 56 } } @@ -109424,15 +110529,15 @@ "binop": null, "updateContext": null }, - "start": 4661, - "end": 4662, + "start": 4525, + "end": 4526, "loc": { "start": { - "line": 129, + "line": 124, "column": 56 }, "end": { - "line": 129, + "line": 124, "column": 57 } } @@ -109449,15 +110554,15 @@ "postfix": false, "binop": null }, - "start": 4675, - "end": 4676, + "start": 4539, + "end": 4540, "loc": { "start": { - "line": 130, + "line": 125, "column": 12 }, "end": { - "line": 130, + "line": 125, "column": 13 } } @@ -109474,15 +110579,15 @@ "postfix": false, "binop": null }, - "start": 4685, - "end": 4686, + "start": 4549, + "end": 4550, "loc": { "start": { - "line": 131, + "line": 126, "column": 8 }, "end": { - "line": 131, + "line": 126, "column": 9 } } @@ -109490,15 +110595,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4696, - "end": 4718, + "start": 4560, + "end": 4582, "loc": { "start": { - "line": 133, + "line": 128, "column": 8 }, "end": { - "line": 133, + "line": 128, "column": 30 } } @@ -109518,15 +110623,15 @@ "updateContext": null }, "value": "this", - "start": 4727, - "end": 4731, + "start": 4591, + "end": 4595, "loc": { "start": { - "line": 134, + "line": 129, "column": 8 }, "end": { - "line": 134, + "line": 129, "column": 12 } } @@ -109544,15 +110649,15 @@ "binop": null, "updateContext": null }, - "start": 4731, - "end": 4732, + "start": 4595, + "end": 4596, "loc": { "start": { - "line": 134, + "line": 129, "column": 12 }, "end": { - "line": 134, + "line": 129, "column": 13 } } @@ -109570,15 +110675,15 @@ "binop": null }, "value": "surfer", - "start": 4732, - "end": 4738, + "start": 4596, + "end": 4602, "loc": { "start": { - "line": 134, + "line": 129, "column": 13 }, "end": { - "line": 134, + "line": 129, "column": 19 } } @@ -109597,15 +110702,15 @@ "updateContext": null }, "value": "=", - "start": 4739, - "end": 4740, + "start": 4603, + "end": 4604, "loc": { "start": { - "line": 134, + "line": 129, "column": 20 }, "end": { - "line": 134, + "line": 129, "column": 21 } } @@ -109623,15 +110728,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 4741, - "end": 4751, + "start": 4605, + "end": 4615, "loc": { "start": { - "line": 134, + "line": 129, "column": 22 }, "end": { - "line": 134, + "line": 129, "column": 32 } } @@ -109649,15 +110754,15 @@ "binop": null, "updateContext": null }, - "start": 4751, - "end": 4752, + "start": 4615, + "end": 4616, "loc": { "start": { - "line": 134, + "line": 129, "column": 32 }, "end": { - "line": 134, + "line": 129, "column": 33 } } @@ -109675,15 +110780,15 @@ "binop": null }, "value": "create", - "start": 4752, - "end": 4758, + "start": 4616, + "end": 4622, "loc": { "start": { - "line": 134, + "line": 129, "column": 33 }, "end": { - "line": 134, + "line": 129, "column": 39 } } @@ -109700,15 +110805,15 @@ "postfix": false, "binop": null }, - "start": 4758, - "end": 4759, + "start": 4622, + "end": 4623, "loc": { "start": { - "line": 134, + "line": 129, "column": 39 }, "end": { - "line": 134, + "line": 129, "column": 40 } } @@ -109726,15 +110831,15 @@ "binop": null }, "value": "mergedOptions", - "start": 4759, - "end": 4772, + "start": 4623, + "end": 4636, "loc": { "start": { - "line": 134, + "line": 129, "column": 40 }, "end": { - "line": 134, + "line": 129, "column": 53 } } @@ -109751,15 +110856,15 @@ "postfix": false, "binop": null }, - "start": 4772, - "end": 4773, + "start": 4636, + "end": 4637, "loc": { "start": { - "line": 134, + "line": 129, "column": 53 }, "end": { - "line": 134, + "line": 129, "column": 54 } } @@ -109777,15 +110882,15 @@ "binop": null, "updateContext": null }, - "start": 4773, - "end": 4774, + "start": 4637, + "end": 4638, "loc": { "start": { - "line": 134, + "line": 129, "column": 54 }, "end": { - "line": 134, + "line": 129, "column": 55 } } @@ -109805,15 +110910,15 @@ "updateContext": null }, "value": "this", - "start": 4783, - "end": 4787, + "start": 4647, + "end": 4651, "loc": { "start": { - "line": 135, + "line": 130, "column": 8 }, "end": { - "line": 135, + "line": 130, "column": 12 } } @@ -109831,15 +110936,15 @@ "binop": null, "updateContext": null }, - "start": 4787, - "end": 4788, + "start": 4651, + "end": 4652, "loc": { "start": { - "line": 135, + "line": 130, "column": 12 }, "end": { - "line": 135, + "line": 130, "column": 13 } } @@ -109857,15 +110962,15 @@ "binop": null }, "value": "surfer", - "start": 4788, - "end": 4794, + "start": 4652, + "end": 4658, "loc": { "start": { - "line": 135, + "line": 130, "column": 13 }, "end": { - "line": 135, + "line": 130, "column": 19 } } @@ -109883,15 +110988,15 @@ "binop": null, "updateContext": null }, - "start": 4794, - "end": 4795, + "start": 4658, + "end": 4659, "loc": { "start": { - "line": 135, + "line": 130, "column": 19 }, "end": { - "line": 135, + "line": 130, "column": 20 } } @@ -109909,15 +111014,15 @@ "binop": null }, "value": "on", - "start": 4795, - "end": 4797, + "start": 4659, + "end": 4661, "loc": { "start": { - "line": 135, + "line": 130, "column": 20 }, "end": { - "line": 135, + "line": 130, "column": 22 } } @@ -109934,15 +111039,15 @@ "postfix": false, "binop": null }, - "start": 4797, - "end": 4798, + "start": 4661, + "end": 4662, "loc": { "start": { - "line": 135, + "line": 130, "column": 22 }, "end": { - "line": 135, + "line": 130, "column": 23 } } @@ -109960,15 +111065,15 @@ "binop": null }, "value": "Event", - "start": 4798, - "end": 4803, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 135, + "line": 130, "column": 23 }, "end": { - "line": 135, + "line": 130, "column": 28 } } @@ -109986,15 +111091,15 @@ "binop": null, "updateContext": null }, - "start": 4803, - "end": 4804, + "start": 4667, + "end": 4668, "loc": { "start": { - "line": 135, + "line": 130, "column": 28 }, "end": { - "line": 135, + "line": 130, "column": 29 } } @@ -110012,15 +111117,15 @@ "binop": null }, "value": "ERROR", - "start": 4804, - "end": 4809, + "start": 4668, + "end": 4673, "loc": { "start": { - "line": 135, + "line": 130, "column": 29 }, "end": { - "line": 135, + "line": 130, "column": 34 } } @@ -110038,15 +111143,15 @@ "binop": null, "updateContext": null }, - "start": 4809, - "end": 4810, + "start": 4673, + "end": 4674, "loc": { "start": { - "line": 135, + "line": 130, "column": 34 }, "end": { - "line": 135, + "line": 130, "column": 35 } } @@ -110066,15 +111171,15 @@ "updateContext": null }, "value": "this", - "start": 4811, - "end": 4815, + "start": 4675, + "end": 4679, "loc": { "start": { - "line": 135, + "line": 130, "column": 36 }, "end": { - "line": 135, + "line": 130, "column": 40 } } @@ -110092,15 +111197,15 @@ "binop": null, "updateContext": null }, - "start": 4815, - "end": 4816, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 135, + "line": 130, "column": 40 }, "end": { - "line": 135, + "line": 130, "column": 41 } } @@ -110118,15 +111223,15 @@ "binop": null }, "value": "onWaveError", - "start": 4816, - "end": 4827, + "start": 4680, + "end": 4691, "loc": { "start": { - "line": 135, + "line": 130, "column": 41 }, "end": { - "line": 135, + "line": 130, "column": 52 } } @@ -110144,15 +111249,15 @@ "binop": null, "updateContext": null }, - "start": 4827, - "end": 4828, + "start": 4691, + "end": 4692, "loc": { "start": { - "line": 135, + "line": 130, "column": 52 }, "end": { - "line": 135, + "line": 130, "column": 53 } } @@ -110170,15 +111275,15 @@ "binop": null }, "value": "bind", - "start": 4828, - "end": 4832, + "start": 4692, + "end": 4696, "loc": { "start": { - "line": 135, + "line": 130, "column": 53 }, "end": { - "line": 135, + "line": 130, "column": 57 } } @@ -110195,15 +111300,15 @@ "postfix": false, "binop": null }, - "start": 4832, - "end": 4833, + "start": 4696, + "end": 4697, "loc": { "start": { - "line": 135, + "line": 130, "column": 57 }, "end": { - "line": 135, + "line": 130, "column": 58 } } @@ -110223,15 +111328,15 @@ "updateContext": null }, "value": "this", - "start": 4833, - "end": 4837, + "start": 4697, + "end": 4701, "loc": { "start": { - "line": 135, + "line": 130, "column": 58 }, "end": { - "line": 135, + "line": 130, "column": 62 } } @@ -110248,15 +111353,15 @@ "postfix": false, "binop": null }, - "start": 4837, - "end": 4838, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 135, + "line": 130, "column": 62 }, "end": { - "line": 135, + "line": 130, "column": 63 } } @@ -110273,15 +111378,15 @@ "postfix": false, "binop": null }, - "start": 4838, - "end": 4839, + "start": 4702, + "end": 4703, "loc": { "start": { - "line": 135, + "line": 130, "column": 63 }, "end": { - "line": 135, + "line": 130, "column": 64 } } @@ -110299,15 +111404,15 @@ "binop": null, "updateContext": null }, - "start": 4839, - "end": 4840, + "start": 4703, + "end": 4704, "loc": { "start": { - "line": 135, + "line": 130, "column": 64 }, "end": { - "line": 135, + "line": 130, "column": 65 } } @@ -110327,15 +111432,15 @@ "updateContext": null }, "value": "this", - "start": 4849, - "end": 4853, + "start": 4713, + "end": 4717, "loc": { "start": { - "line": 136, + "line": 131, "column": 8 }, "end": { - "line": 136, + "line": 131, "column": 12 } } @@ -110353,15 +111458,15 @@ "binop": null, "updateContext": null }, - "start": 4853, - "end": 4854, + "start": 4717, + "end": 4718, "loc": { "start": { - "line": 136, + "line": 131, "column": 12 }, "end": { - "line": 136, + "line": 131, "column": 13 } } @@ -110379,15 +111484,15 @@ "binop": null }, "value": "surfer", - "start": 4854, - "end": 4860, + "start": 4718, + "end": 4724, "loc": { "start": { - "line": 136, + "line": 131, "column": 13 }, "end": { - "line": 136, + "line": 131, "column": 19 } } @@ -110405,15 +111510,15 @@ "binop": null, "updateContext": null }, - "start": 4860, - "end": 4861, + "start": 4724, + "end": 4725, "loc": { "start": { - "line": 136, + "line": 131, "column": 19 }, "end": { - "line": 136, + "line": 131, "column": 20 } } @@ -110431,15 +111536,15 @@ "binop": null }, "value": "on", - "start": 4861, - "end": 4863, + "start": 4725, + "end": 4727, "loc": { "start": { - "line": 136, + "line": 131, "column": 20 }, "end": { - "line": 136, + "line": 131, "column": 22 } } @@ -110456,15 +111561,15 @@ "postfix": false, "binop": null }, - "start": 4863, - "end": 4864, + "start": 4727, + "end": 4728, "loc": { "start": { - "line": 136, + "line": 131, "column": 22 }, "end": { - "line": 136, + "line": 131, "column": 23 } } @@ -110482,15 +111587,15 @@ "binop": null }, "value": "Event", - "start": 4864, - "end": 4869, + "start": 4728, + "end": 4733, "loc": { "start": { - "line": 136, + "line": 131, "column": 23 }, "end": { - "line": 136, + "line": 131, "column": 28 } } @@ -110508,15 +111613,15 @@ "binop": null, "updateContext": null }, - "start": 4869, - "end": 4870, + "start": 4733, + "end": 4734, "loc": { "start": { - "line": 136, + "line": 131, "column": 28 }, "end": { - "line": 136, + "line": 131, "column": 29 } } @@ -110534,15 +111639,15 @@ "binop": null }, "value": "FINISH", - "start": 4870, - "end": 4876, + "start": 4734, + "end": 4740, "loc": { "start": { - "line": 136, + "line": 131, "column": 29 }, "end": { - "line": 136, + "line": 131, "column": 35 } } @@ -110560,15 +111665,15 @@ "binop": null, "updateContext": null }, - "start": 4876, - "end": 4877, + "start": 4740, + "end": 4741, "loc": { "start": { - "line": 136, + "line": 131, "column": 35 }, "end": { - "line": 136, + "line": 131, "column": 36 } } @@ -110588,15 +111693,15 @@ "updateContext": null }, "value": "this", - "start": 4878, - "end": 4882, + "start": 4742, + "end": 4746, "loc": { "start": { - "line": 136, + "line": 131, "column": 37 }, "end": { - "line": 136, + "line": 131, "column": 41 } } @@ -110614,15 +111719,15 @@ "binop": null, "updateContext": null }, - "start": 4882, - "end": 4883, + "start": 4746, + "end": 4747, "loc": { "start": { - "line": 136, + "line": 131, "column": 41 }, "end": { - "line": 136, + "line": 131, "column": 42 } } @@ -110640,15 +111745,15 @@ "binop": null }, "value": "onWaveFinish", - "start": 4883, - "end": 4895, + "start": 4747, + "end": 4759, "loc": { "start": { - "line": 136, + "line": 131, "column": 42 }, "end": { - "line": 136, + "line": 131, "column": 54 } } @@ -110666,15 +111771,15 @@ "binop": null, "updateContext": null }, - "start": 4895, - "end": 4896, + "start": 4759, + "end": 4760, "loc": { "start": { - "line": 136, + "line": 131, "column": 54 }, "end": { - "line": 136, + "line": 131, "column": 55 } } @@ -110692,15 +111797,15 @@ "binop": null }, "value": "bind", - "start": 4896, - "end": 4900, + "start": 4760, + "end": 4764, "loc": { "start": { - "line": 136, + "line": 131, "column": 55 }, "end": { - "line": 136, + "line": 131, "column": 59 } } @@ -110717,15 +111822,15 @@ "postfix": false, "binop": null }, - "start": 4900, - "end": 4901, + "start": 4764, + "end": 4765, "loc": { "start": { - "line": 136, + "line": 131, "column": 59 }, "end": { - "line": 136, + "line": 131, "column": 60 } } @@ -110745,15 +111850,15 @@ "updateContext": null }, "value": "this", - "start": 4901, - "end": 4905, + "start": 4765, + "end": 4769, "loc": { "start": { - "line": 136, + "line": 131, "column": 60 }, "end": { - "line": 136, + "line": 131, "column": 64 } } @@ -110770,15 +111875,15 @@ "postfix": false, "binop": null }, - "start": 4905, - "end": 4906, + "start": 4769, + "end": 4770, "loc": { "start": { - "line": 136, + "line": 131, "column": 64 }, "end": { - "line": 136, + "line": 131, "column": 65 } } @@ -110795,15 +111900,15 @@ "postfix": false, "binop": null }, - "start": 4906, - "end": 4907, + "start": 4770, + "end": 4771, "loc": { "start": { - "line": 136, + "line": 131, "column": 65 }, "end": { - "line": 136, + "line": 131, "column": 66 } } @@ -110821,15 +111926,15 @@ "binop": null, "updateContext": null }, - "start": 4907, - "end": 4908, + "start": 4771, + "end": 4772, "loc": { "start": { - "line": 136, + "line": 131, "column": 66 }, "end": { - "line": 136, + "line": 131, "column": 67 } } @@ -110849,15 +111954,15 @@ "updateContext": null }, "value": "this", - "start": 4917, - "end": 4921, + "start": 4781, + "end": 4785, "loc": { "start": { - "line": 137, + "line": 132, "column": 8 }, "end": { - "line": 137, + "line": 132, "column": 12 } } @@ -110875,15 +111980,15 @@ "binop": null, "updateContext": null }, - "start": 4921, - "end": 4922, + "start": 4785, + "end": 4786, "loc": { "start": { - "line": 137, + "line": 132, "column": 12 }, "end": { - "line": 137, + "line": 132, "column": 13 } } @@ -110901,15 +112006,15 @@ "binop": null }, "value": "backend", - "start": 4922, - "end": 4929, + "start": 4786, + "end": 4793, "loc": { "start": { - "line": 137, + "line": 132, "column": 13 }, "end": { - "line": 137, + "line": 132, "column": 20 } } @@ -110928,15 +112033,15 @@ "updateContext": null }, "value": "=", - "start": 4930, - "end": 4931, + "start": 4794, + "end": 4795, "loc": { "start": { - "line": 137, + "line": 132, "column": 21 }, "end": { - "line": 137, + "line": 132, "column": 22 } } @@ -110956,15 +112061,15 @@ "updateContext": null }, "value": "this", - "start": 4932, - "end": 4936, + "start": 4796, + "end": 4800, "loc": { "start": { - "line": 137, + "line": 132, "column": 23 }, "end": { - "line": 137, + "line": 132, "column": 27 } } @@ -110982,15 +112087,15 @@ "binop": null, "updateContext": null }, - "start": 4936, - "end": 4937, + "start": 4800, + "end": 4801, "loc": { "start": { - "line": 137, + "line": 132, "column": 27 }, "end": { - "line": 137, + "line": 132, "column": 28 } } @@ -111008,15 +112113,15 @@ "binop": null }, "value": "surfer", - "start": 4937, - "end": 4943, + "start": 4801, + "end": 4807, "loc": { "start": { - "line": 137, + "line": 132, "column": 28 }, "end": { - "line": 137, + "line": 132, "column": 34 } } @@ -111034,15 +112139,15 @@ "binop": null, "updateContext": null }, - "start": 4943, - "end": 4944, + "start": 4807, + "end": 4808, "loc": { "start": { - "line": 137, + "line": 132, "column": 34 }, "end": { - "line": 137, + "line": 132, "column": 35 } } @@ -111060,15 +112165,15 @@ "binop": null }, "value": "params", - "start": 4944, - "end": 4950, + "start": 4808, + "end": 4814, "loc": { "start": { - "line": 137, + "line": 132, "column": 35 }, "end": { - "line": 137, + "line": 132, "column": 41 } } @@ -111086,15 +112191,15 @@ "binop": null, "updateContext": null }, - "start": 4950, - "end": 4951, + "start": 4814, + "end": 4815, "loc": { "start": { - "line": 137, + "line": 132, "column": 41 }, "end": { - "line": 137, + "line": 132, "column": 42 } } @@ -111112,15 +112217,15 @@ "binop": null }, "value": "backend", - "start": 4951, - "end": 4958, + "start": 4815, + "end": 4822, "loc": { "start": { - "line": 137, + "line": 132, "column": 42 }, "end": { - "line": 137, + "line": 132, "column": 49 } } @@ -111138,15 +112243,15 @@ "binop": null, "updateContext": null }, - "start": 4958, - "end": 4959, + "start": 4822, + "end": 4823, "loc": { "start": { - "line": 137, + "line": 132, "column": 49 }, "end": { - "line": 137, + "line": 132, "column": 50 } } @@ -111166,15 +112271,15 @@ "updateContext": null }, "value": "this", - "start": 4968, - "end": 4972, + "start": 4832, + "end": 4836, "loc": { "start": { - "line": 138, + "line": 133, "column": 8 }, "end": { - "line": 138, + "line": 133, "column": 12 } } @@ -111192,15 +112297,15 @@ "binop": null, "updateContext": null }, - "start": 4972, - "end": 4973, + "start": 4836, + "end": 4837, "loc": { "start": { - "line": 138, + "line": 133, "column": 12 }, "end": { - "line": 138, + "line": 133, "column": 13 } } @@ -111218,15 +112323,15 @@ "binop": null }, "value": "log", - "start": 4973, - "end": 4976, + "start": 4837, + "end": 4840, "loc": { "start": { - "line": 138, + "line": 133, "column": 13 }, "end": { - "line": 138, + "line": 133, "column": 16 } } @@ -111243,15 +112348,15 @@ "postfix": false, "binop": null }, - "start": 4976, - "end": 4977, + "start": 4840, + "end": 4841, "loc": { "start": { - "line": 138, + "line": 133, "column": 16 }, "end": { - "line": 138, + "line": 133, "column": 17 } } @@ -111270,15 +112375,15 @@ "updateContext": null }, "value": "Using wavesurfer.js ", - "start": 4977, - "end": 4999, + "start": 4841, + "end": 4863, "loc": { "start": { - "line": 138, + "line": 133, "column": 17 }, "end": { - "line": 138, + "line": 133, "column": 39 } } @@ -111297,15 +112402,15 @@ "updateContext": null }, "value": "+", - "start": 5000, - "end": 5001, + "start": 4864, + "end": 4865, "loc": { "start": { - "line": 138, + "line": 133, "column": 40 }, "end": { - "line": 138, + "line": 133, "column": 41 } } @@ -111325,15 +112430,15 @@ "updateContext": null }, "value": "this", - "start": 5002, - "end": 5006, + "start": 4866, + "end": 4870, "loc": { "start": { - "line": 138, + "line": 133, "column": 42 }, "end": { - "line": 138, + "line": 133, "column": 46 } } @@ -111351,15 +112456,15 @@ "binop": null, "updateContext": null }, - "start": 5006, - "end": 5007, + "start": 4870, + "end": 4871, "loc": { "start": { - "line": 138, + "line": 133, "column": 46 }, "end": { - "line": 138, + "line": 133, "column": 47 } } @@ -111377,15 +112482,15 @@ "binop": null }, "value": "backend", - "start": 5007, - "end": 5014, + "start": 4871, + "end": 4878, "loc": { "start": { - "line": 138, + "line": 133, "column": 47 }, "end": { - "line": 138, + "line": 133, "column": 54 } } @@ -111404,15 +112509,15 @@ "updateContext": null }, "value": "+", - "start": 5015, - "end": 5016, + "start": 4879, + "end": 4880, "loc": { "start": { - "line": 138, + "line": 133, "column": 55 }, "end": { - "line": 138, + "line": 133, "column": 56 } } @@ -111431,15 +112536,15 @@ "updateContext": null }, "value": " backend.", - "start": 5017, - "end": 5028, + "start": 4881, + "end": 4892, "loc": { "start": { - "line": 138, + "line": 133, "column": 57 }, "end": { - "line": 138, + "line": 133, "column": 68 } } @@ -111456,15 +112561,15 @@ "postfix": false, "binop": null }, - "start": 5028, - "end": 5029, + "start": 4892, + "end": 4893, "loc": { "start": { - "line": 138, + "line": 133, "column": 68 }, "end": { - "line": 138, + "line": 133, "column": 69 } } @@ -111482,15 +112587,15 @@ "binop": null, "updateContext": null }, - "start": 5029, - "end": 5030, + "start": 4893, + "end": 4894, "loc": { "start": { - "line": 138, + "line": 133, "column": 69 }, "end": { - "line": 138, + "line": 133, "column": 70 } } @@ -111498,15 +112603,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 5040, - "end": 5098, + "start": 4904, + "end": 4962, "loc": { "start": { - "line": 140, + "line": 135, "column": 8 }, "end": { - "line": 140, + "line": 135, "column": 66 } } @@ -111526,15 +112631,15 @@ "updateContext": null }, "value": "if", - "start": 5107, - "end": 5109, + "start": 4971, + "end": 4973, "loc": { "start": { - "line": 141, + "line": 136, "column": 8 }, "end": { - "line": 141, + "line": 136, "column": 10 } } @@ -111551,15 +112656,15 @@ "postfix": false, "binop": null }, - "start": 5110, - "end": 5111, + "start": 4974, + "end": 4975, "loc": { "start": { - "line": 141, + "line": 136, "column": 11 }, "end": { - "line": 141, + "line": 136, "column": 12 } } @@ -111578,15 +112683,15 @@ "updateContext": null }, "value": "microphone", - "start": 5111, - "end": 5123, + "start": 4975, + "end": 4987, "loc": { "start": { - "line": 141, + "line": 136, "column": 12 }, "end": { - "line": 141, + "line": 136, "column": 24 } } @@ -111606,15 +112711,15 @@ "updateContext": null }, "value": "in", - "start": 5124, - "end": 5126, + "start": 4988, + "end": 4990, "loc": { "start": { - "line": 141, + "line": 136, "column": 25 }, "end": { - "line": 141, + "line": 136, "column": 27 } } @@ -111634,15 +112739,15 @@ "updateContext": null }, "value": "this", - "start": 5127, - "end": 5131, + "start": 4991, + "end": 4995, "loc": { "start": { - "line": 141, + "line": 136, "column": 28 }, "end": { - "line": 141, + "line": 136, "column": 32 } } @@ -111660,15 +112765,15 @@ "binop": null, "updateContext": null }, - "start": 5131, - "end": 5132, + "start": 4995, + "end": 4996, "loc": { "start": { - "line": 141, + "line": 136, "column": 32 }, "end": { - "line": 141, + "line": 136, "column": 33 } } @@ -111686,15 +112791,15 @@ "binop": null }, "value": "player", - "start": 5132, - "end": 5138, + "start": 4996, + "end": 5002, "loc": { "start": { - "line": 141, + "line": 136, "column": 33 }, "end": { - "line": 141, + "line": 136, "column": 39 } } @@ -111712,15 +112817,15 @@ "binop": null, "updateContext": null }, - "start": 5138, - "end": 5139, + "start": 5002, + "end": 5003, "loc": { "start": { - "line": 141, + "line": 136, "column": 39 }, "end": { - "line": 141, + "line": 136, "column": 40 } } @@ -111738,15 +112843,15 @@ "binop": null }, "value": "wavesurfer", - "start": 5139, - "end": 5149, + "start": 5003, + "end": 5013, "loc": { "start": { - "line": 141, + "line": 136, "column": 40 }, "end": { - "line": 141, + "line": 136, "column": 50 } } @@ -111763,15 +112868,15 @@ "postfix": false, "binop": null }, - "start": 5149, - "end": 5150, + "start": 5013, + "end": 5014, "loc": { "start": { - "line": 141, + "line": 136, "column": 50 }, "end": { - "line": 141, + "line": 136, "column": 51 } } @@ -111788,15 +112893,15 @@ "postfix": false, "binop": null }, - "start": 5150, - "end": 5151, + "start": 5014, + "end": 5015, "loc": { "start": { - "line": 141, + "line": 136, "column": 51 }, "end": { - "line": 141, + "line": 136, "column": 52 } } @@ -111814,15 +112919,15 @@ "binop": null, "updateContext": null }, - "start": 5151, - "end": 5152, + "start": 5015, + "end": 5016, "loc": { "start": { - "line": 141, + "line": 136, "column": 52 }, "end": { - "line": 141, + "line": 136, "column": 53 } } @@ -111840,15 +112945,15 @@ "binop": null }, "value": "surfer", - "start": 5152, - "end": 5158, + "start": 5016, + "end": 5022, "loc": { "start": { - "line": 141, + "line": 136, "column": 53 }, "end": { - "line": 141, + "line": 136, "column": 59 } } @@ -111866,15 +112971,15 @@ "binop": null, "updateContext": null }, - "start": 5158, - "end": 5159, + "start": 5022, + "end": 5023, "loc": { "start": { - "line": 141, + "line": 136, "column": 59 }, "end": { - "line": 141, + "line": 136, "column": 60 } } @@ -111892,15 +112997,15 @@ "binop": null }, "value": "getActivePlugins", - "start": 5159, - "end": 5175, + "start": 5023, + "end": 5039, "loc": { "start": { - "line": 141, + "line": 136, "column": 60 }, "end": { - "line": 141, + "line": 136, "column": 76 } } @@ -111917,15 +113022,15 @@ "postfix": false, "binop": null }, - "start": 5175, - "end": 5176, + "start": 5039, + "end": 5040, "loc": { "start": { - "line": 141, + "line": 136, "column": 76 }, "end": { - "line": 141, + "line": 136, "column": 77 } } @@ -111942,15 +113047,15 @@ "postfix": false, "binop": null }, - "start": 5176, - "end": 5177, + "start": 5040, + "end": 5041, "loc": { "start": { - "line": 141, + "line": 136, "column": 77 }, "end": { - "line": 141, + "line": 136, "column": 78 } } @@ -111967,15 +113072,15 @@ "postfix": false, "binop": null }, - "start": 5177, - "end": 5178, + "start": 5041, + "end": 5042, "loc": { "start": { - "line": 141, + "line": 136, "column": 78 }, "end": { - "line": 141, + "line": 136, "column": 79 } } @@ -111992,15 +113097,15 @@ "postfix": false, "binop": null }, - "start": 5179, - "end": 5180, + "start": 5043, + "end": 5044, "loc": { "start": { - "line": 141, + "line": 136, "column": 80 }, "end": { - "line": 141, + "line": 136, "column": 81 } } @@ -112008,15 +113113,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5193, - "end": 5232, + "start": 5057, + "end": 5096, "loc": { "start": { - "line": 142, + "line": 137, "column": 12 }, "end": { - "line": 142, + "line": 137, "column": 51 } } @@ -112036,15 +113141,15 @@ "updateContext": null }, "value": "this", - "start": 5245, - "end": 5249, + "start": 5109, + "end": 5113, "loc": { "start": { - "line": 143, + "line": 138, "column": 12 }, "end": { - "line": 143, + "line": 138, "column": 16 } } @@ -112062,15 +113167,15 @@ "binop": null, "updateContext": null }, - "start": 5249, - "end": 5250, + "start": 5113, + "end": 5114, "loc": { "start": { - "line": 143, + "line": 138, "column": 16 }, "end": { - "line": 143, + "line": 138, "column": 17 } } @@ -112088,15 +113193,15 @@ "binop": null }, "value": "liveMode", - "start": 5250, - "end": 5258, + "start": 5114, + "end": 5122, "loc": { "start": { - "line": 143, + "line": 138, "column": 17 }, "end": { - "line": 143, + "line": 138, "column": 25 } } @@ -112115,15 +113220,15 @@ "updateContext": null }, "value": "=", - "start": 5259, - "end": 5260, + "start": 5123, + "end": 5124, "loc": { "start": { - "line": 143, + "line": 138, "column": 26 }, "end": { - "line": 143, + "line": 138, "column": 27 } } @@ -112143,15 +113248,15 @@ "updateContext": null }, "value": "true", - "start": 5261, - "end": 5265, + "start": 5125, + "end": 5129, "loc": { "start": { - "line": 143, + "line": 138, "column": 28 }, "end": { - "line": 143, + "line": 138, "column": 32 } } @@ -112169,15 +113274,15 @@ "binop": null, "updateContext": null }, - "start": 5265, - "end": 5266, + "start": 5129, + "end": 5130, "loc": { "start": { - "line": 143, + "line": 138, "column": 32 }, "end": { - "line": 143, + "line": 138, "column": 33 } } @@ -112197,15 +113302,15 @@ "updateContext": null }, "value": "this", - "start": 5279, - "end": 5283, + "start": 5143, + "end": 5147, "loc": { "start": { - "line": 144, + "line": 139, "column": 12 }, "end": { - "line": 144, + "line": 139, "column": 16 } } @@ -112223,15 +113328,15 @@ "binop": null, "updateContext": null }, - "start": 5283, - "end": 5284, + "start": 5147, + "end": 5148, "loc": { "start": { - "line": 144, + "line": 139, "column": 16 }, "end": { - "line": 144, + "line": 139, "column": 17 } } @@ -112249,15 +113354,15 @@ "binop": null }, "value": "waveReady", - "start": 5284, - "end": 5293, + "start": 5148, + "end": 5157, "loc": { "start": { - "line": 144, + "line": 139, "column": 17 }, "end": { - "line": 144, + "line": 139, "column": 26 } } @@ -112276,15 +113381,15 @@ "updateContext": null }, "value": "=", - "start": 5294, - "end": 5295, + "start": 5158, + "end": 5159, "loc": { "start": { - "line": 144, + "line": 139, "column": 27 }, "end": { - "line": 144, + "line": 139, "column": 28 } } @@ -112304,15 +113409,15 @@ "updateContext": null }, "value": "true", - "start": 5296, - "end": 5300, + "start": 5160, + "end": 5164, "loc": { "start": { - "line": 144, + "line": 139, "column": 29 }, "end": { - "line": 144, + "line": 139, "column": 33 } } @@ -112330,15 +113435,15 @@ "binop": null, "updateContext": null }, - "start": 5300, - "end": 5301, + "start": 5164, + "end": 5165, "loc": { "start": { - "line": 144, + "line": 139, "column": 33 }, "end": { - "line": 144, + "line": 139, "column": 34 } } @@ -112358,15 +113463,15 @@ "updateContext": null }, "value": "this", - "start": 5314, - "end": 5318, + "start": 5178, + "end": 5182, "loc": { "start": { - "line": 145, + "line": 140, "column": 12 }, "end": { - "line": 145, + "line": 140, "column": 16 } } @@ -112384,15 +113489,15 @@ "binop": null, "updateContext": null }, - "start": 5318, - "end": 5319, + "start": 5182, + "end": 5183, "loc": { "start": { - "line": 145, + "line": 140, "column": 16 }, "end": { - "line": 145, + "line": 140, "column": 17 } } @@ -112410,15 +113515,15 @@ "binop": null }, "value": "log", - "start": 5319, - "end": 5322, + "start": 5183, + "end": 5186, "loc": { "start": { - "line": 145, + "line": 140, "column": 17 }, "end": { - "line": 145, + "line": 140, "column": 20 } } @@ -112435,15 +113540,15 @@ "postfix": false, "binop": null }, - "start": 5322, - "end": 5323, + "start": 5186, + "end": 5187, "loc": { "start": { - "line": 145, + "line": 140, "column": 20 }, "end": { - "line": 145, + "line": 140, "column": 21 } } @@ -112462,15 +113567,15 @@ "updateContext": null }, "value": "wavesurfer.js microphone plugin enabled.", - "start": 5323, - "end": 5365, + "start": 5187, + "end": 5229, "loc": { "start": { - "line": 145, + "line": 140, "column": 21 }, "end": { - "line": 145, + "line": 140, "column": 63 } } @@ -112487,15 +113592,15 @@ "postfix": false, "binop": null }, - "start": 5365, - "end": 5366, + "start": 5229, + "end": 5230, "loc": { "start": { - "line": 145, + "line": 140, "column": 63 }, "end": { - "line": 145, + "line": 140, "column": 64 } } @@ -112513,15 +113618,15 @@ "binop": null, "updateContext": null }, - "start": 5366, - "end": 5367, + "start": 5230, + "end": 5231, "loc": { "start": { - "line": 145, + "line": 140, "column": 64 }, "end": { - "line": 145, + "line": 140, "column": 65 } } @@ -112529,15 +113634,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5381, - "end": 5425, + "start": 5245, + "end": 5289, "loc": { "start": { - "line": 147, + "line": 142, "column": 12 }, "end": { - "line": 147, + "line": 142, "column": 56 } } @@ -112557,15 +113662,15 @@ "updateContext": null }, "value": "this", - "start": 5438, - "end": 5442, + "start": 5302, + "end": 5306, "loc": { "start": { - "line": 148, + "line": 143, "column": 12 }, "end": { - "line": 148, + "line": 143, "column": 16 } } @@ -112583,15 +113688,15 @@ "binop": null, "updateContext": null }, - "start": 5442, - "end": 5443, + "start": 5306, + "end": 5307, "loc": { "start": { - "line": 148, + "line": 143, "column": 16 }, "end": { - "line": 148, + "line": 143, "column": 17 } } @@ -112609,15 +113714,15 @@ "binop": null }, "value": "player", - "start": 5443, - "end": 5449, + "start": 5307, + "end": 5313, "loc": { "start": { - "line": 148, + "line": 143, "column": 17 }, "end": { - "line": 148, + "line": 143, "column": 23 } } @@ -112635,15 +113740,15 @@ "binop": null, "updateContext": null }, - "start": 5449, - "end": 5450, + "start": 5313, + "end": 5314, "loc": { "start": { - "line": 148, + "line": 143, "column": 23 }, "end": { - "line": 148, + "line": 143, "column": 24 } } @@ -112661,15 +113766,15 @@ "binop": null }, "value": "controlBar", - "start": 5450, - "end": 5460, + "start": 5314, + "end": 5324, "loc": { "start": { - "line": 148, + "line": 143, "column": 24 }, "end": { - "line": 148, + "line": 143, "column": 34 } } @@ -112687,15 +113792,15 @@ "binop": null, "updateContext": null }, - "start": 5460, - "end": 5461, + "start": 5324, + "end": 5325, "loc": { "start": { - "line": 148, + "line": 143, "column": 34 }, "end": { - "line": 148, + "line": 143, "column": 35 } } @@ -112713,15 +113818,15 @@ "binop": null }, "value": "playToggle", - "start": 5461, - "end": 5471, + "start": 5325, + "end": 5335, "loc": { "start": { - "line": 148, + "line": 143, "column": 35 }, "end": { - "line": 148, + "line": 143, "column": 45 } } @@ -112739,15 +113844,15 @@ "binop": null, "updateContext": null }, - "start": 5471, - "end": 5472, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 148, + "line": 143, "column": 45 }, "end": { - "line": 148, + "line": 143, "column": 46 } } @@ -112765,15 +113870,15 @@ "binop": null }, "value": "show", - "start": 5472, - "end": 5476, + "start": 5336, + "end": 5340, "loc": { "start": { - "line": 148, + "line": 143, "column": 46 }, "end": { - "line": 148, + "line": 143, "column": 50 } } @@ -112790,15 +113895,15 @@ "postfix": false, "binop": null }, - "start": 5476, - "end": 5477, + "start": 5340, + "end": 5341, "loc": { "start": { - "line": 148, + "line": 143, "column": 50 }, "end": { - "line": 148, + "line": 143, "column": 51 } } @@ -112815,15 +113920,15 @@ "postfix": false, "binop": null }, - "start": 5477, - "end": 5478, + "start": 5341, + "end": 5342, "loc": { "start": { - "line": 148, + "line": 143, "column": 51 }, "end": { - "line": 148, + "line": 143, "column": 52 } } @@ -112841,15 +113946,15 @@ "binop": null, "updateContext": null }, - "start": 5478, - "end": 5479, + "start": 5342, + "end": 5343, "loc": { "start": { - "line": 148, + "line": 143, "column": 52 }, "end": { - "line": 148, + "line": 143, "column": 53 } } @@ -112857,15 +113962,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5493, - "end": 5545, + "start": 5357, + "end": 5409, "loc": { "start": { - "line": 150, + "line": 145, "column": 12 }, "end": { - "line": 150, + "line": 145, "column": 64 } } @@ -112885,15 +113990,15 @@ "updateContext": null }, "value": "this", - "start": 5558, - "end": 5562, + "start": 5422, + "end": 5426, "loc": { "start": { - "line": 151, + "line": 146, "column": 12 }, "end": { - "line": 151, + "line": 146, "column": 16 } } @@ -112911,15 +114016,15 @@ "binop": null, "updateContext": null }, - "start": 5562, - "end": 5563, + "start": 5426, + "end": 5427, "loc": { "start": { - "line": 151, + "line": 146, "column": 16 }, "end": { - "line": 151, + "line": 146, "column": 17 } } @@ -112937,15 +114042,15 @@ "binop": null }, "value": "surfer", - "start": 5563, - "end": 5569, + "start": 5427, + "end": 5433, "loc": { "start": { - "line": 151, + "line": 146, "column": 17 }, "end": { - "line": 151, + "line": 146, "column": 23 } } @@ -112963,15 +114068,15 @@ "binop": null, "updateContext": null }, - "start": 5569, - "end": 5570, + "start": 5433, + "end": 5434, "loc": { "start": { - "line": 151, + "line": 146, "column": 23 }, "end": { - "line": 151, + "line": 146, "column": 24 } } @@ -112989,15 +114094,15 @@ "binop": null }, "value": "microphone", - "start": 5570, - "end": 5580, + "start": 5434, + "end": 5444, "loc": { "start": { - "line": 151, + "line": 146, "column": 24 }, "end": { - "line": 151, + "line": 146, "column": 34 } } @@ -113015,15 +114120,15 @@ "binop": null, "updateContext": null }, - "start": 5580, - "end": 5581, + "start": 5444, + "end": 5445, "loc": { "start": { - "line": 151, + "line": 146, "column": 34 }, "end": { - "line": 151, + "line": 146, "column": 35 } } @@ -113041,15 +114146,15 @@ "binop": null }, "value": "on", - "start": 5581, - "end": 5583, + "start": 5445, + "end": 5447, "loc": { "start": { - "line": 151, + "line": 146, "column": 35 }, "end": { - "line": 151, + "line": 146, "column": 37 } } @@ -113066,15 +114171,15 @@ "postfix": false, "binop": null }, - "start": 5583, - "end": 5584, + "start": 5447, + "end": 5448, "loc": { "start": { - "line": 151, + "line": 146, "column": 37 }, "end": { - "line": 151, + "line": 146, "column": 38 } } @@ -113092,15 +114197,15 @@ "binop": null }, "value": "Event", - "start": 5584, - "end": 5589, + "start": 5448, + "end": 5453, "loc": { "start": { - "line": 151, + "line": 146, "column": 38 }, "end": { - "line": 151, + "line": 146, "column": 43 } } @@ -113118,15 +114223,15 @@ "binop": null, "updateContext": null }, - "start": 5589, - "end": 5590, + "start": 5453, + "end": 5454, "loc": { "start": { - "line": 151, + "line": 146, "column": 43 }, "end": { - "line": 151, + "line": 146, "column": 44 } } @@ -113144,15 +114249,15 @@ "binop": null }, "value": "DEVICE_ERROR", - "start": 5590, - "end": 5602, + "start": 5454, + "end": 5466, "loc": { "start": { - "line": 151, + "line": 146, "column": 44 }, "end": { - "line": 151, + "line": 146, "column": 56 } } @@ -113170,15 +114275,15 @@ "binop": null, "updateContext": null }, - "start": 5602, - "end": 5603, + "start": 5466, + "end": 5467, "loc": { "start": { - "line": 151, + "line": 146, "column": 56 }, "end": { - "line": 151, + "line": 146, "column": 57 } } @@ -113198,15 +114303,15 @@ "updateContext": null }, "value": "this", - "start": 5620, - "end": 5624, + "start": 5484, + "end": 5488, "loc": { "start": { - "line": 152, + "line": 147, "column": 16 }, "end": { - "line": 152, + "line": 147, "column": 20 } } @@ -113224,15 +114329,15 @@ "binop": null, "updateContext": null }, - "start": 5624, - "end": 5625, + "start": 5488, + "end": 5489, "loc": { "start": { - "line": 152, + "line": 147, "column": 20 }, "end": { - "line": 152, + "line": 147, "column": 21 } } @@ -113250,15 +114355,15 @@ "binop": null }, "value": "onWaveError", - "start": 5625, - "end": 5636, + "start": 5489, + "end": 5500, "loc": { "start": { - "line": 152, + "line": 147, "column": 21 }, "end": { - "line": 152, + "line": 147, "column": 32 } } @@ -113276,15 +114381,15 @@ "binop": null, "updateContext": null }, - "start": 5636, - "end": 5637, + "start": 5500, + "end": 5501, "loc": { "start": { - "line": 152, + "line": 147, "column": 32 }, "end": { - "line": 152, + "line": 147, "column": 33 } } @@ -113302,15 +114407,15 @@ "binop": null }, "value": "bind", - "start": 5637, - "end": 5641, + "start": 5501, + "end": 5505, "loc": { "start": { - "line": 152, + "line": 147, "column": 33 }, "end": { - "line": 152, + "line": 147, "column": 37 } } @@ -113327,15 +114432,15 @@ "postfix": false, "binop": null }, - "start": 5641, - "end": 5642, + "start": 5505, + "end": 5506, "loc": { "start": { - "line": 152, + "line": 147, "column": 37 }, "end": { - "line": 152, + "line": 147, "column": 38 } } @@ -113355,15 +114460,15 @@ "updateContext": null }, "value": "this", - "start": 5642, - "end": 5646, + "start": 5506, + "end": 5510, "loc": { "start": { - "line": 152, + "line": 147, "column": 38 }, "end": { - "line": 152, + "line": 147, "column": 42 } } @@ -113380,15 +114485,15 @@ "postfix": false, "binop": null }, - "start": 5646, - "end": 5647, + "start": 5510, + "end": 5511, "loc": { "start": { - "line": 152, + "line": 147, "column": 42 }, "end": { - "line": 152, + "line": 147, "column": 43 } } @@ -113405,15 +114510,15 @@ "postfix": false, "binop": null }, - "start": 5647, - "end": 5648, + "start": 5511, + "end": 5512, "loc": { "start": { - "line": 152, + "line": 147, "column": 43 }, "end": { - "line": 152, + "line": 147, "column": 44 } } @@ -113431,15 +114536,15 @@ "binop": null, "updateContext": null }, - "start": 5648, - "end": 5649, + "start": 5512, + "end": 5513, "loc": { "start": { - "line": 152, + "line": 147, "column": 44 }, "end": { - "line": 152, + "line": 147, "column": 45 } } @@ -113456,15 +114561,15 @@ "postfix": false, "binop": null }, - "start": 5658, - "end": 5659, + "start": 5522, + "end": 5523, "loc": { "start": { - "line": 153, + "line": 148, "column": 8 }, "end": { - "line": 153, + "line": 148, "column": 9 } } @@ -113472,15 +114577,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5669, - "end": 5703, + "start": 5533, + "end": 5567, "loc": { "start": { - "line": 155, + "line": 150, "column": 8 }, "end": { - "line": 155, + "line": 150, "column": 42 } } @@ -113500,15 +114605,15 @@ "updateContext": null }, "value": "this", - "start": 5712, - "end": 5716, + "start": 5576, + "end": 5580, "loc": { "start": { - "line": 156, + "line": 151, "column": 8 }, "end": { - "line": 156, + "line": 151, "column": 12 } } @@ -113526,15 +114631,15 @@ "binop": null, "updateContext": null }, - "start": 5716, - "end": 5717, + "start": 5580, + "end": 5581, "loc": { "start": { - "line": 156, + "line": 151, "column": 12 }, "end": { - "line": 156, + "line": 151, "column": 13 } } @@ -113552,15 +114657,15 @@ "binop": null }, "value": "surferReady", - "start": 5717, - "end": 5728, + "start": 5581, + "end": 5592, "loc": { "start": { - "line": 156, + "line": 151, "column": 13 }, "end": { - "line": 156, + "line": 151, "column": 24 } } @@ -113579,15 +114684,15 @@ "updateContext": null }, "value": "=", - "start": 5729, - "end": 5730, + "start": 5593, + "end": 5594, "loc": { "start": { - "line": 156, + "line": 151, "column": 25 }, "end": { - "line": 156, + "line": 151, "column": 26 } } @@ -113607,15 +114712,15 @@ "updateContext": null }, "value": "this", - "start": 5731, - "end": 5735, + "start": 5595, + "end": 5599, "loc": { "start": { - "line": 156, + "line": 151, "column": 27 }, "end": { - "line": 156, + "line": 151, "column": 31 } } @@ -113633,15 +114738,15 @@ "binop": null, "updateContext": null }, - "start": 5735, - "end": 5736, + "start": 5599, + "end": 5600, "loc": { "start": { - "line": 156, + "line": 151, "column": 31 }, "end": { - "line": 156, + "line": 151, "column": 32 } } @@ -113659,15 +114764,15 @@ "binop": null }, "value": "onWaveReady", - "start": 5736, - "end": 5747, + "start": 5600, + "end": 5611, "loc": { "start": { - "line": 156, + "line": 151, "column": 32 }, "end": { - "line": 156, + "line": 151, "column": 43 } } @@ -113685,15 +114790,15 @@ "binop": null, "updateContext": null }, - "start": 5747, - "end": 5748, + "start": 5611, + "end": 5612, "loc": { "start": { - "line": 156, + "line": 151, "column": 43 }, "end": { - "line": 156, + "line": 151, "column": 44 } } @@ -113711,15 +114816,15 @@ "binop": null }, "value": "bind", - "start": 5748, - "end": 5752, + "start": 5612, + "end": 5616, "loc": { "start": { - "line": 156, + "line": 151, "column": 44 }, "end": { - "line": 156, + "line": 151, "column": 48 } } @@ -113736,15 +114841,15 @@ "postfix": false, "binop": null }, - "start": 5752, - "end": 5753, + "start": 5616, + "end": 5617, "loc": { "start": { - "line": 156, + "line": 151, "column": 48 }, "end": { - "line": 156, + "line": 151, "column": 49 } } @@ -113764,15 +114869,15 @@ "updateContext": null }, "value": "this", - "start": 5753, - "end": 5757, + "start": 5617, + "end": 5621, "loc": { "start": { - "line": 156, + "line": 151, "column": 49 }, "end": { - "line": 156, + "line": 151, "column": 53 } } @@ -113789,15 +114894,15 @@ "postfix": false, "binop": null }, - "start": 5757, - "end": 5758, + "start": 5621, + "end": 5622, "loc": { "start": { - "line": 156, + "line": 151, "column": 53 }, "end": { - "line": 156, + "line": 151, "column": 54 } } @@ -113815,15 +114920,15 @@ "binop": null, "updateContext": null }, - "start": 5758, - "end": 5759, + "start": 5622, + "end": 5623, "loc": { "start": { - "line": 156, + "line": 151, "column": 54 }, "end": { - "line": 156, + "line": 151, "column": 55 } } @@ -113843,15 +114948,15 @@ "updateContext": null }, "value": "if", - "start": 5768, - "end": 5770, + "start": 5632, + "end": 5634, "loc": { "start": { - "line": 157, + "line": 152, "column": 8 }, "end": { - "line": 157, + "line": 152, "column": 10 } } @@ -113868,15 +114973,15 @@ "postfix": false, "binop": null }, - "start": 5771, - "end": 5772, + "start": 5635, + "end": 5636, "loc": { "start": { - "line": 157, + "line": 152, "column": 11 }, "end": { - "line": 157, + "line": 152, "column": 12 } } @@ -113896,15 +115001,15 @@ "updateContext": null }, "value": "this", - "start": 5772, - "end": 5776, + "start": 5636, + "end": 5640, "loc": { "start": { - "line": 157, + "line": 152, "column": 12 }, "end": { - "line": 157, + "line": 152, "column": 16 } } @@ -113922,15 +115027,15 @@ "binop": null, "updateContext": null }, - "start": 5776, - "end": 5777, + "start": 5640, + "end": 5641, "loc": { "start": { - "line": 157, + "line": 152, "column": 16 }, "end": { - "line": 157, + "line": 152, "column": 17 } } @@ -113948,15 +115053,15 @@ "binop": null }, "value": "backend", - "start": 5777, - "end": 5784, + "start": 5641, + "end": 5648, "loc": { "start": { - "line": 157, + "line": 152, "column": 17 }, "end": { - "line": 157, + "line": 152, "column": 24 } } @@ -113975,22 +115080,22 @@ "updateContext": null }, "value": "===", - "start": 5785, - "end": 5788, + "start": 5649, + "end": 5652, "loc": { "start": { - "line": 157, + "line": 152, "column": 25 }, "end": { - "line": 157, + "line": 152, "column": 28 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -113998,20 +115103,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 5789, - "end": 5799, + "value": "WEBAUDIO", + "start": 5653, + "end": 5661, "loc": { "start": { - "line": 157, + "line": 152, "column": 29 }, "end": { - "line": 157, - "column": 39 + "line": 152, + "column": 37 } } }, @@ -114027,16 +115131,16 @@ "postfix": false, "binop": null }, - "start": 5799, - "end": 5800, + "start": 5661, + "end": 5662, "loc": { "start": { - "line": 157, - "column": 39 + "line": 152, + "column": 37 }, "end": { - "line": 157, - "column": 40 + "line": 152, + "column": 38 } } }, @@ -114052,16 +115156,16 @@ "postfix": false, "binop": null }, - "start": 5801, - "end": 5802, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 157, - "column": 41 + "line": 152, + "column": 39 }, "end": { - "line": 157, - "column": 42 + "line": 152, + "column": 40 } } }, @@ -114080,15 +115184,15 @@ "updateContext": null }, "value": "this", - "start": 5815, - "end": 5819, + "start": 5677, + "end": 5681, "loc": { "start": { - "line": 158, + "line": 153, "column": 12 }, "end": { - "line": 158, + "line": 153, "column": 16 } } @@ -114106,15 +115210,15 @@ "binop": null, "updateContext": null }, - "start": 5819, - "end": 5820, + "start": 5681, + "end": 5682, "loc": { "start": { - "line": 158, + "line": 153, "column": 16 }, "end": { - "line": 158, + "line": 153, "column": 17 } } @@ -114132,15 +115236,15 @@ "binop": null }, "value": "surferProgress", - "start": 5820, - "end": 5834, + "start": 5682, + "end": 5696, "loc": { "start": { - "line": 158, + "line": 153, "column": 17 }, "end": { - "line": 158, + "line": 153, "column": 31 } } @@ -114159,15 +115263,15 @@ "updateContext": null }, "value": "=", - "start": 5835, - "end": 5836, + "start": 5697, + "end": 5698, "loc": { "start": { - "line": 158, + "line": 153, "column": 32 }, "end": { - "line": 158, + "line": 153, "column": 33 } } @@ -114187,15 +115291,15 @@ "updateContext": null }, "value": "this", - "start": 5837, - "end": 5841, + "start": 5699, + "end": 5703, "loc": { "start": { - "line": 158, + "line": 153, "column": 34 }, "end": { - "line": 158, + "line": 153, "column": 38 } } @@ -114213,15 +115317,15 @@ "binop": null, "updateContext": null }, - "start": 5841, - "end": 5842, + "start": 5703, + "end": 5704, "loc": { "start": { - "line": 158, + "line": 153, "column": 38 }, "end": { - "line": 158, + "line": 153, "column": 39 } } @@ -114239,15 +115343,15 @@ "binop": null }, "value": "onWaveProgress", - "start": 5842, - "end": 5856, + "start": 5704, + "end": 5718, "loc": { "start": { - "line": 158, + "line": 153, "column": 39 }, "end": { - "line": 158, + "line": 153, "column": 53 } } @@ -114265,15 +115369,15 @@ "binop": null, "updateContext": null }, - "start": 5856, - "end": 5857, + "start": 5718, + "end": 5719, "loc": { "start": { - "line": 158, + "line": 153, "column": 53 }, "end": { - "line": 158, + "line": 153, "column": 54 } } @@ -114291,15 +115395,15 @@ "binop": null }, "value": "bind", - "start": 5857, - "end": 5861, + "start": 5719, + "end": 5723, "loc": { "start": { - "line": 158, + "line": 153, "column": 54 }, "end": { - "line": 158, + "line": 153, "column": 58 } } @@ -114316,15 +115420,15 @@ "postfix": false, "binop": null }, - "start": 5861, - "end": 5862, + "start": 5723, + "end": 5724, "loc": { "start": { - "line": 158, + "line": 153, "column": 58 }, "end": { - "line": 158, + "line": 153, "column": 59 } } @@ -114344,15 +115448,15 @@ "updateContext": null }, "value": "this", - "start": 5862, - "end": 5866, + "start": 5724, + "end": 5728, "loc": { "start": { - "line": 158, + "line": 153, "column": 59 }, "end": { - "line": 158, + "line": 153, "column": 63 } } @@ -114369,15 +115473,15 @@ "postfix": false, "binop": null }, - "start": 5866, - "end": 5867, + "start": 5728, + "end": 5729, "loc": { "start": { - "line": 158, + "line": 153, "column": 63 }, "end": { - "line": 158, + "line": 153, "column": 64 } } @@ -114395,15 +115499,15 @@ "binop": null, "updateContext": null }, - "start": 5867, - "end": 5868, + "start": 5729, + "end": 5730, "loc": { "start": { - "line": 158, + "line": 153, "column": 64 }, "end": { - "line": 158, + "line": 153, "column": 65 } } @@ -114423,15 +115527,15 @@ "updateContext": null }, "value": "this", - "start": 5881, - "end": 5885, + "start": 5743, + "end": 5747, "loc": { "start": { - "line": 159, + "line": 154, "column": 12 }, "end": { - "line": 159, + "line": 154, "column": 16 } } @@ -114449,15 +115553,15 @@ "binop": null, "updateContext": null }, - "start": 5885, - "end": 5886, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 159, + "line": 154, "column": 16 }, "end": { - "line": 159, + "line": 154, "column": 17 } } @@ -114475,15 +115579,15 @@ "binop": null }, "value": "surferSeek", - "start": 5886, - "end": 5896, + "start": 5748, + "end": 5758, "loc": { "start": { - "line": 159, + "line": 154, "column": 17 }, "end": { - "line": 159, + "line": 154, "column": 27 } } @@ -114502,15 +115606,15 @@ "updateContext": null }, "value": "=", - "start": 5897, - "end": 5898, + "start": 5759, + "end": 5760, "loc": { "start": { - "line": 159, + "line": 154, "column": 28 }, "end": { - "line": 159, + "line": 154, "column": 29 } } @@ -114530,15 +115634,15 @@ "updateContext": null }, "value": "this", - "start": 5899, - "end": 5903, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 159, + "line": 154, "column": 30 }, "end": { - "line": 159, + "line": 154, "column": 34 } } @@ -114556,15 +115660,15 @@ "binop": null, "updateContext": null }, - "start": 5903, - "end": 5904, + "start": 5765, + "end": 5766, "loc": { "start": { - "line": 159, + "line": 154, "column": 34 }, "end": { - "line": 159, + "line": 154, "column": 35 } } @@ -114582,15 +115686,15 @@ "binop": null }, "value": "onWaveSeek", - "start": 5904, - "end": 5914, + "start": 5766, + "end": 5776, "loc": { "start": { - "line": 159, + "line": 154, "column": 35 }, "end": { - "line": 159, + "line": 154, "column": 45 } } @@ -114608,15 +115712,15 @@ "binop": null, "updateContext": null }, - "start": 5914, - "end": 5915, + "start": 5776, + "end": 5777, "loc": { "start": { - "line": 159, + "line": 154, "column": 45 }, "end": { - "line": 159, + "line": 154, "column": 46 } } @@ -114634,15 +115738,15 @@ "binop": null }, "value": "bind", - "start": 5915, - "end": 5919, + "start": 5777, + "end": 5781, "loc": { "start": { - "line": 159, + "line": 154, "column": 46 }, "end": { - "line": 159, + "line": 154, "column": 50 } } @@ -114659,15 +115763,15 @@ "postfix": false, "binop": null }, - "start": 5919, - "end": 5920, + "start": 5781, + "end": 5782, "loc": { "start": { - "line": 159, + "line": 154, "column": 50 }, "end": { - "line": 159, + "line": 154, "column": 51 } } @@ -114687,15 +115791,15 @@ "updateContext": null }, "value": "this", - "start": 5920, - "end": 5924, + "start": 5782, + "end": 5786, "loc": { "start": { - "line": 159, + "line": 154, "column": 51 }, "end": { - "line": 159, + "line": 154, "column": 55 } } @@ -114712,15 +115816,15 @@ "postfix": false, "binop": null }, - "start": 5924, - "end": 5925, + "start": 5786, + "end": 5787, "loc": { "start": { - "line": 159, + "line": 154, "column": 55 }, "end": { - "line": 159, + "line": 154, "column": 56 } } @@ -114738,15 +115842,15 @@ "binop": null, "updateContext": null }, - "start": 5925, - "end": 5926, + "start": 5787, + "end": 5788, "loc": { "start": { - "line": 159, + "line": 154, "column": 56 }, "end": { - "line": 159, + "line": 154, "column": 57 } } @@ -114754,15 +115858,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5940, - "end": 5983, + "start": 5802, + "end": 5845, "loc": { "start": { - "line": 161, + "line": 156, "column": 12 }, "end": { - "line": 161, + "line": 156, "column": 55 } } @@ -114782,15 +115886,15 @@ "updateContext": null }, "value": "if", - "start": 5996, - "end": 5998, + "start": 5858, + "end": 5860, "loc": { "start": { - "line": 162, + "line": 157, "column": 12 }, "end": { - "line": 162, + "line": 157, "column": 14 } } @@ -114807,15 +115911,15 @@ "postfix": false, "binop": null }, - "start": 5999, - "end": 6000, + "start": 5861, + "end": 5862, "loc": { "start": { - "line": 162, + "line": 157, "column": 15 }, "end": { - "line": 162, + "line": 157, "column": 16 } } @@ -114835,15 +115939,15 @@ "updateContext": null }, "value": "this", - "start": 6000, - "end": 6004, + "start": 5862, + "end": 5866, "loc": { "start": { - "line": 162, + "line": 157, "column": 16 }, "end": { - "line": 162, + "line": 157, "column": 20 } } @@ -114861,15 +115965,15 @@ "binop": null, "updateContext": null }, - "start": 6004, - "end": 6005, + "start": 5866, + "end": 5867, "loc": { "start": { - "line": 162, + "line": 157, "column": 20 }, "end": { - "line": 162, + "line": 157, "column": 21 } } @@ -114887,15 +115991,15 @@ "binop": null }, "value": "player", - "start": 6005, - "end": 6011, + "start": 5867, + "end": 5873, "loc": { "start": { - "line": 162, + "line": 157, "column": 21 }, "end": { - "line": 162, + "line": 157, "column": 27 } } @@ -114913,15 +116017,15 @@ "binop": null, "updateContext": null }, - "start": 6011, - "end": 6012, + "start": 5873, + "end": 5874, "loc": { "start": { - "line": 162, + "line": 157, "column": 27 }, "end": { - "line": 162, + "line": 157, "column": 28 } } @@ -114939,15 +116043,15 @@ "binop": null }, "value": "muted", - "start": 6012, - "end": 6017, + "start": 5874, + "end": 5879, "loc": { "start": { - "line": 162, + "line": 157, "column": 28 }, "end": { - "line": 162, + "line": 157, "column": 33 } } @@ -114964,15 +116068,15 @@ "postfix": false, "binop": null }, - "start": 6017, - "end": 6018, + "start": 5879, + "end": 5880, "loc": { "start": { - "line": 162, + "line": 157, "column": 33 }, "end": { - "line": 162, + "line": 157, "column": 34 } } @@ -114989,15 +116093,15 @@ "postfix": false, "binop": null }, - "start": 6018, - "end": 6019, + "start": 5880, + "end": 5881, "loc": { "start": { - "line": 162, + "line": 157, "column": 34 }, "end": { - "line": 162, + "line": 157, "column": 35 } } @@ -115014,15 +116118,15 @@ "postfix": false, "binop": null }, - "start": 6019, - "end": 6020, + "start": 5881, + "end": 5882, "loc": { "start": { - "line": 162, + "line": 157, "column": 35 }, "end": { - "line": 162, + "line": 157, "column": 36 } } @@ -115039,15 +116143,15 @@ "postfix": false, "binop": null }, - "start": 6021, - "end": 6022, + "start": 5883, + "end": 5884, "loc": { "start": { - "line": 162, + "line": 157, "column": 37 }, "end": { - "line": 162, + "line": 157, "column": 38 } } @@ -115067,15 +116171,15 @@ "updateContext": null }, "value": "this", - "start": 6039, - "end": 6043, + "start": 5901, + "end": 5905, "loc": { "start": { - "line": 163, + "line": 158, "column": 16 }, "end": { - "line": 163, + "line": 158, "column": 20 } } @@ -115093,15 +116197,15 @@ "binop": null, "updateContext": null }, - "start": 6043, - "end": 6044, + "start": 5905, + "end": 5906, "loc": { "start": { - "line": 163, + "line": 158, "column": 20 }, "end": { - "line": 163, + "line": 158, "column": 21 } } @@ -115119,15 +116223,15 @@ "binop": null }, "value": "setVolume", - "start": 6044, - "end": 6053, + "start": 5906, + "end": 5915, "loc": { "start": { - "line": 163, + "line": 158, "column": 21 }, "end": { - "line": 163, + "line": 158, "column": 30 } } @@ -115144,15 +116248,15 @@ "postfix": false, "binop": null }, - "start": 6053, - "end": 6054, + "start": 5915, + "end": 5916, "loc": { "start": { - "line": 163, + "line": 158, "column": 30 }, "end": { - "line": 163, + "line": 158, "column": 31 } } @@ -115171,15 +116275,15 @@ "updateContext": null }, "value": 0, - "start": 6054, - "end": 6055, + "start": 5916, + "end": 5917, "loc": { "start": { - "line": 163, + "line": 158, "column": 31 }, "end": { - "line": 163, + "line": 158, "column": 32 } } @@ -115196,15 +116300,15 @@ "postfix": false, "binop": null }, - "start": 6055, - "end": 6056, + "start": 5917, + "end": 5918, "loc": { "start": { - "line": 163, + "line": 158, "column": 32 }, "end": { - "line": 163, + "line": 158, "column": 33 } } @@ -115222,15 +116326,15 @@ "binop": null, "updateContext": null }, - "start": 6056, - "end": 6057, + "start": 5918, + "end": 5919, "loc": { "start": { - "line": 163, + "line": 158, "column": 33 }, "end": { - "line": 163, + "line": 158, "column": 34 } } @@ -115247,15 +116351,15 @@ "postfix": false, "binop": null }, - "start": 6070, - "end": 6071, + "start": 5932, + "end": 5933, "loc": { "start": { - "line": 164, + "line": 159, "column": 12 }, "end": { - "line": 164, + "line": 159, "column": 13 } } @@ -115272,15 +116376,15 @@ "postfix": false, "binop": null }, - "start": 6080, - "end": 6081, + "start": 5942, + "end": 5943, "loc": { "start": { - "line": 165, + "line": 160, "column": 8 }, "end": { - "line": 165, + "line": 160, "column": 9 } } @@ -115288,15 +116392,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 6091, - "end": 6151, + "start": 5953, + "end": 6013, "loc": { "start": { - "line": 167, + "line": 162, "column": 8 }, "end": { - "line": 167, + "line": 162, "column": 68 } } @@ -115304,15 +116408,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6160, - "end": 6175, + "start": 6022, + "end": 6037, "loc": { "start": { - "line": 168, + "line": 163, "column": 8 }, "end": { - "line": 168, + "line": 163, "column": 23 } } @@ -115332,15 +116436,15 @@ "updateContext": null }, "value": "if", - "start": 6184, - "end": 6186, + "start": 6046, + "end": 6048, "loc": { "start": { - "line": 169, + "line": 164, "column": 8 }, "end": { - "line": 169, + "line": 164, "column": 10 } } @@ -115357,15 +116461,15 @@ "postfix": false, "binop": null }, - "start": 6187, - "end": 6188, + "start": 6049, + "end": 6050, "loc": { "start": { - "line": 169, + "line": 164, "column": 11 }, "end": { - "line": 169, + "line": 164, "column": 12 } } @@ -115384,15 +116488,15 @@ "updateContext": null }, "value": "!", - "start": 6188, - "end": 6189, + "start": 6050, + "end": 6051, "loc": { "start": { - "line": 169, + "line": 164, "column": 12 }, "end": { - "line": 169, + "line": 164, "column": 13 } } @@ -115412,15 +116516,15 @@ "updateContext": null }, "value": "this", - "start": 6189, - "end": 6193, + "start": 6051, + "end": 6055, "loc": { "start": { - "line": 169, + "line": 164, "column": 13 }, "end": { - "line": 169, + "line": 164, "column": 17 } } @@ -115438,15 +116542,15 @@ "binop": null, "updateContext": null }, - "start": 6193, - "end": 6194, + "start": 6055, + "end": 6056, "loc": { "start": { - "line": 169, + "line": 164, "column": 17 }, "end": { - "line": 169, + "line": 164, "column": 18 } } @@ -115464,15 +116568,15 @@ "binop": null }, "value": "liveMode", - "start": 6194, - "end": 6202, + "start": 6056, + "end": 6064, "loc": { "start": { - "line": 169, + "line": 164, "column": 18 }, "end": { - "line": 169, + "line": 164, "column": 26 } } @@ -115489,15 +116593,15 @@ "postfix": false, "binop": null }, - "start": 6202, - "end": 6203, + "start": 6064, + "end": 6065, "loc": { "start": { - "line": 169, + "line": 164, "column": 26 }, "end": { - "line": 169, + "line": 164, "column": 27 } } @@ -115514,15 +116618,15 @@ "postfix": false, "binop": null }, - "start": 6204, - "end": 6205, + "start": 6066, + "end": 6067, "loc": { "start": { - "line": 169, + "line": 164, "column": 28 }, "end": { - "line": 169, + "line": 164, "column": 29 } } @@ -115542,15 +116646,15 @@ "updateContext": null }, "value": "this", - "start": 6218, - "end": 6222, + "start": 6080, + "end": 6084, "loc": { "start": { - "line": 170, + "line": 165, "column": 12 }, "end": { - "line": 170, + "line": 165, "column": 16 } } @@ -115568,15 +116672,15 @@ "binop": null, "updateContext": null }, - "start": 6222, - "end": 6223, + "start": 6084, + "end": 6085, "loc": { "start": { - "line": 170, + "line": 165, "column": 16 }, "end": { - "line": 170, + "line": 165, "column": 17 } } @@ -115594,15 +116698,15 @@ "binop": null }, "value": "setupPlaybackEvents", - "start": 6223, - "end": 6242, + "start": 6085, + "end": 6104, "loc": { "start": { - "line": 170, + "line": 165, "column": 17 }, "end": { - "line": 170, + "line": 165, "column": 36 } } @@ -115619,15 +116723,15 @@ "postfix": false, "binop": null }, - "start": 6242, - "end": 6243, + "start": 6104, + "end": 6105, "loc": { "start": { - "line": 170, + "line": 165, "column": 36 }, "end": { - "line": 170, + "line": 165, "column": 37 } } @@ -115647,15 +116751,15 @@ "updateContext": null }, "value": "true", - "start": 6243, - "end": 6247, + "start": 6105, + "end": 6109, "loc": { "start": { - "line": 170, + "line": 165, "column": 37 }, "end": { - "line": 170, + "line": 165, "column": 41 } } @@ -115672,15 +116776,15 @@ "postfix": false, "binop": null }, - "start": 6247, - "end": 6248, + "start": 6109, + "end": 6110, "loc": { "start": { - "line": 170, + "line": 165, "column": 41 }, "end": { - "line": 170, + "line": 165, "column": 42 } } @@ -115698,15 +116802,15 @@ "binop": null, "updateContext": null }, - "start": 6248, - "end": 6249, + "start": 6110, + "end": 6111, "loc": { "start": { - "line": 170, + "line": 165, "column": 42 }, "end": { - "line": 170, + "line": 165, "column": 43 } } @@ -115723,15 +116827,15 @@ "postfix": false, "binop": null }, - "start": 6258, - "end": 6259, + "start": 6120, + "end": 6121, "loc": { "start": { - "line": 171, + "line": 166, "column": 8 }, "end": { - "line": 171, + "line": 166, "column": 9 } } @@ -115739,15 +116843,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6269, - "end": 6294, + "start": 6131, + "end": 6156, "loc": { "start": { - "line": 173, + "line": 168, "column": 8 }, "end": { - "line": 173, + "line": 168, "column": 33 } } @@ -115767,15 +116871,15 @@ "updateContext": null }, "value": "this", - "start": 6303, - "end": 6307, + "start": 6165, + "end": 6169, "loc": { "start": { - "line": 174, + "line": 169, "column": 8 }, "end": { - "line": 174, + "line": 169, "column": 12 } } @@ -115793,15 +116897,15 @@ "binop": null, "updateContext": null }, - "start": 6307, - "end": 6308, + "start": 6169, + "end": 6170, "loc": { "start": { - "line": 174, + "line": 169, "column": 12 }, "end": { - "line": 174, + "line": 169, "column": 13 } } @@ -115819,15 +116923,15 @@ "binop": null }, "value": "player", - "start": 6308, - "end": 6314, + "start": 6170, + "end": 6176, "loc": { "start": { - "line": 174, + "line": 169, "column": 13 }, "end": { - "line": 174, + "line": 169, "column": 19 } } @@ -115845,15 +116949,15 @@ "binop": null, "updateContext": null }, - "start": 6314, - "end": 6315, + "start": 6176, + "end": 6177, "loc": { "start": { - "line": 174, + "line": 169, "column": 19 }, "end": { - "line": 174, + "line": 169, "column": 20 } } @@ -115871,15 +116975,15 @@ "binop": null }, "value": "on", - "start": 6315, - "end": 6317, + "start": 6177, + "end": 6179, "loc": { "start": { - "line": 174, + "line": 169, "column": 20 }, "end": { - "line": 174, + "line": 169, "column": 22 } } @@ -115896,15 +117000,15 @@ "postfix": false, "binop": null }, - "start": 6317, - "end": 6318, + "start": 6179, + "end": 6180, "loc": { "start": { - "line": 174, + "line": 169, "column": 22 }, "end": { - "line": 174, + "line": 169, "column": 23 } } @@ -115922,15 +117026,15 @@ "binop": null }, "value": "Event", - "start": 6318, - "end": 6323, + "start": 6180, + "end": 6185, "loc": { "start": { - "line": 174, + "line": 169, "column": 23 }, "end": { - "line": 174, + "line": 169, "column": 28 } } @@ -115948,15 +117052,15 @@ "binop": null, "updateContext": null }, - "start": 6323, - "end": 6324, + "start": 6185, + "end": 6186, "loc": { "start": { - "line": 174, + "line": 169, "column": 28 }, "end": { - "line": 174, + "line": 169, "column": 29 } } @@ -115974,15 +117078,15 @@ "binop": null }, "value": "VOLUMECHANGE", - "start": 6324, - "end": 6336, + "start": 6186, + "end": 6198, "loc": { "start": { - "line": 174, + "line": 169, "column": 29 }, "end": { - "line": 174, + "line": 169, "column": 41 } } @@ -116000,15 +117104,15 @@ "binop": null, "updateContext": null }, - "start": 6336, - "end": 6337, + "start": 6198, + "end": 6199, "loc": { "start": { - "line": 174, + "line": 169, "column": 41 }, "end": { - "line": 174, + "line": 169, "column": 42 } } @@ -116028,15 +117132,15 @@ "updateContext": null }, "value": "this", - "start": 6338, - "end": 6342, + "start": 6200, + "end": 6204, "loc": { "start": { - "line": 174, + "line": 169, "column": 43 }, "end": { - "line": 174, + "line": 169, "column": 47 } } @@ -116054,15 +117158,15 @@ "binop": null, "updateContext": null }, - "start": 6342, - "end": 6343, + "start": 6204, + "end": 6205, "loc": { "start": { - "line": 174, + "line": 169, "column": 47 }, "end": { - "line": 174, + "line": 169, "column": 48 } } @@ -116080,15 +117184,15 @@ "binop": null }, "value": "onVolumeChange", - "start": 6343, - "end": 6357, + "start": 6205, + "end": 6219, "loc": { "start": { - "line": 174, + "line": 169, "column": 48 }, "end": { - "line": 174, + "line": 169, "column": 62 } } @@ -116106,15 +117210,15 @@ "binop": null, "updateContext": null }, - "start": 6357, - "end": 6358, + "start": 6219, + "end": 6220, "loc": { "start": { - "line": 174, + "line": 169, "column": 62 }, "end": { - "line": 174, + "line": 169, "column": 63 } } @@ -116132,15 +117236,15 @@ "binop": null }, "value": "bind", - "start": 6358, - "end": 6362, + "start": 6220, + "end": 6224, "loc": { "start": { - "line": 174, + "line": 169, "column": 63 }, "end": { - "line": 174, + "line": 169, "column": 67 } } @@ -116157,15 +117261,15 @@ "postfix": false, "binop": null }, - "start": 6362, - "end": 6363, + "start": 6224, + "end": 6225, "loc": { "start": { - "line": 174, + "line": 169, "column": 67 }, "end": { - "line": 174, + "line": 169, "column": 68 } } @@ -116185,15 +117289,15 @@ "updateContext": null }, "value": "this", - "start": 6363, - "end": 6367, + "start": 6225, + "end": 6229, "loc": { "start": { - "line": 174, + "line": 169, "column": 68 }, "end": { - "line": 174, + "line": 169, "column": 72 } } @@ -116210,15 +117314,15 @@ "postfix": false, "binop": null }, - "start": 6367, - "end": 6368, + "start": 6229, + "end": 6230, "loc": { "start": { - "line": 174, + "line": 169, "column": 72 }, "end": { - "line": 174, + "line": 169, "column": 73 } } @@ -116235,15 +117339,15 @@ "postfix": false, "binop": null }, - "start": 6368, - "end": 6369, + "start": 6230, + "end": 6231, "loc": { "start": { - "line": 174, + "line": 169, "column": 73 }, "end": { - "line": 174, + "line": 169, "column": 74 } } @@ -116261,15 +117365,15 @@ "binop": null, "updateContext": null }, - "start": 6369, - "end": 6370, + "start": 6231, + "end": 6232, "loc": { "start": { - "line": 174, + "line": 169, "column": 74 }, "end": { - "line": 174, + "line": 169, "column": 75 } } @@ -116289,15 +117393,15 @@ "updateContext": null }, "value": "this", - "start": 6379, - "end": 6383, + "start": 6241, + "end": 6245, "loc": { "start": { - "line": 175, + "line": 170, "column": 8 }, "end": { - "line": 175, + "line": 170, "column": 12 } } @@ -116315,15 +117419,15 @@ "binop": null, "updateContext": null }, - "start": 6383, - "end": 6384, + "start": 6245, + "end": 6246, "loc": { "start": { - "line": 175, + "line": 170, "column": 12 }, "end": { - "line": 175, + "line": 170, "column": 13 } } @@ -116341,15 +117445,15 @@ "binop": null }, "value": "player", - "start": 6384, - "end": 6390, + "start": 6246, + "end": 6252, "loc": { "start": { - "line": 175, + "line": 170, "column": 13 }, "end": { - "line": 175, + "line": 170, "column": 19 } } @@ -116367,15 +117471,15 @@ "binop": null, "updateContext": null }, - "start": 6390, - "end": 6391, + "start": 6252, + "end": 6253, "loc": { "start": { - "line": 175, + "line": 170, "column": 19 }, "end": { - "line": 175, + "line": 170, "column": 20 } } @@ -116393,15 +117497,15 @@ "binop": null }, "value": "on", - "start": 6391, - "end": 6393, + "start": 6253, + "end": 6255, "loc": { "start": { - "line": 175, + "line": 170, "column": 20 }, "end": { - "line": 175, + "line": 170, "column": 22 } } @@ -116418,15 +117522,15 @@ "postfix": false, "binop": null }, - "start": 6393, - "end": 6394, + "start": 6255, + "end": 6256, "loc": { "start": { - "line": 175, + "line": 170, "column": 22 }, "end": { - "line": 175, + "line": 170, "column": 23 } } @@ -116444,15 +117548,15 @@ "binop": null }, "value": "Event", - "start": 6394, - "end": 6399, + "start": 6256, + "end": 6261, "loc": { "start": { - "line": 175, + "line": 170, "column": 23 }, "end": { - "line": 175, + "line": 170, "column": 28 } } @@ -116470,15 +117574,15 @@ "binop": null, "updateContext": null }, - "start": 6399, - "end": 6400, + "start": 6261, + "end": 6262, "loc": { "start": { - "line": 175, + "line": 170, "column": 28 }, "end": { - "line": 175, + "line": 170, "column": 29 } } @@ -116496,15 +117600,15 @@ "binop": null }, "value": "FULLSCREENCHANGE", - "start": 6400, - "end": 6416, + "start": 6262, + "end": 6278, "loc": { "start": { - "line": 175, + "line": 170, "column": 29 }, "end": { - "line": 175, + "line": 170, "column": 45 } } @@ -116522,15 +117626,15 @@ "binop": null, "updateContext": null }, - "start": 6416, - "end": 6417, + "start": 6278, + "end": 6279, "loc": { "start": { - "line": 175, + "line": 170, "column": 45 }, "end": { - "line": 175, + "line": 170, "column": 46 } } @@ -116550,15 +117654,15 @@ "updateContext": null }, "value": "this", - "start": 6418, - "end": 6422, + "start": 6280, + "end": 6284, "loc": { "start": { - "line": 175, + "line": 170, "column": 47 }, "end": { - "line": 175, + "line": 170, "column": 51 } } @@ -116576,15 +117680,15 @@ "binop": null, "updateContext": null }, - "start": 6422, - "end": 6423, + "start": 6284, + "end": 6285, "loc": { "start": { - "line": 175, + "line": 170, "column": 51 }, "end": { - "line": 175, + "line": 170, "column": 52 } } @@ -116602,15 +117706,15 @@ "binop": null }, "value": "onScreenChange", - "start": 6423, - "end": 6437, + "start": 6285, + "end": 6299, "loc": { "start": { - "line": 175, + "line": 170, "column": 52 }, "end": { - "line": 175, + "line": 170, "column": 66 } } @@ -116628,15 +117732,15 @@ "binop": null, "updateContext": null }, - "start": 6437, - "end": 6438, + "start": 6299, + "end": 6300, "loc": { "start": { - "line": 175, + "line": 170, "column": 66 }, "end": { - "line": 175, + "line": 170, "column": 67 } } @@ -116654,15 +117758,15 @@ "binop": null }, "value": "bind", - "start": 6438, - "end": 6442, + "start": 6300, + "end": 6304, "loc": { "start": { - "line": 175, + "line": 170, "column": 67 }, "end": { - "line": 175, + "line": 170, "column": 71 } } @@ -116679,15 +117783,15 @@ "postfix": false, "binop": null }, - "start": 6442, - "end": 6443, + "start": 6304, + "end": 6305, "loc": { "start": { - "line": 175, + "line": 170, "column": 71 }, "end": { - "line": 175, + "line": 170, "column": 72 } } @@ -116707,15 +117811,15 @@ "updateContext": null }, "value": "this", - "start": 6443, - "end": 6447, + "start": 6305, + "end": 6309, "loc": { "start": { - "line": 175, + "line": 170, "column": 72 }, "end": { - "line": 175, + "line": 170, "column": 76 } } @@ -116732,15 +117836,15 @@ "postfix": false, "binop": null }, - "start": 6447, - "end": 6448, + "start": 6309, + "end": 6310, "loc": { "start": { - "line": 175, + "line": 170, "column": 76 }, "end": { - "line": 175, + "line": 170, "column": 77 } } @@ -116757,15 +117861,15 @@ "postfix": false, "binop": null }, - "start": 6448, - "end": 6449, + "start": 6310, + "end": 6311, "loc": { "start": { - "line": 175, + "line": 170, "column": 77 }, "end": { - "line": 175, + "line": 170, "column": 78 } } @@ -116783,15 +117887,15 @@ "binop": null, "updateContext": null }, - "start": 6449, - "end": 6450, + "start": 6311, + "end": 6312, "loc": { "start": { - "line": 175, + "line": 170, "column": 78 }, "end": { - "line": 175, + "line": 170, "column": 79 } } @@ -116799,15 +117903,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6460, - "end": 6484, + "start": 6322, + "end": 6346, "loc": { "start": { - "line": 177, + "line": 172, "column": 8 }, "end": { - "line": 177, + "line": 172, "column": 32 } } @@ -116827,15 +117931,15 @@ "updateContext": null }, "value": "if", - "start": 6493, - "end": 6495, + "start": 6355, + "end": 6357, "loc": { "start": { - "line": 178, + "line": 173, "column": 8 }, "end": { - "line": 178, + "line": 173, "column": 10 } } @@ -116852,15 +117956,15 @@ "postfix": false, "binop": null }, - "start": 6496, - "end": 6497, + "start": 6358, + "end": 6359, "loc": { "start": { - "line": 178, + "line": 173, "column": 11 }, "end": { - "line": 178, + "line": 173, "column": 12 } } @@ -116880,15 +117984,15 @@ "updateContext": null }, "value": "this", - "start": 6497, - "end": 6501, + "start": 6359, + "end": 6363, "loc": { "start": { - "line": 178, + "line": 173, "column": 12 }, "end": { - "line": 178, + "line": 173, "column": 16 } } @@ -116906,15 +118010,15 @@ "binop": null, "updateContext": null }, - "start": 6501, - "end": 6502, + "start": 6363, + "end": 6364, "loc": { "start": { - "line": 178, + "line": 173, "column": 16 }, "end": { - "line": 178, + "line": 173, "column": 17 } } @@ -116932,15 +118036,15 @@ "binop": null }, "value": "player", - "start": 6502, - "end": 6508, + "start": 6364, + "end": 6370, "loc": { "start": { - "line": 178, + "line": 173, "column": 17 }, "end": { - "line": 178, + "line": 173, "column": 23 } } @@ -116958,15 +118062,15 @@ "binop": null, "updateContext": null }, - "start": 6508, - "end": 6509, + "start": 6370, + "end": 6371, "loc": { "start": { - "line": 178, + "line": 173, "column": 23 }, "end": { - "line": 178, + "line": 173, "column": 24 } } @@ -116984,15 +118088,15 @@ "binop": null }, "value": "options_", - "start": 6509, - "end": 6517, + "start": 6371, + "end": 6379, "loc": { "start": { - "line": 178, + "line": 173, "column": 24 }, "end": { - "line": 178, + "line": 173, "column": 32 } } @@ -117010,15 +118114,15 @@ "binop": null, "updateContext": null }, - "start": 6517, - "end": 6518, + "start": 6379, + "end": 6380, "loc": { "start": { - "line": 178, + "line": 173, "column": 32 }, "end": { - "line": 178, + "line": 173, "column": 33 } } @@ -117036,15 +118140,15 @@ "binop": null }, "value": "fluid", - "start": 6518, - "end": 6523, + "start": 6380, + "end": 6385, "loc": { "start": { - "line": 178, + "line": 173, "column": 33 }, "end": { - "line": 178, + "line": 173, "column": 38 } } @@ -117063,15 +118167,15 @@ "updateContext": null }, "value": "===", - "start": 6524, - "end": 6527, + "start": 6386, + "end": 6389, "loc": { "start": { - "line": 178, + "line": 173, "column": 39 }, "end": { - "line": 178, + "line": 173, "column": 42 } } @@ -117091,15 +118195,15 @@ "updateContext": null }, "value": "true", - "start": 6528, - "end": 6532, + "start": 6390, + "end": 6394, "loc": { "start": { - "line": 178, + "line": 173, "column": 43 }, "end": { - "line": 178, + "line": 173, "column": 47 } } @@ -117116,15 +118220,15 @@ "postfix": false, "binop": null }, - "start": 6532, - "end": 6533, + "start": 6394, + "end": 6395, "loc": { "start": { - "line": 178, + "line": 173, "column": 47 }, "end": { - "line": 178, + "line": 173, "column": 48 } } @@ -117141,15 +118245,15 @@ "postfix": false, "binop": null }, - "start": 6534, - "end": 6535, + "start": 6396, + "end": 6397, "loc": { "start": { - "line": 178, + "line": 173, "column": 49 }, "end": { - "line": 178, + "line": 173, "column": 50 } } @@ -117157,15 +118261,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6548, - "end": 6600, + "start": 6410, + "end": 6462, "loc": { "start": { - "line": 179, + "line": 174, "column": 12 }, "end": { - "line": 179, + "line": 174, "column": 64 } } @@ -117185,15 +118289,15 @@ "updateContext": null }, "value": "this", - "start": 6613, - "end": 6617, + "start": 6475, + "end": 6479, "loc": { "start": { - "line": 180, + "line": 175, "column": 12 }, "end": { - "line": 180, + "line": 175, "column": 16 } } @@ -117211,15 +118315,15 @@ "binop": null, "updateContext": null }, - "start": 6617, - "end": 6618, + "start": 6479, + "end": 6480, "loc": { "start": { - "line": 180, + "line": 175, "column": 16 }, "end": { - "line": 180, + "line": 175, "column": 17 } } @@ -117237,15 +118341,15 @@ "binop": null }, "value": "surfer", - "start": 6618, - "end": 6624, + "start": 6480, + "end": 6486, "loc": { "start": { - "line": 180, + "line": 175, "column": 17 }, "end": { - "line": 180, + "line": 175, "column": 23 } } @@ -117263,15 +118367,15 @@ "binop": null, "updateContext": null }, - "start": 6624, - "end": 6625, + "start": 6486, + "end": 6487, "loc": { "start": { - "line": 180, + "line": 175, "column": 23 }, "end": { - "line": 180, + "line": 175, "column": 24 } } @@ -117289,15 +118393,15 @@ "binop": null }, "value": "drawer", - "start": 6625, - "end": 6631, + "start": 6487, + "end": 6493, "loc": { "start": { - "line": 180, + "line": 175, "column": 24 }, "end": { - "line": 180, + "line": 175, "column": 30 } } @@ -117315,15 +118419,15 @@ "binop": null, "updateContext": null }, - "start": 6631, - "end": 6632, + "start": 6493, + "end": 6494, "loc": { "start": { - "line": 180, + "line": 175, "column": 30 }, "end": { - "line": 180, + "line": 175, "column": 31 } } @@ -117341,15 +118445,15 @@ "binop": null }, "value": "wrapper", - "start": 6632, - "end": 6639, + "start": 6494, + "end": 6501, "loc": { "start": { - "line": 180, + "line": 175, "column": 31 }, "end": { - "line": 180, + "line": 175, "column": 38 } } @@ -117367,15 +118471,15 @@ "binop": null, "updateContext": null }, - "start": 6639, - "end": 6640, + "start": 6501, + "end": 6502, "loc": { "start": { - "line": 180, + "line": 175, "column": 38 }, "end": { - "line": 180, + "line": 175, "column": 39 } } @@ -117393,15 +118497,15 @@ "binop": null }, "value": "className", - "start": 6640, - "end": 6649, + "start": 6502, + "end": 6511, "loc": { "start": { - "line": 180, + "line": 175, "column": 39 }, "end": { - "line": 180, + "line": 175, "column": 48 } } @@ -117420,15 +118524,15 @@ "updateContext": null }, "value": "=", - "start": 6650, - "end": 6651, + "start": 6512, + "end": 6513, "loc": { "start": { - "line": 180, + "line": 175, "column": 49 }, "end": { - "line": 180, + "line": 175, "column": 50 } } @@ -117446,15 +118550,15 @@ "binop": null }, "value": "wavesurferClassName", - "start": 6652, - "end": 6671, + "start": 6514, + "end": 6533, "loc": { "start": { - "line": 180, + "line": 175, "column": 51 }, "end": { - "line": 180, + "line": 175, "column": 70 } } @@ -117472,15 +118576,15 @@ "binop": null, "updateContext": null }, - "start": 6671, - "end": 6672, + "start": 6533, + "end": 6534, "loc": { "start": { - "line": 180, + "line": 175, "column": 70 }, "end": { - "line": 180, + "line": 175, "column": 71 } } @@ -117488,15 +118592,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6685, - "end": 6719, + "start": 6547, + "end": 6581, "loc": { "start": { - "line": 181, + "line": 176, "column": 12 }, "end": { - "line": 181, + "line": 176, "column": 46 } } @@ -117516,15 +118620,15 @@ "updateContext": null }, "value": "this", - "start": 6732, - "end": 6736, + "start": 6594, + "end": 6598, "loc": { "start": { - "line": 182, + "line": 177, "column": 12 }, "end": { - "line": 182, + "line": 177, "column": 16 } } @@ -117542,15 +118646,15 @@ "binop": null, "updateContext": null }, - "start": 6736, - "end": 6737, + "start": 6598, + "end": 6599, "loc": { "start": { - "line": 182, + "line": 177, "column": 16 }, "end": { - "line": 182, + "line": 177, "column": 17 } } @@ -117568,15 +118672,15 @@ "binop": null }, "value": "responsiveWave", - "start": 6737, - "end": 6751, + "start": 6599, + "end": 6613, "loc": { "start": { - "line": 182, + "line": 177, "column": 17 }, "end": { - "line": 182, + "line": 177, "column": 31 } } @@ -117595,15 +118699,15 @@ "updateContext": null }, "value": "=", - "start": 6752, - "end": 6753, + "start": 6614, + "end": 6615, "loc": { "start": { - "line": 182, + "line": 177, "column": 32 }, "end": { - "line": 182, + "line": 177, "column": 33 } } @@ -117621,15 +118725,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 6754, - "end": 6764, + "start": 6616, + "end": 6626, "loc": { "start": { - "line": 182, + "line": 177, "column": 34 }, "end": { - "line": 182, + "line": 177, "column": 44 } } @@ -117647,15 +118751,15 @@ "binop": null, "updateContext": null }, - "start": 6764, - "end": 6765, + "start": 6626, + "end": 6627, "loc": { "start": { - "line": 182, + "line": 177, "column": 44 }, "end": { - "line": 182, + "line": 177, "column": 45 } } @@ -117673,15 +118777,15 @@ "binop": null }, "value": "util", - "start": 6765, - "end": 6769, + "start": 6627, + "end": 6631, "loc": { "start": { - "line": 182, + "line": 177, "column": 45 }, "end": { - "line": 182, + "line": 177, "column": 49 } } @@ -117699,15 +118803,15 @@ "binop": null, "updateContext": null }, - "start": 6769, - "end": 6770, + "start": 6631, + "end": 6632, "loc": { "start": { - "line": 182, + "line": 177, "column": 49 }, "end": { - "line": 182, + "line": 177, "column": 50 } } @@ -117725,15 +118829,15 @@ "binop": null }, "value": "debounce", - "start": 6770, - "end": 6778, + "start": 6632, + "end": 6640, "loc": { "start": { - "line": 182, + "line": 177, "column": 50 }, "end": { - "line": 182, + "line": 177, "column": 58 } } @@ -117750,15 +118854,15 @@ "postfix": false, "binop": null }, - "start": 6778, - "end": 6779, + "start": 6640, + "end": 6641, "loc": { "start": { - "line": 182, + "line": 177, "column": 58 }, "end": { - "line": 182, + "line": 177, "column": 59 } } @@ -117778,15 +118882,15 @@ "updateContext": null }, "value": "this", - "start": 6796, - "end": 6800, + "start": 6658, + "end": 6662, "loc": { "start": { - "line": 183, + "line": 178, "column": 16 }, "end": { - "line": 183, + "line": 178, "column": 20 } } @@ -117804,15 +118908,15 @@ "binop": null, "updateContext": null }, - "start": 6800, - "end": 6801, + "start": 6662, + "end": 6663, "loc": { "start": { - "line": 183, + "line": 178, "column": 20 }, "end": { - "line": 183, + "line": 178, "column": 21 } } @@ -117830,15 +118934,15 @@ "binop": null }, "value": "onResizeChange", - "start": 6801, - "end": 6815, + "start": 6663, + "end": 6677, "loc": { "start": { - "line": 183, + "line": 178, "column": 21 }, "end": { - "line": 183, + "line": 178, "column": 35 } } @@ -117856,15 +118960,15 @@ "binop": null, "updateContext": null }, - "start": 6815, - "end": 6816, + "start": 6677, + "end": 6678, "loc": { "start": { - "line": 183, + "line": 178, "column": 35 }, "end": { - "line": 183, + "line": 178, "column": 36 } } @@ -117882,15 +118986,15 @@ "binop": null }, "value": "bind", - "start": 6816, - "end": 6820, + "start": 6678, + "end": 6682, "loc": { "start": { - "line": 183, + "line": 178, "column": 36 }, "end": { - "line": 183, + "line": 178, "column": 40 } } @@ -117907,15 +119011,15 @@ "postfix": false, "binop": null }, - "start": 6820, - "end": 6821, + "start": 6682, + "end": 6683, "loc": { "start": { - "line": 183, + "line": 178, "column": 40 }, "end": { - "line": 183, + "line": 178, "column": 41 } } @@ -117935,15 +119039,15 @@ "updateContext": null }, "value": "this", - "start": 6821, - "end": 6825, + "start": 6683, + "end": 6687, "loc": { "start": { - "line": 183, + "line": 178, "column": 41 }, "end": { - "line": 183, + "line": 178, "column": 45 } } @@ -117960,15 +119064,15 @@ "postfix": false, "binop": null }, - "start": 6825, - "end": 6826, + "start": 6687, + "end": 6688, "loc": { "start": { - "line": 183, + "line": 178, "column": 45 }, "end": { - "line": 183, + "line": 178, "column": 46 } } @@ -117986,15 +119090,15 @@ "binop": null, "updateContext": null }, - "start": 6826, - "end": 6827, + "start": 6688, + "end": 6689, "loc": { "start": { - "line": 183, + "line": 178, "column": 46 }, "end": { - "line": 183, + "line": 178, "column": 47 } } @@ -118013,15 +119117,15 @@ "updateContext": null }, "value": 150, - "start": 6828, - "end": 6831, + "start": 6690, + "end": 6693, "loc": { "start": { - "line": 183, + "line": 178, "column": 48 }, "end": { - "line": 183, + "line": 178, "column": 51 } } @@ -118038,15 +119142,15 @@ "postfix": false, "binop": null }, - "start": 6831, - "end": 6832, + "start": 6693, + "end": 6694, "loc": { "start": { - "line": 183, + "line": 178, "column": 51 }, "end": { - "line": 183, + "line": 178, "column": 52 } } @@ -118064,15 +119168,15 @@ "binop": null, "updateContext": null }, - "start": 6832, - "end": 6833, + "start": 6694, + "end": 6695, "loc": { "start": { - "line": 183, + "line": 178, "column": 52 }, "end": { - "line": 183, + "line": 178, "column": 53 } } @@ -118090,15 +119194,15 @@ "binop": null }, "value": "window", - "start": 6846, - "end": 6852, + "start": 6708, + "end": 6714, "loc": { "start": { - "line": 184, + "line": 179, "column": 12 }, "end": { - "line": 184, + "line": 179, "column": 18 } } @@ -118116,15 +119220,15 @@ "binop": null, "updateContext": null }, - "start": 6852, - "end": 6853, + "start": 6714, + "end": 6715, "loc": { "start": { - "line": 184, + "line": 179, "column": 18 }, "end": { - "line": 184, + "line": 179, "column": 19 } } @@ -118142,15 +119246,15 @@ "binop": null }, "value": "addEventListener", - "start": 6853, - "end": 6869, + "start": 6715, + "end": 6731, "loc": { "start": { - "line": 184, + "line": 179, "column": 19 }, "end": { - "line": 184, + "line": 179, "column": 35 } } @@ -118167,15 +119271,15 @@ "postfix": false, "binop": null }, - "start": 6869, - "end": 6870, + "start": 6731, + "end": 6732, "loc": { "start": { - "line": 184, + "line": 179, "column": 35 }, "end": { - "line": 184, + "line": 179, "column": 36 } } @@ -118193,15 +119297,15 @@ "binop": null }, "value": "Event", - "start": 6870, - "end": 6875, + "start": 6732, + "end": 6737, "loc": { "start": { - "line": 184, + "line": 179, "column": 36 }, "end": { - "line": 184, + "line": 179, "column": 41 } } @@ -118219,15 +119323,15 @@ "binop": null, "updateContext": null }, - "start": 6875, - "end": 6876, + "start": 6737, + "end": 6738, "loc": { "start": { - "line": 184, + "line": 179, "column": 41 }, "end": { - "line": 184, + "line": 179, "column": 42 } } @@ -118245,15 +119349,15 @@ "binop": null }, "value": "RESIZE", - "start": 6876, - "end": 6882, + "start": 6738, + "end": 6744, "loc": { "start": { - "line": 184, + "line": 179, "column": 42 }, "end": { - "line": 184, + "line": 179, "column": 48 } } @@ -118271,15 +119375,15 @@ "binop": null, "updateContext": null }, - "start": 6882, - "end": 6883, + "start": 6744, + "end": 6745, "loc": { "start": { - "line": 184, + "line": 179, "column": 48 }, "end": { - "line": 184, + "line": 179, "column": 49 } } @@ -118299,15 +119403,15 @@ "updateContext": null }, "value": "this", - "start": 6884, - "end": 6888, + "start": 6746, + "end": 6750, "loc": { "start": { - "line": 184, + "line": 179, "column": 50 }, "end": { - "line": 184, + "line": 179, "column": 54 } } @@ -118325,15 +119429,15 @@ "binop": null, "updateContext": null }, - "start": 6888, - "end": 6889, + "start": 6750, + "end": 6751, "loc": { "start": { - "line": 184, + "line": 179, "column": 54 }, "end": { - "line": 184, + "line": 179, "column": 55 } } @@ -118351,15 +119455,15 @@ "binop": null }, "value": "responsiveWave", - "start": 6889, - "end": 6903, + "start": 6751, + "end": 6765, "loc": { "start": { - "line": 184, + "line": 179, "column": 55 }, "end": { - "line": 184, + "line": 179, "column": 69 } } @@ -118376,15 +119480,15 @@ "postfix": false, "binop": null }, - "start": 6903, - "end": 6904, + "start": 6765, + "end": 6766, "loc": { "start": { - "line": 184, + "line": 179, "column": 69 }, "end": { - "line": 184, + "line": 179, "column": 70 } } @@ -118402,15 +119506,15 @@ "binop": null, "updateContext": null }, - "start": 6904, - "end": 6905, + "start": 6766, + "end": 6767, "loc": { "start": { - "line": 184, + "line": 179, "column": 70 }, "end": { - "line": 184, + "line": 179, "column": 71 } } @@ -118427,15 +119531,15 @@ "postfix": false, "binop": null }, - "start": 6914, - "end": 6915, + "start": 6776, + "end": 6777, "loc": { "start": { - "line": 185, + "line": 180, "column": 8 }, "end": { - "line": 185, + "line": 180, "column": 9 } } @@ -118452,15 +119556,15 @@ "postfix": false, "binop": null }, - "start": 6920, - "end": 6921, + "start": 6782, + "end": 6783, "loc": { "start": { - "line": 186, + "line": 181, "column": 4 }, "end": { - "line": 186, + "line": 181, "column": 5 } } @@ -118468,15 +119572,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6927, - "end": 7110, + "start": 6789, + "end": 6972, "loc": { "start": { - "line": 188, + "line": 183, "column": 4 }, "end": { - "line": 194, + "line": 189, "column": 7 } } @@ -118494,15 +119598,15 @@ "binop": null }, "value": "parseOptions", - "start": 7115, - "end": 7127, + "start": 6977, + "end": 6989, "loc": { "start": { - "line": 195, + "line": 190, "column": 4 }, "end": { - "line": 195, + "line": 190, "column": 16 } } @@ -118519,15 +119623,15 @@ "postfix": false, "binop": null }, - "start": 7127, - "end": 7128, + "start": 6989, + "end": 6990, "loc": { "start": { - "line": 195, + "line": 190, "column": 16 }, "end": { - "line": 195, + "line": 190, "column": 17 } } @@ -118545,15 +119649,15 @@ "binop": null }, "value": "surferOpts", - "start": 7128, - "end": 7138, + "start": 6990, + "end": 7000, "loc": { "start": { - "line": 195, + "line": 190, "column": 17 }, "end": { - "line": 195, + "line": 190, "column": 27 } } @@ -118572,15 +119676,15 @@ "updateContext": null }, "value": "=", - "start": 7139, - "end": 7140, + "start": 7001, + "end": 7002, "loc": { "start": { - "line": 195, + "line": 190, "column": 28 }, "end": { - "line": 195, + "line": 190, "column": 29 } } @@ -118597,15 +119701,15 @@ "postfix": false, "binop": null }, - "start": 7141, - "end": 7142, + "start": 7003, + "end": 7004, "loc": { "start": { - "line": 195, + "line": 190, "column": 30 }, "end": { - "line": 195, + "line": 190, "column": 31 } } @@ -118622,15 +119726,15 @@ "postfix": false, "binop": null }, - "start": 7142, - "end": 7143, + "start": 7004, + "end": 7005, "loc": { "start": { - "line": 195, + "line": 190, "column": 31 }, "end": { - "line": 195, + "line": 190, "column": 32 } } @@ -118647,15 +119751,15 @@ "postfix": false, "binop": null }, - "start": 7143, - "end": 7144, + "start": 7005, + "end": 7006, "loc": { "start": { - "line": 195, + "line": 190, "column": 32 }, "end": { - "line": 195, + "line": 190, "column": 33 } } @@ -118672,15 +119776,15 @@ "postfix": false, "binop": null }, - "start": 7145, - "end": 7146, + "start": 7007, + "end": 7008, "loc": { "start": { - "line": 195, + "line": 190, "column": 34 }, "end": { - "line": 195, + "line": 190, "column": 35 } } @@ -118700,15 +119804,15 @@ "updateContext": null }, "value": "let", - "start": 7155, - "end": 7158, + "start": 7017, + "end": 7020, "loc": { "start": { - "line": 196, + "line": 191, "column": 8 }, "end": { - "line": 196, + "line": 191, "column": 11 } } @@ -118726,15 +119830,15 @@ "binop": null }, "value": "rect", - "start": 7159, - "end": 7163, + "start": 7021, + "end": 7025, "loc": { "start": { - "line": 196, + "line": 191, "column": 12 }, "end": { - "line": 196, + "line": 191, "column": 16 } } @@ -118753,15 +119857,15 @@ "updateContext": null }, "value": "=", - "start": 7164, - "end": 7165, + "start": 7026, + "end": 7027, "loc": { "start": { - "line": 196, + "line": 191, "column": 17 }, "end": { - "line": 196, + "line": 191, "column": 18 } } @@ -118781,15 +119885,15 @@ "updateContext": null }, "value": "this", - "start": 7166, - "end": 7170, + "start": 7028, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 191, "column": 19 }, "end": { - "line": 196, + "line": 191, "column": 23 } } @@ -118807,15 +119911,15 @@ "binop": null, "updateContext": null }, - "start": 7170, - "end": 7171, + "start": 7032, + "end": 7033, "loc": { "start": { - "line": 196, + "line": 191, "column": 23 }, "end": { - "line": 196, + "line": 191, "column": 24 } } @@ -118833,15 +119937,15 @@ "binop": null }, "value": "player", - "start": 7171, - "end": 7177, + "start": 7033, + "end": 7039, "loc": { "start": { - "line": 196, + "line": 191, "column": 24 }, "end": { - "line": 196, + "line": 191, "column": 30 } } @@ -118859,15 +119963,15 @@ "binop": null, "updateContext": null }, - "start": 7177, - "end": 7178, + "start": 7039, + "end": 7040, "loc": { "start": { - "line": 196, + "line": 191, "column": 30 }, "end": { - "line": 196, + "line": 191, "column": 31 } } @@ -118885,15 +119989,15 @@ "binop": null }, "value": "el_", - "start": 7178, - "end": 7181, + "start": 7040, + "end": 7043, "loc": { "start": { - "line": 196, + "line": 191, "column": 31 }, "end": { - "line": 196, + "line": 191, "column": 34 } } @@ -118911,15 +120015,15 @@ "binop": null, "updateContext": null }, - "start": 7181, - "end": 7182, + "start": 7043, + "end": 7044, "loc": { "start": { - "line": 196, + "line": 191, "column": 34 }, "end": { - "line": 196, + "line": 191, "column": 35 } } @@ -118937,15 +120041,15 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 7182, - "end": 7203, + "start": 7044, + "end": 7065, "loc": { "start": { - "line": 196, + "line": 191, "column": 35 }, "end": { - "line": 196, + "line": 191, "column": 56 } } @@ -118962,15 +120066,15 @@ "postfix": false, "binop": null }, - "start": 7203, - "end": 7204, + "start": 7065, + "end": 7066, "loc": { "start": { - "line": 196, + "line": 191, "column": 56 }, "end": { - "line": 196, + "line": 191, "column": 57 } } @@ -118987,15 +120091,15 @@ "postfix": false, "binop": null }, - "start": 7204, - "end": 7205, + "start": 7066, + "end": 7067, "loc": { "start": { - "line": 196, + "line": 191, "column": 57 }, "end": { - "line": 196, + "line": 191, "column": 58 } } @@ -119013,15 +120117,15 @@ "binop": null, "updateContext": null }, - "start": 7205, - "end": 7206, + "start": 7067, + "end": 7068, "loc": { "start": { - "line": 196, + "line": 191, "column": 58 }, "end": { - "line": 196, + "line": 191, "column": 59 } } @@ -119041,15 +120145,15 @@ "updateContext": null }, "value": "this", - "start": 7215, - "end": 7219, + "start": 7077, + "end": 7081, "loc": { "start": { - "line": 197, + "line": 192, "column": 8 }, "end": { - "line": 197, + "line": 192, "column": 12 } } @@ -119067,15 +120171,15 @@ "binop": null, "updateContext": null }, - "start": 7219, - "end": 7220, + "start": 7081, + "end": 7082, "loc": { "start": { - "line": 197, + "line": 192, "column": 12 }, "end": { - "line": 197, + "line": 192, "column": 13 } } @@ -119093,15 +120197,15 @@ "binop": null }, "value": "originalWidth", - "start": 7220, - "end": 7233, + "start": 7082, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 192, "column": 13 }, "end": { - "line": 197, + "line": 192, "column": 26 } } @@ -119120,15 +120224,15 @@ "updateContext": null }, "value": "=", - "start": 7234, - "end": 7235, + "start": 7096, + "end": 7097, "loc": { "start": { - "line": 197, + "line": 192, "column": 27 }, "end": { - "line": 197, + "line": 192, "column": 28 } } @@ -119148,15 +120252,15 @@ "updateContext": null }, "value": "this", - "start": 7236, - "end": 7240, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 197, + "line": 192, "column": 29 }, "end": { - "line": 197, + "line": 192, "column": 33 } } @@ -119174,15 +120278,15 @@ "binop": null, "updateContext": null }, - "start": 7240, - "end": 7241, + "start": 7102, + "end": 7103, "loc": { "start": { - "line": 197, + "line": 192, "column": 33 }, "end": { - "line": 197, + "line": 192, "column": 34 } } @@ -119200,15 +120304,15 @@ "binop": null }, "value": "player", - "start": 7241, - "end": 7247, + "start": 7103, + "end": 7109, "loc": { "start": { - "line": 197, + "line": 192, "column": 34 }, "end": { - "line": 197, + "line": 192, "column": 40 } } @@ -119226,15 +120330,15 @@ "binop": null, "updateContext": null }, - "start": 7247, - "end": 7248, + "start": 7109, + "end": 7110, "loc": { "start": { - "line": 197, + "line": 192, "column": 40 }, "end": { - "line": 197, + "line": 192, "column": 41 } } @@ -119252,15 +120356,15 @@ "binop": null }, "value": "options_", - "start": 7248, - "end": 7256, + "start": 7110, + "end": 7118, "loc": { "start": { - "line": 197, + "line": 192, "column": 41 }, "end": { - "line": 197, + "line": 192, "column": 49 } } @@ -119278,15 +120382,15 @@ "binop": null, "updateContext": null }, - "start": 7256, - "end": 7257, + "start": 7118, + "end": 7119, "loc": { "start": { - "line": 197, + "line": 192, "column": 49 }, "end": { - "line": 197, + "line": 192, "column": 50 } } @@ -119304,15 +120408,15 @@ "binop": null }, "value": "width", - "start": 7257, - "end": 7262, + "start": 7119, + "end": 7124, "loc": { "start": { - "line": 197, + "line": 192, "column": 50 }, "end": { - "line": 197, + "line": 192, "column": 55 } } @@ -119331,15 +120435,15 @@ "updateContext": null }, "value": "||", - "start": 7263, - "end": 7265, + "start": 7125, + "end": 7127, "loc": { "start": { - "line": 197, + "line": 192, "column": 56 }, "end": { - "line": 197, + "line": 192, "column": 58 } } @@ -119357,15 +120461,15 @@ "binop": null }, "value": "rect", - "start": 7266, - "end": 7270, + "start": 7128, + "end": 7132, "loc": { "start": { - "line": 197, + "line": 192, "column": 59 }, "end": { - "line": 197, + "line": 192, "column": 63 } } @@ -119383,15 +120487,15 @@ "binop": null, "updateContext": null }, - "start": 7270, - "end": 7271, + "start": 7132, + "end": 7133, "loc": { "start": { - "line": 197, + "line": 192, "column": 63 }, "end": { - "line": 197, + "line": 192, "column": 64 } } @@ -119409,15 +120513,15 @@ "binop": null }, "value": "width", - "start": 7271, - "end": 7276, + "start": 7133, + "end": 7138, "loc": { "start": { - "line": 197, + "line": 192, "column": 64 }, "end": { - "line": 197, + "line": 192, "column": 69 } } @@ -119435,15 +120539,15 @@ "binop": null, "updateContext": null }, - "start": 7276, - "end": 7277, + "start": 7138, + "end": 7139, "loc": { "start": { - "line": 197, + "line": 192, "column": 69 }, "end": { - "line": 197, + "line": 192, "column": 70 } } @@ -119463,15 +120567,15 @@ "updateContext": null }, "value": "this", - "start": 7286, - "end": 7290, + "start": 7148, + "end": 7152, "loc": { "start": { - "line": 198, + "line": 193, "column": 8 }, "end": { - "line": 198, + "line": 193, "column": 12 } } @@ -119489,15 +120593,15 @@ "binop": null, "updateContext": null }, - "start": 7290, - "end": 7291, + "start": 7152, + "end": 7153, "loc": { "start": { - "line": 198, + "line": 193, "column": 12 }, "end": { - "line": 198, + "line": 193, "column": 13 } } @@ -119515,15 +120619,15 @@ "binop": null }, "value": "originalHeight", - "start": 7291, - "end": 7305, + "start": 7153, + "end": 7167, "loc": { "start": { - "line": 198, + "line": 193, "column": 13 }, "end": { - "line": 198, + "line": 193, "column": 27 } } @@ -119542,15 +120646,15 @@ "updateContext": null }, "value": "=", - "start": 7306, - "end": 7307, + "start": 7168, + "end": 7169, "loc": { "start": { - "line": 198, + "line": 193, "column": 28 }, "end": { - "line": 198, + "line": 193, "column": 29 } } @@ -119570,15 +120674,15 @@ "updateContext": null }, "value": "this", - "start": 7308, - "end": 7312, + "start": 7170, + "end": 7174, "loc": { "start": { - "line": 198, + "line": 193, "column": 30 }, "end": { - "line": 198, + "line": 193, "column": 34 } } @@ -119596,15 +120700,15 @@ "binop": null, "updateContext": null }, - "start": 7312, - "end": 7313, + "start": 7174, + "end": 7175, "loc": { "start": { - "line": 198, + "line": 193, "column": 34 }, "end": { - "line": 198, + "line": 193, "column": 35 } } @@ -119622,15 +120726,15 @@ "binop": null }, "value": "player", - "start": 7313, - "end": 7319, + "start": 7175, + "end": 7181, "loc": { "start": { - "line": 198, + "line": 193, "column": 35 }, "end": { - "line": 198, + "line": 193, "column": 41 } } @@ -119648,15 +120752,15 @@ "binop": null, "updateContext": null }, - "start": 7319, - "end": 7320, + "start": 7181, + "end": 7182, "loc": { "start": { - "line": 198, + "line": 193, "column": 41 }, "end": { - "line": 198, + "line": 193, "column": 42 } } @@ -119674,15 +120778,15 @@ "binop": null }, "value": "options_", - "start": 7320, - "end": 7328, + "start": 7182, + "end": 7190, "loc": { "start": { - "line": 198, + "line": 193, "column": 42 }, "end": { - "line": 198, + "line": 193, "column": 50 } } @@ -119700,15 +120804,15 @@ "binop": null, "updateContext": null }, - "start": 7328, - "end": 7329, + "start": 7190, + "end": 7191, "loc": { "start": { - "line": 198, + "line": 193, "column": 50 }, "end": { - "line": 198, + "line": 193, "column": 51 } } @@ -119726,15 +120830,15 @@ "binop": null }, "value": "height", - "start": 7329, - "end": 7335, + "start": 7191, + "end": 7197, "loc": { "start": { - "line": 198, + "line": 193, "column": 51 }, "end": { - "line": 198, + "line": 193, "column": 57 } } @@ -119753,15 +120857,15 @@ "updateContext": null }, "value": "||", - "start": 7336, - "end": 7338, + "start": 7198, + "end": 7200, "loc": { "start": { - "line": 198, + "line": 193, "column": 58 }, "end": { - "line": 198, + "line": 193, "column": 60 } } @@ -119779,15 +120883,15 @@ "binop": null }, "value": "rect", - "start": 7339, - "end": 7343, + "start": 7201, + "end": 7205, "loc": { "start": { - "line": 198, + "line": 193, "column": 61 }, "end": { - "line": 198, + "line": 193, "column": 65 } } @@ -119805,15 +120909,15 @@ "binop": null, "updateContext": null }, - "start": 7343, - "end": 7344, + "start": 7205, + "end": 7206, "loc": { "start": { - "line": 198, + "line": 193, "column": 65 }, "end": { - "line": 198, + "line": 193, "column": 66 } } @@ -119831,15 +120935,15 @@ "binop": null }, "value": "height", - "start": 7344, - "end": 7350, + "start": 7206, + "end": 7212, "loc": { "start": { - "line": 198, + "line": 193, "column": 66 }, "end": { - "line": 198, + "line": 193, "column": 72 } } @@ -119857,15 +120961,15 @@ "binop": null, "updateContext": null }, - "start": 7350, - "end": 7351, + "start": 7212, + "end": 7213, "loc": { "start": { - "line": 198, + "line": 193, "column": 72 }, "end": { - "line": 198, + "line": 193, "column": 73 } } @@ -119873,15 +120977,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7361, - "end": 7374, + "start": 7223, + "end": 7236, "loc": { "start": { - "line": 200, + "line": 195, "column": 8 }, "end": { - "line": 200, + "line": 195, "column": 21 } } @@ -119901,15 +121005,15 @@ "updateContext": null }, "value": "let", - "start": 7383, - "end": 7386, + "start": 7245, + "end": 7248, "loc": { "start": { - "line": 201, + "line": 196, "column": 8 }, "end": { - "line": 201, + "line": 196, "column": 11 } } @@ -119927,15 +121031,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7387, - "end": 7403, + "start": 7249, + "end": 7265, "loc": { "start": { - "line": 201, + "line": 196, "column": 12 }, "end": { - "line": 201, + "line": 196, "column": 28 } } @@ -119954,15 +121058,15 @@ "updateContext": null }, "value": "=", - "start": 7404, - "end": 7405, + "start": 7266, + "end": 7267, "loc": { "start": { - "line": 201, + "line": 196, "column": 29 }, "end": { - "line": 201, + "line": 196, "column": 30 } } @@ -119982,15 +121086,15 @@ "updateContext": null }, "value": "this", - "start": 7406, - "end": 7410, + "start": 7268, + "end": 7272, "loc": { "start": { - "line": 201, + "line": 196, "column": 31 }, "end": { - "line": 201, + "line": 196, "column": 35 } } @@ -120008,15 +121112,15 @@ "binop": null, "updateContext": null }, - "start": 7410, - "end": 7411, + "start": 7272, + "end": 7273, "loc": { "start": { - "line": 201, + "line": 196, "column": 35 }, "end": { - "line": 201, + "line": 196, "column": 36 } } @@ -120034,15 +121138,15 @@ "binop": null }, "value": "player", - "start": 7411, - "end": 7417, + "start": 7273, + "end": 7279, "loc": { "start": { - "line": 201, + "line": 196, "column": 36 }, "end": { - "line": 201, + "line": 196, "column": 42 } } @@ -120060,15 +121164,15 @@ "binop": null, "updateContext": null }, - "start": 7417, - "end": 7418, + "start": 7279, + "end": 7280, "loc": { "start": { - "line": 201, + "line": 196, "column": 42 }, "end": { - "line": 201, + "line": 196, "column": 43 } } @@ -120086,15 +121190,15 @@ "binop": null }, "value": "controlBar", - "start": 7418, - "end": 7428, + "start": 7280, + "end": 7290, "loc": { "start": { - "line": 201, + "line": 196, "column": 43 }, "end": { - "line": 201, + "line": 196, "column": 53 } } @@ -120112,15 +121216,15 @@ "binop": null, "updateContext": null }, - "start": 7428, - "end": 7429, + "start": 7290, + "end": 7291, "loc": { "start": { - "line": 201, + "line": 196, "column": 53 }, "end": { - "line": 201, + "line": 196, "column": 54 } } @@ -120138,15 +121242,15 @@ "binop": null }, "value": "height", - "start": 7429, - "end": 7435, + "start": 7291, + "end": 7297, "loc": { "start": { - "line": 201, + "line": 196, "column": 54 }, "end": { - "line": 201, + "line": 196, "column": 60 } } @@ -120163,15 +121267,15 @@ "postfix": false, "binop": null }, - "start": 7435, - "end": 7436, + "start": 7297, + "end": 7298, "loc": { "start": { - "line": 201, + "line": 196, "column": 60 }, "end": { - "line": 201, + "line": 196, "column": 61 } } @@ -120188,15 +121292,15 @@ "postfix": false, "binop": null }, - "start": 7436, - "end": 7437, + "start": 7298, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 196, "column": 61 }, "end": { - "line": 201, + "line": 196, "column": 62 } } @@ -120214,15 +121318,15 @@ "binop": null, "updateContext": null }, - "start": 7437, - "end": 7438, + "start": 7299, + "end": 7300, "loc": { "start": { - "line": 201, + "line": 196, "column": 62 }, "end": { - "line": 201, + "line": 196, "column": 63 } } @@ -120242,15 +121346,15 @@ "updateContext": null }, "value": "if", - "start": 7447, - "end": 7449, + "start": 7309, + "end": 7311, "loc": { "start": { - "line": 202, + "line": 197, "column": 8 }, "end": { - "line": 202, + "line": 197, "column": 10 } } @@ -120267,15 +121371,15 @@ "postfix": false, "binop": null }, - "start": 7450, - "end": 7451, + "start": 7312, + "end": 7313, "loc": { "start": { - "line": 202, + "line": 197, "column": 11 }, "end": { - "line": 202, + "line": 197, "column": 12 } } @@ -120295,15 +121399,15 @@ "updateContext": null }, "value": "this", - "start": 7451, - "end": 7455, + "start": 7313, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 197, "column": 12 }, "end": { - "line": 202, + "line": 197, "column": 16 } } @@ -120321,15 +121425,15 @@ "binop": null, "updateContext": null }, - "start": 7455, - "end": 7456, + "start": 7317, + "end": 7318, "loc": { "start": { - "line": 202, + "line": 197, "column": 16 }, "end": { - "line": 202, + "line": 197, "column": 17 } } @@ -120347,15 +121451,15 @@ "binop": null }, "value": "player", - "start": 7456, - "end": 7462, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 197, "column": 17 }, "end": { - "line": 202, + "line": 197, "column": 23 } } @@ -120373,15 +121477,15 @@ "binop": null, "updateContext": null }, - "start": 7462, - "end": 7463, + "start": 7324, + "end": 7325, "loc": { "start": { - "line": 202, + "line": 197, "column": 23 }, "end": { - "line": 202, + "line": 197, "column": 24 } } @@ -120399,15 +121503,15 @@ "binop": null }, "value": "options_", - "start": 7463, - "end": 7471, + "start": 7325, + "end": 7333, "loc": { "start": { - "line": 202, + "line": 197, "column": 24 }, "end": { - "line": 202, + "line": 197, "column": 32 } } @@ -120425,15 +121529,15 @@ "binop": null, "updateContext": null }, - "start": 7471, - "end": 7472, + "start": 7333, + "end": 7334, "loc": { "start": { - "line": 202, + "line": 197, "column": 32 }, "end": { - "line": 202, + "line": 197, "column": 33 } } @@ -120451,15 +121555,15 @@ "binop": null }, "value": "controls", - "start": 7472, - "end": 7480, + "start": 7334, + "end": 7342, "loc": { "start": { - "line": 202, + "line": 197, "column": 33 }, "end": { - "line": 202, + "line": 197, "column": 41 } } @@ -120478,15 +121582,15 @@ "updateContext": null }, "value": "===", - "start": 7481, - "end": 7484, + "start": 7343, + "end": 7346, "loc": { "start": { - "line": 202, + "line": 197, "column": 42 }, "end": { - "line": 202, + "line": 197, "column": 45 } } @@ -120506,15 +121610,15 @@ "updateContext": null }, "value": "true", - "start": 7485, - "end": 7489, + "start": 7347, + "end": 7351, "loc": { "start": { - "line": 202, + "line": 197, "column": 46 }, "end": { - "line": 202, + "line": 197, "column": 50 } } @@ -120533,15 +121637,15 @@ "updateContext": null }, "value": "&&", - "start": 7490, - "end": 7492, + "start": 7352, + "end": 7354, "loc": { "start": { - "line": 202, + "line": 197, "column": 51 }, "end": { - "line": 202, + "line": 197, "column": 53 } } @@ -120559,15 +121663,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7493, - "end": 7509, + "start": 7355, + "end": 7371, "loc": { "start": { - "line": 202, + "line": 197, "column": 54 }, "end": { - "line": 202, + "line": 197, "column": 70 } } @@ -120586,15 +121690,15 @@ "updateContext": null }, "value": "===", - "start": 7510, - "end": 7513, + "start": 7372, + "end": 7375, "loc": { "start": { - "line": 202, + "line": 197, "column": 71 }, "end": { - "line": 202, + "line": 197, "column": 74 } } @@ -120613,15 +121717,15 @@ "updateContext": null }, "value": 0, - "start": 7514, - "end": 7515, + "start": 7376, + "end": 7377, "loc": { "start": { - "line": 202, + "line": 197, "column": 75 }, "end": { - "line": 202, + "line": 197, "column": 76 } } @@ -120638,15 +121742,15 @@ "postfix": false, "binop": null }, - "start": 7515, - "end": 7516, + "start": 7377, + "end": 7378, "loc": { "start": { - "line": 202, + "line": 197, "column": 76 }, "end": { - "line": 202, + "line": 197, "column": 77 } } @@ -120663,15 +121767,15 @@ "postfix": false, "binop": null }, - "start": 7517, - "end": 7518, + "start": 7379, + "end": 7380, "loc": { "start": { - "line": 202, + "line": 197, "column": 78 }, "end": { - "line": 202, + "line": 197, "column": 79 } } @@ -120679,15 +121783,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7531, - "end": 7592, + "start": 7393, + "end": 7454, "loc": { "start": { - "line": 203, + "line": 198, "column": 12 }, "end": { - "line": 203, + "line": 198, "column": 73 } } @@ -120695,15 +121799,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7605, - "end": 7668, + "start": 7467, + "end": 7530, "loc": { "start": { - "line": 204, + "line": 199, "column": 12 }, "end": { - "line": 204, + "line": 199, "column": 75 } } @@ -120711,15 +121815,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7681, - "end": 7732, + "start": 7543, + "end": 7594, "loc": { "start": { - "line": 205, + "line": 200, "column": 12 }, "end": { - "line": 205, + "line": 200, "column": 63 } } @@ -120737,15 +121841,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7745, - "end": 7761, + "start": 7607, + "end": 7623, "loc": { "start": { - "line": 206, + "line": 201, "column": 12 }, "end": { - "line": 206, + "line": 201, "column": 28 } } @@ -120764,15 +121868,15 @@ "updateContext": null }, "value": "=", - "start": 7762, - "end": 7763, + "start": 7624, + "end": 7625, "loc": { "start": { - "line": 206, + "line": 201, "column": 29 }, "end": { - "line": 206, + "line": 201, "column": 30 } } @@ -120791,15 +121895,15 @@ "updateContext": null }, "value": 30, - "start": 7764, - "end": 7766, + "start": 7626, + "end": 7628, "loc": { "start": { - "line": 206, + "line": 201, "column": 31 }, "end": { - "line": 206, + "line": 201, "column": 33 } } @@ -120817,15 +121921,15 @@ "binop": null, "updateContext": null }, - "start": 7766, - "end": 7767, + "start": 7628, + "end": 7629, "loc": { "start": { - "line": 206, + "line": 201, "column": 33 }, "end": { - "line": 206, + "line": 201, "column": 34 } } @@ -120842,15 +121946,15 @@ "postfix": false, "binop": null }, - "start": 7776, - "end": 7777, + "start": 7638, + "end": 7639, "loc": { "start": { - "line": 207, + "line": 202, "column": 8 }, "end": { - "line": 207, + "line": 202, "column": 9 } } @@ -120858,15 +121962,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7787, - "end": 7825, + "start": 7649, + "end": 7687, "loc": { "start": { - "line": 209, + "line": 204, "column": 8 }, "end": { - "line": 209, + "line": 204, "column": 46 } } @@ -120874,15 +121978,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7834, - "end": 7901, + "start": 7696, + "end": 7763, "loc": { "start": { - "line": 210, + "line": 205, "column": 8 }, "end": { - "line": 210, + "line": 205, "column": 75 } } @@ -120890,15 +121994,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7910, - "end": 7976, + "start": 7772, + "end": 7838, "loc": { "start": { - "line": 211, + "line": 206, "column": 8 }, "end": { - "line": 211, + "line": 206, "column": 74 } } @@ -120906,15 +122010,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7985, - "end": 8032, + "start": 7847, + "end": 7894, "loc": { "start": { - "line": 212, + "line": 207, "column": 8 }, "end": { - "line": 212, + "line": 207, "column": 55 } } @@ -120922,15 +122026,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8041, - "end": 8094, + "start": 7903, + "end": 7956, "loc": { "start": { - "line": 213, + "line": 208, "column": 8 }, "end": { - "line": 213, + "line": 208, "column": 61 } } @@ -120950,15 +122054,15 @@ "updateContext": null }, "value": "if", - "start": 8103, - "end": 8105, + "start": 7965, + "end": 7967, "loc": { "start": { - "line": 214, + "line": 209, "column": 8 }, "end": { - "line": 214, + "line": 209, "column": 10 } } @@ -120975,15 +122079,15 @@ "postfix": false, "binop": null }, - "start": 8106, - "end": 8107, + "start": 7968, + "end": 7969, "loc": { "start": { - "line": 214, + "line": 209, "column": 11 }, "end": { - "line": 214, + "line": 209, "column": 12 } } @@ -121001,15 +122105,15 @@ "binop": null }, "value": "surferOpts", - "start": 8107, - "end": 8117, + "start": 7969, + "end": 7979, "loc": { "start": { - "line": 214, + "line": 209, "column": 12 }, "end": { - "line": 214, + "line": 209, "column": 22 } } @@ -121027,15 +122131,15 @@ "binop": null, "updateContext": null }, - "start": 8117, - "end": 8118, + "start": 7979, + "end": 7980, "loc": { "start": { - "line": 214, + "line": 209, "column": 22 }, "end": { - "line": 214, + "line": 209, "column": 23 } } @@ -121053,15 +122157,15 @@ "binop": null }, "value": "container", - "start": 8118, - "end": 8127, + "start": 7980, + "end": 7989, "loc": { "start": { - "line": 214, + "line": 209, "column": 23 }, "end": { - "line": 214, + "line": 209, "column": 32 } } @@ -121080,15 +122184,15 @@ "updateContext": null }, "value": "===", - "start": 8128, - "end": 8131, + "start": 7990, + "end": 7993, "loc": { "start": { - "line": 214, + "line": 209, "column": 33 }, "end": { - "line": 214, + "line": 209, "column": 36 } } @@ -121106,15 +122210,15 @@ "binop": null }, "value": "undefined", - "start": 8132, - "end": 8141, + "start": 7994, + "end": 8003, "loc": { "start": { - "line": 214, + "line": 209, "column": 37 }, "end": { - "line": 214, + "line": 209, "column": 46 } } @@ -121131,15 +122235,15 @@ "postfix": false, "binop": null }, - "start": 8141, - "end": 8142, + "start": 8003, + "end": 8004, "loc": { "start": { - "line": 214, + "line": 209, "column": 46 }, "end": { - "line": 214, + "line": 209, "column": 47 } } @@ -121156,15 +122260,15 @@ "postfix": false, "binop": null }, - "start": 8143, - "end": 8144, + "start": 8005, + "end": 8006, "loc": { "start": { - "line": 214, + "line": 209, "column": 48 }, "end": { - "line": 214, + "line": 209, "column": 49 } } @@ -121182,15 +122286,15 @@ "binop": null }, "value": "surferOpts", - "start": 8157, - "end": 8167, + "start": 8019, + "end": 8029, "loc": { "start": { - "line": 215, + "line": 210, "column": 12 }, "end": { - "line": 215, + "line": 210, "column": 22 } } @@ -121208,15 +122312,15 @@ "binop": null, "updateContext": null }, - "start": 8167, - "end": 8168, + "start": 8029, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 210, "column": 22 }, "end": { - "line": 215, + "line": 210, "column": 23 } } @@ -121234,15 +122338,15 @@ "binop": null }, "value": "container", - "start": 8168, - "end": 8177, + "start": 8030, + "end": 8039, "loc": { "start": { - "line": 215, + "line": 210, "column": 23 }, "end": { - "line": 215, + "line": 210, "column": 32 } } @@ -121261,15 +122365,15 @@ "updateContext": null }, "value": "=", - "start": 8178, - "end": 8179, + "start": 8040, + "end": 8041, "loc": { "start": { - "line": 215, + "line": 210, "column": 33 }, "end": { - "line": 215, + "line": 210, "column": 34 } } @@ -121289,15 +122393,15 @@ "updateContext": null }, "value": "this", - "start": 8180, - "end": 8184, + "start": 8042, + "end": 8046, "loc": { "start": { - "line": 215, + "line": 210, "column": 35 }, "end": { - "line": 215, + "line": 210, "column": 39 } } @@ -121315,15 +122419,15 @@ "binop": null, "updateContext": null }, - "start": 8184, - "end": 8185, + "start": 8046, + "end": 8047, "loc": { "start": { - "line": 215, + "line": 210, "column": 39 }, "end": { - "line": 215, + "line": 210, "column": 40 } } @@ -121341,15 +122445,15 @@ "binop": null }, "value": "player", - "start": 8185, - "end": 8191, + "start": 8047, + "end": 8053, "loc": { "start": { - "line": 215, + "line": 210, "column": 40 }, "end": { - "line": 215, + "line": 210, "column": 46 } } @@ -121367,15 +122471,15 @@ "binop": null, "updateContext": null }, - "start": 8191, - "end": 8192, + "start": 8053, + "end": 8054, "loc": { "start": { - "line": 215, + "line": 210, "column": 46 }, "end": { - "line": 215, + "line": 210, "column": 47 } } @@ -121393,15 +122497,15 @@ "binop": null }, "value": "el_", - "start": 8192, - "end": 8195, + "start": 8054, + "end": 8057, "loc": { "start": { - "line": 215, + "line": 210, "column": 47 }, "end": { - "line": 215, + "line": 210, "column": 50 } } @@ -121419,15 +122523,15 @@ "binop": null, "updateContext": null }, - "start": 8195, - "end": 8196, + "start": 8057, + "end": 8058, "loc": { "start": { - "line": 215, + "line": 210, "column": 50 }, "end": { - "line": 215, + "line": 210, "column": 51 } } @@ -121444,15 +122548,15 @@ "postfix": false, "binop": null }, - "start": 8205, - "end": 8206, + "start": 8067, + "end": 8068, "loc": { "start": { - "line": 216, + "line": 211, "column": 8 }, "end": { - "line": 216, + "line": 211, "column": 9 } } @@ -121460,15 +122564,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8216, - "end": 8283, + "start": 8078, + "end": 8145, "loc": { "start": { - "line": 218, + "line": 213, "column": 8 }, "end": { - "line": 218, + "line": 213, "column": 75 } } @@ -121476,15 +122580,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8292, - "end": 8361, + "start": 8154, + "end": 8223, "loc": { "start": { - "line": 219, + "line": 214, "column": 8 }, "end": { - "line": 219, + "line": 214, "column": 77 } } @@ -121492,15 +122596,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8370, - "end": 8418, + "start": 8232, + "end": 8280, "loc": { "start": { - "line": 220, + "line": 215, "column": 8 }, "end": { - "line": 220, + "line": 215, "column": 56 } } @@ -121520,15 +122624,15 @@ "updateContext": null }, "value": "if", - "start": 8427, - "end": 8429, + "start": 8289, + "end": 8291, "loc": { "start": { - "line": 221, + "line": 216, "column": 8 }, "end": { - "line": 221, + "line": 216, "column": 10 } } @@ -121545,15 +122649,15 @@ "postfix": false, "binop": null }, - "start": 8430, - "end": 8431, + "start": 8292, + "end": 8293, "loc": { "start": { - "line": 221, + "line": 216, "column": 11 }, "end": { - "line": 221, + "line": 216, "column": 12 } } @@ -121571,15 +122675,15 @@ "binop": null }, "value": "surferOpts", - "start": 8431, - "end": 8441, + "start": 8293, + "end": 8303, "loc": { "start": { - "line": 221, + "line": 216, "column": 12 }, "end": { - "line": 221, + "line": 216, "column": 22 } } @@ -121597,15 +122701,15 @@ "binop": null, "updateContext": null }, - "start": 8441, - "end": 8442, + "start": 8303, + "end": 8304, "loc": { "start": { - "line": 221, + "line": 216, "column": 22 }, "end": { - "line": 221, + "line": 216, "column": 23 } } @@ -121623,15 +122727,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8442, - "end": 8456, + "start": 8304, + "end": 8318, "loc": { "start": { - "line": 221, + "line": 216, "column": 23 }, "end": { - "line": 221, + "line": 216, "column": 37 } } @@ -121650,15 +122754,15 @@ "updateContext": null }, "value": "===", - "start": 8457, - "end": 8460, + "start": 8319, + "end": 8322, "loc": { "start": { - "line": 221, + "line": 216, "column": 38 }, "end": { - "line": 221, + "line": 216, "column": 41 } } @@ -121676,15 +122780,15 @@ "binop": null }, "value": "undefined", - "start": 8461, - "end": 8470, + "start": 8323, + "end": 8332, "loc": { "start": { - "line": 221, + "line": 216, "column": 42 }, "end": { - "line": 221, + "line": 216, "column": 51 } } @@ -121701,15 +122805,15 @@ "postfix": false, "binop": null }, - "start": 8470, - "end": 8471, + "start": 8332, + "end": 8333, "loc": { "start": { - "line": 221, + "line": 216, "column": 51 }, "end": { - "line": 221, + "line": 216, "column": 52 } } @@ -121726,15 +122830,15 @@ "postfix": false, "binop": null }, - "start": 8472, - "end": 8473, + "start": 8334, + "end": 8335, "loc": { "start": { - "line": 221, + "line": 216, "column": 53 }, "end": { - "line": 221, + "line": 216, "column": 54 } } @@ -121754,15 +122858,15 @@ "updateContext": null }, "value": "let", - "start": 8486, - "end": 8489, + "start": 8348, + "end": 8351, "loc": { "start": { - "line": 222, + "line": 217, "column": 12 }, "end": { - "line": 222, + "line": 217, "column": 15 } } @@ -121780,15 +122884,15 @@ "binop": null }, "value": "playerHeight", - "start": 8490, - "end": 8502, + "start": 8352, + "end": 8364, "loc": { "start": { - "line": 222, + "line": 217, "column": 16 }, "end": { - "line": 222, + "line": 217, "column": 28 } } @@ -121807,15 +122911,15 @@ "updateContext": null }, "value": "=", - "start": 8503, - "end": 8504, + "start": 8365, + "end": 8366, "loc": { "start": { - "line": 222, + "line": 217, "column": 29 }, "end": { - "line": 222, + "line": 217, "column": 30 } } @@ -121833,15 +122937,15 @@ "binop": null }, "value": "rect", - "start": 8505, - "end": 8509, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 222, + "line": 217, "column": 31 }, "end": { - "line": 222, + "line": 217, "column": 35 } } @@ -121859,15 +122963,15 @@ "binop": null, "updateContext": null }, - "start": 8509, - "end": 8510, + "start": 8371, + "end": 8372, "loc": { "start": { - "line": 222, + "line": 217, "column": 35 }, "end": { - "line": 222, + "line": 217, "column": 36 } } @@ -121885,15 +122989,15 @@ "binop": null }, "value": "height", - "start": 8510, - "end": 8516, + "start": 8372, + "end": 8378, "loc": { "start": { - "line": 222, + "line": 217, "column": 36 }, "end": { - "line": 222, + "line": 217, "column": 42 } } @@ -121911,15 +123015,15 @@ "binop": null, "updateContext": null }, - "start": 8516, - "end": 8517, + "start": 8378, + "end": 8379, "loc": { "start": { - "line": 222, + "line": 217, "column": 42 }, "end": { - "line": 222, + "line": 217, "column": 43 } } @@ -121937,15 +123041,15 @@ "binop": null }, "value": "surferOpts", - "start": 8530, - "end": 8540, + "start": 8392, + "end": 8402, "loc": { "start": { - "line": 223, + "line": 218, "column": 12 }, "end": { - "line": 223, + "line": 218, "column": 22 } } @@ -121963,15 +123067,15 @@ "binop": null, "updateContext": null }, - "start": 8540, - "end": 8541, + "start": 8402, + "end": 8403, "loc": { "start": { - "line": 223, + "line": 218, "column": 22 }, "end": { - "line": 223, + "line": 218, "column": 23 } } @@ -121989,15 +123093,15 @@ "binop": null }, "value": "height", - "start": 8541, - "end": 8547, + "start": 8403, + "end": 8409, "loc": { "start": { - "line": 223, + "line": 218, "column": 23 }, "end": { - "line": 223, + "line": 218, "column": 29 } } @@ -122016,15 +123120,15 @@ "updateContext": null }, "value": "=", - "start": 8548, - "end": 8549, + "start": 8410, + "end": 8411, "loc": { "start": { - "line": 223, + "line": 218, "column": 30 }, "end": { - "line": 223, + "line": 218, "column": 31 } } @@ -122042,15 +123146,15 @@ "binop": null }, "value": "playerHeight", - "start": 8550, - "end": 8562, + "start": 8412, + "end": 8424, "loc": { "start": { - "line": 223, + "line": 218, "column": 32 }, "end": { - "line": 223, + "line": 218, "column": 44 } } @@ -122069,15 +123173,15 @@ "updateContext": null }, "value": "-", - "start": 8563, - "end": 8564, + "start": 8425, + "end": 8426, "loc": { "start": { - "line": 223, + "line": 218, "column": 45 }, "end": { - "line": 223, + "line": 218, "column": 46 } } @@ -122095,15 +123199,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 8565, - "end": 8581, + "start": 8427, + "end": 8443, "loc": { "start": { - "line": 223, + "line": 218, "column": 47 }, "end": { - "line": 223, + "line": 218, "column": 63 } } @@ -122121,15 +123225,15 @@ "binop": null, "updateContext": null }, - "start": 8581, - "end": 8582, + "start": 8443, + "end": 8444, "loc": { "start": { - "line": 223, + "line": 218, "column": 63 }, "end": { - "line": 223, + "line": 218, "column": 64 } } @@ -122146,15 +123250,15 @@ "postfix": false, "binop": null }, - "start": 8591, - "end": 8592, + "start": 8453, + "end": 8454, "loc": { "start": { - "line": 224, + "line": 219, "column": 8 }, "end": { - "line": 224, + "line": 219, "column": 9 } } @@ -122174,15 +123278,15 @@ "updateContext": null }, "value": "else", - "start": 8593, - "end": 8597, + "start": 8455, + "end": 8459, "loc": { "start": { - "line": 224, + "line": 219, "column": 10 }, "end": { - "line": 224, + "line": 219, "column": 14 } } @@ -122199,15 +123303,15 @@ "postfix": false, "binop": null }, - "start": 8598, - "end": 8599, + "start": 8460, + "end": 8461, "loc": { "start": { - "line": 224, + "line": 219, "column": 15 }, "end": { - "line": 224, + "line": 219, "column": 16 } } @@ -122225,15 +123329,15 @@ "binop": null }, "value": "surferOpts", - "start": 8612, - "end": 8622, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 225, + "line": 220, "column": 12 }, "end": { - "line": 225, + "line": 220, "column": 22 } } @@ -122251,15 +123355,15 @@ "binop": null, "updateContext": null }, - "start": 8622, - "end": 8623, + "start": 8484, + "end": 8485, "loc": { "start": { - "line": 225, + "line": 220, "column": 22 }, "end": { - "line": 225, + "line": 220, "column": 23 } } @@ -122277,15 +123381,15 @@ "binop": null }, "value": "height", - "start": 8623, - "end": 8629, + "start": 8485, + "end": 8491, "loc": { "start": { - "line": 225, + "line": 220, "column": 23 }, "end": { - "line": 225, + "line": 220, "column": 29 } } @@ -122304,15 +123408,15 @@ "updateContext": null }, "value": "=", - "start": 8630, - "end": 8631, + "start": 8492, + "end": 8493, "loc": { "start": { - "line": 225, + "line": 220, "column": 30 }, "end": { - "line": 225, + "line": 220, "column": 31 } } @@ -122330,15 +123434,15 @@ "binop": null }, "value": "surferOpts", - "start": 8632, - "end": 8642, + "start": 8494, + "end": 8504, "loc": { "start": { - "line": 225, + "line": 220, "column": 32 }, "end": { - "line": 225, + "line": 220, "column": 42 } } @@ -122356,15 +123460,15 @@ "binop": null, "updateContext": null }, - "start": 8642, - "end": 8643, + "start": 8504, + "end": 8505, "loc": { "start": { - "line": 225, + "line": 220, "column": 42 }, "end": { - "line": 225, + "line": 220, "column": 43 } } @@ -122382,15 +123486,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8643, - "end": 8657, + "start": 8505, + "end": 8519, "loc": { "start": { - "line": 225, + "line": 220, "column": 43 }, "end": { - "line": 225, + "line": 220, "column": 57 } } @@ -122408,15 +123512,15 @@ "binop": null, "updateContext": null }, - "start": 8657, - "end": 8658, + "start": 8519, + "end": 8520, "loc": { "start": { - "line": 225, + "line": 220, "column": 57 }, "end": { - "line": 225, + "line": 220, "column": 58 } } @@ -122433,15 +123537,15 @@ "postfix": false, "binop": null }, - "start": 8667, - "end": 8668, + "start": 8529, + "end": 8530, "loc": { "start": { - "line": 226, + "line": 221, "column": 8 }, "end": { - "line": 226, + "line": 221, "column": 9 } } @@ -122449,15 +123553,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8678, - "end": 8695, + "start": 8540, + "end": 8557, "loc": { "start": { - "line": 228, + "line": 223, "column": 8 }, "end": { - "line": 228, + "line": 223, "column": 25 } } @@ -122477,15 +123581,15 @@ "updateContext": null }, "value": "if", - "start": 8704, - "end": 8706, + "start": 8566, + "end": 8568, "loc": { "start": { - "line": 229, + "line": 224, "column": 8 }, "end": { - "line": 229, + "line": 224, "column": 10 } } @@ -122502,15 +123606,15 @@ "postfix": false, "binop": null }, - "start": 8707, - "end": 8708, + "start": 8569, + "end": 8570, "loc": { "start": { - "line": 229, + "line": 224, "column": 11 }, "end": { - "line": 229, + "line": 224, "column": 12 } } @@ -122528,15 +123632,15 @@ "binop": null }, "value": "surferOpts", - "start": 8708, - "end": 8718, + "start": 8570, + "end": 8580, "loc": { "start": { - "line": 229, + "line": 224, "column": 12 }, "end": { - "line": 229, + "line": 224, "column": 22 } } @@ -122554,15 +123658,15 @@ "binop": null, "updateContext": null }, - "start": 8718, - "end": 8719, + "start": 8580, + "end": 8581, "loc": { "start": { - "line": 229, + "line": 224, "column": 22 }, "end": { - "line": 229, + "line": 224, "column": 23 } } @@ -122580,15 +123684,15 @@ "binop": null }, "value": "splitChannels", - "start": 8719, - "end": 8732, + "start": 8581, + "end": 8594, "loc": { "start": { - "line": 229, + "line": 224, "column": 23 }, "end": { - "line": 229, + "line": 224, "column": 36 } } @@ -122607,15 +123711,15 @@ "updateContext": null }, "value": "&&", - "start": 8733, - "end": 8735, + "start": 8595, + "end": 8597, "loc": { "start": { - "line": 229, + "line": 224, "column": 37 }, "end": { - "line": 229, + "line": 224, "column": 39 } } @@ -122633,15 +123737,15 @@ "binop": null }, "value": "surferOpts", - "start": 8736, - "end": 8746, + "start": 8598, + "end": 8608, "loc": { "start": { - "line": 229, + "line": 224, "column": 40 }, "end": { - "line": 229, + "line": 224, "column": 50 } } @@ -122659,15 +123763,15 @@ "binop": null, "updateContext": null }, - "start": 8746, - "end": 8747, + "start": 8608, + "end": 8609, "loc": { "start": { - "line": 229, + "line": 224, "column": 50 }, "end": { - "line": 229, + "line": 224, "column": 51 } } @@ -122685,15 +123789,15 @@ "binop": null }, "value": "splitChannels", - "start": 8747, - "end": 8760, + "start": 8609, + "end": 8622, "loc": { "start": { - "line": 229, + "line": 224, "column": 51 }, "end": { - "line": 229, + "line": 224, "column": 64 } } @@ -122712,15 +123816,15 @@ "updateContext": null }, "value": "===", - "start": 8761, - "end": 8764, + "start": 8623, + "end": 8626, "loc": { "start": { - "line": 229, + "line": 224, "column": 65 }, "end": { - "line": 229, + "line": 224, "column": 68 } } @@ -122740,15 +123844,15 @@ "updateContext": null }, "value": "true", - "start": 8765, - "end": 8769, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 229, + "line": 224, "column": 69 }, "end": { - "line": 229, + "line": 224, "column": 73 } } @@ -122765,15 +123869,15 @@ "postfix": false, "binop": null }, - "start": 8769, - "end": 8770, + "start": 8631, + "end": 8632, "loc": { "start": { - "line": 229, + "line": 224, "column": 73 }, "end": { - "line": 229, + "line": 224, "column": 74 } } @@ -122790,15 +123894,15 @@ "postfix": false, "binop": null }, - "start": 8771, - "end": 8772, + "start": 8633, + "end": 8634, "loc": { "start": { - "line": 229, + "line": 224, "column": 75 }, "end": { - "line": 229, + "line": 224, "column": 76 } } @@ -122816,15 +123920,15 @@ "binop": null }, "value": "surferOpts", - "start": 8785, - "end": 8795, + "start": 8647, + "end": 8657, "loc": { "start": { - "line": 230, + "line": 225, "column": 12 }, "end": { - "line": 230, + "line": 225, "column": 22 } } @@ -122842,15 +123946,15 @@ "binop": null, "updateContext": null }, - "start": 8795, - "end": 8796, + "start": 8657, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 225, "column": 22 }, "end": { - "line": 230, + "line": 225, "column": 23 } } @@ -122868,15 +123972,15 @@ "binop": null }, "value": "height", - "start": 8796, - "end": 8802, + "start": 8658, + "end": 8664, "loc": { "start": { - "line": 230, + "line": 225, "column": 23 }, "end": { - "line": 230, + "line": 225, "column": 29 } } @@ -122895,15 +123999,15 @@ "updateContext": null }, "value": "/=", - "start": 8803, - "end": 8805, + "start": 8665, + "end": 8667, "loc": { "start": { - "line": 230, + "line": 225, "column": 30 }, "end": { - "line": 230, + "line": 225, "column": 32 } } @@ -122922,15 +124026,15 @@ "updateContext": null }, "value": 2, - "start": 8806, - "end": 8807, + "start": 8668, + "end": 8669, "loc": { "start": { - "line": 230, + "line": 225, "column": 33 }, "end": { - "line": 230, + "line": 225, "column": 34 } } @@ -122948,15 +124052,15 @@ "binop": null, "updateContext": null }, - "start": 8807, - "end": 8808, + "start": 8669, + "end": 8670, "loc": { "start": { - "line": 230, + "line": 225, "column": 34 }, "end": { - "line": 230, + "line": 225, "column": 35 } } @@ -122973,15 +124077,15 @@ "postfix": false, "binop": null }, - "start": 8817, - "end": 8818, + "start": 8679, + "end": 8680, "loc": { "start": { - "line": 231, + "line": 226, "column": 8 }, "end": { - "line": 231, + "line": 226, "column": 9 } } @@ -122989,15 +124093,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8828, - "end": 8894, + "start": 8690, + "end": 8756, "loc": { "start": { - "line": 233, + "line": 228, "column": 8 }, "end": { - "line": 233, + "line": 228, "column": 74 } } @@ -123005,15 +124109,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8903, - "end": 8915, + "start": 8765, + "end": 8777, "loc": { "start": { - "line": 234, + "line": 229, "column": 8 }, "end": { - "line": 234, + "line": 229, "column": 20 } } @@ -123033,15 +124137,15 @@ "updateContext": null }, "value": "if", - "start": 8924, - "end": 8926, + "start": 8786, + "end": 8788, "loc": { "start": { - "line": 235, + "line": 230, "column": 8 }, "end": { - "line": 235, + "line": 230, "column": 10 } } @@ -123058,15 +124162,15 @@ "postfix": false, "binop": null }, - "start": 8927, - "end": 8928, + "start": 8789, + "end": 8790, "loc": { "start": { - "line": 235, + "line": 230, "column": 11 }, "end": { - "line": 235, + "line": 230, "column": 12 } } @@ -123085,15 +124189,15 @@ "updateContext": null }, "value": "backend", - "start": 8928, - "end": 8937, + "start": 8790, + "end": 8799, "loc": { "start": { - "line": 235, + "line": 230, "column": 12 }, "end": { - "line": 235, + "line": 230, "column": 21 } } @@ -123113,15 +124217,15 @@ "updateContext": null }, "value": "in", - "start": 8938, - "end": 8940, + "start": 8800, + "end": 8802, "loc": { "start": { - "line": 235, + "line": 230, "column": 22 }, "end": { - "line": 235, + "line": 230, "column": 24 } } @@ -123139,15 +124243,15 @@ "binop": null }, "value": "surferOpts", - "start": 8941, - "end": 8951, + "start": 8803, + "end": 8813, "loc": { "start": { - "line": 235, + "line": 230, "column": 25 }, "end": { - "line": 235, + "line": 230, "column": 35 } } @@ -123164,15 +124268,15 @@ "postfix": false, "binop": null }, - "start": 8951, - "end": 8952, + "start": 8813, + "end": 8814, "loc": { "start": { - "line": 235, + "line": 230, "column": 35 }, "end": { - "line": 235, + "line": 230, "column": 36 } } @@ -123189,15 +124293,15 @@ "postfix": false, "binop": null }, - "start": 8953, - "end": 8954, + "start": 8815, + "end": 8816, "loc": { "start": { - "line": 235, + "line": 230, "column": 37 }, "end": { - "line": 235, + "line": 230, "column": 38 } } @@ -123217,15 +124321,15 @@ "updateContext": null }, "value": "this", - "start": 8967, - "end": 8971, + "start": 8829, + "end": 8833, "loc": { "start": { - "line": 236, + "line": 231, "column": 12 }, "end": { - "line": 236, + "line": 231, "column": 16 } } @@ -123243,15 +124347,15 @@ "binop": null, "updateContext": null }, - "start": 8971, - "end": 8972, + "start": 8833, + "end": 8834, "loc": { "start": { - "line": 236, + "line": 231, "column": 16 }, "end": { - "line": 236, + "line": 231, "column": 17 } } @@ -123269,15 +124373,15 @@ "binop": null }, "value": "backend", - "start": 8972, - "end": 8979, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 231, "column": 17 }, "end": { - "line": 236, + "line": 231, "column": 24 } } @@ -123296,15 +124400,15 @@ "updateContext": null }, "value": "=", - "start": 8980, - "end": 8981, + "start": 8842, + "end": 8843, "loc": { "start": { - "line": 236, + "line": 231, "column": 25 }, "end": { - "line": 236, + "line": 231, "column": 26 } } @@ -123322,15 +124426,15 @@ "binop": null }, "value": "surferOpts", - "start": 8982, - "end": 8992, + "start": 8844, + "end": 8854, "loc": { "start": { - "line": 236, + "line": 231, "column": 27 }, "end": { - "line": 236, + "line": 231, "column": 37 } } @@ -123348,15 +124452,15 @@ "binop": null, "updateContext": null }, - "start": 8992, - "end": 8993, + "start": 8854, + "end": 8855, "loc": { "start": { - "line": 236, + "line": 231, "column": 37 }, "end": { - "line": 236, + "line": 231, "column": 38 } } @@ -123374,15 +124478,15 @@ "binop": null }, "value": "backend", - "start": 8993, - "end": 9000, + "start": 8855, + "end": 8862, "loc": { "start": { - "line": 236, + "line": 231, "column": 38 }, "end": { - "line": 236, + "line": 231, "column": 45 } } @@ -123400,15 +124504,15 @@ "binop": null, "updateContext": null }, - "start": 9000, - "end": 9001, + "start": 8862, + "end": 8863, "loc": { "start": { - "line": 236, + "line": 231, "column": 45 }, "end": { - "line": 236, + "line": 231, "column": 46 } } @@ -123425,15 +124529,15 @@ "postfix": false, "binop": null }, - "start": 9010, - "end": 9011, + "start": 8872, + "end": 8873, "loc": { "start": { - "line": 237, + "line": 232, "column": 8 }, "end": { - "line": 237, + "line": 232, "column": 9 } } @@ -123453,15 +124557,15 @@ "updateContext": null }, "value": "else", - "start": 9012, - "end": 9016, + "start": 8874, + "end": 8878, "loc": { "start": { - "line": 237, + "line": 232, "column": 10 }, "end": { - "line": 237, + "line": 232, "column": 14 } } @@ -123478,15 +124582,15 @@ "postfix": false, "binop": null }, - "start": 9017, - "end": 9018, + "start": 8879, + "end": 8880, "loc": { "start": { - "line": 237, + "line": 232, "column": 15 }, "end": { - "line": 237, + "line": 232, "column": 16 } } @@ -123504,15 +124608,15 @@ "binop": null }, "value": "surferOpts", - "start": 9031, - "end": 9041, + "start": 8893, + "end": 8903, "loc": { "start": { - "line": 238, + "line": 233, "column": 12 }, "end": { - "line": 238, + "line": 233, "column": 22 } } @@ -123530,15 +124634,15 @@ "binop": null, "updateContext": null }, - "start": 9041, - "end": 9042, + "start": 8903, + "end": 8904, "loc": { "start": { - "line": 238, + "line": 233, "column": 22 }, "end": { - "line": 238, + "line": 233, "column": 23 } } @@ -123556,15 +124660,15 @@ "binop": null }, "value": "backend", - "start": 9042, - "end": 9049, + "start": 8904, + "end": 8911, "loc": { "start": { - "line": 238, + "line": 233, "column": 23 }, "end": { - "line": 238, + "line": 233, "column": 30 } } @@ -123583,15 +124687,15 @@ "updateContext": null }, "value": "=", - "start": 9050, - "end": 9051, + "start": 8912, + "end": 8913, "loc": { "start": { - "line": 238, + "line": 233, "column": 31 }, "end": { - "line": 238, + "line": 233, "column": 32 } } @@ -123611,15 +124715,15 @@ "updateContext": null }, "value": "this", - "start": 9052, - "end": 9056, + "start": 8914, + "end": 8918, "loc": { "start": { - "line": 238, + "line": 233, "column": 33 }, "end": { - "line": 238, + "line": 233, "column": 37 } } @@ -123637,15 +124741,15 @@ "binop": null, "updateContext": null }, - "start": 9056, - "end": 9057, + "start": 8918, + "end": 8919, "loc": { "start": { - "line": 238, + "line": 233, "column": 37 }, "end": { - "line": 238, + "line": 233, "column": 38 } } @@ -123663,15 +124767,15 @@ "binop": null }, "value": "backend", - "start": 9057, - "end": 9064, + "start": 8919, + "end": 8926, "loc": { "start": { - "line": 238, + "line": 233, "column": 38 }, "end": { - "line": 238, + "line": 233, "column": 45 } } @@ -123690,22 +124794,22 @@ "updateContext": null }, "value": "=", - "start": 9065, - "end": 9066, + "start": 8927, + "end": 8928, "loc": { "start": { - "line": 238, + "line": 233, "column": 46 }, "end": { - "line": 238, + "line": 233, "column": 47 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -123713,20 +124817,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "MediaElement", - "start": 9067, - "end": 9081, + "value": "MEDIAELEMENT", + "start": 8929, + "end": 8941, "loc": { "start": { - "line": 238, + "line": 233, "column": 48 }, "end": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 } } }, @@ -123743,16 +124846,16 @@ "binop": null, "updateContext": null }, - "start": 9081, - "end": 9082, + "start": 8941, + "end": 8942, "loc": { "start": { - "line": 238, - "column": 62 + "line": 233, + "column": 60 }, "end": { - "line": 238, - "column": 63 + "line": 233, + "column": 61 } } }, @@ -123768,15 +124871,15 @@ "postfix": false, "binop": null }, - "start": 9091, - "end": 9092, + "start": 8951, + "end": 8952, "loc": { "start": { - "line": 239, + "line": 234, "column": 8 }, "end": { - "line": 239, + "line": 234, "column": 9 } } @@ -123796,15 +124899,15 @@ "updateContext": null }, "value": "return", - "start": 9102, - "end": 9108, + "start": 8962, + "end": 8968, "loc": { "start": { - "line": 241, + "line": 236, "column": 8 }, "end": { - "line": 241, + "line": 236, "column": 14 } } @@ -123822,15 +124925,15 @@ "binop": null }, "value": "surferOpts", - "start": 9109, - "end": 9119, + "start": 8969, + "end": 8979, "loc": { "start": { - "line": 241, + "line": 236, "column": 15 }, "end": { - "line": 241, + "line": 236, "column": 25 } } @@ -123848,15 +124951,15 @@ "binop": null, "updateContext": null }, - "start": 9119, - "end": 9120, + "start": 8979, + "end": 8980, "loc": { "start": { - "line": 241, + "line": 236, "column": 25 }, "end": { - "line": 241, + "line": 236, "column": 26 } } @@ -123873,15 +124976,15 @@ "postfix": false, "binop": null }, - "start": 9125, - "end": 9126, + "start": 8985, + "end": 8986, "loc": { "start": { - "line": 242, + "line": 237, "column": 4 }, "end": { - "line": 242, + "line": 237, "column": 5 } } @@ -123889,15 +124992,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 9132, - "end": 9332, + "start": 8992, + "end": 9192, "loc": { "start": { - "line": 244, + "line": 239, "column": 4 }, "end": { - "line": 250, + "line": 245, "column": 7 } } @@ -123915,15 +125018,15 @@ "binop": null }, "value": "setupPlaybackEvents", - "start": 9337, - "end": 9356, + "start": 9197, + "end": 9216, "loc": { "start": { - "line": 251, + "line": 246, "column": 4 }, "end": { - "line": 251, + "line": 246, "column": 23 } } @@ -123940,15 +125043,15 @@ "postfix": false, "binop": null }, - "start": 9356, - "end": 9357, + "start": 9216, + "end": 9217, "loc": { "start": { - "line": 251, + "line": 246, "column": 23 }, "end": { - "line": 251, + "line": 246, "column": 24 } } @@ -123966,15 +125069,15 @@ "binop": null }, "value": "enable", - "start": 9357, - "end": 9363, + "start": 9217, + "end": 9223, "loc": { "start": { - "line": 251, + "line": 246, "column": 24 }, "end": { - "line": 251, + "line": 246, "column": 30 } } @@ -123991,15 +125094,15 @@ "postfix": false, "binop": null }, - "start": 9363, - "end": 9364, + "start": 9223, + "end": 9224, "loc": { "start": { - "line": 251, + "line": 246, "column": 30 }, "end": { - "line": 251, + "line": 246, "column": 31 } } @@ -124016,15 +125119,15 @@ "postfix": false, "binop": null }, - "start": 9365, - "end": 9366, + "start": 9225, + "end": 9226, "loc": { "start": { - "line": 251, + "line": 246, "column": 32 }, "end": { - "line": 251, + "line": 246, "column": 33 } } @@ -124044,15 +125147,15 @@ "updateContext": null }, "value": "if", - "start": 9375, - "end": 9377, + "start": 9235, + "end": 9237, "loc": { "start": { - "line": 252, + "line": 247, "column": 8 }, "end": { - "line": 252, + "line": 247, "column": 10 } } @@ -124069,15 +125172,15 @@ "postfix": false, "binop": null }, - "start": 9378, - "end": 9379, + "start": 9238, + "end": 9239, "loc": { "start": { - "line": 252, + "line": 247, "column": 11 }, "end": { - "line": 252, + "line": 247, "column": 12 } } @@ -124095,15 +125198,15 @@ "binop": null }, "value": "enable", - "start": 9379, - "end": 9385, + "start": 9239, + "end": 9245, "loc": { "start": { - "line": 252, + "line": 247, "column": 12 }, "end": { - "line": 252, + "line": 247, "column": 18 } } @@ -124122,15 +125225,15 @@ "updateContext": null }, "value": "===", - "start": 9386, - "end": 9389, + "start": 9246, + "end": 9249, "loc": { "start": { - "line": 252, + "line": 247, "column": 19 }, "end": { - "line": 252, + "line": 247, "column": 22 } } @@ -124150,15 +125253,15 @@ "updateContext": null }, "value": "false", - "start": 9390, - "end": 9395, + "start": 9250, + "end": 9255, "loc": { "start": { - "line": 252, + "line": 247, "column": 23 }, "end": { - "line": 252, + "line": 247, "column": 28 } } @@ -124175,15 +125278,15 @@ "postfix": false, "binop": null }, - "start": 9395, - "end": 9396, + "start": 9255, + "end": 9256, "loc": { "start": { - "line": 252, + "line": 247, "column": 28 }, "end": { - "line": 252, + "line": 247, "column": 29 } } @@ -124200,15 +125303,15 @@ "postfix": false, "binop": null }, - "start": 9397, - "end": 9398, + "start": 9257, + "end": 9258, "loc": { "start": { - "line": 252, + "line": 247, "column": 30 }, "end": { - "line": 252, + "line": 247, "column": 31 } } @@ -124228,15 +125331,15 @@ "updateContext": null }, "value": "this", - "start": 9411, - "end": 9415, + "start": 9271, + "end": 9275, "loc": { "start": { - "line": 253, + "line": 248, "column": 12 }, "end": { - "line": 253, + "line": 248, "column": 16 } } @@ -124254,15 +125357,15 @@ "binop": null, "updateContext": null }, - "start": 9415, - "end": 9416, + "start": 9275, + "end": 9276, "loc": { "start": { - "line": 253, + "line": 248, "column": 16 }, "end": { - "line": 253, + "line": 248, "column": 17 } } @@ -124280,15 +125383,15 @@ "binop": null }, "value": "surfer", - "start": 9416, - "end": 9422, + "start": 9276, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 248, "column": 17 }, "end": { - "line": 253, + "line": 248, "column": 23 } } @@ -124306,15 +125409,15 @@ "binop": null, "updateContext": null }, - "start": 9422, - "end": 9423, + "start": 9282, + "end": 9283, "loc": { "start": { - "line": 253, + "line": 248, "column": 23 }, "end": { - "line": 253, + "line": 248, "column": 24 } } @@ -124332,15 +125435,15 @@ "binop": null }, "value": "un", - "start": 9423, - "end": 9425, + "start": 9283, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 248, "column": 24 }, "end": { - "line": 253, + "line": 248, "column": 26 } } @@ -124357,15 +125460,15 @@ "postfix": false, "binop": null }, - "start": 9425, - "end": 9426, + "start": 9285, + "end": 9286, "loc": { "start": { - "line": 253, + "line": 248, "column": 26 }, "end": { - "line": 253, + "line": 248, "column": 27 } } @@ -124383,15 +125486,15 @@ "binop": null }, "value": "Event", - "start": 9426, - "end": 9431, + "start": 9286, + "end": 9291, "loc": { "start": { - "line": 253, + "line": 248, "column": 27 }, "end": { - "line": 253, + "line": 248, "column": 32 } } @@ -124409,15 +125512,15 @@ "binop": null, "updateContext": null }, - "start": 9431, - "end": 9432, + "start": 9291, + "end": 9292, "loc": { "start": { - "line": 253, + "line": 248, "column": 32 }, "end": { - "line": 253, + "line": 248, "column": 33 } } @@ -124435,15 +125538,15 @@ "binop": null }, "value": "READY", - "start": 9432, - "end": 9437, + "start": 9292, + "end": 9297, "loc": { "start": { - "line": 253, + "line": 248, "column": 33 }, "end": { - "line": 253, + "line": 248, "column": 38 } } @@ -124461,15 +125564,15 @@ "binop": null, "updateContext": null }, - "start": 9437, - "end": 9438, + "start": 9297, + "end": 9298, "loc": { "start": { - "line": 253, + "line": 248, "column": 38 }, "end": { - "line": 253, + "line": 248, "column": 39 } } @@ -124489,15 +125592,15 @@ "updateContext": null }, "value": "this", - "start": 9439, - "end": 9443, + "start": 9299, + "end": 9303, "loc": { "start": { - "line": 253, + "line": 248, "column": 40 }, "end": { - "line": 253, + "line": 248, "column": 44 } } @@ -124515,15 +125618,15 @@ "binop": null, "updateContext": null }, - "start": 9443, - "end": 9444, + "start": 9303, + "end": 9304, "loc": { "start": { - "line": 253, + "line": 248, "column": 44 }, "end": { - "line": 253, + "line": 248, "column": 45 } } @@ -124541,15 +125644,15 @@ "binop": null }, "value": "surferReady", - "start": 9444, - "end": 9455, + "start": 9304, + "end": 9315, "loc": { "start": { - "line": 253, + "line": 248, "column": 45 }, "end": { - "line": 253, + "line": 248, "column": 56 } } @@ -124566,15 +125669,15 @@ "postfix": false, "binop": null }, - "start": 9455, - "end": 9456, + "start": 9315, + "end": 9316, "loc": { "start": { - "line": 253, + "line": 248, "column": 56 }, "end": { - "line": 253, + "line": 248, "column": 57 } } @@ -124592,15 +125695,15 @@ "binop": null, "updateContext": null }, - "start": 9456, - "end": 9457, + "start": 9316, + "end": 9317, "loc": { "start": { - "line": 253, + "line": 248, "column": 57 }, "end": { - "line": 253, + "line": 248, "column": 58 } } @@ -124620,15 +125723,15 @@ "updateContext": null }, "value": "if", - "start": 9470, - "end": 9472, + "start": 9330, + "end": 9332, "loc": { "start": { - "line": 254, + "line": 249, "column": 12 }, "end": { - "line": 254, + "line": 249, "column": 14 } } @@ -124645,15 +125748,15 @@ "postfix": false, "binop": null }, - "start": 9473, - "end": 9474, + "start": 9333, + "end": 9334, "loc": { "start": { - "line": 254, + "line": 249, "column": 15 }, "end": { - "line": 254, + "line": 249, "column": 16 } } @@ -124673,15 +125776,15 @@ "updateContext": null }, "value": "this", - "start": 9474, - "end": 9478, + "start": 9334, + "end": 9338, "loc": { "start": { - "line": 254, + "line": 249, "column": 16 }, "end": { - "line": 254, + "line": 249, "column": 20 } } @@ -124699,15 +125802,15 @@ "binop": null, "updateContext": null }, - "start": 9478, - "end": 9479, + "start": 9338, + "end": 9339, "loc": { "start": { - "line": 254, + "line": 249, "column": 20 }, "end": { - "line": 254, + "line": 249, "column": 21 } } @@ -124725,15 +125828,15 @@ "binop": null }, "value": "backend", - "start": 9479, - "end": 9486, + "start": 9339, + "end": 9346, "loc": { "start": { - "line": 254, + "line": 249, "column": 21 }, "end": { - "line": 254, + "line": 249, "column": 28 } } @@ -124752,22 +125855,22 @@ "updateContext": null }, "value": "===", - "start": 9487, - "end": 9490, + "start": 9347, + "end": 9350, "loc": { "start": { - "line": 254, + "line": 249, "column": 29 }, "end": { - "line": 254, + "line": 249, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -124775,20 +125878,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 9491, - "end": 9501, + "value": "WEBAUDIO", + "start": 9351, + "end": 9359, "loc": { "start": { - "line": 254, + "line": 249, "column": 33 }, "end": { - "line": 254, - "column": 43 + "line": 249, + "column": 41 } } }, @@ -124804,16 +125906,16 @@ "postfix": false, "binop": null }, - "start": 9501, - "end": 9502, + "start": 9359, + "end": 9360, "loc": { "start": { - "line": 254, - "column": 43 + "line": 249, + "column": 41 }, "end": { - "line": 254, - "column": 44 + "line": 249, + "column": 42 } } }, @@ -124829,16 +125931,16 @@ "postfix": false, "binop": null }, - "start": 9503, - "end": 9504, + "start": 9361, + "end": 9362, "loc": { "start": { - "line": 254, - "column": 45 + "line": 249, + "column": 43 }, "end": { - "line": 254, - "column": 46 + "line": 249, + "column": 44 } } }, @@ -124857,15 +125959,15 @@ "updateContext": null }, "value": "this", - "start": 9521, - "end": 9525, + "start": 9379, + "end": 9383, "loc": { "start": { - "line": 255, + "line": 250, "column": 16 }, "end": { - "line": 255, + "line": 250, "column": 20 } } @@ -124883,15 +125985,15 @@ "binop": null, "updateContext": null }, - "start": 9525, - "end": 9526, + "start": 9383, + "end": 9384, "loc": { "start": { - "line": 255, + "line": 250, "column": 20 }, "end": { - "line": 255, + "line": 250, "column": 21 } } @@ -124909,15 +126011,15 @@ "binop": null }, "value": "surfer", - "start": 9526, - "end": 9532, + "start": 9384, + "end": 9390, "loc": { "start": { - "line": 255, + "line": 250, "column": 21 }, "end": { - "line": 255, + "line": 250, "column": 27 } } @@ -124935,15 +126037,15 @@ "binop": null, "updateContext": null }, - "start": 9532, - "end": 9533, + "start": 9390, + "end": 9391, "loc": { "start": { - "line": 255, + "line": 250, "column": 27 }, "end": { - "line": 255, + "line": 250, "column": 28 } } @@ -124961,15 +126063,15 @@ "binop": null }, "value": "un", - "start": 9533, - "end": 9535, + "start": 9391, + "end": 9393, "loc": { "start": { - "line": 255, + "line": 250, "column": 28 }, "end": { - "line": 255, + "line": 250, "column": 30 } } @@ -124986,15 +126088,15 @@ "postfix": false, "binop": null }, - "start": 9535, - "end": 9536, + "start": 9393, + "end": 9394, "loc": { "start": { - "line": 255, + "line": 250, "column": 30 }, "end": { - "line": 255, + "line": 250, "column": 31 } } @@ -125012,15 +126114,15 @@ "binop": null }, "value": "Event", - "start": 9536, - "end": 9541, + "start": 9394, + "end": 9399, "loc": { "start": { - "line": 255, + "line": 250, "column": 31 }, "end": { - "line": 255, + "line": 250, "column": 36 } } @@ -125038,15 +126140,15 @@ "binop": null, "updateContext": null }, - "start": 9541, - "end": 9542, + "start": 9399, + "end": 9400, "loc": { "start": { - "line": 255, + "line": 250, "column": 36 }, "end": { - "line": 255, + "line": 250, "column": 37 } } @@ -125064,15 +126166,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9542, - "end": 9554, + "start": 9400, + "end": 9412, "loc": { "start": { - "line": 255, + "line": 250, "column": 37 }, "end": { - "line": 255, + "line": 250, "column": 49 } } @@ -125090,15 +126192,15 @@ "binop": null, "updateContext": null }, - "start": 9554, - "end": 9555, + "start": 9412, + "end": 9413, "loc": { "start": { - "line": 255, + "line": 250, "column": 49 }, "end": { - "line": 255, + "line": 250, "column": 50 } } @@ -125118,15 +126220,15 @@ "updateContext": null }, "value": "this", - "start": 9556, - "end": 9560, + "start": 9414, + "end": 9418, "loc": { "start": { - "line": 255, + "line": 250, "column": 51 }, "end": { - "line": 255, + "line": 250, "column": 55 } } @@ -125144,15 +126246,15 @@ "binop": null, "updateContext": null }, - "start": 9560, - "end": 9561, + "start": 9418, + "end": 9419, "loc": { "start": { - "line": 255, + "line": 250, "column": 55 }, "end": { - "line": 255, + "line": 250, "column": 56 } } @@ -125170,15 +126272,15 @@ "binop": null }, "value": "surferProgress", - "start": 9561, - "end": 9575, + "start": 9419, + "end": 9433, "loc": { "start": { - "line": 255, + "line": 250, "column": 56 }, "end": { - "line": 255, + "line": 250, "column": 70 } } @@ -125195,15 +126297,15 @@ "postfix": false, "binop": null }, - "start": 9575, - "end": 9576, + "start": 9433, + "end": 9434, "loc": { "start": { - "line": 255, + "line": 250, "column": 70 }, "end": { - "line": 255, + "line": 250, "column": 71 } } @@ -125221,15 +126323,15 @@ "binop": null, "updateContext": null }, - "start": 9576, - "end": 9577, + "start": 9434, + "end": 9435, "loc": { "start": { - "line": 255, + "line": 250, "column": 71 }, "end": { - "line": 255, + "line": 250, "column": 72 } } @@ -125249,15 +126351,15 @@ "updateContext": null }, "value": "this", - "start": 9594, - "end": 9598, + "start": 9452, + "end": 9456, "loc": { "start": { - "line": 256, + "line": 251, "column": 16 }, "end": { - "line": 256, + "line": 251, "column": 20 } } @@ -125275,15 +126377,15 @@ "binop": null, "updateContext": null }, - "start": 9598, - "end": 9599, + "start": 9456, + "end": 9457, "loc": { "start": { - "line": 256, + "line": 251, "column": 20 }, "end": { - "line": 256, + "line": 251, "column": 21 } } @@ -125301,15 +126403,15 @@ "binop": null }, "value": "surfer", - "start": 9599, - "end": 9605, + "start": 9457, + "end": 9463, "loc": { "start": { - "line": 256, + "line": 251, "column": 21 }, "end": { - "line": 256, + "line": 251, "column": 27 } } @@ -125327,15 +126429,15 @@ "binop": null, "updateContext": null }, - "start": 9605, - "end": 9606, + "start": 9463, + "end": 9464, "loc": { "start": { - "line": 256, + "line": 251, "column": 27 }, "end": { - "line": 256, + "line": 251, "column": 28 } } @@ -125353,15 +126455,15 @@ "binop": null }, "value": "un", - "start": 9606, - "end": 9608, + "start": 9464, + "end": 9466, "loc": { "start": { - "line": 256, + "line": 251, "column": 28 }, "end": { - "line": 256, + "line": 251, "column": 30 } } @@ -125378,15 +126480,15 @@ "postfix": false, "binop": null }, - "start": 9608, - "end": 9609, + "start": 9466, + "end": 9467, "loc": { "start": { - "line": 256, + "line": 251, "column": 30 }, "end": { - "line": 256, + "line": 251, "column": 31 } } @@ -125404,15 +126506,15 @@ "binop": null }, "value": "Event", - "start": 9609, - "end": 9614, + "start": 9467, + "end": 9472, "loc": { "start": { - "line": 256, + "line": 251, "column": 31 }, "end": { - "line": 256, + "line": 251, "column": 36 } } @@ -125430,15 +126532,15 @@ "binop": null, "updateContext": null }, - "start": 9614, - "end": 9615, + "start": 9472, + "end": 9473, "loc": { "start": { - "line": 256, + "line": 251, "column": 36 }, "end": { - "line": 256, + "line": 251, "column": 37 } } @@ -125456,15 +126558,15 @@ "binop": null }, "value": "SEEK", - "start": 9615, - "end": 9619, + "start": 9473, + "end": 9477, "loc": { "start": { - "line": 256, + "line": 251, "column": 37 }, "end": { - "line": 256, + "line": 251, "column": 41 } } @@ -125482,15 +126584,15 @@ "binop": null, "updateContext": null }, - "start": 9619, - "end": 9620, + "start": 9477, + "end": 9478, "loc": { "start": { - "line": 256, + "line": 251, "column": 41 }, "end": { - "line": 256, + "line": 251, "column": 42 } } @@ -125510,15 +126612,15 @@ "updateContext": null }, "value": "this", - "start": 9621, - "end": 9625, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 256, + "line": 251, "column": 43 }, "end": { - "line": 256, + "line": 251, "column": 47 } } @@ -125536,15 +126638,15 @@ "binop": null, "updateContext": null }, - "start": 9625, - "end": 9626, + "start": 9483, + "end": 9484, "loc": { "start": { - "line": 256, + "line": 251, "column": 47 }, "end": { - "line": 256, + "line": 251, "column": 48 } } @@ -125562,15 +126664,15 @@ "binop": null }, "value": "surferSeek", - "start": 9626, - "end": 9636, + "start": 9484, + "end": 9494, "loc": { "start": { - "line": 256, + "line": 251, "column": 48 }, "end": { - "line": 256, + "line": 251, "column": 58 } } @@ -125587,15 +126689,15 @@ "postfix": false, "binop": null }, - "start": 9636, - "end": 9637, + "start": 9494, + "end": 9495, "loc": { "start": { - "line": 256, + "line": 251, "column": 58 }, "end": { - "line": 256, + "line": 251, "column": 59 } } @@ -125613,15 +126715,15 @@ "binop": null, "updateContext": null }, - "start": 9637, - "end": 9638, + "start": 9495, + "end": 9496, "loc": { "start": { - "line": 256, + "line": 251, "column": 59 }, "end": { - "line": 256, + "line": 251, "column": 60 } } @@ -125638,15 +126740,15 @@ "postfix": false, "binop": null }, - "start": 9651, - "end": 9652, + "start": 9509, + "end": 9510, "loc": { "start": { - "line": 257, + "line": 252, "column": 12 }, "end": { - "line": 257, + "line": 252, "column": 13 } } @@ -125663,15 +126765,15 @@ "postfix": false, "binop": null }, - "start": 9661, - "end": 9662, + "start": 9519, + "end": 9520, "loc": { "start": { - "line": 258, + "line": 253, "column": 8 }, "end": { - "line": 258, + "line": 253, "column": 9 } } @@ -125691,15 +126793,15 @@ "updateContext": null }, "value": "else", - "start": 9663, - "end": 9667, + "start": 9521, + "end": 9525, "loc": { "start": { - "line": 258, + "line": 253, "column": 10 }, "end": { - "line": 258, + "line": 253, "column": 14 } } @@ -125719,15 +126821,15 @@ "updateContext": null }, "value": "if", - "start": 9668, - "end": 9670, + "start": 9526, + "end": 9528, "loc": { "start": { - "line": 258, + "line": 253, "column": 15 }, "end": { - "line": 258, + "line": 253, "column": 17 } } @@ -125744,15 +126846,15 @@ "postfix": false, "binop": null }, - "start": 9671, - "end": 9672, + "start": 9529, + "end": 9530, "loc": { "start": { - "line": 258, + "line": 253, "column": 18 }, "end": { - "line": 258, + "line": 253, "column": 19 } } @@ -125770,15 +126872,15 @@ "binop": null }, "value": "enable", - "start": 9672, - "end": 9678, + "start": 9530, + "end": 9536, "loc": { "start": { - "line": 258, + "line": 253, "column": 19 }, "end": { - "line": 258, + "line": 253, "column": 25 } } @@ -125797,15 +126899,15 @@ "updateContext": null }, "value": "===", - "start": 9679, - "end": 9682, + "start": 9537, + "end": 9540, "loc": { "start": { - "line": 258, + "line": 253, "column": 26 }, "end": { - "line": 258, + "line": 253, "column": 29 } } @@ -125825,15 +126927,15 @@ "updateContext": null }, "value": "true", - "start": 9683, - "end": 9687, + "start": 9541, + "end": 9545, "loc": { "start": { - "line": 258, + "line": 253, "column": 30 }, "end": { - "line": 258, + "line": 253, "column": 34 } } @@ -125850,15 +126952,15 @@ "postfix": false, "binop": null }, - "start": 9687, - "end": 9688, + "start": 9545, + "end": 9546, "loc": { "start": { - "line": 258, + "line": 253, "column": 34 }, "end": { - "line": 258, + "line": 253, "column": 35 } } @@ -125875,15 +126977,15 @@ "postfix": false, "binop": null }, - "start": 9689, - "end": 9690, + "start": 9547, + "end": 9548, "loc": { "start": { - "line": 258, + "line": 253, "column": 36 }, "end": { - "line": 258, + "line": 253, "column": 37 } } @@ -125903,15 +127005,15 @@ "updateContext": null }, "value": "this", - "start": 9703, - "end": 9707, + "start": 9561, + "end": 9565, "loc": { "start": { - "line": 259, + "line": 254, "column": 12 }, "end": { - "line": 259, + "line": 254, "column": 16 } } @@ -125929,15 +127031,15 @@ "binop": null, "updateContext": null }, - "start": 9707, - "end": 9708, + "start": 9565, + "end": 9566, "loc": { "start": { - "line": 259, + "line": 254, "column": 16 }, "end": { - "line": 259, + "line": 254, "column": 17 } } @@ -125955,15 +127057,15 @@ "binop": null }, "value": "surfer", - "start": 9708, - "end": 9714, + "start": 9566, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 254, "column": 17 }, "end": { - "line": 259, + "line": 254, "column": 23 } } @@ -125981,15 +127083,15 @@ "binop": null, "updateContext": null }, - "start": 9714, - "end": 9715, + "start": 9572, + "end": 9573, "loc": { "start": { - "line": 259, + "line": 254, "column": 23 }, "end": { - "line": 259, + "line": 254, "column": 24 } } @@ -126007,15 +127109,15 @@ "binop": null }, "value": "on", - "start": 9715, - "end": 9717, + "start": 9573, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 254, "column": 24 }, "end": { - "line": 259, + "line": 254, "column": 26 } } @@ -126032,15 +127134,15 @@ "postfix": false, "binop": null }, - "start": 9717, - "end": 9718, + "start": 9575, + "end": 9576, "loc": { "start": { - "line": 259, + "line": 254, "column": 26 }, "end": { - "line": 259, + "line": 254, "column": 27 } } @@ -126058,15 +127160,15 @@ "binop": null }, "value": "Event", - "start": 9718, - "end": 9723, + "start": 9576, + "end": 9581, "loc": { "start": { - "line": 259, + "line": 254, "column": 27 }, "end": { - "line": 259, + "line": 254, "column": 32 } } @@ -126084,15 +127186,15 @@ "binop": null, "updateContext": null }, - "start": 9723, - "end": 9724, + "start": 9581, + "end": 9582, "loc": { "start": { - "line": 259, + "line": 254, "column": 32 }, "end": { - "line": 259, + "line": 254, "column": 33 } } @@ -126110,15 +127212,15 @@ "binop": null }, "value": "READY", - "start": 9724, - "end": 9729, + "start": 9582, + "end": 9587, "loc": { "start": { - "line": 259, + "line": 254, "column": 33 }, "end": { - "line": 259, + "line": 254, "column": 38 } } @@ -126136,15 +127238,15 @@ "binop": null, "updateContext": null }, - "start": 9729, - "end": 9730, + "start": 9587, + "end": 9588, "loc": { "start": { - "line": 259, + "line": 254, "column": 38 }, "end": { - "line": 259, + "line": 254, "column": 39 } } @@ -126164,15 +127266,15 @@ "updateContext": null }, "value": "this", - "start": 9731, - "end": 9735, + "start": 9589, + "end": 9593, "loc": { "start": { - "line": 259, + "line": 254, "column": 40 }, "end": { - "line": 259, + "line": 254, "column": 44 } } @@ -126190,15 +127292,15 @@ "binop": null, "updateContext": null }, - "start": 9735, - "end": 9736, + "start": 9593, + "end": 9594, "loc": { "start": { - "line": 259, + "line": 254, "column": 44 }, "end": { - "line": 259, + "line": 254, "column": 45 } } @@ -126216,15 +127318,15 @@ "binop": null }, "value": "surferReady", - "start": 9736, - "end": 9747, + "start": 9594, + "end": 9605, "loc": { "start": { - "line": 259, + "line": 254, "column": 45 }, "end": { - "line": 259, + "line": 254, "column": 56 } } @@ -126241,15 +127343,15 @@ "postfix": false, "binop": null }, - "start": 9747, - "end": 9748, + "start": 9605, + "end": 9606, "loc": { "start": { - "line": 259, + "line": 254, "column": 56 }, "end": { - "line": 259, + "line": 254, "column": 57 } } @@ -126267,15 +127369,15 @@ "binop": null, "updateContext": null }, - "start": 9748, - "end": 9749, + "start": 9606, + "end": 9607, "loc": { "start": { - "line": 259, + "line": 254, "column": 57 }, "end": { - "line": 259, + "line": 254, "column": 58 } } @@ -126295,15 +127397,15 @@ "updateContext": null }, "value": "if", - "start": 9762, - "end": 9764, + "start": 9620, + "end": 9622, "loc": { "start": { - "line": 260, + "line": 255, "column": 12 }, "end": { - "line": 260, + "line": 255, "column": 14 } } @@ -126320,15 +127422,15 @@ "postfix": false, "binop": null }, - "start": 9765, - "end": 9766, + "start": 9623, + "end": 9624, "loc": { "start": { - "line": 260, + "line": 255, "column": 15 }, "end": { - "line": 260, + "line": 255, "column": 16 } } @@ -126348,15 +127450,15 @@ "updateContext": null }, "value": "this", - "start": 9766, - "end": 9770, + "start": 9624, + "end": 9628, "loc": { "start": { - "line": 260, + "line": 255, "column": 16 }, "end": { - "line": 260, + "line": 255, "column": 20 } } @@ -126374,15 +127476,15 @@ "binop": null, "updateContext": null }, - "start": 9770, - "end": 9771, + "start": 9628, + "end": 9629, "loc": { "start": { - "line": 260, + "line": 255, "column": 20 }, "end": { - "line": 260, + "line": 255, "column": 21 } } @@ -126400,15 +127502,15 @@ "binop": null }, "value": "backend", - "start": 9771, - "end": 9778, + "start": 9629, + "end": 9636, "loc": { "start": { - "line": 260, + "line": 255, "column": 21 }, "end": { - "line": 260, + "line": 255, "column": 28 } } @@ -126427,22 +127529,22 @@ "updateContext": null }, "value": "===", - "start": 9779, - "end": 9782, + "start": 9637, + "end": 9640, "loc": { "start": { - "line": 260, + "line": 255, "column": 29 }, "end": { - "line": 260, + "line": 255, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -126450,20 +127552,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 9783, - "end": 9793, + "value": "WEBAUDIO", + "start": 9641, + "end": 9649, "loc": { "start": { - "line": 260, + "line": 255, "column": 33 }, "end": { - "line": 260, - "column": 43 + "line": 255, + "column": 41 } } }, @@ -126479,16 +127580,16 @@ "postfix": false, "binop": null }, - "start": 9793, - "end": 9794, + "start": 9649, + "end": 9650, "loc": { "start": { - "line": 260, - "column": 43 + "line": 255, + "column": 41 }, "end": { - "line": 260, - "column": 44 + "line": 255, + "column": 42 } } }, @@ -126504,16 +127605,16 @@ "postfix": false, "binop": null }, - "start": 9795, - "end": 9796, + "start": 9651, + "end": 9652, "loc": { "start": { - "line": 260, - "column": 45 + "line": 255, + "column": 43 }, "end": { - "line": 260, - "column": 46 + "line": 255, + "column": 44 } } }, @@ -126532,15 +127633,15 @@ "updateContext": null }, "value": "this", - "start": 9813, - "end": 9817, + "start": 9669, + "end": 9673, "loc": { "start": { - "line": 261, + "line": 256, "column": 16 }, "end": { - "line": 261, + "line": 256, "column": 20 } } @@ -126558,15 +127659,15 @@ "binop": null, "updateContext": null }, - "start": 9817, - "end": 9818, + "start": 9673, + "end": 9674, "loc": { "start": { - "line": 261, + "line": 256, "column": 20 }, "end": { - "line": 261, + "line": 256, "column": 21 } } @@ -126584,15 +127685,15 @@ "binop": null }, "value": "surfer", - "start": 9818, - "end": 9824, + "start": 9674, + "end": 9680, "loc": { "start": { - "line": 261, + "line": 256, "column": 21 }, "end": { - "line": 261, + "line": 256, "column": 27 } } @@ -126610,15 +127711,15 @@ "binop": null, "updateContext": null }, - "start": 9824, - "end": 9825, + "start": 9680, + "end": 9681, "loc": { "start": { - "line": 261, + "line": 256, "column": 27 }, "end": { - "line": 261, + "line": 256, "column": 28 } } @@ -126636,15 +127737,15 @@ "binop": null }, "value": "on", - "start": 9825, - "end": 9827, + "start": 9681, + "end": 9683, "loc": { "start": { - "line": 261, + "line": 256, "column": 28 }, "end": { - "line": 261, + "line": 256, "column": 30 } } @@ -126661,15 +127762,15 @@ "postfix": false, "binop": null }, - "start": 9827, - "end": 9828, + "start": 9683, + "end": 9684, "loc": { "start": { - "line": 261, + "line": 256, "column": 30 }, "end": { - "line": 261, + "line": 256, "column": 31 } } @@ -126687,15 +127788,15 @@ "binop": null }, "value": "Event", - "start": 9828, - "end": 9833, + "start": 9684, + "end": 9689, "loc": { "start": { - "line": 261, + "line": 256, "column": 31 }, "end": { - "line": 261, + "line": 256, "column": 36 } } @@ -126713,15 +127814,15 @@ "binop": null, "updateContext": null }, - "start": 9833, - "end": 9834, + "start": 9689, + "end": 9690, "loc": { "start": { - "line": 261, + "line": 256, "column": 36 }, "end": { - "line": 261, + "line": 256, "column": 37 } } @@ -126739,15 +127840,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9834, - "end": 9846, + "start": 9690, + "end": 9702, "loc": { "start": { - "line": 261, + "line": 256, "column": 37 }, "end": { - "line": 261, + "line": 256, "column": 49 } } @@ -126765,15 +127866,15 @@ "binop": null, "updateContext": null }, - "start": 9846, - "end": 9847, + "start": 9702, + "end": 9703, "loc": { "start": { - "line": 261, + "line": 256, "column": 49 }, "end": { - "line": 261, + "line": 256, "column": 50 } } @@ -126793,15 +127894,15 @@ "updateContext": null }, "value": "this", - "start": 9848, - "end": 9852, + "start": 9704, + "end": 9708, "loc": { "start": { - "line": 261, + "line": 256, "column": 51 }, "end": { - "line": 261, + "line": 256, "column": 55 } } @@ -126819,15 +127920,15 @@ "binop": null, "updateContext": null }, - "start": 9852, - "end": 9853, + "start": 9708, + "end": 9709, "loc": { "start": { - "line": 261, + "line": 256, "column": 55 }, "end": { - "line": 261, + "line": 256, "column": 56 } } @@ -126845,15 +127946,15 @@ "binop": null }, "value": "surferProgress", - "start": 9853, - "end": 9867, + "start": 9709, + "end": 9723, "loc": { "start": { - "line": 261, + "line": 256, "column": 56 }, "end": { - "line": 261, + "line": 256, "column": 70 } } @@ -126870,15 +127971,15 @@ "postfix": false, "binop": null }, - "start": 9867, - "end": 9868, + "start": 9723, + "end": 9724, "loc": { "start": { - "line": 261, + "line": 256, "column": 70 }, "end": { - "line": 261, + "line": 256, "column": 71 } } @@ -126896,15 +127997,15 @@ "binop": null, "updateContext": null }, - "start": 9868, - "end": 9869, + "start": 9724, + "end": 9725, "loc": { "start": { - "line": 261, + "line": 256, "column": 71 }, "end": { - "line": 261, + "line": 256, "column": 72 } } @@ -126924,15 +128025,15 @@ "updateContext": null }, "value": "this", - "start": 9886, - "end": 9890, + "start": 9742, + "end": 9746, "loc": { "start": { - "line": 262, + "line": 257, "column": 16 }, "end": { - "line": 262, + "line": 257, "column": 20 } } @@ -126950,15 +128051,15 @@ "binop": null, "updateContext": null }, - "start": 9890, - "end": 9891, + "start": 9746, + "end": 9747, "loc": { "start": { - "line": 262, + "line": 257, "column": 20 }, "end": { - "line": 262, + "line": 257, "column": 21 } } @@ -126976,15 +128077,15 @@ "binop": null }, "value": "surfer", - "start": 9891, - "end": 9897, + "start": 9747, + "end": 9753, "loc": { "start": { - "line": 262, + "line": 257, "column": 21 }, "end": { - "line": 262, + "line": 257, "column": 27 } } @@ -127002,15 +128103,15 @@ "binop": null, "updateContext": null }, - "start": 9897, - "end": 9898, + "start": 9753, + "end": 9754, "loc": { "start": { - "line": 262, + "line": 257, "column": 27 }, "end": { - "line": 262, + "line": 257, "column": 28 } } @@ -127028,15 +128129,15 @@ "binop": null }, "value": "on", - "start": 9898, - "end": 9900, + "start": 9754, + "end": 9756, "loc": { "start": { - "line": 262, + "line": 257, "column": 28 }, "end": { - "line": 262, + "line": 257, "column": 30 } } @@ -127053,15 +128154,15 @@ "postfix": false, "binop": null }, - "start": 9900, - "end": 9901, + "start": 9756, + "end": 9757, "loc": { "start": { - "line": 262, + "line": 257, "column": 30 }, "end": { - "line": 262, + "line": 257, "column": 31 } } @@ -127079,15 +128180,15 @@ "binop": null }, "value": "Event", - "start": 9901, - "end": 9906, + "start": 9757, + "end": 9762, "loc": { "start": { - "line": 262, + "line": 257, "column": 31 }, "end": { - "line": 262, + "line": 257, "column": 36 } } @@ -127105,15 +128206,15 @@ "binop": null, "updateContext": null }, - "start": 9906, - "end": 9907, + "start": 9762, + "end": 9763, "loc": { "start": { - "line": 262, + "line": 257, "column": 36 }, "end": { - "line": 262, + "line": 257, "column": 37 } } @@ -127131,15 +128232,15 @@ "binop": null }, "value": "SEEK", - "start": 9907, - "end": 9911, + "start": 9763, + "end": 9767, "loc": { "start": { - "line": 262, + "line": 257, "column": 37 }, "end": { - "line": 262, + "line": 257, "column": 41 } } @@ -127157,15 +128258,15 @@ "binop": null, "updateContext": null }, - "start": 9911, - "end": 9912, + "start": 9767, + "end": 9768, "loc": { "start": { - "line": 262, + "line": 257, "column": 41 }, "end": { - "line": 262, + "line": 257, "column": 42 } } @@ -127185,15 +128286,15 @@ "updateContext": null }, "value": "this", - "start": 9913, - "end": 9917, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 262, + "line": 257, "column": 43 }, "end": { - "line": 262, + "line": 257, "column": 47 } } @@ -127211,15 +128312,15 @@ "binop": null, "updateContext": null }, - "start": 9917, - "end": 9918, + "start": 9773, + "end": 9774, "loc": { "start": { - "line": 262, + "line": 257, "column": 47 }, "end": { - "line": 262, + "line": 257, "column": 48 } } @@ -127237,15 +128338,15 @@ "binop": null }, "value": "surferSeek", - "start": 9918, - "end": 9928, + "start": 9774, + "end": 9784, "loc": { "start": { - "line": 262, + "line": 257, "column": 48 }, "end": { - "line": 262, + "line": 257, "column": 58 } } @@ -127262,15 +128363,15 @@ "postfix": false, "binop": null }, - "start": 9928, - "end": 9929, + "start": 9784, + "end": 9785, "loc": { "start": { - "line": 262, + "line": 257, "column": 58 }, "end": { - "line": 262, + "line": 257, "column": 59 } } @@ -127288,15 +128389,15 @@ "binop": null, "updateContext": null }, - "start": 9929, - "end": 9930, + "start": 9785, + "end": 9786, "loc": { "start": { - "line": 262, + "line": 257, "column": 59 }, "end": { - "line": 262, + "line": 257, "column": 60 } } @@ -127313,15 +128414,15 @@ "postfix": false, "binop": null }, - "start": 9943, - "end": 9944, + "start": 9799, + "end": 9800, "loc": { "start": { - "line": 263, + "line": 258, "column": 12 }, "end": { - "line": 263, + "line": 258, "column": 13 } } @@ -127338,15 +128439,15 @@ "postfix": false, "binop": null }, - "start": 9953, - "end": 9954, + "start": 9809, + "end": 9810, "loc": { "start": { - "line": 264, + "line": 259, "column": 8 }, "end": { - "line": 264, + "line": 259, "column": 9 } } @@ -127363,15 +128464,15 @@ "postfix": false, "binop": null }, - "start": 9959, - "end": 9960, + "start": 9815, + "end": 9816, "loc": { "start": { - "line": 265, + "line": 260, "column": 4 }, "end": { - "line": 265, + "line": 260, "column": 5 } } @@ -127379,15 +128480,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9966, - "end": 10258, + "start": 9822, + "end": 10114, "loc": { "start": { - "line": 267, + "line": 262, "column": 4 }, "end": { - "line": 274, + "line": 269, "column": 7 } } @@ -127405,15 +128506,15 @@ "binop": null }, "value": "load", - "start": 10263, - "end": 10267, + "start": 10119, + "end": 10123, "loc": { "start": { - "line": 275, + "line": 270, "column": 4 }, "end": { - "line": 275, + "line": 270, "column": 8 } } @@ -127430,15 +128531,15 @@ "postfix": false, "binop": null }, - "start": 10267, - "end": 10268, + "start": 10123, + "end": 10124, "loc": { "start": { - "line": 275, + "line": 270, "column": 8 }, "end": { - "line": 275, + "line": 270, "column": 9 } } @@ -127456,15 +128557,15 @@ "binop": null }, "value": "url", - "start": 10268, - "end": 10271, + "start": 10124, + "end": 10127, "loc": { "start": { - "line": 275, + "line": 270, "column": 9 }, "end": { - "line": 275, + "line": 270, "column": 12 } } @@ -127482,15 +128583,15 @@ "binop": null, "updateContext": null }, - "start": 10271, - "end": 10272, + "start": 10127, + "end": 10128, "loc": { "start": { - "line": 275, + "line": 270, "column": 12 }, "end": { - "line": 275, + "line": 270, "column": 13 } } @@ -127508,15 +128609,15 @@ "binop": null }, "value": "peaks", - "start": 10273, - "end": 10278, + "start": 10129, + "end": 10134, "loc": { "start": { - "line": 275, + "line": 270, "column": 14 }, "end": { - "line": 275, + "line": 270, "column": 19 } } @@ -127533,15 +128634,15 @@ "postfix": false, "binop": null }, - "start": 10278, - "end": 10279, + "start": 10134, + "end": 10135, "loc": { "start": { - "line": 275, + "line": 270, "column": 19 }, "end": { - "line": 275, + "line": 270, "column": 20 } } @@ -127558,15 +128659,15 @@ "postfix": false, "binop": null }, - "start": 10280, - "end": 10281, + "start": 10136, + "end": 10137, "loc": { "start": { - "line": 275, + "line": 270, "column": 21 }, "end": { - "line": 275, + "line": 270, "column": 22 } } @@ -127586,15 +128687,15 @@ "updateContext": null }, "value": "if", - "start": 10290, - "end": 10292, + "start": 10146, + "end": 10148, "loc": { "start": { - "line": 276, + "line": 271, "column": 8 }, "end": { - "line": 276, + "line": 271, "column": 10 } } @@ -127611,15 +128712,15 @@ "postfix": false, "binop": null }, - "start": 10293, - "end": 10294, + "start": 10149, + "end": 10150, "loc": { "start": { - "line": 276, + "line": 271, "column": 11 }, "end": { - "line": 276, + "line": 271, "column": 12 } } @@ -127637,15 +128738,15 @@ "binop": null }, "value": "url", - "start": 10294, - "end": 10297, + "start": 10150, + "end": 10153, "loc": { "start": { - "line": 276, + "line": 271, "column": 12 }, "end": { - "line": 276, + "line": 271, "column": 15 } } @@ -127665,15 +128766,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10298, - "end": 10308, + "start": 10154, + "end": 10164, "loc": { "start": { - "line": 276, + "line": 271, "column": 16 }, "end": { - "line": 276, + "line": 271, "column": 26 } } @@ -127691,15 +128792,15 @@ "binop": null }, "value": "Blob", - "start": 10309, - "end": 10313, + "start": 10165, + "end": 10169, "loc": { "start": { - "line": 276, + "line": 271, "column": 27 }, "end": { - "line": 276, + "line": 271, "column": 31 } } @@ -127718,15 +128819,15 @@ "updateContext": null }, "value": "||", - "start": 10314, - "end": 10316, + "start": 10170, + "end": 10172, "loc": { "start": { - "line": 276, + "line": 271, "column": 32 }, "end": { - "line": 276, + "line": 271, "column": 34 } } @@ -127744,15 +128845,15 @@ "binop": null }, "value": "url", - "start": 10317, - "end": 10320, + "start": 10173, + "end": 10176, "loc": { "start": { - "line": 276, + "line": 271, "column": 35 }, "end": { - "line": 276, + "line": 271, "column": 38 } } @@ -127772,15 +128873,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10321, - "end": 10331, + "start": 10177, + "end": 10187, "loc": { "start": { - "line": 276, + "line": 271, "column": 39 }, "end": { - "line": 276, + "line": 271, "column": 49 } } @@ -127798,15 +128899,15 @@ "binop": null }, "value": "File", - "start": 10332, - "end": 10336, + "start": 10188, + "end": 10192, "loc": { "start": { - "line": 276, + "line": 271, "column": 50 }, "end": { - "line": 276, + "line": 271, "column": 54 } } @@ -127823,15 +128924,15 @@ "postfix": false, "binop": null }, - "start": 10336, - "end": 10337, + "start": 10192, + "end": 10193, "loc": { "start": { - "line": 276, + "line": 271, "column": 54 }, "end": { - "line": 276, + "line": 271, "column": 55 } } @@ -127848,15 +128949,15 @@ "postfix": false, "binop": null }, - "start": 10338, - "end": 10339, + "start": 10194, + "end": 10195, "loc": { "start": { - "line": 276, + "line": 271, "column": 56 }, "end": { - "line": 276, + "line": 271, "column": 57 } } @@ -127876,15 +128977,15 @@ "updateContext": null }, "value": "this", - "start": 10352, - "end": 10356, + "start": 10208, + "end": 10212, "loc": { "start": { - "line": 277, + "line": 272, "column": 12 }, "end": { - "line": 277, + "line": 272, "column": 16 } } @@ -127902,15 +129003,15 @@ "binop": null, "updateContext": null }, - "start": 10356, - "end": 10357, + "start": 10212, + "end": 10213, "loc": { "start": { - "line": 277, + "line": 272, "column": 16 }, "end": { - "line": 277, + "line": 272, "column": 17 } } @@ -127928,15 +129029,15 @@ "binop": null }, "value": "log", - "start": 10357, - "end": 10360, + "start": 10213, + "end": 10216, "loc": { "start": { - "line": 277, + "line": 272, "column": 17 }, "end": { - "line": 277, + "line": 272, "column": 20 } } @@ -127953,15 +129054,15 @@ "postfix": false, "binop": null }, - "start": 10360, - "end": 10361, + "start": 10216, + "end": 10217, "loc": { "start": { - "line": 277, + "line": 272, "column": 20 }, "end": { - "line": 277, + "line": 272, "column": 21 } } @@ -127980,15 +129081,15 @@ "updateContext": null }, "value": "Loading object: ", - "start": 10361, - "end": 10379, + "start": 10217, + "end": 10235, "loc": { "start": { - "line": 277, + "line": 272, "column": 21 }, "end": { - "line": 277, + "line": 272, "column": 39 } } @@ -128007,15 +129108,15 @@ "updateContext": null }, "value": "+", - "start": 10380, - "end": 10381, + "start": 10236, + "end": 10237, "loc": { "start": { - "line": 277, + "line": 272, "column": 40 }, "end": { - "line": 277, + "line": 272, "column": 41 } } @@ -128033,15 +129134,15 @@ "binop": null }, "value": "JSON", - "start": 10382, - "end": 10386, + "start": 10238, + "end": 10242, "loc": { "start": { - "line": 277, + "line": 272, "column": 42 }, "end": { - "line": 277, + "line": 272, "column": 46 } } @@ -128059,15 +129160,15 @@ "binop": null, "updateContext": null }, - "start": 10386, - "end": 10387, + "start": 10242, + "end": 10243, "loc": { "start": { - "line": 277, + "line": 272, "column": 46 }, "end": { - "line": 277, + "line": 272, "column": 47 } } @@ -128085,15 +129186,15 @@ "binop": null }, "value": "stringify", - "start": 10387, - "end": 10396, + "start": 10243, + "end": 10252, "loc": { "start": { - "line": 277, + "line": 272, "column": 47 }, "end": { - "line": 277, + "line": 272, "column": 56 } } @@ -128110,15 +129211,15 @@ "postfix": false, "binop": null }, - "start": 10396, - "end": 10397, + "start": 10252, + "end": 10253, "loc": { "start": { - "line": 277, + "line": 272, "column": 56 }, "end": { - "line": 277, + "line": 272, "column": 57 } } @@ -128136,15 +129237,15 @@ "binop": null }, "value": "url", - "start": 10397, - "end": 10400, + "start": 10253, + "end": 10256, "loc": { "start": { - "line": 277, + "line": 272, "column": 57 }, "end": { - "line": 277, + "line": 272, "column": 60 } } @@ -128161,15 +129262,15 @@ "postfix": false, "binop": null }, - "start": 10400, - "end": 10401, + "start": 10256, + "end": 10257, "loc": { "start": { - "line": 277, + "line": 272, "column": 60 }, "end": { - "line": 277, + "line": 272, "column": 61 } } @@ -128186,15 +129287,15 @@ "postfix": false, "binop": null }, - "start": 10401, - "end": 10402, + "start": 10257, + "end": 10258, "loc": { "start": { - "line": 277, + "line": 272, "column": 61 }, "end": { - "line": 277, + "line": 272, "column": 62 } } @@ -128212,15 +129313,15 @@ "binop": null, "updateContext": null }, - "start": 10402, - "end": 10403, + "start": 10258, + "end": 10259, "loc": { "start": { - "line": 277, + "line": 272, "column": 62 }, "end": { - "line": 277, + "line": 272, "column": 63 } } @@ -128240,15 +129341,15 @@ "updateContext": null }, "value": "this", - "start": 10416, - "end": 10420, + "start": 10272, + "end": 10276, "loc": { "start": { - "line": 278, + "line": 273, "column": 12 }, "end": { - "line": 278, + "line": 273, "column": 16 } } @@ -128266,15 +129367,15 @@ "binop": null, "updateContext": null }, - "start": 10420, - "end": 10421, + "start": 10276, + "end": 10277, "loc": { "start": { - "line": 278, + "line": 273, "column": 16 }, "end": { - "line": 278, + "line": 273, "column": 17 } } @@ -128292,15 +129393,15 @@ "binop": null }, "value": "surfer", - "start": 10421, - "end": 10427, + "start": 10277, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 273, "column": 17 }, "end": { - "line": 278, + "line": 273, "column": 23 } } @@ -128318,15 +129419,15 @@ "binop": null, "updateContext": null }, - "start": 10427, - "end": 10428, + "start": 10283, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 273, "column": 23 }, "end": { - "line": 278, + "line": 273, "column": 24 } } @@ -128344,15 +129445,15 @@ "binop": null }, "value": "loadBlob", - "start": 10428, - "end": 10436, + "start": 10284, + "end": 10292, "loc": { "start": { - "line": 278, + "line": 273, "column": 24 }, "end": { - "line": 278, + "line": 273, "column": 32 } } @@ -128369,15 +129470,15 @@ "postfix": false, "binop": null }, - "start": 10436, - "end": 10437, + "start": 10292, + "end": 10293, "loc": { "start": { - "line": 278, + "line": 273, "column": 32 }, "end": { - "line": 278, + "line": 273, "column": 33 } } @@ -128395,15 +129496,15 @@ "binop": null }, "value": "url", - "start": 10437, - "end": 10440, + "start": 10293, + "end": 10296, "loc": { "start": { - "line": 278, + "line": 273, "column": 33 }, "end": { - "line": 278, + "line": 273, "column": 36 } } @@ -128420,15 +129521,15 @@ "postfix": false, "binop": null }, - "start": 10440, - "end": 10441, + "start": 10296, + "end": 10297, "loc": { "start": { - "line": 278, + "line": 273, "column": 36 }, "end": { - "line": 278, + "line": 273, "column": 37 } } @@ -128446,15 +129547,15 @@ "binop": null, "updateContext": null }, - "start": 10441, - "end": 10442, + "start": 10297, + "end": 10298, "loc": { "start": { - "line": 278, + "line": 273, "column": 37 }, "end": { - "line": 278, + "line": 273, "column": 38 } } @@ -128471,15 +129572,15 @@ "postfix": false, "binop": null }, - "start": 10451, - "end": 10452, + "start": 10307, + "end": 10308, "loc": { "start": { - "line": 279, + "line": 274, "column": 8 }, "end": { - "line": 279, + "line": 274, "column": 9 } } @@ -128499,15 +129600,15 @@ "updateContext": null }, "value": "else", - "start": 10453, - "end": 10457, + "start": 10309, + "end": 10313, "loc": { "start": { - "line": 279, + "line": 274, "column": 10 }, "end": { - "line": 279, + "line": 274, "column": 14 } } @@ -128524,15 +129625,15 @@ "postfix": false, "binop": null }, - "start": 10458, - "end": 10459, + "start": 10314, + "end": 10315, "loc": { "start": { - "line": 279, + "line": 274, "column": 15 }, "end": { - "line": 279, + "line": 274, "column": 16 } } @@ -128540,15 +129641,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10472, - "end": 10508, + "start": 10328, + "end": 10364, "loc": { "start": { - "line": 280, + "line": 275, "column": 12 }, "end": { - "line": 280, + "line": 275, "column": 48 } } @@ -128568,15 +129669,15 @@ "updateContext": null }, "value": "if", - "start": 10521, - "end": 10523, + "start": 10377, + "end": 10379, "loc": { "start": { - "line": 281, + "line": 276, "column": 12 }, "end": { - "line": 281, + "line": 276, "column": 14 } } @@ -128593,15 +129694,15 @@ "postfix": false, "binop": null }, - "start": 10524, - "end": 10525, + "start": 10380, + "end": 10381, "loc": { "start": { - "line": 281, + "line": 276, "column": 15 }, "end": { - "line": 281, + "line": 276, "column": 16 } } @@ -128619,15 +129720,15 @@ "binop": null }, "value": "peaks", - "start": 10525, - "end": 10530, + "start": 10381, + "end": 10386, "loc": { "start": { - "line": 281, + "line": 276, "column": 16 }, "end": { - "line": 281, + "line": 276, "column": 21 } } @@ -128646,15 +129747,15 @@ "updateContext": null }, "value": "!==", - "start": 10531, - "end": 10534, + "start": 10387, + "end": 10390, "loc": { "start": { - "line": 281, + "line": 276, "column": 22 }, "end": { - "line": 281, + "line": 276, "column": 25 } } @@ -128672,15 +129773,15 @@ "binop": null }, "value": "undefined", - "start": 10535, - "end": 10544, + "start": 10391, + "end": 10400, "loc": { "start": { - "line": 281, + "line": 276, "column": 26 }, "end": { - "line": 281, + "line": 276, "column": 35 } } @@ -128697,15 +129798,15 @@ "postfix": false, "binop": null }, - "start": 10544, - "end": 10545, + "start": 10400, + "end": 10401, "loc": { "start": { - "line": 281, + "line": 276, "column": 35 }, "end": { - "line": 281, + "line": 276, "column": 36 } } @@ -128722,15 +129823,15 @@ "postfix": false, "binop": null }, - "start": 10546, - "end": 10547, + "start": 10402, + "end": 10403, "loc": { "start": { - "line": 281, + "line": 276, "column": 37 }, "end": { - "line": 281, + "line": 276, "column": 38 } } @@ -128750,15 +129851,15 @@ "updateContext": null }, "value": "this", - "start": 10564, - "end": 10568, + "start": 10420, + "end": 10424, "loc": { "start": { - "line": 282, + "line": 277, "column": 16 }, "end": { - "line": 282, + "line": 277, "column": 20 } } @@ -128776,15 +129877,15 @@ "binop": null, "updateContext": null }, - "start": 10568, - "end": 10569, + "start": 10424, + "end": 10425, "loc": { "start": { - "line": 282, + "line": 277, "column": 20 }, "end": { - "line": 282, + "line": 277, "column": 21 } } @@ -128802,15 +129903,15 @@ "binop": null }, "value": "loadPeaks", - "start": 10569, - "end": 10578, + "start": 10425, + "end": 10434, "loc": { "start": { - "line": 282, + "line": 277, "column": 21 }, "end": { - "line": 282, + "line": 277, "column": 30 } } @@ -128827,15 +129928,15 @@ "postfix": false, "binop": null }, - "start": 10578, - "end": 10579, + "start": 10434, + "end": 10435, "loc": { "start": { - "line": 282, + "line": 277, "column": 30 }, "end": { - "line": 282, + "line": 277, "column": 31 } } @@ -128853,15 +129954,15 @@ "binop": null }, "value": "url", - "start": 10579, - "end": 10582, + "start": 10435, + "end": 10438, "loc": { "start": { - "line": 282, + "line": 277, "column": 31 }, "end": { - "line": 282, + "line": 277, "column": 34 } } @@ -128879,15 +129980,15 @@ "binop": null, "updateContext": null }, - "start": 10582, - "end": 10583, + "start": 10438, + "end": 10439, "loc": { "start": { - "line": 282, + "line": 277, "column": 34 }, "end": { - "line": 282, + "line": 277, "column": 35 } } @@ -128905,15 +130006,15 @@ "binop": null }, "value": "peaks", - "start": 10584, - "end": 10589, + "start": 10440, + "end": 10445, "loc": { "start": { - "line": 282, + "line": 277, "column": 36 }, "end": { - "line": 282, + "line": 277, "column": 41 } } @@ -128930,15 +130031,15 @@ "postfix": false, "binop": null }, - "start": 10589, - "end": 10590, + "start": 10445, + "end": 10446, "loc": { "start": { - "line": 282, + "line": 277, "column": 41 }, "end": { - "line": 282, + "line": 277, "column": 42 } } @@ -128956,15 +130057,15 @@ "binop": null, "updateContext": null }, - "start": 10590, - "end": 10591, + "start": 10446, + "end": 10447, "loc": { "start": { - "line": 282, + "line": 277, "column": 42 }, "end": { - "line": 282, + "line": 277, "column": 43 } } @@ -128981,15 +130082,15 @@ "postfix": false, "binop": null }, - "start": 10604, - "end": 10605, + "start": 10460, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 278, "column": 12 }, "end": { - "line": 283, + "line": 278, "column": 13 } } @@ -129009,15 +130110,15 @@ "updateContext": null }, "value": "else", - "start": 10606, - "end": 10610, + "start": 10462, + "end": 10466, "loc": { "start": { - "line": 283, + "line": 278, "column": 14 }, "end": { - "line": 283, + "line": 278, "column": 18 } } @@ -129034,15 +130135,15 @@ "postfix": false, "binop": null }, - "start": 10611, - "end": 10612, + "start": 10467, + "end": 10468, "loc": { "start": { - "line": 283, + "line": 278, "column": 19 }, "end": { - "line": 283, + "line": 278, "column": 20 } } @@ -129050,15 +130151,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10629, - "end": 10640, + "start": 10485, + "end": 10496, "loc": { "start": { - "line": 284, + "line": 279, "column": 16 }, "end": { - "line": 284, + "line": 279, "column": 27 } } @@ -129078,15 +130179,15 @@ "updateContext": null }, "value": "if", - "start": 10657, - "end": 10659, + "start": 10513, + "end": 10515, "loc": { "start": { - "line": 285, + "line": 280, "column": 16 }, "end": { - "line": 285, + "line": 280, "column": 18 } } @@ -129103,15 +130204,15 @@ "postfix": false, "binop": null }, - "start": 10660, - "end": 10661, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 285, + "line": 280, "column": 19 }, "end": { - "line": 285, + "line": 280, "column": 20 } } @@ -129131,15 +130232,15 @@ "updateContext": null }, "value": "typeof", - "start": 10661, - "end": 10667, + "start": 10517, + "end": 10523, "loc": { "start": { - "line": 285, + "line": 280, "column": 20 }, "end": { - "line": 285, + "line": 280, "column": 26 } } @@ -129157,15 +130258,15 @@ "binop": null }, "value": "url", - "start": 10668, - "end": 10671, + "start": 10524, + "end": 10527, "loc": { "start": { - "line": 285, + "line": 280, "column": 27 }, "end": { - "line": 285, + "line": 280, "column": 30 } } @@ -129184,15 +130285,15 @@ "updateContext": null }, "value": "===", - "start": 10672, - "end": 10675, + "start": 10528, + "end": 10531, "loc": { "start": { - "line": 285, + "line": 280, "column": 31 }, "end": { - "line": 285, + "line": 280, "column": 34 } } @@ -129211,15 +130312,15 @@ "updateContext": null }, "value": "string", - "start": 10676, - "end": 10684, + "start": 10532, + "end": 10540, "loc": { "start": { - "line": 285, + "line": 280, "column": 35 }, "end": { - "line": 285, + "line": 280, "column": 43 } } @@ -129236,15 +130337,15 @@ "postfix": false, "binop": null }, - "start": 10684, - "end": 10685, + "start": 10540, + "end": 10541, "loc": { "start": { - "line": 285, + "line": 280, "column": 43 }, "end": { - "line": 285, + "line": 280, "column": 44 } } @@ -129261,15 +130362,15 @@ "postfix": false, "binop": null }, - "start": 10686, - "end": 10687, + "start": 10542, + "end": 10543, "loc": { "start": { - "line": 285, + "line": 280, "column": 45 }, "end": { - "line": 285, + "line": 280, "column": 46 } } @@ -129289,15 +130390,15 @@ "updateContext": null }, "value": "this", - "start": 10708, - "end": 10712, + "start": 10564, + "end": 10568, "loc": { "start": { - "line": 286, + "line": 281, "column": 20 }, "end": { - "line": 286, + "line": 281, "column": 24 } } @@ -129315,15 +130416,15 @@ "binop": null, "updateContext": null }, - "start": 10712, - "end": 10713, + "start": 10568, + "end": 10569, "loc": { "start": { - "line": 286, + "line": 281, "column": 24 }, "end": { - "line": 286, + "line": 281, "column": 25 } } @@ -129341,15 +130442,15 @@ "binop": null }, "value": "log", - "start": 10713, - "end": 10716, + "start": 10569, + "end": 10572, "loc": { "start": { - "line": 286, + "line": 281, "column": 25 }, "end": { - "line": 286, + "line": 281, "column": 28 } } @@ -129366,15 +130467,15 @@ "postfix": false, "binop": null }, - "start": 10716, - "end": 10717, + "start": 10572, + "end": 10573, "loc": { "start": { - "line": 286, + "line": 281, "column": 28 }, "end": { - "line": 286, + "line": 281, "column": 29 } } @@ -129393,15 +130494,15 @@ "updateContext": null }, "value": "Loading URL: ", - "start": 10717, - "end": 10732, + "start": 10573, + "end": 10588, "loc": { "start": { - "line": 286, + "line": 281, "column": 29 }, "end": { - "line": 286, + "line": 281, "column": 44 } } @@ -129420,15 +130521,15 @@ "updateContext": null }, "value": "+", - "start": 10733, - "end": 10734, + "start": 10589, + "end": 10590, "loc": { "start": { - "line": 286, + "line": 281, "column": 45 }, "end": { - "line": 286, + "line": 281, "column": 46 } } @@ -129446,15 +130547,15 @@ "binop": null }, "value": "url", - "start": 10735, - "end": 10738, + "start": 10591, + "end": 10594, "loc": { "start": { - "line": 286, + "line": 281, "column": 47 }, "end": { - "line": 286, + "line": 281, "column": 50 } } @@ -129471,15 +130572,15 @@ "postfix": false, "binop": null }, - "start": 10738, - "end": 10739, + "start": 10594, + "end": 10595, "loc": { "start": { - "line": 286, + "line": 281, "column": 50 }, "end": { - "line": 286, + "line": 281, "column": 51 } } @@ -129497,15 +130598,15 @@ "binop": null, "updateContext": null }, - "start": 10739, - "end": 10740, + "start": 10595, + "end": 10596, "loc": { "start": { - "line": 286, + "line": 281, "column": 51 }, "end": { - "line": 286, + "line": 281, "column": 52 } } @@ -129522,15 +130623,15 @@ "postfix": false, "binop": null }, - "start": 10757, - "end": 10758, + "start": 10613, + "end": 10614, "loc": { "start": { - "line": 287, + "line": 282, "column": 16 }, "end": { - "line": 287, + "line": 282, "column": 17 } } @@ -129550,15 +130651,15 @@ "updateContext": null }, "value": "else", - "start": 10759, - "end": 10763, + "start": 10615, + "end": 10619, "loc": { "start": { - "line": 287, + "line": 282, "column": 18 }, "end": { - "line": 287, + "line": 282, "column": 22 } } @@ -129575,15 +130676,15 @@ "postfix": false, "binop": null }, - "start": 10764, - "end": 10765, + "start": 10620, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 282, "column": 23 }, "end": { - "line": 287, + "line": 282, "column": 24 } } @@ -129603,15 +130704,15 @@ "updateContext": null }, "value": "this", - "start": 10786, - "end": 10790, + "start": 10642, + "end": 10646, "loc": { "start": { - "line": 288, + "line": 283, "column": 20 }, "end": { - "line": 288, + "line": 283, "column": 24 } } @@ -129629,15 +130730,15 @@ "binop": null, "updateContext": null }, - "start": 10790, - "end": 10791, + "start": 10646, + "end": 10647, "loc": { "start": { - "line": 288, + "line": 283, "column": 24 }, "end": { - "line": 288, + "line": 283, "column": 25 } } @@ -129655,15 +130756,15 @@ "binop": null }, "value": "log", - "start": 10791, - "end": 10794, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 288, + "line": 283, "column": 25 }, "end": { - "line": 288, + "line": 283, "column": 28 } } @@ -129680,15 +130781,15 @@ "postfix": false, "binop": null }, - "start": 10794, - "end": 10795, + "start": 10650, + "end": 10651, "loc": { "start": { - "line": 288, + "line": 283, "column": 28 }, "end": { - "line": 288, + "line": 283, "column": 29 } } @@ -129707,15 +130808,15 @@ "updateContext": null }, "value": "Loading element: ", - "start": 10795, - "end": 10814, + "start": 10651, + "end": 10670, "loc": { "start": { - "line": 288, + "line": 283, "column": 29 }, "end": { - "line": 288, + "line": 283, "column": 48 } } @@ -129734,15 +130835,15 @@ "updateContext": null }, "value": "+", - "start": 10815, - "end": 10816, + "start": 10671, + "end": 10672, "loc": { "start": { - "line": 288, + "line": 283, "column": 49 }, "end": { - "line": 288, + "line": 283, "column": 50 } } @@ -129760,15 +130861,15 @@ "binop": null }, "value": "url", - "start": 10817, - "end": 10820, + "start": 10673, + "end": 10676, "loc": { "start": { - "line": 288, + "line": 283, "column": 51 }, "end": { - "line": 288, + "line": 283, "column": 54 } } @@ -129785,15 +130886,15 @@ "postfix": false, "binop": null }, - "start": 10820, - "end": 10821, + "start": 10676, + "end": 10677, "loc": { "start": { - "line": 288, + "line": 283, "column": 54 }, "end": { - "line": 288, + "line": 283, "column": 55 } } @@ -129811,15 +130912,15 @@ "binop": null, "updateContext": null }, - "start": 10821, - "end": 10822, + "start": 10677, + "end": 10678, "loc": { "start": { - "line": 288, + "line": 283, "column": 55 }, "end": { - "line": 288, + "line": 283, "column": 56 } } @@ -129836,15 +130937,15 @@ "postfix": false, "binop": null }, - "start": 10839, - "end": 10840, + "start": 10695, + "end": 10696, "loc": { "start": { - "line": 289, + "line": 284, "column": 16 }, "end": { - "line": 289, + "line": 284, "column": 17 } } @@ -129864,15 +130965,15 @@ "updateContext": null }, "value": "this", - "start": 10857, - "end": 10861, + "start": 10713, + "end": 10717, "loc": { "start": { - "line": 290, + "line": 285, "column": 16 }, "end": { - "line": 290, + "line": 285, "column": 20 } } @@ -129890,15 +130991,15 @@ "binop": null, "updateContext": null }, - "start": 10861, - "end": 10862, + "start": 10717, + "end": 10718, "loc": { "start": { - "line": 290, + "line": 285, "column": 20 }, "end": { - "line": 290, + "line": 285, "column": 21 } } @@ -129916,15 +131017,15 @@ "binop": null }, "value": "surfer", - "start": 10862, - "end": 10868, + "start": 10718, + "end": 10724, "loc": { "start": { - "line": 290, + "line": 285, "column": 21 }, "end": { - "line": 290, + "line": 285, "column": 27 } } @@ -129942,15 +131043,15 @@ "binop": null, "updateContext": null }, - "start": 10868, - "end": 10869, + "start": 10724, + "end": 10725, "loc": { "start": { - "line": 290, + "line": 285, "column": 27 }, "end": { - "line": 290, + "line": 285, "column": 28 } } @@ -129968,15 +131069,15 @@ "binop": null }, "value": "load", - "start": 10869, - "end": 10873, + "start": 10725, + "end": 10729, "loc": { "start": { - "line": 290, + "line": 285, "column": 28 }, "end": { - "line": 290, + "line": 285, "column": 32 } } @@ -129993,15 +131094,15 @@ "postfix": false, "binop": null }, - "start": 10873, - "end": 10874, + "start": 10729, + "end": 10730, "loc": { "start": { - "line": 290, + "line": 285, "column": 32 }, "end": { - "line": 290, + "line": 285, "column": 33 } } @@ -130019,15 +131120,15 @@ "binop": null }, "value": "url", - "start": 10874, - "end": 10877, + "start": 10730, + "end": 10733, "loc": { "start": { - "line": 290, + "line": 285, "column": 33 }, "end": { - "line": 290, + "line": 285, "column": 36 } } @@ -130044,15 +131145,15 @@ "postfix": false, "binop": null }, - "start": 10877, - "end": 10878, + "start": 10733, + "end": 10734, "loc": { "start": { - "line": 290, + "line": 285, "column": 36 }, "end": { - "line": 290, + "line": 285, "column": 37 } } @@ -130070,15 +131171,15 @@ "binop": null, "updateContext": null }, - "start": 10878, - "end": 10879, + "start": 10734, + "end": 10735, "loc": { "start": { - "line": 290, + "line": 285, "column": 37 }, "end": { - "line": 290, + "line": 285, "column": 38 } } @@ -130095,15 +131196,15 @@ "postfix": false, "binop": null }, - "start": 10892, - "end": 10893, + "start": 10748, + "end": 10749, "loc": { "start": { - "line": 291, + "line": 286, "column": 12 }, "end": { - "line": 291, + "line": 286, "column": 13 } } @@ -130120,15 +131221,15 @@ "postfix": false, "binop": null }, - "start": 10902, - "end": 10903, + "start": 10758, + "end": 10759, "loc": { "start": { - "line": 292, + "line": 287, "column": 8 }, "end": { - "line": 292, + "line": 287, "column": 9 } } @@ -130145,15 +131246,15 @@ "postfix": false, "binop": null }, - "start": 10908, - "end": 10909, + "start": 10764, + "end": 10765, "loc": { "start": { - "line": 293, + "line": 288, "column": 4 }, "end": { - "line": 293, + "line": 288, "column": 5 } } @@ -130161,15 +131262,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10915, - "end": 11207, + "start": 10771, + "end": 11063, "loc": { "start": { - "line": 295, + "line": 290, "column": 4 }, "end": { - "line": 302, + "line": 297, "column": 7 } } @@ -130187,15 +131288,15 @@ "binop": null }, "value": "loadPeaks", - "start": 11212, - "end": 11221, + "start": 11068, + "end": 11077, "loc": { "start": { - "line": 303, + "line": 298, "column": 4 }, "end": { - "line": 303, + "line": 298, "column": 13 } } @@ -130212,15 +131313,15 @@ "postfix": false, "binop": null }, - "start": 11221, - "end": 11222, + "start": 11077, + "end": 11078, "loc": { "start": { - "line": 303, + "line": 298, "column": 13 }, "end": { - "line": 303, + "line": 298, "column": 14 } } @@ -130238,15 +131339,15 @@ "binop": null }, "value": "url", - "start": 11222, - "end": 11225, + "start": 11078, + "end": 11081, "loc": { "start": { - "line": 303, + "line": 298, "column": 14 }, "end": { - "line": 303, + "line": 298, "column": 17 } } @@ -130264,15 +131365,15 @@ "binop": null, "updateContext": null }, - "start": 11225, - "end": 11226, + "start": 11081, + "end": 11082, "loc": { "start": { - "line": 303, + "line": 298, "column": 17 }, "end": { - "line": 303, + "line": 298, "column": 18 } } @@ -130290,15 +131391,15 @@ "binop": null }, "value": "peaks", - "start": 11227, - "end": 11232, + "start": 11083, + "end": 11088, "loc": { "start": { - "line": 303, + "line": 298, "column": 19 }, "end": { - "line": 303, + "line": 298, "column": 24 } } @@ -130315,15 +131416,15 @@ "postfix": false, "binop": null }, - "start": 11232, - "end": 11233, + "start": 11088, + "end": 11089, "loc": { "start": { - "line": 303, + "line": 298, "column": 24 }, "end": { - "line": 303, + "line": 298, "column": 25 } } @@ -130340,15 +131441,15 @@ "postfix": false, "binop": null }, - "start": 11234, - "end": 11235, + "start": 11090, + "end": 11091, "loc": { "start": { - "line": 303, + "line": 298, "column": 26 }, "end": { - "line": 303, + "line": 298, "column": 27 } } @@ -130368,15 +131469,15 @@ "updateContext": null }, "value": "if", - "start": 11244, - "end": 11246, + "start": 11100, + "end": 11102, "loc": { "start": { - "line": 304, + "line": 299, "column": 8 }, "end": { - "line": 304, + "line": 299, "column": 10 } } @@ -130393,15 +131494,15 @@ "postfix": false, "binop": null }, - "start": 11247, - "end": 11248, + "start": 11103, + "end": 11104, "loc": { "start": { - "line": 304, + "line": 299, "column": 11 }, "end": { - "line": 304, + "line": 299, "column": 12 } } @@ -130419,15 +131520,15 @@ "binop": null }, "value": "Array", - "start": 11248, - "end": 11253, + "start": 11104, + "end": 11109, "loc": { "start": { - "line": 304, + "line": 299, "column": 12 }, "end": { - "line": 304, + "line": 299, "column": 17 } } @@ -130445,15 +131546,15 @@ "binop": null, "updateContext": null }, - "start": 11253, - "end": 11254, + "start": 11109, + "end": 11110, "loc": { "start": { - "line": 304, + "line": 299, "column": 17 }, "end": { - "line": 304, + "line": 299, "column": 18 } } @@ -130471,15 +131572,15 @@ "binop": null }, "value": "isArray", - "start": 11254, - "end": 11261, + "start": 11110, + "end": 11117, "loc": { "start": { - "line": 304, + "line": 299, "column": 18 }, "end": { - "line": 304, + "line": 299, "column": 25 } } @@ -130496,15 +131597,15 @@ "postfix": false, "binop": null }, - "start": 11261, - "end": 11262, + "start": 11117, + "end": 11118, "loc": { "start": { - "line": 304, + "line": 299, "column": 25 }, "end": { - "line": 304, + "line": 299, "column": 26 } } @@ -130522,15 +131623,15 @@ "binop": null }, "value": "peaks", - "start": 11262, - "end": 11267, + "start": 11118, + "end": 11123, "loc": { "start": { - "line": 304, + "line": 299, "column": 26 }, "end": { - "line": 304, + "line": 299, "column": 31 } } @@ -130547,15 +131648,15 @@ "postfix": false, "binop": null }, - "start": 11267, - "end": 11268, + "start": 11123, + "end": 11124, "loc": { "start": { - "line": 304, + "line": 299, "column": 31 }, "end": { - "line": 304, + "line": 299, "column": 32 } } @@ -130572,15 +131673,15 @@ "postfix": false, "binop": null }, - "start": 11268, - "end": 11269, + "start": 11124, + "end": 11125, "loc": { "start": { - "line": 304, + "line": 299, "column": 32 }, "end": { - "line": 304, + "line": 299, "column": 33 } } @@ -130597,15 +131698,15 @@ "postfix": false, "binop": null }, - "start": 11270, - "end": 11271, + "start": 11126, + "end": 11127, "loc": { "start": { - "line": 304, + "line": 299, "column": 34 }, "end": { - "line": 304, + "line": 299, "column": 35 } } @@ -130613,15 +131714,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11284, - "end": 11310, + "start": 11140, + "end": 11166, "loc": { "start": { - "line": 305, + "line": 300, "column": 12 }, "end": { - "line": 305, + "line": 300, "column": 38 } } @@ -130641,15 +131742,15 @@ "updateContext": null }, "value": "this", - "start": 11323, - "end": 11327, + "start": 11179, + "end": 11183, "loc": { "start": { - "line": 306, + "line": 301, "column": 12 }, "end": { - "line": 306, + "line": 301, "column": 16 } } @@ -130667,15 +131768,15 @@ "binop": null, "updateContext": null }, - "start": 11327, - "end": 11328, + "start": 11183, + "end": 11184, "loc": { "start": { - "line": 306, + "line": 301, "column": 16 }, "end": { - "line": 306, + "line": 301, "column": 17 } } @@ -130693,15 +131794,15 @@ "binop": null }, "value": "log", - "start": 11328, - "end": 11331, + "start": 11184, + "end": 11187, "loc": { "start": { - "line": 306, + "line": 301, "column": 17 }, "end": { - "line": 306, + "line": 301, "column": 20 } } @@ -130718,15 +131819,15 @@ "postfix": false, "binop": null }, - "start": 11331, - "end": 11332, + "start": 11187, + "end": 11188, "loc": { "start": { - "line": 306, + "line": 301, "column": 20 }, "end": { - "line": 306, + "line": 301, "column": 21 } } @@ -130745,15 +131846,15 @@ "updateContext": null }, "value": "Loading URL with array of peaks: ", - "start": 11332, - "end": 11367, + "start": 11188, + "end": 11223, "loc": { "start": { - "line": 306, + "line": 301, "column": 21 }, "end": { - "line": 306, + "line": 301, "column": 56 } } @@ -130772,15 +131873,15 @@ "updateContext": null }, "value": "+", - "start": 11368, - "end": 11369, + "start": 11224, + "end": 11225, "loc": { "start": { - "line": 306, + "line": 301, "column": 57 }, "end": { - "line": 306, + "line": 301, "column": 58 } } @@ -130798,15 +131899,15 @@ "binop": null }, "value": "url", - "start": 11370, - "end": 11373, + "start": 11226, + "end": 11229, "loc": { "start": { - "line": 306, + "line": 301, "column": 59 }, "end": { - "line": 306, + "line": 301, "column": 62 } } @@ -130823,15 +131924,15 @@ "postfix": false, "binop": null }, - "start": 11373, - "end": 11374, + "start": 11229, + "end": 11230, "loc": { "start": { - "line": 306, + "line": 301, "column": 62 }, "end": { - "line": 306, + "line": 301, "column": 63 } } @@ -130849,15 +131950,15 @@ "binop": null, "updateContext": null }, - "start": 11374, - "end": 11375, + "start": 11230, + "end": 11231, "loc": { "start": { - "line": 306, + "line": 301, "column": 63 }, "end": { - "line": 306, + "line": 301, "column": 64 } } @@ -130877,15 +131978,15 @@ "updateContext": null }, "value": "this", - "start": 11388, - "end": 11392, + "start": 11244, + "end": 11248, "loc": { "start": { - "line": 307, + "line": 302, "column": 12 }, "end": { - "line": 307, + "line": 302, "column": 16 } } @@ -130903,15 +132004,15 @@ "binop": null, "updateContext": null }, - "start": 11392, - "end": 11393, + "start": 11248, + "end": 11249, "loc": { "start": { - "line": 307, + "line": 302, "column": 16 }, "end": { - "line": 307, + "line": 302, "column": 17 } } @@ -130929,15 +132030,15 @@ "binop": null }, "value": "surfer", - "start": 11393, - "end": 11399, + "start": 11249, + "end": 11255, "loc": { "start": { - "line": 307, + "line": 302, "column": 17 }, "end": { - "line": 307, + "line": 302, "column": 23 } } @@ -130955,15 +132056,15 @@ "binop": null, "updateContext": null }, - "start": 11399, - "end": 11400, + "start": 11255, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 302, "column": 23 }, "end": { - "line": 307, + "line": 302, "column": 24 } } @@ -130981,15 +132082,15 @@ "binop": null }, "value": "load", - "start": 11400, - "end": 11404, + "start": 11256, + "end": 11260, "loc": { "start": { - "line": 307, + "line": 302, "column": 24 }, "end": { - "line": 307, + "line": 302, "column": 28 } } @@ -131006,15 +132107,15 @@ "postfix": false, "binop": null }, - "start": 11404, - "end": 11405, + "start": 11260, + "end": 11261, "loc": { "start": { - "line": 307, + "line": 302, "column": 28 }, "end": { - "line": 307, + "line": 302, "column": 29 } } @@ -131032,15 +132133,15 @@ "binop": null }, "value": "url", - "start": 11405, - "end": 11408, + "start": 11261, + "end": 11264, "loc": { "start": { - "line": 307, + "line": 302, "column": 29 }, "end": { - "line": 307, + "line": 302, "column": 32 } } @@ -131058,15 +132159,15 @@ "binop": null, "updateContext": null }, - "start": 11408, - "end": 11409, + "start": 11264, + "end": 11265, "loc": { "start": { - "line": 307, + "line": 302, "column": 32 }, "end": { - "line": 307, + "line": 302, "column": 33 } } @@ -131084,15 +132185,15 @@ "binop": null }, "value": "peaks", - "start": 11410, - "end": 11415, + "start": 11266, + "end": 11271, "loc": { "start": { - "line": 307, + "line": 302, "column": 34 }, "end": { - "line": 307, + "line": 302, "column": 39 } } @@ -131109,15 +132210,15 @@ "postfix": false, "binop": null }, - "start": 11415, - "end": 11416, + "start": 11271, + "end": 11272, "loc": { "start": { - "line": 307, + "line": 302, "column": 39 }, "end": { - "line": 307, + "line": 302, "column": 40 } } @@ -131135,15 +132236,15 @@ "binop": null, "updateContext": null }, - "start": 11416, - "end": 11417, + "start": 11272, + "end": 11273, "loc": { "start": { - "line": 307, + "line": 302, "column": 40 }, "end": { - "line": 307, + "line": 302, "column": 41 } } @@ -131160,15 +132261,15 @@ "postfix": false, "binop": null }, - "start": 11426, - "end": 11427, + "start": 11282, + "end": 11283, "loc": { "start": { - "line": 308, + "line": 303, "column": 8 }, "end": { - "line": 308, + "line": 303, "column": 9 } } @@ -131188,15 +132289,15 @@ "updateContext": null }, "value": "else", - "start": 11428, - "end": 11432, + "start": 11284, + "end": 11288, "loc": { "start": { - "line": 308, + "line": 303, "column": 10 }, "end": { - "line": 308, + "line": 303, "column": 14 } } @@ -131213,15 +132314,15 @@ "postfix": false, "binop": null }, - "start": 11433, - "end": 11434, + "start": 11289, + "end": 11290, "loc": { "start": { - "line": 308, + "line": 303, "column": 15 }, "end": { - "line": 308, + "line": 303, "column": 16 } } @@ -131229,15 +132330,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11447, - "end": 11474, + "start": 11303, + "end": 11330, "loc": { "start": { - "line": 309, + "line": 304, "column": 12 }, "end": { - "line": 309, + "line": 304, "column": 39 } } @@ -131257,15 +132358,15 @@ "updateContext": null }, "value": "let", - "start": 11487, - "end": 11490, + "start": 11343, + "end": 11346, "loc": { "start": { - "line": 310, + "line": 305, "column": 12 }, "end": { - "line": 310, + "line": 305, "column": 15 } } @@ -131283,15 +132384,15 @@ "binop": null }, "value": "requestOptions", - "start": 11491, - "end": 11505, + "start": 11347, + "end": 11361, "loc": { "start": { - "line": 310, + "line": 305, "column": 16 }, "end": { - "line": 310, + "line": 305, "column": 30 } } @@ -131310,15 +132411,15 @@ "updateContext": null }, "value": "=", - "start": 11506, - "end": 11507, + "start": 11362, + "end": 11363, "loc": { "start": { - "line": 310, + "line": 305, "column": 31 }, "end": { - "line": 310, + "line": 305, "column": 32 } } @@ -131335,15 +132436,15 @@ "postfix": false, "binop": null }, - "start": 11508, - "end": 11509, + "start": 11364, + "end": 11365, "loc": { "start": { - "line": 310, + "line": 305, "column": 33 }, "end": { - "line": 310, + "line": 305, "column": 34 } } @@ -131361,15 +132462,15 @@ "binop": null }, "value": "url", - "start": 11526, - "end": 11529, + "start": 11382, + "end": 11385, "loc": { "start": { - "line": 311, + "line": 306, "column": 16 }, "end": { - "line": 311, + "line": 306, "column": 19 } } @@ -131387,15 +132488,15 @@ "binop": null, "updateContext": null }, - "start": 11529, - "end": 11530, + "start": 11385, + "end": 11386, "loc": { "start": { - "line": 311, + "line": 306, "column": 19 }, "end": { - "line": 311, + "line": 306, "column": 20 } } @@ -131413,15 +132514,15 @@ "binop": null }, "value": "peaks", - "start": 11531, - "end": 11536, + "start": 11387, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 306, "column": 21 }, "end": { - "line": 311, + "line": 306, "column": 26 } } @@ -131439,15 +132540,15 @@ "binop": null, "updateContext": null }, - "start": 11536, - "end": 11537, + "start": 11392, + "end": 11393, "loc": { "start": { - "line": 311, + "line": 306, "column": 26 }, "end": { - "line": 311, + "line": 306, "column": 27 } } @@ -131465,15 +132566,15 @@ "binop": null }, "value": "responseType", - "start": 11554, - "end": 11566, + "start": 11410, + "end": 11422, "loc": { "start": { - "line": 312, + "line": 307, "column": 16 }, "end": { - "line": 312, + "line": 307, "column": 28 } } @@ -131491,15 +132592,15 @@ "binop": null, "updateContext": null }, - "start": 11566, - "end": 11567, + "start": 11422, + "end": 11423, "loc": { "start": { - "line": 312, + "line": 307, "column": 28 }, "end": { - "line": 312, + "line": 307, "column": 29 } } @@ -131518,15 +132619,15 @@ "updateContext": null }, "value": "json", - "start": 11568, - "end": 11574, + "start": 11424, + "end": 11430, "loc": { "start": { - "line": 312, + "line": 307, "column": 30 }, "end": { - "line": 312, + "line": 307, "column": 36 } } @@ -131543,15 +132644,15 @@ "postfix": false, "binop": null }, - "start": 11587, - "end": 11588, + "start": 11443, + "end": 11444, "loc": { "start": { - "line": 313, + "line": 308, "column": 12 }, "end": { - "line": 313, + "line": 308, "column": 13 } } @@ -131569,15 +132670,15 @@ "binop": null, "updateContext": null }, - "start": 11588, - "end": 11589, + "start": 11444, + "end": 11445, "loc": { "start": { - "line": 313, + "line": 308, "column": 13 }, "end": { - "line": 313, + "line": 308, "column": 14 } } @@ -131585,15 +132686,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11603, - "end": 11632, + "start": 11459, + "end": 11488, "loc": { "start": { - "line": 315, + "line": 310, "column": 12 }, "end": { - "line": 315, + "line": 310, "column": 41 } } @@ -131613,15 +132714,15 @@ "updateContext": null }, "value": "if", - "start": 11645, - "end": 11647, + "start": 11501, + "end": 11503, "loc": { "start": { - "line": 316, + "line": 311, "column": 12 }, "end": { - "line": 316, + "line": 311, "column": 14 } } @@ -131638,15 +132739,15 @@ "postfix": false, "binop": null }, - "start": 11648, - "end": 11649, + "start": 11504, + "end": 11505, "loc": { "start": { - "line": 316, + "line": 311, "column": 15 }, "end": { - "line": 316, + "line": 311, "column": 16 } } @@ -131666,15 +132767,15 @@ "updateContext": null }, "value": "this", - "start": 11649, - "end": 11653, + "start": 11505, + "end": 11509, "loc": { "start": { - "line": 316, + "line": 311, "column": 16 }, "end": { - "line": 316, + "line": 311, "column": 20 } } @@ -131692,15 +132793,15 @@ "binop": null, "updateContext": null }, - "start": 11653, - "end": 11654, + "start": 11509, + "end": 11510, "loc": { "start": { - "line": 316, + "line": 311, "column": 20 }, "end": { - "line": 316, + "line": 311, "column": 21 } } @@ -131718,15 +132819,15 @@ "binop": null }, "value": "player", - "start": 11654, - "end": 11660, + "start": 11510, + "end": 11516, "loc": { "start": { - "line": 316, + "line": 311, "column": 21 }, "end": { - "line": 316, + "line": 311, "column": 27 } } @@ -131744,15 +132845,15 @@ "binop": null, "updateContext": null }, - "start": 11660, - "end": 11661, + "start": 11516, + "end": 11517, "loc": { "start": { - "line": 316, + "line": 311, "column": 27 }, "end": { - "line": 316, + "line": 311, "column": 28 } } @@ -131770,15 +132871,15 @@ "binop": null }, "value": "options_", - "start": 11661, - "end": 11669, + "start": 11517, + "end": 11525, "loc": { "start": { - "line": 316, + "line": 311, "column": 28 }, "end": { - "line": 316, + "line": 311, "column": 36 } } @@ -131796,15 +132897,15 @@ "binop": null, "updateContext": null }, - "start": 11669, - "end": 11670, + "start": 11525, + "end": 11526, "loc": { "start": { - "line": 316, + "line": 311, "column": 36 }, "end": { - "line": 316, + "line": 311, "column": 37 } } @@ -131822,15 +132923,15 @@ "binop": null }, "value": "plugins", - "start": 11670, - "end": 11677, + "start": 11526, + "end": 11533, "loc": { "start": { - "line": 316, + "line": 311, "column": 37 }, "end": { - "line": 316, + "line": 311, "column": 44 } } @@ -131848,15 +132949,15 @@ "binop": null, "updateContext": null }, - "start": 11677, - "end": 11678, + "start": 11533, + "end": 11534, "loc": { "start": { - "line": 316, + "line": 311, "column": 44 }, "end": { - "line": 316, + "line": 311, "column": 45 } } @@ -131874,15 +132975,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11678, - "end": 11688, + "start": 11534, + "end": 11544, "loc": { "start": { - "line": 316, + "line": 311, "column": 45 }, "end": { - "line": 316, + "line": 311, "column": 55 } } @@ -131900,15 +133001,15 @@ "binop": null, "updateContext": null }, - "start": 11688, - "end": 11689, + "start": 11544, + "end": 11545, "loc": { "start": { - "line": 316, + "line": 311, "column": 55 }, "end": { - "line": 316, + "line": 311, "column": 56 } } @@ -131926,15 +133027,15 @@ "binop": null }, "value": "xhr", - "start": 11689, - "end": 11692, + "start": 11545, + "end": 11548, "loc": { "start": { - "line": 316, + "line": 311, "column": 56 }, "end": { - "line": 316, + "line": 311, "column": 59 } } @@ -131953,15 +133054,15 @@ "updateContext": null }, "value": "!==", - "start": 11693, - "end": 11696, + "start": 11549, + "end": 11552, "loc": { "start": { - "line": 316, + "line": 311, "column": 60 }, "end": { - "line": 316, + "line": 311, "column": 63 } } @@ -131979,15 +133080,15 @@ "binop": null }, "value": "undefined", - "start": 11697, - "end": 11706, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 316, + "line": 311, "column": 64 }, "end": { - "line": 316, + "line": 311, "column": 73 } } @@ -132004,15 +133105,15 @@ "postfix": false, "binop": null }, - "start": 11706, - "end": 11707, + "start": 11562, + "end": 11563, "loc": { "start": { - "line": 316, + "line": 311, "column": 73 }, "end": { - "line": 316, + "line": 311, "column": 74 } } @@ -132029,15 +133130,15 @@ "postfix": false, "binop": null }, - "start": 11708, - "end": 11709, + "start": 11564, + "end": 11565, "loc": { "start": { - "line": 316, + "line": 311, "column": 75 }, "end": { - "line": 316, + "line": 311, "column": 76 } } @@ -132055,15 +133156,15 @@ "binop": null }, "value": "requestOptions", - "start": 11726, - "end": 11740, + "start": 11582, + "end": 11596, "loc": { "start": { - "line": 317, + "line": 312, "column": 16 }, "end": { - "line": 317, + "line": 312, "column": 30 } } @@ -132081,15 +133182,15 @@ "binop": null, "updateContext": null }, - "start": 11740, - "end": 11741, + "start": 11596, + "end": 11597, "loc": { "start": { - "line": 317, + "line": 312, "column": 30 }, "end": { - "line": 317, + "line": 312, "column": 31 } } @@ -132107,15 +133208,15 @@ "binop": null }, "value": "xhr", - "start": 11741, - "end": 11744, + "start": 11597, + "end": 11600, "loc": { "start": { - "line": 317, + "line": 312, "column": 31 }, "end": { - "line": 317, + "line": 312, "column": 34 } } @@ -132134,15 +133235,15 @@ "updateContext": null }, "value": "=", - "start": 11745, - "end": 11746, + "start": 11601, + "end": 11602, "loc": { "start": { - "line": 317, + "line": 312, "column": 35 }, "end": { - "line": 317, + "line": 312, "column": 36 } } @@ -132162,15 +133263,15 @@ "updateContext": null }, "value": "this", - "start": 11747, - "end": 11751, + "start": 11603, + "end": 11607, "loc": { "start": { - "line": 317, + "line": 312, "column": 37 }, "end": { - "line": 317, + "line": 312, "column": 41 } } @@ -132188,15 +133289,15 @@ "binop": null, "updateContext": null }, - "start": 11751, - "end": 11752, + "start": 11607, + "end": 11608, "loc": { "start": { - "line": 317, + "line": 312, "column": 41 }, "end": { - "line": 317, + "line": 312, "column": 42 } } @@ -132214,15 +133315,15 @@ "binop": null }, "value": "player", - "start": 11752, - "end": 11758, + "start": 11608, + "end": 11614, "loc": { "start": { - "line": 317, + "line": 312, "column": 42 }, "end": { - "line": 317, + "line": 312, "column": 48 } } @@ -132240,15 +133341,15 @@ "binop": null, "updateContext": null }, - "start": 11758, - "end": 11759, + "start": 11614, + "end": 11615, "loc": { "start": { - "line": 317, + "line": 312, "column": 48 }, "end": { - "line": 317, + "line": 312, "column": 49 } } @@ -132266,15 +133367,15 @@ "binop": null }, "value": "options_", - "start": 11759, - "end": 11767, + "start": 11615, + "end": 11623, "loc": { "start": { - "line": 317, + "line": 312, "column": 49 }, "end": { - "line": 317, + "line": 312, "column": 57 } } @@ -132292,15 +133393,15 @@ "binop": null, "updateContext": null }, - "start": 11767, - "end": 11768, + "start": 11623, + "end": 11624, "loc": { "start": { - "line": 317, + "line": 312, "column": 57 }, "end": { - "line": 317, + "line": 312, "column": 58 } } @@ -132318,15 +133419,15 @@ "binop": null }, "value": "plugins", - "start": 11768, - "end": 11775, + "start": 11624, + "end": 11631, "loc": { "start": { - "line": 317, + "line": 312, "column": 58 }, "end": { - "line": 317, + "line": 312, "column": 65 } } @@ -132344,15 +133445,15 @@ "binop": null, "updateContext": null }, - "start": 11775, - "end": 11776, + "start": 11631, + "end": 11632, "loc": { "start": { - "line": 317, + "line": 312, "column": 65 }, "end": { - "line": 317, + "line": 312, "column": 66 } } @@ -132370,15 +133471,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11776, - "end": 11786, + "start": 11632, + "end": 11642, "loc": { "start": { - "line": 317, + "line": 312, "column": 66 }, "end": { - "line": 317, + "line": 312, "column": 76 } } @@ -132396,15 +133497,15 @@ "binop": null, "updateContext": null }, - "start": 11786, - "end": 11787, + "start": 11642, + "end": 11643, "loc": { "start": { - "line": 317, + "line": 312, "column": 76 }, "end": { - "line": 317, + "line": 312, "column": 77 } } @@ -132422,15 +133523,15 @@ "binop": null }, "value": "xhr", - "start": 11787, - "end": 11790, + "start": 11643, + "end": 11646, "loc": { "start": { - "line": 317, + "line": 312, "column": 77 }, "end": { - "line": 317, + "line": 312, "column": 80 } } @@ -132448,15 +133549,15 @@ "binop": null, "updateContext": null }, - "start": 11790, - "end": 11791, + "start": 11646, + "end": 11647, "loc": { "start": { - "line": 317, + "line": 312, "column": 80 }, "end": { - "line": 317, + "line": 312, "column": 81 } } @@ -132473,15 +133574,15 @@ "postfix": false, "binop": null }, - "start": 11804, - "end": 11805, + "start": 11660, + "end": 11661, "loc": { "start": { - "line": 318, + "line": 313, "column": 12 }, "end": { - "line": 318, + "line": 313, "column": 13 } } @@ -132501,15 +133602,15 @@ "updateContext": null }, "value": "let", - "start": 11818, - "end": 11821, + "start": 11674, + "end": 11677, "loc": { "start": { - "line": 319, + "line": 314, "column": 12 }, "end": { - "line": 319, + "line": 314, "column": 15 } } @@ -132527,15 +133628,15 @@ "binop": null }, "value": "request", - "start": 11822, - "end": 11829, + "start": 11678, + "end": 11685, "loc": { "start": { - "line": 319, + "line": 314, "column": 16 }, "end": { - "line": 319, + "line": 314, "column": 23 } } @@ -132554,15 +133655,15 @@ "updateContext": null }, "value": "=", - "start": 11830, - "end": 11831, + "start": 11686, + "end": 11687, "loc": { "start": { - "line": 319, + "line": 314, "column": 24 }, "end": { - "line": 319, + "line": 314, "column": 25 } } @@ -132580,15 +133681,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 11832, - "end": 11842, + "start": 11688, + "end": 11698, "loc": { "start": { - "line": 319, + "line": 314, "column": 26 }, "end": { - "line": 319, + "line": 314, "column": 36 } } @@ -132606,15 +133707,15 @@ "binop": null, "updateContext": null }, - "start": 11842, - "end": 11843, + "start": 11698, + "end": 11699, "loc": { "start": { - "line": 319, + "line": 314, "column": 36 }, "end": { - "line": 319, + "line": 314, "column": 37 } } @@ -132632,15 +133733,15 @@ "binop": null }, "value": "util", - "start": 11843, - "end": 11847, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 319, + "line": 314, "column": 37 }, "end": { - "line": 319, + "line": 314, "column": 41 } } @@ -132658,15 +133759,15 @@ "binop": null, "updateContext": null }, - "start": 11847, - "end": 11848, + "start": 11703, + "end": 11704, "loc": { "start": { - "line": 319, + "line": 314, "column": 41 }, "end": { - "line": 319, + "line": 314, "column": 42 } } @@ -132684,15 +133785,15 @@ "binop": null }, "value": "fetchFile", - "start": 11848, - "end": 11857, + "start": 11704, + "end": 11713, "loc": { "start": { - "line": 319, + "line": 314, "column": 42 }, "end": { - "line": 319, + "line": 314, "column": 51 } } @@ -132709,15 +133810,15 @@ "postfix": false, "binop": null }, - "start": 11857, - "end": 11858, + "start": 11713, + "end": 11714, "loc": { "start": { - "line": 319, + "line": 314, "column": 51 }, "end": { - "line": 319, + "line": 314, "column": 52 } } @@ -132735,15 +133836,15 @@ "binop": null }, "value": "requestOptions", - "start": 11858, - "end": 11872, + "start": 11714, + "end": 11728, "loc": { "start": { - "line": 319, + "line": 314, "column": 52 }, "end": { - "line": 319, + "line": 314, "column": 66 } } @@ -132760,15 +133861,15 @@ "postfix": false, "binop": null }, - "start": 11872, - "end": 11873, + "start": 11728, + "end": 11729, "loc": { "start": { - "line": 319, + "line": 314, "column": 66 }, "end": { - "line": 319, + "line": 314, "column": 67 } } @@ -132786,15 +133887,15 @@ "binop": null, "updateContext": null }, - "start": 11873, - "end": 11874, + "start": 11729, + "end": 11730, "loc": { "start": { - "line": 319, + "line": 314, "column": 67 }, "end": { - "line": 319, + "line": 314, "column": 68 } } @@ -132812,15 +133913,15 @@ "binop": null }, "value": "request", - "start": 11888, - "end": 11895, + "start": 11744, + "end": 11751, "loc": { "start": { - "line": 321, + "line": 316, "column": 12 }, "end": { - "line": 321, + "line": 316, "column": 19 } } @@ -132838,15 +133939,15 @@ "binop": null, "updateContext": null }, - "start": 11895, - "end": 11896, + "start": 11751, + "end": 11752, "loc": { "start": { - "line": 321, + "line": 316, "column": 19 }, "end": { - "line": 321, + "line": 316, "column": 20 } } @@ -132864,15 +133965,15 @@ "binop": null }, "value": "once", - "start": 11896, - "end": 11900, + "start": 11752, + "end": 11756, "loc": { "start": { - "line": 321, + "line": 316, "column": 20 }, "end": { - "line": 321, + "line": 316, "column": 24 } } @@ -132889,15 +133990,15 @@ "postfix": false, "binop": null }, - "start": 11900, - "end": 11901, + "start": 11756, + "end": 11757, "loc": { "start": { - "line": 321, + "line": 316, "column": 24 }, "end": { - "line": 321, + "line": 316, "column": 25 } } @@ -132916,15 +134017,15 @@ "updateContext": null }, "value": "success", - "start": 11901, - "end": 11910, + "start": 11757, + "end": 11766, "loc": { "start": { - "line": 321, + "line": 316, "column": 25 }, "end": { - "line": 321, + "line": 316, "column": 34 } } @@ -132942,15 +134043,15 @@ "binop": null, "updateContext": null }, - "start": 11910, - "end": 11911, + "start": 11766, + "end": 11767, "loc": { "start": { - "line": 321, + "line": 316, "column": 34 }, "end": { - "line": 321, + "line": 316, "column": 35 } } @@ -132968,15 +134069,15 @@ "binop": null }, "value": "data", - "start": 11912, - "end": 11916, + "start": 11768, + "end": 11772, "loc": { "start": { - "line": 321, + "line": 316, "column": 36 }, "end": { - "line": 321, + "line": 316, "column": 40 } } @@ -132994,15 +134095,15 @@ "binop": null, "updateContext": null }, - "start": 11917, - "end": 11919, + "start": 11773, + "end": 11775, "loc": { "start": { - "line": 321, + "line": 316, "column": 41 }, "end": { - "line": 321, + "line": 316, "column": 43 } } @@ -133019,15 +134120,15 @@ "postfix": false, "binop": null }, - "start": 11920, - "end": 11921, + "start": 11776, + "end": 11777, "loc": { "start": { - "line": 321, + "line": 316, "column": 44 }, "end": { - "line": 321, + "line": 316, "column": 45 } } @@ -133047,15 +134148,15 @@ "updateContext": null }, "value": "this", - "start": 11938, - "end": 11942, + "start": 11794, + "end": 11798, "loc": { "start": { - "line": 322, + "line": 317, "column": 16 }, "end": { - "line": 322, + "line": 317, "column": 20 } } @@ -133073,15 +134174,15 @@ "binop": null, "updateContext": null }, - "start": 11942, - "end": 11943, + "start": 11798, + "end": 11799, "loc": { "start": { - "line": 322, + "line": 317, "column": 20 }, "end": { - "line": 322, + "line": 317, "column": 21 } } @@ -133099,15 +134200,15 @@ "binop": null }, "value": "log", - "start": 11943, - "end": 11946, + "start": 11799, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 317, "column": 21 }, "end": { - "line": 322, + "line": 317, "column": 24 } } @@ -133124,15 +134225,15 @@ "postfix": false, "binop": null }, - "start": 11946, - "end": 11947, + "start": 11802, + "end": 11803, "loc": { "start": { - "line": 322, + "line": 317, "column": 24 }, "end": { - "line": 322, + "line": 317, "column": 25 } } @@ -133151,15 +134252,15 @@ "updateContext": null }, "value": "Loaded Peak Data URL: ", - "start": 11947, - "end": 11971, + "start": 11803, + "end": 11827, "loc": { "start": { - "line": 322, + "line": 317, "column": 25 }, "end": { - "line": 322, + "line": 317, "column": 49 } } @@ -133178,15 +134279,15 @@ "updateContext": null }, "value": "+", - "start": 11972, - "end": 11973, + "start": 11828, + "end": 11829, "loc": { "start": { - "line": 322, + "line": 317, "column": 50 }, "end": { - "line": 322, + "line": 317, "column": 51 } } @@ -133204,15 +134305,15 @@ "binop": null }, "value": "peaks", - "start": 11974, - "end": 11979, + "start": 11830, + "end": 11835, "loc": { "start": { - "line": 322, + "line": 317, "column": 52 }, "end": { - "line": 322, + "line": 317, "column": 57 } } @@ -133229,15 +134330,15 @@ "postfix": false, "binop": null }, - "start": 11979, - "end": 11980, + "start": 11835, + "end": 11836, "loc": { "start": { - "line": 322, + "line": 317, "column": 57 }, "end": { - "line": 322, + "line": 317, "column": 58 } } @@ -133255,15 +134356,15 @@ "binop": null, "updateContext": null }, - "start": 11980, - "end": 11981, + "start": 11836, + "end": 11837, "loc": { "start": { - "line": 322, + "line": 317, "column": 58 }, "end": { - "line": 322, + "line": 317, "column": 59 } } @@ -133271,15 +134372,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11998, - "end": 12041, + "start": 11854, + "end": 11897, "loc": { "start": { - "line": 323, + "line": 318, "column": 16 }, "end": { - "line": 323, + "line": 318, "column": 59 } } @@ -133299,15 +134400,15 @@ "updateContext": null }, "value": "if", - "start": 12058, - "end": 12060, + "start": 11914, + "end": 11916, "loc": { "start": { - "line": 324, + "line": 319, "column": 16 }, "end": { - "line": 324, + "line": 319, "column": 18 } } @@ -133324,15 +134425,15 @@ "postfix": false, "binop": null }, - "start": 12061, - "end": 12062, + "start": 11917, + "end": 11918, "loc": { "start": { - "line": 324, + "line": 319, "column": 19 }, "end": { - "line": 324, + "line": 319, "column": 20 } } @@ -133350,15 +134451,15 @@ "binop": null }, "value": "data", - "start": 12062, - "end": 12066, + "start": 11918, + "end": 11922, "loc": { "start": { - "line": 324, + "line": 319, "column": 20 }, "end": { - "line": 324, + "line": 319, "column": 24 } } @@ -133377,15 +134478,15 @@ "updateContext": null }, "value": "&&", - "start": 12067, - "end": 12069, + "start": 11923, + "end": 11925, "loc": { "start": { - "line": 324, + "line": 319, "column": 25 }, "end": { - "line": 324, + "line": 319, "column": 27 } } @@ -133403,15 +134504,15 @@ "binop": null }, "value": "data", - "start": 12070, - "end": 12074, + "start": 11926, + "end": 11930, "loc": { "start": { - "line": 324, + "line": 319, "column": 28 }, "end": { - "line": 324, + "line": 319, "column": 32 } } @@ -133429,15 +134530,15 @@ "binop": null, "updateContext": null }, - "start": 12074, - "end": 12075, + "start": 11930, + "end": 11931, "loc": { "start": { - "line": 324, + "line": 319, "column": 32 }, "end": { - "line": 324, + "line": 319, "column": 33 } } @@ -133455,15 +134556,15 @@ "binop": null }, "value": "data", - "start": 12075, - "end": 12079, + "start": 11931, + "end": 11935, "loc": { "start": { - "line": 324, + "line": 319, "column": 33 }, "end": { - "line": 324, + "line": 319, "column": 37 } } @@ -133480,15 +134581,15 @@ "postfix": false, "binop": null }, - "start": 12079, - "end": 12080, + "start": 11935, + "end": 11936, "loc": { "start": { - "line": 324, + "line": 319, "column": 37 }, "end": { - "line": 324, + "line": 319, "column": 38 } } @@ -133505,15 +134606,15 @@ "postfix": false, "binop": null }, - "start": 12081, - "end": 12082, + "start": 11937, + "end": 11938, "loc": { "start": { - "line": 324, + "line": 319, "column": 39 }, "end": { - "line": 324, + "line": 319, "column": 40 } } @@ -133533,15 +134634,15 @@ "updateContext": null }, "value": "this", - "start": 12103, - "end": 12107, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 325, + "line": 320, "column": 20 }, "end": { - "line": 325, + "line": 320, "column": 24 } } @@ -133559,15 +134660,15 @@ "binop": null, "updateContext": null }, - "start": 12107, - "end": 12108, + "start": 11963, + "end": 11964, "loc": { "start": { - "line": 325, + "line": 320, "column": 24 }, "end": { - "line": 325, + "line": 320, "column": 25 } } @@ -133585,15 +134686,15 @@ "binop": null }, "value": "surfer", - "start": 12108, - "end": 12114, + "start": 11964, + "end": 11970, "loc": { "start": { - "line": 325, + "line": 320, "column": 25 }, "end": { - "line": 325, + "line": 320, "column": 31 } } @@ -133611,15 +134712,15 @@ "binop": null, "updateContext": null }, - "start": 12114, - "end": 12115, + "start": 11970, + "end": 11971, "loc": { "start": { - "line": 325, + "line": 320, "column": 31 }, "end": { - "line": 325, + "line": 320, "column": 32 } } @@ -133637,15 +134738,15 @@ "binop": null }, "value": "load", - "start": 12115, - "end": 12119, + "start": 11971, + "end": 11975, "loc": { "start": { - "line": 325, + "line": 320, "column": 32 }, "end": { - "line": 325, + "line": 320, "column": 36 } } @@ -133662,15 +134763,15 @@ "postfix": false, "binop": null }, - "start": 12119, - "end": 12120, + "start": 11975, + "end": 11976, "loc": { "start": { - "line": 325, + "line": 320, "column": 36 }, "end": { - "line": 325, + "line": 320, "column": 37 } } @@ -133688,15 +134789,15 @@ "binop": null }, "value": "url", - "start": 12120, - "end": 12123, + "start": 11976, + "end": 11979, "loc": { "start": { - "line": 325, + "line": 320, "column": 37 }, "end": { - "line": 325, + "line": 320, "column": 40 } } @@ -133714,15 +134815,15 @@ "binop": null, "updateContext": null }, - "start": 12123, - "end": 12124, + "start": 11979, + "end": 11980, "loc": { "start": { - "line": 325, + "line": 320, "column": 40 }, "end": { - "line": 325, + "line": 320, "column": 41 } } @@ -133740,15 +134841,15 @@ "binop": null }, "value": "data", - "start": 12125, - "end": 12129, + "start": 11981, + "end": 11985, "loc": { "start": { - "line": 325, + "line": 320, "column": 42 }, "end": { - "line": 325, + "line": 320, "column": 46 } } @@ -133766,15 +134867,15 @@ "binop": null, "updateContext": null }, - "start": 12129, - "end": 12130, + "start": 11985, + "end": 11986, "loc": { "start": { - "line": 325, + "line": 320, "column": 46 }, "end": { - "line": 325, + "line": 320, "column": 47 } } @@ -133792,15 +134893,15 @@ "binop": null }, "value": "data", - "start": 12130, - "end": 12134, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 325, + "line": 320, "column": 47 }, "end": { - "line": 325, + "line": 320, "column": 51 } } @@ -133817,15 +134918,15 @@ "postfix": false, "binop": null }, - "start": 12134, - "end": 12135, + "start": 11990, + "end": 11991, "loc": { "start": { - "line": 325, + "line": 320, "column": 51 }, "end": { - "line": 325, + "line": 320, "column": 52 } } @@ -133843,15 +134944,15 @@ "binop": null, "updateContext": null }, - "start": 12135, - "end": 12136, + "start": 11991, + "end": 11992, "loc": { "start": { - "line": 325, + "line": 320, "column": 52 }, "end": { - "line": 325, + "line": 320, "column": 53 } } @@ -133868,15 +134969,15 @@ "postfix": false, "binop": null }, - "start": 12153, - "end": 12154, + "start": 12009, + "end": 12010, "loc": { "start": { - "line": 326, + "line": 321, "column": 16 }, "end": { - "line": 326, + "line": 321, "column": 17 } } @@ -133896,15 +134997,15 @@ "updateContext": null }, "value": "else", - "start": 12155, - "end": 12159, + "start": 12011, + "end": 12015, "loc": { "start": { - "line": 326, + "line": 321, "column": 18 }, "end": { - "line": 326, + "line": 321, "column": 22 } } @@ -133921,15 +135022,15 @@ "postfix": false, "binop": null }, - "start": 12160, - "end": 12161, + "start": 12016, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 321, "column": 23 }, "end": { - "line": 326, + "line": 321, "column": 24 } } @@ -133949,15 +135050,15 @@ "updateContext": null }, "value": "this", - "start": 12182, - "end": 12186, + "start": 12038, + "end": 12042, "loc": { "start": { - "line": 327, + "line": 322, "column": 20 }, "end": { - "line": 327, + "line": 322, "column": 24 } } @@ -133975,15 +135076,15 @@ "binop": null, "updateContext": null }, - "start": 12186, - "end": 12187, + "start": 12042, + "end": 12043, "loc": { "start": { - "line": 327, + "line": 322, "column": 24 }, "end": { - "line": 327, + "line": 322, "column": 25 } } @@ -134001,15 +135102,15 @@ "binop": null }, "value": "player", - "start": 12187, - "end": 12193, + "start": 12043, + "end": 12049, "loc": { "start": { - "line": 327, + "line": 322, "column": 25 }, "end": { - "line": 327, + "line": 322, "column": 31 } } @@ -134027,15 +135128,15 @@ "binop": null, "updateContext": null }, - "start": 12193, - "end": 12194, + "start": 12049, + "end": 12050, "loc": { "start": { - "line": 327, + "line": 322, "column": 31 }, "end": { - "line": 327, + "line": 322, "column": 32 } } @@ -134053,15 +135154,15 @@ "binop": null }, "value": "trigger", - "start": 12194, - "end": 12201, + "start": 12050, + "end": 12057, "loc": { "start": { - "line": 327, + "line": 322, "column": 32 }, "end": { - "line": 327, + "line": 322, "column": 39 } } @@ -134078,15 +135179,15 @@ "postfix": false, "binop": null }, - "start": 12201, - "end": 12202, + "start": 12057, + "end": 12058, "loc": { "start": { - "line": 327, + "line": 322, "column": 39 }, "end": { - "line": 327, + "line": 322, "column": 40 } } @@ -134104,15 +135205,15 @@ "binop": null }, "value": "Event", - "start": 12202, - "end": 12207, + "start": 12058, + "end": 12063, "loc": { "start": { - "line": 327, + "line": 322, "column": 40 }, "end": { - "line": 327, + "line": 322, "column": 45 } } @@ -134130,15 +135231,15 @@ "binop": null, "updateContext": null }, - "start": 12207, - "end": 12208, + "start": 12063, + "end": 12064, "loc": { "start": { - "line": 327, + "line": 322, "column": 45 }, "end": { - "line": 327, + "line": 322, "column": 46 } } @@ -134156,15 +135257,15 @@ "binop": null }, "value": "ERROR", - "start": 12208, - "end": 12213, + "start": 12064, + "end": 12069, "loc": { "start": { - "line": 327, + "line": 322, "column": 46 }, "end": { - "line": 327, + "line": 322, "column": 51 } } @@ -134182,15 +135283,15 @@ "binop": null, "updateContext": null }, - "start": 12213, - "end": 12214, + "start": 12069, + "end": 12070, "loc": { "start": { - "line": 327, + "line": 322, "column": 51 }, "end": { - "line": 327, + "line": 322, "column": 52 } } @@ -134209,15 +135310,15 @@ "updateContext": null }, "value": "Could not load peaks data from ", - "start": 12239, - "end": 12272, + "start": 12095, + "end": 12128, "loc": { "start": { - "line": 328, + "line": 323, "column": 24 }, "end": { - "line": 328, + "line": 323, "column": 57 } } @@ -134236,15 +135337,15 @@ "updateContext": null }, "value": "+", - "start": 12273, - "end": 12274, + "start": 12129, + "end": 12130, "loc": { "start": { - "line": 328, + "line": 323, "column": 58 }, "end": { - "line": 328, + "line": 323, "column": 59 } } @@ -134262,15 +135363,15 @@ "binop": null }, "value": "peaks", - "start": 12275, - "end": 12280, + "start": 12131, + "end": 12136, "loc": { "start": { - "line": 328, + "line": 323, "column": 60 }, "end": { - "line": 328, + "line": 323, "column": 65 } } @@ -134287,15 +135388,15 @@ "postfix": false, "binop": null }, - "start": 12280, - "end": 12281, + "start": 12136, + "end": 12137, "loc": { "start": { - "line": 328, + "line": 323, "column": 65 }, "end": { - "line": 328, + "line": 323, "column": 66 } } @@ -134313,15 +135414,15 @@ "binop": null, "updateContext": null }, - "start": 12281, - "end": 12282, + "start": 12137, + "end": 12138, "loc": { "start": { - "line": 328, + "line": 323, "column": 66 }, "end": { - "line": 328, + "line": 323, "column": 67 } } @@ -134341,15 +135442,15 @@ "updateContext": null }, "value": "this", - "start": 12303, - "end": 12307, + "start": 12159, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 324, "column": 24 } } @@ -134367,15 +135468,15 @@ "binop": null, "updateContext": null }, - "start": 12307, - "end": 12308, + "start": 12163, + "end": 12164, "loc": { "start": { - "line": 329, + "line": 324, "column": 24 }, "end": { - "line": 329, + "line": 324, "column": 25 } } @@ -134393,15 +135494,15 @@ "binop": null }, "value": "log", - "start": 12308, - "end": 12311, + "start": 12164, + "end": 12167, "loc": { "start": { - "line": 329, + "line": 324, "column": 25 }, "end": { - "line": 329, + "line": 324, "column": 28 } } @@ -134418,15 +135519,15 @@ "postfix": false, "binop": null }, - "start": 12311, - "end": 12312, + "start": 12167, + "end": 12168, "loc": { "start": { - "line": 329, + "line": 324, "column": 28 }, "end": { - "line": 329, + "line": 324, "column": 29 } } @@ -134444,15 +135545,15 @@ "binop": null }, "value": "err", - "start": 12312, - "end": 12315, + "start": 12168, + "end": 12171, "loc": { "start": { - "line": 329, + "line": 324, "column": 29 }, "end": { - "line": 329, + "line": 324, "column": 32 } } @@ -134470,15 +135571,15 @@ "binop": null, "updateContext": null }, - "start": 12315, - "end": 12316, + "start": 12171, + "end": 12172, "loc": { "start": { - "line": 329, + "line": 324, "column": 32 }, "end": { - "line": 329, + "line": 324, "column": 33 } } @@ -134497,15 +135598,15 @@ "updateContext": null }, "value": "error", - "start": 12317, - "end": 12324, + "start": 12173, + "end": 12180, "loc": { "start": { - "line": 329, + "line": 324, "column": 34 }, "end": { - "line": 329, + "line": 324, "column": 41 } } @@ -134522,15 +135623,15 @@ "postfix": false, "binop": null }, - "start": 12324, - "end": 12325, + "start": 12180, + "end": 12181, "loc": { "start": { - "line": 329, + "line": 324, "column": 41 }, "end": { - "line": 329, + "line": 324, "column": 42 } } @@ -134548,15 +135649,15 @@ "binop": null, "updateContext": null }, - "start": 12325, - "end": 12326, + "start": 12181, + "end": 12182, "loc": { "start": { - "line": 329, + "line": 324, "column": 42 }, "end": { - "line": 329, + "line": 324, "column": 43 } } @@ -134573,15 +135674,15 @@ "postfix": false, "binop": null }, - "start": 12343, - "end": 12344, + "start": 12199, + "end": 12200, "loc": { "start": { - "line": 330, + "line": 325, "column": 16 }, "end": { - "line": 330, + "line": 325, "column": 17 } } @@ -134598,15 +135699,15 @@ "postfix": false, "binop": null }, - "start": 12357, - "end": 12358, + "start": 12213, + "end": 12214, "loc": { "start": { - "line": 331, + "line": 326, "column": 12 }, "end": { - "line": 331, + "line": 326, "column": 13 } } @@ -134623,15 +135724,15 @@ "postfix": false, "binop": null }, - "start": 12358, - "end": 12359, + "start": 12214, + "end": 12215, "loc": { "start": { - "line": 331, + "line": 326, "column": 13 }, "end": { - "line": 331, + "line": 326, "column": 14 } } @@ -134649,15 +135750,15 @@ "binop": null, "updateContext": null }, - "start": 12359, - "end": 12360, + "start": 12215, + "end": 12216, "loc": { "start": { - "line": 331, + "line": 326, "column": 14 }, "end": { - "line": 331, + "line": 326, "column": 15 } } @@ -134675,15 +135776,15 @@ "binop": null }, "value": "request", - "start": 12373, - "end": 12380, + "start": 12229, + "end": 12236, "loc": { "start": { - "line": 332, + "line": 327, "column": 12 }, "end": { - "line": 332, + "line": 327, "column": 19 } } @@ -134701,15 +135802,15 @@ "binop": null, "updateContext": null }, - "start": 12380, - "end": 12381, + "start": 12236, + "end": 12237, "loc": { "start": { - "line": 332, + "line": 327, "column": 19 }, "end": { - "line": 332, + "line": 327, "column": 20 } } @@ -134727,15 +135828,15 @@ "binop": null }, "value": "on", - "start": 12381, - "end": 12383, + "start": 12237, + "end": 12239, "loc": { "start": { - "line": 332, + "line": 327, "column": 20 }, "end": { - "line": 332, + "line": 327, "column": 22 } } @@ -134752,15 +135853,15 @@ "postfix": false, "binop": null }, - "start": 12383, - "end": 12384, + "start": 12239, + "end": 12240, "loc": { "start": { - "line": 332, + "line": 327, "column": 22 }, "end": { - "line": 332, + "line": 327, "column": 23 } } @@ -134779,15 +135880,15 @@ "updateContext": null }, "value": "error", - "start": 12384, - "end": 12391, + "start": 12240, + "end": 12247, "loc": { "start": { - "line": 332, + "line": 327, "column": 23 }, "end": { - "line": 332, + "line": 327, "column": 30 } } @@ -134805,15 +135906,15 @@ "binop": null, "updateContext": null }, - "start": 12391, - "end": 12392, + "start": 12247, + "end": 12248, "loc": { "start": { - "line": 332, + "line": 327, "column": 30 }, "end": { - "line": 332, + "line": 327, "column": 31 } } @@ -134831,15 +135932,15 @@ "binop": null }, "value": "e", - "start": 12393, - "end": 12394, + "start": 12249, + "end": 12250, "loc": { "start": { - "line": 332, + "line": 327, "column": 32 }, "end": { - "line": 332, + "line": 327, "column": 33 } } @@ -134857,15 +135958,15 @@ "binop": null, "updateContext": null }, - "start": 12395, - "end": 12397, + "start": 12251, + "end": 12253, "loc": { "start": { - "line": 332, + "line": 327, "column": 34 }, "end": { - "line": 332, + "line": 327, "column": 36 } } @@ -134882,15 +135983,15 @@ "postfix": false, "binop": null }, - "start": 12398, - "end": 12399, + "start": 12254, + "end": 12255, "loc": { "start": { - "line": 332, + "line": 327, "column": 37 }, "end": { - "line": 332, + "line": 327, "column": 38 } } @@ -134910,15 +136011,15 @@ "updateContext": null }, "value": "this", - "start": 12416, - "end": 12420, + "start": 12272, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 328, "column": 16 }, "end": { - "line": 333, + "line": 328, "column": 20 } } @@ -134936,15 +136037,15 @@ "binop": null, "updateContext": null }, - "start": 12420, - "end": 12421, + "start": 12276, + "end": 12277, "loc": { "start": { - "line": 333, + "line": 328, "column": 20 }, "end": { - "line": 333, + "line": 328, "column": 21 } } @@ -134962,15 +136063,15 @@ "binop": null }, "value": "log", - "start": 12421, - "end": 12424, + "start": 12277, + "end": 12280, "loc": { "start": { - "line": 333, + "line": 328, "column": 21 }, "end": { - "line": 333, + "line": 328, "column": 24 } } @@ -134987,15 +136088,15 @@ "postfix": false, "binop": null }, - "start": 12424, - "end": 12425, + "start": 12280, + "end": 12281, "loc": { "start": { - "line": 333, + "line": 328, "column": 24 }, "end": { - "line": 333, + "line": 328, "column": 25 } } @@ -135014,15 +136115,15 @@ "updateContext": null }, "value": "Unable to retrieve peak data from ", - "start": 12425, - "end": 12461, + "start": 12281, + "end": 12317, "loc": { "start": { - "line": 333, + "line": 328, "column": 25 }, "end": { - "line": 333, + "line": 328, "column": 61 } } @@ -135041,15 +136142,15 @@ "updateContext": null }, "value": "+", - "start": 12462, - "end": 12463, + "start": 12318, + "end": 12319, "loc": { "start": { - "line": 333, + "line": 328, "column": 62 }, "end": { - "line": 333, + "line": 328, "column": 63 } } @@ -135067,15 +136168,15 @@ "binop": null }, "value": "peaks", - "start": 12464, - "end": 12469, + "start": 12320, + "end": 12325, "loc": { "start": { - "line": 333, + "line": 328, "column": 64 }, "end": { - "line": 333, + "line": 328, "column": 69 } } @@ -135094,15 +136195,15 @@ "updateContext": null }, "value": "+", - "start": 12470, - "end": 12471, + "start": 12326, + "end": 12327, "loc": { "start": { - "line": 333, + "line": 328, "column": 70 }, "end": { - "line": 333, + "line": 328, "column": 71 } } @@ -135121,15 +136222,15 @@ "updateContext": null }, "value": ". Status code: ", - "start": 12492, - "end": 12509, + "start": 12348, + "end": 12365, "loc": { "start": { - "line": 334, + "line": 329, "column": 20 }, "end": { - "line": 334, + "line": 329, "column": 37 } } @@ -135148,15 +136249,15 @@ "updateContext": null }, "value": "+", - "start": 12510, - "end": 12511, + "start": 12366, + "end": 12367, "loc": { "start": { - "line": 334, + "line": 329, "column": 38 }, "end": { - "line": 334, + "line": 329, "column": 39 } } @@ -135174,15 +136275,15 @@ "binop": null }, "value": "request", - "start": 12512, - "end": 12519, + "start": 12368, + "end": 12375, "loc": { "start": { - "line": 334, + "line": 329, "column": 40 }, "end": { - "line": 334, + "line": 329, "column": 47 } } @@ -135200,15 +136301,15 @@ "binop": null, "updateContext": null }, - "start": 12519, - "end": 12520, + "start": 12375, + "end": 12376, "loc": { "start": { - "line": 334, + "line": 329, "column": 47 }, "end": { - "line": 334, + "line": 329, "column": 48 } } @@ -135226,15 +136327,15 @@ "binop": null }, "value": "response", - "start": 12520, - "end": 12528, + "start": 12376, + "end": 12384, "loc": { "start": { - "line": 334, + "line": 329, "column": 48 }, "end": { - "line": 334, + "line": 329, "column": 56 } } @@ -135252,15 +136353,15 @@ "binop": null, "updateContext": null }, - "start": 12528, - "end": 12529, + "start": 12384, + "end": 12385, "loc": { "start": { - "line": 334, + "line": 329, "column": 56 }, "end": { - "line": 334, + "line": 329, "column": 57 } } @@ -135278,15 +136379,15 @@ "binop": null }, "value": "status", - "start": 12529, - "end": 12535, + "start": 12385, + "end": 12391, "loc": { "start": { - "line": 334, + "line": 329, "column": 57 }, "end": { - "line": 334, + "line": 329, "column": 63 } } @@ -135304,15 +136405,15 @@ "binop": null, "updateContext": null }, - "start": 12535, - "end": 12536, + "start": 12391, + "end": 12392, "loc": { "start": { - "line": 334, + "line": 329, "column": 63 }, "end": { - "line": 334, + "line": 329, "column": 64 } } @@ -135331,15 +136432,15 @@ "updateContext": null }, "value": "warn", - "start": 12537, - "end": 12543, + "start": 12393, + "end": 12399, "loc": { "start": { - "line": 334, + "line": 329, "column": 65 }, "end": { - "line": 334, + "line": 329, "column": 71 } } @@ -135356,15 +136457,15 @@ "postfix": false, "binop": null }, - "start": 12543, - "end": 12544, + "start": 12399, + "end": 12400, "loc": { "start": { - "line": 334, + "line": 329, "column": 71 }, "end": { - "line": 334, + "line": 329, "column": 72 } } @@ -135382,15 +136483,15 @@ "binop": null, "updateContext": null }, - "start": 12544, - "end": 12545, + "start": 12400, + "end": 12401, "loc": { "start": { - "line": 334, + "line": 329, "column": 72 }, "end": { - "line": 334, + "line": 329, "column": 73 } } @@ -135410,15 +136511,15 @@ "updateContext": null }, "value": "this", - "start": 12562, - "end": 12566, + "start": 12418, + "end": 12422, "loc": { "start": { - "line": 335, + "line": 330, "column": 16 }, "end": { - "line": 335, + "line": 330, "column": 20 } } @@ -135436,15 +136537,15 @@ "binop": null, "updateContext": null }, - "start": 12566, - "end": 12567, + "start": 12422, + "end": 12423, "loc": { "start": { - "line": 335, + "line": 330, "column": 20 }, "end": { - "line": 335, + "line": 330, "column": 21 } } @@ -135462,15 +136563,15 @@ "binop": null }, "value": "log", - "start": 12567, - "end": 12570, + "start": 12423, + "end": 12426, "loc": { "start": { - "line": 335, + "line": 330, "column": 21 }, "end": { - "line": 335, + "line": 330, "column": 24 } } @@ -135487,15 +136588,15 @@ "postfix": false, "binop": null }, - "start": 12570, - "end": 12571, + "start": 12426, + "end": 12427, "loc": { "start": { - "line": 335, + "line": 330, "column": 24 }, "end": { - "line": 335, + "line": 330, "column": 25 } } @@ -135514,15 +136615,15 @@ "updateContext": null }, "value": "Loading URL: ", - "start": 12571, - "end": 12586, + "start": 12427, + "end": 12442, "loc": { "start": { - "line": 335, + "line": 330, "column": 25 }, "end": { - "line": 335, + "line": 330, "column": 40 } } @@ -135541,15 +136642,15 @@ "updateContext": null }, "value": "+", - "start": 12587, - "end": 12588, + "start": 12443, + "end": 12444, "loc": { "start": { - "line": 335, + "line": 330, "column": 41 }, "end": { - "line": 335, + "line": 330, "column": 42 } } @@ -135567,15 +136668,15 @@ "binop": null }, "value": "url", - "start": 12589, - "end": 12592, + "start": 12445, + "end": 12448, "loc": { "start": { - "line": 335, + "line": 330, "column": 43 }, "end": { - "line": 335, + "line": 330, "column": 46 } } @@ -135592,15 +136693,15 @@ "postfix": false, "binop": null }, - "start": 12592, - "end": 12593, + "start": 12448, + "end": 12449, "loc": { "start": { - "line": 335, + "line": 330, "column": 46 }, "end": { - "line": 335, + "line": 330, "column": 47 } } @@ -135618,15 +136719,15 @@ "binop": null, "updateContext": null }, - "start": 12593, - "end": 12594, + "start": 12449, + "end": 12450, "loc": { "start": { - "line": 335, + "line": 330, "column": 47 }, "end": { - "line": 335, + "line": 330, "column": 48 } } @@ -135646,15 +136747,15 @@ "updateContext": null }, "value": "this", - "start": 12611, - "end": 12615, + "start": 12467, + "end": 12471, "loc": { "start": { - "line": 336, + "line": 331, "column": 16 }, "end": { - "line": 336, + "line": 331, "column": 20 } } @@ -135672,15 +136773,15 @@ "binop": null, "updateContext": null }, - "start": 12615, - "end": 12616, + "start": 12471, + "end": 12472, "loc": { "start": { - "line": 336, + "line": 331, "column": 20 }, "end": { - "line": 336, + "line": 331, "column": 21 } } @@ -135698,15 +136799,15 @@ "binop": null }, "value": "surfer", - "start": 12616, - "end": 12622, + "start": 12472, + "end": 12478, "loc": { "start": { - "line": 336, + "line": 331, "column": 21 }, "end": { - "line": 336, + "line": 331, "column": 27 } } @@ -135724,15 +136825,15 @@ "binop": null, "updateContext": null }, - "start": 12622, - "end": 12623, + "start": 12478, + "end": 12479, "loc": { "start": { - "line": 336, + "line": 331, "column": 27 }, "end": { - "line": 336, + "line": 331, "column": 28 } } @@ -135750,15 +136851,15 @@ "binop": null }, "value": "load", - "start": 12623, - "end": 12627, + "start": 12479, + "end": 12483, "loc": { "start": { - "line": 336, + "line": 331, "column": 28 }, "end": { - "line": 336, + "line": 331, "column": 32 } } @@ -135775,15 +136876,15 @@ "postfix": false, "binop": null }, - "start": 12627, - "end": 12628, + "start": 12483, + "end": 12484, "loc": { "start": { - "line": 336, + "line": 331, "column": 32 }, "end": { - "line": 336, + "line": 331, "column": 33 } } @@ -135801,15 +136902,15 @@ "binop": null }, "value": "url", - "start": 12628, - "end": 12631, + "start": 12484, + "end": 12487, "loc": { "start": { - "line": 336, + "line": 331, "column": 33 }, "end": { - "line": 336, + "line": 331, "column": 36 } } @@ -135826,15 +136927,15 @@ "postfix": false, "binop": null }, - "start": 12631, - "end": 12632, + "start": 12487, + "end": 12488, "loc": { "start": { - "line": 336, + "line": 331, "column": 36 }, "end": { - "line": 336, + "line": 331, "column": 37 } } @@ -135852,15 +136953,15 @@ "binop": null, "updateContext": null }, - "start": 12632, - "end": 12633, + "start": 12488, + "end": 12489, "loc": { "start": { - "line": 336, + "line": 331, "column": 37 }, "end": { - "line": 336, + "line": 331, "column": 38 } } @@ -135877,15 +136978,15 @@ "postfix": false, "binop": null }, - "start": 12646, - "end": 12647, + "start": 12502, + "end": 12503, "loc": { "start": { - "line": 337, + "line": 332, "column": 12 }, "end": { - "line": 337, + "line": 332, "column": 13 } } @@ -135902,15 +137003,15 @@ "postfix": false, "binop": null }, - "start": 12647, - "end": 12648, + "start": 12503, + "end": 12504, "loc": { "start": { - "line": 337, + "line": 332, "column": 13 }, "end": { - "line": 337, + "line": 332, "column": 14 } } @@ -135928,15 +137029,15 @@ "binop": null, "updateContext": null }, - "start": 12648, - "end": 12649, + "start": 12504, + "end": 12505, "loc": { "start": { - "line": 337, + "line": 332, "column": 14 }, "end": { - "line": 337, + "line": 332, "column": 15 } } @@ -135953,15 +137054,15 @@ "postfix": false, "binop": null }, - "start": 12658, - "end": 12659, + "start": 12514, + "end": 12515, "loc": { "start": { - "line": 338, + "line": 333, "column": 8 }, "end": { - "line": 338, + "line": 333, "column": 9 } } @@ -135978,15 +137079,15 @@ "postfix": false, "binop": null }, - "start": 12664, - "end": 12665, + "start": 12520, + "end": 12521, "loc": { "start": { - "line": 339, + "line": 334, "column": 4 }, "end": { - "line": 339, + "line": 334, "column": 5 } } @@ -135994,15 +137095,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12671, - "end": 12726, + "start": 12527, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 336, "column": 4 }, "end": { - "line": 343, + "line": 338, "column": 7 } } @@ -136020,15 +137121,15 @@ "binop": null }, "value": "play", - "start": 12731, - "end": 12735, + "start": 12587, + "end": 12591, "loc": { "start": { - "line": 344, + "line": 339, "column": 4 }, "end": { - "line": 344, + "line": 339, "column": 8 } } @@ -136045,15 +137146,15 @@ "postfix": false, "binop": null }, - "start": 12735, - "end": 12736, + "start": 12591, + "end": 12592, "loc": { "start": { - "line": 344, + "line": 339, "column": 8 }, "end": { - "line": 344, + "line": 339, "column": 9 } } @@ -136070,15 +137171,15 @@ "postfix": false, "binop": null }, - "start": 12736, - "end": 12737, + "start": 12592, + "end": 12593, "loc": { "start": { - "line": 344, + "line": 339, "column": 9 }, "end": { - "line": 344, + "line": 339, "column": 10 } } @@ -136095,15 +137196,15 @@ "postfix": false, "binop": null }, - "start": 12738, - "end": 12739, + "start": 12594, + "end": 12595, "loc": { "start": { - "line": 344, + "line": 339, "column": 11 }, "end": { - "line": 344, + "line": 339, "column": 12 } } @@ -136111,15 +137212,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12748, - "end": 12768, + "start": 12604, + "end": 12624, "loc": { "start": { - "line": 345, + "line": 340, "column": 8 }, "end": { - "line": 345, + "line": 340, "column": 28 } } @@ -136139,15 +137240,15 @@ "updateContext": null }, "value": "if", - "start": 12777, - "end": 12779, + "start": 12633, + "end": 12635, "loc": { "start": { - "line": 346, + "line": 341, "column": 8 }, "end": { - "line": 346, + "line": 341, "column": 10 } } @@ -136164,15 +137265,15 @@ "postfix": false, "binop": null }, - "start": 12780, - "end": 12781, + "start": 12636, + "end": 12637, "loc": { "start": { - "line": 346, + "line": 341, "column": 11 }, "end": { - "line": 346, + "line": 341, "column": 12 } } @@ -136192,15 +137293,15 @@ "updateContext": null }, "value": "this", - "start": 12781, - "end": 12785, + "start": 12637, + "end": 12641, "loc": { "start": { - "line": 346, + "line": 341, "column": 12 }, "end": { - "line": 346, + "line": 341, "column": 16 } } @@ -136218,15 +137319,15 @@ "binop": null, "updateContext": null }, - "start": 12785, - "end": 12786, + "start": 12641, + "end": 12642, "loc": { "start": { - "line": 346, + "line": 341, "column": 16 }, "end": { - "line": 346, + "line": 341, "column": 17 } } @@ -136244,15 +137345,15 @@ "binop": null }, "value": "player", - "start": 12786, - "end": 12792, + "start": 12642, + "end": 12648, "loc": { "start": { - "line": 346, + "line": 341, "column": 17 }, "end": { - "line": 346, + "line": 341, "column": 23 } } @@ -136270,15 +137371,15 @@ "binop": null, "updateContext": null }, - "start": 12792, - "end": 12793, + "start": 12648, + "end": 12649, "loc": { "start": { - "line": 346, + "line": 341, "column": 23 }, "end": { - "line": 346, + "line": 341, "column": 24 } } @@ -136296,15 +137397,15 @@ "binop": null }, "value": "controlBar", - "start": 12793, - "end": 12803, + "start": 12649, + "end": 12659, "loc": { "start": { - "line": 346, + "line": 341, "column": 24 }, "end": { - "line": 346, + "line": 341, "column": 34 } } @@ -136322,15 +137423,15 @@ "binop": null, "updateContext": null }, - "start": 12803, - "end": 12804, + "start": 12659, + "end": 12660, "loc": { "start": { - "line": 346, + "line": 341, "column": 34 }, "end": { - "line": 346, + "line": 341, "column": 35 } } @@ -136348,15 +137449,15 @@ "binop": null }, "value": "playToggle", - "start": 12804, - "end": 12814, + "start": 12660, + "end": 12670, "loc": { "start": { - "line": 346, + "line": 341, "column": 35 }, "end": { - "line": 346, + "line": 341, "column": 45 } } @@ -136375,15 +137476,15 @@ "updateContext": null }, "value": "!==", - "start": 12815, - "end": 12818, + "start": 12671, + "end": 12674, "loc": { "start": { - "line": 346, + "line": 341, "column": 46 }, "end": { - "line": 346, + "line": 341, "column": 49 } } @@ -136401,15 +137502,15 @@ "binop": null }, "value": "undefined", - "start": 12819, - "end": 12828, + "start": 12675, + "end": 12684, "loc": { "start": { - "line": 346, + "line": 341, "column": 50 }, "end": { - "line": 346, + "line": 341, "column": 59 } } @@ -136428,15 +137529,15 @@ "updateContext": null }, "value": "&&", - "start": 12829, - "end": 12831, + "start": 12685, + "end": 12687, "loc": { "start": { - "line": 346, + "line": 341, "column": 60 }, "end": { - "line": 346, + "line": 341, "column": 62 } } @@ -136456,15 +137557,15 @@ "updateContext": null }, "value": "this", - "start": 12844, - "end": 12848, + "start": 12700, + "end": 12704, "loc": { "start": { - "line": 347, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 342, "column": 16 } } @@ -136482,15 +137583,15 @@ "binop": null, "updateContext": null }, - "start": 12848, - "end": 12849, + "start": 12704, + "end": 12705, "loc": { "start": { - "line": 347, + "line": 342, "column": 16 }, "end": { - "line": 347, + "line": 342, "column": 17 } } @@ -136508,15 +137609,15 @@ "binop": null }, "value": "player", - "start": 12849, - "end": 12855, + "start": 12705, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 342, "column": 17 }, "end": { - "line": 347, + "line": 342, "column": 23 } } @@ -136534,15 +137635,15 @@ "binop": null, "updateContext": null }, - "start": 12855, - "end": 12856, + "start": 12711, + "end": 12712, "loc": { "start": { - "line": 347, + "line": 342, "column": 23 }, "end": { - "line": 347, + "line": 342, "column": 24 } } @@ -136560,15 +137661,15 @@ "binop": null }, "value": "controlBar", - "start": 12856, - "end": 12866, + "start": 12712, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 342, "column": 24 }, "end": { - "line": 347, + "line": 342, "column": 34 } } @@ -136586,15 +137687,15 @@ "binop": null, "updateContext": null }, - "start": 12866, - "end": 12867, + "start": 12722, + "end": 12723, "loc": { "start": { - "line": 347, + "line": 342, "column": 34 }, "end": { - "line": 347, + "line": 342, "column": 35 } } @@ -136612,15 +137713,15 @@ "binop": null }, "value": "playToggle", - "start": 12867, - "end": 12877, + "start": 12723, + "end": 12733, "loc": { "start": { - "line": 347, + "line": 342, "column": 35 }, "end": { - "line": 347, + "line": 342, "column": 45 } } @@ -136638,15 +137739,15 @@ "binop": null, "updateContext": null }, - "start": 12877, - "end": 12878, + "start": 12733, + "end": 12734, "loc": { "start": { - "line": 347, + "line": 342, "column": 45 }, "end": { - "line": 347, + "line": 342, "column": 46 } } @@ -136664,15 +137765,15 @@ "binop": null }, "value": "contentEl", - "start": 12878, - "end": 12887, + "start": 12734, + "end": 12743, "loc": { "start": { - "line": 347, + "line": 342, "column": 46 }, "end": { - "line": 347, + "line": 342, "column": 55 } } @@ -136689,15 +137790,15 @@ "postfix": false, "binop": null }, - "start": 12887, - "end": 12888, + "start": 12743, + "end": 12744, "loc": { "start": { - "line": 347, + "line": 342, "column": 55 }, "end": { - "line": 347, + "line": 342, "column": 56 } } @@ -136714,15 +137815,15 @@ "postfix": false, "binop": null }, - "start": 12888, - "end": 12889, + "start": 12744, + "end": 12745, "loc": { "start": { - "line": 347, + "line": 342, "column": 56 }, "end": { - "line": 347, + "line": 342, "column": 57 } } @@ -136739,15 +137840,15 @@ "postfix": false, "binop": null }, - "start": 12889, - "end": 12890, + "start": 12745, + "end": 12746, "loc": { "start": { - "line": 347, + "line": 342, "column": 57 }, "end": { - "line": 347, + "line": 342, "column": 58 } } @@ -136764,15 +137865,15 @@ "postfix": false, "binop": null }, - "start": 12891, - "end": 12892, + "start": 12747, + "end": 12748, "loc": { "start": { - "line": 347, + "line": 342, "column": 59 }, "end": { - "line": 347, + "line": 342, "column": 60 } } @@ -136792,15 +137893,15 @@ "updateContext": null }, "value": "this", - "start": 12905, - "end": 12909, + "start": 12761, + "end": 12765, "loc": { "start": { - "line": 348, + "line": 343, "column": 12 }, "end": { - "line": 348, + "line": 343, "column": 16 } } @@ -136818,15 +137919,15 @@ "binop": null, "updateContext": null }, - "start": 12909, - "end": 12910, + "start": 12765, + "end": 12766, "loc": { "start": { - "line": 348, + "line": 343, "column": 16 }, "end": { - "line": 348, + "line": 343, "column": 17 } } @@ -136844,15 +137945,15 @@ "binop": null }, "value": "player", - "start": 12910, - "end": 12916, + "start": 12766, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 343, "column": 17 }, "end": { - "line": 348, + "line": 343, "column": 23 } } @@ -136870,15 +137971,15 @@ "binop": null, "updateContext": null }, - "start": 12916, - "end": 12917, + "start": 12772, + "end": 12773, "loc": { "start": { - "line": 348, + "line": 343, "column": 23 }, "end": { - "line": 348, + "line": 343, "column": 24 } } @@ -136896,15 +137997,15 @@ "binop": null }, "value": "controlBar", - "start": 12917, - "end": 12927, + "start": 12773, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 343, "column": 24 }, "end": { - "line": 348, + "line": 343, "column": 34 } } @@ -136922,15 +138023,15 @@ "binop": null, "updateContext": null }, - "start": 12927, - "end": 12928, + "start": 12783, + "end": 12784, "loc": { "start": { - "line": 348, + "line": 343, "column": 34 }, "end": { - "line": 348, + "line": 343, "column": 35 } } @@ -136948,15 +138049,15 @@ "binop": null }, "value": "playToggle", - "start": 12928, - "end": 12938, + "start": 12784, + "end": 12794, "loc": { "start": { - "line": 348, + "line": 343, "column": 35 }, "end": { - "line": 348, + "line": 343, "column": 45 } } @@ -136974,15 +138075,15 @@ "binop": null, "updateContext": null }, - "start": 12938, - "end": 12939, + "start": 12794, + "end": 12795, "loc": { "start": { - "line": 348, + "line": 343, "column": 45 }, "end": { - "line": 348, + "line": 343, "column": 46 } } @@ -137000,15 +138101,15 @@ "binop": null }, "value": "handlePlay", - "start": 12939, - "end": 12949, + "start": 12795, + "end": 12805, "loc": { "start": { - "line": 348, + "line": 343, "column": 46 }, "end": { - "line": 348, + "line": 343, "column": 56 } } @@ -137025,15 +138126,15 @@ "postfix": false, "binop": null }, - "start": 12949, - "end": 12950, + "start": 12805, + "end": 12806, "loc": { "start": { - "line": 348, + "line": 343, "column": 56 }, "end": { - "line": 348, + "line": 343, "column": 57 } } @@ -137050,15 +138151,15 @@ "postfix": false, "binop": null }, - "start": 12950, - "end": 12951, + "start": 12806, + "end": 12807, "loc": { "start": { - "line": 348, + "line": 343, "column": 57 }, "end": { - "line": 348, + "line": 343, "column": 58 } } @@ -137076,15 +138177,15 @@ "binop": null, "updateContext": null }, - "start": 12951, - "end": 12952, + "start": 12807, + "end": 12808, "loc": { "start": { - "line": 348, + "line": 343, "column": 58 }, "end": { - "line": 348, + "line": 343, "column": 59 } } @@ -137101,15 +138202,15 @@ "postfix": false, "binop": null }, - "start": 12961, - "end": 12962, + "start": 12817, + "end": 12818, "loc": { "start": { - "line": 349, + "line": 344, "column": 8 }, "end": { - "line": 349, + "line": 344, "column": 9 } } @@ -137129,15 +138230,15 @@ "updateContext": null }, "value": "if", - "start": 12972, - "end": 12974, + "start": 12828, + "end": 12830, "loc": { "start": { - "line": 351, + "line": 346, "column": 8 }, "end": { - "line": 351, + "line": 346, "column": 10 } } @@ -137154,15 +138255,15 @@ "postfix": false, "binop": null }, - "start": 12975, - "end": 12976, + "start": 12831, + "end": 12832, "loc": { "start": { - "line": 351, + "line": 346, "column": 11 }, "end": { - "line": 351, + "line": 346, "column": 12 } } @@ -137182,15 +138283,15 @@ "updateContext": null }, "value": "this", - "start": 12976, - "end": 12980, + "start": 12832, + "end": 12836, "loc": { "start": { - "line": 351, + "line": 346, "column": 12 }, "end": { - "line": 351, + "line": 346, "column": 16 } } @@ -137208,15 +138309,15 @@ "binop": null, "updateContext": null }, - "start": 12980, - "end": 12981, + "start": 12836, + "end": 12837, "loc": { "start": { - "line": 351, + "line": 346, "column": 16 }, "end": { - "line": 351, + "line": 346, "column": 17 } } @@ -137234,15 +138335,15 @@ "binop": null }, "value": "liveMode", - "start": 12981, - "end": 12989, + "start": 12837, + "end": 12845, "loc": { "start": { - "line": 351, + "line": 346, "column": 17 }, "end": { - "line": 351, + "line": 346, "column": 25 } } @@ -137259,15 +138360,15 @@ "postfix": false, "binop": null }, - "start": 12989, - "end": 12990, + "start": 12845, + "end": 12846, "loc": { "start": { - "line": 351, + "line": 346, "column": 25 }, "end": { - "line": 351, + "line": 346, "column": 26 } } @@ -137284,15 +138385,15 @@ "postfix": false, "binop": null }, - "start": 12991, - "end": 12992, + "start": 12847, + "end": 12848, "loc": { "start": { - "line": 351, + "line": 346, "column": 27 }, "end": { - "line": 351, + "line": 346, "column": 28 } } @@ -137300,15 +138401,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13005, - "end": 13045, + "start": 12861, + "end": 12901, "loc": { "start": { - "line": 352, + "line": 347, "column": 12 }, "end": { - "line": 352, + "line": 347, "column": 52 } } @@ -137328,15 +138429,15 @@ "updateContext": null }, "value": "if", - "start": 13058, - "end": 13060, + "start": 12914, + "end": 12916, "loc": { "start": { - "line": 353, + "line": 348, "column": 12 }, "end": { - "line": 353, + "line": 348, "column": 14 } } @@ -137353,15 +138454,15 @@ "postfix": false, "binop": null }, - "start": 13061, - "end": 13062, + "start": 12917, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 348, "column": 15 }, "end": { - "line": 353, + "line": 348, "column": 16 } } @@ -137380,15 +138481,15 @@ "updateContext": null }, "value": "!", - "start": 13062, - "end": 13063, + "start": 12918, + "end": 12919, "loc": { "start": { - "line": 353, + "line": 348, "column": 16 }, "end": { - "line": 353, + "line": 348, "column": 17 } } @@ -137408,15 +138509,15 @@ "updateContext": null }, "value": "this", - "start": 13063, - "end": 13067, + "start": 12919, + "end": 12923, "loc": { "start": { - "line": 353, + "line": 348, "column": 17 }, "end": { - "line": 353, + "line": 348, "column": 21 } } @@ -137434,15 +138535,15 @@ "binop": null, "updateContext": null }, - "start": 13067, - "end": 13068, + "start": 12923, + "end": 12924, "loc": { "start": { - "line": 353, + "line": 348, "column": 21 }, "end": { - "line": 353, + "line": 348, "column": 22 } } @@ -137460,15 +138561,15 @@ "binop": null }, "value": "surfer", - "start": 13068, - "end": 13074, + "start": 12924, + "end": 12930, "loc": { "start": { - "line": 353, + "line": 348, "column": 22 }, "end": { - "line": 353, + "line": 348, "column": 28 } } @@ -137486,15 +138587,15 @@ "binop": null, "updateContext": null }, - "start": 13074, - "end": 13075, + "start": 12930, + "end": 12931, "loc": { "start": { - "line": 353, + "line": 348, "column": 28 }, "end": { - "line": 353, + "line": 348, "column": 29 } } @@ -137512,15 +138613,15 @@ "binop": null }, "value": "microphone", - "start": 13075, - "end": 13085, + "start": 12931, + "end": 12941, "loc": { "start": { - "line": 353, + "line": 348, "column": 29 }, "end": { - "line": 353, + "line": 348, "column": 39 } } @@ -137538,15 +138639,15 @@ "binop": null, "updateContext": null }, - "start": 13085, - "end": 13086, + "start": 12941, + "end": 12942, "loc": { "start": { - "line": 353, + "line": 348, "column": 39 }, "end": { - "line": 353, + "line": 348, "column": 40 } } @@ -137564,15 +138665,15 @@ "binop": null }, "value": "active", - "start": 13086, - "end": 13092, + "start": 12942, + "end": 12948, "loc": { "start": { - "line": 353, + "line": 348, "column": 40 }, "end": { - "line": 353, + "line": 348, "column": 46 } } @@ -137589,15 +138690,15 @@ "postfix": false, "binop": null }, - "start": 13092, - "end": 13093, + "start": 12948, + "end": 12949, "loc": { "start": { - "line": 353, + "line": 348, "column": 46 }, "end": { - "line": 353, + "line": 348, "column": 47 } } @@ -137614,15 +138715,15 @@ "postfix": false, "binop": null }, - "start": 13106, - "end": 13107, + "start": 12962, + "end": 12963, "loc": { "start": { - "line": 354, + "line": 349, "column": 12 }, "end": { - "line": 354, + "line": 349, "column": 13 } } @@ -137642,15 +138743,15 @@ "updateContext": null }, "value": "this", - "start": 13124, - "end": 13128, + "start": 12980, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 350, "column": 16 }, "end": { - "line": 355, + "line": 350, "column": 20 } } @@ -137668,15 +138769,15 @@ "binop": null, "updateContext": null }, - "start": 13128, - "end": 13129, + "start": 12984, + "end": 12985, "loc": { "start": { - "line": 355, + "line": 350, "column": 20 }, "end": { - "line": 355, + "line": 350, "column": 21 } } @@ -137694,15 +138795,15 @@ "binop": null }, "value": "log", - "start": 13129, - "end": 13132, + "start": 12985, + "end": 12988, "loc": { "start": { - "line": 355, + "line": 350, "column": 21 }, "end": { - "line": 355, + "line": 350, "column": 24 } } @@ -137719,15 +138820,15 @@ "postfix": false, "binop": null }, - "start": 13132, - "end": 13133, + "start": 12988, + "end": 12989, "loc": { "start": { - "line": 355, + "line": 350, "column": 24 }, "end": { - "line": 355, + "line": 350, "column": 25 } } @@ -137746,15 +138847,15 @@ "updateContext": null }, "value": "Start microphone", - "start": 13133, - "end": 13151, + "start": 12989, + "end": 13007, "loc": { "start": { - "line": 355, + "line": 350, "column": 25 }, "end": { - "line": 355, + "line": 350, "column": 43 } } @@ -137771,15 +138872,15 @@ "postfix": false, "binop": null }, - "start": 13151, - "end": 13152, + "start": 13007, + "end": 13008, "loc": { "start": { - "line": 355, + "line": 350, "column": 43 }, "end": { - "line": 355, + "line": 350, "column": 44 } } @@ -137797,15 +138898,15 @@ "binop": null, "updateContext": null }, - "start": 13152, - "end": 13153, + "start": 13008, + "end": 13009, "loc": { "start": { - "line": 355, + "line": 350, "column": 44 }, "end": { - "line": 355, + "line": 350, "column": 45 } } @@ -137825,15 +138926,15 @@ "updateContext": null }, "value": "this", - "start": 13170, - "end": 13174, + "start": 13026, + "end": 13030, "loc": { "start": { - "line": 356, + "line": 351, "column": 16 }, "end": { - "line": 356, + "line": 351, "column": 20 } } @@ -137851,15 +138952,15 @@ "binop": null, "updateContext": null }, - "start": 13174, - "end": 13175, + "start": 13030, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 351, "column": 20 }, "end": { - "line": 356, + "line": 351, "column": 21 } } @@ -137877,15 +138978,15 @@ "binop": null }, "value": "surfer", - "start": 13175, - "end": 13181, + "start": 13031, + "end": 13037, "loc": { "start": { - "line": 356, + "line": 351, "column": 21 }, "end": { - "line": 356, + "line": 351, "column": 27 } } @@ -137903,15 +139004,15 @@ "binop": null, "updateContext": null }, - "start": 13181, - "end": 13182, + "start": 13037, + "end": 13038, "loc": { "start": { - "line": 356, + "line": 351, "column": 27 }, "end": { - "line": 356, + "line": 351, "column": 28 } } @@ -137929,15 +139030,15 @@ "binop": null }, "value": "microphone", - "start": 13182, - "end": 13192, + "start": 13038, + "end": 13048, "loc": { "start": { - "line": 356, + "line": 351, "column": 28 }, "end": { - "line": 356, + "line": 351, "column": 38 } } @@ -137955,15 +139056,15 @@ "binop": null, "updateContext": null }, - "start": 13192, - "end": 13193, + "start": 13048, + "end": 13049, "loc": { "start": { - "line": 356, + "line": 351, "column": 38 }, "end": { - "line": 356, + "line": 351, "column": 39 } } @@ -137981,15 +139082,15 @@ "binop": null }, "value": "start", - "start": 13193, - "end": 13198, + "start": 13049, + "end": 13054, "loc": { "start": { - "line": 356, + "line": 351, "column": 39 }, "end": { - "line": 356, + "line": 351, "column": 44 } } @@ -138006,15 +139107,15 @@ "postfix": false, "binop": null }, - "start": 13198, - "end": 13199, + "start": 13054, + "end": 13055, "loc": { "start": { - "line": 356, + "line": 351, "column": 44 }, "end": { - "line": 356, + "line": 351, "column": 45 } } @@ -138031,15 +139132,15 @@ "postfix": false, "binop": null }, - "start": 13199, - "end": 13200, + "start": 13055, + "end": 13056, "loc": { "start": { - "line": 356, + "line": 351, "column": 45 }, "end": { - "line": 356, + "line": 351, "column": 46 } } @@ -138057,15 +139158,15 @@ "binop": null, "updateContext": null }, - "start": 13200, - "end": 13201, + "start": 13056, + "end": 13057, "loc": { "start": { - "line": 356, + "line": 351, "column": 46 }, "end": { - "line": 356, + "line": 351, "column": 47 } } @@ -138082,15 +139183,15 @@ "postfix": false, "binop": null }, - "start": 13214, - "end": 13215, + "start": 13070, + "end": 13071, "loc": { "start": { - "line": 357, + "line": 352, "column": 12 }, "end": { - "line": 357, + "line": 352, "column": 13 } } @@ -138110,15 +139211,15 @@ "updateContext": null }, "value": "else", - "start": 13216, - "end": 13220, + "start": 13072, + "end": 13076, "loc": { "start": { - "line": 357, + "line": 352, "column": 14 }, "end": { - "line": 357, + "line": 352, "column": 18 } } @@ -138135,15 +139236,15 @@ "postfix": false, "binop": null }, - "start": 13221, - "end": 13222, + "start": 13077, + "end": 13078, "loc": { "start": { - "line": 357, + "line": 352, "column": 19 }, "end": { - "line": 357, + "line": 352, "column": 20 } } @@ -138151,15 +139252,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13239, - "end": 13255, + "start": 13095, + "end": 13111, "loc": { "start": { - "line": 358, + "line": 353, "column": 16 }, "end": { - "line": 358, + "line": 353, "column": 32 } } @@ -138179,15 +139280,15 @@ "updateContext": null }, "value": "let", - "start": 13272, - "end": 13275, + "start": 13128, + "end": 13131, "loc": { "start": { - "line": 359, + "line": 354, "column": 16 }, "end": { - "line": 359, + "line": 354, "column": 19 } } @@ -138205,15 +139306,15 @@ "binop": null }, "value": "paused", - "start": 13276, - "end": 13282, + "start": 13132, + "end": 13138, "loc": { "start": { - "line": 359, + "line": 354, "column": 20 }, "end": { - "line": 359, + "line": 354, "column": 26 } } @@ -138232,15 +139333,15 @@ "updateContext": null }, "value": "=", - "start": 13283, - "end": 13284, + "start": 13139, + "end": 13140, "loc": { "start": { - "line": 359, + "line": 354, "column": 27 }, "end": { - "line": 359, + "line": 354, "column": 28 } } @@ -138259,15 +139360,15 @@ "updateContext": null }, "value": "!", - "start": 13285, - "end": 13286, + "start": 13141, + "end": 13142, "loc": { "start": { - "line": 359, + "line": 354, "column": 29 }, "end": { - "line": 359, + "line": 354, "column": 30 } } @@ -138287,15 +139388,15 @@ "updateContext": null }, "value": "this", - "start": 13286, - "end": 13290, + "start": 13142, + "end": 13146, "loc": { "start": { - "line": 359, + "line": 354, "column": 30 }, "end": { - "line": 359, + "line": 354, "column": 34 } } @@ -138313,15 +139414,15 @@ "binop": null, "updateContext": null }, - "start": 13290, - "end": 13291, + "start": 13146, + "end": 13147, "loc": { "start": { - "line": 359, + "line": 354, "column": 34 }, "end": { - "line": 359, + "line": 354, "column": 35 } } @@ -138339,15 +139440,15 @@ "binop": null }, "value": "surfer", - "start": 13291, - "end": 13297, + "start": 13147, + "end": 13153, "loc": { "start": { - "line": 359, + "line": 354, "column": 35 }, "end": { - "line": 359, + "line": 354, "column": 41 } } @@ -138365,15 +139466,15 @@ "binop": null, "updateContext": null }, - "start": 13297, - "end": 13298, + "start": 13153, + "end": 13154, "loc": { "start": { - "line": 359, + "line": 354, "column": 41 }, "end": { - "line": 359, + "line": 354, "column": 42 } } @@ -138391,15 +139492,15 @@ "binop": null }, "value": "microphone", - "start": 13298, - "end": 13308, + "start": 13154, + "end": 13164, "loc": { "start": { - "line": 359, + "line": 354, "column": 42 }, "end": { - "line": 359, + "line": 354, "column": 52 } } @@ -138417,15 +139518,15 @@ "binop": null, "updateContext": null }, - "start": 13308, - "end": 13309, + "start": 13164, + "end": 13165, "loc": { "start": { - "line": 359, + "line": 354, "column": 52 }, "end": { - "line": 359, + "line": 354, "column": 53 } } @@ -138443,15 +139544,15 @@ "binop": null }, "value": "paused", - "start": 13309, - "end": 13315, + "start": 13165, + "end": 13171, "loc": { "start": { - "line": 359, + "line": 354, "column": 53 }, "end": { - "line": 359, + "line": 354, "column": 59 } } @@ -138469,15 +139570,15 @@ "binop": null, "updateContext": null }, - "start": 13315, - "end": 13316, + "start": 13171, + "end": 13172, "loc": { "start": { - "line": 359, + "line": 354, "column": 59 }, "end": { - "line": 359, + "line": 354, "column": 60 } } @@ -138497,15 +139598,15 @@ "updateContext": null }, "value": "if", - "start": 13334, - "end": 13336, + "start": 13190, + "end": 13192, "loc": { "start": { - "line": 361, + "line": 356, "column": 16 }, "end": { - "line": 361, + "line": 356, "column": 18 } } @@ -138522,15 +139623,15 @@ "postfix": false, "binop": null }, - "start": 13337, - "end": 13338, + "start": 13193, + "end": 13194, "loc": { "start": { - "line": 361, + "line": 356, "column": 19 }, "end": { - "line": 361, + "line": 356, "column": 20 } } @@ -138548,15 +139649,15 @@ "binop": null }, "value": "paused", - "start": 13338, - "end": 13344, + "start": 13194, + "end": 13200, "loc": { "start": { - "line": 361, + "line": 356, "column": 20 }, "end": { - "line": 361, + "line": 356, "column": 26 } } @@ -138573,15 +139674,15 @@ "postfix": false, "binop": null }, - "start": 13344, - "end": 13345, + "start": 13200, + "end": 13201, "loc": { "start": { - "line": 361, + "line": 356, "column": 26 }, "end": { - "line": 361, + "line": 356, "column": 27 } } @@ -138598,15 +139699,15 @@ "postfix": false, "binop": null }, - "start": 13346, - "end": 13347, + "start": 13202, + "end": 13203, "loc": { "start": { - "line": 361, + "line": 356, "column": 28 }, "end": { - "line": 361, + "line": 356, "column": 29 } } @@ -138626,15 +139727,15 @@ "updateContext": null }, "value": "this", - "start": 13368, - "end": 13372, + "start": 13224, + "end": 13228, "loc": { "start": { - "line": 362, + "line": 357, "column": 20 }, "end": { - "line": 362, + "line": 357, "column": 24 } } @@ -138652,15 +139753,15 @@ "binop": null, "updateContext": null }, - "start": 13372, - "end": 13373, + "start": 13228, + "end": 13229, "loc": { "start": { - "line": 362, + "line": 357, "column": 24 }, "end": { - "line": 362, + "line": 357, "column": 25 } } @@ -138678,15 +139779,15 @@ "binop": null }, "value": "pause", - "start": 13373, - "end": 13378, + "start": 13229, + "end": 13234, "loc": { "start": { - "line": 362, + "line": 357, "column": 25 }, "end": { - "line": 362, + "line": 357, "column": 30 } } @@ -138703,15 +139804,15 @@ "postfix": false, "binop": null }, - "start": 13378, - "end": 13379, + "start": 13234, + "end": 13235, "loc": { "start": { - "line": 362, + "line": 357, "column": 30 }, "end": { - "line": 362, + "line": 357, "column": 31 } } @@ -138728,15 +139829,15 @@ "postfix": false, "binop": null }, - "start": 13379, - "end": 13380, + "start": 13235, + "end": 13236, "loc": { "start": { - "line": 362, + "line": 357, "column": 31 }, "end": { - "line": 362, + "line": 357, "column": 32 } } @@ -138754,15 +139855,15 @@ "binop": null, "updateContext": null }, - "start": 13380, - "end": 13381, + "start": 13236, + "end": 13237, "loc": { "start": { - "line": 362, + "line": 357, "column": 32 }, "end": { - "line": 362, + "line": 357, "column": 33 } } @@ -138779,15 +139880,15 @@ "postfix": false, "binop": null }, - "start": 13398, - "end": 13399, + "start": 13254, + "end": 13255, "loc": { "start": { - "line": 363, + "line": 358, "column": 16 }, "end": { - "line": 363, + "line": 358, "column": 17 } } @@ -138807,15 +139908,15 @@ "updateContext": null }, "value": "else", - "start": 13400, - "end": 13404, + "start": 13256, + "end": 13260, "loc": { "start": { - "line": 363, + "line": 358, "column": 18 }, "end": { - "line": 363, + "line": 358, "column": 22 } } @@ -138832,15 +139933,15 @@ "postfix": false, "binop": null }, - "start": 13405, - "end": 13406, + "start": 13261, + "end": 13262, "loc": { "start": { - "line": 363, + "line": 358, "column": 23 }, "end": { - "line": 363, + "line": 358, "column": 24 } } @@ -138860,15 +139961,15 @@ "updateContext": null }, "value": "this", - "start": 13427, - "end": 13431, + "start": 13283, + "end": 13287, "loc": { "start": { - "line": 364, + "line": 359, "column": 20 }, "end": { - "line": 364, + "line": 359, "column": 24 } } @@ -138886,15 +139987,15 @@ "binop": null, "updateContext": null }, - "start": 13431, - "end": 13432, + "start": 13287, + "end": 13288, "loc": { "start": { - "line": 364, + "line": 359, "column": 24 }, "end": { - "line": 364, + "line": 359, "column": 25 } } @@ -138912,15 +140013,15 @@ "binop": null }, "value": "log", - "start": 13432, - "end": 13435, + "start": 13288, + "end": 13291, "loc": { "start": { - "line": 364, + "line": 359, "column": 25 }, "end": { - "line": 364, + "line": 359, "column": 28 } } @@ -138937,15 +140038,15 @@ "postfix": false, "binop": null }, - "start": 13435, - "end": 13436, + "start": 13291, + "end": 13292, "loc": { "start": { - "line": 364, + "line": 359, "column": 28 }, "end": { - "line": 364, + "line": 359, "column": 29 } } @@ -138964,15 +140065,15 @@ "updateContext": null }, "value": "Resume microphone", - "start": 13436, - "end": 13455, + "start": 13292, + "end": 13311, "loc": { "start": { - "line": 364, + "line": 359, "column": 29 }, "end": { - "line": 364, + "line": 359, "column": 48 } } @@ -138989,15 +140090,15 @@ "postfix": false, "binop": null }, - "start": 13455, - "end": 13456, + "start": 13311, + "end": 13312, "loc": { "start": { - "line": 364, + "line": 359, "column": 48 }, "end": { - "line": 364, + "line": 359, "column": 49 } } @@ -139015,15 +140116,15 @@ "binop": null, "updateContext": null }, - "start": 13456, - "end": 13457, + "start": 13312, + "end": 13313, "loc": { "start": { - "line": 364, + "line": 359, "column": 49 }, "end": { - "line": 364, + "line": 359, "column": 50 } } @@ -139043,15 +140144,15 @@ "updateContext": null }, "value": "this", - "start": 13478, - "end": 13482, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 360, "column": 20 }, "end": { - "line": 365, + "line": 360, "column": 24 } } @@ -139069,15 +140170,15 @@ "binop": null, "updateContext": null }, - "start": 13482, - "end": 13483, + "start": 13338, + "end": 13339, "loc": { "start": { - "line": 365, + "line": 360, "column": 24 }, "end": { - "line": 365, + "line": 360, "column": 25 } } @@ -139095,15 +140196,15 @@ "binop": null }, "value": "surfer", - "start": 13483, - "end": 13489, + "start": 13339, + "end": 13345, "loc": { "start": { - "line": 365, + "line": 360, "column": 25 }, "end": { - "line": 365, + "line": 360, "column": 31 } } @@ -139121,15 +140222,15 @@ "binop": null, "updateContext": null }, - "start": 13489, - "end": 13490, + "start": 13345, + "end": 13346, "loc": { "start": { - "line": 365, + "line": 360, "column": 31 }, "end": { - "line": 365, + "line": 360, "column": 32 } } @@ -139147,15 +140248,15 @@ "binop": null }, "value": "microphone", - "start": 13490, - "end": 13500, + "start": 13346, + "end": 13356, "loc": { "start": { - "line": 365, + "line": 360, "column": 32 }, "end": { - "line": 365, + "line": 360, "column": 42 } } @@ -139173,15 +140274,15 @@ "binop": null, "updateContext": null }, - "start": 13500, - "end": 13501, + "start": 13356, + "end": 13357, "loc": { "start": { - "line": 365, + "line": 360, "column": 42 }, "end": { - "line": 365, + "line": 360, "column": 43 } } @@ -139199,15 +140300,15 @@ "binop": null }, "value": "play", - "start": 13501, - "end": 13505, + "start": 13357, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 360, "column": 43 }, "end": { - "line": 365, + "line": 360, "column": 47 } } @@ -139224,15 +140325,15 @@ "postfix": false, "binop": null }, - "start": 13505, - "end": 13506, + "start": 13361, + "end": 13362, "loc": { "start": { - "line": 365, + "line": 360, "column": 47 }, "end": { - "line": 365, + "line": 360, "column": 48 } } @@ -139249,15 +140350,15 @@ "postfix": false, "binop": null }, - "start": 13506, - "end": 13507, + "start": 13362, + "end": 13363, "loc": { "start": { - "line": 365, + "line": 360, "column": 48 }, "end": { - "line": 365, + "line": 360, "column": 49 } } @@ -139275,15 +140376,15 @@ "binop": null, "updateContext": null }, - "start": 13507, - "end": 13508, + "start": 13363, + "end": 13364, "loc": { "start": { - "line": 365, + "line": 360, "column": 49 }, "end": { - "line": 365, + "line": 360, "column": 50 } } @@ -139300,15 +140401,15 @@ "postfix": false, "binop": null }, - "start": 13525, - "end": 13526, + "start": 13381, + "end": 13382, "loc": { "start": { - "line": 366, + "line": 361, "column": 16 }, "end": { - "line": 366, + "line": 361, "column": 17 } } @@ -139325,15 +140426,15 @@ "postfix": false, "binop": null }, - "start": 13539, - "end": 13540, + "start": 13395, + "end": 13396, "loc": { "start": { - "line": 367, + "line": 362, "column": 12 }, "end": { - "line": 367, + "line": 362, "column": 13 } } @@ -139350,15 +140451,15 @@ "postfix": false, "binop": null }, - "start": 13549, - "end": 13550, + "start": 13405, + "end": 13406, "loc": { "start": { - "line": 368, + "line": 363, "column": 8 }, "end": { - "line": 368, + "line": 363, "column": 9 } } @@ -139378,15 +140479,15 @@ "updateContext": null }, "value": "else", - "start": 13551, - "end": 13555, + "start": 13407, + "end": 13411, "loc": { "start": { - "line": 368, + "line": 363, "column": 10 }, "end": { - "line": 368, + "line": 363, "column": 14 } } @@ -139403,15 +140504,15 @@ "postfix": false, "binop": null }, - "start": 13556, - "end": 13557, + "start": 13412, + "end": 13413, "loc": { "start": { - "line": 368, + "line": 363, "column": 15 }, "end": { - "line": 368, + "line": 363, "column": 16 } } @@ -139431,15 +140532,15 @@ "updateContext": null }, "value": "this", - "start": 13570, - "end": 13574, + "start": 13426, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 364, "column": 12 }, "end": { - "line": 369, + "line": 364, "column": 16 } } @@ -139457,15 +140558,15 @@ "binop": null, "updateContext": null }, - "start": 13574, - "end": 13575, + "start": 13430, + "end": 13431, "loc": { "start": { - "line": 369, + "line": 364, "column": 16 }, "end": { - "line": 369, + "line": 364, "column": 17 } } @@ -139483,15 +140584,15 @@ "binop": null }, "value": "log", - "start": 13575, - "end": 13578, + "start": 13431, + "end": 13434, "loc": { "start": { - "line": 369, + "line": 364, "column": 17 }, "end": { - "line": 369, + "line": 364, "column": 20 } } @@ -139508,15 +140609,15 @@ "postfix": false, "binop": null }, - "start": 13578, - "end": 13579, + "start": 13434, + "end": 13435, "loc": { "start": { - "line": 369, + "line": 364, "column": 20 }, "end": { - "line": 369, + "line": 364, "column": 21 } } @@ -139535,15 +140636,15 @@ "updateContext": null }, "value": "Start playback", - "start": 13579, - "end": 13595, + "start": 13435, + "end": 13451, "loc": { "start": { - "line": 369, + "line": 364, "column": 21 }, "end": { - "line": 369, + "line": 364, "column": 37 } } @@ -139560,15 +140661,15 @@ "postfix": false, "binop": null }, - "start": 13595, - "end": 13596, + "start": 13451, + "end": 13452, "loc": { "start": { - "line": 369, + "line": 364, "column": 37 }, "end": { - "line": 369, + "line": 364, "column": 38 } } @@ -139586,15 +140687,15 @@ "binop": null, "updateContext": null }, - "start": 13596, - "end": 13597, + "start": 13452, + "end": 13453, "loc": { "start": { - "line": 369, + "line": 364, "column": 38 }, "end": { - "line": 369, + "line": 364, "column": 39 } } @@ -139602,15 +140703,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13611, - "end": 13653, + "start": 13467, + "end": 13509, "loc": { "start": { - "line": 371, + "line": 366, "column": 12 }, "end": { - "line": 371, + "line": 366, "column": 54 } } @@ -139630,15 +140731,15 @@ "updateContext": null }, "value": "this", - "start": 13666, - "end": 13670, + "start": 13522, + "end": 13526, "loc": { "start": { - "line": 372, + "line": 367, "column": 12 }, "end": { - "line": 372, + "line": 367, "column": 16 } } @@ -139656,15 +140757,15 @@ "binop": null, "updateContext": null }, - "start": 13670, - "end": 13671, + "start": 13526, + "end": 13527, "loc": { "start": { - "line": 372, + "line": 367, "column": 16 }, "end": { - "line": 372, + "line": 367, "column": 17 } } @@ -139682,15 +140783,15 @@ "binop": null }, "value": "player", - "start": 13671, - "end": 13677, + "start": 13527, + "end": 13533, "loc": { "start": { - "line": 372, + "line": 367, "column": 17 }, "end": { - "line": 372, + "line": 367, "column": 23 } } @@ -139708,15 +140809,15 @@ "binop": null, "updateContext": null }, - "start": 13677, - "end": 13678, + "start": 13533, + "end": 13534, "loc": { "start": { - "line": 372, + "line": 367, "column": 23 }, "end": { - "line": 372, + "line": 367, "column": 24 } } @@ -139734,15 +140835,15 @@ "binop": null }, "value": "play", - "start": 13678, - "end": 13682, + "start": 13534, + "end": 13538, "loc": { "start": { - "line": 372, + "line": 367, "column": 24 }, "end": { - "line": 372, + "line": 367, "column": 28 } } @@ -139759,15 +140860,15 @@ "postfix": false, "binop": null }, - "start": 13682, - "end": 13683, + "start": 13538, + "end": 13539, "loc": { "start": { - "line": 372, + "line": 367, "column": 28 }, "end": { - "line": 372, + "line": 367, "column": 29 } } @@ -139784,15 +140885,15 @@ "postfix": false, "binop": null }, - "start": 13683, - "end": 13684, + "start": 13539, + "end": 13540, "loc": { "start": { - "line": 372, + "line": 367, "column": 29 }, "end": { - "line": 372, + "line": 367, "column": 30 } } @@ -139810,15 +140911,15 @@ "binop": null, "updateContext": null }, - "start": 13684, - "end": 13685, + "start": 13540, + "end": 13541, "loc": { "start": { - "line": 372, + "line": 367, "column": 30 }, "end": { - "line": 372, + "line": 367, "column": 31 } } @@ -139826,15 +140927,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13699, - "end": 13723, + "start": 13555, + "end": 13579, "loc": { "start": { - "line": 374, + "line": 369, "column": 12 }, "end": { - "line": 374, + "line": 369, "column": 36 } } @@ -139854,15 +140955,15 @@ "updateContext": null }, "value": "this", - "start": 13736, - "end": 13740, + "start": 13592, + "end": 13596, "loc": { "start": { - "line": 375, + "line": 370, "column": 12 }, "end": { - "line": 375, + "line": 370, "column": 16 } } @@ -139880,15 +140981,15 @@ "binop": null, "updateContext": null }, - "start": 13740, - "end": 13741, + "start": 13596, + "end": 13597, "loc": { "start": { - "line": 375, + "line": 370, "column": 16 }, "end": { - "line": 375, + "line": 370, "column": 17 } } @@ -139906,15 +141007,15 @@ "binop": null }, "value": "surfer", - "start": 13741, - "end": 13747, + "start": 13597, + "end": 13603, "loc": { "start": { - "line": 375, + "line": 370, "column": 17 }, "end": { - "line": 375, + "line": 370, "column": 23 } } @@ -139932,15 +141033,15 @@ "binop": null, "updateContext": null }, - "start": 13747, - "end": 13748, + "start": 13603, + "end": 13604, "loc": { "start": { - "line": 375, + "line": 370, "column": 23 }, "end": { - "line": 375, + "line": 370, "column": 24 } } @@ -139958,15 +141059,15 @@ "binop": null }, "value": "play", - "start": 13748, - "end": 13752, + "start": 13604, + "end": 13608, "loc": { "start": { - "line": 375, + "line": 370, "column": 24 }, "end": { - "line": 375, + "line": 370, "column": 28 } } @@ -139983,15 +141084,15 @@ "postfix": false, "binop": null }, - "start": 13752, - "end": 13753, + "start": 13608, + "end": 13609, "loc": { "start": { - "line": 375, + "line": 370, "column": 28 }, "end": { - "line": 375, + "line": 370, "column": 29 } } @@ -140008,15 +141109,15 @@ "postfix": false, "binop": null }, - "start": 13753, - "end": 13754, + "start": 13609, + "end": 13610, "loc": { "start": { - "line": 375, + "line": 370, "column": 29 }, "end": { - "line": 375, + "line": 370, "column": 30 } } @@ -140034,15 +141135,15 @@ "binop": null, "updateContext": null }, - "start": 13754, - "end": 13755, + "start": 13610, + "end": 13611, "loc": { "start": { - "line": 375, + "line": 370, "column": 30 }, "end": { - "line": 375, + "line": 370, "column": 31 } } @@ -140059,15 +141160,15 @@ "postfix": false, "binop": null }, - "start": 13764, - "end": 13765, + "start": 13620, + "end": 13621, "loc": { "start": { - "line": 376, + "line": 371, "column": 8 }, "end": { - "line": 376, + "line": 371, "column": 9 } } @@ -140084,15 +141185,15 @@ "postfix": false, "binop": null }, - "start": 13770, - "end": 13771, + "start": 13626, + "end": 13627, "loc": { "start": { - "line": 377, + "line": 372, "column": 4 }, "end": { - "line": 377, + "line": 372, "column": 5 } } @@ -140100,15 +141201,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13777, - "end": 13840, + "start": 13633, + "end": 13696, "loc": { "start": { - "line": 379, + "line": 374, "column": 4 }, "end": { - "line": 381, + "line": 376, "column": 7 } } @@ -140126,15 +141227,15 @@ "binop": null }, "value": "pause", - "start": 13845, - "end": 13850, + "start": 13701, + "end": 13706, "loc": { "start": { - "line": 382, + "line": 377, "column": 4 }, "end": { - "line": 382, + "line": 377, "column": 9 } } @@ -140151,15 +141252,15 @@ "postfix": false, "binop": null }, - "start": 13850, - "end": 13851, + "start": 13706, + "end": 13707, "loc": { "start": { - "line": 382, + "line": 377, "column": 9 }, "end": { - "line": 382, + "line": 377, "column": 10 } } @@ -140176,15 +141277,15 @@ "postfix": false, "binop": null }, - "start": 13851, - "end": 13852, + "start": 13707, + "end": 13708, "loc": { "start": { - "line": 382, + "line": 377, "column": 10 }, "end": { - "line": 382, + "line": 377, "column": 11 } } @@ -140201,15 +141302,15 @@ "postfix": false, "binop": null }, - "start": 13853, - "end": 13854, + "start": 13709, + "end": 13710, "loc": { "start": { - "line": 382, + "line": 377, "column": 12 }, "end": { - "line": 382, + "line": 377, "column": 13 } } @@ -140217,15 +141318,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13863, - "end": 13882, + "start": 13719, + "end": 13738, "loc": { "start": { - "line": 383, + "line": 378, "column": 8 }, "end": { - "line": 383, + "line": 378, "column": 27 } } @@ -140245,15 +141346,15 @@ "updateContext": null }, "value": "if", - "start": 13891, - "end": 13893, + "start": 13747, + "end": 13749, "loc": { "start": { - "line": 384, + "line": 379, "column": 8 }, "end": { - "line": 384, + "line": 379, "column": 10 } } @@ -140270,15 +141371,15 @@ "postfix": false, "binop": null }, - "start": 13894, - "end": 13895, + "start": 13750, + "end": 13751, "loc": { "start": { - "line": 384, + "line": 379, "column": 11 }, "end": { - "line": 384, + "line": 379, "column": 12 } } @@ -140298,15 +141399,15 @@ "updateContext": null }, "value": "this", - "start": 13895, - "end": 13899, + "start": 13751, + "end": 13755, "loc": { "start": { - "line": 384, + "line": 379, "column": 12 }, "end": { - "line": 384, + "line": 379, "column": 16 } } @@ -140324,15 +141425,15 @@ "binop": null, "updateContext": null }, - "start": 13899, - "end": 13900, + "start": 13755, + "end": 13756, "loc": { "start": { - "line": 384, + "line": 379, "column": 16 }, "end": { - "line": 384, + "line": 379, "column": 17 } } @@ -140350,15 +141451,15 @@ "binop": null }, "value": "player", - "start": 13900, - "end": 13906, + "start": 13756, + "end": 13762, "loc": { "start": { - "line": 384, + "line": 379, "column": 17 }, "end": { - "line": 384, + "line": 379, "column": 23 } } @@ -140376,15 +141477,15 @@ "binop": null, "updateContext": null }, - "start": 13906, - "end": 13907, + "start": 13762, + "end": 13763, "loc": { "start": { - "line": 384, + "line": 379, "column": 23 }, "end": { - "line": 384, + "line": 379, "column": 24 } } @@ -140402,15 +141503,15 @@ "binop": null }, "value": "controlBar", - "start": 13907, - "end": 13917, + "start": 13763, + "end": 13773, "loc": { "start": { - "line": 384, + "line": 379, "column": 24 }, "end": { - "line": 384, + "line": 379, "column": 34 } } @@ -140428,15 +141529,15 @@ "binop": null, "updateContext": null }, - "start": 13917, - "end": 13918, + "start": 13773, + "end": 13774, "loc": { "start": { - "line": 384, + "line": 379, "column": 34 }, "end": { - "line": 384, + "line": 379, "column": 35 } } @@ -140454,15 +141555,15 @@ "binop": null }, "value": "playToggle", - "start": 13918, - "end": 13928, + "start": 13774, + "end": 13784, "loc": { "start": { - "line": 384, + "line": 379, "column": 35 }, "end": { - "line": 384, + "line": 379, "column": 45 } } @@ -140481,15 +141582,15 @@ "updateContext": null }, "value": "!==", - "start": 13929, - "end": 13932, + "start": 13785, + "end": 13788, "loc": { "start": { - "line": 384, + "line": 379, "column": 46 }, "end": { - "line": 384, + "line": 379, "column": 49 } } @@ -140507,15 +141608,15 @@ "binop": null }, "value": "undefined", - "start": 13933, - "end": 13942, + "start": 13789, + "end": 13798, "loc": { "start": { - "line": 384, + "line": 379, "column": 50 }, "end": { - "line": 384, + "line": 379, "column": 59 } } @@ -140534,15 +141635,15 @@ "updateContext": null }, "value": "&&", - "start": 13943, - "end": 13945, + "start": 13799, + "end": 13801, "loc": { "start": { - "line": 384, + "line": 379, "column": 60 }, "end": { - "line": 384, + "line": 379, "column": 62 } } @@ -140562,15 +141663,15 @@ "updateContext": null }, "value": "this", - "start": 13958, - "end": 13962, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 385, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 380, "column": 16 } } @@ -140588,15 +141689,15 @@ "binop": null, "updateContext": null }, - "start": 13962, - "end": 13963, + "start": 13818, + "end": 13819, "loc": { "start": { - "line": 385, + "line": 380, "column": 16 }, "end": { - "line": 385, + "line": 380, "column": 17 } } @@ -140614,15 +141715,15 @@ "binop": null }, "value": "player", - "start": 13963, - "end": 13969, + "start": 13819, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 380, "column": 17 }, "end": { - "line": 385, + "line": 380, "column": 23 } } @@ -140640,15 +141741,15 @@ "binop": null, "updateContext": null }, - "start": 13969, - "end": 13970, + "start": 13825, + "end": 13826, "loc": { "start": { - "line": 385, + "line": 380, "column": 23 }, "end": { - "line": 385, + "line": 380, "column": 24 } } @@ -140666,15 +141767,15 @@ "binop": null }, "value": "controlBar", - "start": 13970, - "end": 13980, + "start": 13826, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 380, "column": 24 }, "end": { - "line": 385, + "line": 380, "column": 34 } } @@ -140692,15 +141793,15 @@ "binop": null, "updateContext": null }, - "start": 13980, - "end": 13981, + "start": 13836, + "end": 13837, "loc": { "start": { - "line": 385, + "line": 380, "column": 34 }, "end": { - "line": 385, + "line": 380, "column": 35 } } @@ -140718,15 +141819,15 @@ "binop": null }, "value": "playToggle", - "start": 13981, - "end": 13991, + "start": 13837, + "end": 13847, "loc": { "start": { - "line": 385, + "line": 380, "column": 35 }, "end": { - "line": 385, + "line": 380, "column": 45 } } @@ -140744,15 +141845,15 @@ "binop": null, "updateContext": null }, - "start": 13991, - "end": 13992, + "start": 13847, + "end": 13848, "loc": { "start": { - "line": 385, + "line": 380, "column": 45 }, "end": { - "line": 385, + "line": 380, "column": 46 } } @@ -140770,15 +141871,15 @@ "binop": null }, "value": "contentEl", - "start": 13992, - "end": 14001, + "start": 13848, + "end": 13857, "loc": { "start": { - "line": 385, + "line": 380, "column": 46 }, "end": { - "line": 385, + "line": 380, "column": 55 } } @@ -140795,15 +141896,15 @@ "postfix": false, "binop": null }, - "start": 14001, - "end": 14002, + "start": 13857, + "end": 13858, "loc": { "start": { - "line": 385, + "line": 380, "column": 55 }, "end": { - "line": 385, + "line": 380, "column": 56 } } @@ -140820,15 +141921,15 @@ "postfix": false, "binop": null }, - "start": 14002, - "end": 14003, + "start": 13858, + "end": 13859, "loc": { "start": { - "line": 385, + "line": 380, "column": 56 }, "end": { - "line": 385, + "line": 380, "column": 57 } } @@ -140845,15 +141946,15 @@ "postfix": false, "binop": null }, - "start": 14003, - "end": 14004, + "start": 13859, + "end": 13860, "loc": { "start": { - "line": 385, + "line": 380, "column": 57 }, "end": { - "line": 385, + "line": 380, "column": 58 } } @@ -140870,15 +141971,15 @@ "postfix": false, "binop": null }, - "start": 14005, - "end": 14006, + "start": 13861, + "end": 13862, "loc": { "start": { - "line": 385, + "line": 380, "column": 59 }, "end": { - "line": 385, + "line": 380, "column": 60 } } @@ -140898,15 +141999,15 @@ "updateContext": null }, "value": "this", - "start": 14019, - "end": 14023, + "start": 13875, + "end": 13879, "loc": { "start": { - "line": 386, + "line": 381, "column": 12 }, "end": { - "line": 386, + "line": 381, "column": 16 } } @@ -140924,15 +142025,15 @@ "binop": null, "updateContext": null }, - "start": 14023, - "end": 14024, + "start": 13879, + "end": 13880, "loc": { "start": { - "line": 386, + "line": 381, "column": 16 }, "end": { - "line": 386, + "line": 381, "column": 17 } } @@ -140950,15 +142051,15 @@ "binop": null }, "value": "player", - "start": 14024, - "end": 14030, + "start": 13880, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 381, "column": 17 }, "end": { - "line": 386, + "line": 381, "column": 23 } } @@ -140976,15 +142077,15 @@ "binop": null, "updateContext": null }, - "start": 14030, - "end": 14031, + "start": 13886, + "end": 13887, "loc": { "start": { - "line": 386, + "line": 381, "column": 23 }, "end": { - "line": 386, + "line": 381, "column": 24 } } @@ -141002,15 +142103,15 @@ "binop": null }, "value": "controlBar", - "start": 14031, - "end": 14041, + "start": 13887, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 381, "column": 24 }, "end": { - "line": 386, + "line": 381, "column": 34 } } @@ -141028,15 +142129,15 @@ "binop": null, "updateContext": null }, - "start": 14041, - "end": 14042, + "start": 13897, + "end": 13898, "loc": { "start": { - "line": 386, + "line": 381, "column": 34 }, "end": { - "line": 386, + "line": 381, "column": 35 } } @@ -141054,15 +142155,15 @@ "binop": null }, "value": "playToggle", - "start": 14042, - "end": 14052, + "start": 13898, + "end": 13908, "loc": { "start": { - "line": 386, + "line": 381, "column": 35 }, "end": { - "line": 386, + "line": 381, "column": 45 } } @@ -141080,15 +142181,15 @@ "binop": null, "updateContext": null }, - "start": 14052, - "end": 14053, + "start": 13908, + "end": 13909, "loc": { "start": { - "line": 386, + "line": 381, "column": 45 }, "end": { - "line": 386, + "line": 381, "column": 46 } } @@ -141106,15 +142207,15 @@ "binop": null }, "value": "handlePause", - "start": 14053, - "end": 14064, + "start": 13909, + "end": 13920, "loc": { "start": { - "line": 386, + "line": 381, "column": 46 }, "end": { - "line": 386, + "line": 381, "column": 57 } } @@ -141131,15 +142232,15 @@ "postfix": false, "binop": null }, - "start": 14064, - "end": 14065, + "start": 13920, + "end": 13921, "loc": { "start": { - "line": 386, + "line": 381, "column": 57 }, "end": { - "line": 386, + "line": 381, "column": 58 } } @@ -141156,15 +142257,15 @@ "postfix": false, "binop": null }, - "start": 14065, - "end": 14066, + "start": 13921, + "end": 13922, "loc": { "start": { - "line": 386, + "line": 381, "column": 58 }, "end": { - "line": 386, + "line": 381, "column": 59 } } @@ -141182,15 +142283,15 @@ "binop": null, "updateContext": null }, - "start": 14066, - "end": 14067, + "start": 13922, + "end": 13923, "loc": { "start": { - "line": 386, + "line": 381, "column": 59 }, "end": { - "line": 386, + "line": 381, "column": 60 } } @@ -141207,15 +142308,15 @@ "postfix": false, "binop": null }, - "start": 14076, - "end": 14077, + "start": 13932, + "end": 13933, "loc": { "start": { - "line": 387, + "line": 382, "column": 8 }, "end": { - "line": 387, + "line": 382, "column": 9 } } @@ -141235,15 +142336,15 @@ "updateContext": null }, "value": "if", - "start": 14087, - "end": 14089, + "start": 13943, + "end": 13945, "loc": { "start": { - "line": 389, + "line": 384, "column": 8 }, "end": { - "line": 389, + "line": 384, "column": 10 } } @@ -141260,15 +142361,15 @@ "postfix": false, "binop": null }, - "start": 14090, - "end": 14091, + "start": 13946, + "end": 13947, "loc": { "start": { - "line": 389, + "line": 384, "column": 11 }, "end": { - "line": 389, + "line": 384, "column": 12 } } @@ -141288,15 +142389,15 @@ "updateContext": null }, "value": "this", - "start": 14091, - "end": 14095, + "start": 13947, + "end": 13951, "loc": { "start": { - "line": 389, + "line": 384, "column": 12 }, "end": { - "line": 389, + "line": 384, "column": 16 } } @@ -141314,15 +142415,15 @@ "binop": null, "updateContext": null }, - "start": 14095, - "end": 14096, + "start": 13951, + "end": 13952, "loc": { "start": { - "line": 389, + "line": 384, "column": 16 }, "end": { - "line": 389, + "line": 384, "column": 17 } } @@ -141340,15 +142441,15 @@ "binop": null }, "value": "liveMode", - "start": 14096, - "end": 14104, + "start": 13952, + "end": 13960, "loc": { "start": { - "line": 389, + "line": 384, "column": 17 }, "end": { - "line": 389, + "line": 384, "column": 25 } } @@ -141365,15 +142466,15 @@ "postfix": false, "binop": null }, - "start": 14104, - "end": 14105, + "start": 13960, + "end": 13961, "loc": { "start": { - "line": 389, + "line": 384, "column": 25 }, "end": { - "line": 389, + "line": 384, "column": 26 } } @@ -141390,15 +142491,15 @@ "postfix": false, "binop": null }, - "start": 14106, - "end": 14107, + "start": 13962, + "end": 13963, "loc": { "start": { - "line": 389, + "line": 384, "column": 27 }, "end": { - "line": 389, + "line": 384, "column": 28 } } @@ -141406,15 +142507,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14120, - "end": 14153, + "start": 13976, + "end": 14009, "loc": { "start": { - "line": 390, + "line": 385, "column": 12 }, "end": { - "line": 390, + "line": 385, "column": 45 } } @@ -141434,15 +142535,15 @@ "updateContext": null }, "value": "this", - "start": 14166, - "end": 14170, + "start": 14022, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 386, "column": 12 }, "end": { - "line": 391, + "line": 386, "column": 16 } } @@ -141460,15 +142561,15 @@ "binop": null, "updateContext": null }, - "start": 14170, - "end": 14171, + "start": 14026, + "end": 14027, "loc": { "start": { - "line": 391, + "line": 386, "column": 16 }, "end": { - "line": 391, + "line": 386, "column": 17 } } @@ -141486,15 +142587,15 @@ "binop": null }, "value": "log", - "start": 14171, - "end": 14174, + "start": 14027, + "end": 14030, "loc": { "start": { - "line": 391, + "line": 386, "column": 17 }, "end": { - "line": 391, + "line": 386, "column": 20 } } @@ -141511,15 +142612,15 @@ "postfix": false, "binop": null }, - "start": 14174, - "end": 14175, + "start": 14030, + "end": 14031, "loc": { "start": { - "line": 391, + "line": 386, "column": 20 }, "end": { - "line": 391, + "line": 386, "column": 21 } } @@ -141538,15 +142639,15 @@ "updateContext": null }, "value": "Pause microphone", - "start": 14175, - "end": 14193, + "start": 14031, + "end": 14049, "loc": { "start": { - "line": 391, + "line": 386, "column": 21 }, "end": { - "line": 391, + "line": 386, "column": 39 } } @@ -141563,15 +142664,15 @@ "postfix": false, "binop": null }, - "start": 14193, - "end": 14194, + "start": 14049, + "end": 14050, "loc": { "start": { - "line": 391, + "line": 386, "column": 39 }, "end": { - "line": 391, + "line": 386, "column": 40 } } @@ -141589,15 +142690,15 @@ "binop": null, "updateContext": null }, - "start": 14194, - "end": 14195, + "start": 14050, + "end": 14051, "loc": { "start": { - "line": 391, + "line": 386, "column": 40 }, "end": { - "line": 391, + "line": 386, "column": 41 } } @@ -141617,15 +142718,15 @@ "updateContext": null }, "value": "this", - "start": 14208, - "end": 14212, + "start": 14064, + "end": 14068, "loc": { "start": { - "line": 392, + "line": 387, "column": 12 }, "end": { - "line": 392, + "line": 387, "column": 16 } } @@ -141643,15 +142744,15 @@ "binop": null, "updateContext": null }, - "start": 14212, - "end": 14213, + "start": 14068, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 387, "column": 16 }, "end": { - "line": 392, + "line": 387, "column": 17 } } @@ -141669,15 +142770,15 @@ "binop": null }, "value": "surfer", - "start": 14213, - "end": 14219, + "start": 14069, + "end": 14075, "loc": { "start": { - "line": 392, + "line": 387, "column": 17 }, "end": { - "line": 392, + "line": 387, "column": 23 } } @@ -141695,15 +142796,15 @@ "binop": null, "updateContext": null }, - "start": 14219, - "end": 14220, + "start": 14075, + "end": 14076, "loc": { "start": { - "line": 392, + "line": 387, "column": 23 }, "end": { - "line": 392, + "line": 387, "column": 24 } } @@ -141721,15 +142822,15 @@ "binop": null }, "value": "microphone", - "start": 14220, - "end": 14230, + "start": 14076, + "end": 14086, "loc": { "start": { - "line": 392, + "line": 387, "column": 24 }, "end": { - "line": 392, + "line": 387, "column": 34 } } @@ -141747,15 +142848,15 @@ "binop": null, "updateContext": null }, - "start": 14230, - "end": 14231, + "start": 14086, + "end": 14087, "loc": { "start": { - "line": 392, + "line": 387, "column": 34 }, "end": { - "line": 392, + "line": 387, "column": 35 } } @@ -141773,15 +142874,15 @@ "binop": null }, "value": "pause", - "start": 14231, - "end": 14236, + "start": 14087, + "end": 14092, "loc": { "start": { - "line": 392, + "line": 387, "column": 35 }, "end": { - "line": 392, + "line": 387, "column": 40 } } @@ -141798,15 +142899,15 @@ "postfix": false, "binop": null }, - "start": 14236, - "end": 14237, + "start": 14092, + "end": 14093, "loc": { "start": { - "line": 392, + "line": 387, "column": 40 }, "end": { - "line": 392, + "line": 387, "column": 41 } } @@ -141823,15 +142924,15 @@ "postfix": false, "binop": null }, - "start": 14237, - "end": 14238, + "start": 14093, + "end": 14094, "loc": { "start": { - "line": 392, + "line": 387, "column": 41 }, "end": { - "line": 392, + "line": 387, "column": 42 } } @@ -141849,15 +142950,15 @@ "binop": null, "updateContext": null }, - "start": 14238, - "end": 14239, + "start": 14094, + "end": 14095, "loc": { "start": { - "line": 392, + "line": 387, "column": 42 }, "end": { - "line": 392, + "line": 387, "column": 43 } } @@ -141874,15 +142975,15 @@ "postfix": false, "binop": null }, - "start": 14248, - "end": 14249, + "start": 14104, + "end": 14105, "loc": { "start": { - "line": 393, + "line": 388, "column": 8 }, "end": { - "line": 393, + "line": 388, "column": 9 } } @@ -141902,15 +143003,15 @@ "updateContext": null }, "value": "else", - "start": 14250, - "end": 14254, + "start": 14106, + "end": 14110, "loc": { "start": { - "line": 393, + "line": 388, "column": 10 }, "end": { - "line": 393, + "line": 388, "column": 14 } } @@ -141927,15 +143028,15 @@ "postfix": false, "binop": null }, - "start": 14255, - "end": 14256, + "start": 14111, + "end": 14112, "loc": { "start": { - "line": 393, + "line": 388, "column": 15 }, "end": { - "line": 393, + "line": 388, "column": 16 } } @@ -141943,15 +143044,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14269, - "end": 14286, + "start": 14125, + "end": 14142, "loc": { "start": { - "line": 394, + "line": 389, "column": 12 }, "end": { - "line": 394, + "line": 389, "column": 29 } } @@ -141971,15 +143072,15 @@ "updateContext": null }, "value": "this", - "start": 14299, - "end": 14303, + "start": 14155, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 390, "column": 12 }, "end": { - "line": 395, + "line": 390, "column": 16 } } @@ -141997,15 +143098,15 @@ "binop": null, "updateContext": null }, - "start": 14303, - "end": 14304, + "start": 14159, + "end": 14160, "loc": { "start": { - "line": 395, + "line": 390, "column": 16 }, "end": { - "line": 395, + "line": 390, "column": 17 } } @@ -142023,15 +143124,15 @@ "binop": null }, "value": "log", - "start": 14304, - "end": 14307, + "start": 14160, + "end": 14163, "loc": { "start": { - "line": 395, + "line": 390, "column": 17 }, "end": { - "line": 395, + "line": 390, "column": 20 } } @@ -142048,15 +143149,15 @@ "postfix": false, "binop": null }, - "start": 14307, - "end": 14308, + "start": 14163, + "end": 14164, "loc": { "start": { - "line": 395, + "line": 390, "column": 20 }, "end": { - "line": 395, + "line": 390, "column": 21 } } @@ -142075,15 +143176,15 @@ "updateContext": null }, "value": "Pause playback", - "start": 14308, - "end": 14324, + "start": 14164, + "end": 14180, "loc": { "start": { - "line": 395, + "line": 390, "column": 21 }, "end": { - "line": 395, + "line": 390, "column": 37 } } @@ -142100,15 +143201,15 @@ "postfix": false, "binop": null }, - "start": 14324, - "end": 14325, + "start": 14180, + "end": 14181, "loc": { "start": { - "line": 395, + "line": 390, "column": 37 }, "end": { - "line": 395, + "line": 390, "column": 38 } } @@ -142126,15 +143227,15 @@ "binop": null, "updateContext": null }, - "start": 14325, - "end": 14326, + "start": 14181, + "end": 14182, "loc": { "start": { - "line": 395, + "line": 390, "column": 38 }, "end": { - "line": 395, + "line": 390, "column": 39 } } @@ -142154,15 +143255,15 @@ "updateContext": null }, "value": "if", - "start": 14340, - "end": 14342, + "start": 14196, + "end": 14198, "loc": { "start": { - "line": 397, + "line": 392, "column": 12 }, "end": { - "line": 397, + "line": 392, "column": 14 } } @@ -142179,15 +143280,15 @@ "postfix": false, "binop": null }, - "start": 14343, - "end": 14344, + "start": 14199, + "end": 14200, "loc": { "start": { - "line": 397, + "line": 392, "column": 15 }, "end": { - "line": 397, + "line": 392, "column": 16 } } @@ -142206,15 +143307,15 @@ "updateContext": null }, "value": "!", - "start": 14344, - "end": 14345, + "start": 14200, + "end": 14201, "loc": { "start": { - "line": 397, + "line": 392, "column": 16 }, "end": { - "line": 397, + "line": 392, "column": 17 } } @@ -142234,15 +143335,15 @@ "updateContext": null }, "value": "this", - "start": 14345, - "end": 14349, + "start": 14201, + "end": 14205, "loc": { "start": { - "line": 397, + "line": 392, "column": 17 }, "end": { - "line": 397, + "line": 392, "column": 21 } } @@ -142260,15 +143361,15 @@ "binop": null, "updateContext": null }, - "start": 14349, - "end": 14350, + "start": 14205, + "end": 14206, "loc": { "start": { - "line": 397, + "line": 392, "column": 21 }, "end": { - "line": 397, + "line": 392, "column": 22 } } @@ -142286,15 +143387,15 @@ "binop": null }, "value": "waveFinished", - "start": 14350, - "end": 14362, + "start": 14206, + "end": 14218, "loc": { "start": { - "line": 397, + "line": 392, "column": 22 }, "end": { - "line": 397, + "line": 392, "column": 34 } } @@ -142311,15 +143412,15 @@ "postfix": false, "binop": null }, - "start": 14362, - "end": 14363, + "start": 14218, + "end": 14219, "loc": { "start": { - "line": 397, + "line": 392, "column": 34 }, "end": { - "line": 397, + "line": 392, "column": 35 } } @@ -142336,15 +143437,15 @@ "postfix": false, "binop": null }, - "start": 14364, - "end": 14365, + "start": 14220, + "end": 14221, "loc": { "start": { - "line": 397, + "line": 392, "column": 36 }, "end": { - "line": 397, + "line": 392, "column": 37 } } @@ -142352,15 +143453,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14382, - "end": 14410, + "start": 14238, + "end": 14266, "loc": { "start": { - "line": 398, + "line": 393, "column": 16 }, "end": { - "line": 398, + "line": 393, "column": 44 } } @@ -142380,15 +143481,15 @@ "updateContext": null }, "value": "this", - "start": 14427, - "end": 14431, + "start": 14283, + "end": 14287, "loc": { "start": { - "line": 399, + "line": 394, "column": 16 }, "end": { - "line": 399, + "line": 394, "column": 20 } } @@ -142406,15 +143507,15 @@ "binop": null, "updateContext": null }, - "start": 14431, - "end": 14432, + "start": 14287, + "end": 14288, "loc": { "start": { - "line": 399, + "line": 394, "column": 20 }, "end": { - "line": 399, + "line": 394, "column": 21 } } @@ -142432,15 +143533,15 @@ "binop": null }, "value": "surfer", - "start": 14432, - "end": 14438, + "start": 14288, + "end": 14294, "loc": { "start": { - "line": 399, + "line": 394, "column": 21 }, "end": { - "line": 399, + "line": 394, "column": 27 } } @@ -142458,15 +143559,15 @@ "binop": null, "updateContext": null }, - "start": 14438, - "end": 14439, + "start": 14294, + "end": 14295, "loc": { "start": { - "line": 399, + "line": 394, "column": 27 }, "end": { - "line": 399, + "line": 394, "column": 28 } } @@ -142484,15 +143585,15 @@ "binop": null }, "value": "pause", - "start": 14439, - "end": 14444, + "start": 14295, + "end": 14300, "loc": { "start": { - "line": 399, + "line": 394, "column": 28 }, "end": { - "line": 399, + "line": 394, "column": 33 } } @@ -142509,15 +143610,15 @@ "postfix": false, "binop": null }, - "start": 14444, - "end": 14445, + "start": 14300, + "end": 14301, "loc": { "start": { - "line": 399, + "line": 394, "column": 33 }, "end": { - "line": 399, + "line": 394, "column": 34 } } @@ -142534,15 +143635,15 @@ "postfix": false, "binop": null }, - "start": 14445, - "end": 14446, + "start": 14301, + "end": 14302, "loc": { "start": { - "line": 399, + "line": 394, "column": 34 }, "end": { - "line": 399, + "line": 394, "column": 35 } } @@ -142560,15 +143661,15 @@ "binop": null, "updateContext": null }, - "start": 14446, - "end": 14447, + "start": 14302, + "end": 14303, "loc": { "start": { - "line": 399, + "line": 394, "column": 35 }, "end": { - "line": 399, + "line": 394, "column": 36 } } @@ -142585,15 +143686,15 @@ "postfix": false, "binop": null }, - "start": 14460, - "end": 14461, + "start": 14316, + "end": 14317, "loc": { "start": { - "line": 400, + "line": 395, "column": 12 }, "end": { - "line": 400, + "line": 395, "column": 13 } } @@ -142613,15 +143714,15 @@ "updateContext": null }, "value": "else", - "start": 14462, - "end": 14466, + "start": 14318, + "end": 14322, "loc": { "start": { - "line": 400, + "line": 395, "column": 14 }, "end": { - "line": 400, + "line": 395, "column": 18 } } @@ -142638,15 +143739,15 @@ "postfix": false, "binop": null }, - "start": 14467, - "end": 14468, + "start": 14323, + "end": 14324, "loc": { "start": { - "line": 400, + "line": 395, "column": 19 }, "end": { - "line": 400, + "line": 395, "column": 20 } } @@ -142666,15 +143767,15 @@ "updateContext": null }, "value": "this", - "start": 14485, - "end": 14489, + "start": 14341, + "end": 14345, "loc": { "start": { - "line": 401, + "line": 396, "column": 16 }, "end": { - "line": 401, + "line": 396, "column": 20 } } @@ -142692,15 +143793,15 @@ "binop": null, "updateContext": null }, - "start": 14489, - "end": 14490, + "start": 14345, + "end": 14346, "loc": { "start": { - "line": 401, + "line": 396, "column": 20 }, "end": { - "line": 401, + "line": 396, "column": 21 } } @@ -142718,15 +143819,15 @@ "binop": null }, "value": "waveFinished", - "start": 14490, - "end": 14502, + "start": 14346, + "end": 14358, "loc": { "start": { - "line": 401, + "line": 396, "column": 21 }, "end": { - "line": 401, + "line": 396, "column": 33 } } @@ -142745,15 +143846,15 @@ "updateContext": null }, "value": "=", - "start": 14503, - "end": 14504, + "start": 14359, + "end": 14360, "loc": { "start": { - "line": 401, + "line": 396, "column": 34 }, "end": { - "line": 401, + "line": 396, "column": 35 } } @@ -142773,15 +143874,15 @@ "updateContext": null }, "value": "false", - "start": 14505, - "end": 14510, + "start": 14361, + "end": 14366, "loc": { "start": { - "line": 401, + "line": 396, "column": 36 }, "end": { - "line": 401, + "line": 396, "column": 41 } } @@ -142799,15 +143900,15 @@ "binop": null, "updateContext": null }, - "start": 14510, - "end": 14511, + "start": 14366, + "end": 14367, "loc": { "start": { - "line": 401, + "line": 396, "column": 41 }, "end": { - "line": 401, + "line": 396, "column": 42 } } @@ -142824,15 +143925,15 @@ "postfix": false, "binop": null }, - "start": 14524, - "end": 14525, + "start": 14380, + "end": 14381, "loc": { "start": { - "line": 402, + "line": 397, "column": 12 }, "end": { - "line": 402, + "line": 397, "column": 13 } } @@ -142852,15 +143953,15 @@ "updateContext": null }, "value": "this", - "start": 14539, - "end": 14543, + "start": 14395, + "end": 14399, "loc": { "start": { - "line": 404, + "line": 399, "column": 12 }, "end": { - "line": 404, + "line": 399, "column": 16 } } @@ -142878,15 +143979,15 @@ "binop": null, "updateContext": null }, - "start": 14543, - "end": 14544, + "start": 14399, + "end": 14400, "loc": { "start": { - "line": 404, + "line": 399, "column": 16 }, "end": { - "line": 404, + "line": 399, "column": 17 } } @@ -142904,15 +144005,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 14544, - "end": 14558, + "start": 14400, + "end": 14414, "loc": { "start": { - "line": 404, + "line": 399, "column": 17 }, "end": { - "line": 404, + "line": 399, "column": 31 } } @@ -142929,15 +144030,15 @@ "postfix": false, "binop": null }, - "start": 14558, - "end": 14559, + "start": 14414, + "end": 14415, "loc": { "start": { - "line": 404, + "line": 399, "column": 31 }, "end": { - "line": 404, + "line": 399, "column": 32 } } @@ -142954,15 +144055,15 @@ "postfix": false, "binop": null }, - "start": 14559, - "end": 14560, + "start": 14415, + "end": 14416, "loc": { "start": { - "line": 404, + "line": 399, "column": 32 }, "end": { - "line": 404, + "line": 399, "column": 33 } } @@ -142980,15 +144081,15 @@ "binop": null, "updateContext": null }, - "start": 14560, - "end": 14561, + "start": 14416, + "end": 14417, "loc": { "start": { - "line": 404, + "line": 399, "column": 33 }, "end": { - "line": 404, + "line": 399, "column": 34 } } @@ -143005,15 +144106,15 @@ "postfix": false, "binop": null }, - "start": 14570, - "end": 14571, + "start": 14426, + "end": 14427, "loc": { "start": { - "line": 405, + "line": 400, "column": 8 }, "end": { - "line": 405, + "line": 400, "column": 9 } } @@ -143030,15 +144131,15 @@ "postfix": false, "binop": null }, - "start": 14576, - "end": 14577, + "start": 14432, + "end": 14433, "loc": { "start": { - "line": 406, + "line": 401, "column": 4 }, "end": { - "line": 406, + "line": 401, "column": 5 } } @@ -143046,15 +144147,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14583, - "end": 14610, + "start": 14439, + "end": 14466, "loc": { "start": { - "line": 408, + "line": 403, "column": 4 }, "end": { - "line": 410, + "line": 405, "column": 7 } } @@ -143072,15 +144173,15 @@ "binop": null }, "value": "dispose", - "start": 14615, - "end": 14622, + "start": 14471, + "end": 14478, "loc": { "start": { - "line": 411, + "line": 406, "column": 4 }, "end": { - "line": 411, + "line": 406, "column": 11 } } @@ -143097,15 +144198,15 @@ "postfix": false, "binop": null }, - "start": 14622, - "end": 14623, + "start": 14478, + "end": 14479, "loc": { "start": { - "line": 411, + "line": 406, "column": 11 }, "end": { - "line": 411, + "line": 406, "column": 12 } } @@ -143122,15 +144223,15 @@ "postfix": false, "binop": null }, - "start": 14623, - "end": 14624, + "start": 14479, + "end": 14480, "loc": { "start": { - "line": 411, + "line": 406, "column": 12 }, "end": { - "line": 411, + "line": 406, "column": 13 } } @@ -143147,15 +144248,15 @@ "postfix": false, "binop": null }, - "start": 14625, - "end": 14626, + "start": 14481, + "end": 14482, "loc": { "start": { - "line": 411, + "line": 406, "column": 14 }, "end": { - "line": 411, + "line": 406, "column": 15 } } @@ -143175,15 +144276,15 @@ "updateContext": null }, "value": "if", - "start": 14635, - "end": 14637, + "start": 14491, + "end": 14493, "loc": { "start": { - "line": 412, + "line": 407, "column": 8 }, "end": { - "line": 412, + "line": 407, "column": 10 } } @@ -143200,15 +144301,15 @@ "postfix": false, "binop": null }, - "start": 14638, - "end": 14639, + "start": 14494, + "end": 14495, "loc": { "start": { - "line": 412, + "line": 407, "column": 11 }, "end": { - "line": 412, + "line": 407, "column": 12 } } @@ -143228,15 +144329,15 @@ "updateContext": null }, "value": "this", - "start": 14639, - "end": 14643, + "start": 14495, + "end": 14499, "loc": { "start": { - "line": 412, + "line": 407, "column": 12 }, "end": { - "line": 412, + "line": 407, "column": 16 } } @@ -143254,15 +144355,15 @@ "binop": null, "updateContext": null }, - "start": 14643, - "end": 14644, + "start": 14499, + "end": 14500, "loc": { "start": { - "line": 412, + "line": 407, "column": 16 }, "end": { - "line": 412, + "line": 407, "column": 17 } } @@ -143280,15 +144381,15 @@ "binop": null }, "value": "surfer", - "start": 14644, - "end": 14650, + "start": 14500, + "end": 14506, "loc": { "start": { - "line": 412, + "line": 407, "column": 17 }, "end": { - "line": 412, + "line": 407, "column": 23 } } @@ -143305,15 +144406,15 @@ "postfix": false, "binop": null }, - "start": 14650, - "end": 14651, + "start": 14506, + "end": 14507, "loc": { "start": { - "line": 412, + "line": 407, "column": 23 }, "end": { - "line": 412, + "line": 407, "column": 24 } } @@ -143330,15 +144431,15 @@ "postfix": false, "binop": null }, - "start": 14652, - "end": 14653, + "start": 14508, + "end": 14509, "loc": { "start": { - "line": 412, + "line": 407, "column": 25 }, "end": { - "line": 412, + "line": 407, "column": 26 } } @@ -143358,15 +144459,15 @@ "updateContext": null }, "value": "if", - "start": 14666, - "end": 14668, + "start": 14522, + "end": 14524, "loc": { "start": { - "line": 413, + "line": 408, "column": 12 }, "end": { - "line": 413, + "line": 408, "column": 14 } } @@ -143383,15 +144484,15 @@ "postfix": false, "binop": null }, - "start": 14669, - "end": 14670, + "start": 14525, + "end": 14526, "loc": { "start": { - "line": 413, + "line": 408, "column": 15 }, "end": { - "line": 413, + "line": 408, "column": 16 } } @@ -143411,15 +144512,15 @@ "updateContext": null }, "value": "this", - "start": 14670, - "end": 14674, + "start": 14526, + "end": 14530, "loc": { "start": { - "line": 413, + "line": 408, "column": 16 }, "end": { - "line": 413, + "line": 408, "column": 20 } } @@ -143437,15 +144538,15 @@ "binop": null, "updateContext": null }, - "start": 14674, - "end": 14675, + "start": 14530, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 408, "column": 20 }, "end": { - "line": 413, + "line": 408, "column": 21 } } @@ -143463,15 +144564,15 @@ "binop": null }, "value": "liveMode", - "start": 14675, - "end": 14683, + "start": 14531, + "end": 14539, "loc": { "start": { - "line": 413, + "line": 408, "column": 21 }, "end": { - "line": 413, + "line": 408, "column": 29 } } @@ -143490,15 +144591,15 @@ "updateContext": null }, "value": "&&", - "start": 14684, - "end": 14686, + "start": 14540, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 408, "column": 30 }, "end": { - "line": 413, + "line": 408, "column": 32 } } @@ -143518,15 +144619,15 @@ "updateContext": null }, "value": "this", - "start": 14687, - "end": 14691, + "start": 14543, + "end": 14547, "loc": { "start": { - "line": 413, + "line": 408, "column": 33 }, "end": { - "line": 413, + "line": 408, "column": 37 } } @@ -143544,15 +144645,15 @@ "binop": null, "updateContext": null }, - "start": 14691, - "end": 14692, + "start": 14547, + "end": 14548, "loc": { "start": { - "line": 413, + "line": 408, "column": 37 }, "end": { - "line": 413, + "line": 408, "column": 38 } } @@ -143570,15 +144671,15 @@ "binop": null }, "value": "surfer", - "start": 14692, - "end": 14698, + "start": 14548, + "end": 14554, "loc": { "start": { - "line": 413, + "line": 408, "column": 38 }, "end": { - "line": 413, + "line": 408, "column": 44 } } @@ -143596,15 +144697,15 @@ "binop": null, "updateContext": null }, - "start": 14698, - "end": 14699, + "start": 14554, + "end": 14555, "loc": { "start": { - "line": 413, + "line": 408, "column": 44 }, "end": { - "line": 413, + "line": 408, "column": 45 } } @@ -143622,15 +144723,15 @@ "binop": null }, "value": "microphone", - "start": 14699, - "end": 14709, + "start": 14555, + "end": 14565, "loc": { "start": { - "line": 413, + "line": 408, "column": 45 }, "end": { - "line": 413, + "line": 408, "column": 55 } } @@ -143647,15 +144748,15 @@ "postfix": false, "binop": null }, - "start": 14709, - "end": 14710, + "start": 14565, + "end": 14566, "loc": { "start": { - "line": 413, + "line": 408, "column": 55 }, "end": { - "line": 413, + "line": 408, "column": 56 } } @@ -143672,15 +144773,15 @@ "postfix": false, "binop": null }, - "start": 14711, - "end": 14712, + "start": 14567, + "end": 14568, "loc": { "start": { - "line": 413, + "line": 408, "column": 57 }, "end": { - "line": 413, + "line": 408, "column": 58 } } @@ -143688,15 +144789,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14729, - "end": 14757, + "start": 14585, + "end": 14613, "loc": { "start": { - "line": 414, + "line": 409, "column": 16 }, "end": { - "line": 414, + "line": 409, "column": 44 } } @@ -143716,15 +144817,15 @@ "updateContext": null }, "value": "this", - "start": 14774, - "end": 14778, + "start": 14630, + "end": 14634, "loc": { "start": { - "line": 415, + "line": 410, "column": 16 }, "end": { - "line": 415, + "line": 410, "column": 20 } } @@ -143742,15 +144843,15 @@ "binop": null, "updateContext": null }, - "start": 14778, - "end": 14779, + "start": 14634, + "end": 14635, "loc": { "start": { - "line": 415, + "line": 410, "column": 20 }, "end": { - "line": 415, + "line": 410, "column": 21 } } @@ -143768,15 +144869,15 @@ "binop": null }, "value": "surfer", - "start": 14779, - "end": 14785, + "start": 14635, + "end": 14641, "loc": { "start": { - "line": 415, + "line": 410, "column": 21 }, "end": { - "line": 415, + "line": 410, "column": 27 } } @@ -143794,15 +144895,15 @@ "binop": null, "updateContext": null }, - "start": 14785, - "end": 14786, + "start": 14641, + "end": 14642, "loc": { "start": { - "line": 415, + "line": 410, "column": 27 }, "end": { - "line": 415, + "line": 410, "column": 28 } } @@ -143820,15 +144921,15 @@ "binop": null }, "value": "microphone", - "start": 14786, - "end": 14796, + "start": 14642, + "end": 14652, "loc": { "start": { - "line": 415, + "line": 410, "column": 28 }, "end": { - "line": 415, + "line": 410, "column": 38 } } @@ -143846,15 +144947,15 @@ "binop": null, "updateContext": null }, - "start": 14796, - "end": 14797, + "start": 14652, + "end": 14653, "loc": { "start": { - "line": 415, + "line": 410, "column": 38 }, "end": { - "line": 415, + "line": 410, "column": 39 } } @@ -143872,15 +144973,15 @@ "binop": null }, "value": "destroy", - "start": 14797, - "end": 14804, + "start": 14653, + "end": 14660, "loc": { "start": { - "line": 415, + "line": 410, "column": 39 }, "end": { - "line": 415, + "line": 410, "column": 46 } } @@ -143897,15 +144998,15 @@ "postfix": false, "binop": null }, - "start": 14804, - "end": 14805, + "start": 14660, + "end": 14661, "loc": { "start": { - "line": 415, + "line": 410, "column": 46 }, "end": { - "line": 415, + "line": 410, "column": 47 } } @@ -143922,15 +145023,15 @@ "postfix": false, "binop": null }, - "start": 14805, - "end": 14806, + "start": 14661, + "end": 14662, "loc": { "start": { - "line": 415, + "line": 410, "column": 47 }, "end": { - "line": 415, + "line": 410, "column": 48 } } @@ -143948,15 +145049,15 @@ "binop": null, "updateContext": null }, - "start": 14806, - "end": 14807, + "start": 14662, + "end": 14663, "loc": { "start": { - "line": 415, + "line": 410, "column": 48 }, "end": { - "line": 415, + "line": 410, "column": 49 } } @@ -143976,15 +145077,15 @@ "updateContext": null }, "value": "this", - "start": 14824, - "end": 14828, + "start": 14680, + "end": 14684, "loc": { "start": { - "line": 416, + "line": 411, "column": 16 }, "end": { - "line": 416, + "line": 411, "column": 20 } } @@ -144002,15 +145103,15 @@ "binop": null, "updateContext": null }, - "start": 14828, - "end": 14829, + "start": 14684, + "end": 14685, "loc": { "start": { - "line": 416, + "line": 411, "column": 20 }, "end": { - "line": 416, + "line": 411, "column": 21 } } @@ -144028,15 +145129,15 @@ "binop": null }, "value": "log", - "start": 14829, - "end": 14832, + "start": 14685, + "end": 14688, "loc": { "start": { - "line": 416, + "line": 411, "column": 21 }, "end": { - "line": 416, + "line": 411, "column": 24 } } @@ -144053,15 +145154,15 @@ "postfix": false, "binop": null }, - "start": 14832, - "end": 14833, + "start": 14688, + "end": 14689, "loc": { "start": { - "line": 416, + "line": 411, "column": 24 }, "end": { - "line": 416, + "line": 411, "column": 25 } } @@ -144080,15 +145181,15 @@ "updateContext": null }, "value": "Destroyed microphone plugin", - "start": 14833, - "end": 14862, + "start": 14689, + "end": 14718, "loc": { "start": { - "line": 416, + "line": 411, "column": 25 }, "end": { - "line": 416, + "line": 411, "column": 54 } } @@ -144105,15 +145206,15 @@ "postfix": false, "binop": null }, - "start": 14862, - "end": 14863, + "start": 14718, + "end": 14719, "loc": { "start": { - "line": 416, + "line": 411, "column": 54 }, "end": { - "line": 416, + "line": 411, "column": 55 } } @@ -144131,15 +145232,15 @@ "binop": null, "updateContext": null }, - "start": 14863, - "end": 14864, + "start": 14719, + "end": 14720, "loc": { "start": { - "line": 416, + "line": 411, "column": 55 }, "end": { - "line": 416, + "line": 411, "column": 56 } } @@ -144156,15 +145257,15 @@ "postfix": false, "binop": null }, - "start": 14877, - "end": 14878, + "start": 14733, + "end": 14734, "loc": { "start": { - "line": 417, + "line": 412, "column": 12 }, "end": { - "line": 417, + "line": 412, "column": 13 } } @@ -144172,15 +145273,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14891, - "end": 14921, + "start": 14747, + "end": 14777, "loc": { "start": { - "line": 418, + "line": 413, "column": 12 }, "end": { - "line": 418, + "line": 413, "column": 42 } } @@ -144200,15 +145301,15 @@ "updateContext": null }, "value": "this", - "start": 14934, - "end": 14938, + "start": 14790, + "end": 14794, "loc": { "start": { - "line": 419, + "line": 414, "column": 12 }, "end": { - "line": 419, + "line": 414, "column": 16 } } @@ -144226,15 +145327,15 @@ "binop": null, "updateContext": null }, - "start": 14938, - "end": 14939, + "start": 14794, + "end": 14795, "loc": { "start": { - "line": 419, + "line": 414, "column": 16 }, "end": { - "line": 419, + "line": 414, "column": 17 } } @@ -144252,15 +145353,15 @@ "binop": null }, "value": "surfer", - "start": 14939, - "end": 14945, + "start": 14795, + "end": 14801, "loc": { "start": { - "line": 419, + "line": 414, "column": 17 }, "end": { - "line": 419, + "line": 414, "column": 23 } } @@ -144278,15 +145379,15 @@ "binop": null, "updateContext": null }, - "start": 14945, - "end": 14946, + "start": 14801, + "end": 14802, "loc": { "start": { - "line": 419, + "line": 414, "column": 23 }, "end": { - "line": 419, + "line": 414, "column": 24 } } @@ -144304,15 +145405,15 @@ "binop": null }, "value": "destroy", - "start": 14946, - "end": 14953, + "start": 14802, + "end": 14809, "loc": { "start": { - "line": 419, + "line": 414, "column": 24 }, "end": { - "line": 419, + "line": 414, "column": 31 } } @@ -144329,15 +145430,15 @@ "postfix": false, "binop": null }, - "start": 14953, - "end": 14954, + "start": 14809, + "end": 14810, "loc": { "start": { - "line": 419, + "line": 414, "column": 31 }, "end": { - "line": 419, + "line": 414, "column": 32 } } @@ -144354,15 +145455,15 @@ "postfix": false, "binop": null }, - "start": 14954, - "end": 14955, + "start": 14810, + "end": 14811, "loc": { "start": { - "line": 419, + "line": 414, "column": 32 }, "end": { - "line": 419, + "line": 414, "column": 33 } } @@ -144380,15 +145481,15 @@ "binop": null, "updateContext": null }, - "start": 14955, - "end": 14956, + "start": 14811, + "end": 14812, "loc": { "start": { - "line": 419, + "line": 414, "column": 33 }, "end": { - "line": 419, + "line": 414, "column": 34 } } @@ -144405,15 +145506,15 @@ "postfix": false, "binop": null }, - "start": 14965, - "end": 14966, + "start": 14821, + "end": 14822, "loc": { "start": { - "line": 420, + "line": 415, "column": 8 }, "end": { - "line": 420, + "line": 415, "column": 9 } } @@ -144433,15 +145534,15 @@ "updateContext": null }, "value": "this", - "start": 14975, - "end": 14979, + "start": 14831, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 416, "column": 8 }, "end": { - "line": 421, + "line": 416, "column": 12 } } @@ -144459,15 +145560,15 @@ "binop": null, "updateContext": null }, - "start": 14979, - "end": 14980, + "start": 14835, + "end": 14836, "loc": { "start": { - "line": 421, + "line": 416, "column": 12 }, "end": { - "line": 421, + "line": 416, "column": 13 } } @@ -144485,15 +145586,15 @@ "binop": null }, "value": "log", - "start": 14980, - "end": 14983, + "start": 14836, + "end": 14839, "loc": { "start": { - "line": 421, + "line": 416, "column": 13 }, "end": { - "line": 421, + "line": 416, "column": 16 } } @@ -144510,15 +145611,15 @@ "postfix": false, "binop": null }, - "start": 14983, - "end": 14984, + "start": 14839, + "end": 14840, "loc": { "start": { - "line": 421, + "line": 416, "column": 16 }, "end": { - "line": 421, + "line": 416, "column": 17 } } @@ -144537,15 +145638,15 @@ "updateContext": null }, "value": "Destroyed plugin", - "start": 14984, - "end": 15002, + "start": 14840, + "end": 14858, "loc": { "start": { - "line": 421, + "line": 416, "column": 17 }, "end": { - "line": 421, + "line": 416, "column": 35 } } @@ -144562,15 +145663,15 @@ "postfix": false, "binop": null }, - "start": 15002, - "end": 15003, + "start": 14858, + "end": 14859, "loc": { "start": { - "line": 421, + "line": 416, "column": 35 }, "end": { - "line": 421, + "line": 416, "column": 36 } } @@ -144588,15 +145689,15 @@ "binop": null, "updateContext": null }, - "start": 15003, - "end": 15004, + "start": 14859, + "end": 14860, "loc": { "start": { - "line": 421, + "line": 416, "column": 36 }, "end": { - "line": 421, + "line": 416, "column": 37 } } @@ -144613,15 +145714,15 @@ "postfix": false, "binop": null }, - "start": 15009, - "end": 15010, + "start": 14865, + "end": 14866, "loc": { "start": { - "line": 422, + "line": 417, "column": 4 }, "end": { - "line": 422, + "line": 417, "column": 5 } } @@ -144629,15 +145730,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15016, - "end": 15141, + "start": 14872, + "end": 14997, "loc": { "start": { - "line": 424, + "line": 419, "column": 4 }, "end": { - "line": 428, + "line": 423, "column": 7 } } @@ -144655,15 +145756,15 @@ "binop": null }, "value": "isDestroyed", - "start": 15146, - "end": 15157, + "start": 15002, + "end": 15013, "loc": { "start": { - "line": 429, + "line": 424, "column": 4 }, "end": { - "line": 429, + "line": 424, "column": 15 } } @@ -144680,15 +145781,15 @@ "postfix": false, "binop": null }, - "start": 15157, - "end": 15158, + "start": 15013, + "end": 15014, "loc": { "start": { - "line": 429, + "line": 424, "column": 15 }, "end": { - "line": 429, + "line": 424, "column": 16 } } @@ -144705,15 +145806,15 @@ "postfix": false, "binop": null }, - "start": 15158, - "end": 15159, + "start": 15014, + "end": 15015, "loc": { "start": { - "line": 429, + "line": 424, "column": 16 }, "end": { - "line": 429, + "line": 424, "column": 17 } } @@ -144730,15 +145831,15 @@ "postfix": false, "binop": null }, - "start": 15160, - "end": 15161, + "start": 15016, + "end": 15017, "loc": { "start": { - "line": 429, + "line": 424, "column": 18 }, "end": { - "line": 429, + "line": 424, "column": 19 } } @@ -144758,15 +145859,15 @@ "updateContext": null }, "value": "return", - "start": 15170, - "end": 15176, + "start": 15026, + "end": 15032, "loc": { "start": { - "line": 430, + "line": 425, "column": 8 }, "end": { - "line": 430, + "line": 425, "column": 14 } } @@ -144786,15 +145887,15 @@ "updateContext": null }, "value": "this", - "start": 15177, - "end": 15181, + "start": 15033, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 425, "column": 15 }, "end": { - "line": 430, + "line": 425, "column": 19 } } @@ -144812,15 +145913,15 @@ "binop": null, "updateContext": null }, - "start": 15181, - "end": 15182, + "start": 15037, + "end": 15038, "loc": { "start": { - "line": 430, + "line": 425, "column": 19 }, "end": { - "line": 430, + "line": 425, "column": 20 } } @@ -144838,15 +145939,15 @@ "binop": null }, "value": "player", - "start": 15182, - "end": 15188, + "start": 15038, + "end": 15044, "loc": { "start": { - "line": 430, + "line": 425, "column": 20 }, "end": { - "line": 430, + "line": 425, "column": 26 } } @@ -144865,15 +145966,15 @@ "updateContext": null }, "value": "&&", - "start": 15189, - "end": 15191, + "start": 15045, + "end": 15047, "loc": { "start": { - "line": 430, + "line": 425, "column": 27 }, "end": { - "line": 430, + "line": 425, "column": 29 } } @@ -144890,15 +145991,15 @@ "postfix": false, "binop": null }, - "start": 15192, - "end": 15193, + "start": 15048, + "end": 15049, "loc": { "start": { - "line": 430, + "line": 425, "column": 30 }, "end": { - "line": 430, + "line": 425, "column": 31 } } @@ -144918,15 +146019,15 @@ "updateContext": null }, "value": "this", - "start": 15193, - "end": 15197, + "start": 15049, + "end": 15053, "loc": { "start": { - "line": 430, + "line": 425, "column": 31 }, "end": { - "line": 430, + "line": 425, "column": 35 } } @@ -144944,15 +146045,15 @@ "binop": null, "updateContext": null }, - "start": 15197, - "end": 15198, + "start": 15053, + "end": 15054, "loc": { "start": { - "line": 430, + "line": 425, "column": 35 }, "end": { - "line": 430, + "line": 425, "column": 36 } } @@ -144970,15 +146071,15 @@ "binop": null }, "value": "player", - "start": 15198, - "end": 15204, + "start": 15054, + "end": 15060, "loc": { "start": { - "line": 430, + "line": 425, "column": 36 }, "end": { - "line": 430, + "line": 425, "column": 42 } } @@ -144996,15 +146097,15 @@ "binop": null, "updateContext": null }, - "start": 15204, - "end": 15205, + "start": 15060, + "end": 15061, "loc": { "start": { - "line": 430, + "line": 425, "column": 42 }, "end": { - "line": 430, + "line": 425, "column": 43 } } @@ -145022,15 +146123,15 @@ "binop": null }, "value": "children", - "start": 15205, - "end": 15213, + "start": 15061, + "end": 15069, "loc": { "start": { - "line": 430, + "line": 425, "column": 43 }, "end": { - "line": 430, + "line": 425, "column": 51 } } @@ -145047,15 +146148,15 @@ "postfix": false, "binop": null }, - "start": 15213, - "end": 15214, + "start": 15069, + "end": 15070, "loc": { "start": { - "line": 430, + "line": 425, "column": 51 }, "end": { - "line": 430, + "line": 425, "column": 52 } } @@ -145072,15 +146173,15 @@ "postfix": false, "binop": null }, - "start": 15214, - "end": 15215, + "start": 15070, + "end": 15071, "loc": { "start": { - "line": 430, + "line": 425, "column": 52 }, "end": { - "line": 430, + "line": 425, "column": 53 } } @@ -145099,15 +146200,15 @@ "updateContext": null }, "value": "===", - "start": 15216, - "end": 15219, + "start": 15072, + "end": 15075, "loc": { "start": { - "line": 430, + "line": 425, "column": 54 }, "end": { - "line": 430, + "line": 425, "column": 57 } } @@ -145127,15 +146228,15 @@ "updateContext": null }, "value": "null", - "start": 15220, - "end": 15224, + "start": 15076, + "end": 15080, "loc": { "start": { - "line": 430, + "line": 425, "column": 58 }, "end": { - "line": 430, + "line": 425, "column": 62 } } @@ -145152,15 +146253,15 @@ "postfix": false, "binop": null }, - "start": 15224, - "end": 15225, + "start": 15080, + "end": 15081, "loc": { "start": { - "line": 430, + "line": 425, "column": 62 }, "end": { - "line": 430, + "line": 425, "column": 63 } } @@ -145178,15 +146279,15 @@ "binop": null, "updateContext": null }, - "start": 15225, - "end": 15226, + "start": 15081, + "end": 15082, "loc": { "start": { - "line": 430, + "line": 425, "column": 63 }, "end": { - "line": 430, + "line": 425, "column": 64 } } @@ -145203,15 +146304,15 @@ "postfix": false, "binop": null }, - "start": 15231, - "end": 15232, + "start": 15087, + "end": 15088, "loc": { "start": { - "line": 431, + "line": 426, "column": 4 }, "end": { - "line": 431, + "line": 426, "column": 5 } } @@ -145219,15 +146320,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15238, - "end": 15288, + "start": 15094, + "end": 15144, "loc": { "start": { - "line": 433, + "line": 428, "column": 4 }, "end": { - "line": 435, + "line": 430, "column": 7 } } @@ -145245,15 +146346,15 @@ "binop": null }, "value": "destroy", - "start": 15293, - "end": 15300, + "start": 15149, + "end": 15156, "loc": { "start": { - "line": 436, + "line": 431, "column": 4 }, "end": { - "line": 436, + "line": 431, "column": 11 } } @@ -145270,15 +146371,15 @@ "postfix": false, "binop": null }, - "start": 15300, - "end": 15301, + "start": 15156, + "end": 15157, "loc": { "start": { - "line": 436, + "line": 431, "column": 11 }, "end": { - "line": 436, + "line": 431, "column": 12 } } @@ -145295,15 +146396,15 @@ "postfix": false, "binop": null }, - "start": 15301, - "end": 15302, + "start": 15157, + "end": 15158, "loc": { "start": { - "line": 436, + "line": 431, "column": 12 }, "end": { - "line": 436, + "line": 431, "column": 13 } } @@ -145320,15 +146421,15 @@ "postfix": false, "binop": null }, - "start": 15303, - "end": 15304, + "start": 15159, + "end": 15160, "loc": { "start": { - "line": 436, + "line": 431, "column": 14 }, "end": { - "line": 436, + "line": 431, "column": 15 } } @@ -145348,15 +146449,15 @@ "updateContext": null }, "value": "this", - "start": 15313, - "end": 15317, + "start": 15169, + "end": 15173, "loc": { "start": { - "line": 437, + "line": 432, "column": 8 }, "end": { - "line": 437, + "line": 432, "column": 12 } } @@ -145374,15 +146475,15 @@ "binop": null, "updateContext": null }, - "start": 15317, - "end": 15318, + "start": 15173, + "end": 15174, "loc": { "start": { - "line": 437, + "line": 432, "column": 12 }, "end": { - "line": 437, + "line": 432, "column": 13 } } @@ -145400,15 +146501,15 @@ "binop": null }, "value": "player", - "start": 15318, - "end": 15324, + "start": 15174, + "end": 15180, "loc": { "start": { - "line": 437, + "line": 432, "column": 13 }, "end": { - "line": 437, + "line": 432, "column": 19 } } @@ -145426,15 +146527,15 @@ "binop": null, "updateContext": null }, - "start": 15324, - "end": 15325, + "start": 15180, + "end": 15181, "loc": { "start": { - "line": 437, + "line": 432, "column": 19 }, "end": { - "line": 437, + "line": 432, "column": 20 } } @@ -145452,15 +146553,15 @@ "binop": null }, "value": "dispose", - "start": 15325, - "end": 15332, + "start": 15181, + "end": 15188, "loc": { "start": { - "line": 437, + "line": 432, "column": 20 }, "end": { - "line": 437, + "line": 432, "column": 27 } } @@ -145477,15 +146578,15 @@ "postfix": false, "binop": null }, - "start": 15332, - "end": 15333, + "start": 15188, + "end": 15189, "loc": { "start": { - "line": 437, + "line": 432, "column": 27 }, "end": { - "line": 437, + "line": 432, "column": 28 } } @@ -145502,15 +146603,15 @@ "postfix": false, "binop": null }, - "start": 15333, - "end": 15334, + "start": 15189, + "end": 15190, "loc": { "start": { - "line": 437, + "line": 432, "column": 28 }, "end": { - "line": 437, + "line": 432, "column": 29 } } @@ -145528,15 +146629,15 @@ "binop": null, "updateContext": null }, - "start": 15334, - "end": 15335, + "start": 15190, + "end": 15191, "loc": { "start": { - "line": 437, + "line": 432, "column": 29 }, "end": { - "line": 437, + "line": 432, "column": 30 } } @@ -145553,15 +146654,15 @@ "postfix": false, "binop": null }, - "start": 15340, - "end": 15341, + "start": 15196, + "end": 15197, "loc": { "start": { - "line": 438, + "line": 433, "column": 4 }, "end": { - "line": 438, + "line": 433, "column": 5 } } @@ -145569,15 +146670,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15347, - "end": 15448, + "start": 15203, + "end": 15304, "loc": { "start": { - "line": 440, + "line": 435, "column": 4 }, "end": { - "line": 444, + "line": 439, "column": 7 } } @@ -145595,15 +146696,15 @@ "binop": null }, "value": "setVolume", - "start": 15453, - "end": 15462, + "start": 15309, + "end": 15318, "loc": { "start": { - "line": 445, + "line": 440, "column": 4 }, "end": { - "line": 445, + "line": 440, "column": 13 } } @@ -145620,15 +146721,15 @@ "postfix": false, "binop": null }, - "start": 15462, - "end": 15463, + "start": 15318, + "end": 15319, "loc": { "start": { - "line": 445, + "line": 440, "column": 13 }, "end": { - "line": 445, + "line": 440, "column": 14 } } @@ -145646,15 +146747,15 @@ "binop": null }, "value": "volume", - "start": 15463, - "end": 15469, + "start": 15319, + "end": 15325, "loc": { "start": { - "line": 445, + "line": 440, "column": 14 }, "end": { - "line": 445, + "line": 440, "column": 20 } } @@ -145671,15 +146772,15 @@ "postfix": false, "binop": null }, - "start": 15469, - "end": 15470, + "start": 15325, + "end": 15326, "loc": { "start": { - "line": 445, + "line": 440, "column": 20 }, "end": { - "line": 445, + "line": 440, "column": 21 } } @@ -145696,15 +146797,15 @@ "postfix": false, "binop": null }, - "start": 15471, - "end": 15472, + "start": 15327, + "end": 15328, "loc": { "start": { - "line": 445, + "line": 440, "column": 22 }, "end": { - "line": 445, + "line": 440, "column": 23 } } @@ -145724,15 +146825,15 @@ "updateContext": null }, "value": "if", - "start": 15481, - "end": 15483, + "start": 15337, + "end": 15339, "loc": { "start": { - "line": 446, + "line": 441, "column": 8 }, "end": { - "line": 446, + "line": 441, "column": 10 } } @@ -145749,15 +146850,15 @@ "postfix": false, "binop": null }, - "start": 15484, - "end": 15485, + "start": 15340, + "end": 15341, "loc": { "start": { - "line": 446, + "line": 441, "column": 11 }, "end": { - "line": 446, + "line": 441, "column": 12 } } @@ -145775,15 +146876,15 @@ "binop": null }, "value": "volume", - "start": 15485, - "end": 15491, + "start": 15341, + "end": 15347, "loc": { "start": { - "line": 446, + "line": 441, "column": 12 }, "end": { - "line": 446, + "line": 441, "column": 18 } } @@ -145802,15 +146903,15 @@ "updateContext": null }, "value": "!==", - "start": 15492, - "end": 15495, + "start": 15348, + "end": 15351, "loc": { "start": { - "line": 446, + "line": 441, "column": 19 }, "end": { - "line": 446, + "line": 441, "column": 22 } } @@ -145828,15 +146929,15 @@ "binop": null }, "value": "undefined", - "start": 15496, - "end": 15505, + "start": 15352, + "end": 15361, "loc": { "start": { - "line": 446, + "line": 441, "column": 23 }, "end": { - "line": 446, + "line": 441, "column": 32 } } @@ -145853,15 +146954,15 @@ "postfix": false, "binop": null }, - "start": 15505, - "end": 15506, + "start": 15361, + "end": 15362, "loc": { "start": { - "line": 446, + "line": 441, "column": 32 }, "end": { - "line": 446, + "line": 441, "column": 33 } } @@ -145878,15 +146979,15 @@ "postfix": false, "binop": null }, - "start": 15507, - "end": 15508, + "start": 15363, + "end": 15364, "loc": { "start": { - "line": 446, + "line": 441, "column": 34 }, "end": { - "line": 446, + "line": 441, "column": 35 } } @@ -145906,15 +147007,15 @@ "updateContext": null }, "value": "this", - "start": 15521, - "end": 15525, + "start": 15377, + "end": 15381, "loc": { "start": { - "line": 447, + "line": 442, "column": 12 }, "end": { - "line": 447, + "line": 442, "column": 16 } } @@ -145932,15 +147033,15 @@ "binop": null, "updateContext": null }, - "start": 15525, - "end": 15526, + "start": 15381, + "end": 15382, "loc": { "start": { - "line": 447, + "line": 442, "column": 16 }, "end": { - "line": 447, + "line": 442, "column": 17 } } @@ -145958,15 +147059,15 @@ "binop": null }, "value": "log", - "start": 15526, - "end": 15529, + "start": 15382, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 442, "column": 17 }, "end": { - "line": 447, + "line": 442, "column": 20 } } @@ -145983,15 +147084,15 @@ "postfix": false, "binop": null }, - "start": 15529, - "end": 15530, + "start": 15385, + "end": 15386, "loc": { "start": { - "line": 447, + "line": 442, "column": 20 }, "end": { - "line": 447, + "line": 442, "column": 21 } } @@ -146010,15 +147111,15 @@ "updateContext": null }, "value": "Changing volume to: ", - "start": 15530, - "end": 15552, + "start": 15386, + "end": 15408, "loc": { "start": { - "line": 447, + "line": 442, "column": 21 }, "end": { - "line": 447, + "line": 442, "column": 43 } } @@ -146037,15 +147138,15 @@ "updateContext": null }, "value": "+", - "start": 15553, - "end": 15554, + "start": 15409, + "end": 15410, "loc": { "start": { - "line": 447, + "line": 442, "column": 44 }, "end": { - "line": 447, + "line": 442, "column": 45 } } @@ -146063,15 +147164,15 @@ "binop": null }, "value": "volume", - "start": 15555, - "end": 15561, + "start": 15411, + "end": 15417, "loc": { "start": { - "line": 447, + "line": 442, "column": 46 }, "end": { - "line": 447, + "line": 442, "column": 52 } } @@ -146088,15 +147189,15 @@ "postfix": false, "binop": null }, - "start": 15561, - "end": 15562, + "start": 15417, + "end": 15418, "loc": { "start": { - "line": 447, + "line": 442, "column": 52 }, "end": { - "line": 447, + "line": 442, "column": 53 } } @@ -146114,15 +147215,15 @@ "binop": null, "updateContext": null }, - "start": 15562, - "end": 15563, + "start": 15418, + "end": 15419, "loc": { "start": { - "line": 447, + "line": 442, "column": 53 }, "end": { - "line": 447, + "line": 442, "column": 54 } } @@ -146130,15 +147231,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15577, - "end": 15600, + "start": 15433, + "end": 15456, "loc": { "start": { - "line": 449, + "line": 444, "column": 12 }, "end": { - "line": 449, + "line": 444, "column": 35 } } @@ -146158,15 +147259,15 @@ "updateContext": null }, "value": "this", - "start": 15613, - "end": 15617, + "start": 15469, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 445, "column": 12 }, "end": { - "line": 450, + "line": 445, "column": 16 } } @@ -146184,15 +147285,15 @@ "binop": null, "updateContext": null }, - "start": 15617, - "end": 15618, + "start": 15473, + "end": 15474, "loc": { "start": { - "line": 450, + "line": 445, "column": 16 }, "end": { - "line": 450, + "line": 445, "column": 17 } } @@ -146210,15 +147311,15 @@ "binop": null }, "value": "player", - "start": 15618, - "end": 15624, + "start": 15474, + "end": 15480, "loc": { "start": { - "line": 450, + "line": 445, "column": 17 }, "end": { - "line": 450, + "line": 445, "column": 23 } } @@ -146236,15 +147337,15 @@ "binop": null, "updateContext": null }, - "start": 15624, - "end": 15625, + "start": 15480, + "end": 15481, "loc": { "start": { - "line": 450, + "line": 445, "column": 23 }, "end": { - "line": 450, + "line": 445, "column": 24 } } @@ -146262,15 +147363,15 @@ "binop": null }, "value": "volume", - "start": 15625, - "end": 15631, + "start": 15481, + "end": 15487, "loc": { "start": { - "line": 450, + "line": 445, "column": 24 }, "end": { - "line": 450, + "line": 445, "column": 30 } } @@ -146287,15 +147388,15 @@ "postfix": false, "binop": null }, - "start": 15631, - "end": 15632, + "start": 15487, + "end": 15488, "loc": { "start": { - "line": 450, + "line": 445, "column": 30 }, "end": { - "line": 450, + "line": 445, "column": 31 } } @@ -146313,15 +147414,15 @@ "binop": null }, "value": "volume", - "start": 15632, - "end": 15638, + "start": 15488, + "end": 15494, "loc": { "start": { - "line": 450, + "line": 445, "column": 31 }, "end": { - "line": 450, + "line": 445, "column": 37 } } @@ -146338,15 +147439,15 @@ "postfix": false, "binop": null }, - "start": 15638, - "end": 15639, + "start": 15494, + "end": 15495, "loc": { "start": { - "line": 450, + "line": 445, "column": 37 }, "end": { - "line": 450, + "line": 445, "column": 38 } } @@ -146364,15 +147465,15 @@ "binop": null, "updateContext": null }, - "start": 15639, - "end": 15640, + "start": 15495, + "end": 15496, "loc": { "start": { - "line": 450, + "line": 445, "column": 38 }, "end": { - "line": 450, + "line": 445, "column": 39 } } @@ -146389,15 +147490,15 @@ "postfix": false, "binop": null }, - "start": 15649, - "end": 15650, + "start": 15505, + "end": 15506, "loc": { "start": { - "line": 451, + "line": 446, "column": 8 }, "end": { - "line": 451, + "line": 446, "column": 9 } } @@ -146414,15 +147515,15 @@ "postfix": false, "binop": null }, - "start": 15655, - "end": 15656, + "start": 15511, + "end": 15512, "loc": { "start": { - "line": 452, + "line": 447, "column": 4 }, "end": { - "line": 452, + "line": 447, "column": 5 } } @@ -146430,15 +147531,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n ", - "start": 15662, - "end": 16131, + "start": 15518, + "end": 15987, "loc": { "start": { - "line": 454, + "line": 449, "column": 4 }, "end": { - "line": 464, + "line": 459, "column": 7 } } @@ -146456,15 +147557,15 @@ "binop": null }, "value": "exportImage", - "start": 16136, - "end": 16147, + "start": 15992, + "end": 16003, "loc": { "start": { - "line": 465, + "line": 460, "column": 4 }, "end": { - "line": 465, + "line": 460, "column": 15 } } @@ -146481,15 +147582,15 @@ "postfix": false, "binop": null }, - "start": 16147, - "end": 16148, + "start": 16003, + "end": 16004, "loc": { "start": { - "line": 465, + "line": 460, "column": 15 }, "end": { - "line": 465, + "line": 460, "column": 16 } } @@ -146507,15 +147608,15 @@ "binop": null }, "value": "format", - "start": 16148, - "end": 16154, + "start": 16004, + "end": 16010, "loc": { "start": { - "line": 465, + "line": 460, "column": 16 }, "end": { - "line": 465, + "line": 460, "column": 22 } } @@ -146533,15 +147634,15 @@ "binop": null, "updateContext": null }, - "start": 16154, - "end": 16155, + "start": 16010, + "end": 16011, "loc": { "start": { - "line": 465, + "line": 460, "column": 22 }, "end": { - "line": 465, + "line": 460, "column": 23 } } @@ -146559,15 +147660,15 @@ "binop": null }, "value": "quality", - "start": 16156, - "end": 16163, + "start": 16012, + "end": 16019, "loc": { "start": { - "line": 465, + "line": 460, "column": 24 }, "end": { - "line": 465, + "line": 460, "column": 31 } } @@ -146584,15 +147685,15 @@ "postfix": false, "binop": null }, - "start": 16163, - "end": 16164, + "start": 16019, + "end": 16020, "loc": { "start": { - "line": 465, + "line": 460, "column": 31 }, "end": { - "line": 465, + "line": 460, "column": 32 } } @@ -146609,15 +147710,15 @@ "postfix": false, "binop": null }, - "start": 16165, - "end": 16166, + "start": 16021, + "end": 16022, "loc": { "start": { - "line": 465, + "line": 460, "column": 33 }, "end": { - "line": 465, + "line": 460, "column": 34 } } @@ -146637,15 +147738,15 @@ "updateContext": null }, "value": "return", - "start": 16175, - "end": 16181, + "start": 16031, + "end": 16037, "loc": { "start": { - "line": 466, + "line": 461, "column": 8 }, "end": { - "line": 466, + "line": 461, "column": 14 } } @@ -146665,15 +147766,15 @@ "updateContext": null }, "value": "this", - "start": 16182, - "end": 16186, + "start": 16038, + "end": 16042, "loc": { "start": { - "line": 466, + "line": 461, "column": 15 }, "end": { - "line": 466, + "line": 461, "column": 19 } } @@ -146691,15 +147792,15 @@ "binop": null, "updateContext": null }, - "start": 16186, - "end": 16187, + "start": 16042, + "end": 16043, "loc": { "start": { - "line": 466, + "line": 461, "column": 19 }, "end": { - "line": 466, + "line": 461, "column": 20 } } @@ -146717,15 +147818,15 @@ "binop": null }, "value": "surfer", - "start": 16187, - "end": 16193, + "start": 16043, + "end": 16049, "loc": { "start": { - "line": 466, + "line": 461, "column": 20 }, "end": { - "line": 466, + "line": 461, "column": 26 } } @@ -146743,15 +147844,15 @@ "binop": null, "updateContext": null }, - "start": 16193, - "end": 16194, + "start": 16049, + "end": 16050, "loc": { "start": { - "line": 466, + "line": 461, "column": 26 }, "end": { - "line": 466, + "line": 461, "column": 27 } } @@ -146769,15 +147870,15 @@ "binop": null }, "value": "exportImage", - "start": 16194, - "end": 16205, + "start": 16050, + "end": 16061, "loc": { "start": { - "line": 466, + "line": 461, "column": 27 }, "end": { - "line": 466, + "line": 461, "column": 38 } } @@ -146794,15 +147895,15 @@ "postfix": false, "binop": null }, - "start": 16205, - "end": 16206, + "start": 16061, + "end": 16062, "loc": { "start": { - "line": 466, + "line": 461, "column": 38 }, "end": { - "line": 466, + "line": 461, "column": 39 } } @@ -146820,15 +147921,15 @@ "binop": null }, "value": "format", - "start": 16206, - "end": 16212, + "start": 16062, + "end": 16068, "loc": { "start": { - "line": 466, + "line": 461, "column": 39 }, "end": { - "line": 466, + "line": 461, "column": 45 } } @@ -146846,15 +147947,15 @@ "binop": null, "updateContext": null }, - "start": 16212, - "end": 16213, + "start": 16068, + "end": 16069, "loc": { "start": { - "line": 466, + "line": 461, "column": 45 }, "end": { - "line": 466, + "line": 461, "column": 46 } } @@ -146872,15 +147973,15 @@ "binop": null }, "value": "quality", - "start": 16214, - "end": 16221, + "start": 16070, + "end": 16077, "loc": { "start": { - "line": 466, + "line": 461, "column": 47 }, "end": { - "line": 466, + "line": 461, "column": 54 } } @@ -146897,15 +147998,15 @@ "postfix": false, "binop": null }, - "start": 16221, - "end": 16222, + "start": 16077, + "end": 16078, "loc": { "start": { - "line": 466, + "line": 461, "column": 54 }, "end": { - "line": 466, + "line": 461, "column": 55 } } @@ -146923,15 +148024,15 @@ "binop": null, "updateContext": null }, - "start": 16222, - "end": 16223, + "start": 16078, + "end": 16079, "loc": { "start": { - "line": 466, + "line": 461, "column": 55 }, "end": { - "line": 466, + "line": 461, "column": 56 } } @@ -146948,15 +148049,15 @@ "postfix": false, "binop": null }, - "start": 16228, - "end": 16229, + "start": 16084, + "end": 16085, "loc": { "start": { - "line": 467, + "line": 462, "column": 4 }, "end": { - "line": 467, + "line": 462, "column": 5 } } @@ -146964,15 +148065,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16235, - "end": 16353, + "start": 16091, + "end": 16209, "loc": { "start": { - "line": 469, + "line": 464, "column": 4 }, "end": { - "line": 473, + "line": 468, "column": 7 } } @@ -146990,15 +148091,15 @@ "binop": null }, "value": "setAudioOutput", - "start": 16358, - "end": 16372, + "start": 16214, + "end": 16228, "loc": { "start": { - "line": 474, + "line": 469, "column": 4 }, "end": { - "line": 474, + "line": 469, "column": 18 } } @@ -147015,15 +148116,15 @@ "postfix": false, "binop": null }, - "start": 16372, - "end": 16373, + "start": 16228, + "end": 16229, "loc": { "start": { - "line": 474, + "line": 469, "column": 18 }, "end": { - "line": 474, + "line": 469, "column": 19 } } @@ -147041,15 +148142,15 @@ "binop": null }, "value": "deviceId", - "start": 16373, - "end": 16381, + "start": 16229, + "end": 16237, "loc": { "start": { - "line": 474, + "line": 469, "column": 19 }, "end": { - "line": 474, + "line": 469, "column": 27 } } @@ -147066,15 +148167,15 @@ "postfix": false, "binop": null }, - "start": 16381, - "end": 16382, + "start": 16237, + "end": 16238, "loc": { "start": { - "line": 474, + "line": 469, "column": 27 }, "end": { - "line": 474, + "line": 469, "column": 28 } } @@ -147091,15 +148192,15 @@ "postfix": false, "binop": null }, - "start": 16383, - "end": 16384, + "start": 16239, + "end": 16240, "loc": { "start": { - "line": 474, + "line": 469, "column": 29 }, "end": { - "line": 474, + "line": 469, "column": 30 } } @@ -147119,15 +148220,15 @@ "updateContext": null }, "value": "if", - "start": 16393, - "end": 16395, + "start": 16249, + "end": 16251, "loc": { "start": { - "line": 475, + "line": 470, "column": 8 }, "end": { - "line": 475, + "line": 470, "column": 10 } } @@ -147144,15 +148245,15 @@ "postfix": false, "binop": null }, - "start": 16396, - "end": 16397, + "start": 16252, + "end": 16253, "loc": { "start": { - "line": 475, + "line": 470, "column": 11 }, "end": { - "line": 475, + "line": 470, "column": 12 } } @@ -147170,15 +148271,15 @@ "binop": null }, "value": "deviceId", - "start": 16397, - "end": 16405, + "start": 16253, + "end": 16261, "loc": { "start": { - "line": 475, + "line": 470, "column": 12 }, "end": { - "line": 475, + "line": 470, "column": 20 } } @@ -147195,15 +148296,15 @@ "postfix": false, "binop": null }, - "start": 16405, - "end": 16406, + "start": 16261, + "end": 16262, "loc": { "start": { - "line": 475, + "line": 470, "column": 20 }, "end": { - "line": 475, + "line": 470, "column": 21 } } @@ -147220,15 +148321,15 @@ "postfix": false, "binop": null }, - "start": 16407, - "end": 16408, + "start": 16263, + "end": 16264, "loc": { "start": { - "line": 475, + "line": 470, "column": 22 }, "end": { - "line": 475, + "line": 470, "column": 23 } } @@ -147248,15 +148349,15 @@ "updateContext": null }, "value": "this", - "start": 16421, - "end": 16425, + "start": 16277, + "end": 16281, "loc": { "start": { - "line": 476, + "line": 471, "column": 12 }, "end": { - "line": 476, + "line": 471, "column": 16 } } @@ -147274,15 +148375,15 @@ "binop": null, "updateContext": null }, - "start": 16425, - "end": 16426, + "start": 16281, + "end": 16282, "loc": { "start": { - "line": 476, + "line": 471, "column": 16 }, "end": { - "line": 476, + "line": 471, "column": 17 } } @@ -147300,15 +148401,15 @@ "binop": null }, "value": "surfer", - "start": 16426, - "end": 16432, + "start": 16282, + "end": 16288, "loc": { "start": { - "line": 476, + "line": 471, "column": 17 }, "end": { - "line": 476, + "line": 471, "column": 23 } } @@ -147326,15 +148427,15 @@ "binop": null, "updateContext": null }, - "start": 16432, - "end": 16433, + "start": 16288, + "end": 16289, "loc": { "start": { - "line": 476, + "line": 471, "column": 23 }, "end": { - "line": 476, + "line": 471, "column": 24 } } @@ -147352,15 +148453,15 @@ "binop": null }, "value": "setSinkId", - "start": 16433, - "end": 16442, + "start": 16289, + "end": 16298, "loc": { "start": { - "line": 476, + "line": 471, "column": 24 }, "end": { - "line": 476, + "line": 471, "column": 33 } } @@ -147377,15 +148478,15 @@ "postfix": false, "binop": null }, - "start": 16442, - "end": 16443, + "start": 16298, + "end": 16299, "loc": { "start": { - "line": 476, + "line": 471, "column": 33 }, "end": { - "line": 476, + "line": 471, "column": 34 } } @@ -147403,15 +148504,15 @@ "binop": null }, "value": "deviceId", - "start": 16443, - "end": 16451, + "start": 16299, + "end": 16307, "loc": { "start": { - "line": 476, + "line": 471, "column": 34 }, "end": { - "line": 476, + "line": 471, "column": 42 } } @@ -147428,15 +148529,15 @@ "postfix": false, "binop": null }, - "start": 16451, - "end": 16452, + "start": 16307, + "end": 16308, "loc": { "start": { - "line": 476, + "line": 471, "column": 42 }, "end": { - "line": 476, + "line": 471, "column": 43 } } @@ -147454,15 +148555,15 @@ "binop": null, "updateContext": null }, - "start": 16452, - "end": 16453, + "start": 16308, + "end": 16309, "loc": { "start": { - "line": 476, + "line": 471, "column": 43 }, "end": { - "line": 476, + "line": 471, "column": 44 } } @@ -147480,15 +148581,15 @@ "binop": null }, "value": "then", - "start": 16453, - "end": 16457, + "start": 16309, + "end": 16313, "loc": { "start": { - "line": 476, + "line": 471, "column": 44 }, "end": { - "line": 476, + "line": 471, "column": 48 } } @@ -147505,15 +148606,15 @@ "postfix": false, "binop": null }, - "start": 16457, - "end": 16458, + "start": 16313, + "end": 16314, "loc": { "start": { - "line": 476, + "line": 471, "column": 48 }, "end": { - "line": 476, + "line": 471, "column": 49 } } @@ -147530,15 +148631,15 @@ "postfix": false, "binop": null }, - "start": 16458, - "end": 16459, + "start": 16314, + "end": 16315, "loc": { "start": { - "line": 476, + "line": 471, "column": 49 }, "end": { - "line": 476, + "line": 471, "column": 50 } } @@ -147556,15 +148657,15 @@ "binop": null }, "value": "result", - "start": 16459, - "end": 16465, + "start": 16315, + "end": 16321, "loc": { "start": { - "line": 476, + "line": 471, "column": 50 }, "end": { - "line": 476, + "line": 471, "column": 56 } } @@ -147581,15 +148682,15 @@ "postfix": false, "binop": null }, - "start": 16465, - "end": 16466, + "start": 16321, + "end": 16322, "loc": { "start": { - "line": 476, + "line": 471, "column": 56 }, "end": { - "line": 476, + "line": 471, "column": 57 } } @@ -147607,15 +148708,15 @@ "binop": null, "updateContext": null }, - "start": 16467, - "end": 16469, + "start": 16323, + "end": 16325, "loc": { "start": { - "line": 476, + "line": 471, "column": 58 }, "end": { - "line": 476, + "line": 471, "column": 60 } } @@ -147632,15 +148733,15 @@ "postfix": false, "binop": null }, - "start": 16470, - "end": 16471, + "start": 16326, + "end": 16327, "loc": { "start": { - "line": 476, + "line": 471, "column": 61 }, "end": { - "line": 476, + "line": 471, "column": 62 } } @@ -147648,15 +148749,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16488, - "end": 16507, + "start": 16344, + "end": 16363, "loc": { "start": { - "line": 477, + "line": 472, "column": 16 }, "end": { - "line": 477, + "line": 472, "column": 35 } } @@ -147676,15 +148777,15 @@ "updateContext": null }, "value": "this", - "start": 16524, - "end": 16528, + "start": 16380, + "end": 16384, "loc": { "start": { - "line": 478, + "line": 473, "column": 16 }, "end": { - "line": 478, + "line": 473, "column": 20 } } @@ -147702,15 +148803,15 @@ "binop": null, "updateContext": null }, - "start": 16528, - "end": 16529, + "start": 16384, + "end": 16385, "loc": { "start": { - "line": 478, + "line": 473, "column": 20 }, "end": { - "line": 478, + "line": 473, "column": 21 } } @@ -147728,15 +148829,15 @@ "binop": null }, "value": "player", - "start": 16529, - "end": 16535, + "start": 16385, + "end": 16391, "loc": { "start": { - "line": 478, + "line": 473, "column": 21 }, "end": { - "line": 478, + "line": 473, "column": 27 } } @@ -147754,15 +148855,15 @@ "binop": null, "updateContext": null }, - "start": 16535, - "end": 16536, + "start": 16391, + "end": 16392, "loc": { "start": { - "line": 478, + "line": 473, "column": 27 }, "end": { - "line": 478, + "line": 473, "column": 28 } } @@ -147780,15 +148881,15 @@ "binop": null }, "value": "trigger", - "start": 16536, - "end": 16543, + "start": 16392, + "end": 16399, "loc": { "start": { - "line": 478, + "line": 473, "column": 28 }, "end": { - "line": 478, + "line": 473, "column": 35 } } @@ -147805,15 +148906,15 @@ "postfix": false, "binop": null }, - "start": 16543, - "end": 16544, + "start": 16399, + "end": 16400, "loc": { "start": { - "line": 478, + "line": 473, "column": 35 }, "end": { - "line": 478, + "line": 473, "column": 36 } } @@ -147831,15 +148932,15 @@ "binop": null }, "value": "Event", - "start": 16544, - "end": 16549, + "start": 16400, + "end": 16405, "loc": { "start": { - "line": 478, + "line": 473, "column": 36 }, "end": { - "line": 478, + "line": 473, "column": 41 } } @@ -147857,15 +148958,15 @@ "binop": null, "updateContext": null }, - "start": 16549, - "end": 16550, + "start": 16405, + "end": 16406, "loc": { "start": { - "line": 478, + "line": 473, "column": 41 }, "end": { - "line": 478, + "line": 473, "column": 42 } } @@ -147883,15 +148984,15 @@ "binop": null }, "value": "AUDIO_OUTPUT_READY", - "start": 16550, - "end": 16568, + "start": 16406, + "end": 16424, "loc": { "start": { - "line": 478, + "line": 473, "column": 42 }, "end": { - "line": 478, + "line": 473, "column": 60 } } @@ -147908,15 +149009,15 @@ "postfix": false, "binop": null }, - "start": 16568, - "end": 16569, + "start": 16424, + "end": 16425, "loc": { "start": { - "line": 478, + "line": 473, "column": 60 }, "end": { - "line": 478, + "line": 473, "column": 61 } } @@ -147934,15 +149035,15 @@ "binop": null, "updateContext": null }, - "start": 16569, - "end": 16570, + "start": 16425, + "end": 16426, "loc": { "start": { - "line": 478, + "line": 473, "column": 61 }, "end": { - "line": 478, + "line": 473, "column": 62 } } @@ -147959,15 +149060,15 @@ "postfix": false, "binop": null }, - "start": 16583, - "end": 16584, + "start": 16439, + "end": 16440, "loc": { "start": { - "line": 479, + "line": 474, "column": 12 }, "end": { - "line": 479, + "line": 474, "column": 13 } } @@ -147984,15 +149085,15 @@ "postfix": false, "binop": null }, - "start": 16584, - "end": 16585, + "start": 16440, + "end": 16441, "loc": { "start": { - "line": 479, + "line": 474, "column": 13 }, "end": { - "line": 479, + "line": 474, "column": 14 } } @@ -148010,15 +149111,15 @@ "binop": null, "updateContext": null }, - "start": 16585, - "end": 16586, + "start": 16441, + "end": 16442, "loc": { "start": { - "line": 479, + "line": 474, "column": 14 }, "end": { - "line": 479, + "line": 474, "column": 15 } } @@ -148038,15 +149139,15 @@ "updateContext": null }, "value": "catch", - "start": 16586, - "end": 16591, + "start": 16442, + "end": 16447, "loc": { "start": { - "line": 479, + "line": 474, "column": 15 }, "end": { - "line": 479, + "line": 474, "column": 20 } } @@ -148063,15 +149164,15 @@ "postfix": false, "binop": null }, - "start": 16591, - "end": 16592, + "start": 16447, + "end": 16448, "loc": { "start": { - "line": 479, + "line": 474, "column": 20 }, "end": { - "line": 479, + "line": 474, "column": 21 } } @@ -148088,15 +149189,15 @@ "postfix": false, "binop": null }, - "start": 16592, - "end": 16593, + "start": 16448, + "end": 16449, "loc": { "start": { - "line": 479, + "line": 474, "column": 21 }, "end": { - "line": 479, + "line": 474, "column": 22 } } @@ -148114,15 +149215,15 @@ "binop": null }, "value": "err", - "start": 16593, - "end": 16596, + "start": 16449, + "end": 16452, "loc": { "start": { - "line": 479, + "line": 474, "column": 22 }, "end": { - "line": 479, + "line": 474, "column": 25 } } @@ -148139,15 +149240,15 @@ "postfix": false, "binop": null }, - "start": 16596, - "end": 16597, + "start": 16452, + "end": 16453, "loc": { "start": { - "line": 479, + "line": 474, "column": 25 }, "end": { - "line": 479, + "line": 474, "column": 26 } } @@ -148165,15 +149266,15 @@ "binop": null, "updateContext": null }, - "start": 16598, - "end": 16600, + "start": 16454, + "end": 16456, "loc": { "start": { - "line": 479, + "line": 474, "column": 27 }, "end": { - "line": 479, + "line": 474, "column": 29 } } @@ -148190,15 +149291,15 @@ "postfix": false, "binop": null }, - "start": 16601, - "end": 16602, + "start": 16457, + "end": 16458, "loc": { "start": { - "line": 479, + "line": 474, "column": 30 }, "end": { - "line": 479, + "line": 474, "column": 31 } } @@ -148206,15 +149307,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16619, - "end": 16638, + "start": 16475, + "end": 16494, "loc": { "start": { - "line": 480, + "line": 475, "column": 16 }, "end": { - "line": 480, + "line": 475, "column": 35 } } @@ -148234,15 +149335,15 @@ "updateContext": null }, "value": "this", - "start": 16655, - "end": 16659, + "start": 16511, + "end": 16515, "loc": { "start": { - "line": 481, + "line": 476, "column": 16 }, "end": { - "line": 481, + "line": 476, "column": 20 } } @@ -148260,15 +149361,15 @@ "binop": null, "updateContext": null }, - "start": 16659, - "end": 16660, + "start": 16515, + "end": 16516, "loc": { "start": { - "line": 481, + "line": 476, "column": 20 }, "end": { - "line": 481, + "line": 476, "column": 21 } } @@ -148286,15 +149387,15 @@ "binop": null }, "value": "player", - "start": 16660, - "end": 16666, + "start": 16516, + "end": 16522, "loc": { "start": { - "line": 481, + "line": 476, "column": 21 }, "end": { - "line": 481, + "line": 476, "column": 27 } } @@ -148312,15 +149413,15 @@ "binop": null, "updateContext": null }, - "start": 16666, - "end": 16667, + "start": 16522, + "end": 16523, "loc": { "start": { - "line": 481, + "line": 476, "column": 27 }, "end": { - "line": 481, + "line": 476, "column": 28 } } @@ -148338,15 +149439,15 @@ "binop": null }, "value": "trigger", - "start": 16667, - "end": 16674, + "start": 16523, + "end": 16530, "loc": { "start": { - "line": 481, + "line": 476, "column": 28 }, "end": { - "line": 481, + "line": 476, "column": 35 } } @@ -148363,15 +149464,15 @@ "postfix": false, "binop": null }, - "start": 16674, - "end": 16675, + "start": 16530, + "end": 16531, "loc": { "start": { - "line": 481, + "line": 476, "column": 35 }, "end": { - "line": 481, + "line": 476, "column": 36 } } @@ -148389,15 +149490,15 @@ "binop": null }, "value": "Event", - "start": 16675, - "end": 16680, + "start": 16531, + "end": 16536, "loc": { "start": { - "line": 481, + "line": 476, "column": 36 }, "end": { - "line": 481, + "line": 476, "column": 41 } } @@ -148415,15 +149516,15 @@ "binop": null, "updateContext": null }, - "start": 16680, - "end": 16681, + "start": 16536, + "end": 16537, "loc": { "start": { - "line": 481, + "line": 476, "column": 41 }, "end": { - "line": 481, + "line": 476, "column": 42 } } @@ -148441,15 +149542,15 @@ "binop": null }, "value": "ERROR", - "start": 16681, - "end": 16686, + "start": 16537, + "end": 16542, "loc": { "start": { - "line": 481, + "line": 476, "column": 42 }, "end": { - "line": 481, + "line": 476, "column": 47 } } @@ -148467,15 +149568,15 @@ "binop": null, "updateContext": null }, - "start": 16686, - "end": 16687, + "start": 16542, + "end": 16543, "loc": { "start": { - "line": 481, + "line": 476, "column": 47 }, "end": { - "line": 481, + "line": 476, "column": 48 } } @@ -148493,15 +149594,15 @@ "binop": null }, "value": "err", - "start": 16688, - "end": 16691, + "start": 16544, + "end": 16547, "loc": { "start": { - "line": 481, + "line": 476, "column": 49 }, "end": { - "line": 481, + "line": 476, "column": 52 } } @@ -148518,15 +149619,15 @@ "postfix": false, "binop": null }, - "start": 16691, - "end": 16692, + "start": 16547, + "end": 16548, "loc": { "start": { - "line": 481, + "line": 476, "column": 52 }, "end": { - "line": 481, + "line": 476, "column": 53 } } @@ -148544,15 +149645,15 @@ "binop": null, "updateContext": null }, - "start": 16692, - "end": 16693, + "start": 16548, + "end": 16549, "loc": { "start": { - "line": 481, + "line": 476, "column": 53 }, "end": { - "line": 481, + "line": 476, "column": 54 } } @@ -148572,15 +149673,15 @@ "updateContext": null }, "value": "this", - "start": 16711, - "end": 16715, + "start": 16567, + "end": 16571, "loc": { "start": { - "line": 483, + "line": 478, "column": 16 }, "end": { - "line": 483, + "line": 478, "column": 20 } } @@ -148598,15 +149699,15 @@ "binop": null, "updateContext": null }, - "start": 16715, - "end": 16716, + "start": 16571, + "end": 16572, "loc": { "start": { - "line": 483, + "line": 478, "column": 20 }, "end": { - "line": 483, + "line": 478, "column": 21 } } @@ -148624,15 +149725,15 @@ "binop": null }, "value": "log", - "start": 16716, - "end": 16719, + "start": 16572, + "end": 16575, "loc": { "start": { - "line": 483, + "line": 478, "column": 21 }, "end": { - "line": 483, + "line": 478, "column": 24 } } @@ -148649,15 +149750,15 @@ "postfix": false, "binop": null }, - "start": 16719, - "end": 16720, + "start": 16575, + "end": 16576, "loc": { "start": { - "line": 483, + "line": 478, "column": 24 }, "end": { - "line": 483, + "line": 478, "column": 25 } } @@ -148675,15 +149776,15 @@ "binop": null }, "value": "err", - "start": 16720, - "end": 16723, + "start": 16576, + "end": 16579, "loc": { "start": { - "line": 483, + "line": 478, "column": 25 }, "end": { - "line": 483, + "line": 478, "column": 28 } } @@ -148701,15 +149802,15 @@ "binop": null, "updateContext": null }, - "start": 16723, - "end": 16724, + "start": 16579, + "end": 16580, "loc": { "start": { - "line": 483, + "line": 478, "column": 28 }, "end": { - "line": 483, + "line": 478, "column": 29 } } @@ -148728,15 +149829,15 @@ "updateContext": null }, "value": "error", - "start": 16725, - "end": 16732, + "start": 16581, + "end": 16588, "loc": { "start": { - "line": 483, + "line": 478, "column": 30 }, "end": { - "line": 483, + "line": 478, "column": 37 } } @@ -148753,15 +149854,15 @@ "postfix": false, "binop": null }, - "start": 16732, - "end": 16733, + "start": 16588, + "end": 16589, "loc": { "start": { - "line": 483, + "line": 478, "column": 37 }, "end": { - "line": 483, + "line": 478, "column": 38 } } @@ -148779,15 +149880,15 @@ "binop": null, "updateContext": null }, - "start": 16733, - "end": 16734, + "start": 16589, + "end": 16590, "loc": { "start": { - "line": 483, + "line": 478, "column": 38 }, "end": { - "line": 483, + "line": 478, "column": 39 } } @@ -148804,15 +149905,15 @@ "postfix": false, "binop": null }, - "start": 16747, - "end": 16748, + "start": 16603, + "end": 16604, "loc": { "start": { - "line": 484, + "line": 479, "column": 12 }, "end": { - "line": 484, + "line": 479, "column": 13 } } @@ -148829,15 +149930,15 @@ "postfix": false, "binop": null }, - "start": 16748, - "end": 16749, + "start": 16604, + "end": 16605, "loc": { "start": { - "line": 484, + "line": 479, "column": 13 }, "end": { - "line": 484, + "line": 479, "column": 14 } } @@ -148855,15 +149956,15 @@ "binop": null, "updateContext": null }, - "start": 16749, - "end": 16750, + "start": 16605, + "end": 16606, "loc": { "start": { - "line": 484, + "line": 479, "column": 14 }, "end": { - "line": 484, + "line": 479, "column": 15 } } @@ -148880,15 +149981,15 @@ "postfix": false, "binop": null }, - "start": 16759, - "end": 16760, + "start": 16615, + "end": 16616, "loc": { "start": { - "line": 485, + "line": 480, "column": 8 }, "end": { - "line": 485, + "line": 480, "column": 9 } } @@ -148905,15 +150006,15 @@ "postfix": false, "binop": null }, - "start": 16765, - "end": 16766, + "start": 16621, + "end": 16622, "loc": { "start": { - "line": 486, + "line": 481, "column": 4 }, "end": { - "line": 486, + "line": 481, "column": 5 } } @@ -148921,15 +150022,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 16772, - "end": 16971, + "start": 16628, + "end": 16827, "loc": { "start": { - "line": 488, + "line": 483, "column": 4 }, "end": { - "line": 494, + "line": 489, "column": 7 } } @@ -148947,15 +150048,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 16976, - "end": 16990, + "start": 16832, + "end": 16846, "loc": { "start": { - "line": 495, + "line": 490, "column": 4 }, "end": { - "line": 495, + "line": 490, "column": 18 } } @@ -148972,15 +150073,15 @@ "postfix": false, "binop": null }, - "start": 16990, - "end": 16991, + "start": 16846, + "end": 16847, "loc": { "start": { - "line": 495, + "line": 490, "column": 18 }, "end": { - "line": 495, + "line": 490, "column": 19 } } @@ -148997,15 +150098,15 @@ "postfix": false, "binop": null }, - "start": 16991, - "end": 16992, + "start": 16847, + "end": 16848, "loc": { "start": { - "line": 495, + "line": 490, "column": 19 }, "end": { - "line": 495, + "line": 490, "column": 20 } } @@ -149022,15 +150123,15 @@ "postfix": false, "binop": null }, - "start": 16993, - "end": 16994, + "start": 16849, + "end": 16850, "loc": { "start": { - "line": 495, + "line": 490, "column": 21 }, "end": { - "line": 495, + "line": 490, "column": 22 } } @@ -149050,15 +150151,15 @@ "updateContext": null }, "value": "let", - "start": 17003, - "end": 17006, + "start": 16859, + "end": 16862, "loc": { "start": { - "line": 496, + "line": 491, "column": 8 }, "end": { - "line": 496, + "line": 491, "column": 11 } } @@ -149076,15 +150177,15 @@ "binop": null }, "value": "currentTime", - "start": 17007, - "end": 17018, + "start": 16863, + "end": 16874, "loc": { "start": { - "line": 496, + "line": 491, "column": 12 }, "end": { - "line": 496, + "line": 491, "column": 23 } } @@ -149103,15 +150204,15 @@ "updateContext": null }, "value": "=", - "start": 17019, - "end": 17020, + "start": 16875, + "end": 16876, "loc": { "start": { - "line": 496, + "line": 491, "column": 24 }, "end": { - "line": 496, + "line": 491, "column": 25 } } @@ -149131,15 +150232,15 @@ "updateContext": null }, "value": "this", - "start": 17021, - "end": 17025, + "start": 16877, + "end": 16881, "loc": { "start": { - "line": 496, + "line": 491, "column": 26 }, "end": { - "line": 496, + "line": 491, "column": 30 } } @@ -149157,15 +150258,15 @@ "binop": null, "updateContext": null }, - "start": 17025, - "end": 17026, + "start": 16881, + "end": 16882, "loc": { "start": { - "line": 496, + "line": 491, "column": 30 }, "end": { - "line": 496, + "line": 491, "column": 31 } } @@ -149183,15 +150284,15 @@ "binop": null }, "value": "surfer", - "start": 17026, - "end": 17032, + "start": 16882, + "end": 16888, "loc": { "start": { - "line": 496, + "line": 491, "column": 31 }, "end": { - "line": 496, + "line": 491, "column": 37 } } @@ -149209,15 +150310,15 @@ "binop": null, "updateContext": null }, - "start": 17032, - "end": 17033, + "start": 16888, + "end": 16889, "loc": { "start": { - "line": 496, + "line": 491, "column": 37 }, "end": { - "line": 496, + "line": 491, "column": 38 } } @@ -149235,15 +150336,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17033, - "end": 17047, + "start": 16889, + "end": 16903, "loc": { "start": { - "line": 496, + "line": 491, "column": 38 }, "end": { - "line": 496, + "line": 491, "column": 52 } } @@ -149260,15 +150361,15 @@ "postfix": false, "binop": null }, - "start": 17047, - "end": 17048, + "start": 16903, + "end": 16904, "loc": { "start": { - "line": 496, + "line": 491, "column": 52 }, "end": { - "line": 496, + "line": 491, "column": 53 } } @@ -149285,15 +150386,15 @@ "postfix": false, "binop": null }, - "start": 17048, - "end": 17049, + "start": 16904, + "end": 16905, "loc": { "start": { - "line": 496, + "line": 491, "column": 53 }, "end": { - "line": 496, + "line": 491, "column": 54 } } @@ -149311,15 +150412,15 @@ "binop": null, "updateContext": null }, - "start": 17049, - "end": 17050, + "start": 16905, + "end": 16906, "loc": { "start": { - "line": 496, + "line": 491, "column": 54 }, "end": { - "line": 496, + "line": 491, "column": 55 } } @@ -149337,15 +150438,15 @@ "binop": null }, "value": "currentTime", - "start": 17059, - "end": 17070, + "start": 16915, + "end": 16926, "loc": { "start": { - "line": 497, + "line": 492, "column": 8 }, "end": { - "line": 497, + "line": 492, "column": 19 } } @@ -149364,15 +150465,15 @@ "updateContext": null }, "value": "=", - "start": 17071, - "end": 17072, + "start": 16927, + "end": 16928, "loc": { "start": { - "line": 497, + "line": 492, "column": 20 }, "end": { - "line": 497, + "line": 492, "column": 21 } } @@ -149390,15 +150491,15 @@ "binop": null }, "value": "isNaN", - "start": 17073, - "end": 17078, + "start": 16929, + "end": 16934, "loc": { "start": { - "line": 497, + "line": 492, "column": 22 }, "end": { - "line": 497, + "line": 492, "column": 27 } } @@ -149415,15 +150516,15 @@ "postfix": false, "binop": null }, - "start": 17078, - "end": 17079, + "start": 16934, + "end": 16935, "loc": { "start": { - "line": 497, + "line": 492, "column": 27 }, "end": { - "line": 497, + "line": 492, "column": 28 } } @@ -149441,15 +150542,15 @@ "binop": null }, "value": "currentTime", - "start": 17079, - "end": 17090, + "start": 16935, + "end": 16946, "loc": { "start": { - "line": 497, + "line": 492, "column": 28 }, "end": { - "line": 497, + "line": 492, "column": 39 } } @@ -149466,15 +150567,15 @@ "postfix": false, "binop": null }, - "start": 17090, - "end": 17091, + "start": 16946, + "end": 16947, "loc": { "start": { - "line": 497, + "line": 492, "column": 39 }, "end": { - "line": 497, + "line": 492, "column": 40 } } @@ -149492,15 +150593,15 @@ "binop": null, "updateContext": null }, - "start": 17092, - "end": 17093, + "start": 16948, + "end": 16949, "loc": { "start": { - "line": 497, + "line": 492, "column": 41 }, "end": { - "line": 497, + "line": 492, "column": 42 } } @@ -149519,15 +150620,15 @@ "updateContext": null }, "value": 0, - "start": 17094, - "end": 17095, + "start": 16950, + "end": 16951, "loc": { "start": { - "line": 497, + "line": 492, "column": 43 }, "end": { - "line": 497, + "line": 492, "column": 44 } } @@ -149545,15 +150646,15 @@ "binop": null, "updateContext": null }, - "start": 17096, - "end": 17097, + "start": 16952, + "end": 16953, "loc": { "start": { - "line": 497, + "line": 492, "column": 45 }, "end": { - "line": 497, + "line": 492, "column": 46 } } @@ -149571,15 +150672,15 @@ "binop": null }, "value": "currentTime", - "start": 17098, - "end": 17109, + "start": 16954, + "end": 16965, "loc": { "start": { - "line": 497, + "line": 492, "column": 47 }, "end": { - "line": 497, + "line": 492, "column": 58 } } @@ -149597,15 +150698,15 @@ "binop": null, "updateContext": null }, - "start": 17109, - "end": 17110, + "start": 16965, + "end": 16966, "loc": { "start": { - "line": 497, + "line": 492, "column": 58 }, "end": { - "line": 497, + "line": 492, "column": 59 } } @@ -149625,15 +150726,15 @@ "updateContext": null }, "value": "return", - "start": 17120, - "end": 17126, + "start": 16976, + "end": 16982, "loc": { "start": { - "line": 499, + "line": 494, "column": 8 }, "end": { - "line": 499, + "line": 494, "column": 14 } } @@ -149651,15 +150752,15 @@ "binop": null }, "value": "currentTime", - "start": 17127, - "end": 17138, + "start": 16983, + "end": 16994, "loc": { "start": { - "line": 499, + "line": 494, "column": 15 }, "end": { - "line": 499, + "line": 494, "column": 26 } } @@ -149677,15 +150778,15 @@ "binop": null, "updateContext": null }, - "start": 17138, - "end": 17139, + "start": 16994, + "end": 16995, "loc": { "start": { - "line": 499, + "line": 494, "column": 26 }, "end": { - "line": 499, + "line": 494, "column": 27 } } @@ -149702,15 +150803,15 @@ "postfix": false, "binop": null }, - "start": 17144, - "end": 17145, + "start": 17000, + "end": 17001, "loc": { "start": { - "line": 500, + "line": 495, "column": 4 }, "end": { - "line": 500, + "line": 495, "column": 5 } } @@ -149718,15 +150819,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17151, - "end": 17422, + "start": 17007, + "end": 17278, "loc": { "start": { - "line": 502, + "line": 497, "column": 4 }, "end": { - "line": 509, + "line": 504, "column": 7 } } @@ -149744,15 +150845,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 17427, - "end": 17441, + "start": 17283, + "end": 17297, "loc": { "start": { - "line": 510, + "line": 505, "column": 4 }, "end": { - "line": 510, + "line": 505, "column": 18 } } @@ -149769,15 +150870,15 @@ "postfix": false, "binop": null }, - "start": 17441, - "end": 17442, + "start": 17297, + "end": 17298, "loc": { "start": { - "line": 510, + "line": 505, "column": 18 }, "end": { - "line": 510, + "line": 505, "column": 19 } } @@ -149795,15 +150896,15 @@ "binop": null }, "value": "currentTime", - "start": 17442, - "end": 17453, + "start": 17298, + "end": 17309, "loc": { "start": { - "line": 510, + "line": 505, "column": 19 }, "end": { - "line": 510, + "line": 505, "column": 30 } } @@ -149821,15 +150922,15 @@ "binop": null, "updateContext": null }, - "start": 17453, - "end": 17454, + "start": 17309, + "end": 17310, "loc": { "start": { - "line": 510, + "line": 505, "column": 30 }, "end": { - "line": 510, + "line": 505, "column": 31 } } @@ -149847,15 +150948,15 @@ "binop": null }, "value": "duration", - "start": 17455, - "end": 17463, + "start": 17311, + "end": 17319, "loc": { "start": { - "line": 510, + "line": 505, "column": 32 }, "end": { - "line": 510, + "line": 505, "column": 40 } } @@ -149872,15 +150973,15 @@ "postfix": false, "binop": null }, - "start": 17463, - "end": 17464, + "start": 17319, + "end": 17320, "loc": { "start": { - "line": 510, + "line": 505, "column": 40 }, "end": { - "line": 510, + "line": 505, "column": 41 } } @@ -149897,15 +150998,15 @@ "postfix": false, "binop": null }, - "start": 17465, - "end": 17466, + "start": 17321, + "end": 17322, "loc": { "start": { - "line": 510, + "line": 505, "column": 42 }, "end": { - "line": 510, + "line": 505, "column": 43 } } @@ -149925,15 +151026,15 @@ "updateContext": null }, "value": "if", - "start": 17475, - "end": 17477, + "start": 17331, + "end": 17333, "loc": { "start": { - "line": 511, + "line": 506, "column": 8 }, "end": { - "line": 511, + "line": 506, "column": 10 } } @@ -149950,15 +151051,15 @@ "postfix": false, "binop": null }, - "start": 17478, - "end": 17479, + "start": 17334, + "end": 17335, "loc": { "start": { - "line": 511, + "line": 506, "column": 11 }, "end": { - "line": 511, + "line": 506, "column": 12 } } @@ -149976,15 +151077,15 @@ "binop": null }, "value": "currentTime", - "start": 17479, - "end": 17490, + "start": 17335, + "end": 17346, "loc": { "start": { - "line": 511, + "line": 506, "column": 12 }, "end": { - "line": 511, + "line": 506, "column": 23 } } @@ -150003,15 +151104,15 @@ "updateContext": null }, "value": "===", - "start": 17491, - "end": 17494, + "start": 17347, + "end": 17350, "loc": { "start": { - "line": 511, + "line": 506, "column": 24 }, "end": { - "line": 511, + "line": 506, "column": 27 } } @@ -150029,15 +151130,15 @@ "binop": null }, "value": "undefined", - "start": 17495, - "end": 17504, + "start": 17351, + "end": 17360, "loc": { "start": { - "line": 511, + "line": 506, "column": 28 }, "end": { - "line": 511, + "line": 506, "column": 37 } } @@ -150054,15 +151155,15 @@ "postfix": false, "binop": null }, - "start": 17504, - "end": 17505, + "start": 17360, + "end": 17361, "loc": { "start": { - "line": 511, + "line": 506, "column": 37 }, "end": { - "line": 511, + "line": 506, "column": 38 } } @@ -150079,15 +151180,15 @@ "postfix": false, "binop": null }, - "start": 17506, - "end": 17507, + "start": 17362, + "end": 17363, "loc": { "start": { - "line": 511, + "line": 506, "column": 39 }, "end": { - "line": 511, + "line": 506, "column": 40 } } @@ -150105,15 +151206,15 @@ "binop": null }, "value": "currentTime", - "start": 17520, - "end": 17531, + "start": 17376, + "end": 17387, "loc": { "start": { - "line": 512, + "line": 507, "column": 12 }, "end": { - "line": 512, + "line": 507, "column": 23 } } @@ -150132,15 +151233,15 @@ "updateContext": null }, "value": "=", - "start": 17532, - "end": 17533, + "start": 17388, + "end": 17389, "loc": { "start": { - "line": 512, + "line": 507, "column": 24 }, "end": { - "line": 512, + "line": 507, "column": 25 } } @@ -150160,15 +151261,15 @@ "updateContext": null }, "value": "this", - "start": 17534, - "end": 17538, + "start": 17390, + "end": 17394, "loc": { "start": { - "line": 512, + "line": 507, "column": 26 }, "end": { - "line": 512, + "line": 507, "column": 30 } } @@ -150186,15 +151287,15 @@ "binop": null, "updateContext": null }, - "start": 17538, - "end": 17539, + "start": 17394, + "end": 17395, "loc": { "start": { - "line": 512, + "line": 507, "column": 30 }, "end": { - "line": 512, + "line": 507, "column": 31 } } @@ -150212,15 +151313,15 @@ "binop": null }, "value": "surfer", - "start": 17539, - "end": 17545, + "start": 17395, + "end": 17401, "loc": { "start": { - "line": 512, + "line": 507, "column": 31 }, "end": { - "line": 512, + "line": 507, "column": 37 } } @@ -150238,15 +151339,15 @@ "binop": null, "updateContext": null }, - "start": 17545, - "end": 17546, + "start": 17401, + "end": 17402, "loc": { "start": { - "line": 512, + "line": 507, "column": 37 }, "end": { - "line": 512, + "line": 507, "column": 38 } } @@ -150264,15 +151365,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17546, - "end": 17560, + "start": 17402, + "end": 17416, "loc": { "start": { - "line": 512, + "line": 507, "column": 38 }, "end": { - "line": 512, + "line": 507, "column": 52 } } @@ -150289,15 +151390,15 @@ "postfix": false, "binop": null }, - "start": 17560, - "end": 17561, + "start": 17416, + "end": 17417, "loc": { "start": { - "line": 512, + "line": 507, "column": 52 }, "end": { - "line": 512, + "line": 507, "column": 53 } } @@ -150314,15 +151415,15 @@ "postfix": false, "binop": null }, - "start": 17561, - "end": 17562, + "start": 17417, + "end": 17418, "loc": { "start": { - "line": 512, + "line": 507, "column": 53 }, "end": { - "line": 512, + "line": 507, "column": 54 } } @@ -150340,15 +151441,15 @@ "binop": null, "updateContext": null }, - "start": 17562, - "end": 17563, + "start": 17418, + "end": 17419, "loc": { "start": { - "line": 512, + "line": 507, "column": 54 }, "end": { - "line": 512, + "line": 507, "column": 55 } } @@ -150365,15 +151466,15 @@ "postfix": false, "binop": null }, - "start": 17572, - "end": 17573, + "start": 17428, + "end": 17429, "loc": { "start": { - "line": 513, + "line": 508, "column": 8 }, "end": { - "line": 513, + "line": 508, "column": 9 } } @@ -150393,15 +151494,15 @@ "updateContext": null }, "value": "if", - "start": 17583, - "end": 17585, + "start": 17439, + "end": 17441, "loc": { "start": { - "line": 515, + "line": 510, "column": 8 }, "end": { - "line": 515, + "line": 510, "column": 10 } } @@ -150418,15 +151519,15 @@ "postfix": false, "binop": null }, - "start": 17586, - "end": 17587, + "start": 17442, + "end": 17443, "loc": { "start": { - "line": 515, + "line": 510, "column": 11 }, "end": { - "line": 515, + "line": 510, "column": 12 } } @@ -150444,15 +151545,15 @@ "binop": null }, "value": "duration", - "start": 17587, - "end": 17595, + "start": 17443, + "end": 17451, "loc": { "start": { - "line": 515, + "line": 510, "column": 12 }, "end": { - "line": 515, + "line": 510, "column": 20 } } @@ -150471,15 +151572,15 @@ "updateContext": null }, "value": "===", - "start": 17596, - "end": 17599, + "start": 17452, + "end": 17455, "loc": { "start": { - "line": 515, + "line": 510, "column": 21 }, "end": { - "line": 515, + "line": 510, "column": 24 } } @@ -150497,15 +151598,15 @@ "binop": null }, "value": "undefined", - "start": 17600, - "end": 17609, + "start": 17456, + "end": 17465, "loc": { "start": { - "line": 515, + "line": 510, "column": 25 }, "end": { - "line": 515, + "line": 510, "column": 34 } } @@ -150522,15 +151623,15 @@ "postfix": false, "binop": null }, - "start": 17609, - "end": 17610, + "start": 17465, + "end": 17466, "loc": { "start": { - "line": 515, + "line": 510, "column": 34 }, "end": { - "line": 515, + "line": 510, "column": 35 } } @@ -150547,15 +151648,15 @@ "postfix": false, "binop": null }, - "start": 17611, - "end": 17612, + "start": 17467, + "end": 17468, "loc": { "start": { - "line": 515, + "line": 510, "column": 36 }, "end": { - "line": 515, + "line": 510, "column": 37 } } @@ -150573,15 +151674,15 @@ "binop": null }, "value": "duration", - "start": 17625, - "end": 17633, + "start": 17481, + "end": 17489, "loc": { "start": { - "line": 516, + "line": 511, "column": 12 }, "end": { - "line": 516, + "line": 511, "column": 20 } } @@ -150600,15 +151701,15 @@ "updateContext": null }, "value": "=", - "start": 17634, - "end": 17635, + "start": 17490, + "end": 17491, "loc": { "start": { - "line": 516, + "line": 511, "column": 21 }, "end": { - "line": 516, + "line": 511, "column": 22 } } @@ -150628,15 +151729,15 @@ "updateContext": null }, "value": "this", - "start": 17636, - "end": 17640, + "start": 17492, + "end": 17496, "loc": { "start": { - "line": 516, + "line": 511, "column": 23 }, "end": { - "line": 516, + "line": 511, "column": 27 } } @@ -150654,15 +151755,15 @@ "binop": null, "updateContext": null }, - "start": 17640, - "end": 17641, + "start": 17496, + "end": 17497, "loc": { "start": { - "line": 516, + "line": 511, "column": 27 }, "end": { - "line": 516, + "line": 511, "column": 28 } } @@ -150680,15 +151781,15 @@ "binop": null }, "value": "surfer", - "start": 17641, - "end": 17647, + "start": 17497, + "end": 17503, "loc": { "start": { - "line": 516, + "line": 511, "column": 28 }, "end": { - "line": 516, + "line": 511, "column": 34 } } @@ -150706,15 +151807,15 @@ "binop": null, "updateContext": null }, - "start": 17647, - "end": 17648, + "start": 17503, + "end": 17504, "loc": { "start": { - "line": 516, + "line": 511, "column": 34 }, "end": { - "line": 516, + "line": 511, "column": 35 } } @@ -150732,15 +151833,15 @@ "binop": null }, "value": "getDuration", - "start": 17648, - "end": 17659, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 516, + "line": 511, "column": 35 }, "end": { - "line": 516, + "line": 511, "column": 46 } } @@ -150757,15 +151858,15 @@ "postfix": false, "binop": null }, - "start": 17659, - "end": 17660, + "start": 17515, + "end": 17516, "loc": { "start": { - "line": 516, + "line": 511, "column": 46 }, "end": { - "line": 516, + "line": 511, "column": 47 } } @@ -150782,15 +151883,15 @@ "postfix": false, "binop": null }, - "start": 17660, - "end": 17661, + "start": 17516, + "end": 17517, "loc": { "start": { - "line": 516, + "line": 511, "column": 47 }, "end": { - "line": 516, + "line": 511, "column": 48 } } @@ -150808,15 +151909,15 @@ "binop": null, "updateContext": null }, - "start": 17661, - "end": 17662, + "start": 17517, + "end": 17518, "loc": { "start": { - "line": 516, + "line": 511, "column": 48 }, "end": { - "line": 516, + "line": 511, "column": 49 } } @@ -150833,15 +151934,15 @@ "postfix": false, "binop": null }, - "start": 17671, - "end": 17672, + "start": 17527, + "end": 17528, "loc": { "start": { - "line": 517, + "line": 512, "column": 8 }, "end": { - "line": 517, + "line": 512, "column": 9 } } @@ -150859,15 +151960,15 @@ "binop": null }, "value": "currentTime", - "start": 17682, - "end": 17693, + "start": 17538, + "end": 17549, "loc": { "start": { - "line": 519, + "line": 514, "column": 8 }, "end": { - "line": 519, + "line": 514, "column": 19 } } @@ -150886,15 +151987,15 @@ "updateContext": null }, "value": "=", - "start": 17694, - "end": 17695, + "start": 17550, + "end": 17551, "loc": { "start": { - "line": 519, + "line": 514, "column": 20 }, "end": { - "line": 519, + "line": 514, "column": 21 } } @@ -150912,15 +152013,15 @@ "binop": null }, "value": "isNaN", - "start": 17696, - "end": 17701, + "start": 17552, + "end": 17557, "loc": { "start": { - "line": 519, + "line": 514, "column": 22 }, "end": { - "line": 519, + "line": 514, "column": 27 } } @@ -150937,15 +152038,15 @@ "postfix": false, "binop": null }, - "start": 17701, - "end": 17702, + "start": 17557, + "end": 17558, "loc": { "start": { - "line": 519, + "line": 514, "column": 27 }, "end": { - "line": 519, + "line": 514, "column": 28 } } @@ -150963,15 +152064,15 @@ "binop": null }, "value": "currentTime", - "start": 17702, - "end": 17713, + "start": 17558, + "end": 17569, "loc": { "start": { - "line": 519, + "line": 514, "column": 28 }, "end": { - "line": 519, + "line": 514, "column": 39 } } @@ -150988,15 +152089,15 @@ "postfix": false, "binop": null }, - "start": 17713, - "end": 17714, + "start": 17569, + "end": 17570, "loc": { "start": { - "line": 519, + "line": 514, "column": 39 }, "end": { - "line": 519, + "line": 514, "column": 40 } } @@ -151014,15 +152115,15 @@ "binop": null, "updateContext": null }, - "start": 17715, - "end": 17716, + "start": 17571, + "end": 17572, "loc": { "start": { - "line": 519, + "line": 514, "column": 41 }, "end": { - "line": 519, + "line": 514, "column": 42 } } @@ -151041,15 +152142,15 @@ "updateContext": null }, "value": 0, - "start": 17717, - "end": 17718, + "start": 17573, + "end": 17574, "loc": { "start": { - "line": 519, + "line": 514, "column": 43 }, "end": { - "line": 519, + "line": 514, "column": 44 } } @@ -151067,15 +152168,15 @@ "binop": null, "updateContext": null }, - "start": 17719, - "end": 17720, + "start": 17575, + "end": 17576, "loc": { "start": { - "line": 519, + "line": 514, "column": 45 }, "end": { - "line": 519, + "line": 514, "column": 46 } } @@ -151093,15 +152194,15 @@ "binop": null }, "value": "currentTime", - "start": 17721, - "end": 17732, + "start": 17577, + "end": 17588, "loc": { "start": { - "line": 519, + "line": 514, "column": 47 }, "end": { - "line": 519, + "line": 514, "column": 58 } } @@ -151119,15 +152220,15 @@ "binop": null, "updateContext": null }, - "start": 17732, - "end": 17733, + "start": 17588, + "end": 17589, "loc": { "start": { - "line": 519, + "line": 514, "column": 58 }, "end": { - "line": 519, + "line": 514, "column": 59 } } @@ -151145,15 +152246,15 @@ "binop": null }, "value": "duration", - "start": 17742, - "end": 17750, + "start": 17598, + "end": 17606, "loc": { "start": { - "line": 520, + "line": 515, "column": 8 }, "end": { - "line": 520, + "line": 515, "column": 16 } } @@ -151172,15 +152273,15 @@ "updateContext": null }, "value": "=", - "start": 17751, - "end": 17752, + "start": 17607, + "end": 17608, "loc": { "start": { - "line": 520, + "line": 515, "column": 17 }, "end": { - "line": 520, + "line": 515, "column": 18 } } @@ -151198,15 +152299,15 @@ "binop": null }, "value": "isNaN", - "start": 17753, - "end": 17758, + "start": 17609, + "end": 17614, "loc": { "start": { - "line": 520, + "line": 515, "column": 19 }, "end": { - "line": 520, + "line": 515, "column": 24 } } @@ -151223,15 +152324,15 @@ "postfix": false, "binop": null }, - "start": 17758, - "end": 17759, + "start": 17614, + "end": 17615, "loc": { "start": { - "line": 520, + "line": 515, "column": 24 }, "end": { - "line": 520, + "line": 515, "column": 25 } } @@ -151249,15 +152350,15 @@ "binop": null }, "value": "duration", - "start": 17759, - "end": 17767, + "start": 17615, + "end": 17623, "loc": { "start": { - "line": 520, + "line": 515, "column": 25 }, "end": { - "line": 520, + "line": 515, "column": 33 } } @@ -151274,15 +152375,15 @@ "postfix": false, "binop": null }, - "start": 17767, - "end": 17768, + "start": 17623, + "end": 17624, "loc": { "start": { - "line": 520, + "line": 515, "column": 33 }, "end": { - "line": 520, + "line": 515, "column": 34 } } @@ -151300,15 +152401,15 @@ "binop": null, "updateContext": null }, - "start": 17769, - "end": 17770, + "start": 17625, + "end": 17626, "loc": { "start": { - "line": 520, + "line": 515, "column": 35 }, "end": { - "line": 520, + "line": 515, "column": 36 } } @@ -151327,15 +152428,15 @@ "updateContext": null }, "value": 0, - "start": 17771, - "end": 17772, + "start": 17627, + "end": 17628, "loc": { "start": { - "line": 520, + "line": 515, "column": 37 }, "end": { - "line": 520, + "line": 515, "column": 38 } } @@ -151353,15 +152454,15 @@ "binop": null, "updateContext": null }, - "start": 17773, - "end": 17774, + "start": 17629, + "end": 17630, "loc": { "start": { - "line": 520, + "line": 515, "column": 39 }, "end": { - "line": 520, + "line": 515, "column": 40 } } @@ -151379,15 +152480,15 @@ "binop": null }, "value": "duration", - "start": 17775, - "end": 17783, + "start": 17631, + "end": 17639, "loc": { "start": { - "line": 520, + "line": 515, "column": 41 }, "end": { - "line": 520, + "line": 515, "column": 49 } } @@ -151405,15 +152506,15 @@ "binop": null, "updateContext": null }, - "start": 17783, - "end": 17784, + "start": 17639, + "end": 17640, "loc": { "start": { - "line": 520, + "line": 515, "column": 49 }, "end": { - "line": 520, + "line": 515, "column": 50 } } @@ -151421,15 +152522,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 17794, - "end": 17834, + "start": 17650, + "end": 17690, "loc": { "start": { - "line": 522, + "line": 517, "column": 8 }, "end": { - "line": 522, + "line": 517, "column": 48 } } @@ -151449,15 +152550,15 @@ "updateContext": null }, "value": "if", - "start": 17843, - "end": 17845, + "start": 17699, + "end": 17701, "loc": { "start": { - "line": 523, + "line": 518, "column": 8 }, "end": { - "line": 523, + "line": 518, "column": 10 } } @@ -151474,15 +152575,15 @@ "postfix": false, "binop": null }, - "start": 17846, - "end": 17847, + "start": 17702, + "end": 17703, "loc": { "start": { - "line": 523, + "line": 518, "column": 11 }, "end": { - "line": 523, + "line": 518, "column": 12 } } @@ -151502,15 +152603,15 @@ "updateContext": null }, "value": "this", - "start": 17847, - "end": 17851, + "start": 17703, + "end": 17707, "loc": { "start": { - "line": 523, + "line": 518, "column": 12 }, "end": { - "line": 523, + "line": 518, "column": 16 } } @@ -151528,15 +152629,15 @@ "binop": null, "updateContext": null }, - "start": 17851, - "end": 17852, + "start": 17707, + "end": 17708, "loc": { "start": { - "line": 523, + "line": 518, "column": 16 }, "end": { - "line": 523, + "line": 518, "column": 17 } } @@ -151554,15 +152655,15 @@ "binop": null }, "value": "player", - "start": 17852, - "end": 17858, + "start": 17708, + "end": 17714, "loc": { "start": { - "line": 523, + "line": 518, "column": 17 }, "end": { - "line": 523, + "line": 518, "column": 23 } } @@ -151580,15 +152681,15 @@ "binop": null, "updateContext": null }, - "start": 17858, - "end": 17859, + "start": 17714, + "end": 17715, "loc": { "start": { - "line": 523, + "line": 518, "column": 23 }, "end": { - "line": 523, + "line": 518, "column": 24 } } @@ -151606,15 +152707,15 @@ "binop": null }, "value": "controlBar", - "start": 17859, - "end": 17869, + "start": 17715, + "end": 17725, "loc": { "start": { - "line": 523, + "line": 518, "column": 24 }, "end": { - "line": 523, + "line": 518, "column": 34 } } @@ -151632,15 +152733,15 @@ "binop": null, "updateContext": null }, - "start": 17869, - "end": 17870, + "start": 17725, + "end": 17726, "loc": { "start": { - "line": 523, + "line": 518, "column": 34 }, "end": { - "line": 523, + "line": 518, "column": 35 } } @@ -151658,15 +152759,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 17870, - "end": 17888, + "start": 17726, + "end": 17744, "loc": { "start": { - "line": 523, + "line": 518, "column": 35 }, "end": { - "line": 523, + "line": 518, "column": 53 } } @@ -151685,15 +152786,15 @@ "updateContext": null }, "value": "&&", - "start": 17889, - "end": 17891, + "start": 17745, + "end": 17747, "loc": { "start": { - "line": 523, + "line": 518, "column": 54 }, "end": { - "line": 523, + "line": 518, "column": 56 } } @@ -151713,15 +152814,15 @@ "updateContext": null }, "value": "this", - "start": 17904, - "end": 17908, + "start": 17760, + "end": 17764, "loc": { "start": { - "line": 524, + "line": 519, "column": 12 }, "end": { - "line": 524, + "line": 519, "column": 16 } } @@ -151739,15 +152840,15 @@ "binop": null, "updateContext": null }, - "start": 17908, - "end": 17909, + "start": 17764, + "end": 17765, "loc": { "start": { - "line": 524, + "line": 519, "column": 16 }, "end": { - "line": 524, + "line": 519, "column": 17 } } @@ -151765,15 +152866,15 @@ "binop": null }, "value": "player", - "start": 17909, - "end": 17915, + "start": 17765, + "end": 17771, "loc": { "start": { - "line": 524, + "line": 519, "column": 17 }, "end": { - "line": 524, + "line": 519, "column": 23 } } @@ -151791,15 +152892,15 @@ "binop": null, "updateContext": null }, - "start": 17915, - "end": 17916, + "start": 17771, + "end": 17772, "loc": { "start": { - "line": 524, + "line": 519, "column": 23 }, "end": { - "line": 524, + "line": 519, "column": 24 } } @@ -151817,15 +152918,15 @@ "binop": null }, "value": "controlBar", - "start": 17916, - "end": 17926, + "start": 17772, + "end": 17782, "loc": { "start": { - "line": 524, + "line": 519, "column": 24 }, "end": { - "line": 524, + "line": 519, "column": 34 } } @@ -151843,15 +152944,15 @@ "binop": null, "updateContext": null }, - "start": 17926, - "end": 17927, + "start": 17782, + "end": 17783, "loc": { "start": { - "line": 524, + "line": 519, "column": 34 }, "end": { - "line": 524, + "line": 519, "column": 35 } } @@ -151869,15 +152970,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 17927, - "end": 17945, + "start": 17783, + "end": 17801, "loc": { "start": { - "line": 524, + "line": 519, "column": 35 }, "end": { - "line": 524, + "line": 519, "column": 53 } } @@ -151895,15 +152996,15 @@ "binop": null, "updateContext": null }, - "start": 17945, - "end": 17946, + "start": 17801, + "end": 17802, "loc": { "start": { - "line": 524, + "line": 519, "column": 53 }, "end": { - "line": 524, + "line": 519, "column": 54 } } @@ -151921,15 +153022,15 @@ "binop": null }, "value": "contentEl", - "start": 17946, - "end": 17955, + "start": 17802, + "end": 17811, "loc": { "start": { - "line": 524, + "line": 519, "column": 54 }, "end": { - "line": 524, + "line": 519, "column": 63 } } @@ -151946,15 +153047,15 @@ "postfix": false, "binop": null }, - "start": 17955, - "end": 17956, + "start": 17811, + "end": 17812, "loc": { "start": { - "line": 524, + "line": 519, "column": 63 }, "end": { - "line": 524, + "line": 519, "column": 64 } } @@ -151971,19 +153072,307 @@ "postfix": false, "binop": null }, - "start": 17956, - "end": 17957, + "start": 17812, + "end": 17813, "loc": { "start": { - "line": 524, + "line": 519, "column": 64 }, "end": { - "line": 524, + "line": 519, "column": 65 } } }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 17814, + "end": 17816, + "loc": { + "start": { + "line": 519, + "column": 66 + }, + "end": { + "line": 519, + "column": 68 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 17829, + "end": 17833, + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17833, + "end": 17834, + "loc": { + "start": { + "line": 520, + "column": 16 + }, + "end": { + "line": 520, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "player", + "start": 17834, + "end": 17840, + "loc": { + "start": { + "line": 520, + "column": 17 + }, + "end": { + "line": 520, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17840, + "end": 17841, + "loc": { + "start": { + "line": 520, + "column": 23 + }, + "end": { + "line": 520, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "controlBar", + "start": 17841, + "end": 17851, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17851, + "end": 17852, + "loc": { + "start": { + "line": 520, + "column": 34 + }, + "end": { + "line": 520, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentTimeDisplay", + "start": 17852, + "end": 17870, + "loc": { + "start": { + "line": 520, + "column": 35 + }, + "end": { + "line": 520, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17870, + "end": 17871, + "loc": { + "start": { + "line": 520, + "column": 53 + }, + "end": { + "line": 520, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "contentEl", + "start": 17871, + "end": 17880, + "loc": { + "start": { + "line": 520, + "column": 54 + }, + "end": { + "line": 520, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17880, + "end": 17881, + "loc": { + "start": { + "line": 520, + "column": 63 + }, + "end": { + "line": 520, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -151996,16 +153385,93 @@ "postfix": false, "binop": null }, - "start": 17957, - "end": 17958, + "start": 17881, + "end": 17882, "loc": { "start": { - "line": 524, + "line": 520, + "column": 64 + }, + "end": { + "line": 520, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17882, + "end": 17883, + "loc": { + "start": { + "line": 520, "column": 65 }, "end": { - "line": 524, + "line": 520, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lastChild", + "start": 17883, + "end": 17892, + "loc": { + "start": { + "line": 520, "column": 66 + }, + "end": { + "line": 520, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17892, + "end": 17893, + "loc": { + "start": { + "line": 520, + "column": 75 + }, + "end": { + "line": 520, + "column": 76 } } }, @@ -152021,16 +153487,16 @@ "postfix": false, "binop": null }, - "start": 17959, - "end": 17960, + "start": 17894, + "end": 17895, "loc": { "start": { - "line": 524, - "column": 67 + "line": 520, + "column": 77 }, "end": { - "line": 524, - "column": 68 + "line": 520, + "column": 78 } } }, @@ -152049,15 +153515,15 @@ "updateContext": null }, "value": "let", - "start": 17973, - "end": 17976, + "start": 17908, + "end": 17911, "loc": { "start": { - "line": 525, + "line": 521, "column": 12 }, "end": { - "line": 525, + "line": 521, "column": 15 } } @@ -152075,15 +153541,15 @@ "binop": null }, "value": "time", - "start": 17977, - "end": 17981, + "start": 17912, + "end": 17916, "loc": { "start": { - "line": 525, + "line": 521, "column": 16 }, "end": { - "line": 525, + "line": 521, "column": 20 } } @@ -152102,15 +153568,15 @@ "updateContext": null }, "value": "=", - "start": 17982, - "end": 17983, + "start": 17917, + "end": 17918, "loc": { "start": { - "line": 525, + "line": 521, "column": 21 }, "end": { - "line": 525, + "line": 521, "column": 22 } } @@ -152128,15 +153594,15 @@ "binop": null }, "value": "Math", - "start": 17984, - "end": 17988, + "start": 17919, + "end": 17923, "loc": { "start": { - "line": 525, + "line": 521, "column": 23 }, "end": { - "line": 525, + "line": 521, "column": 27 } } @@ -152154,15 +153620,15 @@ "binop": null, "updateContext": null }, - "start": 17988, - "end": 17989, + "start": 17923, + "end": 17924, "loc": { "start": { - "line": 525, + "line": 521, "column": 27 }, "end": { - "line": 525, + "line": 521, "column": 28 } } @@ -152180,15 +153646,15 @@ "binop": null }, "value": "min", - "start": 17989, - "end": 17992, + "start": 17924, + "end": 17927, "loc": { "start": { - "line": 525, + "line": 521, "column": 28 }, "end": { - "line": 525, + "line": 521, "column": 31 } } @@ -152205,15 +153671,15 @@ "postfix": false, "binop": null }, - "start": 17992, - "end": 17993, + "start": 17927, + "end": 17928, "loc": { "start": { - "line": 525, + "line": 521, "column": 31 }, "end": { - "line": 525, + "line": 521, "column": 32 } } @@ -152231,15 +153697,15 @@ "binop": null }, "value": "currentTime", - "start": 17993, - "end": 18004, + "start": 17928, + "end": 17939, "loc": { "start": { - "line": 525, + "line": 521, "column": 32 }, "end": { - "line": 525, + "line": 521, "column": 43 } } @@ -152257,15 +153723,15 @@ "binop": null, "updateContext": null }, - "start": 18004, - "end": 18005, + "start": 17939, + "end": 17940, "loc": { "start": { - "line": 525, + "line": 521, "column": 43 }, "end": { - "line": 525, + "line": 521, "column": 44 } } @@ -152283,15 +153749,15 @@ "binop": null }, "value": "duration", - "start": 18006, - "end": 18014, + "start": 17941, + "end": 17949, "loc": { "start": { - "line": 525, + "line": 521, "column": 45 }, "end": { - "line": 525, + "line": 521, "column": 53 } } @@ -152308,15 +153774,15 @@ "postfix": false, "binop": null }, - "start": 18014, - "end": 18015, + "start": 17949, + "end": 17950, "loc": { "start": { - "line": 525, + "line": 521, "column": 53 }, "end": { - "line": 525, + "line": 521, "column": 54 } } @@ -152334,15 +153800,15 @@ "binop": null, "updateContext": null }, - "start": 18015, - "end": 18016, + "start": 17950, + "end": 17951, "loc": { "start": { - "line": 525, + "line": 521, "column": 54 }, "end": { - "line": 525, + "line": 521, "column": 55 } } @@ -152362,15 +153828,15 @@ "updateContext": null }, "value": "this", - "start": 18030, - "end": 18034, + "start": 17965, + "end": 17969, "loc": { "start": { - "line": 527, + "line": 523, "column": 12 }, "end": { - "line": 527, + "line": 523, "column": 16 } } @@ -152388,15 +153854,15 @@ "binop": null, "updateContext": null }, - "start": 18034, - "end": 18035, + "start": 17969, + "end": 17970, "loc": { "start": { - "line": 527, + "line": 523, "column": 16 }, "end": { - "line": 527, + "line": 523, "column": 17 } } @@ -152414,15 +153880,15 @@ "binop": null }, "value": "player", - "start": 18035, - "end": 18041, + "start": 17970, + "end": 17976, "loc": { "start": { - "line": 527, + "line": 523, "column": 17 }, "end": { - "line": 527, + "line": 523, "column": 23 } } @@ -152440,15 +153906,15 @@ "binop": null, "updateContext": null }, - "start": 18041, - "end": 18042, + "start": 17976, + "end": 17977, "loc": { "start": { - "line": 527, + "line": 523, "column": 23 }, "end": { - "line": 527, + "line": 523, "column": 24 } } @@ -152466,15 +153932,15 @@ "binop": null }, "value": "controlBar", - "start": 18042, - "end": 18052, + "start": 17977, + "end": 17987, "loc": { "start": { - "line": 527, + "line": 523, "column": 24 }, "end": { - "line": 527, + "line": 523, "column": 34 } } @@ -152492,15 +153958,15 @@ "binop": null, "updateContext": null }, - "start": 18052, - "end": 18053, + "start": 17987, + "end": 17988, "loc": { "start": { - "line": 527, + "line": 523, "column": 34 }, "end": { - "line": 527, + "line": 523, "column": 35 } } @@ -152518,15 +153984,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18053, - "end": 18071, + "start": 17988, + "end": 18006, "loc": { "start": { - "line": 527, + "line": 523, "column": 35 }, "end": { - "line": 527, + "line": 523, "column": 53 } } @@ -152544,15 +154010,15 @@ "binop": null, "updateContext": null }, - "start": 18071, - "end": 18072, + "start": 18006, + "end": 18007, "loc": { "start": { - "line": 527, + "line": 523, "column": 53 }, "end": { - "line": 527, + "line": 523, "column": 54 } } @@ -152570,15 +154036,15 @@ "binop": null }, "value": "formattedTime_", - "start": 18072, - "end": 18086, + "start": 18007, + "end": 18021, "loc": { "start": { - "line": 527, + "line": 523, "column": 54 }, "end": { - "line": 527, + "line": 523, "column": 68 } } @@ -152597,15 +154063,15 @@ "updateContext": null }, "value": "=", - "start": 18087, - "end": 18088, + "start": 18022, + "end": 18023, "loc": { "start": { - "line": 527, + "line": 523, "column": 69 }, "end": { - "line": 527, + "line": 523, "column": 70 } } @@ -152625,15 +154091,15 @@ "updateContext": null }, "value": "this", - "start": 18105, - "end": 18109, + "start": 18040, + "end": 18044, "loc": { "start": { - "line": 528, + "line": 524, "column": 16 }, "end": { - "line": 528, + "line": 524, "column": 20 } } @@ -152651,15 +154117,15 @@ "binop": null, "updateContext": null }, - "start": 18109, - "end": 18110, + "start": 18044, + "end": 18045, "loc": { "start": { - "line": 528, + "line": 524, "column": 20 }, "end": { - "line": 528, + "line": 524, "column": 21 } } @@ -152677,15 +154143,15 @@ "binop": null }, "value": "player", - "start": 18110, - "end": 18116, + "start": 18045, + "end": 18051, "loc": { "start": { - "line": 528, + "line": 524, "column": 21 }, "end": { - "line": 528, + "line": 524, "column": 27 } } @@ -152703,15 +154169,15 @@ "binop": null, "updateContext": null }, - "start": 18116, - "end": 18117, + "start": 18051, + "end": 18052, "loc": { "start": { - "line": 528, + "line": 524, "column": 27 }, "end": { - "line": 528, + "line": 524, "column": 28 } } @@ -152729,15 +154195,15 @@ "binop": null }, "value": "controlBar", - "start": 18117, - "end": 18127, + "start": 18052, + "end": 18062, "loc": { "start": { - "line": 528, + "line": 524, "column": 28 }, "end": { - "line": 528, + "line": 524, "column": 38 } } @@ -152755,15 +154221,15 @@ "binop": null, "updateContext": null }, - "start": 18127, - "end": 18128, + "start": 18062, + "end": 18063, "loc": { "start": { - "line": 528, + "line": 524, "column": 38 }, "end": { - "line": 528, + "line": 524, "column": 39 } } @@ -152781,15 +154247,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18128, - "end": 18146, + "start": 18063, + "end": 18081, "loc": { "start": { - "line": 528, + "line": 524, "column": 39 }, "end": { - "line": 528, + "line": 524, "column": 57 } } @@ -152807,15 +154273,15 @@ "binop": null, "updateContext": null }, - "start": 18146, - "end": 18147, + "start": 18081, + "end": 18082, "loc": { "start": { - "line": 528, + "line": 524, "column": 57 }, "end": { - "line": 528, + "line": 524, "column": 58 } } @@ -152833,15 +154299,15 @@ "binop": null }, "value": "contentEl", - "start": 18147, - "end": 18156, + "start": 18082, + "end": 18091, "loc": { "start": { - "line": 528, + "line": 524, "column": 58 }, "end": { - "line": 528, + "line": 524, "column": 67 } } @@ -152858,15 +154324,15 @@ "postfix": false, "binop": null }, - "start": 18156, - "end": 18157, + "start": 18091, + "end": 18092, "loc": { "start": { - "line": 528, + "line": 524, "column": 67 }, "end": { - "line": 528, + "line": 524, "column": 68 } } @@ -152883,15 +154349,15 @@ "postfix": false, "binop": null }, - "start": 18157, - "end": 18158, + "start": 18092, + "end": 18093, "loc": { "start": { - "line": 528, + "line": 524, "column": 68 }, "end": { - "line": 528, + "line": 524, "column": 69 } } @@ -152909,15 +154375,15 @@ "binop": null, "updateContext": null }, - "start": 18158, - "end": 18159, + "start": 18093, + "end": 18094, "loc": { "start": { - "line": 528, + "line": 524, "column": 69 }, "end": { - "line": 528, + "line": 524, "column": 70 } } @@ -152935,15 +154401,15 @@ "binop": null }, "value": "lastChild", - "start": 18159, - "end": 18168, + "start": 18094, + "end": 18103, "loc": { "start": { - "line": 528, + "line": 524, "column": 70 }, "end": { - "line": 528, + "line": 524, "column": 79 } } @@ -152961,15 +154427,15 @@ "binop": null, "updateContext": null }, - "start": 18168, - "end": 18169, + "start": 18103, + "end": 18104, "loc": { "start": { - "line": 528, + "line": 524, "column": 79 }, "end": { - "line": 528, + "line": 524, "column": 80 } } @@ -152987,15 +154453,15 @@ "binop": null }, "value": "textContent", - "start": 18169, - "end": 18180, + "start": 18104, + "end": 18115, "loc": { "start": { - "line": 528, + "line": 524, "column": 80 }, "end": { - "line": 528, + "line": 524, "column": 91 } } @@ -153014,15 +154480,15 @@ "updateContext": null }, "value": "=", - "start": 18181, - "end": 18182, + "start": 18116, + "end": 18117, "loc": { "start": { - "line": 528, + "line": 524, "column": 92 }, "end": { - "line": 528, + "line": 524, "column": 93 } } @@ -153040,15 +154506,15 @@ "binop": null }, "value": "formatTime", - "start": 18203, - "end": 18213, + "start": 18138, + "end": 18148, "loc": { "start": { - "line": 529, + "line": 525, "column": 20 }, "end": { - "line": 529, + "line": 525, "column": 30 } } @@ -153065,15 +154531,15 @@ "postfix": false, "binop": null }, - "start": 18213, - "end": 18214, + "start": 18148, + "end": 18149, "loc": { "start": { - "line": 529, + "line": 525, "column": 30 }, "end": { - "line": 529, + "line": 525, "column": 31 } } @@ -153091,15 +154557,15 @@ "binop": null }, "value": "time", - "start": 18214, - "end": 18218, + "start": 18149, + "end": 18153, "loc": { "start": { - "line": 529, + "line": 525, "column": 31 }, "end": { - "line": 529, + "line": 525, "column": 35 } } @@ -153117,15 +154583,15 @@ "binop": null, "updateContext": null }, - "start": 18218, - "end": 18219, + "start": 18153, + "end": 18154, "loc": { "start": { - "line": 529, + "line": 525, "column": 35 }, "end": { - "line": 529, + "line": 525, "column": 36 } } @@ -153143,15 +154609,15 @@ "binop": null }, "value": "duration", - "start": 18220, - "end": 18228, + "start": 18155, + "end": 18163, "loc": { "start": { - "line": 529, + "line": 525, "column": 37 }, "end": { - "line": 529, + "line": 525, "column": 45 } } @@ -153169,15 +154635,15 @@ "binop": null, "updateContext": null }, - "start": 18228, - "end": 18229, + "start": 18163, + "end": 18164, "loc": { "start": { - "line": 529, + "line": 525, "column": 45 }, "end": { - "line": 529, + "line": 525, "column": 46 } } @@ -153197,15 +154663,15 @@ "updateContext": null }, "value": "this", - "start": 18230, - "end": 18234, + "start": 18165, + "end": 18169, "loc": { "start": { - "line": 529, + "line": 525, "column": 47 }, "end": { - "line": 529, + "line": 525, "column": 51 } } @@ -153223,15 +154689,15 @@ "binop": null, "updateContext": null }, - "start": 18234, - "end": 18235, + "start": 18169, + "end": 18170, "loc": { "start": { - "line": 529, + "line": 525, "column": 51 }, "end": { - "line": 529, + "line": 525, "column": 52 } } @@ -153248,17 +154714,17 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 18235, - "end": 18247, + "value": "displayMilliseconds", + "start": 18170, + "end": 18189, "loc": { "start": { - "line": 529, + "line": 525, "column": 52 }, "end": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 } } }, @@ -153274,16 +154740,16 @@ "postfix": false, "binop": null }, - "start": 18247, - "end": 18248, + "start": 18189, + "end": 18190, "loc": { "start": { - "line": 529, - "column": 64 + "line": 525, + "column": 71 }, "end": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 } } }, @@ -153300,16 +154766,16 @@ "binop": null, "updateContext": null }, - "start": 18248, - "end": 18249, + "start": 18190, + "end": 18191, "loc": { "start": { - "line": 529, - "column": 65 + "line": 525, + "column": 72 }, "end": { - "line": 529, - "column": 66 + "line": 525, + "column": 73 } } }, @@ -153325,15 +154791,15 @@ "postfix": false, "binop": null }, - "start": 18258, - "end": 18259, + "start": 18200, + "end": 18201, "loc": { "start": { - "line": 530, + "line": 526, "column": 8 }, "end": { - "line": 530, + "line": 526, "column": 9 } } @@ -153353,15 +154819,15 @@ "updateContext": null }, "value": "if", - "start": 18269, - "end": 18271, + "start": 18211, + "end": 18213, "loc": { "start": { - "line": 532, + "line": 528, "column": 8 }, "end": { - "line": 532, + "line": 528, "column": 10 } } @@ -153378,15 +154844,15 @@ "postfix": false, "binop": null }, - "start": 18272, - "end": 18273, + "start": 18214, + "end": 18215, "loc": { "start": { - "line": 532, + "line": 528, "column": 11 }, "end": { - "line": 532, + "line": 528, "column": 12 } } @@ -153406,15 +154872,15 @@ "updateContext": null }, "value": "this", - "start": 18273, - "end": 18277, + "start": 18215, + "end": 18219, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } @@ -153432,15 +154898,15 @@ "binop": null, "updateContext": null }, - "start": 18277, - "end": 18278, + "start": 18219, + "end": 18220, "loc": { "start": { - "line": 532, + "line": 528, "column": 16 }, "end": { - "line": 532, + "line": 528, "column": 17 } } @@ -153458,15 +154924,15 @@ "binop": null }, "value": "textTracksEnabled", - "start": 18278, - "end": 18295, + "start": 18220, + "end": 18237, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 34 } } @@ -153485,15 +154951,15 @@ "updateContext": null }, "value": "&&", - "start": 18296, - "end": 18298, + "start": 18238, + "end": 18240, "loc": { "start": { - "line": 532, + "line": 528, "column": 35 }, "end": { - "line": 532, + "line": 528, "column": 37 } } @@ -153513,15 +154979,15 @@ "updateContext": null }, "value": "this", - "start": 18299, - "end": 18303, + "start": 18241, + "end": 18245, "loc": { "start": { - "line": 532, + "line": 528, "column": 38 }, "end": { - "line": 532, + "line": 528, "column": 42 } } @@ -153539,15 +155005,15 @@ "binop": null, "updateContext": null }, - "start": 18303, - "end": 18304, + "start": 18245, + "end": 18246, "loc": { "start": { - "line": 532, + "line": 528, "column": 42 }, "end": { - "line": 532, + "line": 528, "column": 43 } } @@ -153565,15 +155031,15 @@ "binop": null }, "value": "player", - "start": 18304, - "end": 18310, + "start": 18246, + "end": 18252, "loc": { "start": { - "line": 532, + "line": 528, "column": 43 }, "end": { - "line": 532, + "line": 528, "column": 49 } } @@ -153591,15 +155057,15 @@ "binop": null, "updateContext": null }, - "start": 18310, - "end": 18311, + "start": 18252, + "end": 18253, "loc": { "start": { - "line": 532, + "line": 528, "column": 49 }, "end": { - "line": 532, + "line": 528, "column": 50 } } @@ -153617,15 +155083,15 @@ "binop": null }, "value": "tech_", - "start": 18311, - "end": 18316, + "start": 18253, + "end": 18258, "loc": { "start": { - "line": 532, + "line": 528, "column": 50 }, "end": { - "line": 532, + "line": 528, "column": 55 } } @@ -153644,15 +155110,15 @@ "updateContext": null }, "value": "&&", - "start": 18317, - "end": 18319, + "start": 18259, + "end": 18261, "loc": { "start": { - "line": 532, + "line": 528, "column": 56 }, "end": { - "line": 532, + "line": 528, "column": 58 } } @@ -153672,15 +155138,15 @@ "updateContext": null }, "value": "this", - "start": 18320, - "end": 18324, + "start": 18262, + "end": 18266, "loc": { "start": { - "line": 532, + "line": 528, "column": 59 }, "end": { - "line": 532, + "line": 528, "column": 63 } } @@ -153698,15 +155164,15 @@ "binop": null, "updateContext": null }, - "start": 18324, - "end": 18325, + "start": 18266, + "end": 18267, "loc": { "start": { - "line": 532, + "line": 528, "column": 63 }, "end": { - "line": 532, + "line": 528, "column": 64 } } @@ -153724,15 +155190,15 @@ "binop": null }, "value": "player", - "start": 18325, - "end": 18331, + "start": 18267, + "end": 18273, "loc": { "start": { - "line": 532, + "line": 528, "column": 64 }, "end": { - "line": 532, + "line": 528, "column": 70 } } @@ -153750,15 +155216,15 @@ "binop": null, "updateContext": null }, - "start": 18331, - "end": 18332, + "start": 18273, + "end": 18274, "loc": { "start": { - "line": 532, + "line": 528, "column": 70 }, "end": { - "line": 532, + "line": 528, "column": 71 } } @@ -153776,15 +155242,15 @@ "binop": null }, "value": "tech_", - "start": 18332, - "end": 18337, + "start": 18274, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 71 }, "end": { - "line": 532, + "line": 528, "column": 76 } } @@ -153802,15 +155268,15 @@ "binop": null, "updateContext": null }, - "start": 18337, - "end": 18338, + "start": 18279, + "end": 18280, "loc": { "start": { - "line": 532, + "line": 528, "column": 76 }, "end": { - "line": 532, + "line": 528, "column": 77 } } @@ -153828,15 +155294,15 @@ "binop": null }, "value": "el_", - "start": 18338, - "end": 18341, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 532, + "line": 528, "column": 80 } } @@ -153853,15 +155319,15 @@ "postfix": false, "binop": null }, - "start": 18341, - "end": 18342, + "start": 18283, + "end": 18284, "loc": { "start": { - "line": 532, + "line": 528, "column": 80 }, "end": { - "line": 532, + "line": 528, "column": 81 } } @@ -153878,15 +155344,15 @@ "postfix": false, "binop": null }, - "start": 18343, - "end": 18344, + "start": 18285, + "end": 18286, "loc": { "start": { - "line": 532, + "line": 528, "column": 82 }, "end": { - "line": 532, + "line": 528, "column": 83 } } @@ -153894,15 +155360,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18357, - "end": 18387, + "start": 18299, + "end": 18329, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 42 } } @@ -153922,15 +155388,15 @@ "updateContext": null }, "value": "this", - "start": 18400, - "end": 18404, + "start": 18342, + "end": 18346, "loc": { "start": { - "line": 534, + "line": 530, "column": 12 }, "end": { - "line": 534, + "line": 530, "column": 16 } } @@ -153948,15 +155414,15 @@ "binop": null, "updateContext": null }, - "start": 18404, - "end": 18405, + "start": 18346, + "end": 18347, "loc": { "start": { - "line": 534, + "line": 530, "column": 16 }, "end": { - "line": 534, + "line": 530, "column": 17 } } @@ -153974,15 +155440,15 @@ "binop": null }, "value": "player", - "start": 18405, - "end": 18411, + "start": 18347, + "end": 18353, "loc": { "start": { - "line": 534, + "line": 530, "column": 17 }, "end": { - "line": 534, + "line": 530, "column": 23 } } @@ -154000,15 +155466,15 @@ "binop": null, "updateContext": null }, - "start": 18411, - "end": 18412, + "start": 18353, + "end": 18354, "loc": { "start": { - "line": 534, + "line": 530, "column": 23 }, "end": { - "line": 534, + "line": 530, "column": 24 } } @@ -154026,15 +155492,15 @@ "binop": null }, "value": "tech_", - "start": 18412, - "end": 18417, + "start": 18354, + "end": 18359, "loc": { "start": { - "line": 534, + "line": 530, "column": 24 }, "end": { - "line": 534, + "line": 530, "column": 29 } } @@ -154052,15 +155518,15 @@ "binop": null, "updateContext": null }, - "start": 18417, - "end": 18418, + "start": 18359, + "end": 18360, "loc": { "start": { - "line": 534, + "line": 530, "column": 29 }, "end": { - "line": 534, + "line": 530, "column": 30 } } @@ -154078,15 +155544,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 18418, - "end": 18432, + "start": 18360, + "end": 18374, "loc": { "start": { - "line": 534, + "line": 530, "column": 30 }, "end": { - "line": 534, + "line": 530, "column": 44 } } @@ -154103,15 +155569,15 @@ "postfix": false, "binop": null }, - "start": 18432, - "end": 18433, + "start": 18374, + "end": 18375, "loc": { "start": { - "line": 534, + "line": 530, "column": 44 }, "end": { - "line": 534, + "line": 530, "column": 45 } } @@ -154129,15 +155595,15 @@ "binop": null }, "value": "currentTime", - "start": 18433, - "end": 18444, + "start": 18375, + "end": 18386, "loc": { "start": { - "line": 534, + "line": 530, "column": 45 }, "end": { - "line": 534, + "line": 530, "column": 56 } } @@ -154154,15 +155620,15 @@ "postfix": false, "binop": null }, - "start": 18444, - "end": 18445, + "start": 18386, + "end": 18387, "loc": { "start": { - "line": 534, + "line": 530, "column": 56 }, "end": { - "line": 534, + "line": 530, "column": 57 } } @@ -154180,15 +155646,15 @@ "binop": null, "updateContext": null }, - "start": 18445, - "end": 18446, + "start": 18387, + "end": 18388, "loc": { "start": { - "line": 534, + "line": 530, "column": 57 }, "end": { - "line": 534, + "line": 530, "column": 58 } } @@ -154205,15 +155671,15 @@ "postfix": false, "binop": null }, - "start": 18455, - "end": 18456, + "start": 18397, + "end": 18398, "loc": { "start": { - "line": 535, + "line": 531, "column": 8 }, "end": { - "line": 535, + "line": 531, "column": 9 } } @@ -154230,15 +155696,15 @@ "postfix": false, "binop": null }, - "start": 18461, - "end": 18462, + "start": 18403, + "end": 18404, "loc": { "start": { - "line": 536, + "line": 532, "column": 4 }, "end": { - "line": 536, + "line": 532, "column": 5 } } @@ -154246,15 +155712,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18468, - "end": 18641, + "start": 18410, + "end": 18583, "loc": { "start": { - "line": 538, + "line": 534, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 7 } } @@ -154272,15 +155738,15 @@ "binop": null }, "value": "getDuration", - "start": 18646, - "end": 18657, + "start": 18588, + "end": 18599, "loc": { "start": { - "line": 545, + "line": 541, "column": 4 }, "end": { - "line": 545, + "line": 541, "column": 15 } } @@ -154297,15 +155763,15 @@ "postfix": false, "binop": null }, - "start": 18657, - "end": 18658, + "start": 18599, + "end": 18600, "loc": { "start": { - "line": 545, + "line": 541, "column": 15 }, "end": { - "line": 545, + "line": 541, "column": 16 } } @@ -154322,15 +155788,15 @@ "postfix": false, "binop": null }, - "start": 18658, - "end": 18659, + "start": 18600, + "end": 18601, "loc": { "start": { - "line": 545, + "line": 541, "column": 16 }, "end": { - "line": 545, + "line": 541, "column": 17 } } @@ -154347,15 +155813,15 @@ "postfix": false, "binop": null }, - "start": 18660, - "end": 18661, + "start": 18602, + "end": 18603, "loc": { "start": { - "line": 545, + "line": 541, "column": 18 }, "end": { - "line": 545, + "line": 541, "column": 19 } } @@ -154375,15 +155841,15 @@ "updateContext": null }, "value": "let", - "start": 18670, - "end": 18673, + "start": 18612, + "end": 18615, "loc": { "start": { - "line": 546, + "line": 542, "column": 8 }, "end": { - "line": 546, + "line": 542, "column": 11 } } @@ -154401,15 +155867,15 @@ "binop": null }, "value": "duration", - "start": 18674, - "end": 18682, + "start": 18616, + "end": 18624, "loc": { "start": { - "line": 546, + "line": 542, "column": 12 }, "end": { - "line": 546, + "line": 542, "column": 20 } } @@ -154428,15 +155894,15 @@ "updateContext": null }, "value": "=", - "start": 18683, - "end": 18684, + "start": 18625, + "end": 18626, "loc": { "start": { - "line": 546, + "line": 542, "column": 21 }, "end": { - "line": 546, + "line": 542, "column": 22 } } @@ -154456,15 +155922,15 @@ "updateContext": null }, "value": "this", - "start": 18685, - "end": 18689, + "start": 18627, + "end": 18631, "loc": { "start": { - "line": 546, + "line": 542, "column": 23 }, "end": { - "line": 546, + "line": 542, "column": 27 } } @@ -154482,15 +155948,15 @@ "binop": null, "updateContext": null }, - "start": 18689, - "end": 18690, + "start": 18631, + "end": 18632, "loc": { "start": { - "line": 546, + "line": 542, "column": 27 }, "end": { - "line": 546, + "line": 542, "column": 28 } } @@ -154508,15 +155974,15 @@ "binop": null }, "value": "surfer", - "start": 18690, - "end": 18696, + "start": 18632, + "end": 18638, "loc": { "start": { - "line": 546, + "line": 542, "column": 28 }, "end": { - "line": 546, + "line": 542, "column": 34 } } @@ -154534,15 +156000,15 @@ "binop": null, "updateContext": null }, - "start": 18696, - "end": 18697, + "start": 18638, + "end": 18639, "loc": { "start": { - "line": 546, + "line": 542, "column": 34 }, "end": { - "line": 546, + "line": 542, "column": 35 } } @@ -154560,15 +156026,15 @@ "binop": null }, "value": "getDuration", - "start": 18697, - "end": 18708, + "start": 18639, + "end": 18650, "loc": { "start": { - "line": 546, + "line": 542, "column": 35 }, "end": { - "line": 546, + "line": 542, "column": 46 } } @@ -154585,15 +156051,15 @@ "postfix": false, "binop": null }, - "start": 18708, - "end": 18709, + "start": 18650, + "end": 18651, "loc": { "start": { - "line": 546, + "line": 542, "column": 46 }, "end": { - "line": 546, + "line": 542, "column": 47 } } @@ -154610,15 +156076,15 @@ "postfix": false, "binop": null }, - "start": 18709, - "end": 18710, + "start": 18651, + "end": 18652, "loc": { "start": { - "line": 546, + "line": 542, "column": 47 }, "end": { - "line": 546, + "line": 542, "column": 48 } } @@ -154636,15 +156102,15 @@ "binop": null, "updateContext": null }, - "start": 18710, - "end": 18711, + "start": 18652, + "end": 18653, "loc": { "start": { - "line": 546, + "line": 542, "column": 48 }, "end": { - "line": 546, + "line": 542, "column": 49 } } @@ -154662,15 +156128,15 @@ "binop": null }, "value": "duration", - "start": 18720, - "end": 18728, + "start": 18662, + "end": 18670, "loc": { "start": { - "line": 547, + "line": 543, "column": 8 }, "end": { - "line": 547, + "line": 543, "column": 16 } } @@ -154689,15 +156155,15 @@ "updateContext": null }, "value": "=", - "start": 18729, - "end": 18730, + "start": 18671, + "end": 18672, "loc": { "start": { - "line": 547, + "line": 543, "column": 17 }, "end": { - "line": 547, + "line": 543, "column": 18 } } @@ -154715,15 +156181,15 @@ "binop": null }, "value": "isNaN", - "start": 18731, - "end": 18736, + "start": 18673, + "end": 18678, "loc": { "start": { - "line": 547, + "line": 543, "column": 19 }, "end": { - "line": 547, + "line": 543, "column": 24 } } @@ -154740,15 +156206,15 @@ "postfix": false, "binop": null }, - "start": 18736, - "end": 18737, + "start": 18678, + "end": 18679, "loc": { "start": { - "line": 547, + "line": 543, "column": 24 }, "end": { - "line": 547, + "line": 543, "column": 25 } } @@ -154766,15 +156232,15 @@ "binop": null }, "value": "duration", - "start": 18737, - "end": 18745, + "start": 18679, + "end": 18687, "loc": { "start": { - "line": 547, + "line": 543, "column": 25 }, "end": { - "line": 547, + "line": 543, "column": 33 } } @@ -154791,15 +156257,15 @@ "postfix": false, "binop": null }, - "start": 18745, - "end": 18746, + "start": 18687, + "end": 18688, "loc": { "start": { - "line": 547, + "line": 543, "column": 33 }, "end": { - "line": 547, + "line": 543, "column": 34 } } @@ -154817,15 +156283,15 @@ "binop": null, "updateContext": null }, - "start": 18747, - "end": 18748, + "start": 18689, + "end": 18690, "loc": { "start": { - "line": 547, + "line": 543, "column": 35 }, "end": { - "line": 547, + "line": 543, "column": 36 } } @@ -154844,15 +156310,15 @@ "updateContext": null }, "value": 0, - "start": 18749, - "end": 18750, + "start": 18691, + "end": 18692, "loc": { "start": { - "line": 547, + "line": 543, "column": 37 }, "end": { - "line": 547, + "line": 543, "column": 38 } } @@ -154870,15 +156336,15 @@ "binop": null, "updateContext": null }, - "start": 18751, - "end": 18752, + "start": 18693, + "end": 18694, "loc": { "start": { - "line": 547, + "line": 543, "column": 39 }, "end": { - "line": 547, + "line": 543, "column": 40 } } @@ -154896,15 +156362,15 @@ "binop": null }, "value": "duration", - "start": 18753, - "end": 18761, + "start": 18695, + "end": 18703, "loc": { "start": { - "line": 547, + "line": 543, "column": 41 }, "end": { - "line": 547, + "line": 543, "column": 49 } } @@ -154922,15 +156388,15 @@ "binop": null, "updateContext": null }, - "start": 18761, - "end": 18762, + "start": 18703, + "end": 18704, "loc": { "start": { - "line": 547, + "line": 543, "column": 49 }, "end": { - "line": 547, + "line": 543, "column": 50 } } @@ -154950,15 +156416,15 @@ "updateContext": null }, "value": "return", - "start": 18772, - "end": 18778, + "start": 18714, + "end": 18720, "loc": { "start": { - "line": 549, + "line": 545, "column": 8 }, "end": { - "line": 549, + "line": 545, "column": 14 } } @@ -154976,15 +156442,15 @@ "binop": null }, "value": "duration", - "start": 18779, - "end": 18787, + "start": 18721, + "end": 18729, "loc": { "start": { - "line": 549, + "line": 545, "column": 15 }, "end": { - "line": 549, + "line": 545, "column": 23 } } @@ -155002,15 +156468,15 @@ "binop": null, "updateContext": null }, - "start": 18787, - "end": 18788, + "start": 18729, + "end": 18730, "loc": { "start": { - "line": 549, + "line": 545, "column": 23 }, "end": { - "line": 549, + "line": 545, "column": 24 } } @@ -155027,15 +156493,15 @@ "postfix": false, "binop": null }, - "start": 18793, - "end": 18794, + "start": 18735, + "end": 18736, "loc": { "start": { - "line": 550, + "line": 546, "column": 4 }, "end": { - "line": 550, + "line": 546, "column": 5 } } @@ -155043,15 +156509,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 18800, - "end": 18975, + "start": 18742, + "end": 18917, "loc": { "start": { - "line": 552, + "line": 548, "column": 4 }, "end": { - "line": 557, + "line": 553, "column": 7 } } @@ -155069,15 +156535,15 @@ "binop": null }, "value": "setDuration", - "start": 18980, - "end": 18991, + "start": 18922, + "end": 18933, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 15 } } @@ -155094,15 +156560,15 @@ "postfix": false, "binop": null }, - "start": 18991, - "end": 18992, + "start": 18933, + "end": 18934, "loc": { "start": { - "line": 558, + "line": 554, "column": 15 }, "end": { - "line": 558, + "line": 554, "column": 16 } } @@ -155120,15 +156586,15 @@ "binop": null }, "value": "duration", - "start": 18992, - "end": 19000, + "start": 18934, + "end": 18942, "loc": { "start": { - "line": 558, + "line": 554, "column": 16 }, "end": { - "line": 558, + "line": 554, "column": 24 } } @@ -155145,15 +156611,15 @@ "postfix": false, "binop": null }, - "start": 19000, - "end": 19001, + "start": 18942, + "end": 18943, "loc": { "start": { - "line": 558, + "line": 554, "column": 24 }, "end": { - "line": 558, + "line": 554, "column": 25 } } @@ -155170,15 +156636,15 @@ "postfix": false, "binop": null }, - "start": 19002, - "end": 19003, + "start": 18944, + "end": 18945, "loc": { "start": { - "line": 558, + "line": 554, "column": 26 }, "end": { - "line": 558, + "line": 554, "column": 27 } } @@ -155198,15 +156664,15 @@ "updateContext": null }, "value": "if", - "start": 19012, - "end": 19014, + "start": 18954, + "end": 18956, "loc": { "start": { - "line": 559, + "line": 555, "column": 8 }, "end": { - "line": 559, + "line": 555, "column": 10 } } @@ -155223,15 +156689,15 @@ "postfix": false, "binop": null }, - "start": 19015, - "end": 19016, + "start": 18957, + "end": 18958, "loc": { "start": { - "line": 559, + "line": 555, "column": 11 }, "end": { - "line": 559, + "line": 555, "column": 12 } } @@ -155249,15 +156715,15 @@ "binop": null }, "value": "duration", - "start": 19016, - "end": 19024, + "start": 18958, + "end": 18966, "loc": { "start": { - "line": 559, + "line": 555, "column": 12 }, "end": { - "line": 559, + "line": 555, "column": 20 } } @@ -155276,15 +156742,15 @@ "updateContext": null }, "value": "===", - "start": 19025, - "end": 19028, + "start": 18967, + "end": 18970, "loc": { "start": { - "line": 559, + "line": 555, "column": 21 }, "end": { - "line": 559, + "line": 555, "column": 24 } } @@ -155302,15 +156768,15 @@ "binop": null }, "value": "undefined", - "start": 19029, - "end": 19038, + "start": 18971, + "end": 18980, "loc": { "start": { - "line": 559, + "line": 555, "column": 25 }, "end": { - "line": 559, + "line": 555, "column": 34 } } @@ -155327,15 +156793,15 @@ "postfix": false, "binop": null }, - "start": 19038, - "end": 19039, + "start": 18980, + "end": 18981, "loc": { "start": { - "line": 559, + "line": 555, "column": 34 }, "end": { - "line": 559, + "line": 555, "column": 35 } } @@ -155352,15 +156818,15 @@ "postfix": false, "binop": null }, - "start": 19040, - "end": 19041, + "start": 18982, + "end": 18983, "loc": { "start": { - "line": 559, + "line": 555, "column": 36 }, "end": { - "line": 559, + "line": 555, "column": 37 } } @@ -155378,15 +156844,15 @@ "binop": null }, "value": "duration", - "start": 19054, - "end": 19062, + "start": 18996, + "end": 19004, "loc": { "start": { - "line": 560, + "line": 556, "column": 12 }, "end": { - "line": 560, + "line": 556, "column": 20 } } @@ -155405,15 +156871,15 @@ "updateContext": null }, "value": "=", - "start": 19063, - "end": 19064, + "start": 19005, + "end": 19006, "loc": { "start": { - "line": 560, + "line": 556, "column": 21 }, "end": { - "line": 560, + "line": 556, "column": 22 } } @@ -155433,15 +156899,15 @@ "updateContext": null }, "value": "this", - "start": 19065, - "end": 19069, + "start": 19007, + "end": 19011, "loc": { "start": { - "line": 560, + "line": 556, "column": 23 }, "end": { - "line": 560, + "line": 556, "column": 27 } } @@ -155459,15 +156925,15 @@ "binop": null, "updateContext": null }, - "start": 19069, - "end": 19070, + "start": 19011, + "end": 19012, "loc": { "start": { - "line": 560, + "line": 556, "column": 27 }, "end": { - "line": 560, + "line": 556, "column": 28 } } @@ -155485,15 +156951,15 @@ "binop": null }, "value": "surfer", - "start": 19070, - "end": 19076, + "start": 19012, + "end": 19018, "loc": { "start": { - "line": 560, + "line": 556, "column": 28 }, "end": { - "line": 560, + "line": 556, "column": 34 } } @@ -155511,15 +156977,15 @@ "binop": null, "updateContext": null }, - "start": 19076, - "end": 19077, + "start": 19018, + "end": 19019, "loc": { "start": { - "line": 560, + "line": 556, "column": 34 }, "end": { - "line": 560, + "line": 556, "column": 35 } } @@ -155537,15 +157003,15 @@ "binop": null }, "value": "getDuration", - "start": 19077, - "end": 19088, + "start": 19019, + "end": 19030, "loc": { "start": { - "line": 560, + "line": 556, "column": 35 }, "end": { - "line": 560, + "line": 556, "column": 46 } } @@ -155562,15 +157028,15 @@ "postfix": false, "binop": null }, - "start": 19088, - "end": 19089, + "start": 19030, + "end": 19031, "loc": { "start": { - "line": 560, + "line": 556, "column": 46 }, "end": { - "line": 560, + "line": 556, "column": 47 } } @@ -155587,15 +157053,15 @@ "postfix": false, "binop": null }, - "start": 19089, - "end": 19090, + "start": 19031, + "end": 19032, "loc": { "start": { - "line": 560, + "line": 556, "column": 47 }, "end": { - "line": 560, + "line": 556, "column": 48 } } @@ -155613,15 +157079,15 @@ "binop": null, "updateContext": null }, - "start": 19090, - "end": 19091, + "start": 19032, + "end": 19033, "loc": { "start": { - "line": 560, + "line": 556, "column": 48 }, "end": { - "line": 560, + "line": 556, "column": 49 } } @@ -155638,15 +157104,15 @@ "postfix": false, "binop": null }, - "start": 19100, - "end": 19101, + "start": 19042, + "end": 19043, "loc": { "start": { - "line": 561, + "line": 557, "column": 8 }, "end": { - "line": 561, + "line": 557, "column": 9 } } @@ -155664,15 +157130,15 @@ "binop": null }, "value": "duration", - "start": 19110, - "end": 19118, + "start": 19052, + "end": 19060, "loc": { "start": { - "line": 562, + "line": 558, "column": 8 }, "end": { - "line": 562, + "line": 558, "column": 16 } } @@ -155691,15 +157157,15 @@ "updateContext": null }, "value": "=", - "start": 19119, - "end": 19120, + "start": 19061, + "end": 19062, "loc": { "start": { - "line": 562, + "line": 558, "column": 17 }, "end": { - "line": 562, + "line": 558, "column": 18 } } @@ -155717,15 +157183,15 @@ "binop": null }, "value": "isNaN", - "start": 19121, - "end": 19126, + "start": 19063, + "end": 19068, "loc": { "start": { - "line": 562, + "line": 558, "column": 19 }, "end": { - "line": 562, + "line": 558, "column": 24 } } @@ -155742,15 +157208,15 @@ "postfix": false, "binop": null }, - "start": 19126, - "end": 19127, + "start": 19068, + "end": 19069, "loc": { "start": { - "line": 562, + "line": 558, "column": 24 }, "end": { - "line": 562, + "line": 558, "column": 25 } } @@ -155768,15 +157234,15 @@ "binop": null }, "value": "duration", - "start": 19127, - "end": 19135, + "start": 19069, + "end": 19077, "loc": { "start": { - "line": 562, + "line": 558, "column": 25 }, "end": { - "line": 562, + "line": 558, "column": 33 } } @@ -155793,15 +157259,15 @@ "postfix": false, "binop": null }, - "start": 19135, - "end": 19136, + "start": 19077, + "end": 19078, "loc": { "start": { - "line": 562, + "line": 558, "column": 33 }, "end": { - "line": 562, + "line": 558, "column": 34 } } @@ -155819,15 +157285,15 @@ "binop": null, "updateContext": null }, - "start": 19137, - "end": 19138, + "start": 19079, + "end": 19080, "loc": { "start": { - "line": 562, + "line": 558, "column": 35 }, "end": { - "line": 562, + "line": 558, "column": 36 } } @@ -155846,15 +157312,15 @@ "updateContext": null }, "value": 0, - "start": 19139, - "end": 19140, + "start": 19081, + "end": 19082, "loc": { "start": { - "line": 562, + "line": 558, "column": 37 }, "end": { - "line": 562, + "line": 558, "column": 38 } } @@ -155872,15 +157338,15 @@ "binop": null, "updateContext": null }, - "start": 19141, - "end": 19142, + "start": 19083, + "end": 19084, "loc": { "start": { - "line": 562, + "line": 558, "column": 39 }, "end": { - "line": 562, + "line": 558, "column": 40 } } @@ -155898,15 +157364,15 @@ "binop": null }, "value": "duration", - "start": 19143, - "end": 19151, + "start": 19085, + "end": 19093, "loc": { "start": { - "line": 562, + "line": 558, "column": 41 }, "end": { - "line": 562, + "line": 558, "column": 49 } } @@ -155924,15 +157390,15 @@ "binop": null, "updateContext": null }, - "start": 19151, - "end": 19152, + "start": 19093, + "end": 19094, "loc": { "start": { - "line": 562, + "line": 558, "column": 49 }, "end": { - "line": 562, + "line": 558, "column": 50 } } @@ -155940,15 +157406,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19162, - "end": 19198, + "start": 19104, + "end": 19140, "loc": { "start": { - "line": 564, + "line": 560, "column": 8 }, "end": { - "line": 564, + "line": 560, "column": 44 } } @@ -155968,15 +157434,15 @@ "updateContext": null }, "value": "if", - "start": 19207, - "end": 19209, + "start": 19149, + "end": 19151, "loc": { "start": { - "line": 565, + "line": 561, "column": 8 }, "end": { - "line": 565, + "line": 561, "column": 10 } } @@ -155993,15 +157459,15 @@ "postfix": false, "binop": null }, - "start": 19210, - "end": 19211, + "start": 19152, + "end": 19153, "loc": { "start": { - "line": 565, + "line": 561, "column": 11 }, "end": { - "line": 565, + "line": 561, "column": 12 } } @@ -156021,15 +157487,15 @@ "updateContext": null }, "value": "this", - "start": 19211, - "end": 19215, + "start": 19153, + "end": 19157, "loc": { "start": { - "line": 565, + "line": 561, "column": 12 }, "end": { - "line": 565, + "line": 561, "column": 16 } } @@ -156047,15 +157513,15 @@ "binop": null, "updateContext": null }, - "start": 19215, - "end": 19216, + "start": 19157, + "end": 19158, "loc": { "start": { - "line": 565, + "line": 561, "column": 16 }, "end": { - "line": 565, + "line": 561, "column": 17 } } @@ -156073,15 +157539,15 @@ "binop": null }, "value": "player", - "start": 19216, - "end": 19222, + "start": 19158, + "end": 19164, "loc": { "start": { - "line": 565, + "line": 561, "column": 17 }, "end": { - "line": 565, + "line": 561, "column": 23 } } @@ -156099,15 +157565,15 @@ "binop": null, "updateContext": null }, - "start": 19222, - "end": 19223, + "start": 19164, + "end": 19165, "loc": { "start": { - "line": 565, + "line": 561, "column": 23 }, "end": { - "line": 565, + "line": 561, "column": 24 } } @@ -156125,15 +157591,15 @@ "binop": null }, "value": "controlBar", - "start": 19223, - "end": 19233, + "start": 19165, + "end": 19175, "loc": { "start": { - "line": 565, + "line": 561, "column": 24 }, "end": { - "line": 565, + "line": 561, "column": 34 } } @@ -156151,15 +157617,15 @@ "binop": null, "updateContext": null }, - "start": 19233, - "end": 19234, + "start": 19175, + "end": 19176, "loc": { "start": { - "line": 565, + "line": 561, "column": 34 }, "end": { - "line": 565, + "line": 561, "column": 35 } } @@ -156177,15 +157643,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19234, - "end": 19249, + "start": 19176, + "end": 19191, "loc": { "start": { - "line": 565, + "line": 561, "column": 35 }, "end": { - "line": 565, + "line": 561, "column": 50 } } @@ -156204,15 +157670,15 @@ "updateContext": null }, "value": "&&", - "start": 19250, - "end": 19252, + "start": 19192, + "end": 19194, "loc": { "start": { - "line": 565, + "line": 561, "column": 51 }, "end": { - "line": 565, + "line": 561, "column": 53 } } @@ -156232,15 +157698,15 @@ "updateContext": null }, "value": "this", - "start": 19265, - "end": 19269, + "start": 19207, + "end": 19211, "loc": { "start": { - "line": 566, + "line": 562, "column": 12 }, "end": { - "line": 566, + "line": 562, "column": 16 } } @@ -156258,15 +157724,15 @@ "binop": null, "updateContext": null }, - "start": 19269, - "end": 19270, + "start": 19211, + "end": 19212, "loc": { "start": { - "line": 566, + "line": 562, "column": 16 }, "end": { - "line": 566, + "line": 562, "column": 17 } } @@ -156284,15 +157750,15 @@ "binop": null }, "value": "player", - "start": 19270, - "end": 19276, + "start": 19212, + "end": 19218, "loc": { "start": { - "line": 566, + "line": 562, "column": 17 }, "end": { - "line": 566, + "line": 562, "column": 23 } } @@ -156310,15 +157776,15 @@ "binop": null, "updateContext": null }, - "start": 19276, - "end": 19277, + "start": 19218, + "end": 19219, "loc": { "start": { - "line": 566, + "line": 562, "column": 23 }, "end": { - "line": 566, + "line": 562, "column": 24 } } @@ -156336,15 +157802,15 @@ "binop": null }, "value": "controlBar", - "start": 19277, - "end": 19287, + "start": 19219, + "end": 19229, "loc": { "start": { - "line": 566, + "line": 562, "column": 24 }, "end": { - "line": 566, + "line": 562, "column": 34 } } @@ -156362,15 +157828,15 @@ "binop": null, "updateContext": null }, - "start": 19287, - "end": 19288, + "start": 19229, + "end": 19230, "loc": { "start": { - "line": 566, + "line": 562, "column": 34 }, "end": { - "line": 566, + "line": 562, "column": 35 } } @@ -156388,15 +157854,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19288, - "end": 19303, + "start": 19230, + "end": 19245, "loc": { "start": { - "line": 566, + "line": 562, "column": 35 }, "end": { - "line": 566, + "line": 562, "column": 50 } } @@ -156414,15 +157880,15 @@ "binop": null, "updateContext": null }, - "start": 19303, - "end": 19304, + "start": 19245, + "end": 19246, "loc": { "start": { - "line": 566, + "line": 562, "column": 50 }, "end": { - "line": 566, + "line": 562, "column": 51 } } @@ -156440,15 +157906,15 @@ "binop": null }, "value": "contentEl", - "start": 19304, - "end": 19313, + "start": 19246, + "end": 19255, "loc": { "start": { - "line": 566, + "line": 562, "column": 51 }, "end": { - "line": 566, + "line": 562, "column": 60 } } @@ -156465,15 +157931,15 @@ "postfix": false, "binop": null }, - "start": 19313, - "end": 19314, + "start": 19255, + "end": 19256, "loc": { "start": { - "line": 566, + "line": 562, "column": 60 }, "end": { - "line": 566, + "line": 562, "column": 61 } } @@ -156490,19 +157956,307 @@ "postfix": false, "binop": null }, - "start": 19314, - "end": 19315, + "start": 19256, + "end": 19257, "loc": { "start": { - "line": 566, + "line": 562, "column": 61 }, "end": { - "line": 566, + "line": 562, "column": 62 } } }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 19258, + "end": 19260, + "loc": { + "start": { + "line": 562, + "column": 63 + }, + "end": { + "line": 562, + "column": 65 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 19273, + "end": 19277, + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19277, + "end": 19278, + "loc": { + "start": { + "line": 563, + "column": 16 + }, + "end": { + "line": 563, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "player", + "start": 19278, + "end": 19284, + "loc": { + "start": { + "line": 563, + "column": 17 + }, + "end": { + "line": 563, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19284, + "end": 19285, + "loc": { + "start": { + "line": 563, + "column": 23 + }, + "end": { + "line": 563, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "controlBar", + "start": 19285, + "end": 19295, + "loc": { + "start": { + "line": 563, + "column": 24 + }, + "end": { + "line": 563, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19295, + "end": 19296, + "loc": { + "start": { + "line": 563, + "column": 34 + }, + "end": { + "line": 563, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "durationDisplay", + "start": 19296, + "end": 19311, + "loc": { + "start": { + "line": 563, + "column": 35 + }, + "end": { + "line": 563, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19311, + "end": 19312, + "loc": { + "start": { + "line": 563, + "column": 50 + }, + "end": { + "line": 563, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "contentEl", + "start": 19312, + "end": 19321, + "loc": { + "start": { + "line": 563, + "column": 51 + }, + "end": { + "line": 563, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19321, + "end": 19322, + "loc": { + "start": { + "line": 563, + "column": 60 + }, + "end": { + "line": 563, + "column": 61 + } + } + }, { "type": { "label": ")", @@ -156515,19 +158269,96 @@ "postfix": false, "binop": null }, - "start": 19315, - "end": 19316, + "start": 19322, + "end": 19323, "loc": { "start": { - "line": 566, + "line": 563, + "column": 61 + }, + "end": { + "line": 563, + "column": 62 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19323, + "end": 19324, + "loc": { + "start": { + "line": 563, "column": 62 }, "end": { - "line": 566, + "line": 563, "column": 63 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lastChild", + "start": 19324, + "end": 19333, + "loc": { + "start": { + "line": 563, + "column": 63 + }, + "end": { + "line": 563, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19333, + "end": 19334, + "loc": { + "start": { + "line": 563, + "column": 72 + }, + "end": { + "line": 563, + "column": 73 + } + } + }, { "type": { "label": "{", @@ -156540,16 +158371,16 @@ "postfix": false, "binop": null }, - "start": 19317, - "end": 19318, + "start": 19335, + "end": 19336, "loc": { "start": { - "line": 566, - "column": 64 + "line": 563, + "column": 74 }, "end": { - "line": 566, - "column": 65 + "line": 563, + "column": 75 } } }, @@ -156568,15 +158399,15 @@ "updateContext": null }, "value": "this", - "start": 19331, - "end": 19335, + "start": 19349, + "end": 19353, "loc": { "start": { - "line": 567, + "line": 564, "column": 12 }, "end": { - "line": 567, + "line": 564, "column": 16 } } @@ -156594,15 +158425,15 @@ "binop": null, "updateContext": null }, - "start": 19335, - "end": 19336, + "start": 19353, + "end": 19354, "loc": { "start": { - "line": 567, + "line": 564, "column": 16 }, "end": { - "line": 567, + "line": 564, "column": 17 } } @@ -156620,15 +158451,15 @@ "binop": null }, "value": "player", - "start": 19336, - "end": 19342, + "start": 19354, + "end": 19360, "loc": { "start": { - "line": 567, + "line": 564, "column": 17 }, "end": { - "line": 567, + "line": 564, "column": 23 } } @@ -156646,15 +158477,15 @@ "binop": null, "updateContext": null }, - "start": 19342, - "end": 19343, + "start": 19360, + "end": 19361, "loc": { "start": { - "line": 567, + "line": 564, "column": 23 }, "end": { - "line": 567, + "line": 564, "column": 24 } } @@ -156672,15 +158503,15 @@ "binop": null }, "value": "controlBar", - "start": 19343, - "end": 19353, + "start": 19361, + "end": 19371, "loc": { "start": { - "line": 567, + "line": 564, "column": 24 }, "end": { - "line": 567, + "line": 564, "column": 34 } } @@ -156698,15 +158529,15 @@ "binop": null, "updateContext": null }, - "start": 19353, - "end": 19354, + "start": 19371, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 564, "column": 34 }, "end": { - "line": 567, + "line": 564, "column": 35 } } @@ -156724,15 +158555,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19354, - "end": 19369, + "start": 19372, + "end": 19387, "loc": { "start": { - "line": 567, + "line": 564, "column": 35 }, "end": { - "line": 567, + "line": 564, "column": 50 } } @@ -156750,15 +158581,15 @@ "binop": null, "updateContext": null }, - "start": 19369, - "end": 19370, + "start": 19387, + "end": 19388, "loc": { "start": { - "line": 567, + "line": 564, "column": 50 }, "end": { - "line": 567, + "line": 564, "column": 51 } } @@ -156776,15 +158607,15 @@ "binop": null }, "value": "formattedTime_", - "start": 19370, - "end": 19384, + "start": 19388, + "end": 19402, "loc": { "start": { - "line": 567, + "line": 564, "column": 51 }, "end": { - "line": 567, + "line": 564, "column": 65 } } @@ -156803,15 +158634,15 @@ "updateContext": null }, "value": "=", - "start": 19385, - "end": 19386, + "start": 19403, + "end": 19404, "loc": { "start": { - "line": 567, + "line": 564, "column": 66 }, "end": { - "line": 567, + "line": 564, "column": 67 } } @@ -156831,15 +158662,15 @@ "updateContext": null }, "value": "this", - "start": 19403, - "end": 19407, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 565, "column": 16 }, "end": { - "line": 568, + "line": 565, "column": 20 } } @@ -156857,15 +158688,15 @@ "binop": null, "updateContext": null }, - "start": 19407, - "end": 19408, + "start": 19425, + "end": 19426, "loc": { "start": { - "line": 568, + "line": 565, "column": 20 }, "end": { - "line": 568, + "line": 565, "column": 21 } } @@ -156883,15 +158714,15 @@ "binop": null }, "value": "player", - "start": 19408, - "end": 19414, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 565, "column": 21 }, "end": { - "line": 568, + "line": 565, "column": 27 } } @@ -156909,15 +158740,15 @@ "binop": null, "updateContext": null }, - "start": 19414, - "end": 19415, + "start": 19432, + "end": 19433, "loc": { "start": { - "line": 568, + "line": 565, "column": 27 }, "end": { - "line": 568, + "line": 565, "column": 28 } } @@ -156935,15 +158766,15 @@ "binop": null }, "value": "controlBar", - "start": 19415, - "end": 19425, + "start": 19433, + "end": 19443, "loc": { "start": { - "line": 568, + "line": 565, "column": 28 }, "end": { - "line": 568, + "line": 565, "column": 38 } } @@ -156961,15 +158792,15 @@ "binop": null, "updateContext": null }, - "start": 19425, - "end": 19426, + "start": 19443, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 565, "column": 38 }, "end": { - "line": 568, + "line": 565, "column": 39 } } @@ -156987,15 +158818,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19426, - "end": 19441, + "start": 19444, + "end": 19459, "loc": { "start": { - "line": 568, + "line": 565, "column": 39 }, "end": { - "line": 568, + "line": 565, "column": 54 } } @@ -157013,15 +158844,15 @@ "binop": null, "updateContext": null }, - "start": 19441, - "end": 19442, + "start": 19459, + "end": 19460, "loc": { "start": { - "line": 568, + "line": 565, "column": 54 }, "end": { - "line": 568, + "line": 565, "column": 55 } } @@ -157039,15 +158870,15 @@ "binop": null }, "value": "contentEl", - "start": 19442, - "end": 19451, + "start": 19460, + "end": 19469, "loc": { "start": { - "line": 568, + "line": 565, "column": 55 }, "end": { - "line": 568, + "line": 565, "column": 64 } } @@ -157064,15 +158895,15 @@ "postfix": false, "binop": null }, - "start": 19451, - "end": 19452, + "start": 19469, + "end": 19470, "loc": { "start": { - "line": 568, + "line": 565, "column": 64 }, "end": { - "line": 568, + "line": 565, "column": 65 } } @@ -157089,15 +158920,15 @@ "postfix": false, "binop": null }, - "start": 19452, - "end": 19453, + "start": 19470, + "end": 19471, "loc": { "start": { - "line": 568, + "line": 565, "column": 65 }, "end": { - "line": 568, + "line": 565, "column": 66 } } @@ -157115,15 +158946,15 @@ "binop": null, "updateContext": null }, - "start": 19453, - "end": 19454, + "start": 19471, + "end": 19472, "loc": { "start": { - "line": 568, + "line": 565, "column": 66 }, "end": { - "line": 568, + "line": 565, "column": 67 } } @@ -157141,15 +158972,15 @@ "binop": null }, "value": "lastChild", - "start": 19454, - "end": 19463, + "start": 19472, + "end": 19481, "loc": { "start": { - "line": 568, + "line": 565, "column": 67 }, "end": { - "line": 568, + "line": 565, "column": 76 } } @@ -157167,15 +158998,15 @@ "binop": null, "updateContext": null }, - "start": 19463, - "end": 19464, + "start": 19481, + "end": 19482, "loc": { "start": { - "line": 568, + "line": 565, "column": 76 }, "end": { - "line": 568, + "line": 565, "column": 77 } } @@ -157193,15 +159024,15 @@ "binop": null }, "value": "textContent", - "start": 19464, - "end": 19475, + "start": 19482, + "end": 19493, "loc": { "start": { - "line": 568, + "line": 565, "column": 77 }, "end": { - "line": 568, + "line": 565, "column": 88 } } @@ -157220,15 +159051,15 @@ "updateContext": null }, "value": "=", - "start": 19476, - "end": 19477, + "start": 19494, + "end": 19495, "loc": { "start": { - "line": 568, + "line": 565, "column": 89 }, "end": { - "line": 568, + "line": 565, "column": 90 } } @@ -157246,15 +159077,15 @@ "binop": null }, "value": "formatTime", - "start": 19498, - "end": 19508, + "start": 19516, + "end": 19526, "loc": { "start": { - "line": 569, + "line": 566, "column": 20 }, "end": { - "line": 569, + "line": 566, "column": 30 } } @@ -157271,15 +159102,15 @@ "postfix": false, "binop": null }, - "start": 19508, - "end": 19509, + "start": 19526, + "end": 19527, "loc": { "start": { - "line": 569, + "line": 566, "column": 30 }, "end": { - "line": 569, + "line": 566, "column": 31 } } @@ -157297,15 +159128,15 @@ "binop": null }, "value": "duration", - "start": 19509, - "end": 19517, + "start": 19527, + "end": 19535, "loc": { "start": { - "line": 569, + "line": 566, "column": 31 }, "end": { - "line": 569, + "line": 566, "column": 39 } } @@ -157323,15 +159154,15 @@ "binop": null, "updateContext": null }, - "start": 19517, - "end": 19518, + "start": 19535, + "end": 19536, "loc": { "start": { - "line": 569, + "line": 566, "column": 39 }, "end": { - "line": 569, + "line": 566, "column": 40 } } @@ -157349,15 +159180,15 @@ "binop": null }, "value": "duration", - "start": 19519, - "end": 19527, + "start": 19537, + "end": 19545, "loc": { "start": { - "line": 569, + "line": 566, "column": 41 }, "end": { - "line": 569, + "line": 566, "column": 49 } } @@ -157375,15 +159206,15 @@ "binop": null, "updateContext": null }, - "start": 19527, - "end": 19528, + "start": 19545, + "end": 19546, "loc": { "start": { - "line": 569, + "line": 566, "column": 49 }, "end": { - "line": 569, + "line": 566, "column": 50 } } @@ -157403,15 +159234,15 @@ "updateContext": null }, "value": "this", - "start": 19529, - "end": 19533, + "start": 19547, + "end": 19551, "loc": { "start": { - "line": 569, + "line": 566, "column": 51 }, "end": { - "line": 569, + "line": 566, "column": 55 } } @@ -157429,15 +159260,15 @@ "binop": null, "updateContext": null }, - "start": 19533, - "end": 19534, + "start": 19551, + "end": 19552, "loc": { "start": { - "line": 569, + "line": 566, "column": 55 }, "end": { - "line": 569, + "line": 566, "column": 56 } } @@ -157454,17 +159285,17 @@ "postfix": false, "binop": null }, - "value": "msDisplayMax", - "start": 19534, - "end": 19546, + "value": "displayMilliseconds", + "start": 19552, + "end": 19571, "loc": { "start": { - "line": 569, + "line": 566, "column": 56 }, "end": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 } } }, @@ -157480,16 +159311,16 @@ "postfix": false, "binop": null }, - "start": 19546, - "end": 19547, + "start": 19571, + "end": 19572, "loc": { "start": { - "line": 569, - "column": 68 + "line": 566, + "column": 75 }, "end": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 } } }, @@ -157506,16 +159337,16 @@ "binop": null, "updateContext": null }, - "start": 19547, - "end": 19548, + "start": 19572, + "end": 19573, "loc": { "start": { - "line": 569, - "column": 69 + "line": 566, + "column": 76 }, "end": { - "line": 569, - "column": 70 + "line": 566, + "column": 77 } } }, @@ -157531,15 +159362,15 @@ "postfix": false, "binop": null }, - "start": 19557, - "end": 19558, + "start": 19582, + "end": 19583, "loc": { "start": { - "line": 570, + "line": 567, "column": 8 }, "end": { - "line": 570, + "line": 567, "column": 9 } } @@ -157556,15 +159387,15 @@ "postfix": false, "binop": null }, - "start": 19563, - "end": 19564, + "start": 19588, + "end": 19589, "loc": { "start": { - "line": 571, + "line": 568, "column": 4 }, "end": { - "line": 571, + "line": 568, "column": 5 } } @@ -157572,15 +159403,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 19570, - "end": 19687, + "start": 19595, + "end": 19712, "loc": { "start": { - "line": 573, + "line": 570, "column": 4 }, "end": { - "line": 578, + "line": 575, "column": 7 } } @@ -157598,15 +159429,15 @@ "binop": null }, "value": "onWaveReady", - "start": 19692, - "end": 19703, + "start": 19717, + "end": 19728, "loc": { "start": { - "line": 579, + "line": 576, "column": 4 }, "end": { - "line": 579, + "line": 576, "column": 15 } } @@ -157623,15 +159454,15 @@ "postfix": false, "binop": null }, - "start": 19703, - "end": 19704, + "start": 19728, + "end": 19729, "loc": { "start": { - "line": 579, + "line": 576, "column": 15 }, "end": { - "line": 579, + "line": 576, "column": 16 } } @@ -157648,15 +159479,15 @@ "postfix": false, "binop": null }, - "start": 19704, - "end": 19705, + "start": 19729, + "end": 19730, "loc": { "start": { - "line": 579, + "line": 576, "column": 16 }, "end": { - "line": 579, + "line": 576, "column": 17 } } @@ -157673,15 +159504,15 @@ "postfix": false, "binop": null }, - "start": 19706, - "end": 19707, + "start": 19731, + "end": 19732, "loc": { "start": { - "line": 579, + "line": 576, "column": 18 }, "end": { - "line": 579, + "line": 576, "column": 19 } } @@ -157701,15 +159532,15 @@ "updateContext": null }, "value": "this", - "start": 19716, - "end": 19720, + "start": 19741, + "end": 19745, "loc": { "start": { - "line": 580, + "line": 577, "column": 8 }, "end": { - "line": 580, + "line": 577, "column": 12 } } @@ -157727,15 +159558,15 @@ "binop": null, "updateContext": null }, - "start": 19720, - "end": 19721, + "start": 19745, + "end": 19746, "loc": { "start": { - "line": 580, + "line": 577, "column": 12 }, "end": { - "line": 580, + "line": 577, "column": 13 } } @@ -157753,15 +159584,15 @@ "binop": null }, "value": "waveReady", - "start": 19721, - "end": 19730, + "start": 19746, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 577, "column": 13 }, "end": { - "line": 580, + "line": 577, "column": 22 } } @@ -157780,15 +159611,15 @@ "updateContext": null }, "value": "=", - "start": 19731, - "end": 19732, + "start": 19756, + "end": 19757, "loc": { "start": { - "line": 580, + "line": 577, "column": 23 }, "end": { - "line": 580, + "line": 577, "column": 24 } } @@ -157808,15 +159639,15 @@ "updateContext": null }, "value": "true", - "start": 19733, - "end": 19737, + "start": 19758, + "end": 19762, "loc": { "start": { - "line": 580, + "line": 577, "column": 25 }, "end": { - "line": 580, + "line": 577, "column": 29 } } @@ -157834,15 +159665,15 @@ "binop": null, "updateContext": null }, - "start": 19737, - "end": 19738, + "start": 19762, + "end": 19763, "loc": { "start": { - "line": 580, + "line": 577, "column": 29 }, "end": { - "line": 580, + "line": 577, "column": 30 } } @@ -157862,15 +159693,15 @@ "updateContext": null }, "value": "this", - "start": 19747, - "end": 19751, + "start": 19772, + "end": 19776, "loc": { "start": { - "line": 581, + "line": 578, "column": 8 }, "end": { - "line": 581, + "line": 578, "column": 12 } } @@ -157888,15 +159719,15 @@ "binop": null, "updateContext": null }, - "start": 19751, - "end": 19752, + "start": 19776, + "end": 19777, "loc": { "start": { - "line": 581, + "line": 578, "column": 12 }, "end": { - "line": 581, + "line": 578, "column": 13 } } @@ -157914,15 +159745,15 @@ "binop": null }, "value": "waveFinished", - "start": 19752, - "end": 19764, + "start": 19777, + "end": 19789, "loc": { "start": { - "line": 581, + "line": 578, "column": 13 }, "end": { - "line": 581, + "line": 578, "column": 25 } } @@ -157941,15 +159772,15 @@ "updateContext": null }, "value": "=", - "start": 19765, - "end": 19766, + "start": 19790, + "end": 19791, "loc": { "start": { - "line": 581, + "line": 578, "column": 26 }, "end": { - "line": 581, + "line": 578, "column": 27 } } @@ -157969,15 +159800,15 @@ "updateContext": null }, "value": "false", - "start": 19767, - "end": 19772, + "start": 19792, + "end": 19797, "loc": { "start": { - "line": 581, + "line": 578, "column": 28 }, "end": { - "line": 581, + "line": 578, "column": 33 } } @@ -157995,15 +159826,15 @@ "binop": null, "updateContext": null }, - "start": 19772, - "end": 19773, + "start": 19797, + "end": 19798, "loc": { "start": { - "line": 581, + "line": 578, "column": 33 }, "end": { - "line": 581, + "line": 578, "column": 34 } } @@ -158023,15 +159854,15 @@ "updateContext": null }, "value": "this", - "start": 19782, - "end": 19786, + "start": 19807, + "end": 19811, "loc": { "start": { - "line": 582, + "line": 579, "column": 8 }, "end": { - "line": 582, + "line": 579, "column": 12 } } @@ -158049,15 +159880,15 @@ "binop": null, "updateContext": null }, - "start": 19786, - "end": 19787, + "start": 19811, + "end": 19812, "loc": { "start": { - "line": 582, + "line": 579, "column": 12 }, "end": { - "line": 582, + "line": 579, "column": 13 } } @@ -158075,15 +159906,15 @@ "binop": null }, "value": "liveMode", - "start": 19787, - "end": 19795, + "start": 19812, + "end": 19820, "loc": { "start": { - "line": 582, + "line": 579, "column": 13 }, "end": { - "line": 582, + "line": 579, "column": 21 } } @@ -158102,15 +159933,15 @@ "updateContext": null }, "value": "=", - "start": 19796, - "end": 19797, + "start": 19821, + "end": 19822, "loc": { "start": { - "line": 582, + "line": 579, "column": 22 }, "end": { - "line": 582, + "line": 579, "column": 23 } } @@ -158130,15 +159961,15 @@ "updateContext": null }, "value": "false", - "start": 19798, - "end": 19803, + "start": 19823, + "end": 19828, "loc": { "start": { - "line": 582, + "line": 579, "column": 24 }, "end": { - "line": 582, + "line": 579, "column": 29 } } @@ -158156,15 +159987,15 @@ "binop": null, "updateContext": null }, - "start": 19803, - "end": 19804, + "start": 19828, + "end": 19829, "loc": { "start": { - "line": 582, + "line": 579, "column": 29 }, "end": { - "line": 582, + "line": 579, "column": 30 } } @@ -158184,15 +160015,15 @@ "updateContext": null }, "value": "this", - "start": 19814, - "end": 19818, + "start": 19839, + "end": 19843, "loc": { "start": { - "line": 584, + "line": 581, "column": 8 }, "end": { - "line": 584, + "line": 581, "column": 12 } } @@ -158210,15 +160041,15 @@ "binop": null, "updateContext": null }, - "start": 19818, - "end": 19819, + "start": 19843, + "end": 19844, "loc": { "start": { - "line": 584, + "line": 581, "column": 12 }, "end": { - "line": 584, + "line": 581, "column": 13 } } @@ -158236,15 +160067,15 @@ "binop": null }, "value": "log", - "start": 19819, - "end": 19822, + "start": 19844, + "end": 19847, "loc": { "start": { - "line": 584, + "line": 581, "column": 13 }, "end": { - "line": 584, + "line": 581, "column": 16 } } @@ -158261,15 +160092,15 @@ "postfix": false, "binop": null }, - "start": 19822, - "end": 19823, + "start": 19847, + "end": 19848, "loc": { "start": { - "line": 584, + "line": 581, "column": 16 }, "end": { - "line": 584, + "line": 581, "column": 17 } } @@ -158288,15 +160119,15 @@ "updateContext": null }, "value": "Waveform is ready", - "start": 19823, - "end": 19842, + "start": 19848, + "end": 19867, "loc": { "start": { - "line": 584, + "line": 581, "column": 17 }, "end": { - "line": 584, + "line": 581, "column": 36 } } @@ -158313,15 +160144,15 @@ "postfix": false, "binop": null }, - "start": 19842, - "end": 19843, + "start": 19867, + "end": 19868, "loc": { "start": { - "line": 584, + "line": 581, "column": 36 }, "end": { - "line": 584, + "line": 581, "column": 37 } } @@ -158339,15 +160170,15 @@ "binop": null, "updateContext": null }, - "start": 19843, - "end": 19844, + "start": 19868, + "end": 19869, "loc": { "start": { - "line": 584, + "line": 581, "column": 37 }, "end": { - "line": 584, + "line": 581, "column": 38 } } @@ -158367,15 +160198,15 @@ "updateContext": null }, "value": "this", - "start": 19853, - "end": 19857, + "start": 19878, + "end": 19882, "loc": { "start": { - "line": 585, + "line": 582, "column": 8 }, "end": { - "line": 585, + "line": 582, "column": 12 } } @@ -158393,15 +160224,15 @@ "binop": null, "updateContext": null }, - "start": 19857, - "end": 19858, + "start": 19882, + "end": 19883, "loc": { "start": { - "line": 585, + "line": 582, "column": 12 }, "end": { - "line": 585, + "line": 582, "column": 13 } } @@ -158419,15 +160250,15 @@ "binop": null }, "value": "player", - "start": 19858, - "end": 19864, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 585, + "line": 582, "column": 13 }, "end": { - "line": 585, + "line": 582, "column": 19 } } @@ -158445,15 +160276,15 @@ "binop": null, "updateContext": null }, - "start": 19864, - "end": 19865, + "start": 19889, + "end": 19890, "loc": { "start": { - "line": 585, + "line": 582, "column": 19 }, "end": { - "line": 585, + "line": 582, "column": 20 } } @@ -158471,15 +160302,15 @@ "binop": null }, "value": "trigger", - "start": 19865, - "end": 19872, + "start": 19890, + "end": 19897, "loc": { "start": { - "line": 585, + "line": 582, "column": 20 }, "end": { - "line": 585, + "line": 582, "column": 27 } } @@ -158496,15 +160327,15 @@ "postfix": false, "binop": null }, - "start": 19872, - "end": 19873, + "start": 19897, + "end": 19898, "loc": { "start": { - "line": 585, + "line": 582, "column": 27 }, "end": { - "line": 585, + "line": 582, "column": 28 } } @@ -158522,15 +160353,15 @@ "binop": null }, "value": "Event", - "start": 19873, - "end": 19878, + "start": 19898, + "end": 19903, "loc": { "start": { - "line": 585, + "line": 582, "column": 28 }, "end": { - "line": 585, + "line": 582, "column": 33 } } @@ -158548,15 +160379,15 @@ "binop": null, "updateContext": null }, - "start": 19878, - "end": 19879, + "start": 19903, + "end": 19904, "loc": { "start": { - "line": 585, + "line": 582, "column": 33 }, "end": { - "line": 585, + "line": 582, "column": 34 } } @@ -158574,15 +160405,15 @@ "binop": null }, "value": "WAVE_READY", - "start": 19879, - "end": 19889, + "start": 19904, + "end": 19914, "loc": { "start": { - "line": 585, + "line": 582, "column": 34 }, "end": { - "line": 585, + "line": 582, "column": 44 } } @@ -158599,15 +160430,15 @@ "postfix": false, "binop": null }, - "start": 19889, - "end": 19890, + "start": 19914, + "end": 19915, "loc": { "start": { - "line": 585, + "line": 582, "column": 44 }, "end": { - "line": 585, + "line": 582, "column": 45 } } @@ -158625,35 +160456,19 @@ "binop": null, "updateContext": null }, - "start": 19890, - "end": 19891, + "start": 19915, + "end": 19916, "loc": { "start": { - "line": 585, + "line": 582, "column": 45 }, "end": { - "line": 585, + "line": 582, "column": 46 } } }, - { - "type": "CommentLine", - "value": " update time display", - "start": 19901, - "end": 19923, - "loc": { - "start": { - "line": 587, - "column": 8 - }, - "end": { - "line": 587, - "column": 30 - } - } - }, { "type": { "label": "if", @@ -158669,15 +160484,15 @@ "updateContext": null }, "value": "if", - "start": 19932, - "end": 19934, + "start": 19926, + "end": 19928, "loc": { "start": { - "line": 588, + "line": 584, "column": 8 }, "end": { - "line": 588, + "line": 584, "column": 10 } } @@ -158694,15 +160509,15 @@ "postfix": false, "binop": null }, - "start": 19935, - "end": 19936, + "start": 19929, + "end": 19930, "loc": { "start": { - "line": 588, + "line": 584, "column": 11 }, "end": { - "line": 588, + "line": 584, "column": 12 } } @@ -158722,15 +160537,15 @@ "updateContext": null }, "value": "this", - "start": 19936, - "end": 19940, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 588, + "line": 584, "column": 12 }, "end": { - "line": 588, + "line": 584, "column": 16 } } @@ -158748,15 +160563,15 @@ "binop": null, "updateContext": null }, - "start": 19940, - "end": 19941, + "start": 19934, + "end": 19935, "loc": { "start": { - "line": 588, + "line": 584, "column": 16 }, "end": { - "line": 588, + "line": 584, "column": 17 } } @@ -158774,15 +160589,15 @@ "binop": null }, "value": "backend", - "start": 19941, - "end": 19948, + "start": 19935, + "end": 19942, "loc": { "start": { - "line": 588, + "line": 584, "column": 17 }, "end": { - "line": 588, + "line": 584, "column": 24 } } @@ -158801,22 +160616,22 @@ "updateContext": null }, "value": "===", - "start": 19949, - "end": 19952, + "start": 19943, + "end": 19946, "loc": { "start": { - "line": 588, + "line": 584, "column": 25 }, "end": { - "line": 588, + "line": 584, "column": 28 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -158824,20 +160639,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 19953, - "end": 19963, + "value": "WEBAUDIO", + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 588, + "line": 584, "column": 29 }, "end": { - "line": 588, - "column": 39 + "line": 584, + "column": 37 } } }, @@ -158853,16 +160667,16 @@ "postfix": false, "binop": null }, - "start": 19963, - "end": 19964, + "start": 19955, + "end": 19956, "loc": { "start": { - "line": 588, - "column": 39 + "line": 584, + "column": 37 }, "end": { - "line": 588, - "column": 40 + "line": 584, + "column": 38 } } }, @@ -158878,16 +160692,32 @@ "postfix": false, "binop": null }, - "start": 19965, - "end": 19966, + "start": 19957, + "end": 19958, "loc": { "start": { - "line": 588, - "column": 41 + "line": 584, + "column": 39 }, "end": { - "line": 588, - "column": 42 + "line": 584, + "column": 40 + } + } + }, + { + "type": "CommentLine", + "value": " update time display", + "start": 19971, + "end": 19993, + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 34 } } }, @@ -158906,15 +160736,15 @@ "updateContext": null }, "value": "this", - "start": 19979, - "end": 19983, + "start": 20006, + "end": 20010, "loc": { "start": { - "line": 589, + "line": 586, "column": 12 }, "end": { - "line": 589, + "line": 586, "column": 16 } } @@ -158932,15 +160762,15 @@ "binop": null, "updateContext": null }, - "start": 19983, - "end": 19984, + "start": 20010, + "end": 20011, "loc": { "start": { - "line": 589, + "line": 586, "column": 16 }, "end": { - "line": 589, + "line": 586, "column": 17 } } @@ -158958,15 +160788,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 19984, - "end": 19998, + "start": 20011, + "end": 20025, "loc": { "start": { - "line": 589, + "line": 586, "column": 17 }, "end": { - "line": 589, + "line": 586, "column": 31 } } @@ -158983,15 +160813,15 @@ "postfix": false, "binop": null }, - "start": 19998, - "end": 19999, + "start": 20025, + "end": 20026, "loc": { "start": { - "line": 589, + "line": 586, "column": 31 }, "end": { - "line": 589, + "line": 586, "column": 32 } } @@ -159008,15 +160838,15 @@ "postfix": false, "binop": null }, - "start": 19999, - "end": 20000, + "start": 20026, + "end": 20027, "loc": { "start": { - "line": 589, + "line": 586, "column": 32 }, "end": { - "line": 589, + "line": 586, "column": 33 } } @@ -159034,15 +160864,15 @@ "binop": null, "updateContext": null }, - "start": 20000, - "end": 20001, + "start": 20027, + "end": 20028, "loc": { "start": { - "line": 589, + "line": 586, "column": 33 }, "end": { - "line": 589, + "line": 586, "column": 34 } } @@ -159062,15 +160892,15 @@ "updateContext": null }, "value": "this", - "start": 20014, - "end": 20018, + "start": 20041, + "end": 20045, "loc": { "start": { - "line": 590, + "line": 587, "column": 12 }, "end": { - "line": 590, + "line": 587, "column": 16 } } @@ -159088,15 +160918,15 @@ "binop": null, "updateContext": null }, - "start": 20018, - "end": 20019, + "start": 20045, + "end": 20046, "loc": { "start": { - "line": 590, + "line": 587, "column": 16 }, "end": { - "line": 590, + "line": 587, "column": 17 } } @@ -159114,15 +160944,15 @@ "binop": null }, "value": "setDuration", - "start": 20019, - "end": 20030, + "start": 20046, + "end": 20057, "loc": { "start": { - "line": 590, + "line": 587, "column": 17 }, "end": { - "line": 590, + "line": 587, "column": 28 } } @@ -159139,15 +160969,15 @@ "postfix": false, "binop": null }, - "start": 20030, - "end": 20031, + "start": 20057, + "end": 20058, "loc": { "start": { - "line": 590, + "line": 587, "column": 28 }, "end": { - "line": 590, + "line": 587, "column": 29 } } @@ -159164,15 +160994,15 @@ "postfix": false, "binop": null }, - "start": 20031, - "end": 20032, + "start": 20058, + "end": 20059, "loc": { "start": { - "line": 590, + "line": 587, "column": 29 }, "end": { - "line": 590, + "line": 587, "column": 30 } } @@ -159190,15 +161020,15 @@ "binop": null, "updateContext": null }, - "start": 20032, - "end": 20033, + "start": 20059, + "end": 20060, "loc": { "start": { - "line": 590, + "line": 587, "column": 30 }, "end": { - "line": 590, + "line": 587, "column": 31 } } @@ -159206,15 +161036,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20047, - "end": 20077, + "start": 20074, + "end": 20104, "loc": { "start": { - "line": 592, + "line": 589, "column": 12 }, "end": { - "line": 592, + "line": 589, "column": 42 } } @@ -159234,15 +161064,15 @@ "updateContext": null }, "value": "if", - "start": 20090, - "end": 20092, + "start": 20117, + "end": 20119, "loc": { "start": { - "line": 593, + "line": 590, "column": 12 }, "end": { - "line": 593, + "line": 590, "column": 14 } } @@ -159259,15 +161089,15 @@ "postfix": false, "binop": null }, - "start": 20093, - "end": 20094, + "start": 20120, + "end": 20121, "loc": { "start": { - "line": 593, + "line": 590, "column": 15 }, "end": { - "line": 593, + "line": 590, "column": 16 } } @@ -159287,15 +161117,15 @@ "updateContext": null }, "value": "this", - "start": 20094, - "end": 20098, + "start": 20121, + "end": 20125, "loc": { "start": { - "line": 593, + "line": 590, "column": 16 }, "end": { - "line": 593, + "line": 590, "column": 20 } } @@ -159313,15 +161143,15 @@ "binop": null, "updateContext": null }, - "start": 20098, - "end": 20099, + "start": 20125, + "end": 20126, "loc": { "start": { - "line": 593, + "line": 590, "column": 20 }, "end": { - "line": 593, + "line": 590, "column": 21 } } @@ -159339,15 +161169,15 @@ "binop": null }, "value": "player", - "start": 20099, - "end": 20105, + "start": 20126, + "end": 20132, "loc": { "start": { - "line": 593, + "line": 590, "column": 21 }, "end": { - "line": 593, + "line": 590, "column": 27 } } @@ -159365,15 +161195,15 @@ "binop": null, "updateContext": null }, - "start": 20105, - "end": 20106, + "start": 20132, + "end": 20133, "loc": { "start": { - "line": 593, + "line": 590, "column": 27 }, "end": { - "line": 593, + "line": 590, "column": 28 } } @@ -159391,15 +161221,15 @@ "binop": null }, "value": "controlBar", - "start": 20106, - "end": 20116, + "start": 20133, + "end": 20143, "loc": { "start": { - "line": 593, + "line": 590, "column": 28 }, "end": { - "line": 593, + "line": 590, "column": 38 } } @@ -159417,15 +161247,15 @@ "binop": null, "updateContext": null }, - "start": 20116, - "end": 20117, + "start": 20143, + "end": 20144, "loc": { "start": { - "line": 593, + "line": 590, "column": 38 }, "end": { - "line": 593, + "line": 590, "column": 39 } } @@ -159443,15 +161273,15 @@ "binop": null }, "value": "playToggle", - "start": 20117, - "end": 20127, + "start": 20144, + "end": 20154, "loc": { "start": { - "line": 593, + "line": 590, "column": 39 }, "end": { - "line": 593, + "line": 590, "column": 49 } } @@ -159470,15 +161300,15 @@ "updateContext": null }, "value": "!==", - "start": 20128, - "end": 20131, + "start": 20155, + "end": 20158, "loc": { "start": { - "line": 593, + "line": 590, "column": 50 }, "end": { - "line": 593, + "line": 590, "column": 53 } } @@ -159496,15 +161326,15 @@ "binop": null }, "value": "undefined", - "start": 20132, - "end": 20141, + "start": 20159, + "end": 20168, "loc": { "start": { - "line": 593, + "line": 590, "column": 54 }, "end": { - "line": 593, + "line": 590, "column": 63 } } @@ -159523,15 +161353,15 @@ "updateContext": null }, "value": "&&", - "start": 20142, - "end": 20144, + "start": 20169, + "end": 20171, "loc": { "start": { - "line": 593, + "line": 590, "column": 64 }, "end": { - "line": 593, + "line": 590, "column": 66 } } @@ -159551,15 +161381,15 @@ "updateContext": null }, "value": "this", - "start": 20161, - "end": 20165, + "start": 20188, + "end": 20192, "loc": { "start": { - "line": 594, + "line": 591, "column": 16 }, "end": { - "line": 594, + "line": 591, "column": 20 } } @@ -159577,15 +161407,15 @@ "binop": null, "updateContext": null }, - "start": 20165, - "end": 20166, + "start": 20192, + "end": 20193, "loc": { "start": { - "line": 594, + "line": 591, "column": 20 }, "end": { - "line": 594, + "line": 591, "column": 21 } } @@ -159603,15 +161433,15 @@ "binop": null }, "value": "player", - "start": 20166, - "end": 20172, + "start": 20193, + "end": 20199, "loc": { "start": { - "line": 594, + "line": 591, "column": 21 }, "end": { - "line": 594, + "line": 591, "column": 27 } } @@ -159629,15 +161459,15 @@ "binop": null, "updateContext": null }, - "start": 20172, - "end": 20173, + "start": 20199, + "end": 20200, "loc": { "start": { - "line": 594, + "line": 591, "column": 27 }, "end": { - "line": 594, + "line": 591, "column": 28 } } @@ -159655,15 +161485,15 @@ "binop": null }, "value": "controlBar", - "start": 20173, - "end": 20183, + "start": 20200, + "end": 20210, "loc": { "start": { - "line": 594, + "line": 591, "column": 28 }, "end": { - "line": 594, + "line": 591, "column": 38 } } @@ -159681,15 +161511,15 @@ "binop": null, "updateContext": null }, - "start": 20183, - "end": 20184, + "start": 20210, + "end": 20211, "loc": { "start": { - "line": 594, + "line": 591, "column": 38 }, "end": { - "line": 594, + "line": 591, "column": 39 } } @@ -159707,15 +161537,15 @@ "binop": null }, "value": "playToggle", - "start": 20184, - "end": 20194, + "start": 20211, + "end": 20221, "loc": { "start": { - "line": 594, + "line": 591, "column": 39 }, "end": { - "line": 594, + "line": 591, "column": 49 } } @@ -159733,15 +161563,15 @@ "binop": null, "updateContext": null }, - "start": 20194, - "end": 20195, + "start": 20221, + "end": 20222, "loc": { "start": { - "line": 594, + "line": 591, "column": 49 }, "end": { - "line": 594, + "line": 591, "column": 50 } } @@ -159759,15 +161589,15 @@ "binop": null }, "value": "contentEl", - "start": 20195, - "end": 20204, + "start": 20222, + "end": 20231, "loc": { "start": { - "line": 594, + "line": 591, "column": 50 }, "end": { - "line": 594, + "line": 591, "column": 59 } } @@ -159784,15 +161614,15 @@ "postfix": false, "binop": null }, - "start": 20204, - "end": 20205, + "start": 20231, + "end": 20232, "loc": { "start": { - "line": 594, + "line": 591, "column": 59 }, "end": { - "line": 594, + "line": 591, "column": 60 } } @@ -159809,15 +161639,15 @@ "postfix": false, "binop": null }, - "start": 20205, - "end": 20206, + "start": 20232, + "end": 20233, "loc": { "start": { - "line": 594, + "line": 591, "column": 60 }, "end": { - "line": 594, + "line": 591, "column": 61 } } @@ -159834,15 +161664,15 @@ "postfix": false, "binop": null }, - "start": 20206, - "end": 20207, + "start": 20233, + "end": 20234, "loc": { "start": { - "line": 594, + "line": 591, "column": 61 }, "end": { - "line": 594, + "line": 591, "column": 62 } } @@ -159859,15 +161689,15 @@ "postfix": false, "binop": null }, - "start": 20208, - "end": 20209, + "start": 20235, + "end": 20236, "loc": { "start": { - "line": 594, + "line": 591, "column": 63 }, "end": { - "line": 594, + "line": 591, "column": 64 } } @@ -159887,15 +161717,15 @@ "updateContext": null }, "value": "this", - "start": 20226, - "end": 20230, + "start": 20253, + "end": 20257, "loc": { "start": { - "line": 595, + "line": 592, "column": 16 }, "end": { - "line": 595, + "line": 592, "column": 20 } } @@ -159913,15 +161743,15 @@ "binop": null, "updateContext": null }, - "start": 20230, - "end": 20231, + "start": 20257, + "end": 20258, "loc": { "start": { - "line": 595, + "line": 592, "column": 20 }, "end": { - "line": 595, + "line": 592, "column": 21 } } @@ -159939,15 +161769,15 @@ "binop": null }, "value": "player", - "start": 20231, - "end": 20237, + "start": 20258, + "end": 20264, "loc": { "start": { - "line": 595, + "line": 592, "column": 21 }, "end": { - "line": 595, + "line": 592, "column": 27 } } @@ -159965,15 +161795,15 @@ "binop": null, "updateContext": null }, - "start": 20237, - "end": 20238, + "start": 20264, + "end": 20265, "loc": { "start": { - "line": 595, + "line": 592, "column": 27 }, "end": { - "line": 595, + "line": 592, "column": 28 } } @@ -159991,15 +161821,15 @@ "binop": null }, "value": "controlBar", - "start": 20238, - "end": 20248, + "start": 20265, + "end": 20275, "loc": { "start": { - "line": 595, + "line": 592, "column": 28 }, "end": { - "line": 595, + "line": 592, "column": 38 } } @@ -160017,15 +161847,15 @@ "binop": null, "updateContext": null }, - "start": 20248, - "end": 20249, + "start": 20275, + "end": 20276, "loc": { "start": { - "line": 595, + "line": 592, "column": 38 }, "end": { - "line": 595, + "line": 592, "column": 39 } } @@ -160043,15 +161873,15 @@ "binop": null }, "value": "playToggle", - "start": 20249, - "end": 20259, + "start": 20276, + "end": 20286, "loc": { "start": { - "line": 595, + "line": 592, "column": 39 }, "end": { - "line": 595, + "line": 592, "column": 49 } } @@ -160069,15 +161899,15 @@ "binop": null, "updateContext": null }, - "start": 20259, - "end": 20260, + "start": 20286, + "end": 20287, "loc": { "start": { - "line": 595, + "line": 592, "column": 49 }, "end": { - "line": 595, + "line": 592, "column": 50 } } @@ -160095,15 +161925,15 @@ "binop": null }, "value": "show", - "start": 20260, - "end": 20264, + "start": 20287, + "end": 20291, "loc": { "start": { - "line": 595, + "line": 592, "column": 50 }, "end": { - "line": 595, + "line": 592, "column": 54 } } @@ -160120,15 +161950,15 @@ "postfix": false, "binop": null }, - "start": 20264, - "end": 20265, + "start": 20291, + "end": 20292, "loc": { "start": { - "line": 595, + "line": 592, "column": 54 }, "end": { - "line": 595, + "line": 592, "column": 55 } } @@ -160145,15 +161975,15 @@ "postfix": false, "binop": null }, - "start": 20265, - "end": 20266, + "start": 20292, + "end": 20293, "loc": { "start": { - "line": 595, + "line": 592, "column": 55 }, "end": { - "line": 595, + "line": 592, "column": 56 } } @@ -160171,15 +162001,15 @@ "binop": null, "updateContext": null }, - "start": 20266, - "end": 20267, + "start": 20293, + "end": 20294, "loc": { "start": { - "line": 595, + "line": 592, "column": 56 }, "end": { - "line": 595, + "line": 592, "column": 57 } } @@ -160196,15 +162026,15 @@ "postfix": false, "binop": null }, - "start": 20280, - "end": 20281, + "start": 20307, + "end": 20308, "loc": { "start": { - "line": 596, + "line": 593, "column": 12 }, "end": { - "line": 596, + "line": 593, "column": 13 } } @@ -160221,15 +162051,15 @@ "postfix": false, "binop": null }, - "start": 20290, - "end": 20291, + "start": 20317, + "end": 20318, "loc": { "start": { - "line": 597, + "line": 594, "column": 8 }, "end": { - "line": 597, + "line": 594, "column": 9 } } @@ -160237,15 +162067,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20301, - "end": 20324, + "start": 20328, + "end": 20351, "loc": { "start": { - "line": 599, + "line": 596, "column": 8 }, "end": { - "line": 599, + "line": 596, "column": 31 } } @@ -160265,15 +162095,15 @@ "updateContext": null }, "value": "if", - "start": 20333, - "end": 20335, + "start": 20360, + "end": 20362, "loc": { "start": { - "line": 600, + "line": 597, "column": 8 }, "end": { - "line": 600, + "line": 597, "column": 10 } } @@ -160290,15 +162120,15 @@ "postfix": false, "binop": null }, - "start": 20336, - "end": 20337, + "start": 20363, + "end": 20364, "loc": { "start": { - "line": 600, + "line": 597, "column": 11 }, "end": { - "line": 600, + "line": 597, "column": 12 } } @@ -160318,15 +162148,15 @@ "updateContext": null }, "value": "this", - "start": 20337, - "end": 20341, + "start": 20364, + "end": 20368, "loc": { "start": { - "line": 600, + "line": 597, "column": 12 }, "end": { - "line": 600, + "line": 597, "column": 16 } } @@ -160344,15 +162174,15 @@ "binop": null, "updateContext": null }, - "start": 20341, - "end": 20342, + "start": 20368, + "end": 20369, "loc": { "start": { - "line": 600, + "line": 597, "column": 16 }, "end": { - "line": 600, + "line": 597, "column": 17 } } @@ -160370,15 +162200,15 @@ "binop": null }, "value": "player", - "start": 20342, - "end": 20348, + "start": 20369, + "end": 20375, "loc": { "start": { - "line": 600, + "line": 597, "column": 17 }, "end": { - "line": 600, + "line": 597, "column": 23 } } @@ -160396,15 +162226,15 @@ "binop": null, "updateContext": null }, - "start": 20348, - "end": 20349, + "start": 20375, + "end": 20376, "loc": { "start": { - "line": 600, + "line": 597, "column": 23 }, "end": { - "line": 600, + "line": 597, "column": 24 } } @@ -160422,15 +162252,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 20349, - "end": 20363, + "start": 20376, + "end": 20390, "loc": { "start": { - "line": 600, + "line": 597, "column": 24 }, "end": { - "line": 600, + "line": 597, "column": 38 } } @@ -160448,15 +162278,15 @@ "binop": null, "updateContext": null }, - "start": 20363, - "end": 20364, + "start": 20390, + "end": 20391, "loc": { "start": { - "line": 600, + "line": 597, "column": 38 }, "end": { - "line": 600, + "line": 597, "column": 39 } } @@ -160474,15 +162304,15 @@ "binop": null }, "value": "contentEl", - "start": 20364, - "end": 20373, + "start": 20391, + "end": 20400, "loc": { "start": { - "line": 600, + "line": 597, "column": 39 }, "end": { - "line": 600, + "line": 597, "column": 48 } } @@ -160499,15 +162329,15 @@ "postfix": false, "binop": null }, - "start": 20373, - "end": 20374, + "start": 20400, + "end": 20401, "loc": { "start": { - "line": 600, + "line": 597, "column": 48 }, "end": { - "line": 600, + "line": 597, "column": 49 } } @@ -160524,15 +162354,15 @@ "postfix": false, "binop": null }, - "start": 20374, - "end": 20375, + "start": 20401, + "end": 20402, "loc": { "start": { - "line": 600, + "line": 597, "column": 49 }, "end": { - "line": 600, + "line": 597, "column": 50 } } @@ -160549,15 +162379,15 @@ "postfix": false, "binop": null }, - "start": 20375, - "end": 20376, + "start": 20402, + "end": 20403, "loc": { "start": { - "line": 600, + "line": 597, "column": 50 }, "end": { - "line": 600, + "line": 597, "column": 51 } } @@ -160574,15 +162404,15 @@ "postfix": false, "binop": null }, - "start": 20377, - "end": 20378, + "start": 20404, + "end": 20405, "loc": { "start": { - "line": 600, + "line": 597, "column": 52 }, "end": { - "line": 600, + "line": 597, "column": 53 } } @@ -160602,15 +162432,15 @@ "updateContext": null }, "value": "this", - "start": 20391, - "end": 20395, + "start": 20418, + "end": 20422, "loc": { "start": { - "line": 601, + "line": 598, "column": 12 }, "end": { - "line": 601, + "line": 598, "column": 16 } } @@ -160628,15 +162458,15 @@ "binop": null, "updateContext": null }, - "start": 20395, - "end": 20396, + "start": 20422, + "end": 20423, "loc": { "start": { - "line": 601, + "line": 598, "column": 16 }, "end": { - "line": 601, + "line": 598, "column": 17 } } @@ -160654,15 +162484,15 @@ "binop": null }, "value": "player", - "start": 20396, - "end": 20402, + "start": 20423, + "end": 20429, "loc": { "start": { - "line": 601, + "line": 598, "column": 17 }, "end": { - "line": 601, + "line": 598, "column": 23 } } @@ -160680,15 +162510,15 @@ "binop": null, "updateContext": null }, - "start": 20402, - "end": 20403, + "start": 20429, + "end": 20430, "loc": { "start": { - "line": 601, + "line": 598, "column": 23 }, "end": { - "line": 601, + "line": 598, "column": 24 } } @@ -160706,15 +162536,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 20403, - "end": 20417, + "start": 20430, + "end": 20444, "loc": { "start": { - "line": 601, + "line": 598, "column": 24 }, "end": { - "line": 601, + "line": 598, "column": 38 } } @@ -160732,15 +162562,15 @@ "binop": null, "updateContext": null }, - "start": 20417, - "end": 20418, + "start": 20444, + "end": 20445, "loc": { "start": { - "line": 601, + "line": 598, "column": 38 }, "end": { - "line": 601, + "line": 598, "column": 39 } } @@ -160758,15 +162588,15 @@ "binop": null }, "value": "hide", - "start": 20418, - "end": 20422, + "start": 20445, + "end": 20449, "loc": { "start": { - "line": 601, + "line": 598, "column": 39 }, "end": { - "line": 601, + "line": 598, "column": 43 } } @@ -160783,15 +162613,15 @@ "postfix": false, "binop": null }, - "start": 20422, - "end": 20423, + "start": 20449, + "end": 20450, "loc": { "start": { - "line": 601, + "line": 598, "column": 43 }, "end": { - "line": 601, + "line": 598, "column": 44 } } @@ -160808,15 +162638,15 @@ "postfix": false, "binop": null }, - "start": 20423, - "end": 20424, + "start": 20450, + "end": 20451, "loc": { "start": { - "line": 601, + "line": 598, "column": 44 }, "end": { - "line": 601, + "line": 598, "column": 45 } } @@ -160834,15 +162664,15 @@ "binop": null, "updateContext": null }, - "start": 20424, - "end": 20425, + "start": 20451, + "end": 20452, "loc": { "start": { - "line": 601, + "line": 598, "column": 45 }, "end": { - "line": 601, + "line": 598, "column": 46 } } @@ -160859,15 +162689,15 @@ "postfix": false, "binop": null }, - "start": 20434, - "end": 20435, + "start": 20461, + "end": 20462, "loc": { "start": { - "line": 602, + "line": 599, "column": 8 }, "end": { - "line": 602, + "line": 599, "column": 9 } } @@ -160875,15 +162705,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20445, - "end": 20481, + "start": 20472, + "end": 20508, "loc": { "start": { - "line": 604, + "line": 601, "column": 8 }, "end": { - "line": 604, + "line": 601, "column": 44 } } @@ -160903,15 +162733,15 @@ "updateContext": null }, "value": "if", - "start": 20490, - "end": 20492, + "start": 20517, + "end": 20519, "loc": { "start": { - "line": 605, + "line": 602, "column": 8 }, "end": { - "line": 605, + "line": 602, "column": 10 } } @@ -160928,15 +162758,15 @@ "postfix": false, "binop": null }, - "start": 20493, - "end": 20494, + "start": 20520, + "end": 20521, "loc": { "start": { - "line": 605, + "line": 602, "column": 11 }, "end": { - "line": 605, + "line": 602, "column": 12 } } @@ -160956,15 +162786,15 @@ "updateContext": null }, "value": "this", - "start": 20494, - "end": 20498, + "start": 20521, + "end": 20525, "loc": { "start": { - "line": 605, + "line": 602, "column": 12 }, "end": { - "line": 605, + "line": 602, "column": 16 } } @@ -160982,15 +162812,15 @@ "binop": null, "updateContext": null }, - "start": 20498, - "end": 20499, + "start": 20525, + "end": 20526, "loc": { "start": { - "line": 605, + "line": 602, "column": 16 }, "end": { - "line": 605, + "line": 602, "column": 17 } } @@ -161008,15 +162838,15 @@ "binop": null }, "value": "player", - "start": 20499, - "end": 20505, + "start": 20526, + "end": 20532, "loc": { "start": { - "line": 605, + "line": 602, "column": 17 }, "end": { - "line": 605, + "line": 602, "column": 23 } } @@ -161034,15 +162864,15 @@ "binop": null, "updateContext": null }, - "start": 20505, - "end": 20506, + "start": 20532, + "end": 20533, "loc": { "start": { - "line": 605, + "line": 602, "column": 23 }, "end": { - "line": 605, + "line": 602, "column": 24 } } @@ -161060,15 +162890,15 @@ "binop": null }, "value": "options_", - "start": 20506, - "end": 20514, + "start": 20533, + "end": 20541, "loc": { "start": { - "line": 605, + "line": 602, "column": 24 }, "end": { - "line": 605, + "line": 602, "column": 32 } } @@ -161086,15 +162916,15 @@ "binop": null, "updateContext": null }, - "start": 20514, - "end": 20515, + "start": 20541, + "end": 20542, "loc": { "start": { - "line": 605, + "line": 602, "column": 32 }, "end": { - "line": 605, + "line": 602, "column": 33 } } @@ -161112,15 +162942,15 @@ "binop": null }, "value": "autoplay", - "start": 20515, - "end": 20523, + "start": 20542, + "end": 20550, "loc": { "start": { - "line": 605, + "line": 602, "column": 33 }, "end": { - "line": 605, + "line": 602, "column": 41 } } @@ -161139,15 +162969,15 @@ "updateContext": null }, "value": "===", - "start": 20524, - "end": 20527, + "start": 20551, + "end": 20554, "loc": { "start": { - "line": 605, + "line": 602, "column": 42 }, "end": { - "line": 605, + "line": 602, "column": 45 } } @@ -161167,15 +162997,15 @@ "updateContext": null }, "value": "true", - "start": 20528, - "end": 20532, + "start": 20555, + "end": 20559, "loc": { "start": { - "line": 605, + "line": 602, "column": 46 }, "end": { - "line": 605, + "line": 602, "column": 50 } } @@ -161192,15 +163022,15 @@ "postfix": false, "binop": null }, - "start": 20532, - "end": 20533, + "start": 20559, + "end": 20560, "loc": { "start": { - "line": 605, + "line": 602, "column": 50 }, "end": { - "line": 605, + "line": 602, "column": 51 } } @@ -161217,15 +163047,15 @@ "postfix": false, "binop": null }, - "start": 20534, - "end": 20535, + "start": 20561, + "end": 20562, "loc": { "start": { - "line": 605, + "line": 602, "column": 52 }, "end": { - "line": 605, + "line": 602, "column": 53 } } @@ -161233,15 +163063,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 20548, - "end": 20595, + "start": 20575, + "end": 20622, "loc": { "start": { - "line": 606, + "line": 603, "column": 12 }, "end": { - "line": 606, + "line": 603, "column": 59 } } @@ -161261,15 +163091,15 @@ "updateContext": null }, "value": "this", - "start": 20608, - "end": 20612, + "start": 20635, + "end": 20639, "loc": { "start": { - "line": 607, + "line": 604, "column": 12 }, "end": { - "line": 607, + "line": 604, "column": 16 } } @@ -161287,15 +163117,15 @@ "binop": null, "updateContext": null }, - "start": 20612, - "end": 20613, + "start": 20639, + "end": 20640, "loc": { "start": { - "line": 607, + "line": 604, "column": 16 }, "end": { - "line": 607, + "line": 604, "column": 17 } } @@ -161313,15 +163143,15 @@ "binop": null }, "value": "setVolume", - "start": 20613, - "end": 20622, + "start": 20640, + "end": 20649, "loc": { "start": { - "line": 607, + "line": 604, "column": 17 }, "end": { - "line": 607, + "line": 604, "column": 26 } } @@ -161338,15 +163168,15 @@ "postfix": false, "binop": null }, - "start": 20622, - "end": 20623, + "start": 20649, + "end": 20650, "loc": { "start": { - "line": 607, + "line": 604, "column": 26 }, "end": { - "line": 607, + "line": 604, "column": 27 } } @@ -161365,15 +163195,15 @@ "updateContext": null }, "value": 0, - "start": 20623, - "end": 20624, + "start": 20650, + "end": 20651, "loc": { "start": { - "line": 607, + "line": 604, "column": 27 }, "end": { - "line": 607, + "line": 604, "column": 28 } } @@ -161390,15 +163220,15 @@ "postfix": false, "binop": null }, - "start": 20624, - "end": 20625, + "start": 20651, + "end": 20652, "loc": { "start": { - "line": 607, + "line": 604, "column": 28 }, "end": { - "line": 607, + "line": 604, "column": 29 } } @@ -161416,15 +163246,15 @@ "binop": null, "updateContext": null }, - "start": 20625, - "end": 20626, + "start": 20652, + "end": 20653, "loc": { "start": { - "line": 607, + "line": 604, "column": 29 }, "end": { - "line": 607, + "line": 604, "column": 30 } } @@ -161432,15 +163262,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 20640, - "end": 20656, + "start": 20667, + "end": 20683, "loc": { "start": { - "line": 609, + "line": 606, "column": 12 }, "end": { - "line": 609, + "line": 606, "column": 28 } } @@ -161460,15 +163290,15 @@ "updateContext": null }, "value": "if", - "start": 20669, - "end": 20671, + "start": 20696, + "end": 20698, "loc": { "start": { - "line": 610, + "line": 607, "column": 12 }, "end": { - "line": 610, + "line": 607, "column": 14 } } @@ -161485,15 +163315,15 @@ "postfix": false, "binop": null }, - "start": 20672, - "end": 20673, + "start": 20699, + "end": 20700, "loc": { "start": { - "line": 610, + "line": 607, "column": 15 }, "end": { - "line": 610, + "line": 607, "column": 16 } } @@ -161513,15 +163343,15 @@ "updateContext": null }, "value": "this", - "start": 20673, - "end": 20677, + "start": 20700, + "end": 20704, "loc": { "start": { - "line": 610, + "line": 607, "column": 16 }, "end": { - "line": 610, + "line": 607, "column": 20 } } @@ -161539,15 +163369,15 @@ "binop": null, "updateContext": null }, - "start": 20677, - "end": 20678, + "start": 20704, + "end": 20705, "loc": { "start": { - "line": 610, + "line": 607, "column": 20 }, "end": { - "line": 610, + "line": 607, "column": 21 } } @@ -161565,15 +163395,15 @@ "binop": null }, "value": "backend", - "start": 20678, - "end": 20685, + "start": 20705, + "end": 20712, "loc": { "start": { - "line": 610, + "line": 607, "column": 21 }, "end": { - "line": 610, + "line": 607, "column": 28 } } @@ -161592,22 +163422,22 @@ "updateContext": null }, "value": "===", - "start": 20686, - "end": 20689, + "start": 20713, + "end": 20716, "loc": { "start": { - "line": 610, + "line": 607, "column": 29 }, "end": { - "line": 610, + "line": 607, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -161615,20 +163445,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 20690, - "end": 20700, + "value": "WEBAUDIO", + "start": 20717, + "end": 20725, "loc": { "start": { - "line": 610, + "line": 607, "column": 33 }, "end": { - "line": 610, - "column": 43 + "line": 607, + "column": 41 } } }, @@ -161644,16 +163473,16 @@ "postfix": false, "binop": null }, - "start": 20700, - "end": 20701, + "start": 20725, + "end": 20726, "loc": { "start": { - "line": 610, - "column": 43 + "line": 607, + "column": 41 }, "end": { - "line": 610, - "column": 44 + "line": 607, + "column": 42 } } }, @@ -161669,16 +163498,16 @@ "postfix": false, "binop": null }, - "start": 20702, - "end": 20703, + "start": 20727, + "end": 20728, "loc": { "start": { - "line": 610, - "column": 45 + "line": 607, + "column": 43 }, "end": { - "line": 610, - "column": 46 + "line": 607, + "column": 44 } } }, @@ -161697,15 +163526,15 @@ "updateContext": null }, "value": "this", - "start": 20720, - "end": 20724, + "start": 20745, + "end": 20749, "loc": { "start": { - "line": 611, + "line": 608, "column": 16 }, "end": { - "line": 611, + "line": 608, "column": 20 } } @@ -161723,15 +163552,15 @@ "binop": null, "updateContext": null }, - "start": 20724, - "end": 20725, + "start": 20749, + "end": 20750, "loc": { "start": { - "line": 611, + "line": 608, "column": 20 }, "end": { - "line": 611, + "line": 608, "column": 21 } } @@ -161749,15 +163578,15 @@ "binop": null }, "value": "play", - "start": 20725, - "end": 20729, + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 611, + "line": 608, "column": 21 }, "end": { - "line": 611, + "line": 608, "column": 25 } } @@ -161774,15 +163603,15 @@ "postfix": false, "binop": null }, - "start": 20729, - "end": 20730, + "start": 20754, + "end": 20755, "loc": { "start": { - "line": 611, + "line": 608, "column": 25 }, "end": { - "line": 611, + "line": 608, "column": 26 } } @@ -161799,15 +163628,15 @@ "postfix": false, "binop": null }, - "start": 20730, - "end": 20731, + "start": 20755, + "end": 20756, "loc": { "start": { - "line": 611, + "line": 608, "column": 26 }, "end": { - "line": 611, + "line": 608, "column": 27 } } @@ -161825,15 +163654,15 @@ "binop": null, "updateContext": null }, - "start": 20731, - "end": 20732, + "start": 20756, + "end": 20757, "loc": { "start": { - "line": 611, + "line": 608, "column": 27 }, "end": { - "line": 611, + "line": 608, "column": 28 } } @@ -161850,15 +163679,15 @@ "postfix": false, "binop": null }, - "start": 20745, - "end": 20746, + "start": 20770, + "end": 20771, "loc": { "start": { - "line": 612, + "line": 609, "column": 12 }, "end": { - "line": 612, + "line": 609, "column": 13 } } @@ -161878,15 +163707,15 @@ "updateContext": null }, "value": "else", - "start": 20747, - "end": 20751, + "start": 20772, + "end": 20776, "loc": { "start": { - "line": 612, + "line": 609, "column": 14 }, "end": { - "line": 612, + "line": 609, "column": 18 } } @@ -161903,15 +163732,15 @@ "postfix": false, "binop": null }, - "start": 20752, - "end": 20753, + "start": 20777, + "end": 20778, "loc": { "start": { - "line": 612, + "line": 609, "column": 19 }, "end": { - "line": 612, + "line": 609, "column": 20 } } @@ -161931,15 +163760,15 @@ "updateContext": null }, "value": "this", - "start": 20770, - "end": 20774, + "start": 20795, + "end": 20799, "loc": { "start": { - "line": 613, + "line": 610, "column": 16 }, "end": { - "line": 613, + "line": 610, "column": 20 } } @@ -161957,15 +163786,15 @@ "binop": null, "updateContext": null }, - "start": 20774, - "end": 20775, + "start": 20799, + "end": 20800, "loc": { "start": { - "line": 613, + "line": 610, "column": 20 }, "end": { - "line": 613, + "line": 610, "column": 21 } } @@ -161983,15 +163812,15 @@ "binop": null }, "value": "player", - "start": 20775, - "end": 20781, + "start": 20800, + "end": 20806, "loc": { "start": { - "line": 613, + "line": 610, "column": 21 }, "end": { - "line": 613, + "line": 610, "column": 27 } } @@ -162009,15 +163838,15 @@ "binop": null, "updateContext": null }, - "start": 20781, - "end": 20782, + "start": 20806, + "end": 20807, "loc": { "start": { - "line": 613, + "line": 610, "column": 27 }, "end": { - "line": 613, + "line": 610, "column": 28 } } @@ -162035,15 +163864,15 @@ "binop": null }, "value": "play", - "start": 20782, - "end": 20786, + "start": 20807, + "end": 20811, "loc": { "start": { - "line": 613, + "line": 610, "column": 28 }, "end": { - "line": 613, + "line": 610, "column": 32 } } @@ -162060,15 +163889,15 @@ "postfix": false, "binop": null }, - "start": 20786, - "end": 20787, + "start": 20811, + "end": 20812, "loc": { "start": { - "line": 613, + "line": 610, "column": 32 }, "end": { - "line": 613, + "line": 610, "column": 33 } } @@ -162085,15 +163914,15 @@ "postfix": false, "binop": null }, - "start": 20787, - "end": 20788, + "start": 20812, + "end": 20813, "loc": { "start": { - "line": 613, + "line": 610, "column": 33 }, "end": { - "line": 613, + "line": 610, "column": 34 } } @@ -162111,15 +163940,15 @@ "binop": null, "updateContext": null }, - "start": 20788, - "end": 20789, + "start": 20813, + "end": 20814, "loc": { "start": { - "line": 613, + "line": 610, "column": 34 }, "end": { - "line": 613, + "line": 610, "column": 35 } } @@ -162139,15 +163968,15 @@ "updateContext": null }, "value": "catch", - "start": 20789, - "end": 20794, + "start": 20814, + "end": 20819, "loc": { "start": { - "line": 613, + "line": 610, "column": 35 }, "end": { - "line": 613, + "line": 610, "column": 40 } } @@ -162164,15 +163993,15 @@ "postfix": false, "binop": null }, - "start": 20794, - "end": 20795, + "start": 20819, + "end": 20820, "loc": { "start": { - "line": 613, + "line": 610, "column": 40 }, "end": { - "line": 613, + "line": 610, "column": 41 } } @@ -162190,15 +164019,15 @@ "binop": null }, "value": "e", - "start": 20795, - "end": 20796, + "start": 20820, + "end": 20821, "loc": { "start": { - "line": 613, + "line": 610, "column": 41 }, "end": { - "line": 613, + "line": 610, "column": 42 } } @@ -162216,15 +164045,15 @@ "binop": null, "updateContext": null }, - "start": 20797, - "end": 20799, + "start": 20822, + "end": 20824, "loc": { "start": { - "line": 613, + "line": 610, "column": 43 }, "end": { - "line": 613, + "line": 610, "column": 45 } } @@ -162241,15 +164070,15 @@ "postfix": false, "binop": null }, - "start": 20800, - "end": 20801, + "start": 20825, + "end": 20826, "loc": { "start": { - "line": 613, + "line": 610, "column": 46 }, "end": { - "line": 613, + "line": 610, "column": 47 } } @@ -162269,15 +164098,15 @@ "updateContext": null }, "value": "this", - "start": 20822, - "end": 20826, + "start": 20847, + "end": 20851, "loc": { "start": { - "line": 614, + "line": 611, "column": 20 }, "end": { - "line": 614, + "line": 611, "column": 24 } } @@ -162295,15 +164124,15 @@ "binop": null, "updateContext": null }, - "start": 20826, - "end": 20827, + "start": 20851, + "end": 20852, "loc": { "start": { - "line": 614, + "line": 611, "column": 24 }, "end": { - "line": 614, + "line": 611, "column": 25 } } @@ -162321,15 +164150,15 @@ "binop": null }, "value": "onWaveError", - "start": 20827, - "end": 20838, + "start": 20852, + "end": 20863, "loc": { "start": { - "line": 614, + "line": 611, "column": 25 }, "end": { - "line": 614, + "line": 611, "column": 36 } } @@ -162346,15 +164175,15 @@ "postfix": false, "binop": null }, - "start": 20838, - "end": 20839, + "start": 20863, + "end": 20864, "loc": { "start": { - "line": 614, + "line": 611, "column": 36 }, "end": { - "line": 614, + "line": 611, "column": 37 } } @@ -162372,15 +164201,15 @@ "binop": null }, "value": "e", - "start": 20839, - "end": 20840, + "start": 20864, + "end": 20865, "loc": { "start": { - "line": 614, + "line": 611, "column": 37 }, "end": { - "line": 614, + "line": 611, "column": 38 } } @@ -162397,15 +164226,15 @@ "postfix": false, "binop": null }, - "start": 20840, - "end": 20841, + "start": 20865, + "end": 20866, "loc": { "start": { - "line": 614, + "line": 611, "column": 38 }, "end": { - "line": 614, + "line": 611, "column": 39 } } @@ -162423,15 +164252,15 @@ "binop": null, "updateContext": null }, - "start": 20841, - "end": 20842, + "start": 20866, + "end": 20867, "loc": { "start": { - "line": 614, + "line": 611, "column": 39 }, "end": { - "line": 614, + "line": 611, "column": 40 } } @@ -162448,15 +164277,15 @@ "postfix": false, "binop": null }, - "start": 20859, - "end": 20860, + "start": 20884, + "end": 20885, "loc": { "start": { - "line": 615, + "line": 612, "column": 16 }, "end": { - "line": 615, + "line": 612, "column": 17 } } @@ -162473,15 +164302,15 @@ "postfix": false, "binop": null }, - "start": 20860, - "end": 20861, + "start": 20885, + "end": 20886, "loc": { "start": { - "line": 615, + "line": 612, "column": 17 }, "end": { - "line": 615, + "line": 612, "column": 18 } } @@ -162499,15 +164328,15 @@ "binop": null, "updateContext": null }, - "start": 20861, - "end": 20862, + "start": 20886, + "end": 20887, "loc": { "start": { - "line": 615, + "line": 612, "column": 18 }, "end": { - "line": 615, + "line": 612, "column": 19 } } @@ -162524,15 +164353,15 @@ "postfix": false, "binop": null }, - "start": 20875, - "end": 20876, + "start": 20900, + "end": 20901, "loc": { "start": { - "line": 616, + "line": 613, "column": 12 }, "end": { - "line": 616, + "line": 613, "column": 13 } } @@ -162549,15 +164378,15 @@ "postfix": false, "binop": null }, - "start": 20885, - "end": 20886, + "start": 20910, + "end": 20911, "loc": { "start": { - "line": 617, + "line": 614, "column": 8 }, "end": { - "line": 617, + "line": 614, "column": 9 } } @@ -162574,15 +164403,15 @@ "postfix": false, "binop": null }, - "start": 20891, - "end": 20892, + "start": 20916, + "end": 20917, "loc": { "start": { - "line": 618, + "line": 615, "column": 4 }, "end": { - "line": 618, + "line": 615, "column": 5 } } @@ -162590,15 +164419,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 20898, - "end": 21005, + "start": 20923, + "end": 21030, "loc": { "start": { - "line": 620, + "line": 617, "column": 4 }, "end": { - "line": 625, + "line": 622, "column": 7 } } @@ -162616,15 +164445,15 @@ "binop": null }, "value": "onWaveFinish", - "start": 21010, - "end": 21022, + "start": 21035, + "end": 21047, "loc": { "start": { - "line": 626, + "line": 623, "column": 4 }, "end": { - "line": 626, + "line": 623, "column": 16 } } @@ -162641,15 +164470,15 @@ "postfix": false, "binop": null }, - "start": 21022, - "end": 21023, + "start": 21047, + "end": 21048, "loc": { "start": { - "line": 626, + "line": 623, "column": 16 }, "end": { - "line": 626, + "line": 623, "column": 17 } } @@ -162666,15 +164495,15 @@ "postfix": false, "binop": null }, - "start": 21023, - "end": 21024, + "start": 21048, + "end": 21049, "loc": { "start": { - "line": 626, + "line": 623, "column": 17 }, "end": { - "line": 626, + "line": 623, "column": 18 } } @@ -162691,15 +164520,15 @@ "postfix": false, "binop": null }, - "start": 21025, - "end": 21026, + "start": 21050, + "end": 21051, "loc": { "start": { - "line": 626, + "line": 623, "column": 19 }, "end": { - "line": 626, + "line": 623, "column": 20 } } @@ -162719,15 +164548,15 @@ "updateContext": null }, "value": "this", - "start": 21035, - "end": 21039, + "start": 21060, + "end": 21064, "loc": { "start": { - "line": 627, + "line": 624, "column": 8 }, "end": { - "line": 627, + "line": 624, "column": 12 } } @@ -162745,15 +164574,15 @@ "binop": null, "updateContext": null }, - "start": 21039, - "end": 21040, + "start": 21064, + "end": 21065, "loc": { "start": { - "line": 627, + "line": 624, "column": 12 }, "end": { - "line": 627, + "line": 624, "column": 13 } } @@ -162771,15 +164600,15 @@ "binop": null }, "value": "log", - "start": 21040, - "end": 21043, + "start": 21065, + "end": 21068, "loc": { "start": { - "line": 627, + "line": 624, "column": 13 }, "end": { - "line": 627, + "line": 624, "column": 16 } } @@ -162796,15 +164625,15 @@ "postfix": false, "binop": null }, - "start": 21043, - "end": 21044, + "start": 21068, + "end": 21069, "loc": { "start": { - "line": 627, + "line": 624, "column": 16 }, "end": { - "line": 627, + "line": 624, "column": 17 } } @@ -162823,15 +164652,15 @@ "updateContext": null }, "value": "Finished playback", - "start": 21044, - "end": 21063, + "start": 21069, + "end": 21088, "loc": { "start": { - "line": 627, + "line": 624, "column": 17 }, "end": { - "line": 627, + "line": 624, "column": 36 } } @@ -162848,15 +164677,15 @@ "postfix": false, "binop": null }, - "start": 21063, - "end": 21064, + "start": 21088, + "end": 21089, "loc": { "start": { - "line": 627, + "line": 624, "column": 36 }, "end": { - "line": 627, + "line": 624, "column": 37 } } @@ -162874,15 +164703,15 @@ "binop": null, "updateContext": null }, - "start": 21064, - "end": 21065, + "start": 21089, + "end": 21090, "loc": { "start": { - "line": 627, + "line": 624, "column": 37 }, "end": { - "line": 627, + "line": 624, "column": 38 } } @@ -162890,15 +164719,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21075, - "end": 21094, + "start": 21100, + "end": 21119, "loc": { "start": { - "line": 629, + "line": 626, "column": 8 }, "end": { - "line": 629, + "line": 626, "column": 27 } } @@ -162918,15 +164747,15 @@ "updateContext": null }, "value": "this", - "start": 21103, - "end": 21107, + "start": 21128, + "end": 21132, "loc": { "start": { - "line": 630, + "line": 627, "column": 8 }, "end": { - "line": 630, + "line": 627, "column": 12 } } @@ -162944,15 +164773,15 @@ "binop": null, "updateContext": null }, - "start": 21107, - "end": 21108, + "start": 21132, + "end": 21133, "loc": { "start": { - "line": 630, + "line": 627, "column": 12 }, "end": { - "line": 630, + "line": 627, "column": 13 } } @@ -162970,15 +164799,15 @@ "binop": null }, "value": "player", - "start": 21108, - "end": 21114, + "start": 21133, + "end": 21139, "loc": { "start": { - "line": 630, + "line": 627, "column": 13 }, "end": { - "line": 630, + "line": 627, "column": 19 } } @@ -162996,15 +164825,15 @@ "binop": null, "updateContext": null }, - "start": 21114, - "end": 21115, + "start": 21139, + "end": 21140, "loc": { "start": { - "line": 630, + "line": 627, "column": 19 }, "end": { - "line": 630, + "line": 627, "column": 20 } } @@ -163022,15 +164851,15 @@ "binop": null }, "value": "trigger", - "start": 21115, - "end": 21122, + "start": 21140, + "end": 21147, "loc": { "start": { - "line": 630, + "line": 627, "column": 20 }, "end": { - "line": 630, + "line": 627, "column": 27 } } @@ -163047,15 +164876,15 @@ "postfix": false, "binop": null }, - "start": 21122, - "end": 21123, + "start": 21147, + "end": 21148, "loc": { "start": { - "line": 630, + "line": 627, "column": 27 }, "end": { - "line": 630, + "line": 627, "column": 28 } } @@ -163073,15 +164902,15 @@ "binop": null }, "value": "Event", - "start": 21123, - "end": 21128, + "start": 21148, + "end": 21153, "loc": { "start": { - "line": 630, + "line": 627, "column": 28 }, "end": { - "line": 630, + "line": 627, "column": 33 } } @@ -163099,15 +164928,15 @@ "binop": null, "updateContext": null }, - "start": 21128, - "end": 21129, + "start": 21153, + "end": 21154, "loc": { "start": { - "line": 630, + "line": 627, "column": 33 }, "end": { - "line": 630, + "line": 627, "column": 34 } } @@ -163125,15 +164954,15 @@ "binop": null }, "value": "PLAYBACK_FINISH", - "start": 21129, - "end": 21144, + "start": 21154, + "end": 21169, "loc": { "start": { - "line": 630, + "line": 627, "column": 34 }, "end": { - "line": 630, + "line": 627, "column": 49 } } @@ -163150,15 +164979,15 @@ "postfix": false, "binop": null }, - "start": 21144, - "end": 21145, + "start": 21169, + "end": 21170, "loc": { "start": { - "line": 630, + "line": 627, "column": 49 }, "end": { - "line": 630, + "line": 627, "column": 50 } } @@ -163176,15 +165005,15 @@ "binop": null, "updateContext": null }, - "start": 21145, - "end": 21146, + "start": 21170, + "end": 21171, "loc": { "start": { - "line": 630, + "line": 627, "column": 50 }, "end": { - "line": 630, + "line": 627, "column": 51 } } @@ -163192,15 +165021,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21156, - "end": 21183, + "start": 21181, + "end": 21208, "loc": { "start": { - "line": 632, + "line": 629, "column": 8 }, "end": { - "line": 632, + "line": 629, "column": 35 } } @@ -163220,15 +165049,15 @@ "updateContext": null }, "value": "if", - "start": 21192, - "end": 21194, + "start": 21217, + "end": 21219, "loc": { "start": { - "line": 633, + "line": 630, "column": 8 }, "end": { - "line": 633, + "line": 630, "column": 10 } } @@ -163245,15 +165074,15 @@ "postfix": false, "binop": null }, - "start": 21195, - "end": 21196, + "start": 21220, + "end": 21221, "loc": { "start": { - "line": 633, + "line": 630, "column": 11 }, "end": { - "line": 633, + "line": 630, "column": 12 } } @@ -163273,15 +165102,15 @@ "updateContext": null }, "value": "this", - "start": 21196, - "end": 21200, + "start": 21221, + "end": 21225, "loc": { "start": { - "line": 633, + "line": 630, "column": 12 }, "end": { - "line": 633, + "line": 630, "column": 16 } } @@ -163299,15 +165128,15 @@ "binop": null, "updateContext": null }, - "start": 21200, - "end": 21201, + "start": 21225, + "end": 21226, "loc": { "start": { - "line": 633, + "line": 630, "column": 16 }, "end": { - "line": 633, + "line": 630, "column": 17 } } @@ -163325,15 +165154,15 @@ "binop": null }, "value": "player", - "start": 21201, - "end": 21207, + "start": 21226, + "end": 21232, "loc": { "start": { - "line": 633, + "line": 630, "column": 17 }, "end": { - "line": 633, + "line": 630, "column": 23 } } @@ -163351,15 +165180,15 @@ "binop": null, "updateContext": null }, - "start": 21207, - "end": 21208, + "start": 21232, + "end": 21233, "loc": { "start": { - "line": 633, + "line": 630, "column": 23 }, "end": { - "line": 633, + "line": 630, "column": 24 } } @@ -163377,15 +165206,15 @@ "binop": null }, "value": "options_", - "start": 21208, - "end": 21216, + "start": 21233, + "end": 21241, "loc": { "start": { - "line": 633, + "line": 630, "column": 24 }, "end": { - "line": 633, + "line": 630, "column": 32 } } @@ -163403,15 +165232,15 @@ "binop": null, "updateContext": null }, - "start": 21216, - "end": 21217, + "start": 21241, + "end": 21242, "loc": { "start": { - "line": 633, + "line": 630, "column": 32 }, "end": { - "line": 633, + "line": 630, "column": 33 } } @@ -163429,15 +165258,15 @@ "binop": null }, "value": "loop", - "start": 21217, - "end": 21221, + "start": 21242, + "end": 21246, "loc": { "start": { - "line": 633, + "line": 630, "column": 33 }, "end": { - "line": 633, + "line": 630, "column": 37 } } @@ -163456,15 +165285,15 @@ "updateContext": null }, "value": "===", - "start": 21222, - "end": 21225, + "start": 21247, + "end": 21250, "loc": { "start": { - "line": 633, + "line": 630, "column": 38 }, "end": { - "line": 633, + "line": 630, "column": 41 } } @@ -163484,15 +165313,15 @@ "updateContext": null }, "value": "true", - "start": 21226, - "end": 21230, + "start": 21251, + "end": 21255, "loc": { "start": { - "line": 633, + "line": 630, "column": 42 }, "end": { - "line": 633, + "line": 630, "column": 46 } } @@ -163509,15 +165338,15 @@ "postfix": false, "binop": null }, - "start": 21230, - "end": 21231, + "start": 21255, + "end": 21256, "loc": { "start": { - "line": 633, + "line": 630, "column": 46 }, "end": { - "line": 633, + "line": 630, "column": 47 } } @@ -163534,15 +165363,15 @@ "postfix": false, "binop": null }, - "start": 21232, - "end": 21233, + "start": 21257, + "end": 21258, "loc": { "start": { - "line": 633, + "line": 630, "column": 48 }, "end": { - "line": 633, + "line": 630, "column": 49 } } @@ -163562,15 +165391,15 @@ "updateContext": null }, "value": "if", - "start": 21246, - "end": 21248, + "start": 21271, + "end": 21273, "loc": { "start": { - "line": 634, + "line": 631, "column": 12 }, "end": { - "line": 634, + "line": 631, "column": 14 } } @@ -163587,15 +165416,15 @@ "postfix": false, "binop": null }, - "start": 21249, - "end": 21250, + "start": 21274, + "end": 21275, "loc": { "start": { - "line": 634, + "line": 631, "column": 15 }, "end": { - "line": 634, + "line": 631, "column": 16 } } @@ -163615,15 +165444,15 @@ "updateContext": null }, "value": "this", - "start": 21250, - "end": 21254, + "start": 21275, + "end": 21279, "loc": { "start": { - "line": 634, + "line": 631, "column": 16 }, "end": { - "line": 634, + "line": 631, "column": 20 } } @@ -163641,15 +165470,15 @@ "binop": null, "updateContext": null }, - "start": 21254, - "end": 21255, + "start": 21279, + "end": 21280, "loc": { "start": { - "line": 634, + "line": 631, "column": 20 }, "end": { - "line": 634, + "line": 631, "column": 21 } } @@ -163667,15 +165496,15 @@ "binop": null }, "value": "backend", - "start": 21255, - "end": 21262, + "start": 21280, + "end": 21287, "loc": { "start": { - "line": 634, + "line": 631, "column": 21 }, "end": { - "line": 634, + "line": 631, "column": 28 } } @@ -163694,22 +165523,22 @@ "updateContext": null }, "value": "===", - "start": 21263, - "end": 21266, + "start": 21288, + "end": 21291, "loc": { "start": { - "line": 634, + "line": 631, "column": 29 }, "end": { - "line": 634, + "line": 631, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -163717,20 +165546,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 21267, - "end": 21277, + "value": "WEBAUDIO", + "start": 21292, + "end": 21300, "loc": { "start": { - "line": 634, + "line": 631, "column": 33 }, "end": { - "line": 634, - "column": 43 + "line": 631, + "column": 41 } } }, @@ -163746,16 +165574,16 @@ "postfix": false, "binop": null }, - "start": 21277, - "end": 21278, + "start": 21300, + "end": 21301, "loc": { "start": { - "line": 634, - "column": 43 + "line": 631, + "column": 41 }, "end": { - "line": 634, - "column": 44 + "line": 631, + "column": 42 } } }, @@ -163771,31 +165599,31 @@ "postfix": false, "binop": null }, - "start": 21279, - "end": 21280, + "start": 21302, + "end": 21303, "loc": { "start": { - "line": 634, - "column": 45 + "line": 631, + "column": 43 }, "end": { - "line": 634, - "column": 46 + "line": 631, + "column": 44 } } }, { "type": "CommentLine", "value": " reset waveform", - "start": 21297, - "end": 21314, + "start": 21320, + "end": 21337, "loc": { "start": { - "line": 635, + "line": 632, "column": 16 }, "end": { - "line": 635, + "line": 632, "column": 33 } } @@ -163815,15 +165643,15 @@ "updateContext": null }, "value": "this", - "start": 21331, - "end": 21335, + "start": 21354, + "end": 21358, "loc": { "start": { - "line": 636, + "line": 633, "column": 16 }, "end": { - "line": 636, + "line": 633, "column": 20 } } @@ -163841,15 +165669,15 @@ "binop": null, "updateContext": null }, - "start": 21335, - "end": 21336, + "start": 21358, + "end": 21359, "loc": { "start": { - "line": 636, + "line": 633, "column": 20 }, "end": { - "line": 636, + "line": 633, "column": 21 } } @@ -163867,15 +165695,15 @@ "binop": null }, "value": "surfer", - "start": 21336, - "end": 21342, + "start": 21359, + "end": 21365, "loc": { "start": { - "line": 636, + "line": 633, "column": 21 }, "end": { - "line": 636, + "line": 633, "column": 27 } } @@ -163893,15 +165721,15 @@ "binop": null, "updateContext": null }, - "start": 21342, - "end": 21343, + "start": 21365, + "end": 21366, "loc": { "start": { - "line": 636, + "line": 633, "column": 27 }, "end": { - "line": 636, + "line": 633, "column": 28 } } @@ -163919,15 +165747,15 @@ "binop": null }, "value": "stop", - "start": 21343, - "end": 21347, + "start": 21366, + "end": 21370, "loc": { "start": { - "line": 636, + "line": 633, "column": 28 }, "end": { - "line": 636, + "line": 633, "column": 32 } } @@ -163944,15 +165772,15 @@ "postfix": false, "binop": null }, - "start": 21347, - "end": 21348, + "start": 21370, + "end": 21371, "loc": { "start": { - "line": 636, + "line": 633, "column": 32 }, "end": { - "line": 636, + "line": 633, "column": 33 } } @@ -163969,15 +165797,15 @@ "postfix": false, "binop": null }, - "start": 21348, - "end": 21349, + "start": 21371, + "end": 21372, "loc": { "start": { - "line": 636, + "line": 633, "column": 33 }, "end": { - "line": 636, + "line": 633, "column": 34 } } @@ -163995,15 +165823,15 @@ "binop": null, "updateContext": null }, - "start": 21349, - "end": 21350, + "start": 21372, + "end": 21373, "loc": { "start": { - "line": 636, + "line": 633, "column": 34 }, "end": { - "line": 636, + "line": 633, "column": 35 } } @@ -164023,15 +165851,15 @@ "updateContext": null }, "value": "this", - "start": 21367, - "end": 21371, + "start": 21390, + "end": 21394, "loc": { "start": { - "line": 637, + "line": 634, "column": 16 }, "end": { - "line": 637, + "line": 634, "column": 20 } } @@ -164049,15 +165877,15 @@ "binop": null, "updateContext": null }, - "start": 21371, - "end": 21372, + "start": 21394, + "end": 21395, "loc": { "start": { - "line": 637, + "line": 634, "column": 20 }, "end": { - "line": 637, + "line": 634, "column": 21 } } @@ -164075,15 +165903,15 @@ "binop": null }, "value": "play", - "start": 21372, - "end": 21376, + "start": 21395, + "end": 21399, "loc": { "start": { - "line": 637, + "line": 634, "column": 21 }, "end": { - "line": 637, + "line": 634, "column": 25 } } @@ -164100,15 +165928,15 @@ "postfix": false, "binop": null }, - "start": 21376, - "end": 21377, + "start": 21399, + "end": 21400, "loc": { "start": { - "line": 637, + "line": 634, "column": 25 }, "end": { - "line": 637, + "line": 634, "column": 26 } } @@ -164125,15 +165953,15 @@ "postfix": false, "binop": null }, - "start": 21377, - "end": 21378, + "start": 21400, + "end": 21401, "loc": { "start": { - "line": 637, + "line": 634, "column": 26 }, "end": { - "line": 637, + "line": 634, "column": 27 } } @@ -164151,15 +165979,15 @@ "binop": null, "updateContext": null }, - "start": 21378, - "end": 21379, + "start": 21401, + "end": 21402, "loc": { "start": { - "line": 637, + "line": 634, "column": 27 }, "end": { - "line": 637, + "line": 634, "column": 28 } } @@ -164176,15 +166004,15 @@ "postfix": false, "binop": null }, - "start": 21392, - "end": 21393, + "start": 21415, + "end": 21416, "loc": { "start": { - "line": 638, + "line": 635, "column": 12 }, "end": { - "line": 638, + "line": 635, "column": 13 } } @@ -164201,15 +166029,15 @@ "postfix": false, "binop": null }, - "start": 21402, - "end": 21403, + "start": 21425, + "end": 21426, "loc": { "start": { - "line": 639, + "line": 636, "column": 8 }, "end": { - "line": 639, + "line": 636, "column": 9 } } @@ -164229,15 +166057,15 @@ "updateContext": null }, "value": "else", - "start": 21404, - "end": 21408, + "start": 21427, + "end": 21431, "loc": { "start": { - "line": 639, + "line": 636, "column": 10 }, "end": { - "line": 639, + "line": 636, "column": 14 } } @@ -164254,15 +166082,15 @@ "postfix": false, "binop": null }, - "start": 21409, - "end": 21410, + "start": 21432, + "end": 21433, "loc": { "start": { - "line": 639, + "line": 636, "column": 15 }, "end": { - "line": 639, + "line": 636, "column": 16 } } @@ -164270,15 +166098,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21423, - "end": 21434, + "start": 21446, + "end": 21457, "loc": { "start": { - "line": 640, + "line": 637, "column": 12 }, "end": { - "line": 640, + "line": 637, "column": 23 } } @@ -164298,15 +166126,15 @@ "updateContext": null }, "value": "this", - "start": 21447, - "end": 21451, + "start": 21470, + "end": 21474, "loc": { "start": { - "line": 641, + "line": 638, "column": 12 }, "end": { - "line": 641, + "line": 638, "column": 16 } } @@ -164324,15 +166152,15 @@ "binop": null, "updateContext": null }, - "start": 21451, - "end": 21452, + "start": 21474, + "end": 21475, "loc": { "start": { - "line": 641, + "line": 638, "column": 16 }, "end": { - "line": 641, + "line": 638, "column": 17 } } @@ -164350,15 +166178,15 @@ "binop": null }, "value": "waveFinished", - "start": 21452, - "end": 21464, + "start": 21475, + "end": 21487, "loc": { "start": { - "line": 641, + "line": 638, "column": 17 }, "end": { - "line": 641, + "line": 638, "column": 29 } } @@ -164377,15 +166205,15 @@ "updateContext": null }, "value": "=", - "start": 21465, - "end": 21466, + "start": 21488, + "end": 21489, "loc": { "start": { - "line": 641, + "line": 638, "column": 30 }, "end": { - "line": 641, + "line": 638, "column": 31 } } @@ -164405,15 +166233,15 @@ "updateContext": null }, "value": "true", - "start": 21467, - "end": 21471, + "start": 21490, + "end": 21494, "loc": { "start": { - "line": 641, + "line": 638, "column": 32 }, "end": { - "line": 641, + "line": 638, "column": 36 } } @@ -164431,15 +166259,15 @@ "binop": null, "updateContext": null }, - "start": 21471, - "end": 21472, + "start": 21494, + "end": 21495, "loc": { "start": { - "line": 641, + "line": 638, "column": 36 }, "end": { - "line": 641, + "line": 638, "column": 37 } } @@ -164459,15 +166287,15 @@ "updateContext": null }, "value": "if", - "start": 21486, - "end": 21488, + "start": 21509, + "end": 21511, "loc": { "start": { - "line": 643, + "line": 640, "column": 12 }, "end": { - "line": 643, + "line": 640, "column": 14 } } @@ -164484,15 +166312,15 @@ "postfix": false, "binop": null }, - "start": 21489, - "end": 21490, + "start": 21512, + "end": 21513, "loc": { "start": { - "line": 643, + "line": 640, "column": 15 }, "end": { - "line": 643, + "line": 640, "column": 16 } } @@ -164512,15 +166340,15 @@ "updateContext": null }, "value": "this", - "start": 21490, - "end": 21494, + "start": 21513, + "end": 21517, "loc": { "start": { - "line": 643, + "line": 640, "column": 16 }, "end": { - "line": 643, + "line": 640, "column": 20 } } @@ -164538,15 +166366,15 @@ "binop": null, "updateContext": null }, - "start": 21494, - "end": 21495, + "start": 21517, + "end": 21518, "loc": { "start": { - "line": 643, + "line": 640, "column": 20 }, "end": { - "line": 643, + "line": 640, "column": 21 } } @@ -164564,15 +166392,15 @@ "binop": null }, "value": "backend", - "start": 21495, - "end": 21502, + "start": 21518, + "end": 21525, "loc": { "start": { - "line": 643, + "line": 640, "column": 21 }, "end": { - "line": 643, + "line": 640, "column": 28 } } @@ -164591,22 +166419,22 @@ "updateContext": null }, "value": "===", - "start": 21503, - "end": 21506, + "start": 21526, + "end": 21529, "loc": { "start": { - "line": 643, + "line": 640, "column": 29 }, "end": { - "line": 643, + "line": 640, "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -164614,20 +166442,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "WebAudio", - "start": 21507, - "end": 21517, + "value": "WEBAUDIO", + "start": 21530, + "end": 21538, "loc": { "start": { - "line": 643, + "line": 640, "column": 33 }, "end": { - "line": 643, - "column": 43 + "line": 640, + "column": 41 } } }, @@ -164643,16 +166470,16 @@ "postfix": false, "binop": null }, - "start": 21517, - "end": 21518, + "start": 21538, + "end": 21539, "loc": { "start": { - "line": 643, - "column": 43 + "line": 640, + "column": 41 }, "end": { - "line": 643, - "column": 44 + "line": 640, + "column": 42 } } }, @@ -164668,31 +166495,31 @@ "postfix": false, "binop": null }, - "start": 21519, - "end": 21520, + "start": 21540, + "end": 21541, "loc": { "start": { - "line": 643, - "column": 45 + "line": 640, + "column": 43 }, "end": { - "line": 643, - "column": 46 + "line": 640, + "column": 44 } } }, { "type": "CommentLine", "value": " pause player", - "start": 21537, - "end": 21552, + "start": 21558, + "end": 21573, "loc": { "start": { - "line": 644, + "line": 641, "column": 16 }, "end": { - "line": 644, + "line": 641, "column": 31 } } @@ -164712,15 +166539,15 @@ "updateContext": null }, "value": "this", - "start": 21569, - "end": 21573, + "start": 21590, + "end": 21594, "loc": { "start": { - "line": 645, + "line": 642, "column": 16 }, "end": { - "line": 645, + "line": 642, "column": 20 } } @@ -164738,15 +166565,15 @@ "binop": null, "updateContext": null }, - "start": 21573, - "end": 21574, + "start": 21594, + "end": 21595, "loc": { "start": { - "line": 645, + "line": 642, "column": 20 }, "end": { - "line": 645, + "line": 642, "column": 21 } } @@ -164764,15 +166591,15 @@ "binop": null }, "value": "pause", - "start": 21574, - "end": 21579, + "start": 21595, + "end": 21600, "loc": { "start": { - "line": 645, + "line": 642, "column": 21 }, "end": { - "line": 645, + "line": 642, "column": 26 } } @@ -164789,15 +166616,15 @@ "postfix": false, "binop": null }, - "start": 21579, - "end": 21580, + "start": 21600, + "end": 21601, "loc": { "start": { - "line": 645, + "line": 642, "column": 26 }, "end": { - "line": 645, + "line": 642, "column": 27 } } @@ -164814,15 +166641,15 @@ "postfix": false, "binop": null }, - "start": 21580, - "end": 21581, + "start": 21601, + "end": 21602, "loc": { "start": { - "line": 645, + "line": 642, "column": 27 }, "end": { - "line": 645, + "line": 642, "column": 28 } } @@ -164840,15 +166667,15 @@ "binop": null, "updateContext": null }, - "start": 21581, - "end": 21582, + "start": 21602, + "end": 21603, "loc": { "start": { - "line": 645, + "line": 642, "column": 28 }, "end": { - "line": 645, + "line": 642, "column": 29 } } @@ -164856,15 +166683,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 21600, - "end": 21639, + "start": 21621, + "end": 21660, "loc": { "start": { - "line": 647, + "line": 644, "column": 16 }, "end": { - "line": 647, + "line": 644, "column": 55 } } @@ -164884,15 +166711,15 @@ "updateContext": null }, "value": "this", - "start": 21656, - "end": 21660, + "start": 21677, + "end": 21681, "loc": { "start": { - "line": 648, + "line": 645, "column": 16 }, "end": { - "line": 648, + "line": 645, "column": 20 } } @@ -164910,15 +166737,15 @@ "binop": null, "updateContext": null }, - "start": 21660, - "end": 21661, + "start": 21681, + "end": 21682, "loc": { "start": { - "line": 648, + "line": 645, "column": 20 }, "end": { - "line": 648, + "line": 645, "column": 21 } } @@ -164936,15 +166763,15 @@ "binop": null }, "value": "player", - "start": 21661, - "end": 21667, + "start": 21682, + "end": 21688, "loc": { "start": { - "line": 648, + "line": 645, "column": 21 }, "end": { - "line": 648, + "line": 645, "column": 27 } } @@ -164962,15 +166789,15 @@ "binop": null, "updateContext": null }, - "start": 21667, - "end": 21668, + "start": 21688, + "end": 21689, "loc": { "start": { - "line": 648, + "line": 645, "column": 27 }, "end": { - "line": 648, + "line": 645, "column": 28 } } @@ -164988,15 +166815,15 @@ "binop": null }, "value": "trigger", - "start": 21668, - "end": 21675, + "start": 21689, + "end": 21696, "loc": { "start": { - "line": 648, + "line": 645, "column": 28 }, "end": { - "line": 648, + "line": 645, "column": 35 } } @@ -165013,15 +166840,15 @@ "postfix": false, "binop": null }, - "start": 21675, - "end": 21676, + "start": 21696, + "end": 21697, "loc": { "start": { - "line": 648, + "line": 645, "column": 35 }, "end": { - "line": 648, + "line": 645, "column": 36 } } @@ -165039,15 +166866,15 @@ "binop": null }, "value": "Event", - "start": 21676, - "end": 21681, + "start": 21697, + "end": 21702, "loc": { "start": { - "line": 648, + "line": 645, "column": 36 }, "end": { - "line": 648, + "line": 645, "column": 41 } } @@ -165065,15 +166892,15 @@ "binop": null, "updateContext": null }, - "start": 21681, - "end": 21682, + "start": 21702, + "end": 21703, "loc": { "start": { - "line": 648, + "line": 645, "column": 41 }, "end": { - "line": 648, + "line": 645, "column": 42 } } @@ -165091,15 +166918,15 @@ "binop": null }, "value": "ENDED", - "start": 21682, - "end": 21687, + "start": 21703, + "end": 21708, "loc": { "start": { - "line": 648, + "line": 645, "column": 42 }, "end": { - "line": 648, + "line": 645, "column": 47 } } @@ -165116,15 +166943,15 @@ "postfix": false, "binop": null }, - "start": 21687, - "end": 21688, + "start": 21708, + "end": 21709, "loc": { "start": { - "line": 648, + "line": 645, "column": 47 }, "end": { - "line": 648, + "line": 645, "column": 48 } } @@ -165142,15 +166969,15 @@ "binop": null, "updateContext": null }, - "start": 21688, - "end": 21689, + "start": 21709, + "end": 21710, "loc": { "start": { - "line": 648, + "line": 645, "column": 48 }, "end": { - "line": 648, + "line": 645, "column": 49 } } @@ -165158,15 +166985,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 21707, - "end": 21769, + "start": 21728, + "end": 21790, "loc": { "start": { - "line": 650, + "line": 647, "column": 16 }, "end": { - "line": 650, + "line": 647, "column": 78 } } @@ -165174,15 +167001,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 21786, - "end": 21849, + "start": 21807, + "end": 21870, "loc": { "start": { - "line": 651, + "line": 648, "column": 16 }, "end": { - "line": 651, + "line": 648, "column": 79 } } @@ -165190,15 +167017,15 @@ { "type": "CommentLine", "value": " button", - "start": 21866, - "end": 21875, + "start": 21887, + "end": 21896, "loc": { "start": { - "line": 652, + "line": 649, "column": 16 }, "end": { - "line": 652, + "line": 649, "column": 25 } } @@ -165218,15 +167045,15 @@ "updateContext": null }, "value": "this", - "start": 21892, - "end": 21896, + "start": 21913, + "end": 21917, "loc": { "start": { - "line": 653, + "line": 650, "column": 16 }, "end": { - "line": 653, + "line": 650, "column": 20 } } @@ -165244,15 +167071,15 @@ "binop": null, "updateContext": null }, - "start": 21896, - "end": 21897, + "start": 21917, + "end": 21918, "loc": { "start": { - "line": 653, + "line": 650, "column": 20 }, "end": { - "line": 653, + "line": 650, "column": 21 } } @@ -165270,15 +167097,15 @@ "binop": null }, "value": "surfer", - "start": 21897, - "end": 21903, + "start": 21918, + "end": 21924, "loc": { "start": { - "line": 653, + "line": 650, "column": 21 }, "end": { - "line": 653, + "line": 650, "column": 27 } } @@ -165296,15 +167123,15 @@ "binop": null, "updateContext": null }, - "start": 21903, - "end": 21904, + "start": 21924, + "end": 21925, "loc": { "start": { - "line": 653, + "line": 650, "column": 27 }, "end": { - "line": 653, + "line": 650, "column": 28 } } @@ -165322,15 +167149,15 @@ "binop": null }, "value": "once", - "start": 21904, - "end": 21908, + "start": 21925, + "end": 21929, "loc": { "start": { - "line": 653, + "line": 650, "column": 28 }, "end": { - "line": 653, + "line": 650, "column": 32 } } @@ -165347,15 +167174,15 @@ "postfix": false, "binop": null }, - "start": 21908, - "end": 21909, + "start": 21929, + "end": 21930, "loc": { "start": { - "line": 653, + "line": 650, "column": 32 }, "end": { - "line": 653, + "line": 650, "column": 33 } } @@ -165373,15 +167200,15 @@ "binop": null }, "value": "Event", - "start": 21909, - "end": 21914, + "start": 21930, + "end": 21935, "loc": { "start": { - "line": 653, + "line": 650, "column": 33 }, "end": { - "line": 653, + "line": 650, "column": 38 } } @@ -165399,15 +167226,15 @@ "binop": null, "updateContext": null }, - "start": 21914, - "end": 21915, + "start": 21935, + "end": 21936, "loc": { "start": { - "line": 653, + "line": 650, "column": 38 }, "end": { - "line": 653, + "line": 650, "column": 39 } } @@ -165425,15 +167252,15 @@ "binop": null }, "value": "SEEK", - "start": 21915, - "end": 21919, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 653, + "line": 650, "column": 39 }, "end": { - "line": 653, + "line": 650, "column": 43 } } @@ -165451,15 +167278,15 @@ "binop": null, "updateContext": null }, - "start": 21919, - "end": 21920, + "start": 21940, + "end": 21941, "loc": { "start": { - "line": 653, + "line": 650, "column": 43 }, "end": { - "line": 653, + "line": 650, "column": 44 } } @@ -165476,15 +167303,15 @@ "postfix": false, "binop": null }, - "start": 21921, - "end": 21922, + "start": 21942, + "end": 21943, "loc": { "start": { - "line": 653, + "line": 650, "column": 45 }, "end": { - "line": 653, + "line": 650, "column": 46 } } @@ -165501,15 +167328,15 @@ "postfix": false, "binop": null }, - "start": 21922, - "end": 21923, + "start": 21943, + "end": 21944, "loc": { "start": { - "line": 653, + "line": 650, "column": 46 }, "end": { - "line": 653, + "line": 650, "column": 47 } } @@ -165527,15 +167354,15 @@ "binop": null, "updateContext": null }, - "start": 21924, - "end": 21926, + "start": 21945, + "end": 21947, "loc": { "start": { - "line": 653, + "line": 650, "column": 48 }, "end": { - "line": 653, + "line": 650, "column": 50 } } @@ -165552,15 +167379,15 @@ "postfix": false, "binop": null }, - "start": 21927, - "end": 21928, + "start": 21948, + "end": 21949, "loc": { "start": { - "line": 653, + "line": 650, "column": 51 }, "end": { - "line": 653, + "line": 650, "column": 52 } } @@ -165580,15 +167407,15 @@ "updateContext": null }, "value": "if", - "start": 21949, - "end": 21951, + "start": 21970, + "end": 21972, "loc": { "start": { - "line": 654, + "line": 651, "column": 20 }, "end": { - "line": 654, + "line": 651, "column": 22 } } @@ -165605,15 +167432,15 @@ "postfix": false, "binop": null }, - "start": 21952, - "end": 21953, + "start": 21973, + "end": 21974, "loc": { "start": { - "line": 654, + "line": 651, "column": 23 }, "end": { - "line": 654, + "line": 651, "column": 24 } } @@ -165633,15 +167460,15 @@ "updateContext": null }, "value": "this", - "start": 21953, - "end": 21957, + "start": 21974, + "end": 21978, "loc": { "start": { - "line": 654, + "line": 651, "column": 24 }, "end": { - "line": 654, + "line": 651, "column": 28 } } @@ -165659,15 +167486,15 @@ "binop": null, "updateContext": null }, - "start": 21957, - "end": 21958, + "start": 21978, + "end": 21979, "loc": { "start": { - "line": 654, + "line": 651, "column": 28 }, "end": { - "line": 654, + "line": 651, "column": 29 } } @@ -165685,15 +167512,15 @@ "binop": null }, "value": "player", - "start": 21958, - "end": 21964, + "start": 21979, + "end": 21985, "loc": { "start": { - "line": 654, + "line": 651, "column": 29 }, "end": { - "line": 654, + "line": 651, "column": 35 } } @@ -165711,15 +167538,15 @@ "binop": null, "updateContext": null }, - "start": 21964, - "end": 21965, + "start": 21985, + "end": 21986, "loc": { "start": { - "line": 654, + "line": 651, "column": 35 }, "end": { - "line": 654, + "line": 651, "column": 36 } } @@ -165737,15 +167564,15 @@ "binop": null }, "value": "controlBar", - "start": 21965, - "end": 21975, + "start": 21986, + "end": 21996, "loc": { "start": { - "line": 654, + "line": 651, "column": 36 }, "end": { - "line": 654, + "line": 651, "column": 46 } } @@ -165763,15 +167590,15 @@ "binop": null, "updateContext": null }, - "start": 21975, - "end": 21976, + "start": 21996, + "end": 21997, "loc": { "start": { - "line": 654, + "line": 651, "column": 46 }, "end": { - "line": 654, + "line": 651, "column": 47 } } @@ -165789,15 +167616,15 @@ "binop": null }, "value": "playToggle", - "start": 21976, - "end": 21986, + "start": 21997, + "end": 22007, "loc": { "start": { - "line": 654, + "line": 651, "column": 47 }, "end": { - "line": 654, + "line": 651, "column": 57 } } @@ -165816,15 +167643,15 @@ "updateContext": null }, "value": "!==", - "start": 21987, - "end": 21990, + "start": 22008, + "end": 22011, "loc": { "start": { - "line": 654, + "line": 651, "column": 58 }, "end": { - "line": 654, + "line": 651, "column": 61 } } @@ -165842,15 +167669,15 @@ "binop": null }, "value": "undefined", - "start": 21991, - "end": 22000, + "start": 22012, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 651, "column": 62 }, "end": { - "line": 654, + "line": 651, "column": 71 } } @@ -165867,15 +167694,15 @@ "postfix": false, "binop": null }, - "start": 22000, - "end": 22001, + "start": 22021, + "end": 22022, "loc": { "start": { - "line": 654, + "line": 651, "column": 71 }, "end": { - "line": 654, + "line": 651, "column": 72 } } @@ -165892,15 +167719,15 @@ "postfix": false, "binop": null }, - "start": 22002, - "end": 22003, + "start": 22023, + "end": 22024, "loc": { "start": { - "line": 654, + "line": 651, "column": 73 }, "end": { - "line": 654, + "line": 651, "column": 74 } } @@ -165920,15 +167747,15 @@ "updateContext": null }, "value": "this", - "start": 22028, - "end": 22032, + "start": 22049, + "end": 22053, "loc": { "start": { - "line": 655, + "line": 652, "column": 24 }, "end": { - "line": 655, + "line": 652, "column": 28 } } @@ -165946,15 +167773,15 @@ "binop": null, "updateContext": null }, - "start": 22032, - "end": 22033, + "start": 22053, + "end": 22054, "loc": { "start": { - "line": 655, + "line": 652, "column": 28 }, "end": { - "line": 655, + "line": 652, "column": 29 } } @@ -165972,15 +167799,15 @@ "binop": null }, "value": "player", - "start": 22033, - "end": 22039, + "start": 22054, + "end": 22060, "loc": { "start": { - "line": 655, + "line": 652, "column": 29 }, "end": { - "line": 655, + "line": 652, "column": 35 } } @@ -165998,15 +167825,15 @@ "binop": null, "updateContext": null }, - "start": 22039, - "end": 22040, + "start": 22060, + "end": 22061, "loc": { "start": { - "line": 655, + "line": 652, "column": 35 }, "end": { - "line": 655, + "line": 652, "column": 36 } } @@ -166024,15 +167851,15 @@ "binop": null }, "value": "controlBar", - "start": 22040, - "end": 22050, + "start": 22061, + "end": 22071, "loc": { "start": { - "line": 655, + "line": 652, "column": 36 }, "end": { - "line": 655, + "line": 652, "column": 46 } } @@ -166050,15 +167877,15 @@ "binop": null, "updateContext": null }, - "start": 22050, - "end": 22051, + "start": 22071, + "end": 22072, "loc": { "start": { - "line": 655, + "line": 652, "column": 46 }, "end": { - "line": 655, + "line": 652, "column": 47 } } @@ -166076,15 +167903,15 @@ "binop": null }, "value": "playToggle", - "start": 22051, - "end": 22061, + "start": 22072, + "end": 22082, "loc": { "start": { - "line": 655, + "line": 652, "column": 47 }, "end": { - "line": 655, + "line": 652, "column": 57 } } @@ -166102,15 +167929,15 @@ "binop": null, "updateContext": null }, - "start": 22061, - "end": 22062, + "start": 22082, + "end": 22083, "loc": { "start": { - "line": 655, + "line": 652, "column": 57 }, "end": { - "line": 655, + "line": 652, "column": 58 } } @@ -166128,15 +167955,15 @@ "binop": null }, "value": "removeClass", - "start": 22062, - "end": 22073, + "start": 22083, + "end": 22094, "loc": { "start": { - "line": 655, + "line": 652, "column": 58 }, "end": { - "line": 655, + "line": 652, "column": 69 } } @@ -166153,15 +167980,15 @@ "postfix": false, "binop": null }, - "start": 22073, - "end": 22074, + "start": 22094, + "end": 22095, "loc": { "start": { - "line": 655, + "line": 652, "column": 69 }, "end": { - "line": 655, + "line": 652, "column": 70 } } @@ -166180,15 +168007,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 22074, - "end": 22085, + "start": 22095, + "end": 22106, "loc": { "start": { - "line": 655, + "line": 652, "column": 70 }, "end": { - "line": 655, + "line": 652, "column": 81 } } @@ -166205,15 +168032,15 @@ "postfix": false, "binop": null }, - "start": 22085, - "end": 22086, + "start": 22106, + "end": 22107, "loc": { "start": { - "line": 655, + "line": 652, "column": 81 }, "end": { - "line": 655, + "line": 652, "column": 82 } } @@ -166231,15 +168058,15 @@ "binop": null, "updateContext": null }, - "start": 22086, - "end": 22087, + "start": 22107, + "end": 22108, "loc": { "start": { - "line": 655, + "line": 652, "column": 82 }, "end": { - "line": 655, + "line": 652, "column": 83 } } @@ -166256,15 +168083,15 @@ "postfix": false, "binop": null }, - "start": 22108, - "end": 22109, + "start": 22129, + "end": 22130, "loc": { "start": { - "line": 656, + "line": 653, "column": 20 }, "end": { - "line": 656, + "line": 653, "column": 21 } } @@ -166284,15 +168111,15 @@ "updateContext": null }, "value": "this", - "start": 22130, - "end": 22134, + "start": 22151, + "end": 22155, "loc": { "start": { - "line": 657, + "line": 654, "column": 20 }, "end": { - "line": 657, + "line": 654, "column": 24 } } @@ -166310,15 +168137,15 @@ "binop": null, "updateContext": null }, - "start": 22134, - "end": 22135, + "start": 22155, + "end": 22156, "loc": { "start": { - "line": 657, + "line": 654, "column": 24 }, "end": { - "line": 657, + "line": 654, "column": 25 } } @@ -166336,15 +168163,15 @@ "binop": null }, "value": "player", - "start": 22135, - "end": 22141, + "start": 22156, + "end": 22162, "loc": { "start": { - "line": 657, + "line": 654, "column": 25 }, "end": { - "line": 657, + "line": 654, "column": 31 } } @@ -166362,15 +168189,15 @@ "binop": null, "updateContext": null }, - "start": 22141, - "end": 22142, + "start": 22162, + "end": 22163, "loc": { "start": { - "line": 657, + "line": 654, "column": 31 }, "end": { - "line": 657, + "line": 654, "column": 32 } } @@ -166388,15 +168215,15 @@ "binop": null }, "value": "trigger", - "start": 22142, - "end": 22149, + "start": 22163, + "end": 22170, "loc": { "start": { - "line": 657, + "line": 654, "column": 32 }, "end": { - "line": 657, + "line": 654, "column": 39 } } @@ -166413,15 +168240,15 @@ "postfix": false, "binop": null }, - "start": 22149, - "end": 22150, + "start": 22170, + "end": 22171, "loc": { "start": { - "line": 657, + "line": 654, "column": 39 }, "end": { - "line": 657, + "line": 654, "column": 40 } } @@ -166439,15 +168266,15 @@ "binop": null }, "value": "Event", - "start": 22150, - "end": 22155, + "start": 22171, + "end": 22176, "loc": { "start": { - "line": 657, + "line": 654, "column": 40 }, "end": { - "line": 657, + "line": 654, "column": 45 } } @@ -166465,15 +168292,15 @@ "binop": null, "updateContext": null }, - "start": 22155, - "end": 22156, + "start": 22176, + "end": 22177, "loc": { "start": { - "line": 657, + "line": 654, "column": 45 }, "end": { - "line": 657, + "line": 654, "column": 46 } } @@ -166491,15 +168318,15 @@ "binop": null }, "value": "PAUSE", - "start": 22156, - "end": 22161, + "start": 22177, + "end": 22182, "loc": { "start": { - "line": 657, + "line": 654, "column": 46 }, "end": { - "line": 657, + "line": 654, "column": 51 } } @@ -166516,15 +168343,15 @@ "postfix": false, "binop": null }, - "start": 22161, - "end": 22162, + "start": 22182, + "end": 22183, "loc": { "start": { - "line": 657, + "line": 654, "column": 51 }, "end": { - "line": 657, + "line": 654, "column": 52 } } @@ -166542,15 +168369,15 @@ "binop": null, "updateContext": null }, - "start": 22162, - "end": 22163, + "start": 22183, + "end": 22184, "loc": { "start": { - "line": 657, + "line": 654, "column": 52 }, "end": { - "line": 657, + "line": 654, "column": 53 } } @@ -166567,15 +168394,15 @@ "postfix": false, "binop": null }, - "start": 22180, - "end": 22181, + "start": 22201, + "end": 22202, "loc": { "start": { - "line": 658, + "line": 655, "column": 16 }, "end": { - "line": 658, + "line": 655, "column": 17 } } @@ -166592,15 +168419,15 @@ "postfix": false, "binop": null }, - "start": 22181, - "end": 22182, + "start": 22202, + "end": 22203, "loc": { "start": { - "line": 658, + "line": 655, "column": 17 }, "end": { - "line": 658, + "line": 655, "column": 18 } } @@ -166618,15 +168445,15 @@ "binop": null, "updateContext": null }, - "start": 22182, - "end": 22183, + "start": 22203, + "end": 22204, "loc": { "start": { - "line": 658, + "line": 655, "column": 18 }, "end": { - "line": 658, + "line": 655, "column": 19 } } @@ -166643,15 +168470,15 @@ "postfix": false, "binop": null }, - "start": 22196, - "end": 22197, + "start": 22217, + "end": 22218, "loc": { "start": { - "line": 659, + "line": 656, "column": 12 }, "end": { - "line": 659, + "line": 656, "column": 13 } } @@ -166668,15 +168495,15 @@ "postfix": false, "binop": null }, - "start": 22206, - "end": 22207, + "start": 22227, + "end": 22228, "loc": { "start": { - "line": 660, + "line": 657, "column": 8 }, "end": { - "line": 660, + "line": 657, "column": 9 } } @@ -166693,15 +168520,15 @@ "postfix": false, "binop": null }, - "start": 22212, - "end": 22213, + "start": 22233, + "end": 22234, "loc": { "start": { - "line": 661, + "line": 658, "column": 4 }, "end": { - "line": 661, + "line": 658, "column": 5 } } @@ -166709,15 +168536,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22219, - "end": 22371, + "start": 22240, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 660, "column": 4 }, "end": { - "line": 668, + "line": 665, "column": 7 } } @@ -166735,15 +168562,15 @@ "binop": null }, "value": "onWaveProgress", - "start": 22376, - "end": 22390, + "start": 22397, + "end": 22411, "loc": { "start": { - "line": 669, + "line": 666, "column": 4 }, "end": { - "line": 669, + "line": 666, "column": 18 } } @@ -166760,15 +168587,15 @@ "postfix": false, "binop": null }, - "start": 22390, - "end": 22391, + "start": 22411, + "end": 22412, "loc": { "start": { - "line": 669, + "line": 666, "column": 18 }, "end": { - "line": 669, + "line": 666, "column": 19 } } @@ -166786,15 +168613,15 @@ "binop": null }, "value": "time", - "start": 22391, - "end": 22395, + "start": 22412, + "end": 22416, "loc": { "start": { - "line": 669, + "line": 666, "column": 19 }, "end": { - "line": 669, + "line": 666, "column": 23 } } @@ -166811,15 +168638,15 @@ "postfix": false, "binop": null }, - "start": 22395, - "end": 22396, + "start": 22416, + "end": 22417, "loc": { "start": { - "line": 669, + "line": 666, "column": 23 }, "end": { - "line": 669, + "line": 666, "column": 24 } } @@ -166836,15 +168663,15 @@ "postfix": false, "binop": null }, - "start": 22397, - "end": 22398, + "start": 22418, + "end": 22419, "loc": { "start": { - "line": 669, + "line": 666, "column": 25 }, "end": { - "line": 669, + "line": 666, "column": 26 } } @@ -166864,15 +168691,15 @@ "updateContext": null }, "value": "this", - "start": 22407, - "end": 22411, + "start": 22428, + "end": 22432, "loc": { "start": { - "line": 670, + "line": 667, "column": 8 }, "end": { - "line": 670, + "line": 667, "column": 12 } } @@ -166890,15 +168717,15 @@ "binop": null, "updateContext": null }, - "start": 22411, - "end": 22412, + "start": 22432, + "end": 22433, "loc": { "start": { - "line": 670, + "line": 667, "column": 12 }, "end": { - "line": 670, + "line": 667, "column": 13 } } @@ -166916,15 +168743,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 22412, - "end": 22426, + "start": 22433, + "end": 22447, "loc": { "start": { - "line": 670, + "line": 667, "column": 13 }, "end": { - "line": 670, + "line": 667, "column": 27 } } @@ -166941,15 +168768,15 @@ "postfix": false, "binop": null }, - "start": 22426, - "end": 22427, + "start": 22447, + "end": 22448, "loc": { "start": { - "line": 670, + "line": 667, "column": 27 }, "end": { - "line": 670, + "line": 667, "column": 28 } } @@ -166966,15 +168793,15 @@ "postfix": false, "binop": null }, - "start": 22427, - "end": 22428, + "start": 22448, + "end": 22449, "loc": { "start": { - "line": 670, + "line": 667, "column": 28 }, "end": { - "line": 670, + "line": 667, "column": 29 } } @@ -166992,15 +168819,15 @@ "binop": null, "updateContext": null }, - "start": 22428, - "end": 22429, + "start": 22449, + "end": 22450, "loc": { "start": { - "line": 670, + "line": 667, "column": 29 }, "end": { - "line": 670, + "line": 667, "column": 30 } } @@ -167017,15 +168844,15 @@ "postfix": false, "binop": null }, - "start": 22434, - "end": 22435, + "start": 22455, + "end": 22456, "loc": { "start": { - "line": 671, + "line": 668, "column": 4 }, "end": { - "line": 671, + "line": 668, "column": 5 } } @@ -167033,15 +168860,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22441, - "end": 22520, + "start": 22462, + "end": 22541, "loc": { "start": { - "line": 673, + "line": 670, "column": 4 }, "end": { - "line": 677, + "line": 674, "column": 7 } } @@ -167059,15 +168886,15 @@ "binop": null }, "value": "onWaveSeek", - "start": 22525, - "end": 22535, + "start": 22546, + "end": 22556, "loc": { "start": { - "line": 678, + "line": 675, "column": 4 }, "end": { - "line": 678, + "line": 675, "column": 14 } } @@ -167084,15 +168911,15 @@ "postfix": false, "binop": null }, - "start": 22535, - "end": 22536, + "start": 22556, + "end": 22557, "loc": { "start": { - "line": 678, + "line": 675, "column": 14 }, "end": { - "line": 678, + "line": 675, "column": 15 } } @@ -167109,15 +168936,15 @@ "postfix": false, "binop": null }, - "start": 22536, - "end": 22537, + "start": 22557, + "end": 22558, "loc": { "start": { - "line": 678, + "line": 675, "column": 15 }, "end": { - "line": 678, + "line": 675, "column": 16 } } @@ -167134,15 +168961,15 @@ "postfix": false, "binop": null }, - "start": 22538, - "end": 22539, + "start": 22559, + "end": 22560, "loc": { "start": { - "line": 678, + "line": 675, "column": 17 }, "end": { - "line": 678, + "line": 675, "column": 18 } } @@ -167162,15 +168989,15 @@ "updateContext": null }, "value": "this", - "start": 22548, - "end": 22552, + "start": 22569, + "end": 22573, "loc": { "start": { - "line": 679, + "line": 676, "column": 8 }, "end": { - "line": 679, + "line": 676, "column": 12 } } @@ -167188,15 +169015,15 @@ "binop": null, "updateContext": null }, - "start": 22552, - "end": 22553, + "start": 22573, + "end": 22574, "loc": { "start": { - "line": 679, + "line": 676, "column": 12 }, "end": { - "line": 679, + "line": 676, "column": 13 } } @@ -167214,15 +169041,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 22553, - "end": 22567, + "start": 22574, + "end": 22588, "loc": { "start": { - "line": 679, + "line": 676, "column": 13 }, "end": { - "line": 679, + "line": 676, "column": 27 } } @@ -167239,15 +169066,15 @@ "postfix": false, "binop": null }, - "start": 22567, - "end": 22568, + "start": 22588, + "end": 22589, "loc": { "start": { - "line": 679, + "line": 676, "column": 27 }, "end": { - "line": 679, + "line": 676, "column": 28 } } @@ -167264,15 +169091,15 @@ "postfix": false, "binop": null }, - "start": 22568, - "end": 22569, + "start": 22589, + "end": 22590, "loc": { "start": { - "line": 679, + "line": 676, "column": 28 }, "end": { - "line": 679, + "line": 676, "column": 29 } } @@ -167290,15 +169117,15 @@ "binop": null, "updateContext": null }, - "start": 22569, - "end": 22570, + "start": 22590, + "end": 22591, "loc": { "start": { - "line": 679, + "line": 676, "column": 29 }, "end": { - "line": 679, + "line": 676, "column": 30 } } @@ -167315,15 +169142,15 @@ "postfix": false, "binop": null }, - "start": 22575, - "end": 22576, + "start": 22596, + "end": 22597, "loc": { "start": { - "line": 680, + "line": 677, "column": 4 }, "end": { - "line": 680, + "line": 677, "column": 5 } } @@ -167331,15 +169158,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 22582, - "end": 22692, + "start": 22603, + "end": 22713, "loc": { "start": { - "line": 682, + "line": 679, "column": 4 }, "end": { - "line": 687, + "line": 684, "column": 7 } } @@ -167357,15 +169184,15 @@ "binop": null }, "value": "onWaveError", - "start": 22697, - "end": 22708, + "start": 22718, + "end": 22729, "loc": { "start": { - "line": 688, + "line": 685, "column": 4 }, "end": { - "line": 688, + "line": 685, "column": 15 } } @@ -167382,15 +169209,15 @@ "postfix": false, "binop": null }, - "start": 22708, - "end": 22709, + "start": 22729, + "end": 22730, "loc": { "start": { - "line": 688, + "line": 685, "column": 15 }, "end": { - "line": 688, + "line": 685, "column": 16 } } @@ -167408,15 +169235,15 @@ "binop": null }, "value": "error", - "start": 22709, - "end": 22714, + "start": 22730, + "end": 22735, "loc": { "start": { - "line": 688, + "line": 685, "column": 16 }, "end": { - "line": 688, + "line": 685, "column": 21 } } @@ -167433,15 +169260,15 @@ "postfix": false, "binop": null }, - "start": 22714, - "end": 22715, + "start": 22735, + "end": 22736, "loc": { "start": { - "line": 688, + "line": 685, "column": 21 }, "end": { - "line": 688, + "line": 685, "column": 22 } } @@ -167458,15 +169285,15 @@ "postfix": false, "binop": null }, - "start": 22716, - "end": 22717, + "start": 22737, + "end": 22738, "loc": { "start": { - "line": 688, + "line": 685, "column": 23 }, "end": { - "line": 688, + "line": 685, "column": 24 } } @@ -167474,15 +169301,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 22726, - "end": 22745, + "start": 22747, + "end": 22766, "loc": { "start": { - "line": 689, + "line": 686, "column": 8 }, "end": { - "line": 689, + "line": 686, "column": 27 } } @@ -167502,15 +169329,15 @@ "updateContext": null }, "value": "if", - "start": 22754, - "end": 22756, + "start": 22775, + "end": 22777, "loc": { "start": { - "line": 690, + "line": 687, "column": 8 }, "end": { - "line": 690, + "line": 687, "column": 10 } } @@ -167527,15 +169354,15 @@ "postfix": false, "binop": null }, - "start": 22757, - "end": 22758, + "start": 22778, + "end": 22779, "loc": { "start": { - "line": 690, + "line": 687, "column": 11 }, "end": { - "line": 690, + "line": 687, "column": 12 } } @@ -167553,15 +169380,15 @@ "binop": null }, "value": "error", - "start": 22758, - "end": 22763, + "start": 22779, + "end": 22784, "loc": { "start": { - "line": 690, + "line": 687, "column": 12 }, "end": { - "line": 690, + "line": 687, "column": 17 } } @@ -167579,15 +169406,15 @@ "binop": null, "updateContext": null }, - "start": 22763, - "end": 22764, + "start": 22784, + "end": 22785, "loc": { "start": { - "line": 690, + "line": 687, "column": 17 }, "end": { - "line": 690, + "line": 687, "column": 18 } } @@ -167605,15 +169432,15 @@ "binop": null }, "value": "name", - "start": 22764, - "end": 22768, + "start": 22785, + "end": 22789, "loc": { "start": { - "line": 690, + "line": 687, "column": 18 }, "end": { - "line": 690, + "line": 687, "column": 22 } } @@ -167632,15 +169459,15 @@ "updateContext": null }, "value": "&&", - "start": 22769, - "end": 22771, + "start": 22790, + "end": 22792, "loc": { "start": { - "line": 690, + "line": 687, "column": 23 }, "end": { - "line": 690, + "line": 687, "column": 25 } } @@ -167658,15 +169485,15 @@ "binop": null }, "value": "error", - "start": 22772, - "end": 22777, + "start": 22793, + "end": 22798, "loc": { "start": { - "line": 690, + "line": 687, "column": 26 }, "end": { - "line": 690, + "line": 687, "column": 31 } } @@ -167684,15 +169511,15 @@ "binop": null, "updateContext": null }, - "start": 22777, - "end": 22778, + "start": 22798, + "end": 22799, "loc": { "start": { - "line": 690, + "line": 687, "column": 31 }, "end": { - "line": 690, + "line": 687, "column": 32 } } @@ -167710,15 +169537,15 @@ "binop": null }, "value": "name", - "start": 22778, - "end": 22782, + "start": 22799, + "end": 22803, "loc": { "start": { - "line": 690, + "line": 687, "column": 32 }, "end": { - "line": 690, + "line": 687, "column": 36 } } @@ -167737,15 +169564,15 @@ "updateContext": null }, "value": "===", - "start": 22783, - "end": 22786, + "start": 22804, + "end": 22807, "loc": { "start": { - "line": 690, + "line": 687, "column": 37 }, "end": { - "line": 690, + "line": 687, "column": 40 } } @@ -167764,15 +169591,15 @@ "updateContext": null }, "value": "AbortError", - "start": 22787, - "end": 22799, + "start": 22808, + "end": 22820, "loc": { "start": { - "line": 690, + "line": 687, "column": 41 }, "end": { - "line": 690, + "line": 687, "column": 53 } } @@ -167791,15 +169618,15 @@ "updateContext": null }, "value": "||", - "start": 22800, - "end": 22802, + "start": 22821, + "end": 22823, "loc": { "start": { - "line": 690, + "line": 687, "column": 54 }, "end": { - "line": 690, + "line": 687, "column": 56 } } @@ -167817,15 +169644,15 @@ "binop": null }, "value": "error", - "start": 22815, - "end": 22820, + "start": 22836, + "end": 22841, "loc": { "start": { - "line": 691, + "line": 688, "column": 12 }, "end": { - "line": 691, + "line": 688, "column": 17 } } @@ -167843,15 +169670,15 @@ "binop": null, "updateContext": null }, - "start": 22820, - "end": 22821, + "start": 22841, + "end": 22842, "loc": { "start": { - "line": 691, + "line": 688, "column": 17 }, "end": { - "line": 691, + "line": 688, "column": 18 } } @@ -167869,15 +169696,15 @@ "binop": null }, "value": "name", - "start": 22821, - "end": 22825, + "start": 22842, + "end": 22846, "loc": { "start": { - "line": 691, + "line": 688, "column": 18 }, "end": { - "line": 691, + "line": 688, "column": 22 } } @@ -167896,15 +169723,15 @@ "updateContext": null }, "value": "===", - "start": 22826, - "end": 22829, + "start": 22847, + "end": 22850, "loc": { "start": { - "line": 691, + "line": 688, "column": 23 }, "end": { - "line": 691, + "line": 688, "column": 26 } } @@ -167923,15 +169750,15 @@ "updateContext": null }, "value": "DOMException", - "start": 22830, - "end": 22844, + "start": 22851, + "end": 22865, "loc": { "start": { - "line": 691, + "line": 688, "column": 27 }, "end": { - "line": 691, + "line": 688, "column": 41 } } @@ -167950,15 +169777,15 @@ "updateContext": null }, "value": "&&", - "start": 22845, - "end": 22847, + "start": 22866, + "end": 22868, "loc": { "start": { - "line": 691, + "line": 688, "column": 42 }, "end": { - "line": 691, + "line": 688, "column": 44 } } @@ -167976,15 +169803,15 @@ "binop": null }, "value": "error", - "start": 22848, - "end": 22853, + "start": 22869, + "end": 22874, "loc": { "start": { - "line": 691, + "line": 688, "column": 45 }, "end": { - "line": 691, + "line": 688, "column": 50 } } @@ -168002,15 +169829,15 @@ "binop": null, "updateContext": null }, - "start": 22853, - "end": 22854, + "start": 22874, + "end": 22875, "loc": { "start": { - "line": 691, + "line": 688, "column": 50 }, "end": { - "line": 691, + "line": 688, "column": 51 } } @@ -168028,15 +169855,15 @@ "binop": null }, "value": "message", - "start": 22854, - "end": 22861, + "start": 22875, + "end": 22882, "loc": { "start": { - "line": 691, + "line": 688, "column": 51 }, "end": { - "line": 691, + "line": 688, "column": 58 } } @@ -168054,15 +169881,15 @@ "binop": null, "updateContext": null }, - "start": 22861, - "end": 22862, + "start": 22882, + "end": 22883, "loc": { "start": { - "line": 691, + "line": 688, "column": 58 }, "end": { - "line": 691, + "line": 688, "column": 59 } } @@ -168080,15 +169907,15 @@ "binop": null }, "value": "startsWith", - "start": 22862, - "end": 22872, + "start": 22883, + "end": 22893, "loc": { "start": { - "line": 691, + "line": 688, "column": 59 }, "end": { - "line": 691, + "line": 688, "column": 69 } } @@ -168105,15 +169932,15 @@ "postfix": false, "binop": null }, - "start": 22872, - "end": 22873, + "start": 22893, + "end": 22894, "loc": { "start": { - "line": 691, + "line": 688, "column": 69 }, "end": { - "line": 691, + "line": 688, "column": 70 } } @@ -168132,15 +169959,15 @@ "updateContext": null }, "value": "The operation was aborted", - "start": 22873, - "end": 22900, + "start": 22894, + "end": 22921, "loc": { "start": { - "line": 691, + "line": 688, "column": 70 }, "end": { - "line": 691, + "line": 688, "column": 97 } } @@ -168157,15 +169984,15 @@ "postfix": false, "binop": null }, - "start": 22900, - "end": 22901, + "start": 22921, + "end": 22922, "loc": { "start": { - "line": 691, + "line": 688, "column": 97 }, "end": { - "line": 691, + "line": 688, "column": 98 } } @@ -168182,15 +170009,15 @@ "postfix": false, "binop": null }, - "start": 22901, - "end": 22902, + "start": 22922, + "end": 22923, "loc": { "start": { - "line": 691, + "line": 688, "column": 98 }, "end": { - "line": 691, + "line": 688, "column": 99 } } @@ -168207,15 +170034,15 @@ "postfix": false, "binop": null }, - "start": 22911, - "end": 22912, + "start": 22932, + "end": 22933, "loc": { "start": { - "line": 692, + "line": 689, "column": 8 }, "end": { - "line": 692, + "line": 689, "column": 9 } } @@ -168235,15 +170062,15 @@ "updateContext": null }, "value": "this", - "start": 22925, - "end": 22929, + "start": 22946, + "end": 22950, "loc": { "start": { - "line": 693, + "line": 690, "column": 12 }, "end": { - "line": 693, + "line": 690, "column": 16 } } @@ -168261,15 +170088,15 @@ "binop": null, "updateContext": null }, - "start": 22929, - "end": 22930, + "start": 22950, + "end": 22951, "loc": { "start": { - "line": 693, + "line": 690, "column": 16 }, "end": { - "line": 693, + "line": 690, "column": 17 } } @@ -168287,15 +170114,15 @@ "binop": null }, "value": "player", - "start": 22930, - "end": 22936, + "start": 22951, + "end": 22957, "loc": { "start": { - "line": 693, + "line": 690, "column": 17 }, "end": { - "line": 693, + "line": 690, "column": 23 } } @@ -168313,15 +170140,15 @@ "binop": null, "updateContext": null }, - "start": 22936, - "end": 22937, + "start": 22957, + "end": 22958, "loc": { "start": { - "line": 693, + "line": 690, "column": 23 }, "end": { - "line": 693, + "line": 690, "column": 24 } } @@ -168339,15 +170166,15 @@ "binop": null }, "value": "trigger", - "start": 22937, - "end": 22944, + "start": 22958, + "end": 22965, "loc": { "start": { - "line": 693, + "line": 690, "column": 24 }, "end": { - "line": 693, + "line": 690, "column": 31 } } @@ -168364,15 +170191,15 @@ "postfix": false, "binop": null }, - "start": 22944, - "end": 22945, + "start": 22965, + "end": 22966, "loc": { "start": { - "line": 693, + "line": 690, "column": 31 }, "end": { - "line": 693, + "line": 690, "column": 32 } } @@ -168390,15 +170217,15 @@ "binop": null }, "value": "Event", - "start": 22945, - "end": 22950, + "start": 22966, + "end": 22971, "loc": { "start": { - "line": 693, + "line": 690, "column": 32 }, "end": { - "line": 693, + "line": 690, "column": 37 } } @@ -168416,15 +170243,15 @@ "binop": null, "updateContext": null }, - "start": 22950, - "end": 22951, + "start": 22971, + "end": 22972, "loc": { "start": { - "line": 693, + "line": 690, "column": 37 }, "end": { - "line": 693, + "line": 690, "column": 38 } } @@ -168442,15 +170269,15 @@ "binop": null }, "value": "ABORT", - "start": 22951, - "end": 22956, + "start": 22972, + "end": 22977, "loc": { "start": { - "line": 693, + "line": 690, "column": 38 }, "end": { - "line": 693, + "line": 690, "column": 43 } } @@ -168468,15 +170295,15 @@ "binop": null, "updateContext": null }, - "start": 22956, - "end": 22957, + "start": 22977, + "end": 22978, "loc": { "start": { - "line": 693, + "line": 690, "column": 43 }, "end": { - "line": 693, + "line": 690, "column": 44 } } @@ -168494,15 +170321,15 @@ "binop": null }, "value": "error", - "start": 22958, - "end": 22963, + "start": 22979, + "end": 22984, "loc": { "start": { - "line": 693, + "line": 690, "column": 45 }, "end": { - "line": 693, + "line": 690, "column": 50 } } @@ -168519,15 +170346,15 @@ "postfix": false, "binop": null }, - "start": 22963, - "end": 22964, + "start": 22984, + "end": 22985, "loc": { "start": { - "line": 693, + "line": 690, "column": 50 }, "end": { - "line": 693, + "line": 690, "column": 51 } } @@ -168545,15 +170372,15 @@ "binop": null, "updateContext": null }, - "start": 22964, - "end": 22965, + "start": 22985, + "end": 22986, "loc": { "start": { - "line": 693, + "line": 690, "column": 51 }, "end": { - "line": 693, + "line": 690, "column": 52 } } @@ -168570,15 +170397,15 @@ "postfix": false, "binop": null }, - "start": 22974, - "end": 22975, + "start": 22995, + "end": 22996, "loc": { "start": { - "line": 694, + "line": 691, "column": 8 }, "end": { - "line": 694, + "line": 691, "column": 9 } } @@ -168598,15 +170425,15 @@ "updateContext": null }, "value": "else", - "start": 22976, - "end": 22980, + "start": 22997, + "end": 23001, "loc": { "start": { - "line": 694, + "line": 691, "column": 10 }, "end": { - "line": 694, + "line": 691, "column": 14 } } @@ -168623,15 +170450,15 @@ "postfix": false, "binop": null }, - "start": 22981, - "end": 22982, + "start": 23002, + "end": 23003, "loc": { "start": { - "line": 694, + "line": 691, "column": 15 }, "end": { - "line": 694, + "line": 691, "column": 16 } } @@ -168651,15 +170478,15 @@ "updateContext": null }, "value": "this", - "start": 22995, - "end": 22999, + "start": 23016, + "end": 23020, "loc": { "start": { - "line": 695, + "line": 692, "column": 12 }, "end": { - "line": 695, + "line": 692, "column": 16 } } @@ -168677,15 +170504,15 @@ "binop": null, "updateContext": null }, - "start": 22999, - "end": 23000, + "start": 23020, + "end": 23021, "loc": { "start": { - "line": 695, + "line": 692, "column": 16 }, "end": { - "line": 695, + "line": 692, "column": 17 } } @@ -168703,15 +170530,15 @@ "binop": null }, "value": "player", - "start": 23000, - "end": 23006, + "start": 23021, + "end": 23027, "loc": { "start": { - "line": 695, + "line": 692, "column": 17 }, "end": { - "line": 695, + "line": 692, "column": 23 } } @@ -168729,15 +170556,15 @@ "binop": null, "updateContext": null }, - "start": 23006, - "end": 23007, + "start": 23027, + "end": 23028, "loc": { "start": { - "line": 695, + "line": 692, "column": 23 }, "end": { - "line": 695, + "line": 692, "column": 24 } } @@ -168755,15 +170582,15 @@ "binop": null }, "value": "trigger", - "start": 23007, - "end": 23014, + "start": 23028, + "end": 23035, "loc": { "start": { - "line": 695, + "line": 692, "column": 24 }, "end": { - "line": 695, + "line": 692, "column": 31 } } @@ -168780,15 +170607,15 @@ "postfix": false, "binop": null }, - "start": 23014, - "end": 23015, + "start": 23035, + "end": 23036, "loc": { "start": { - "line": 695, + "line": 692, "column": 31 }, "end": { - "line": 695, + "line": 692, "column": 32 } } @@ -168806,15 +170633,15 @@ "binop": null }, "value": "Event", - "start": 23015, - "end": 23020, + "start": 23036, + "end": 23041, "loc": { "start": { - "line": 695, + "line": 692, "column": 32 }, "end": { - "line": 695, + "line": 692, "column": 37 } } @@ -168832,15 +170659,15 @@ "binop": null, "updateContext": null }, - "start": 23020, - "end": 23021, + "start": 23041, + "end": 23042, "loc": { "start": { - "line": 695, + "line": 692, "column": 37 }, "end": { - "line": 695, + "line": 692, "column": 38 } } @@ -168858,15 +170685,15 @@ "binop": null }, "value": "ERROR", - "start": 23021, - "end": 23026, + "start": 23042, + "end": 23047, "loc": { "start": { - "line": 695, + "line": 692, "column": 38 }, "end": { - "line": 695, + "line": 692, "column": 43 } } @@ -168884,15 +170711,15 @@ "binop": null, "updateContext": null }, - "start": 23026, - "end": 23027, + "start": 23047, + "end": 23048, "loc": { "start": { - "line": 695, + "line": 692, "column": 43 }, "end": { - "line": 695, + "line": 692, "column": 44 } } @@ -168910,15 +170737,15 @@ "binop": null }, "value": "error", - "start": 23028, - "end": 23033, + "start": 23049, + "end": 23054, "loc": { "start": { - "line": 695, + "line": 692, "column": 45 }, "end": { - "line": 695, + "line": 692, "column": 50 } } @@ -168935,15 +170762,15 @@ "postfix": false, "binop": null }, - "start": 23033, - "end": 23034, + "start": 23054, + "end": 23055, "loc": { "start": { - "line": 695, + "line": 692, "column": 50 }, "end": { - "line": 695, + "line": 692, "column": 51 } } @@ -168961,15 +170788,15 @@ "binop": null, "updateContext": null }, - "start": 23034, - "end": 23035, + "start": 23055, + "end": 23056, "loc": { "start": { - "line": 695, + "line": 692, "column": 51 }, "end": { - "line": 695, + "line": 692, "column": 52 } } @@ -168989,15 +170816,15 @@ "updateContext": null }, "value": "this", - "start": 23049, - "end": 23053, + "start": 23070, + "end": 23074, "loc": { "start": { - "line": 697, + "line": 694, "column": 12 }, "end": { - "line": 697, + "line": 694, "column": 16 } } @@ -169015,15 +170842,15 @@ "binop": null, "updateContext": null }, - "start": 23053, - "end": 23054, + "start": 23074, + "end": 23075, "loc": { "start": { - "line": 697, + "line": 694, "column": 16 }, "end": { - "line": 697, + "line": 694, "column": 17 } } @@ -169041,15 +170868,15 @@ "binop": null }, "value": "log", - "start": 23054, - "end": 23057, + "start": 23075, + "end": 23078, "loc": { "start": { - "line": 697, + "line": 694, "column": 17 }, "end": { - "line": 697, + "line": 694, "column": 20 } } @@ -169066,15 +170893,15 @@ "postfix": false, "binop": null }, - "start": 23057, - "end": 23058, + "start": 23078, + "end": 23079, "loc": { "start": { - "line": 697, + "line": 694, "column": 20 }, "end": { - "line": 697, + "line": 694, "column": 21 } } @@ -169092,15 +170919,15 @@ "binop": null }, "value": "error", - "start": 23058, - "end": 23063, + "start": 23079, + "end": 23084, "loc": { "start": { - "line": 697, + "line": 694, "column": 21 }, "end": { - "line": 697, + "line": 694, "column": 26 } } @@ -169118,15 +170945,15 @@ "binop": null, "updateContext": null }, - "start": 23063, - "end": 23064, + "start": 23084, + "end": 23085, "loc": { "start": { - "line": 697, + "line": 694, "column": 26 }, "end": { - "line": 697, + "line": 694, "column": 27 } } @@ -169145,15 +170972,15 @@ "updateContext": null }, "value": "error", - "start": 23065, - "end": 23072, + "start": 23086, + "end": 23093, "loc": { "start": { - "line": 697, + "line": 694, "column": 28 }, "end": { - "line": 697, + "line": 694, "column": 35 } } @@ -169170,15 +170997,15 @@ "postfix": false, "binop": null }, - "start": 23072, - "end": 23073, + "start": 23093, + "end": 23094, "loc": { "start": { - "line": 697, + "line": 694, "column": 35 }, "end": { - "line": 697, + "line": 694, "column": 36 } } @@ -169196,15 +171023,15 @@ "binop": null, "updateContext": null }, - "start": 23073, - "end": 23074, + "start": 23094, + "end": 23095, "loc": { "start": { - "line": 697, + "line": 694, "column": 36 }, "end": { - "line": 697, + "line": 694, "column": 37 } } @@ -169221,15 +171048,15 @@ "postfix": false, "binop": null }, - "start": 23083, - "end": 23084, + "start": 23104, + "end": 23105, "loc": { "start": { - "line": 698, + "line": 695, "column": 8 }, "end": { - "line": 698, + "line": 695, "column": 9 } } @@ -169246,15 +171073,15 @@ "postfix": false, "binop": null }, - "start": 23089, - "end": 23090, + "start": 23110, + "end": 23111, "loc": { "start": { - "line": 699, + "line": 696, "column": 4 }, "end": { - "line": 699, + "line": 696, "column": 5 } } @@ -169262,15 +171089,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23096, - "end": 23169, + "start": 23117, + "end": 23190, "loc": { "start": { - "line": 701, + "line": 698, "column": 4 }, "end": { - "line": 704, + "line": 701, "column": 7 } } @@ -169288,15 +171115,15 @@ "binop": null }, "value": "onPlayToggle", - "start": 23174, - "end": 23186, + "start": 23195, + "end": 23207, "loc": { "start": { - "line": 705, + "line": 702, "column": 4 }, "end": { - "line": 705, + "line": 702, "column": 16 } } @@ -169313,15 +171140,15 @@ "postfix": false, "binop": null }, - "start": 23186, - "end": 23187, + "start": 23207, + "end": 23208, "loc": { "start": { - "line": 705, + "line": 702, "column": 16 }, "end": { - "line": 705, + "line": 702, "column": 17 } } @@ -169338,15 +171165,15 @@ "postfix": false, "binop": null }, - "start": 23187, - "end": 23188, + "start": 23208, + "end": 23209, "loc": { "start": { - "line": 705, + "line": 702, "column": 17 }, "end": { - "line": 705, + "line": 702, "column": 18 } } @@ -169363,15 +171190,15 @@ "postfix": false, "binop": null }, - "start": 23189, - "end": 23190, + "start": 23210, + "end": 23211, "loc": { "start": { - "line": 705, + "line": 702, "column": 19 }, "end": { - "line": 705, + "line": 702, "column": 20 } } @@ -169391,15 +171218,15 @@ "updateContext": null }, "value": "if", - "start": 23199, - "end": 23201, + "start": 23220, + "end": 23222, "loc": { "start": { - "line": 706, + "line": 703, "column": 8 }, "end": { - "line": 706, + "line": 703, "column": 10 } } @@ -169416,15 +171243,15 @@ "postfix": false, "binop": null }, - "start": 23202, - "end": 23203, + "start": 23223, + "end": 23224, "loc": { "start": { - "line": 706, + "line": 703, "column": 11 }, "end": { - "line": 706, + "line": 703, "column": 12 } } @@ -169444,15 +171271,15 @@ "updateContext": null }, "value": "this", - "start": 23203, - "end": 23207, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 706, + "line": 703, "column": 12 }, "end": { - "line": 706, + "line": 703, "column": 16 } } @@ -169470,15 +171297,15 @@ "binop": null, "updateContext": null }, - "start": 23207, - "end": 23208, + "start": 23228, + "end": 23229, "loc": { "start": { - "line": 706, + "line": 703, "column": 16 }, "end": { - "line": 706, + "line": 703, "column": 17 } } @@ -169496,15 +171323,15 @@ "binop": null }, "value": "player", - "start": 23208, - "end": 23214, + "start": 23229, + "end": 23235, "loc": { "start": { - "line": 706, + "line": 703, "column": 17 }, "end": { - "line": 706, + "line": 703, "column": 23 } } @@ -169522,15 +171349,15 @@ "binop": null, "updateContext": null }, - "start": 23214, - "end": 23215, + "start": 23235, + "end": 23236, "loc": { "start": { - "line": 706, + "line": 703, "column": 23 }, "end": { - "line": 706, + "line": 703, "column": 24 } } @@ -169548,15 +171375,15 @@ "binop": null }, "value": "controlBar", - "start": 23215, - "end": 23225, + "start": 23236, + "end": 23246, "loc": { "start": { - "line": 706, + "line": 703, "column": 24 }, "end": { - "line": 706, + "line": 703, "column": 34 } } @@ -169574,15 +171401,15 @@ "binop": null, "updateContext": null }, - "start": 23225, - "end": 23226, + "start": 23246, + "end": 23247, "loc": { "start": { - "line": 706, + "line": 703, "column": 34 }, "end": { - "line": 706, + "line": 703, "column": 35 } } @@ -169600,15 +171427,15 @@ "binop": null }, "value": "playToggle", - "start": 23226, - "end": 23236, + "start": 23247, + "end": 23257, "loc": { "start": { - "line": 706, + "line": 703, "column": 35 }, "end": { - "line": 706, + "line": 703, "column": 45 } } @@ -169627,15 +171454,15 @@ "updateContext": null }, "value": "!==", - "start": 23237, - "end": 23240, + "start": 23258, + "end": 23261, "loc": { "start": { - "line": 706, + "line": 703, "column": 46 }, "end": { - "line": 706, + "line": 703, "column": 49 } } @@ -169653,15 +171480,15 @@ "binop": null }, "value": "undefined", - "start": 23241, - "end": 23250, + "start": 23262, + "end": 23271, "loc": { "start": { - "line": 706, + "line": 703, "column": 50 }, "end": { - "line": 706, + "line": 703, "column": 59 } } @@ -169680,15 +171507,15 @@ "updateContext": null }, "value": "&&", - "start": 23251, - "end": 23253, + "start": 23272, + "end": 23274, "loc": { "start": { - "line": 706, + "line": 703, "column": 60 }, "end": { - "line": 706, + "line": 703, "column": 62 } } @@ -169708,15 +171535,15 @@ "updateContext": null }, "value": "this", - "start": 23266, - "end": 23270, + "start": 23287, + "end": 23291, "loc": { "start": { - "line": 707, + "line": 704, "column": 12 }, "end": { - "line": 707, + "line": 704, "column": 16 } } @@ -169734,15 +171561,15 @@ "binop": null, "updateContext": null }, - "start": 23270, - "end": 23271, + "start": 23291, + "end": 23292, "loc": { "start": { - "line": 707, + "line": 704, "column": 16 }, "end": { - "line": 707, + "line": 704, "column": 17 } } @@ -169760,15 +171587,15 @@ "binop": null }, "value": "player", - "start": 23271, - "end": 23277, + "start": 23292, + "end": 23298, "loc": { "start": { - "line": 707, + "line": 704, "column": 17 }, "end": { - "line": 707, + "line": 704, "column": 23 } } @@ -169786,15 +171613,15 @@ "binop": null, "updateContext": null }, - "start": 23277, - "end": 23278, + "start": 23298, + "end": 23299, "loc": { "start": { - "line": 707, + "line": 704, "column": 23 }, "end": { - "line": 707, + "line": 704, "column": 24 } } @@ -169812,15 +171639,15 @@ "binop": null }, "value": "controlBar", - "start": 23278, - "end": 23288, + "start": 23299, + "end": 23309, "loc": { "start": { - "line": 707, + "line": 704, "column": 24 }, "end": { - "line": 707, + "line": 704, "column": 34 } } @@ -169838,15 +171665,15 @@ "binop": null, "updateContext": null }, - "start": 23288, - "end": 23289, + "start": 23309, + "end": 23310, "loc": { "start": { - "line": 707, + "line": 704, "column": 34 }, "end": { - "line": 707, + "line": 704, "column": 35 } } @@ -169864,15 +171691,15 @@ "binop": null }, "value": "playToggle", - "start": 23289, - "end": 23299, + "start": 23310, + "end": 23320, "loc": { "start": { - "line": 707, + "line": 704, "column": 35 }, "end": { - "line": 707, + "line": 704, "column": 45 } } @@ -169890,15 +171717,15 @@ "binop": null, "updateContext": null }, - "start": 23299, - "end": 23300, + "start": 23320, + "end": 23321, "loc": { "start": { - "line": 707, + "line": 704, "column": 45 }, "end": { - "line": 707, + "line": 704, "column": 46 } } @@ -169916,15 +171743,15 @@ "binop": null }, "value": "hasClass", - "start": 23300, - "end": 23308, + "start": 23321, + "end": 23329, "loc": { "start": { - "line": 707, + "line": 704, "column": 46 }, "end": { - "line": 707, + "line": 704, "column": 54 } } @@ -169941,15 +171768,15 @@ "postfix": false, "binop": null }, - "start": 23308, - "end": 23309, + "start": 23329, + "end": 23330, "loc": { "start": { - "line": 707, + "line": 704, "column": 54 }, "end": { - "line": 707, + "line": 704, "column": 55 } } @@ -169968,15 +171795,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 23309, - "end": 23320, + "start": 23330, + "end": 23341, "loc": { "start": { - "line": 707, + "line": 704, "column": 55 }, "end": { - "line": 707, + "line": 704, "column": 66 } } @@ -169993,15 +171820,15 @@ "postfix": false, "binop": null }, - "start": 23320, - "end": 23321, + "start": 23341, + "end": 23342, "loc": { "start": { - "line": 707, + "line": 704, "column": 66 }, "end": { - "line": 707, + "line": 704, "column": 67 } } @@ -170018,15 +171845,15 @@ "postfix": false, "binop": null }, - "start": 23321, - "end": 23322, + "start": 23342, + "end": 23343, "loc": { "start": { - "line": 707, + "line": 704, "column": 67 }, "end": { - "line": 707, + "line": 704, "column": 68 } } @@ -170043,15 +171870,15 @@ "postfix": false, "binop": null }, - "start": 23323, - "end": 23324, + "start": 23344, + "end": 23345, "loc": { "start": { - "line": 707, + "line": 704, "column": 69 }, "end": { - "line": 707, + "line": 704, "column": 70 } } @@ -170071,15 +171898,15 @@ "updateContext": null }, "value": "this", - "start": 23337, - "end": 23341, + "start": 23358, + "end": 23362, "loc": { "start": { - "line": 708, + "line": 705, "column": 12 }, "end": { - "line": 708, + "line": 705, "column": 16 } } @@ -170097,15 +171924,15 @@ "binop": null, "updateContext": null }, - "start": 23341, - "end": 23342, + "start": 23362, + "end": 23363, "loc": { "start": { - "line": 708, + "line": 705, "column": 16 }, "end": { - "line": 708, + "line": 705, "column": 17 } } @@ -170123,15 +171950,15 @@ "binop": null }, "value": "player", - "start": 23342, - "end": 23348, + "start": 23363, + "end": 23369, "loc": { "start": { - "line": 708, + "line": 705, "column": 17 }, "end": { - "line": 708, + "line": 705, "column": 23 } } @@ -170149,15 +171976,15 @@ "binop": null, "updateContext": null }, - "start": 23348, - "end": 23349, + "start": 23369, + "end": 23370, "loc": { "start": { - "line": 708, + "line": 705, "column": 23 }, "end": { - "line": 708, + "line": 705, "column": 24 } } @@ -170175,15 +172002,15 @@ "binop": null }, "value": "controlBar", - "start": 23349, - "end": 23359, + "start": 23370, + "end": 23380, "loc": { "start": { - "line": 708, + "line": 705, "column": 24 }, "end": { - "line": 708, + "line": 705, "column": 34 } } @@ -170201,15 +172028,15 @@ "binop": null, "updateContext": null }, - "start": 23359, - "end": 23360, + "start": 23380, + "end": 23381, "loc": { "start": { - "line": 708, + "line": 705, "column": 34 }, "end": { - "line": 708, + "line": 705, "column": 35 } } @@ -170227,15 +172054,15 @@ "binop": null }, "value": "playToggle", - "start": 23360, - "end": 23370, + "start": 23381, + "end": 23391, "loc": { "start": { - "line": 708, + "line": 705, "column": 35 }, "end": { - "line": 708, + "line": 705, "column": 45 } } @@ -170253,15 +172080,15 @@ "binop": null, "updateContext": null }, - "start": 23370, - "end": 23371, + "start": 23391, + "end": 23392, "loc": { "start": { - "line": 708, + "line": 705, "column": 45 }, "end": { - "line": 708, + "line": 705, "column": 46 } } @@ -170279,15 +172106,15 @@ "binop": null }, "value": "removeClass", - "start": 23371, - "end": 23382, + "start": 23392, + "end": 23403, "loc": { "start": { - "line": 708, + "line": 705, "column": 46 }, "end": { - "line": 708, + "line": 705, "column": 57 } } @@ -170304,15 +172131,15 @@ "postfix": false, "binop": null }, - "start": 23382, - "end": 23383, + "start": 23403, + "end": 23404, "loc": { "start": { - "line": 708, + "line": 705, "column": 57 }, "end": { - "line": 708, + "line": 705, "column": 58 } } @@ -170331,15 +172158,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 23383, - "end": 23394, + "start": 23404, + "end": 23415, "loc": { "start": { - "line": 708, + "line": 705, "column": 58 }, "end": { - "line": 708, + "line": 705, "column": 69 } } @@ -170356,15 +172183,15 @@ "postfix": false, "binop": null }, - "start": 23394, - "end": 23395, + "start": 23415, + "end": 23416, "loc": { "start": { - "line": 708, + "line": 705, "column": 69 }, "end": { - "line": 708, + "line": 705, "column": 70 } } @@ -170382,15 +172209,15 @@ "binop": null, "updateContext": null }, - "start": 23395, - "end": 23396, + "start": 23416, + "end": 23417, "loc": { "start": { - "line": 708, + "line": 705, "column": 70 }, "end": { - "line": 708, + "line": 705, "column": 71 } } @@ -170407,15 +172234,15 @@ "postfix": false, "binop": null }, - "start": 23405, - "end": 23406, + "start": 23426, + "end": 23427, "loc": { "start": { - "line": 709, + "line": 706, "column": 8 }, "end": { - "line": 709, + "line": 706, "column": 9 } } @@ -170435,15 +172262,15 @@ "updateContext": null }, "value": "if", - "start": 23415, - "end": 23417, + "start": 23436, + "end": 23438, "loc": { "start": { - "line": 710, + "line": 707, "column": 8 }, "end": { - "line": 710, + "line": 707, "column": 10 } } @@ -170460,15 +172287,15 @@ "postfix": false, "binop": null }, - "start": 23418, - "end": 23419, + "start": 23439, + "end": 23440, "loc": { "start": { - "line": 710, + "line": 707, "column": 11 }, "end": { - "line": 710, + "line": 707, "column": 12 } } @@ -170488,15 +172315,15 @@ "updateContext": null }, "value": "this", - "start": 23419, - "end": 23423, + "start": 23440, + "end": 23444, "loc": { "start": { - "line": 710, + "line": 707, "column": 12 }, "end": { - "line": 710, + "line": 707, "column": 16 } } @@ -170514,15 +172341,15 @@ "binop": null, "updateContext": null }, - "start": 23423, - "end": 23424, + "start": 23444, + "end": 23445, "loc": { "start": { - "line": 710, + "line": 707, "column": 16 }, "end": { - "line": 710, + "line": 707, "column": 17 } } @@ -170540,15 +172367,15 @@ "binop": null }, "value": "surfer", - "start": 23424, - "end": 23430, + "start": 23445, + "end": 23451, "loc": { "start": { - "line": 710, + "line": 707, "column": 17 }, "end": { - "line": 710, + "line": 707, "column": 23 } } @@ -170566,15 +172393,15 @@ "binop": null, "updateContext": null }, - "start": 23430, - "end": 23431, + "start": 23451, + "end": 23452, "loc": { "start": { - "line": 710, + "line": 707, "column": 23 }, "end": { - "line": 710, + "line": 707, "column": 24 } } @@ -170592,15 +172419,15 @@ "binop": null }, "value": "isPlaying", - "start": 23431, - "end": 23440, + "start": 23452, + "end": 23461, "loc": { "start": { - "line": 710, + "line": 707, "column": 24 }, "end": { - "line": 710, + "line": 707, "column": 33 } } @@ -170617,15 +172444,15 @@ "postfix": false, "binop": null }, - "start": 23440, - "end": 23441, + "start": 23461, + "end": 23462, "loc": { "start": { - "line": 710, + "line": 707, "column": 33 }, "end": { - "line": 710, + "line": 707, "column": 34 } } @@ -170642,15 +172469,15 @@ "postfix": false, "binop": null }, - "start": 23441, - "end": 23442, + "start": 23462, + "end": 23463, "loc": { "start": { - "line": 710, + "line": 707, "column": 34 }, "end": { - "line": 710, + "line": 707, "column": 35 } } @@ -170667,15 +172494,15 @@ "postfix": false, "binop": null }, - "start": 23442, - "end": 23443, + "start": 23463, + "end": 23464, "loc": { "start": { - "line": 710, + "line": 707, "column": 35 }, "end": { - "line": 710, + "line": 707, "column": 36 } } @@ -170692,15 +172519,15 @@ "postfix": false, "binop": null }, - "start": 23444, - "end": 23445, + "start": 23465, + "end": 23466, "loc": { "start": { - "line": 710, + "line": 707, "column": 37 }, "end": { - "line": 710, + "line": 707, "column": 38 } } @@ -170720,15 +172547,15 @@ "updateContext": null }, "value": "this", - "start": 23458, - "end": 23462, + "start": 23479, + "end": 23483, "loc": { "start": { - "line": 711, + "line": 708, "column": 12 }, "end": { - "line": 711, + "line": 708, "column": 16 } } @@ -170746,15 +172573,15 @@ "binop": null, "updateContext": null }, - "start": 23462, - "end": 23463, + "start": 23483, + "end": 23484, "loc": { "start": { - "line": 711, + "line": 708, "column": 16 }, "end": { - "line": 711, + "line": 708, "column": 17 } } @@ -170772,15 +172599,15 @@ "binop": null }, "value": "pause", - "start": 23463, - "end": 23468, + "start": 23484, + "end": 23489, "loc": { "start": { - "line": 711, + "line": 708, "column": 17 }, "end": { - "line": 711, + "line": 708, "column": 22 } } @@ -170797,15 +172624,15 @@ "postfix": false, "binop": null }, - "start": 23468, - "end": 23469, + "start": 23489, + "end": 23490, "loc": { "start": { - "line": 711, + "line": 708, "column": 22 }, "end": { - "line": 711, + "line": 708, "column": 23 } } @@ -170822,15 +172649,15 @@ "postfix": false, "binop": null }, - "start": 23469, - "end": 23470, + "start": 23490, + "end": 23491, "loc": { "start": { - "line": 711, + "line": 708, "column": 23 }, "end": { - "line": 711, + "line": 708, "column": 24 } } @@ -170848,15 +172675,15 @@ "binop": null, "updateContext": null }, - "start": 23470, - "end": 23471, + "start": 23491, + "end": 23492, "loc": { "start": { - "line": 711, + "line": 708, "column": 24 }, "end": { - "line": 711, + "line": 708, "column": 25 } } @@ -170873,15 +172700,15 @@ "postfix": false, "binop": null }, - "start": 23480, - "end": 23481, + "start": 23501, + "end": 23502, "loc": { "start": { - "line": 712, + "line": 709, "column": 8 }, "end": { - "line": 712, + "line": 709, "column": 9 } } @@ -170901,15 +172728,15 @@ "updateContext": null }, "value": "else", - "start": 23482, - "end": 23486, + "start": 23503, + "end": 23507, "loc": { "start": { - "line": 712, + "line": 709, "column": 10 }, "end": { - "line": 712, + "line": 709, "column": 14 } } @@ -170926,15 +172753,15 @@ "postfix": false, "binop": null }, - "start": 23487, - "end": 23488, + "start": 23508, + "end": 23509, "loc": { "start": { - "line": 712, + "line": 709, "column": 15 }, "end": { - "line": 712, + "line": 709, "column": 16 } } @@ -170954,15 +172781,15 @@ "updateContext": null }, "value": "this", - "start": 23501, - "end": 23505, + "start": 23522, + "end": 23526, "loc": { "start": { - "line": 713, + "line": 710, "column": 12 }, "end": { - "line": 713, + "line": 710, "column": 16 } } @@ -170980,15 +172807,15 @@ "binop": null, "updateContext": null }, - "start": 23505, - "end": 23506, + "start": 23526, + "end": 23527, "loc": { "start": { - "line": 713, + "line": 710, "column": 16 }, "end": { - "line": 713, + "line": 710, "column": 17 } } @@ -171006,15 +172833,15 @@ "binop": null }, "value": "play", - "start": 23506, - "end": 23510, + "start": 23527, + "end": 23531, "loc": { "start": { - "line": 713, + "line": 710, "column": 17 }, "end": { - "line": 713, + "line": 710, "column": 21 } } @@ -171031,15 +172858,15 @@ "postfix": false, "binop": null }, - "start": 23510, - "end": 23511, + "start": 23531, + "end": 23532, "loc": { "start": { - "line": 713, + "line": 710, "column": 21 }, "end": { - "line": 713, + "line": 710, "column": 22 } } @@ -171056,15 +172883,15 @@ "postfix": false, "binop": null }, - "start": 23511, - "end": 23512, + "start": 23532, + "end": 23533, "loc": { "start": { - "line": 713, + "line": 710, "column": 22 }, "end": { - "line": 713, + "line": 710, "column": 23 } } @@ -171082,15 +172909,15 @@ "binop": null, "updateContext": null }, - "start": 23512, - "end": 23513, + "start": 23533, + "end": 23534, "loc": { "start": { - "line": 713, + "line": 710, "column": 23 }, "end": { - "line": 713, + "line": 710, "column": 24 } } @@ -171107,15 +172934,15 @@ "postfix": false, "binop": null }, - "start": 23522, - "end": 23523, + "start": 23543, + "end": 23544, "loc": { "start": { - "line": 714, + "line": 711, "column": 8 }, "end": { - "line": 714, + "line": 711, "column": 9 } } @@ -171132,15 +172959,15 @@ "postfix": false, "binop": null }, - "start": 23528, - "end": 23529, + "start": 23549, + "end": 23550, "loc": { "start": { - "line": 715, + "line": 712, "column": 4 }, "end": { - "line": 715, + "line": 712, "column": 5 } } @@ -171148,15 +172975,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23535, - "end": 23623, + "start": 23556, + "end": 23644, "loc": { "start": { - "line": 717, + "line": 714, "column": 4 }, "end": { - "line": 720, + "line": 717, "column": 7 } } @@ -171174,15 +173001,15 @@ "binop": null }, "value": "onVolumeChange", - "start": 23628, - "end": 23642, + "start": 23649, + "end": 23663, "loc": { "start": { - "line": 721, + "line": 718, "column": 4 }, "end": { - "line": 721, + "line": 718, "column": 18 } } @@ -171199,15 +173026,15 @@ "postfix": false, "binop": null }, - "start": 23642, - "end": 23643, + "start": 23663, + "end": 23664, "loc": { "start": { - "line": 721, + "line": 718, "column": 18 }, "end": { - "line": 721, + "line": 718, "column": 19 } } @@ -171224,15 +173051,15 @@ "postfix": false, "binop": null }, - "start": 23643, - "end": 23644, + "start": 23664, + "end": 23665, "loc": { "start": { - "line": 721, + "line": 718, "column": 19 }, "end": { - "line": 721, + "line": 718, "column": 20 } } @@ -171249,15 +173076,15 @@ "postfix": false, "binop": null }, - "start": 23645, - "end": 23646, + "start": 23666, + "end": 23667, "loc": { "start": { - "line": 721, + "line": 718, "column": 21 }, "end": { - "line": 721, + "line": 718, "column": 22 } } @@ -171277,15 +173104,15 @@ "updateContext": null }, "value": "let", - "start": 23655, - "end": 23658, + "start": 23676, + "end": 23679, "loc": { "start": { - "line": 722, + "line": 719, "column": 8 }, "end": { - "line": 722, + "line": 719, "column": 11 } } @@ -171303,15 +173130,15 @@ "binop": null }, "value": "volume", - "start": 23659, - "end": 23665, + "start": 23680, + "end": 23686, "loc": { "start": { - "line": 722, + "line": 719, "column": 12 }, "end": { - "line": 722, + "line": 719, "column": 18 } } @@ -171330,15 +173157,15 @@ "updateContext": null }, "value": "=", - "start": 23666, - "end": 23667, + "start": 23687, + "end": 23688, "loc": { "start": { - "line": 722, + "line": 719, "column": 19 }, "end": { - "line": 722, + "line": 719, "column": 20 } } @@ -171358,15 +173185,15 @@ "updateContext": null }, "value": "this", - "start": 23668, - "end": 23672, + "start": 23689, + "end": 23693, "loc": { "start": { - "line": 722, + "line": 719, "column": 21 }, "end": { - "line": 722, + "line": 719, "column": 25 } } @@ -171384,15 +173211,15 @@ "binop": null, "updateContext": null }, - "start": 23672, - "end": 23673, + "start": 23693, + "end": 23694, "loc": { "start": { - "line": 722, + "line": 719, "column": 25 }, "end": { - "line": 722, + "line": 719, "column": 26 } } @@ -171410,15 +173237,15 @@ "binop": null }, "value": "player", - "start": 23673, - "end": 23679, + "start": 23694, + "end": 23700, "loc": { "start": { - "line": 722, + "line": 719, "column": 26 }, "end": { - "line": 722, + "line": 719, "column": 32 } } @@ -171436,15 +173263,15 @@ "binop": null, "updateContext": null }, - "start": 23679, - "end": 23680, + "start": 23700, + "end": 23701, "loc": { "start": { - "line": 722, + "line": 719, "column": 32 }, "end": { - "line": 722, + "line": 719, "column": 33 } } @@ -171462,15 +173289,15 @@ "binop": null }, "value": "volume", - "start": 23680, - "end": 23686, + "start": 23701, + "end": 23707, "loc": { "start": { - "line": 722, + "line": 719, "column": 33 }, "end": { - "line": 722, + "line": 719, "column": 39 } } @@ -171487,15 +173314,15 @@ "postfix": false, "binop": null }, - "start": 23686, - "end": 23687, + "start": 23707, + "end": 23708, "loc": { "start": { - "line": 722, + "line": 719, "column": 39 }, "end": { - "line": 722, + "line": 719, "column": 40 } } @@ -171512,15 +173339,15 @@ "postfix": false, "binop": null }, - "start": 23687, - "end": 23688, + "start": 23708, + "end": 23709, "loc": { "start": { - "line": 722, + "line": 719, "column": 40 }, "end": { - "line": 722, + "line": 719, "column": 41 } } @@ -171538,15 +173365,15 @@ "binop": null, "updateContext": null }, - "start": 23688, - "end": 23689, + "start": 23709, + "end": 23710, "loc": { "start": { - "line": 722, + "line": 719, "column": 41 }, "end": { - "line": 722, + "line": 719, "column": 42 } } @@ -171566,15 +173393,15 @@ "updateContext": null }, "value": "if", - "start": 23698, - "end": 23700, + "start": 23719, + "end": 23721, "loc": { "start": { - "line": 723, + "line": 720, "column": 8 }, "end": { - "line": 723, + "line": 720, "column": 10 } } @@ -171591,15 +173418,15 @@ "postfix": false, "binop": null }, - "start": 23701, - "end": 23702, + "start": 23722, + "end": 23723, "loc": { "start": { - "line": 723, + "line": 720, "column": 11 }, "end": { - "line": 723, + "line": 720, "column": 12 } } @@ -171619,15 +173446,15 @@ "updateContext": null }, "value": "this", - "start": 23702, - "end": 23706, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 723, + "line": 720, "column": 12 }, "end": { - "line": 723, + "line": 720, "column": 16 } } @@ -171645,15 +173472,15 @@ "binop": null, "updateContext": null }, - "start": 23706, - "end": 23707, + "start": 23727, + "end": 23728, "loc": { "start": { - "line": 723, + "line": 720, "column": 16 }, "end": { - "line": 723, + "line": 720, "column": 17 } } @@ -171671,15 +173498,15 @@ "binop": null }, "value": "player", - "start": 23707, - "end": 23713, + "start": 23728, + "end": 23734, "loc": { "start": { - "line": 723, + "line": 720, "column": 17 }, "end": { - "line": 723, + "line": 720, "column": 23 } } @@ -171697,15 +173524,15 @@ "binop": null, "updateContext": null }, - "start": 23713, - "end": 23714, + "start": 23734, + "end": 23735, "loc": { "start": { - "line": 723, + "line": 720, "column": 23 }, "end": { - "line": 723, + "line": 720, "column": 24 } } @@ -171723,15 +173550,15 @@ "binop": null }, "value": "muted", - "start": 23714, - "end": 23719, + "start": 23735, + "end": 23740, "loc": { "start": { - "line": 723, + "line": 720, "column": 24 }, "end": { - "line": 723, + "line": 720, "column": 29 } } @@ -171748,15 +173575,15 @@ "postfix": false, "binop": null }, - "start": 23719, - "end": 23720, + "start": 23740, + "end": 23741, "loc": { "start": { - "line": 723, + "line": 720, "column": 29 }, "end": { - "line": 723, + "line": 720, "column": 30 } } @@ -171773,15 +173600,15 @@ "postfix": false, "binop": null }, - "start": 23720, - "end": 23721, + "start": 23741, + "end": 23742, "loc": { "start": { - "line": 723, + "line": 720, "column": 30 }, "end": { - "line": 723, + "line": 720, "column": 31 } } @@ -171798,15 +173625,15 @@ "postfix": false, "binop": null }, - "start": 23721, - "end": 23722, + "start": 23742, + "end": 23743, "loc": { "start": { - "line": 723, + "line": 720, "column": 31 }, "end": { - "line": 723, + "line": 720, "column": 32 } } @@ -171823,15 +173650,15 @@ "postfix": false, "binop": null }, - "start": 23723, - "end": 23724, + "start": 23744, + "end": 23745, "loc": { "start": { - "line": 723, + "line": 720, "column": 33 }, "end": { - "line": 723, + "line": 720, "column": 34 } } @@ -171839,15 +173666,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 23737, - "end": 23752, + "start": 23758, + "end": 23773, "loc": { "start": { - "line": 724, + "line": 721, "column": 12 }, "end": { - "line": 724, + "line": 721, "column": 27 } } @@ -171865,15 +173692,15 @@ "binop": null }, "value": "volume", - "start": 23765, - "end": 23771, + "start": 23786, + "end": 23792, "loc": { "start": { - "line": 725, + "line": 722, "column": 12 }, "end": { - "line": 725, + "line": 722, "column": 18 } } @@ -171892,15 +173719,15 @@ "updateContext": null }, "value": "=", - "start": 23772, - "end": 23773, + "start": 23793, + "end": 23794, "loc": { "start": { - "line": 725, + "line": 722, "column": 19 }, "end": { - "line": 725, + "line": 722, "column": 20 } } @@ -171919,15 +173746,15 @@ "updateContext": null }, "value": 0, - "start": 23774, - "end": 23775, + "start": 23795, + "end": 23796, "loc": { "start": { - "line": 725, + "line": 722, "column": 21 }, "end": { - "line": 725, + "line": 722, "column": 22 } } @@ -171945,15 +173772,15 @@ "binop": null, "updateContext": null }, - "start": 23775, - "end": 23776, + "start": 23796, + "end": 23797, "loc": { "start": { - "line": 725, + "line": 722, "column": 22 }, "end": { - "line": 725, + "line": 722, "column": 23 } } @@ -171970,15 +173797,15 @@ "postfix": false, "binop": null }, - "start": 23785, - "end": 23786, + "start": 23806, + "end": 23807, "loc": { "start": { - "line": 726, + "line": 723, "column": 8 }, "end": { - "line": 726, + "line": 723, "column": 9 } } @@ -171986,15 +173813,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 23796, - "end": 23826, + "start": 23817, + "end": 23847, "loc": { "start": { - "line": 728, + "line": 725, "column": 8 }, "end": { - "line": 728, + "line": 725, "column": 38 } } @@ -172014,15 +173841,15 @@ "updateContext": null }, "value": "this", - "start": 23835, - "end": 23839, + "start": 23856, + "end": 23860, "loc": { "start": { - "line": 729, + "line": 726, "column": 8 }, "end": { - "line": 729, + "line": 726, "column": 12 } } @@ -172040,15 +173867,15 @@ "binop": null, "updateContext": null }, - "start": 23839, - "end": 23840, + "start": 23860, + "end": 23861, "loc": { "start": { - "line": 729, + "line": 726, "column": 12 }, "end": { - "line": 729, + "line": 726, "column": 13 } } @@ -172066,15 +173893,15 @@ "binop": null }, "value": "surfer", - "start": 23840, - "end": 23846, + "start": 23861, + "end": 23867, "loc": { "start": { - "line": 729, + "line": 726, "column": 13 }, "end": { - "line": 729, + "line": 726, "column": 19 } } @@ -172092,15 +173919,15 @@ "binop": null, "updateContext": null }, - "start": 23846, - "end": 23847, + "start": 23867, + "end": 23868, "loc": { "start": { - "line": 729, + "line": 726, "column": 19 }, "end": { - "line": 729, + "line": 726, "column": 20 } } @@ -172118,15 +173945,15 @@ "binop": null }, "value": "setVolume", - "start": 23847, - "end": 23856, + "start": 23868, + "end": 23877, "loc": { "start": { - "line": 729, + "line": 726, "column": 20 }, "end": { - "line": 729, + "line": 726, "column": 29 } } @@ -172143,15 +173970,15 @@ "postfix": false, "binop": null }, - "start": 23856, - "end": 23857, + "start": 23877, + "end": 23878, "loc": { "start": { - "line": 729, + "line": 726, "column": 29 }, "end": { - "line": 729, + "line": 726, "column": 30 } } @@ -172169,15 +173996,15 @@ "binop": null }, "value": "volume", - "start": 23857, - "end": 23863, + "start": 23878, + "end": 23884, "loc": { "start": { - "line": 729, + "line": 726, "column": 30 }, "end": { - "line": 729, + "line": 726, "column": 36 } } @@ -172194,15 +174021,15 @@ "postfix": false, "binop": null }, - "start": 23863, - "end": 23864, + "start": 23884, + "end": 23885, "loc": { "start": { - "line": 729, + "line": 726, "column": 36 }, "end": { - "line": 729, + "line": 726, "column": 37 } } @@ -172220,15 +174047,15 @@ "binop": null, "updateContext": null }, - "start": 23864, - "end": 23865, + "start": 23885, + "end": 23886, "loc": { "start": { - "line": 729, + "line": 726, "column": 37 }, "end": { - "line": 729, + "line": 726, "column": 38 } } @@ -172245,15 +174072,15 @@ "postfix": false, "binop": null }, - "start": 23870, - "end": 23871, + "start": 23891, + "end": 23892, "loc": { "start": { - "line": 730, + "line": 727, "column": 4 }, "end": { - "line": 730, + "line": 727, "column": 5 } } @@ -172261,15 +174088,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 23877, - "end": 23981, + "start": 23898, + "end": 24002, "loc": { "start": { - "line": 732, + "line": 729, "column": 4 }, "end": { - "line": 735, + "line": 732, "column": 7 } } @@ -172287,15 +174114,15 @@ "binop": null }, "value": "onScreenChange", - "start": 23986, - "end": 24000, + "start": 24007, + "end": 24021, "loc": { "start": { - "line": 736, + "line": 733, "column": 4 }, "end": { - "line": 736, + "line": 733, "column": 18 } } @@ -172312,15 +174139,15 @@ "postfix": false, "binop": null }, - "start": 24000, - "end": 24001, + "start": 24021, + "end": 24022, "loc": { "start": { - "line": 736, + "line": 733, "column": 18 }, "end": { - "line": 736, + "line": 733, "column": 19 } } @@ -172337,15 +174164,15 @@ "postfix": false, "binop": null }, - "start": 24001, - "end": 24002, + "start": 24022, + "end": 24023, "loc": { "start": { - "line": 736, + "line": 733, "column": 19 }, "end": { - "line": 736, + "line": 733, "column": 20 } } @@ -172362,15 +174189,15 @@ "postfix": false, "binop": null }, - "start": 24003, - "end": 24004, + "start": 24024, + "end": 24025, "loc": { "start": { - "line": 736, + "line": 733, "column": 21 }, "end": { - "line": 736, + "line": 733, "column": 22 } } @@ -172378,15 +174205,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24013, - "end": 24071, + "start": 24034, + "end": 24092, "loc": { "start": { - "line": 737, + "line": 734, "column": 8 }, "end": { - "line": 737, + "line": 734, "column": 66 } } @@ -172394,15 +174221,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24080, - "end": 24128, + "start": 24101, + "end": 24149, "loc": { "start": { - "line": 738, + "line": 735, "column": 8 }, "end": { - "line": 738, + "line": 735, "column": 56 } } @@ -172422,15 +174249,15 @@ "updateContext": null }, "value": "let", - "start": 24137, - "end": 24140, + "start": 24158, + "end": 24161, "loc": { "start": { - "line": 739, + "line": 736, "column": 8 }, "end": { - "line": 739, + "line": 736, "column": 11 } } @@ -172448,15 +174275,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 24141, - "end": 24156, + "start": 24162, + "end": 24177, "loc": { "start": { - "line": 739, + "line": 736, "column": 12 }, "end": { - "line": 739, + "line": 736, "column": 27 } } @@ -172475,15 +174302,15 @@ "updateContext": null }, "value": "=", - "start": 24157, - "end": 24158, + "start": 24178, + "end": 24179, "loc": { "start": { - "line": 739, + "line": 736, "column": 28 }, "end": { - "line": 739, + "line": 736, "column": 29 } } @@ -172503,15 +174330,15 @@ "updateContext": null }, "value": "this", - "start": 24159, - "end": 24163, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 739, + "line": 736, "column": 30 }, "end": { - "line": 739, + "line": 736, "column": 34 } } @@ -172529,15 +174356,15 @@ "binop": null, "updateContext": null }, - "start": 24163, - "end": 24164, + "start": 24184, + "end": 24185, "loc": { "start": { - "line": 739, + "line": 736, "column": 34 }, "end": { - "line": 739, + "line": 736, "column": 35 } } @@ -172555,15 +174382,15 @@ "binop": null }, "value": "player", - "start": 24164, - "end": 24170, + "start": 24185, + "end": 24191, "loc": { "start": { - "line": 739, + "line": 736, "column": 35 }, "end": { - "line": 739, + "line": 736, "column": 41 } } @@ -172581,15 +174408,15 @@ "binop": null, "updateContext": null }, - "start": 24170, - "end": 24171, + "start": 24191, + "end": 24192, "loc": { "start": { - "line": 739, + "line": 736, "column": 41 }, "end": { - "line": 739, + "line": 736, "column": 42 } } @@ -172607,15 +174434,15 @@ "binop": null }, "value": "setInterval", - "start": 24171, - "end": 24182, + "start": 24192, + "end": 24203, "loc": { "start": { - "line": 739, + "line": 736, "column": 42 }, "end": { - "line": 739, + "line": 736, "column": 53 } } @@ -172632,15 +174459,15 @@ "postfix": false, "binop": null }, - "start": 24182, - "end": 24183, + "start": 24203, + "end": 24204, "loc": { "start": { - "line": 739, + "line": 736, "column": 53 }, "end": { - "line": 739, + "line": 736, "column": 54 } } @@ -172657,15 +174484,15 @@ "postfix": false, "binop": null }, - "start": 24183, - "end": 24184, + "start": 24204, + "end": 24205, "loc": { "start": { - "line": 739, + "line": 736, "column": 54 }, "end": { - "line": 739, + "line": 736, "column": 55 } } @@ -172682,15 +174509,15 @@ "postfix": false, "binop": null }, - "start": 24184, - "end": 24185, + "start": 24205, + "end": 24206, "loc": { "start": { - "line": 739, + "line": 736, "column": 55 }, "end": { - "line": 739, + "line": 736, "column": 56 } } @@ -172708,15 +174535,15 @@ "binop": null, "updateContext": null }, - "start": 24186, - "end": 24188, + "start": 24207, + "end": 24209, "loc": { "start": { - "line": 739, + "line": 736, "column": 57 }, "end": { - "line": 739, + "line": 736, "column": 59 } } @@ -172733,15 +174560,15 @@ "postfix": false, "binop": null }, - "start": 24189, - "end": 24190, + "start": 24210, + "end": 24211, "loc": { "start": { - "line": 739, + "line": 736, "column": 60 }, "end": { - "line": 739, + "line": 736, "column": 61 } } @@ -172761,15 +174588,15 @@ "updateContext": null }, "value": "let", - "start": 24203, - "end": 24206, + "start": 24224, + "end": 24227, "loc": { "start": { - "line": 740, + "line": 737, "column": 12 }, "end": { - "line": 740, + "line": 737, "column": 15 } } @@ -172787,15 +174614,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24207, - "end": 24219, + "start": 24228, + "end": 24240, "loc": { "start": { - "line": 740, + "line": 737, "column": 16 }, "end": { - "line": 740, + "line": 737, "column": 28 } } @@ -172814,15 +174641,15 @@ "updateContext": null }, "value": "=", - "start": 24220, - "end": 24221, + "start": 24241, + "end": 24242, "loc": { "start": { - "line": 740, + "line": 737, "column": 29 }, "end": { - "line": 740, + "line": 737, "column": 30 } } @@ -172842,15 +174669,15 @@ "updateContext": null }, "value": "this", - "start": 24222, - "end": 24226, + "start": 24243, + "end": 24247, "loc": { "start": { - "line": 740, + "line": 737, "column": 31 }, "end": { - "line": 740, + "line": 737, "column": 35 } } @@ -172868,15 +174695,15 @@ "binop": null, "updateContext": null }, - "start": 24226, - "end": 24227, + "start": 24247, + "end": 24248, "loc": { "start": { - "line": 740, + "line": 737, "column": 35 }, "end": { - "line": 740, + "line": 737, "column": 36 } } @@ -172894,15 +174721,15 @@ "binop": null }, "value": "player", - "start": 24227, - "end": 24233, + "start": 24248, + "end": 24254, "loc": { "start": { - "line": 740, + "line": 737, "column": 36 }, "end": { - "line": 740, + "line": 737, "column": 42 } } @@ -172920,15 +174747,15 @@ "binop": null, "updateContext": null }, - "start": 24233, - "end": 24234, + "start": 24254, + "end": 24255, "loc": { "start": { - "line": 740, + "line": 737, "column": 42 }, "end": { - "line": 740, + "line": 737, "column": 43 } } @@ -172946,15 +174773,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24234, - "end": 24246, + "start": 24255, + "end": 24267, "loc": { "start": { - "line": 740, + "line": 737, "column": 43 }, "end": { - "line": 740, + "line": 737, "column": 55 } } @@ -172971,15 +174798,15 @@ "postfix": false, "binop": null }, - "start": 24246, - "end": 24247, + "start": 24267, + "end": 24268, "loc": { "start": { - "line": 740, + "line": 737, "column": 55 }, "end": { - "line": 740, + "line": 737, "column": 56 } } @@ -172996,15 +174823,15 @@ "postfix": false, "binop": null }, - "start": 24247, - "end": 24248, + "start": 24268, + "end": 24269, "loc": { "start": { - "line": 740, + "line": 737, "column": 56 }, "end": { - "line": 740, + "line": 737, "column": 57 } } @@ -173022,15 +174849,15 @@ "binop": null, "updateContext": null }, - "start": 24248, - "end": 24249, + "start": 24269, + "end": 24270, "loc": { "start": { - "line": 740, + "line": 737, "column": 57 }, "end": { - "line": 740, + "line": 737, "column": 58 } } @@ -173050,15 +174877,15 @@ "updateContext": null }, "value": "let", - "start": 24262, - "end": 24265, + "start": 24283, + "end": 24286, "loc": { "start": { - "line": 741, + "line": 738, "column": 12 }, "end": { - "line": 741, + "line": 738, "column": 15 } } @@ -173076,15 +174903,15 @@ "binop": null }, "value": "newWidth", - "start": 24266, - "end": 24274, + "start": 24287, + "end": 24295, "loc": { "start": { - "line": 741, + "line": 738, "column": 16 }, "end": { - "line": 741, + "line": 738, "column": 24 } } @@ -173102,15 +174929,15 @@ "binop": null, "updateContext": null }, - "start": 24274, - "end": 24275, + "start": 24295, + "end": 24296, "loc": { "start": { - "line": 741, + "line": 738, "column": 24 }, "end": { - "line": 741, + "line": 738, "column": 25 } } @@ -173128,15 +174955,15 @@ "binop": null }, "value": "newHeight", - "start": 24276, - "end": 24285, + "start": 24297, + "end": 24306, "loc": { "start": { - "line": 741, + "line": 738, "column": 26 }, "end": { - "line": 741, + "line": 738, "column": 35 } } @@ -173154,15 +174981,15 @@ "binop": null, "updateContext": null }, - "start": 24285, - "end": 24286, + "start": 24306, + "end": 24307, "loc": { "start": { - "line": 741, + "line": 738, "column": 35 }, "end": { - "line": 741, + "line": 738, "column": 36 } } @@ -173182,15 +175009,15 @@ "updateContext": null }, "value": "if", - "start": 24299, - "end": 24301, + "start": 24320, + "end": 24322, "loc": { "start": { - "line": 742, + "line": 739, "column": 12 }, "end": { - "line": 742, + "line": 739, "column": 14 } } @@ -173207,15 +175034,15 @@ "postfix": false, "binop": null }, - "start": 24302, - "end": 24303, + "start": 24323, + "end": 24324, "loc": { "start": { - "line": 742, + "line": 739, "column": 15 }, "end": { - "line": 742, + "line": 739, "column": 16 } } @@ -173234,15 +175061,15 @@ "updateContext": null }, "value": "!", - "start": 24303, - "end": 24304, + "start": 24324, + "end": 24325, "loc": { "start": { - "line": 742, + "line": 739, "column": 16 }, "end": { - "line": 742, + "line": 739, "column": 17 } } @@ -173260,15 +175087,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24304, - "end": 24316, + "start": 24325, + "end": 24337, "loc": { "start": { - "line": 742, + "line": 739, "column": 17 }, "end": { - "line": 742, + "line": 739, "column": 29 } } @@ -173285,15 +175112,15 @@ "postfix": false, "binop": null }, - "start": 24316, - "end": 24317, + "start": 24337, + "end": 24338, "loc": { "start": { - "line": 742, + "line": 739, "column": 29 }, "end": { - "line": 742, + "line": 739, "column": 30 } } @@ -173310,15 +175137,15 @@ "postfix": false, "binop": null }, - "start": 24318, - "end": 24319, + "start": 24339, + "end": 24340, "loc": { "start": { - "line": 742, + "line": 739, "column": 31 }, "end": { - "line": 742, + "line": 739, "column": 32 } } @@ -173326,15 +175153,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24336, - "end": 24366, + "start": 24357, + "end": 24387, "loc": { "start": { - "line": 743, + "line": 740, "column": 16 }, "end": { - "line": 743, + "line": 740, "column": 46 } } @@ -173352,15 +175179,15 @@ "binop": null }, "value": "newWidth", - "start": 24383, - "end": 24391, + "start": 24404, + "end": 24412, "loc": { "start": { - "line": 744, + "line": 741, "column": 16 }, "end": { - "line": 744, + "line": 741, "column": 24 } } @@ -173379,15 +175206,15 @@ "updateContext": null }, "value": "=", - "start": 24392, - "end": 24393, + "start": 24413, + "end": 24414, "loc": { "start": { - "line": 744, + "line": 741, "column": 25 }, "end": { - "line": 744, + "line": 741, "column": 26 } } @@ -173407,15 +175234,15 @@ "updateContext": null }, "value": "this", - "start": 24394, - "end": 24398, + "start": 24415, + "end": 24419, "loc": { "start": { - "line": 744, + "line": 741, "column": 27 }, "end": { - "line": 744, + "line": 741, "column": 31 } } @@ -173433,15 +175260,15 @@ "binop": null, "updateContext": null }, - "start": 24398, - "end": 24399, + "start": 24419, + "end": 24420, "loc": { "start": { - "line": 744, + "line": 741, "column": 31 }, "end": { - "line": 744, + "line": 741, "column": 32 } } @@ -173459,15 +175286,15 @@ "binop": null }, "value": "originalWidth", - "start": 24399, - "end": 24412, + "start": 24420, + "end": 24433, "loc": { "start": { - "line": 744, + "line": 741, "column": 32 }, "end": { - "line": 744, + "line": 741, "column": 45 } } @@ -173485,15 +175312,15 @@ "binop": null, "updateContext": null }, - "start": 24412, - "end": 24413, + "start": 24433, + "end": 24434, "loc": { "start": { - "line": 744, + "line": 741, "column": 45 }, "end": { - "line": 744, + "line": 741, "column": 46 } } @@ -173511,15 +175338,15 @@ "binop": null }, "value": "newHeight", - "start": 24430, - "end": 24439, + "start": 24451, + "end": 24460, "loc": { "start": { - "line": 745, + "line": 742, "column": 16 }, "end": { - "line": 745, + "line": 742, "column": 25 } } @@ -173538,15 +175365,15 @@ "updateContext": null }, "value": "=", - "start": 24440, - "end": 24441, + "start": 24461, + "end": 24462, "loc": { "start": { - "line": 745, + "line": 742, "column": 26 }, "end": { - "line": 745, + "line": 742, "column": 27 } } @@ -173566,15 +175393,15 @@ "updateContext": null }, "value": "this", - "start": 24442, - "end": 24446, + "start": 24463, + "end": 24467, "loc": { "start": { - "line": 745, + "line": 742, "column": 28 }, "end": { - "line": 745, + "line": 742, "column": 32 } } @@ -173592,15 +175419,15 @@ "binop": null, "updateContext": null }, - "start": 24446, - "end": 24447, + "start": 24467, + "end": 24468, "loc": { "start": { - "line": 745, + "line": 742, "column": 32 }, "end": { - "line": 745, + "line": 742, "column": 33 } } @@ -173618,15 +175445,15 @@ "binop": null }, "value": "originalHeight", - "start": 24447, - "end": 24461, + "start": 24468, + "end": 24482, "loc": { "start": { - "line": 745, + "line": 742, "column": 33 }, "end": { - "line": 745, + "line": 742, "column": 47 } } @@ -173644,15 +175471,15 @@ "binop": null, "updateContext": null }, - "start": 24461, - "end": 24462, + "start": 24482, + "end": 24483, "loc": { "start": { - "line": 745, + "line": 742, "column": 47 }, "end": { - "line": 745, + "line": 742, "column": 48 } } @@ -173669,15 +175496,15 @@ "postfix": false, "binop": null }, - "start": 24475, - "end": 24476, + "start": 24496, + "end": 24497, "loc": { "start": { - "line": 746, + "line": 743, "column": 12 }, "end": { - "line": 746, + "line": 743, "column": 13 } } @@ -173697,15 +175524,15 @@ "updateContext": null }, "value": "if", - "start": 24490, - "end": 24492, + "start": 24511, + "end": 24513, "loc": { "start": { - "line": 748, + "line": 745, "column": 12 }, "end": { - "line": 748, + "line": 745, "column": 14 } } @@ -173722,15 +175549,15 @@ "postfix": false, "binop": null }, - "start": 24493, - "end": 24494, + "start": 24514, + "end": 24515, "loc": { "start": { - "line": 748, + "line": 745, "column": 15 }, "end": { - "line": 748, + "line": 745, "column": 16 } } @@ -173750,15 +175577,15 @@ "updateContext": null }, "value": "this", - "start": 24494, - "end": 24498, + "start": 24515, + "end": 24519, "loc": { "start": { - "line": 748, + "line": 745, "column": 16 }, "end": { - "line": 748, + "line": 745, "column": 20 } } @@ -173776,15 +175603,15 @@ "binop": null, "updateContext": null }, - "start": 24498, - "end": 24499, + "start": 24519, + "end": 24520, "loc": { "start": { - "line": 748, + "line": 745, "column": 20 }, "end": { - "line": 748, + "line": 745, "column": 21 } } @@ -173802,15 +175629,15 @@ "binop": null }, "value": "waveReady", - "start": 24499, - "end": 24508, + "start": 24520, + "end": 24529, "loc": { "start": { - "line": 748, + "line": 745, "column": 21 }, "end": { - "line": 748, + "line": 745, "column": 30 } } @@ -173827,15 +175654,15 @@ "postfix": false, "binop": null }, - "start": 24508, - "end": 24509, + "start": 24529, + "end": 24530, "loc": { "start": { - "line": 748, + "line": 745, "column": 30 }, "end": { - "line": 748, + "line": 745, "column": 31 } } @@ -173852,15 +175679,15 @@ "postfix": false, "binop": null }, - "start": 24510, - "end": 24511, + "start": 24531, + "end": 24532, "loc": { "start": { - "line": 748, + "line": 745, "column": 32 }, "end": { - "line": 748, + "line": 745, "column": 33 } } @@ -173880,15 +175707,15 @@ "updateContext": null }, "value": "if", - "start": 24528, - "end": 24530, + "start": 24549, + "end": 24551, "loc": { "start": { - "line": 749, + "line": 746, "column": 16 }, "end": { - "line": 749, + "line": 746, "column": 18 } } @@ -173905,15 +175732,15 @@ "postfix": false, "binop": null }, - "start": 24531, - "end": 24532, + "start": 24552, + "end": 24553, "loc": { "start": { - "line": 749, + "line": 746, "column": 19 }, "end": { - "line": 749, + "line": 746, "column": 20 } } @@ -173933,15 +175760,15 @@ "updateContext": null }, "value": "this", - "start": 24532, - "end": 24536, + "start": 24553, + "end": 24557, "loc": { "start": { - "line": 749, + "line": 746, "column": 20 }, "end": { - "line": 749, + "line": 746, "column": 24 } } @@ -173959,15 +175786,15 @@ "binop": null, "updateContext": null }, - "start": 24536, - "end": 24537, + "start": 24557, + "end": 24558, "loc": { "start": { - "line": 749, + "line": 746, "column": 24 }, "end": { - "line": 749, + "line": 746, "column": 25 } } @@ -173985,15 +175812,15 @@ "binop": null }, "value": "liveMode", - "start": 24537, - "end": 24545, + "start": 24558, + "end": 24566, "loc": { "start": { - "line": 749, + "line": 746, "column": 25 }, "end": { - "line": 749, + "line": 746, "column": 33 } } @@ -174012,15 +175839,15 @@ "updateContext": null }, "value": "&&", - "start": 24546, - "end": 24548, + "start": 24567, + "end": 24569, "loc": { "start": { - "line": 749, + "line": 746, "column": 34 }, "end": { - "line": 749, + "line": 746, "column": 36 } } @@ -174039,15 +175866,15 @@ "updateContext": null }, "value": "!", - "start": 24549, - "end": 24550, + "start": 24570, + "end": 24571, "loc": { "start": { - "line": 749, + "line": 746, "column": 37 }, "end": { - "line": 749, + "line": 746, "column": 38 } } @@ -174067,15 +175894,15 @@ "updateContext": null }, "value": "this", - "start": 24550, - "end": 24554, + "start": 24571, + "end": 24575, "loc": { "start": { - "line": 749, + "line": 746, "column": 38 }, "end": { - "line": 749, + "line": 746, "column": 42 } } @@ -174093,15 +175920,15 @@ "binop": null, "updateContext": null }, - "start": 24554, - "end": 24555, + "start": 24575, + "end": 24576, "loc": { "start": { - "line": 749, + "line": 746, "column": 42 }, "end": { - "line": 749, + "line": 746, "column": 43 } } @@ -174119,15 +175946,15 @@ "binop": null }, "value": "surfer", - "start": 24555, - "end": 24561, + "start": 24576, + "end": 24582, "loc": { "start": { - "line": 749, + "line": 746, "column": 43 }, "end": { - "line": 749, + "line": 746, "column": 49 } } @@ -174145,15 +175972,15 @@ "binop": null, "updateContext": null }, - "start": 24561, - "end": 24562, + "start": 24582, + "end": 24583, "loc": { "start": { - "line": 749, + "line": 746, "column": 49 }, "end": { - "line": 749, + "line": 746, "column": 50 } } @@ -174171,15 +175998,15 @@ "binop": null }, "value": "microphone", - "start": 24562, - "end": 24572, + "start": 24583, + "end": 24593, "loc": { "start": { - "line": 749, + "line": 746, "column": 50 }, "end": { - "line": 749, + "line": 746, "column": 60 } } @@ -174197,15 +176024,15 @@ "binop": null, "updateContext": null }, - "start": 24572, - "end": 24573, + "start": 24593, + "end": 24594, "loc": { "start": { - "line": 749, + "line": 746, "column": 60 }, "end": { - "line": 749, + "line": 746, "column": 61 } } @@ -174223,15 +176050,15 @@ "binop": null }, "value": "active", - "start": 24573, - "end": 24579, + "start": 24594, + "end": 24600, "loc": { "start": { - "line": 749, + "line": 746, "column": 61 }, "end": { - "line": 749, + "line": 746, "column": 67 } } @@ -174248,15 +176075,15 @@ "postfix": false, "binop": null }, - "start": 24579, - "end": 24580, + "start": 24600, + "end": 24601, "loc": { "start": { - "line": 749, + "line": 746, "column": 67 }, "end": { - "line": 749, + "line": 746, "column": 68 } } @@ -174273,15 +176100,15 @@ "postfix": false, "binop": null }, - "start": 24581, - "end": 24582, + "start": 24602, + "end": 24603, "loc": { "start": { - "line": 749, + "line": 746, "column": 69 }, "end": { - "line": 749, + "line": 746, "column": 70 } } @@ -174289,15 +176116,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 24603, - "end": 24655, + "start": 24624, + "end": 24676, "loc": { "start": { - "line": 750, + "line": 747, "column": 20 }, "end": { - "line": 750, + "line": 747, "column": 72 } } @@ -174305,15 +176132,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 24676, - "end": 24690, + "start": 24697, + "end": 24711, "loc": { "start": { - "line": 751, + "line": 748, "column": 20 }, "end": { - "line": 751, + "line": 748, "column": 34 } } @@ -174333,15 +176160,15 @@ "updateContext": null }, "value": "return", - "start": 24711, - "end": 24717, + "start": 24732, + "end": 24738, "loc": { "start": { - "line": 752, + "line": 749, "column": 20 }, "end": { - "line": 752, + "line": 749, "column": 26 } } @@ -174359,15 +176186,15 @@ "binop": null, "updateContext": null }, - "start": 24717, - "end": 24718, + "start": 24738, + "end": 24739, "loc": { "start": { - "line": 752, + "line": 749, "column": 26 }, "end": { - "line": 752, + "line": 749, "column": 27 } } @@ -174384,15 +176211,15 @@ "postfix": false, "binop": null }, - "start": 24735, - "end": 24736, + "start": 24756, + "end": 24757, "loc": { "start": { - "line": 753, + "line": 750, "column": 16 }, "end": { - "line": 753, + "line": 750, "column": 17 } } @@ -174400,15 +176227,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 24753, - "end": 24762, + "start": 24774, + "end": 24783, "loc": { "start": { - "line": 754, + "line": 751, "column": 16 }, "end": { - "line": 754, + "line": 751, "column": 25 } } @@ -174428,15 +176255,15 @@ "updateContext": null }, "value": "this", - "start": 24779, - "end": 24783, + "start": 24800, + "end": 24804, "loc": { "start": { - "line": 755, + "line": 752, "column": 16 }, "end": { - "line": 755, + "line": 752, "column": 20 } } @@ -174454,15 +176281,15 @@ "binop": null, "updateContext": null }, - "start": 24783, - "end": 24784, + "start": 24804, + "end": 24805, "loc": { "start": { - "line": 755, + "line": 752, "column": 20 }, "end": { - "line": 755, + "line": 752, "column": 21 } } @@ -174480,15 +176307,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 24784, - "end": 24798, + "start": 24805, + "end": 24819, "loc": { "start": { - "line": 755, + "line": 752, "column": 21 }, "end": { - "line": 755, + "line": 752, "column": 35 } } @@ -174505,15 +176332,15 @@ "postfix": false, "binop": null }, - "start": 24798, - "end": 24799, + "start": 24819, + "end": 24820, "loc": { "start": { - "line": 755, + "line": 752, "column": 35 }, "end": { - "line": 755, + "line": 752, "column": 36 } } @@ -174531,15 +176358,15 @@ "binop": null }, "value": "newWidth", - "start": 24799, - "end": 24807, + "start": 24820, + "end": 24828, "loc": { "start": { - "line": 755, + "line": 752, "column": 36 }, "end": { - "line": 755, + "line": 752, "column": 44 } } @@ -174557,15 +176384,15 @@ "binop": null, "updateContext": null }, - "start": 24807, - "end": 24808, + "start": 24828, + "end": 24829, "loc": { "start": { - "line": 755, + "line": 752, "column": 44 }, "end": { - "line": 755, + "line": 752, "column": 45 } } @@ -174583,15 +176410,15 @@ "binop": null }, "value": "newHeight", - "start": 24809, - "end": 24818, + "start": 24830, + "end": 24839, "loc": { "start": { - "line": 755, + "line": 752, "column": 46 }, "end": { - "line": 755, + "line": 752, "column": 55 } } @@ -174608,15 +176435,15 @@ "postfix": false, "binop": null }, - "start": 24818, - "end": 24819, + "start": 24839, + "end": 24840, "loc": { "start": { - "line": 755, + "line": 752, "column": 55 }, "end": { - "line": 755, + "line": 752, "column": 56 } } @@ -174634,15 +176461,15 @@ "binop": null, "updateContext": null }, - "start": 24819, - "end": 24820, + "start": 24840, + "end": 24841, "loc": { "start": { - "line": 755, + "line": 752, "column": 56 }, "end": { - "line": 755, + "line": 752, "column": 57 } } @@ -174659,15 +176486,15 @@ "postfix": false, "binop": null }, - "start": 24833, - "end": 24834, + "start": 24854, + "end": 24855, "loc": { "start": { - "line": 756, + "line": 753, "column": 12 }, "end": { - "line": 756, + "line": 753, "column": 13 } } @@ -174675,15 +176502,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 24848, - "end": 24880, + "start": 24869, + "end": 24901, "loc": { "start": { - "line": 758, + "line": 755, "column": 12 }, "end": { - "line": 758, + "line": 755, "column": 44 } } @@ -174703,15 +176530,15 @@ "updateContext": null }, "value": "this", - "start": 24893, - "end": 24897, + "start": 24914, + "end": 24918, "loc": { "start": { - "line": 759, + "line": 756, "column": 12 }, "end": { - "line": 759, + "line": 756, "column": 16 } } @@ -174729,15 +176556,15 @@ "binop": null, "updateContext": null }, - "start": 24897, - "end": 24898, + "start": 24918, + "end": 24919, "loc": { "start": { - "line": 759, + "line": 756, "column": 16 }, "end": { - "line": 759, + "line": 756, "column": 17 } } @@ -174755,15 +176582,15 @@ "binop": null }, "value": "player", - "start": 24898, - "end": 24904, + "start": 24919, + "end": 24925, "loc": { "start": { - "line": 759, + "line": 756, "column": 17 }, "end": { - "line": 759, + "line": 756, "column": 23 } } @@ -174781,15 +176608,15 @@ "binop": null, "updateContext": null }, - "start": 24904, - "end": 24905, + "start": 24925, + "end": 24926, "loc": { "start": { - "line": 759, + "line": 756, "column": 23 }, "end": { - "line": 759, + "line": 756, "column": 24 } } @@ -174807,15 +176634,15 @@ "binop": null }, "value": "clearInterval", - "start": 24905, - "end": 24918, + "start": 24926, + "end": 24939, "loc": { "start": { - "line": 759, + "line": 756, "column": 24 }, "end": { - "line": 759, + "line": 756, "column": 37 } } @@ -174832,15 +176659,15 @@ "postfix": false, "binop": null }, - "start": 24918, - "end": 24919, + "start": 24939, + "end": 24940, "loc": { "start": { - "line": 759, + "line": 756, "column": 37 }, "end": { - "line": 759, + "line": 756, "column": 38 } } @@ -174858,15 +176685,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 24919, - "end": 24934, + "start": 24940, + "end": 24955, "loc": { "start": { - "line": 759, + "line": 756, "column": 38 }, "end": { - "line": 759, + "line": 756, "column": 53 } } @@ -174883,15 +176710,15 @@ "postfix": false, "binop": null }, - "start": 24934, - "end": 24935, + "start": 24955, + "end": 24956, "loc": { "start": { - "line": 759, + "line": 756, "column": 53 }, "end": { - "line": 759, + "line": 756, "column": 54 } } @@ -174909,15 +176736,15 @@ "binop": null, "updateContext": null }, - "start": 24935, - "end": 24936, + "start": 24956, + "end": 24957, "loc": { "start": { - "line": 759, + "line": 756, "column": 54 }, "end": { - "line": 759, + "line": 756, "column": 55 } } @@ -174934,15 +176761,15 @@ "postfix": false, "binop": null }, - "start": 24946, - "end": 24947, + "start": 24967, + "end": 24968, "loc": { "start": { - "line": 761, + "line": 758, "column": 8 }, "end": { - "line": 761, + "line": 758, "column": 9 } } @@ -174960,15 +176787,15 @@ "binop": null, "updateContext": null }, - "start": 24947, - "end": 24948, + "start": 24968, + "end": 24969, "loc": { "start": { - "line": 761, + "line": 758, "column": 9 }, "end": { - "line": 761, + "line": 758, "column": 10 } } @@ -174987,15 +176814,15 @@ "updateContext": null }, "value": 100, - "start": 24949, - "end": 24952, + "start": 24970, + "end": 24973, "loc": { "start": { - "line": 761, + "line": 758, "column": 11 }, "end": { - "line": 761, + "line": 758, "column": 14 } } @@ -175012,15 +176839,15 @@ "postfix": false, "binop": null }, - "start": 24952, - "end": 24953, + "start": 24973, + "end": 24974, "loc": { "start": { - "line": 761, + "line": 758, "column": 14 }, "end": { - "line": 761, + "line": 758, "column": 15 } } @@ -175038,15 +176865,15 @@ "binop": null, "updateContext": null }, - "start": 24953, - "end": 24954, + "start": 24974, + "end": 24975, "loc": { "start": { - "line": 761, + "line": 758, "column": 15 }, "end": { - "line": 761, + "line": 758, "column": 16 } } @@ -175063,15 +176890,15 @@ "postfix": false, "binop": null }, - "start": 24959, - "end": 24960, + "start": 24980, + "end": 24981, "loc": { "start": { - "line": 762, + "line": 759, "column": 4 }, "end": { - "line": 762, + "line": 759, "column": 5 } } @@ -175079,15 +176906,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 24966, - "end": 25050, + "start": 24987, + "end": 25071, "loc": { "start": { - "line": 764, + "line": 761, "column": 4 }, "end": { - "line": 768, + "line": 765, "column": 7 } } @@ -175105,15 +176932,15 @@ "binop": null }, "value": "onResizeChange", - "start": 25055, - "end": 25069, + "start": 25076, + "end": 25090, "loc": { "start": { - "line": 769, + "line": 766, "column": 4 }, "end": { - "line": 769, + "line": 766, "column": 18 } } @@ -175130,15 +176957,15 @@ "postfix": false, "binop": null }, - "start": 25069, - "end": 25070, + "start": 25090, + "end": 25091, "loc": { "start": { - "line": 769, + "line": 766, "column": 18 }, "end": { - "line": 769, + "line": 766, "column": 19 } } @@ -175155,15 +176982,15 @@ "postfix": false, "binop": null }, - "start": 25070, - "end": 25071, + "start": 25091, + "end": 25092, "loc": { "start": { - "line": 769, + "line": 766, "column": 19 }, "end": { - "line": 769, + "line": 766, "column": 20 } } @@ -175180,15 +177007,15 @@ "postfix": false, "binop": null }, - "start": 25072, - "end": 25073, + "start": 25093, + "end": 25094, "loc": { "start": { - "line": 769, + "line": 766, "column": 21 }, "end": { - "line": 769, + "line": 766, "column": 22 } } @@ -175208,15 +177035,15 @@ "updateContext": null }, "value": "if", - "start": 25082, - "end": 25084, + "start": 25103, + "end": 25105, "loc": { "start": { - "line": 770, + "line": 767, "column": 8 }, "end": { - "line": 770, + "line": 767, "column": 10 } } @@ -175233,15 +177060,15 @@ "postfix": false, "binop": null }, - "start": 25085, - "end": 25086, + "start": 25106, + "end": 25107, "loc": { "start": { - "line": 770, + "line": 767, "column": 11 }, "end": { - "line": 770, + "line": 767, "column": 12 } } @@ -175261,15 +177088,15 @@ "updateContext": null }, "value": "this", - "start": 25086, - "end": 25090, + "start": 25107, + "end": 25111, "loc": { "start": { - "line": 770, + "line": 767, "column": 12 }, "end": { - "line": 770, + "line": 767, "column": 16 } } @@ -175287,15 +177114,15 @@ "binop": null, "updateContext": null }, - "start": 25090, - "end": 25091, + "start": 25111, + "end": 25112, "loc": { "start": { - "line": 770, + "line": 767, "column": 16 }, "end": { - "line": 770, + "line": 767, "column": 17 } } @@ -175313,15 +177140,15 @@ "binop": null }, "value": "surfer", - "start": 25091, - "end": 25097, + "start": 25112, + "end": 25118, "loc": { "start": { - "line": 770, + "line": 767, "column": 17 }, "end": { - "line": 770, + "line": 767, "column": 23 } } @@ -175340,15 +177167,15 @@ "updateContext": null }, "value": "!==", - "start": 25098, - "end": 25101, + "start": 25119, + "end": 25122, "loc": { "start": { - "line": 770, + "line": 767, "column": 24 }, "end": { - "line": 770, + "line": 767, "column": 27 } } @@ -175366,15 +177193,15 @@ "binop": null }, "value": "undefined", - "start": 25102, - "end": 25111, + "start": 25123, + "end": 25132, "loc": { "start": { - "line": 770, + "line": 767, "column": 28 }, "end": { - "line": 770, + "line": 767, "column": 37 } } @@ -175391,15 +177218,15 @@ "postfix": false, "binop": null }, - "start": 25111, - "end": 25112, + "start": 25132, + "end": 25133, "loc": { "start": { - "line": 770, + "line": 767, "column": 37 }, "end": { - "line": 770, + "line": 767, "column": 38 } } @@ -175416,15 +177243,15 @@ "postfix": false, "binop": null }, - "start": 25113, - "end": 25114, + "start": 25134, + "end": 25135, "loc": { "start": { - "line": 770, + "line": 767, "column": 39 }, "end": { - "line": 770, + "line": 767, "column": 40 } } @@ -175432,15 +177259,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25127, - "end": 25145, + "start": 25148, + "end": 25166, "loc": { "start": { - "line": 771, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 768, "column": 30 } } @@ -175460,15 +177287,15 @@ "updateContext": null }, "value": "this", - "start": 25158, - "end": 25162, + "start": 25179, + "end": 25183, "loc": { "start": { - "line": 772, + "line": 769, "column": 12 }, "end": { - "line": 772, + "line": 769, "column": 16 } } @@ -175486,15 +177313,15 @@ "binop": null, "updateContext": null }, - "start": 25162, - "end": 25163, + "start": 25183, + "end": 25184, "loc": { "start": { - "line": 772, + "line": 769, "column": 16 }, "end": { - "line": 772, + "line": 769, "column": 17 } } @@ -175512,15 +177339,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25163, - "end": 25177, + "start": 25184, + "end": 25198, "loc": { "start": { - "line": 772, + "line": 769, "column": 17 }, "end": { - "line": 772, + "line": 769, "column": 31 } } @@ -175537,15 +177364,15 @@ "postfix": false, "binop": null }, - "start": 25177, - "end": 25178, + "start": 25198, + "end": 25199, "loc": { "start": { - "line": 772, + "line": 769, "column": 31 }, "end": { - "line": 772, + "line": 769, "column": 32 } } @@ -175562,15 +177389,15 @@ "postfix": false, "binop": null }, - "start": 25178, - "end": 25179, + "start": 25199, + "end": 25200, "loc": { "start": { - "line": 772, + "line": 769, "column": 32 }, "end": { - "line": 772, + "line": 769, "column": 33 } } @@ -175588,15 +177415,15 @@ "binop": null, "updateContext": null }, - "start": 25179, - "end": 25180, + "start": 25200, + "end": 25201, "loc": { "start": { - "line": 772, + "line": 769, "column": 33 }, "end": { - "line": 772, + "line": 769, "column": 34 } } @@ -175613,15 +177440,15 @@ "postfix": false, "binop": null }, - "start": 25189, - "end": 25190, + "start": 25210, + "end": 25211, "loc": { "start": { - "line": 773, + "line": 770, "column": 8 }, "end": { - "line": 773, + "line": 770, "column": 9 } } @@ -175638,15 +177465,15 @@ "postfix": false, "binop": null }, - "start": 25195, - "end": 25196, + "start": 25216, + "end": 25217, "loc": { "start": { - "line": 774, + "line": 771, "column": 4 }, "end": { - "line": 774, + "line": 771, "column": 5 } } @@ -175654,15 +177481,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25202, - "end": 25390, + "start": 25223, + "end": 25411, "loc": { "start": { - "line": 776, + "line": 773, "column": 4 }, "end": { - "line": 782, + "line": 779, "column": 7 } } @@ -175680,15 +177507,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25395, - "end": 25409, + "start": 25416, + "end": 25430, "loc": { "start": { - "line": 783, + "line": 780, "column": 4 }, "end": { - "line": 783, + "line": 780, "column": 18 } } @@ -175705,15 +177532,15 @@ "postfix": false, "binop": null }, - "start": 25409, - "end": 25410, + "start": 25430, + "end": 25431, "loc": { "start": { - "line": 783, + "line": 780, "column": 18 }, "end": { - "line": 783, + "line": 780, "column": 19 } } @@ -175731,15 +177558,15 @@ "binop": null }, "value": "newWidth", - "start": 25410, - "end": 25418, + "start": 25431, + "end": 25439, "loc": { "start": { - "line": 783, + "line": 780, "column": 19 }, "end": { - "line": 783, + "line": 780, "column": 27 } } @@ -175757,15 +177584,15 @@ "binop": null, "updateContext": null }, - "start": 25418, - "end": 25419, + "start": 25439, + "end": 25440, "loc": { "start": { - "line": 783, + "line": 780, "column": 27 }, "end": { - "line": 783, + "line": 780, "column": 28 } } @@ -175783,15 +177610,15 @@ "binop": null }, "value": "newHeight", - "start": 25420, - "end": 25429, + "start": 25441, + "end": 25450, "loc": { "start": { - "line": 783, + "line": 780, "column": 29 }, "end": { - "line": 783, + "line": 780, "column": 38 } } @@ -175808,15 +177635,15 @@ "postfix": false, "binop": null }, - "start": 25429, - "end": 25430, + "start": 25450, + "end": 25451, "loc": { "start": { - "line": 783, + "line": 780, "column": 38 }, "end": { - "line": 783, + "line": 780, "column": 39 } } @@ -175833,15 +177660,15 @@ "postfix": false, "binop": null }, - "start": 25431, - "end": 25432, + "start": 25452, + "end": 25453, "loc": { "start": { - "line": 783, + "line": 780, "column": 40 }, "end": { - "line": 783, + "line": 780, "column": 41 } } @@ -175861,15 +177688,15 @@ "updateContext": null }, "value": "if", - "start": 25441, - "end": 25443, + "start": 25462, + "end": 25464, "loc": { "start": { - "line": 784, + "line": 781, "column": 8 }, "end": { - "line": 784, + "line": 781, "column": 10 } } @@ -175886,15 +177713,15 @@ "postfix": false, "binop": null }, - "start": 25444, - "end": 25445, + "start": 25465, + "end": 25466, "loc": { "start": { - "line": 784, + "line": 781, "column": 11 }, "end": { - "line": 784, + "line": 781, "column": 12 } } @@ -175913,15 +177740,15 @@ "updateContext": null }, "value": "!", - "start": 25445, - "end": 25446, + "start": 25466, + "end": 25467, "loc": { "start": { - "line": 784, + "line": 781, "column": 12 }, "end": { - "line": 784, + "line": 781, "column": 13 } } @@ -175941,15 +177768,15 @@ "updateContext": null }, "value": "this", - "start": 25446, - "end": 25450, + "start": 25467, + "end": 25471, "loc": { "start": { - "line": 784, + "line": 781, "column": 13 }, "end": { - "line": 784, + "line": 781, "column": 17 } } @@ -175967,15 +177794,15 @@ "binop": null, "updateContext": null }, - "start": 25450, - "end": 25451, + "start": 25471, + "end": 25472, "loc": { "start": { - "line": 784, + "line": 781, "column": 17 }, "end": { - "line": 784, + "line": 781, "column": 18 } } @@ -175993,15 +177820,15 @@ "binop": null }, "value": "isDestroyed", - "start": 25451, - "end": 25462, + "start": 25472, + "end": 25483, "loc": { "start": { - "line": 784, + "line": 781, "column": 18 }, "end": { - "line": 784, + "line": 781, "column": 29 } } @@ -176018,15 +177845,15 @@ "postfix": false, "binop": null }, - "start": 25462, - "end": 25463, + "start": 25483, + "end": 25484, "loc": { "start": { - "line": 784, + "line": 781, "column": 29 }, "end": { - "line": 784, + "line": 781, "column": 30 } } @@ -176043,15 +177870,15 @@ "postfix": false, "binop": null }, - "start": 25463, - "end": 25464, + "start": 25484, + "end": 25485, "loc": { "start": { - "line": 784, + "line": 781, "column": 30 }, "end": { - "line": 784, + "line": 781, "column": 31 } } @@ -176068,15 +177895,15 @@ "postfix": false, "binop": null }, - "start": 25464, - "end": 25465, + "start": 25485, + "end": 25486, "loc": { "start": { - "line": 784, + "line": 781, "column": 31 }, "end": { - "line": 784, + "line": 781, "column": 32 } } @@ -176093,15 +177920,15 @@ "postfix": false, "binop": null }, - "start": 25466, - "end": 25467, + "start": 25487, + "end": 25488, "loc": { "start": { - "line": 784, + "line": 781, "column": 33 }, "end": { - "line": 784, + "line": 781, "column": 34 } } @@ -176121,15 +177948,15 @@ "updateContext": null }, "value": "if", - "start": 25480, - "end": 25482, + "start": 25501, + "end": 25503, "loc": { "start": { - "line": 785, + "line": 782, "column": 12 }, "end": { - "line": 785, + "line": 782, "column": 14 } } @@ -176146,15 +177973,15 @@ "postfix": false, "binop": null }, - "start": 25483, - "end": 25484, + "start": 25504, + "end": 25505, "loc": { "start": { - "line": 785, + "line": 782, "column": 15 }, "end": { - "line": 785, + "line": 782, "column": 16 } } @@ -176174,15 +178001,15 @@ "updateContext": null }, "value": "this", - "start": 25484, - "end": 25488, + "start": 25505, + "end": 25509, "loc": { "start": { - "line": 785, + "line": 782, "column": 16 }, "end": { - "line": 785, + "line": 782, "column": 20 } } @@ -176200,15 +178027,15 @@ "binop": null, "updateContext": null }, - "start": 25488, - "end": 25489, + "start": 25509, + "end": 25510, "loc": { "start": { - "line": 785, + "line": 782, "column": 20 }, "end": { - "line": 785, + "line": 782, "column": 21 } } @@ -176226,15 +178053,15 @@ "binop": null }, "value": "player", - "start": 25489, - "end": 25495, + "start": 25510, + "end": 25516, "loc": { "start": { - "line": 785, + "line": 782, "column": 21 }, "end": { - "line": 785, + "line": 782, "column": 27 } } @@ -176252,15 +178079,15 @@ "binop": null, "updateContext": null }, - "start": 25495, - "end": 25496, + "start": 25516, + "end": 25517, "loc": { "start": { - "line": 785, + "line": 782, "column": 27 }, "end": { - "line": 785, + "line": 782, "column": 28 } } @@ -176278,15 +178105,15 @@ "binop": null }, "value": "el_", - "start": 25496, - "end": 25499, + "start": 25517, + "end": 25520, "loc": { "start": { - "line": 785, + "line": 782, "column": 28 }, "end": { - "line": 785, + "line": 782, "column": 31 } } @@ -176303,15 +178130,15 @@ "postfix": false, "binop": null }, - "start": 25499, - "end": 25500, + "start": 25520, + "end": 25521, "loc": { "start": { - "line": 785, + "line": 782, "column": 31 }, "end": { - "line": 785, + "line": 782, "column": 32 } } @@ -176328,15 +178155,15 @@ "postfix": false, "binop": null }, - "start": 25501, - "end": 25502, + "start": 25522, + "end": 25523, "loc": { "start": { - "line": 785, + "line": 782, "column": 33 }, "end": { - "line": 785, + "line": 782, "column": 34 } } @@ -176356,15 +178183,15 @@ "updateContext": null }, "value": "let", - "start": 25519, - "end": 25522, + "start": 25540, + "end": 25543, "loc": { "start": { - "line": 786, + "line": 783, "column": 16 }, "end": { - "line": 786, + "line": 783, "column": 19 } } @@ -176382,15 +178209,15 @@ "binop": null }, "value": "rect", - "start": 25523, - "end": 25527, + "start": 25544, + "end": 25548, "loc": { "start": { - "line": 786, + "line": 783, "column": 20 }, "end": { - "line": 786, + "line": 783, "column": 24 } } @@ -176409,15 +178236,15 @@ "updateContext": null }, "value": "=", - "start": 25528, - "end": 25529, + "start": 25549, + "end": 25550, "loc": { "start": { - "line": 786, + "line": 783, "column": 25 }, "end": { - "line": 786, + "line": 783, "column": 26 } } @@ -176437,15 +178264,15 @@ "updateContext": null }, "value": "this", - "start": 25530, - "end": 25534, + "start": 25551, + "end": 25555, "loc": { "start": { - "line": 786, + "line": 783, "column": 27 }, "end": { - "line": 786, + "line": 783, "column": 31 } } @@ -176463,15 +178290,15 @@ "binop": null, "updateContext": null }, - "start": 25534, - "end": 25535, + "start": 25555, + "end": 25556, "loc": { "start": { - "line": 786, + "line": 783, "column": 31 }, "end": { - "line": 786, + "line": 783, "column": 32 } } @@ -176489,15 +178316,15 @@ "binop": null }, "value": "player", - "start": 25535, - "end": 25541, + "start": 25556, + "end": 25562, "loc": { "start": { - "line": 786, + "line": 783, "column": 32 }, "end": { - "line": 786, + "line": 783, "column": 38 } } @@ -176515,15 +178342,15 @@ "binop": null, "updateContext": null }, - "start": 25541, - "end": 25542, + "start": 25562, + "end": 25563, "loc": { "start": { - "line": 786, + "line": 783, "column": 38 }, "end": { - "line": 786, + "line": 783, "column": 39 } } @@ -176541,15 +178368,15 @@ "binop": null }, "value": "el_", - "start": 25542, - "end": 25545, + "start": 25563, + "end": 25566, "loc": { "start": { - "line": 786, + "line": 783, "column": 39 }, "end": { - "line": 786, + "line": 783, "column": 42 } } @@ -176567,15 +178394,15 @@ "binop": null, "updateContext": null }, - "start": 25545, - "end": 25546, + "start": 25566, + "end": 25567, "loc": { "start": { - "line": 786, + "line": 783, "column": 42 }, "end": { - "line": 786, + "line": 783, "column": 43 } } @@ -176593,15 +178420,15 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 25546, - "end": 25567, + "start": 25567, + "end": 25588, "loc": { "start": { - "line": 786, + "line": 783, "column": 43 }, "end": { - "line": 786, + "line": 783, "column": 64 } } @@ -176618,15 +178445,15 @@ "postfix": false, "binop": null }, - "start": 25567, - "end": 25568, + "start": 25588, + "end": 25589, "loc": { "start": { - "line": 786, + "line": 783, "column": 64 }, "end": { - "line": 786, + "line": 783, "column": 65 } } @@ -176643,15 +178470,15 @@ "postfix": false, "binop": null }, - "start": 25568, - "end": 25569, + "start": 25589, + "end": 25590, "loc": { "start": { - "line": 786, + "line": 783, "column": 65 }, "end": { - "line": 786, + "line": 783, "column": 66 } } @@ -176669,15 +178496,15 @@ "binop": null, "updateContext": null }, - "start": 25569, - "end": 25570, + "start": 25590, + "end": 25591, "loc": { "start": { - "line": 786, + "line": 783, "column": 66 }, "end": { - "line": 786, + "line": 783, "column": 67 } } @@ -176697,15 +178524,15 @@ "updateContext": null }, "value": "if", - "start": 25587, - "end": 25589, + "start": 25608, + "end": 25610, "loc": { "start": { - "line": 787, + "line": 784, "column": 16 }, "end": { - "line": 787, + "line": 784, "column": 18 } } @@ -176722,15 +178549,15 @@ "postfix": false, "binop": null }, - "start": 25590, - "end": 25591, + "start": 25611, + "end": 25612, "loc": { "start": { - "line": 787, + "line": 784, "column": 19 }, "end": { - "line": 787, + "line": 784, "column": 20 } } @@ -176748,15 +178575,15 @@ "binop": null }, "value": "newWidth", - "start": 25591, - "end": 25599, + "start": 25612, + "end": 25620, "loc": { "start": { - "line": 787, + "line": 784, "column": 20 }, "end": { - "line": 787, + "line": 784, "column": 28 } } @@ -176775,15 +178602,15 @@ "updateContext": null }, "value": "===", - "start": 25600, - "end": 25603, + "start": 25621, + "end": 25624, "loc": { "start": { - "line": 787, + "line": 784, "column": 29 }, "end": { - "line": 787, + "line": 784, "column": 32 } } @@ -176801,15 +178628,15 @@ "binop": null }, "value": "undefined", - "start": 25604, - "end": 25613, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 787, + "line": 784, "column": 33 }, "end": { - "line": 787, + "line": 784, "column": 42 } } @@ -176826,15 +178653,15 @@ "postfix": false, "binop": null }, - "start": 25613, - "end": 25614, + "start": 25634, + "end": 25635, "loc": { "start": { - "line": 787, + "line": 784, "column": 42 }, "end": { - "line": 787, + "line": 784, "column": 43 } } @@ -176851,15 +178678,15 @@ "postfix": false, "binop": null }, - "start": 25615, - "end": 25616, + "start": 25636, + "end": 25637, "loc": { "start": { - "line": 787, + "line": 784, "column": 44 }, "end": { - "line": 787, + "line": 784, "column": 45 } } @@ -176867,15 +178694,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 25637, - "end": 25656, + "start": 25658, + "end": 25677, "loc": { "start": { - "line": 788, + "line": 785, "column": 20 }, "end": { - "line": 788, + "line": 785, "column": 39 } } @@ -176893,15 +178720,15 @@ "binop": null }, "value": "newWidth", - "start": 25677, - "end": 25685, + "start": 25698, + "end": 25706, "loc": { "start": { - "line": 789, + "line": 786, "column": 20 }, "end": { - "line": 789, + "line": 786, "column": 28 } } @@ -176920,15 +178747,15 @@ "updateContext": null }, "value": "=", - "start": 25686, - "end": 25687, + "start": 25707, + "end": 25708, "loc": { "start": { - "line": 789, + "line": 786, "column": 29 }, "end": { - "line": 789, + "line": 786, "column": 30 } } @@ -176946,15 +178773,15 @@ "binop": null }, "value": "rect", - "start": 25688, - "end": 25692, + "start": 25709, + "end": 25713, "loc": { "start": { - "line": 789, + "line": 786, "column": 31 }, "end": { - "line": 789, + "line": 786, "column": 35 } } @@ -176972,15 +178799,15 @@ "binop": null, "updateContext": null }, - "start": 25692, - "end": 25693, + "start": 25713, + "end": 25714, "loc": { "start": { - "line": 789, + "line": 786, "column": 35 }, "end": { - "line": 789, + "line": 786, "column": 36 } } @@ -176998,15 +178825,15 @@ "binop": null }, "value": "width", - "start": 25693, - "end": 25698, + "start": 25714, + "end": 25719, "loc": { "start": { - "line": 789, + "line": 786, "column": 36 }, "end": { - "line": 789, + "line": 786, "column": 41 } } @@ -177024,15 +178851,15 @@ "binop": null, "updateContext": null }, - "start": 25698, - "end": 25699, + "start": 25719, + "end": 25720, "loc": { "start": { - "line": 789, + "line": 786, "column": 41 }, "end": { - "line": 789, + "line": 786, "column": 42 } } @@ -177049,15 +178876,15 @@ "postfix": false, "binop": null }, - "start": 25716, - "end": 25717, + "start": 25737, + "end": 25738, "loc": { "start": { - "line": 790, + "line": 787, "column": 16 }, "end": { - "line": 790, + "line": 787, "column": 17 } } @@ -177077,15 +178904,15 @@ "updateContext": null }, "value": "if", - "start": 25734, - "end": 25736, + "start": 25755, + "end": 25757, "loc": { "start": { - "line": 791, + "line": 788, "column": 16 }, "end": { - "line": 791, + "line": 788, "column": 18 } } @@ -177102,15 +178929,15 @@ "postfix": false, "binop": null }, - "start": 25737, - "end": 25738, + "start": 25758, + "end": 25759, "loc": { "start": { - "line": 791, + "line": 788, "column": 19 }, "end": { - "line": 791, + "line": 788, "column": 20 } } @@ -177128,15 +178955,15 @@ "binop": null }, "value": "newHeight", - "start": 25738, - "end": 25747, + "start": 25759, + "end": 25768, "loc": { "start": { - "line": 791, + "line": 788, "column": 20 }, "end": { - "line": 791, + "line": 788, "column": 29 } } @@ -177155,15 +178982,15 @@ "updateContext": null }, "value": "===", - "start": 25748, - "end": 25751, + "start": 25769, + "end": 25772, "loc": { "start": { - "line": 791, + "line": 788, "column": 30 }, "end": { - "line": 791, + "line": 788, "column": 33 } } @@ -177181,15 +179008,15 @@ "binop": null }, "value": "undefined", - "start": 25752, - "end": 25761, + "start": 25773, + "end": 25782, "loc": { "start": { - "line": 791, + "line": 788, "column": 34 }, "end": { - "line": 791, + "line": 788, "column": 43 } } @@ -177206,15 +179033,15 @@ "postfix": false, "binop": null }, - "start": 25761, - "end": 25762, + "start": 25782, + "end": 25783, "loc": { "start": { - "line": 791, + "line": 788, "column": 43 }, "end": { - "line": 791, + "line": 788, "column": 44 } } @@ -177231,15 +179058,15 @@ "postfix": false, "binop": null }, - "start": 25763, - "end": 25764, + "start": 25784, + "end": 25785, "loc": { "start": { - "line": 791, + "line": 788, "column": 45 }, "end": { - "line": 791, + "line": 788, "column": 46 } } @@ -177247,15 +179074,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 25785, - "end": 25805, + "start": 25806, + "end": 25826, "loc": { "start": { - "line": 792, + "line": 789, "column": 20 }, "end": { - "line": 792, + "line": 789, "column": 40 } } @@ -177273,15 +179100,15 @@ "binop": null }, "value": "newHeight", - "start": 25826, - "end": 25835, + "start": 25847, + "end": 25856, "loc": { "start": { - "line": 793, + "line": 790, "column": 20 }, "end": { - "line": 793, + "line": 790, "column": 29 } } @@ -177300,15 +179127,15 @@ "updateContext": null }, "value": "=", - "start": 25836, - "end": 25837, + "start": 25857, + "end": 25858, "loc": { "start": { - "line": 793, + "line": 790, "column": 30 }, "end": { - "line": 793, + "line": 790, "column": 31 } } @@ -177326,15 +179153,15 @@ "binop": null }, "value": "rect", - "start": 25838, - "end": 25842, + "start": 25859, + "end": 25863, "loc": { "start": { - "line": 793, + "line": 790, "column": 32 }, "end": { - "line": 793, + "line": 790, "column": 36 } } @@ -177352,15 +179179,15 @@ "binop": null, "updateContext": null }, - "start": 25842, - "end": 25843, + "start": 25863, + "end": 25864, "loc": { "start": { - "line": 793, + "line": 790, "column": 36 }, "end": { - "line": 793, + "line": 790, "column": 37 } } @@ -177378,15 +179205,15 @@ "binop": null }, "value": "height", - "start": 25843, - "end": 25849, + "start": 25864, + "end": 25870, "loc": { "start": { - "line": 793, + "line": 790, "column": 37 }, "end": { - "line": 793, + "line": 790, "column": 43 } } @@ -177404,15 +179231,15 @@ "binop": null, "updateContext": null }, - "start": 25849, - "end": 25850, + "start": 25870, + "end": 25871, "loc": { "start": { - "line": 793, + "line": 790, "column": 43 }, "end": { - "line": 793, + "line": 790, "column": 44 } } @@ -177429,15 +179256,15 @@ "postfix": false, "binop": null }, - "start": 25867, - "end": 25868, + "start": 25888, + "end": 25889, "loc": { "start": { - "line": 794, + "line": 791, "column": 16 }, "end": { - "line": 794, + "line": 791, "column": 17 } } @@ -177454,15 +179281,15 @@ "postfix": false, "binop": null }, - "start": 25881, - "end": 25882, + "start": 25902, + "end": 25903, "loc": { "start": { - "line": 795, + "line": 792, "column": 12 }, "end": { - "line": 795, + "line": 792, "column": 13 } } @@ -177470,15 +179297,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 25896, - "end": 25918, + "start": 25917, + "end": 25939, "loc": { "start": { - "line": 797, + "line": 794, "column": 12 }, "end": { - "line": 797, + "line": 794, "column": 34 } } @@ -177498,15 +179325,15 @@ "updateContext": null }, "value": "this", - "start": 25931, - "end": 25935, + "start": 25952, + "end": 25956, "loc": { "start": { - "line": 798, + "line": 795, "column": 12 }, "end": { - "line": 798, + "line": 795, "column": 16 } } @@ -177524,15 +179351,15 @@ "binop": null, "updateContext": null }, - "start": 25935, - "end": 25936, + "start": 25956, + "end": 25957, "loc": { "start": { - "line": 798, + "line": 795, "column": 16 }, "end": { - "line": 798, + "line": 795, "column": 17 } } @@ -177550,15 +179377,15 @@ "binop": null }, "value": "surfer", - "start": 25936, - "end": 25942, + "start": 25957, + "end": 25963, "loc": { "start": { - "line": 798, + "line": 795, "column": 17 }, "end": { - "line": 798, + "line": 795, "column": 23 } } @@ -177576,15 +179403,15 @@ "binop": null, "updateContext": null }, - "start": 25942, - "end": 25943, + "start": 25963, + "end": 25964, "loc": { "start": { - "line": 798, + "line": 795, "column": 23 }, "end": { - "line": 798, + "line": 795, "column": 24 } } @@ -177602,15 +179429,15 @@ "binop": null }, "value": "drawer", - "start": 25943, - "end": 25949, + "start": 25964, + "end": 25970, "loc": { "start": { - "line": 798, + "line": 795, "column": 24 }, "end": { - "line": 798, + "line": 795, "column": 30 } } @@ -177628,15 +179455,15 @@ "binop": null, "updateContext": null }, - "start": 25949, - "end": 25950, + "start": 25970, + "end": 25971, "loc": { "start": { - "line": 798, + "line": 795, "column": 30 }, "end": { - "line": 798, + "line": 795, "column": 31 } } @@ -177654,15 +179481,15 @@ "binop": null }, "value": "destroy", - "start": 25950, - "end": 25957, + "start": 25971, + "end": 25978, "loc": { "start": { - "line": 798, + "line": 795, "column": 31 }, "end": { - "line": 798, + "line": 795, "column": 38 } } @@ -177679,15 +179506,15 @@ "postfix": false, "binop": null }, - "start": 25957, - "end": 25958, + "start": 25978, + "end": 25979, "loc": { "start": { - "line": 798, + "line": 795, "column": 38 }, "end": { - "line": 798, + "line": 795, "column": 39 } } @@ -177704,15 +179531,15 @@ "postfix": false, "binop": null }, - "start": 25958, - "end": 25959, + "start": 25979, + "end": 25980, "loc": { "start": { - "line": 798, + "line": 795, "column": 39 }, "end": { - "line": 798, + "line": 795, "column": 40 } } @@ -177730,15 +179557,15 @@ "binop": null, "updateContext": null }, - "start": 25959, - "end": 25960, + "start": 25980, + "end": 25981, "loc": { "start": { - "line": 798, + "line": 795, "column": 40 }, "end": { - "line": 798, + "line": 795, "column": 41 } } @@ -177746,15 +179573,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 25974, - "end": 25995, + "start": 25995, + "end": 26016, "loc": { "start": { - "line": 800, + "line": 797, "column": 12 }, "end": { - "line": 800, + "line": 797, "column": 33 } } @@ -177774,15 +179601,15 @@ "updateContext": null }, "value": "this", - "start": 26008, - "end": 26012, + "start": 26029, + "end": 26033, "loc": { "start": { - "line": 801, + "line": 798, "column": 12 }, "end": { - "line": 801, + "line": 798, "column": 16 } } @@ -177800,15 +179627,15 @@ "binop": null, "updateContext": null }, - "start": 26012, - "end": 26013, + "start": 26033, + "end": 26034, "loc": { "start": { - "line": 801, + "line": 798, "column": 16 }, "end": { - "line": 801, + "line": 798, "column": 17 } } @@ -177826,15 +179653,15 @@ "binop": null }, "value": "surfer", - "start": 26013, - "end": 26019, + "start": 26034, + "end": 26040, "loc": { "start": { - "line": 801, + "line": 798, "column": 17 }, "end": { - "line": 801, + "line": 798, "column": 23 } } @@ -177852,15 +179679,15 @@ "binop": null, "updateContext": null }, - "start": 26019, - "end": 26020, + "start": 26040, + "end": 26041, "loc": { "start": { - "line": 801, + "line": 798, "column": 23 }, "end": { - "line": 801, + "line": 798, "column": 24 } } @@ -177878,15 +179705,15 @@ "binop": null }, "value": "params", - "start": 26020, - "end": 26026, + "start": 26041, + "end": 26047, "loc": { "start": { - "line": 801, + "line": 798, "column": 24 }, "end": { - "line": 801, + "line": 798, "column": 30 } } @@ -177904,15 +179731,15 @@ "binop": null, "updateContext": null }, - "start": 26026, - "end": 26027, + "start": 26047, + "end": 26048, "loc": { "start": { - "line": 801, + "line": 798, "column": 30 }, "end": { - "line": 801, + "line": 798, "column": 31 } } @@ -177930,15 +179757,15 @@ "binop": null }, "value": "width", - "start": 26027, - "end": 26032, + "start": 26048, + "end": 26053, "loc": { "start": { - "line": 801, + "line": 798, "column": 31 }, "end": { - "line": 801, + "line": 798, "column": 36 } } @@ -177957,15 +179784,15 @@ "updateContext": null }, "value": "=", - "start": 26033, - "end": 26034, + "start": 26054, + "end": 26055, "loc": { "start": { - "line": 801, + "line": 798, "column": 37 }, "end": { - "line": 801, + "line": 798, "column": 38 } } @@ -177983,15 +179810,15 @@ "binop": null }, "value": "newWidth", - "start": 26035, - "end": 26043, + "start": 26056, + "end": 26064, "loc": { "start": { - "line": 801, + "line": 798, "column": 39 }, "end": { - "line": 801, + "line": 798, "column": 47 } } @@ -178009,15 +179836,15 @@ "binop": null, "updateContext": null }, - "start": 26043, - "end": 26044, + "start": 26064, + "end": 26065, "loc": { "start": { - "line": 801, + "line": 798, "column": 47 }, "end": { - "line": 801, + "line": 798, "column": 48 } } @@ -178037,15 +179864,15 @@ "updateContext": null }, "value": "this", - "start": 26057, - "end": 26061, + "start": 26078, + "end": 26082, "loc": { "start": { - "line": 802, + "line": 799, "column": 12 }, "end": { - "line": 802, + "line": 799, "column": 16 } } @@ -178063,15 +179890,15 @@ "binop": null, "updateContext": null }, - "start": 26061, - "end": 26062, + "start": 26082, + "end": 26083, "loc": { "start": { - "line": 802, + "line": 799, "column": 16 }, "end": { - "line": 802, + "line": 799, "column": 17 } } @@ -178089,15 +179916,15 @@ "binop": null }, "value": "surfer", - "start": 26062, - "end": 26068, + "start": 26083, + "end": 26089, "loc": { "start": { - "line": 802, + "line": 799, "column": 17 }, "end": { - "line": 802, + "line": 799, "column": 23 } } @@ -178115,15 +179942,15 @@ "binop": null, "updateContext": null }, - "start": 26068, - "end": 26069, + "start": 26089, + "end": 26090, "loc": { "start": { - "line": 802, + "line": 799, "column": 23 }, "end": { - "line": 802, + "line": 799, "column": 24 } } @@ -178141,15 +179968,15 @@ "binop": null }, "value": "params", - "start": 26069, - "end": 26075, + "start": 26090, + "end": 26096, "loc": { "start": { - "line": 802, + "line": 799, "column": 24 }, "end": { - "line": 802, + "line": 799, "column": 30 } } @@ -178167,15 +179994,15 @@ "binop": null, "updateContext": null }, - "start": 26075, - "end": 26076, + "start": 26096, + "end": 26097, "loc": { "start": { - "line": 802, + "line": 799, "column": 30 }, "end": { - "line": 802, + "line": 799, "column": 31 } } @@ -178193,15 +180020,15 @@ "binop": null }, "value": "height", - "start": 26076, - "end": 26082, + "start": 26097, + "end": 26103, "loc": { "start": { - "line": 802, + "line": 799, "column": 31 }, "end": { - "line": 802, + "line": 799, "column": 37 } } @@ -178220,15 +180047,15 @@ "updateContext": null }, "value": "=", - "start": 26083, - "end": 26084, + "start": 26104, + "end": 26105, "loc": { "start": { - "line": 802, + "line": 799, "column": 38 }, "end": { - "line": 802, + "line": 799, "column": 39 } } @@ -178246,15 +180073,15 @@ "binop": null }, "value": "newHeight", - "start": 26085, - "end": 26094, + "start": 26106, + "end": 26115, "loc": { "start": { - "line": 802, + "line": 799, "column": 40 }, "end": { - "line": 802, + "line": 799, "column": 49 } } @@ -178273,15 +180100,15 @@ "updateContext": null }, "value": "-", - "start": 26095, - "end": 26096, + "start": 26116, + "end": 26117, "loc": { "start": { - "line": 802, + "line": 799, "column": 50 }, "end": { - "line": 802, + "line": 799, "column": 51 } } @@ -178301,15 +180128,15 @@ "updateContext": null }, "value": "this", - "start": 26097, - "end": 26101, + "start": 26118, + "end": 26122, "loc": { "start": { - "line": 802, + "line": 799, "column": 52 }, "end": { - "line": 802, + "line": 799, "column": 56 } } @@ -178327,15 +180154,15 @@ "binop": null, "updateContext": null }, - "start": 26101, - "end": 26102, + "start": 26122, + "end": 26123, "loc": { "start": { - "line": 802, + "line": 799, "column": 56 }, "end": { - "line": 802, + "line": 799, "column": 57 } } @@ -178353,15 +180180,15 @@ "binop": null }, "value": "player", - "start": 26102, - "end": 26108, + "start": 26123, + "end": 26129, "loc": { "start": { - "line": 802, + "line": 799, "column": 57 }, "end": { - "line": 802, + "line": 799, "column": 63 } } @@ -178379,15 +180206,15 @@ "binop": null, "updateContext": null }, - "start": 26108, - "end": 26109, + "start": 26129, + "end": 26130, "loc": { "start": { - "line": 802, + "line": 799, "column": 63 }, "end": { - "line": 802, + "line": 799, "column": 64 } } @@ -178405,15 +180232,15 @@ "binop": null }, "value": "controlBar", - "start": 26109, - "end": 26119, + "start": 26130, + "end": 26140, "loc": { "start": { - "line": 802, + "line": 799, "column": 64 }, "end": { - "line": 802, + "line": 799, "column": 74 } } @@ -178431,15 +180258,15 @@ "binop": null, "updateContext": null }, - "start": 26119, - "end": 26120, + "start": 26140, + "end": 26141, "loc": { "start": { - "line": 802, + "line": 799, "column": 74 }, "end": { - "line": 802, + "line": 799, "column": 75 } } @@ -178457,15 +180284,15 @@ "binop": null }, "value": "height", - "start": 26120, - "end": 26126, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 802, + "line": 799, "column": 75 }, "end": { - "line": 802, + "line": 799, "column": 81 } } @@ -178482,15 +180309,15 @@ "postfix": false, "binop": null }, - "start": 26126, - "end": 26127, + "start": 26147, + "end": 26148, "loc": { "start": { - "line": 802, + "line": 799, "column": 81 }, "end": { - "line": 802, + "line": 799, "column": 82 } } @@ -178507,15 +180334,15 @@ "postfix": false, "binop": null }, - "start": 26127, - "end": 26128, + "start": 26148, + "end": 26149, "loc": { "start": { - "line": 802, + "line": 799, "column": 82 }, "end": { - "line": 802, + "line": 799, "column": 83 } } @@ -178533,15 +180360,15 @@ "binop": null, "updateContext": null }, - "start": 26128, - "end": 26129, + "start": 26149, + "end": 26150, "loc": { "start": { - "line": 802, + "line": 799, "column": 83 }, "end": { - "line": 802, + "line": 799, "column": 84 } } @@ -178549,15 +180376,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26143, - "end": 26161, + "start": 26164, + "end": 26182, "loc": { "start": { - "line": 804, + "line": 801, "column": 12 }, "end": { - "line": 804, + "line": 801, "column": 30 } } @@ -178577,15 +180404,15 @@ "updateContext": null }, "value": "this", - "start": 26174, - "end": 26178, + "start": 26195, + "end": 26199, "loc": { "start": { - "line": 805, + "line": 802, "column": 12 }, "end": { - "line": 805, + "line": 802, "column": 16 } } @@ -178603,15 +180430,15 @@ "binop": null, "updateContext": null }, - "start": 26178, - "end": 26179, + "start": 26199, + "end": 26200, "loc": { "start": { - "line": 805, + "line": 802, "column": 16 }, "end": { - "line": 805, + "line": 802, "column": 17 } } @@ -178629,15 +180456,15 @@ "binop": null }, "value": "surfer", - "start": 26179, - "end": 26185, + "start": 26200, + "end": 26206, "loc": { "start": { - "line": 805, + "line": 802, "column": 17 }, "end": { - "line": 805, + "line": 802, "column": 23 } } @@ -178655,15 +180482,15 @@ "binop": null, "updateContext": null }, - "start": 26185, - "end": 26186, + "start": 26206, + "end": 26207, "loc": { "start": { - "line": 805, + "line": 802, "column": 23 }, "end": { - "line": 805, + "line": 802, "column": 24 } } @@ -178681,15 +180508,15 @@ "binop": null }, "value": "createDrawer", - "start": 26186, - "end": 26198, + "start": 26207, + "end": 26219, "loc": { "start": { - "line": 805, + "line": 802, "column": 24 }, "end": { - "line": 805, + "line": 802, "column": 36 } } @@ -178706,15 +180533,15 @@ "postfix": false, "binop": null }, - "start": 26198, - "end": 26199, + "start": 26219, + "end": 26220, "loc": { "start": { - "line": 805, + "line": 802, "column": 36 }, "end": { - "line": 805, + "line": 802, "column": 37 } } @@ -178731,15 +180558,15 @@ "postfix": false, "binop": null }, - "start": 26199, - "end": 26200, + "start": 26220, + "end": 26221, "loc": { "start": { - "line": 805, + "line": 802, "column": 37 }, "end": { - "line": 805, + "line": 802, "column": 38 } } @@ -178757,15 +180584,15 @@ "binop": null, "updateContext": null }, - "start": 26200, - "end": 26201, + "start": 26221, + "end": 26222, "loc": { "start": { - "line": 805, + "line": 802, "column": 38 }, "end": { - "line": 805, + "line": 802, "column": 39 } } @@ -178785,15 +180612,15 @@ "updateContext": null }, "value": "this", - "start": 26214, - "end": 26218, + "start": 26235, + "end": 26239, "loc": { "start": { - "line": 806, + "line": 803, "column": 12 }, "end": { - "line": 806, + "line": 803, "column": 16 } } @@ -178811,15 +180638,15 @@ "binop": null, "updateContext": null }, - "start": 26218, - "end": 26219, + "start": 26239, + "end": 26240, "loc": { "start": { - "line": 806, + "line": 803, "column": 16 }, "end": { - "line": 806, + "line": 803, "column": 17 } } @@ -178837,15 +180664,15 @@ "binop": null }, "value": "surfer", - "start": 26219, - "end": 26225, + "start": 26240, + "end": 26246, "loc": { "start": { - "line": 806, + "line": 803, "column": 17 }, "end": { - "line": 806, + "line": 803, "column": 23 } } @@ -178863,15 +180690,15 @@ "binop": null, "updateContext": null }, - "start": 26225, - "end": 26226, + "start": 26246, + "end": 26247, "loc": { "start": { - "line": 806, + "line": 803, "column": 23 }, "end": { - "line": 806, + "line": 803, "column": 24 } } @@ -178889,15 +180716,15 @@ "binop": null }, "value": "drawer", - "start": 26226, - "end": 26232, + "start": 26247, + "end": 26253, "loc": { "start": { - "line": 806, + "line": 803, "column": 24 }, "end": { - "line": 806, + "line": 803, "column": 30 } } @@ -178915,15 +180742,15 @@ "binop": null, "updateContext": null }, - "start": 26232, - "end": 26233, + "start": 26253, + "end": 26254, "loc": { "start": { - "line": 806, + "line": 803, "column": 30 }, "end": { - "line": 806, + "line": 803, "column": 31 } } @@ -178941,15 +180768,15 @@ "binop": null }, "value": "wrapper", - "start": 26233, - "end": 26240, + "start": 26254, + "end": 26261, "loc": { "start": { - "line": 806, + "line": 803, "column": 31 }, "end": { - "line": 806, + "line": 803, "column": 38 } } @@ -178967,15 +180794,15 @@ "binop": null, "updateContext": null }, - "start": 26240, - "end": 26241, + "start": 26261, + "end": 26262, "loc": { "start": { - "line": 806, + "line": 803, "column": 38 }, "end": { - "line": 806, + "line": 803, "column": 39 } } @@ -178993,15 +180820,15 @@ "binop": null }, "value": "className", - "start": 26241, - "end": 26250, + "start": 26262, + "end": 26271, "loc": { "start": { - "line": 806, + "line": 803, "column": 39 }, "end": { - "line": 806, + "line": 803, "column": 48 } } @@ -179020,15 +180847,15 @@ "updateContext": null }, "value": "=", - "start": 26251, - "end": 26252, + "start": 26272, + "end": 26273, "loc": { "start": { - "line": 806, + "line": 803, "column": 49 }, "end": { - "line": 806, + "line": 803, "column": 50 } } @@ -179046,15 +180873,15 @@ "binop": null }, "value": "wavesurferClassName", - "start": 26253, - "end": 26272, + "start": 26274, + "end": 26293, "loc": { "start": { - "line": 806, + "line": 803, "column": 51 }, "end": { - "line": 806, + "line": 803, "column": 70 } } @@ -179072,15 +180899,15 @@ "binop": null, "updateContext": null }, - "start": 26272, - "end": 26273, + "start": 26293, + "end": 26294, "loc": { "start": { - "line": 806, + "line": 803, "column": 70 }, "end": { - "line": 806, + "line": 803, "column": 71 } } @@ -179100,15 +180927,15 @@ "updateContext": null }, "value": "this", - "start": 26286, - "end": 26290, + "start": 26307, + "end": 26311, "loc": { "start": { - "line": 807, + "line": 804, "column": 12 }, "end": { - "line": 807, + "line": 804, "column": 16 } } @@ -179126,15 +180953,15 @@ "binop": null, "updateContext": null }, - "start": 26290, - "end": 26291, + "start": 26311, + "end": 26312, "loc": { "start": { - "line": 807, + "line": 804, "column": 16 }, "end": { - "line": 807, + "line": 804, "column": 17 } } @@ -179152,15 +180979,15 @@ "binop": null }, "value": "surfer", - "start": 26291, - "end": 26297, + "start": 26312, + "end": 26318, "loc": { "start": { - "line": 807, + "line": 804, "column": 17 }, "end": { - "line": 807, + "line": 804, "column": 23 } } @@ -179178,15 +181005,15 @@ "binop": null, "updateContext": null }, - "start": 26297, - "end": 26298, + "start": 26318, + "end": 26319, "loc": { "start": { - "line": 807, + "line": 804, "column": 23 }, "end": { - "line": 807, + "line": 804, "column": 24 } } @@ -179204,15 +181031,15 @@ "binop": null }, "value": "drawBuffer", - "start": 26298, - "end": 26308, + "start": 26319, + "end": 26329, "loc": { "start": { - "line": 807, + "line": 804, "column": 24 }, "end": { - "line": 807, + "line": 804, "column": 34 } } @@ -179229,15 +181056,15 @@ "postfix": false, "binop": null }, - "start": 26308, - "end": 26309, + "start": 26329, + "end": 26330, "loc": { "start": { - "line": 807, + "line": 804, "column": 34 }, "end": { - "line": 807, + "line": 804, "column": 35 } } @@ -179254,15 +181081,15 @@ "postfix": false, "binop": null }, - "start": 26309, - "end": 26310, + "start": 26330, + "end": 26331, "loc": { "start": { - "line": 807, + "line": 804, "column": 35 }, "end": { - "line": 807, + "line": 804, "column": 36 } } @@ -179280,15 +181107,15 @@ "binop": null, "updateContext": null }, - "start": 26310, - "end": 26311, + "start": 26331, + "end": 26332, "loc": { "start": { - "line": 807, + "line": 804, "column": 36 }, "end": { - "line": 807, + "line": 804, "column": 37 } } @@ -179296,15 +181123,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26325, - "end": 26376, + "start": 26346, + "end": 26397, "loc": { "start": { - "line": 809, + "line": 806, "column": 12 }, "end": { - "line": 809, + "line": 806, "column": 63 } } @@ -179324,15 +181151,15 @@ "updateContext": null }, "value": "this", - "start": 26389, - "end": 26393, + "start": 26410, + "end": 26414, "loc": { "start": { - "line": 810, + "line": 807, "column": 12 }, "end": { - "line": 810, + "line": 807, "column": 16 } } @@ -179350,15 +181177,15 @@ "binop": null, "updateContext": null }, - "start": 26393, - "end": 26394, + "start": 26414, + "end": 26415, "loc": { "start": { - "line": 810, + "line": 807, "column": 16 }, "end": { - "line": 810, + "line": 807, "column": 17 } } @@ -179376,15 +181203,15 @@ "binop": null }, "value": "surfer", - "start": 26394, - "end": 26400, + "start": 26415, + "end": 26421, "loc": { "start": { - "line": 810, + "line": 807, "column": 17 }, "end": { - "line": 810, + "line": 807, "column": 23 } } @@ -179402,15 +181229,15 @@ "binop": null, "updateContext": null }, - "start": 26400, - "end": 26401, + "start": 26421, + "end": 26422, "loc": { "start": { - "line": 810, + "line": 807, "column": 23 }, "end": { - "line": 810, + "line": 807, "column": 24 } } @@ -179428,15 +181255,15 @@ "binop": null }, "value": "drawer", - "start": 26401, - "end": 26407, + "start": 26422, + "end": 26428, "loc": { "start": { - "line": 810, + "line": 807, "column": 24 }, "end": { - "line": 810, + "line": 807, "column": 30 } } @@ -179454,15 +181281,15 @@ "binop": null, "updateContext": null }, - "start": 26407, - "end": 26408, + "start": 26428, + "end": 26429, "loc": { "start": { - "line": 810, + "line": 807, "column": 30 }, "end": { - "line": 810, + "line": 807, "column": 31 } } @@ -179480,15 +181307,15 @@ "binop": null }, "value": "progress", - "start": 26408, - "end": 26416, + "start": 26429, + "end": 26437, "loc": { "start": { - "line": 810, + "line": 807, "column": 31 }, "end": { - "line": 810, + "line": 807, "column": 39 } } @@ -179505,15 +181332,15 @@ "postfix": false, "binop": null }, - "start": 26416, - "end": 26417, + "start": 26437, + "end": 26438, "loc": { "start": { - "line": 810, + "line": 807, "column": 39 }, "end": { - "line": 810, + "line": 807, "column": 40 } } @@ -179533,15 +181360,15 @@ "updateContext": null }, "value": "this", - "start": 26417, - "end": 26421, + "start": 26438, + "end": 26442, "loc": { "start": { - "line": 810, + "line": 807, "column": 40 }, "end": { - "line": 810, + "line": 807, "column": 44 } } @@ -179559,15 +181386,15 @@ "binop": null, "updateContext": null }, - "start": 26421, - "end": 26422, + "start": 26442, + "end": 26443, "loc": { "start": { - "line": 810, + "line": 807, "column": 44 }, "end": { - "line": 810, + "line": 807, "column": 45 } } @@ -179585,15 +181412,15 @@ "binop": null }, "value": "surfer", - "start": 26422, - "end": 26428, + "start": 26443, + "end": 26449, "loc": { "start": { - "line": 810, + "line": 807, "column": 45 }, "end": { - "line": 810, + "line": 807, "column": 51 } } @@ -179611,15 +181438,15 @@ "binop": null, "updateContext": null }, - "start": 26428, - "end": 26429, + "start": 26449, + "end": 26450, "loc": { "start": { - "line": 810, + "line": 807, "column": 51 }, "end": { - "line": 810, + "line": 807, "column": 52 } } @@ -179637,15 +181464,15 @@ "binop": null }, "value": "backend", - "start": 26429, - "end": 26436, + "start": 26450, + "end": 26457, "loc": { "start": { - "line": 810, + "line": 807, "column": 52 }, "end": { - "line": 810, + "line": 807, "column": 59 } } @@ -179663,15 +181490,15 @@ "binop": null, "updateContext": null }, - "start": 26436, - "end": 26437, + "start": 26457, + "end": 26458, "loc": { "start": { - "line": 810, + "line": 807, "column": 59 }, "end": { - "line": 810, + "line": 807, "column": 60 } } @@ -179689,15 +181516,15 @@ "binop": null }, "value": "getPlayedPercents", - "start": 26437, - "end": 26454, + "start": 26458, + "end": 26475, "loc": { "start": { - "line": 810, + "line": 807, "column": 60 }, "end": { - "line": 810, + "line": 807, "column": 77 } } @@ -179714,15 +181541,15 @@ "postfix": false, "binop": null }, - "start": 26454, - "end": 26455, + "start": 26475, + "end": 26476, "loc": { "start": { - "line": 810, + "line": 807, "column": 77 }, "end": { - "line": 810, + "line": 807, "column": 78 } } @@ -179739,15 +181566,15 @@ "postfix": false, "binop": null }, - "start": 26455, - "end": 26456, + "start": 26476, + "end": 26477, "loc": { "start": { - "line": 810, + "line": 807, "column": 78 }, "end": { - "line": 810, + "line": 807, "column": 79 } } @@ -179764,15 +181591,15 @@ "postfix": false, "binop": null }, - "start": 26456, - "end": 26457, + "start": 26477, + "end": 26478, "loc": { "start": { - "line": 810, + "line": 807, "column": 79 }, "end": { - "line": 810, + "line": 807, "column": 80 } } @@ -179790,15 +181617,15 @@ "binop": null, "updateContext": null }, - "start": 26457, - "end": 26458, + "start": 26478, + "end": 26479, "loc": { "start": { - "line": 810, + "line": 807, "column": 80 }, "end": { - "line": 810, + "line": 807, "column": 81 } } @@ -179815,15 +181642,15 @@ "postfix": false, "binop": null }, - "start": 26467, - "end": 26468, + "start": 26488, + "end": 26489, "loc": { "start": { - "line": 811, + "line": 808, "column": 8 }, "end": { - "line": 811, + "line": 808, "column": 9 } } @@ -179840,15 +181667,15 @@ "postfix": false, "binop": null }, - "start": 26473, - "end": 26474, + "start": 26494, + "end": 26495, "loc": { "start": { - "line": 812, + "line": 809, "column": 4 }, "end": { - "line": 812, + "line": 809, "column": 5 } } @@ -179856,15 +181683,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26480, - "end": 26749, + "start": 26501, + "end": 26770, "loc": { "start": { - "line": 814, + "line": 811, "column": 4 }, "end": { - "line": 821, + "line": 818, "column": 7 } } @@ -179882,15 +181709,15 @@ "binop": null }, "value": "log", - "start": 26754, - "end": 26757, + "start": 26775, + "end": 26778, "loc": { "start": { - "line": 822, + "line": 819, "column": 4 }, "end": { - "line": 822, + "line": 819, "column": 7 } } @@ -179907,15 +181734,15 @@ "postfix": false, "binop": null }, - "start": 26757, - "end": 26758, + "start": 26778, + "end": 26779, "loc": { "start": { - "line": 822, + "line": 819, "column": 7 }, "end": { - "line": 822, + "line": 819, "column": 8 } } @@ -179933,15 +181760,15 @@ "binop": null }, "value": "args", - "start": 26758, - "end": 26762, + "start": 26779, + "end": 26783, "loc": { "start": { - "line": 822, + "line": 819, "column": 8 }, "end": { - "line": 822, + "line": 819, "column": 12 } } @@ -179959,15 +181786,15 @@ "binop": null, "updateContext": null }, - "start": 26762, - "end": 26763, + "start": 26783, + "end": 26784, "loc": { "start": { - "line": 822, + "line": 819, "column": 12 }, "end": { - "line": 822, + "line": 819, "column": 13 } } @@ -179985,15 +181812,15 @@ "binop": null }, "value": "logType", - "start": 26764, - "end": 26771, + "start": 26785, + "end": 26792, "loc": { "start": { - "line": 822, + "line": 819, "column": 14 }, "end": { - "line": 822, + "line": 819, "column": 21 } } @@ -180010,15 +181837,15 @@ "postfix": false, "binop": null }, - "start": 26771, - "end": 26772, + "start": 26792, + "end": 26793, "loc": { "start": { - "line": 822, + "line": 819, "column": 21 }, "end": { - "line": 822, + "line": 819, "column": 22 } } @@ -180035,15 +181862,15 @@ "postfix": false, "binop": null }, - "start": 26773, - "end": 26774, + "start": 26794, + "end": 26795, "loc": { "start": { - "line": 822, + "line": 819, "column": 23 }, "end": { - "line": 822, + "line": 819, "column": 24 } } @@ -180061,15 +181888,15 @@ "binop": null }, "value": "log", - "start": 26783, - "end": 26786, + "start": 26804, + "end": 26807, "loc": { "start": { - "line": 823, + "line": 820, "column": 8 }, "end": { - "line": 823, + "line": 820, "column": 11 } } @@ -180086,15 +181913,15 @@ "postfix": false, "binop": null }, - "start": 26786, - "end": 26787, + "start": 26807, + "end": 26808, "loc": { "start": { - "line": 823, + "line": 820, "column": 11 }, "end": { - "line": 823, + "line": 820, "column": 12 } } @@ -180112,15 +181939,15 @@ "binop": null }, "value": "args", - "start": 26787, - "end": 26791, + "start": 26808, + "end": 26812, "loc": { "start": { - "line": 823, + "line": 820, "column": 12 }, "end": { - "line": 823, + "line": 820, "column": 16 } } @@ -180138,15 +181965,15 @@ "binop": null, "updateContext": null }, - "start": 26791, - "end": 26792, + "start": 26812, + "end": 26813, "loc": { "start": { - "line": 823, + "line": 820, "column": 16 }, "end": { - "line": 823, + "line": 820, "column": 17 } } @@ -180164,15 +181991,15 @@ "binop": null }, "value": "logType", - "start": 26793, - "end": 26800, + "start": 26814, + "end": 26821, "loc": { "start": { - "line": 823, + "line": 820, "column": 18 }, "end": { - "line": 823, + "line": 820, "column": 25 } } @@ -180190,15 +182017,15 @@ "binop": null, "updateContext": null }, - "start": 26800, - "end": 26801, + "start": 26821, + "end": 26822, "loc": { "start": { - "line": 823, + "line": 820, "column": 25 }, "end": { - "line": 823, + "line": 820, "column": 26 } } @@ -180218,15 +182045,15 @@ "updateContext": null }, "value": "this", - "start": 26802, - "end": 26806, + "start": 26823, + "end": 26827, "loc": { "start": { - "line": 823, + "line": 820, "column": 27 }, "end": { - "line": 823, + "line": 820, "column": 31 } } @@ -180244,15 +182071,15 @@ "binop": null, "updateContext": null }, - "start": 26806, - "end": 26807, + "start": 26827, + "end": 26828, "loc": { "start": { - "line": 823, + "line": 820, "column": 31 }, "end": { - "line": 823, + "line": 820, "column": 32 } } @@ -180270,15 +182097,15 @@ "binop": null }, "value": "debug", - "start": 26807, - "end": 26812, + "start": 26828, + "end": 26833, "loc": { "start": { - "line": 823, + "line": 820, "column": 32 }, "end": { - "line": 823, + "line": 820, "column": 37 } } @@ -180295,15 +182122,15 @@ "postfix": false, "binop": null }, - "start": 26812, - "end": 26813, + "start": 26833, + "end": 26834, "loc": { "start": { - "line": 823, + "line": 820, "column": 37 }, "end": { - "line": 823, + "line": 820, "column": 38 } } @@ -180321,15 +182148,15 @@ "binop": null, "updateContext": null }, - "start": 26813, - "end": 26814, + "start": 26834, + "end": 26835, "loc": { "start": { - "line": 823, + "line": 820, "column": 38 }, "end": { - "line": 823, + "line": 820, "column": 39 } } @@ -180346,15 +182173,15 @@ "postfix": false, "binop": null }, - "start": 26819, - "end": 26820, + "start": 26840, + "end": 26841, "loc": { "start": { - "line": 824, + "line": 821, "column": 4 }, "end": { - "line": 824, + "line": 821, "column": 5 } } @@ -180371,15 +182198,15 @@ "postfix": false, "binop": null }, - "start": 26821, - "end": 26822, + "start": 26842, + "end": 26843, "loc": { "start": { - "line": 825, + "line": 822, "column": 0 }, "end": { - "line": 825, + "line": 822, "column": 1 } } @@ -180387,15 +182214,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 26824, - "end": 26862, + "start": 26845, + "end": 26883, "loc": { "start": { - "line": 827, + "line": 824, "column": 0 }, "end": { - "line": 827, + "line": 824, "column": 38 } } @@ -180413,15 +182240,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 26863, - "end": 26873, + "start": 26884, + "end": 26894, "loc": { "start": { - "line": 828, + "line": 825, "column": 0 }, "end": { - "line": 828, + "line": 825, "column": 10 } } @@ -180439,15 +182266,15 @@ "binop": null, "updateContext": null }, - "start": 26873, - "end": 26874, + "start": 26894, + "end": 26895, "loc": { "start": { - "line": 828, + "line": 825, "column": 10 }, "end": { - "line": 828, + "line": 825, "column": 11 } } @@ -180465,13 +182292,186 @@ "binop": null }, "value": "VERSION", - "start": 26874, - "end": 26881, + "start": 26895, + "end": 26902, "loc": { "start": { - "line": 828, + "line": 825, "column": 11 }, + "end": { + "line": 825, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 26903, + "end": 26904, + "loc": { + "start": { + "line": 825, + "column": 19 + }, + "end": { + "line": 825, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "__VERSION__", + "start": 26905, + "end": 26916, + "loc": { + "start": { + "line": 825, + "column": 21 + }, + "end": { + "line": 825, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 26916, + "end": 26917, + "loc": { + "start": { + "line": 825, + "column": 32 + }, + "end": { + "line": 825, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " register plugin once", + "start": 26919, + "end": 26942, + "loc": { + "start": { + "line": 827, + "column": 0 + }, + "end": { + "line": 827, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "videojs", + "start": 26943, + "end": 26950, + "loc": { + "start": { + "line": 828, + "column": 0 + }, + "end": { + "line": 828, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 26950, + "end": 26951, + "loc": { + "start": { + "line": 828, + "column": 7 + }, + "end": { + "line": 828, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Wavesurfer", + "start": 26951, + "end": 26961, + "loc": { + "start": { + "line": 828, + "column": 8 + }, "end": { "line": 828, "column": 18 @@ -180492,8 +182492,8 @@ "updateContext": null }, "value": "=", - "start": 26882, - "end": 26883, + "start": 26962, + "end": 26963, "loc": { "start": { "line": 828, @@ -180517,9 +182517,9 @@ "postfix": false, "binop": null }, - "value": "__VERSION__", - "start": 26884, - "end": 26895, + "value": "Wavesurfer", + "start": 26964, + "end": 26974, "loc": { "start": { "line": 828, @@ -180527,179 +182527,6 @@ }, "end": { "line": 828, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 26895, - "end": 26896, - "loc": { - "start": { - "line": 828, - "column": 32 - }, - "end": { - "line": 828, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " register plugin once", - "start": 26898, - "end": 26921, - "loc": { - "start": { - "line": 830, - "column": 0 - }, - "end": { - "line": 830, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "videojs", - "start": 26922, - "end": 26929, - "loc": { - "start": { - "line": 831, - "column": 0 - }, - "end": { - "line": 831, - "column": 7 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 26929, - "end": 26930, - "loc": { - "start": { - "line": 831, - "column": 7 - }, - "end": { - "line": 831, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Wavesurfer", - "start": 26930, - "end": 26940, - "loc": { - "start": { - "line": 831, - "column": 8 - }, - "end": { - "line": 831, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 26941, - "end": 26942, - "loc": { - "start": { - "line": 831, - "column": 19 - }, - "end": { - "line": 831, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Wavesurfer", - "start": 26943, - "end": 26953, - "loc": { - "start": { - "line": 831, - "column": 21 - }, - "end": { - "line": 831, "column": 31 } } @@ -180717,15 +182544,15 @@ "binop": null, "updateContext": null }, - "start": 26953, - "end": 26954, + "start": 26974, + "end": 26975, "loc": { "start": { - "line": 831, + "line": 828, "column": 31 }, "end": { - "line": 831, + "line": 828, "column": 32 } } @@ -180745,15 +182572,15 @@ "updateContext": null }, "value": "if", - "start": 26955, - "end": 26957, + "start": 26976, + "end": 26978, "loc": { "start": { - "line": 832, + "line": 829, "column": 0 }, "end": { - "line": 832, + "line": 829, "column": 2 } } @@ -180770,15 +182597,15 @@ "postfix": false, "binop": null }, - "start": 26958, - "end": 26959, + "start": 26979, + "end": 26980, "loc": { "start": { - "line": 832, + "line": 829, "column": 3 }, "end": { - "line": 832, + "line": 829, "column": 4 } } @@ -180796,15 +182623,15 @@ "binop": null }, "value": "videojs", - "start": 26959, - "end": 26966, + "start": 26980, + "end": 26987, "loc": { "start": { - "line": 832, + "line": 829, "column": 4 }, "end": { - "line": 832, + "line": 829, "column": 11 } } @@ -180822,15 +182649,15 @@ "binop": null, "updateContext": null }, - "start": 26966, - "end": 26967, + "start": 26987, + "end": 26988, "loc": { "start": { - "line": 832, + "line": 829, "column": 11 }, "end": { - "line": 832, + "line": 829, "column": 12 } } @@ -180848,15 +182675,15 @@ "binop": null }, "value": "getPlugin", - "start": 26967, - "end": 26976, + "start": 26988, + "end": 26997, "loc": { "start": { - "line": 832, + "line": 829, "column": 12 }, "end": { - "line": 832, + "line": 829, "column": 21 } } @@ -180873,15 +182700,15 @@ "postfix": false, "binop": null }, - "start": 26976, - "end": 26977, + "start": 26997, + "end": 26998, "loc": { "start": { - "line": 832, + "line": 829, "column": 21 }, "end": { - "line": 832, + "line": 829, "column": 22 } } @@ -180899,15 +182726,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 26977, - "end": 26997, + "start": 26998, + "end": 27018, "loc": { "start": { - "line": 832, + "line": 829, "column": 22 }, "end": { - "line": 832, + "line": 829, "column": 42 } } @@ -180924,15 +182751,15 @@ "postfix": false, "binop": null }, - "start": 26997, - "end": 26998, + "start": 27018, + "end": 27019, "loc": { "start": { - "line": 832, + "line": 829, "column": 42 }, "end": { - "line": 832, + "line": 829, "column": 43 } } @@ -180951,15 +182778,15 @@ "updateContext": null }, "value": "===", - "start": 26999, - "end": 27002, + "start": 27020, + "end": 27023, "loc": { "start": { - "line": 832, + "line": 829, "column": 44 }, "end": { - "line": 832, + "line": 829, "column": 47 } } @@ -180977,15 +182804,15 @@ "binop": null }, "value": "undefined", - "start": 27003, - "end": 27012, + "start": 27024, + "end": 27033, "loc": { "start": { - "line": 832, + "line": 829, "column": 48 }, "end": { - "line": 832, + "line": 829, "column": 57 } } @@ -181002,15 +182829,15 @@ "postfix": false, "binop": null }, - "start": 27012, - "end": 27013, + "start": 27033, + "end": 27034, "loc": { "start": { - "line": 832, + "line": 829, "column": 57 }, "end": { - "line": 832, + "line": 829, "column": 58 } } @@ -181027,15 +182854,15 @@ "postfix": false, "binop": null }, - "start": 27014, - "end": 27015, + "start": 27035, + "end": 27036, "loc": { "start": { - "line": 832, + "line": 829, "column": 59 }, "end": { - "line": 832, + "line": 829, "column": 60 } } @@ -181053,15 +182880,15 @@ "binop": null }, "value": "videojs", - "start": 27020, - "end": 27027, + "start": 27041, + "end": 27048, "loc": { "start": { - "line": 833, + "line": 830, "column": 4 }, "end": { - "line": 833, + "line": 830, "column": 11 } } @@ -181079,15 +182906,15 @@ "binop": null, "updateContext": null }, - "start": 27027, - "end": 27028, + "start": 27048, + "end": 27049, "loc": { "start": { - "line": 833, + "line": 830, "column": 11 }, "end": { - "line": 833, + "line": 830, "column": 12 } } @@ -181105,15 +182932,15 @@ "binop": null }, "value": "registerPlugin", - "start": 27028, - "end": 27042, + "start": 27049, + "end": 27063, "loc": { "start": { - "line": 833, + "line": 830, "column": 12 }, "end": { - "line": 833, + "line": 830, "column": 26 } } @@ -181130,15 +182957,15 @@ "postfix": false, "binop": null }, - "start": 27042, - "end": 27043, + "start": 27063, + "end": 27064, "loc": { "start": { - "line": 833, + "line": 830, "column": 26 }, "end": { - "line": 833, + "line": 830, "column": 27 } } @@ -181156,15 +182983,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 27043, - "end": 27063, + "start": 27064, + "end": 27084, "loc": { "start": { - "line": 833, + "line": 830, "column": 27 }, "end": { - "line": 833, + "line": 830, "column": 47 } } @@ -181182,15 +183009,15 @@ "binop": null, "updateContext": null }, - "start": 27063, - "end": 27064, + "start": 27084, + "end": 27085, "loc": { "start": { - "line": 833, + "line": 830, "column": 47 }, "end": { - "line": 833, + "line": 830, "column": 48 } } @@ -181208,15 +183035,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27065, - "end": 27075, + "start": 27086, + "end": 27096, "loc": { "start": { - "line": 833, + "line": 830, "column": 49 }, "end": { - "line": 833, + "line": 830, "column": 59 } } @@ -181233,15 +183060,15 @@ "postfix": false, "binop": null }, - "start": 27075, - "end": 27076, + "start": 27096, + "end": 27097, "loc": { "start": { - "line": 833, + "line": 830, "column": 59 }, "end": { - "line": 833, + "line": 830, "column": 60 } } @@ -181259,15 +183086,15 @@ "binop": null, "updateContext": null }, - "start": 27076, - "end": 27077, + "start": 27097, + "end": 27098, "loc": { "start": { - "line": 833, + "line": 830, "column": 60 }, "end": { - "line": 833, + "line": 830, "column": 61 } } @@ -181284,15 +183111,15 @@ "postfix": false, "binop": null }, - "start": 27078, - "end": 27079, + "start": 27099, + "end": 27100, "loc": { "start": { - "line": 834, + "line": 831, "column": 0 }, "end": { - "line": 834, + "line": 831, "column": 1 } } @@ -181300,15 +183127,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27081, - "end": 27110, + "start": 27102, + "end": 27131, "loc": { "start": { - "line": 836, + "line": 833, "column": 0 }, "end": { - "line": 836, + "line": 833, "column": 29 } } @@ -181326,15 +183153,15 @@ "binop": null }, "value": "videojs", - "start": 27111, - "end": 27118, + "start": 27132, + "end": 27139, "loc": { "start": { - "line": 837, + "line": 834, "column": 0 }, "end": { - "line": 837, + "line": 834, "column": 7 } } @@ -181352,15 +183179,15 @@ "binop": null, "updateContext": null }, - "start": 27118, - "end": 27119, + "start": 27139, + "end": 27140, "loc": { "start": { - "line": 837, + "line": 834, "column": 7 }, "end": { - "line": 837, + "line": 834, "column": 8 } } @@ -181378,15 +183205,15 @@ "binop": null }, "value": "use", - "start": 27119, - "end": 27122, + "start": 27140, + "end": 27143, "loc": { "start": { - "line": 837, + "line": 834, "column": 8 }, "end": { - "line": 837, + "line": 834, "column": 11 } } @@ -181403,15 +183230,15 @@ "postfix": false, "binop": null }, - "start": 27122, - "end": 27123, + "start": 27143, + "end": 27144, "loc": { "start": { - "line": 837, + "line": 834, "column": 11 }, "end": { - "line": 837, + "line": 834, "column": 12 } } @@ -181430,15 +183257,15 @@ "updateContext": null }, "value": "*", - "start": 27123, - "end": 27126, + "start": 27144, + "end": 27147, "loc": { "start": { - "line": 837, + "line": 834, "column": 12 }, "end": { - "line": 837, + "line": 834, "column": 15 } } @@ -181456,15 +183283,15 @@ "binop": null, "updateContext": null }, - "start": 27126, - "end": 27127, + "start": 27147, + "end": 27148, "loc": { "start": { - "line": 837, + "line": 834, "column": 15 }, "end": { - "line": 837, + "line": 834, "column": 16 } } @@ -181482,15 +183309,15 @@ "binop": null }, "value": "player", - "start": 27128, - "end": 27134, + "start": 27149, + "end": 27155, "loc": { "start": { - "line": 837, + "line": 834, "column": 17 }, "end": { - "line": 837, + "line": 834, "column": 23 } } @@ -181508,15 +183335,15 @@ "binop": null, "updateContext": null }, - "start": 27135, - "end": 27137, + "start": 27156, + "end": 27158, "loc": { "start": { - "line": 837, + "line": 834, "column": 24 }, "end": { - "line": 837, + "line": 834, "column": 26 } } @@ -181533,15 +183360,15 @@ "postfix": false, "binop": null }, - "start": 27138, - "end": 27139, + "start": 27159, + "end": 27160, "loc": { "start": { - "line": 837, + "line": 834, "column": 27 }, "end": { - "line": 837, + "line": 834, "column": 28 } } @@ -181549,15 +183376,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27144, - "end": 27182, + "start": 27165, + "end": 27203, "loc": { "start": { - "line": 838, + "line": 835, "column": 4 }, "end": { - "line": 838, + "line": 835, "column": 42 } } @@ -181575,15 +183402,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 27187, - "end": 27207, + "start": 27208, + "end": 27228, "loc": { "start": { - "line": 839, + "line": 836, "column": 4 }, "end": { - "line": 839, + "line": 836, "column": 24 } } @@ -181601,15 +183428,15 @@ "binop": null, "updateContext": null }, - "start": 27207, - "end": 27208, + "start": 27228, + "end": 27229, "loc": { "start": { - "line": 839, + "line": 836, "column": 24 }, "end": { - "line": 839, + "line": 836, "column": 25 } } @@ -181627,15 +183454,15 @@ "binop": null }, "value": "player", - "start": 27208, - "end": 27214, + "start": 27229, + "end": 27235, "loc": { "start": { - "line": 839, + "line": 836, "column": 25 }, "end": { - "line": 839, + "line": 836, "column": 31 } } @@ -181654,15 +183481,15 @@ "updateContext": null }, "value": "=", - "start": 27215, - "end": 27216, + "start": 27236, + "end": 27237, "loc": { "start": { - "line": 839, + "line": 836, "column": 32 }, "end": { - "line": 839, + "line": 836, "column": 33 } } @@ -181680,15 +183507,15 @@ "binop": null }, "value": "player", - "start": 27217, - "end": 27223, + "start": 27238, + "end": 27244, "loc": { "start": { - "line": 839, + "line": 836, "column": 34 }, "end": { - "line": 839, + "line": 836, "column": 40 } } @@ -181706,15 +183533,15 @@ "binop": null, "updateContext": null }, - "start": 27223, - "end": 27224, + "start": 27244, + "end": 27245, "loc": { "start": { - "line": 839, + "line": 836, "column": 40 }, "end": { - "line": 839, + "line": 836, "column": 41 } } @@ -181734,15 +183561,15 @@ "updateContext": null }, "value": "return", - "start": 27230, - "end": 27236, + "start": 27251, + "end": 27257, "loc": { "start": { - "line": 841, + "line": 838, "column": 4 }, "end": { - "line": 841, + "line": 838, "column": 10 } } @@ -181760,15 +183587,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 27237, - "end": 27257, + "start": 27258, + "end": 27278, "loc": { "start": { - "line": 841, + "line": 838, "column": 11 }, "end": { - "line": 841, + "line": 838, "column": 31 } } @@ -181786,15 +183613,15 @@ "binop": null, "updateContext": null }, - "start": 27257, - "end": 27258, + "start": 27278, + "end": 27279, "loc": { "start": { - "line": 841, + "line": 838, "column": 31 }, "end": { - "line": 841, + "line": 838, "column": 32 } } @@ -181811,15 +183638,15 @@ "postfix": false, "binop": null }, - "start": 27259, - "end": 27260, + "start": 27280, + "end": 27281, "loc": { "start": { - "line": 842, + "line": 839, "column": 0 }, "end": { - "line": 842, + "line": 839, "column": 1 } } @@ -181836,15 +183663,15 @@ "postfix": false, "binop": null }, - "start": 27260, - "end": 27261, + "start": 27281, + "end": 27282, "loc": { "start": { - "line": 842, + "line": 839, "column": 1 }, "end": { - "line": 842, + "line": 839, "column": 2 } } @@ -181862,15 +183689,15 @@ "binop": null, "updateContext": null }, - "start": 27261, - "end": 27262, + "start": 27282, + "end": 27283, "loc": { "start": { - "line": 842, + "line": 839, "column": 2 }, "end": { - "line": 842, + "line": 839, "column": 3 } } @@ -181890,15 +183717,15 @@ "updateContext": null }, "value": "export", - "start": 27264, - "end": 27270, + "start": 27285, + "end": 27291, "loc": { "start": { - "line": 844, + "line": 841, "column": 0 }, "end": { - "line": 844, + "line": 841, "column": 6 } } @@ -181915,15 +183742,15 @@ "postfix": false, "binop": null }, - "start": 27271, - "end": 27272, + "start": 27292, + "end": 27293, "loc": { "start": { - "line": 844, + "line": 841, "column": 7 }, "end": { - "line": 844, + "line": 841, "column": 8 } } @@ -181941,15 +183768,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27272, - "end": 27282, + "start": 27293, + "end": 27303, "loc": { "start": { - "line": 844, + "line": 841, "column": 8 }, "end": { - "line": 844, + "line": 841, "column": 18 } } @@ -181966,15 +183793,15 @@ "postfix": false, "binop": null }, - "start": 27282, - "end": 27283, + "start": 27303, + "end": 27304, "loc": { "start": { - "line": 844, + "line": 841, "column": 18 }, "end": { - "line": 844, + "line": 841, "column": 19 } } @@ -181992,15 +183819,15 @@ "binop": null, "updateContext": null }, - "start": 27283, - "end": 27284, + "start": 27304, + "end": 27305, "loc": { "start": { - "line": 844, + "line": 841, "column": 19 }, "end": { - "line": 844, + "line": 841, "column": 20 } } @@ -182018,15 +183845,15 @@ "binop": null, "updateContext": null }, - "start": 27284, - "end": 27284, + "start": 27305, + "end": 27305, "loc": { "start": { - "line": 844, + "line": 841, "column": 20 }, "end": { - "line": 844, + "line": 841, "column": 20 } } diff --git a/docs/api/badge.svg b/docs/api/badge.svg index c0147206..bb793bf9 100644 --- a/docs/api/badge.svg +++ b/docs/api/badge.svg @@ -11,7 +11,7 @@ document document - 64% - 64% + 60% + 60% diff --git a/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html b/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html index 57236dfd..4d91e0f4 100644 --- a/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html +++ b/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html @@ -41,13 +41,13 @@
- + public class - | source + | source
@@ -192,7 +192,7 @@

Wavesurfer

- liveMode: boolean + displayMilliseconds: *

@@ -220,7 +220,7 @@

Wavesurfer

- msDisplayMax: * + liveMode: boolean

@@ -1360,7 +1360,7 @@

- source + source

@@ -1431,7 +1431,7 @@

- source + source

@@ -1474,7 +1474,7 @@

- source + source

@@ -1506,18 +1506,18 @@

-

+

public - liveMode: boolean + displayMilliseconds: * - source + source

@@ -1549,18 +1549,18 @@

-

+

public - msDisplayMax: * + liveMode: boolean - source + source

@@ -1603,7 +1603,7 @@

- source + source

@@ -1646,7 +1646,7 @@

- source + source

@@ -1689,7 +1689,7 @@

- source + source

@@ -1732,7 +1732,7 @@

- source + source

@@ -1775,7 +1775,7 @@

- source + source

@@ -1818,7 +1818,7 @@

- source + source

@@ -1861,7 +1861,7 @@

- source + source

@@ -1904,7 +1904,7 @@

- source + source

@@ -1947,7 +1947,7 @@

- source + source

@@ -1990,7 +1990,7 @@

- source + source

@@ -2036,7 +2036,7 @@

- source + source

@@ -2080,7 +2080,7 @@

- source + source

@@ -2166,7 +2166,7 @@

- source + source

@@ -2224,7 +2224,7 @@

- source + source

@@ -2282,7 +2282,7 @@

- source + source

@@ -2339,7 +2339,7 @@

- source + source

@@ -2409,7 +2409,7 @@

- source + source

@@ -2479,7 +2479,7 @@

- source + source

@@ -2523,7 +2523,7 @@

- source + source

@@ -2567,7 +2567,7 @@

- source + source

@@ -2628,7 +2628,7 @@

- source + source

@@ -2691,7 +2691,7 @@

- source + source

@@ -2734,7 +2734,7 @@

- source + source

@@ -2778,7 +2778,7 @@

- source + source

@@ -2847,7 +2847,7 @@

- source + source

@@ -2891,7 +2891,7 @@

- source + source

@@ -2935,7 +2935,7 @@

- source + source

@@ -2979,7 +2979,7 @@

- source + source

@@ -3023,7 +3023,7 @@

- source + source

@@ -3084,7 +3084,7 @@

- source + source

@@ -3128,7 +3128,7 @@

- source + source

@@ -3189,7 +3189,7 @@

- source + source

@@ -3233,7 +3233,7 @@

- source + source

@@ -3277,7 +3277,7 @@

- source + source

@@ -3351,7 +3351,7 @@

- source + source

@@ -3419,7 +3419,7 @@

- source + source

@@ -3488,7 +3488,7 @@

- source + source

@@ -3549,7 +3549,7 @@

- source + source

diff --git a/docs/api/coverage.json b/docs/api/coverage.json index 950bd3be..1851bc1f 100644 --- a/docs/api/coverage.json +++ b/docs/api/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "64.81%", - "expectCount": 54, + "coverage": "60.34%", + "expectCount": 58, "actualCount": 35, "files": { "src/js/defaults.js": { @@ -32,26 +32,30 @@ ] }, "src/js/videojs.wavesurfer.js": { - "expectCount": 47, + "expectCount": 51, "actualCount": 30, "undocumentLines": [ 18, 20, 21, - 44, - 45, - 46, - 47, - 48, - 49, + 22, + 25, + 26, + 27, 50, - 134, - 156, - 158, - 159, - 182, - 197, - 198 + 51, + 52, + 53, + 54, + 55, + 56, + 129, + 151, + 153, + 154, + 177, + 192, + 193 ] } } diff --git a/docs/api/file/src/js/defaults.js.html b/docs/api/file/src/js/defaults.js.html index c9eded6f..1fc96f15 100644 --- a/docs/api/file/src/js/defaults.js.html +++ b/docs/api/file/src/js/defaults.js.html @@ -50,13 +50,9 @@ const pluginDefaultOptions = { // Display console log messages. debug: false, - // msDisplayMax indicates the number of seconds that is - // considered the boundary value for displaying milliseconds - // in the time controls. An audio clip with a total length of - // 2 seconds and a msDisplayMax of 3 will use the format - // M:SS:MMM. Clips longer than msDisplayMax will be displayed - // as M:SS or HH:MM:SS. - msDisplayMax: 3 + // Boolean indicating if milliseconds should be included, + // e.g. "00:00:000" vs "00:00". + displayMilliseconds: true }; export default pluginDefaultOptions; diff --git a/docs/api/file/src/js/utils/format-time.js.html b/docs/api/file/src/js/utils/format-time.js.html index a9210b83..93828b63 100644 --- a/docs/api/file/src/js/utils/format-time.js.html +++ b/docs/api/file/src/js/utils/format-time.js.html @@ -46,66 +46,56 @@ * @since 2.0.0 */ +import addZero from 'add-zero'; +import parseMilliseconds from 'parse-ms'; + /** - * Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM. + * Format seconds as a duration string. + * + * Either formatted as: + * + * - DD:HH:MM:SS (> 24 hours) + * - HH:MM:SS (> 1 hour) + * - MM:SS:MSS (`displayMilliseconds = true`) + * - MM:SS (`displayMilliseconds = false`) * * Supplying a guide (in seconds) will force a number of leading zeros * to cover the length of the guide. * * @param {number} seconds - Number of seconds to be turned into a * string. - * @param {number} guide - Number (in seconds) to model the string - * after. - * @param {number} msDisplayMax - Number (in milliseconds) to model the string - * after. - * @return {string} Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g. - * 0:00:12. + * @param {number} guide - Number (in seconds) to model the string after. + * @param {boolean} displayMilliseconds - Display milliseconds or not. + * @return {string} Formatted duration time, e.g '00:12:653'. * @private */ -const formatTime = function(seconds, guide, msDisplayMax) { - // Default to using seconds as guide +const formatTime = function(seconds, guide, displayMilliseconds = true) { seconds = seconds < 0 ? 0 : seconds; - guide = guide || seconds; - let s = Math.floor(seconds % 60), - m = Math.floor(seconds / 60 % 60), - h = Math.floor(seconds / 3600), - gm = Math.floor(guide / 60 % 60), - gh = Math.floor(guide / 3600), - ms = Math.floor((seconds - s) * 1000); - - // handle invalid times if (isNaN(seconds) || seconds === Infinity) { - // '-' is false for all relational operators (e.g. <, >=) so this - // setting will add the minimum number of fields specified by the - // guide - h = m = s = ms = '-'; + seconds = 0; } - - // Check if we need to show milliseconds - if (guide > 0 && guide < msDisplayMax) { - if (ms < 100) { - if (ms < 10) { - ms = '00' + ms; - } else { - ms = '0' + ms; - } - } - ms = ':' + ms; - } else { - ms = ''; + const inputTime = parseMilliseconds(seconds * 1000); + let guideTime = inputTime; + if (guide !== undefined) { + guideTime = parseMilliseconds(guide * 1000); } + const hr = addZero(inputTime.hours); + const min = addZero(inputTime.minutes); + const sec = addZero(inputTime.seconds); + const ms = addZero(inputTime.milliseconds, 3); - // Check if we need to show hours - h = (h > 0 || gh > 0) ? h + ':' : ''; - - // If hours are showing, we may need to add a leading zero. - // Always show at least one digit of minutes. - m = (((h || gm >= 10) && m < 10) ? '0' + m : m) + ':'; - - // Check if leading zero is need for seconds - s = ((s < 10) ? '0' + s : s); + if (inputTime.days > 0 || guideTime.days > 0) { + const day = addZero(inputTime.days); + return `${day}:${hr}:${min}:${sec}`; + } + if (inputTime.hours > 0 || guideTime.hours > 0) { + return `${hr}:${min}:${sec}`; + } + if (displayMilliseconds) { + return `${min}:${sec}:${ms}`; + } - return h + m + s + ms; + return `${min}:${sec}`; }; export default formatTime; diff --git a/docs/api/file/src/js/videojs.wavesurfer.js.html b/docs/api/file/src/js/videojs.wavesurfer.js.html index 26ad0cb8..c3b02276 100644 --- a/docs/api/file/src/js/videojs.wavesurfer.js.html +++ b/docs/api/file/src/js/videojs.wavesurfer.js.html @@ -62,6 +62,12 @@ const wavesurferPluginName = 'wavesurfer'; const wavesurferClassName = 'vjs-wavedisplay'; +const wavesurferStyleName = 'vjs-wavesurfer'; + +// wavesurfer.js backends +const WEBAUDIO = 'WebAudio'; +const MEDIAELEMENT = 'MediaElement'; +const MEDIAELEMENT_WEBAUDIO = 'MediaElementWebAudio'; /** * Draw a waveform for audio and video files in a video.js player. @@ -80,7 +86,7 @@ super(player, options); // add plugin style - player.addClass('vjs-wavesurfer'); + player.addClass(wavesurferStyleName); // parse options options = videojs.mergeOptions(pluginDefaultOptions, options); @@ -90,7 +96,12 @@ this.backend = null; this.debug = (options.debug.toString() === 'true'); this.textTracksEnabled = (this.player.options_.tracks.length > 0); - this.msDisplayMax = parseFloat(options.msDisplayMax); + this.displayMilliseconds = options.displayMilliseconds; + + // use custom video.js time format + videojs.setFormatTime((seconds, guide) => { + return formatTime(seconds, guide, this.displayMilliseconds); + }); // wait until player ui is ready this.player.one(Event.READY, this.initialize.bind(this)); @@ -110,22 +121,6 @@ // parse options let mergedOptions = this.parseOptions(this.player.options_.plugins.wavesurfer); - // set video.js time format - videojs.setFormatTime((seconds, guide) => { - return formatTime(seconds, guide, this.msDisplayMax); - }); - - // the native controls don't work for this UI so disable - // them no matter what - // XXX: doublecheck this - /* - if (this.player.usingNativeControls_ === true) { - if (this.player.tech_.el_ !== undefined) { - this.player.tech_.el_.controls = false; - } - } - */ - // controls if (this.player.options_.controls === true) { // make sure controlBar is showing. @@ -135,7 +130,7 @@ this.player.controlBar.el_.style.display = 'flex'; // progress control is only supported with the MediaElement backend - if (this.backend === 'WebAudio' && + if (this.backend === WEBAUDIO && this.player.controlBar.progressControl !== undefined) { this.player.controlBar.progressControl.hide(); } @@ -162,7 +157,7 @@ this.player.controlBar.remainingTimeDisplay.hide(); } - if (this.backend === 'WebAudio' && + if (this.backend === WEBAUDIO && this.player.controlBar.playToggle !== undefined) { // handle play toggle interaction this.player.controlBar.playToggle.on(['tap', 'click'], @@ -197,7 +192,7 @@ // listen for wavesurfer.js events this.surferReady = this.onWaveReady.bind(this); - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { this.surferProgress = this.onWaveProgress.bind(this); this.surferSeek = this.onWaveSeek.bind(this); @@ -278,7 +273,7 @@ if ('backend' in surferOpts) { this.backend = surferOpts.backend; } else { - surferOpts.backend = this.backend = 'MediaElement'; + surferOpts.backend = this.backend = MEDIAELEMENT; } return surferOpts; @@ -294,13 +289,13 @@ setupPlaybackEvents(enable) { if (enable === false) { this.surfer.un(Event.READY, this.surferReady); - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { this.surfer.un(Event.AUDIOPROCESS, this.surferProgress); this.surfer.un(Event.SEEK, this.surferSeek); } } else if (enable === true) { this.surfer.on(Event.READY, this.surferReady); - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { this.surfer.on(Event.AUDIOPROCESS, this.surferProgress); this.surfer.on(Event.SEEK, this.surferSeek); } @@ -564,12 +559,13 @@ // update current time display component if (this.player.controlBar.currentTimeDisplay && - this.player.controlBar.currentTimeDisplay.contentEl()) { + this.player.controlBar.currentTimeDisplay.contentEl() && + this.player.controlBar.currentTimeDisplay.contentEl().lastChild) { let time = Math.min(currentTime, duration); this.player.controlBar.currentTimeDisplay.formattedTime_ = this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent = - formatTime(time, duration, this.msDisplayMax); + formatTime(time, duration, this.displayMilliseconds); } if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) { @@ -606,10 +602,11 @@ // update duration display component if (this.player.controlBar.durationDisplay && - this.player.controlBar.durationDisplay.contentEl()) { + this.player.controlBar.durationDisplay.contentEl() && + this.player.controlBar.durationDisplay.contentEl().lastChild) { this.player.controlBar.durationDisplay.formattedTime_ = this.player.controlBar.durationDisplay.contentEl().lastChild.textContent = - formatTime(duration, duration, this.msDisplayMax); + formatTime(duration, duration, this.displayMilliseconds); } } @@ -627,8 +624,8 @@ this.log('Waveform is ready'); this.player.trigger(Event.WAVE_READY); - // update time display - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { + // update time display this.setCurrentTime(); this.setDuration(); @@ -650,7 +647,7 @@ this.setVolume(0); // try auto-play - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { this.play(); } else { this.player.play().catch(e => { @@ -674,7 +671,7 @@ // check if loop is enabled if (this.player.options_.loop === true) { - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { // reset waveform this.surfer.stop(); this.play(); @@ -683,7 +680,7 @@ // finished this.waveFinished = true; - if (this.backend === 'WebAudio') { + if (this.backend === WEBAUDIO) { // pause player this.pause(); diff --git a/docs/api/function/index.html b/docs/api/function/index.html index 3e4fc425..19141d45 100644 --- a/docs/api/function/index.html +++ b/docs/api/function/index.html @@ -59,13 +59,13 @@ - formatTime(seconds: number, guide: number, msDisplayMax: number): string + formatTime(seconds: number, guide: number, displayMilliseconds: boolean): string

-

Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.

+

Format seconds as a duration string.

@@ -116,18 +116,25 @@

- formatTime(seconds: number, guide: number, msDisplayMax: number): string + formatTime(seconds: number, guide: number, displayMilliseconds: boolean): string - source + source

- + -

Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.

+

Format seconds as a duration string.

+

Either formatted as:

+
    +
  • DD:HH:MM:SS (> 24 hours)
  • +
  • HH:MM:SS (> 1 hour)
  • +
  • MM:SS:MSS (displayMilliseconds = true)
  • +
  • MM:SS (displayMilliseconds = false)
  • +

Supplying a guide (in seconds) will force a number of leading zeros to cover the length of the guide.

@@ -154,16 +161,14 @@

Params:

guide number -

Number (in seconds) to model the string - after.

+

Number (in seconds) to model the string after.

- msDisplayMax - number + displayMilliseconds + boolean -

Number (in milliseconds) to model the string - after.

+

Display milliseconds or not.

@@ -177,8 +182,7 @@

Return:

string -

Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g. - 0:00:12.

+

Formatted duration time, e.g '00:12:653'.

diff --git a/docs/api/identifiers.html b/docs/api/identifiers.html index 30eda8e3..d09e4b64 100644 --- a/docs/api/identifiers.html +++ b/docs/api/identifiers.html @@ -122,7 +122,7 @@

js

V - pluginDefaultOptions: {"debug": *, "msDisplayMax": number} + pluginDefaultOptions: {"debug": *, "displayMilliseconds": boolean}

@@ -188,13 +188,13 @@

js/utils

F - formatTime(seconds: number, guide: number, msDisplayMax: number): string + formatTime(seconds: number, guide: number, displayMilliseconds: boolean): string

-

Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.

+

Format seconds as a duration string.

diff --git a/docs/api/index.html b/docs/api/index.html index 8a86e117..4eaf79e0 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -40,7 +40,7 @@
-

videojs-wavesurfer

A video.js plugin that adds a navigable waveform +

videojs-wavesurfer

A video.js plugin that adds a navigable waveform for audio and video files, using the wavesurfer.js library. Includes support for fullscreen mode and real-time visualization of microphone input.

diff --git a/docs/api/index.json b/docs/api/index.json index b5bce6db..ba2fde7a 100644 --- a/docs/api/index.json +++ b/docs/api/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/js/defaults.js", - "content": "/**\n * @file defaults.js\n * @since 2.0.0\n */\n\n// plugin defaults\nconst pluginDefaultOptions = {\n // Display console log messages.\n debug: false,\n // msDisplayMax indicates the number of seconds that is\n // considered the boundary value for displaying milliseconds\n // in the time controls. An audio clip with a total length of\n // 2 seconds and a msDisplayMax of 3 will use the format\n // M:SS:MMM. Clips longer than msDisplayMax will be displayed\n // as M:SS or HH:MM:SS.\n msDisplayMax: 3\n};\n\nexport default pluginDefaultOptions;\n", + "content": "/**\n * @file defaults.js\n * @since 2.0.0\n */\n\n// plugin defaults\nconst pluginDefaultOptions = {\n // Display console log messages.\n debug: false,\n // Boolean indicating if milliseconds should be included,\n // e.g. \"00:00:000\" vs \"00:00\".\n displayMilliseconds: true\n};\n\nexport default pluginDefaultOptions;\n", "static": true, "longname": "/home/thijs/projects/videojs-wavesurfer/src/js/defaults.js", "access": "public", @@ -596,7 +596,7 @@ ], "type": { "types": [ - "{\"debug\": *, \"msDisplayMax\": number}" + "{\"debug\": *, \"displayMilliseconds\": boolean}" ] } }, @@ -674,7 +674,7 @@ "__docId__": 54, "kind": "file", "name": "src/js/utils/format-time.js", - "content": "/**\n * @file format-time.js\n * @since 2.0.0\n */\n\n/**\n * Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string\n * after.\n * @param {number} msDisplayMax - Number (in milliseconds) to model the string\n * after.\n * @return {string} Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g.\n * 0:00:12.\n * @private\n */\nconst formatTime = function(seconds, guide, msDisplayMax) {\n // Default to using seconds as guide\n seconds = seconds < 0 ? 0 : seconds;\n guide = guide || seconds;\n let s = Math.floor(seconds % 60),\n m = Math.floor(seconds / 60 % 60),\n h = Math.floor(seconds / 3600),\n gm = Math.floor(guide / 60 % 60),\n gh = Math.floor(guide / 3600),\n ms = Math.floor((seconds - s) * 1000);\n\n // handle invalid times\n if (isNaN(seconds) || seconds === Infinity) {\n // '-' is false for all relational operators (e.g. <, >=) so this\n // setting will add the minimum number of fields specified by the\n // guide\n h = m = s = ms = '-';\n }\n\n // Check if we need to show milliseconds\n if (guide > 0 && guide < msDisplayMax) {\n if (ms < 100) {\n if (ms < 10) {\n ms = '00' + ms;\n } else {\n ms = '0' + ms;\n }\n }\n ms = ':' + ms;\n } else {\n ms = '';\n }\n\n // Check if we need to show hours\n h = (h > 0 || gh > 0) ? h + ':' : '';\n\n // If hours are showing, we may need to add a leading zero.\n // Always show at least one digit of minutes.\n m = (((h || gm >= 10) && m < 10) ? '0' + m : m) + ':';\n\n // Check if leading zero is need for seconds\n s = ((s < 10) ? '0' + s : s);\n\n return h + m + s + ms;\n};\n\nexport default formatTime;\n", + "content": "/**\n * @file format-time.js\n * @since 2.0.0\n */\n\nimport addZero from 'add-zero';\nimport parseMilliseconds from 'parse-ms';\n\n/**\n * Format seconds as a duration string.\n *\n * Either formatted as:\n *\n * - DD:HH:MM:SS (> 24 hours)\n * - HH:MM:SS (> 1 hour)\n * - MM:SS:MSS (`displayMilliseconds = true`)\n * - MM:SS (`displayMilliseconds = false`)\n *\n * Supplying a guide (in seconds) will force a number of leading zeros\n * to cover the length of the guide.\n *\n * @param {number} seconds - Number of seconds to be turned into a\n * string.\n * @param {number} guide - Number (in seconds) to model the string after.\n * @param {boolean} displayMilliseconds - Display milliseconds or not.\n * @return {string} Formatted duration time, e.g '00:12:653'.\n * @private\n */\nconst formatTime = function(seconds, guide, displayMilliseconds = true) {\n seconds = seconds < 0 ? 0 : seconds;\n if (isNaN(seconds) || seconds === Infinity) {\n seconds = 0;\n }\n const inputTime = parseMilliseconds(seconds * 1000);\n let guideTime = inputTime;\n if (guide !== undefined) {\n guideTime = parseMilliseconds(guide * 1000);\n }\n const hr = addZero(inputTime.hours);\n const min = addZero(inputTime.minutes);\n const sec = addZero(inputTime.seconds);\n const ms = addZero(inputTime.milliseconds, 3);\n\n if (inputTime.days > 0 || guideTime.days > 0) {\n const day = addZero(inputTime.days);\n return `${day}:${hr}:${min}:${sec}`;\n }\n if (inputTime.hours > 0 || guideTime.hours > 0) {\n return `${hr}:${min}:${sec}`;\n }\n if (displayMilliseconds) {\n return `${min}:${sec}:${ms}`;\n }\n\n return `${min}:${sec}`;\n};\n\nexport default formatTime;\n", "static": true, "longname": "/home/thijs/projects/videojs-wavesurfer/src/js/utils/format-time.js", "access": "public", @@ -694,8 +694,8 @@ "export": true, "importPath": "videojs-wavesurfer/src/js/utils/format-time.js", "importStyle": "formatTime", - "description": "Format seconds as a time string, H:MM:SS, M:SS or M:SS:MMM.\n\nSupplying a guide (in seconds) will force a number of leading zeros\nto cover the length of the guide.", - "lineNumber": 22, + "description": "Format seconds as a duration string.\n\nEither formatted as:\n\n- DD:HH:MM:SS (> 24 hours)\n- HH:MM:SS (> 1 hour)\n- MM:SS:MSS (`displayMilliseconds = true`)\n- MM:SS (`displayMilliseconds = false`)\n\nSupplying a guide (in seconds) will force a number of leading zeros\nto cover the length of the guide.", + "lineNumber": 29, "params": [ { "nullable": null, @@ -715,17 +715,17 @@ "spread": false, "optional": false, "name": "guide", - "description": "Number (in seconds) to model the string\n after." + "description": "Number (in seconds) to model the string after." }, { "nullable": null, "types": [ - "number" + "boolean" ], "spread": false, "optional": false, - "name": "msDisplayMax", - "description": "Number (in milliseconds) to model the string\n after." + "name": "displayMilliseconds", + "description": "Display milliseconds or not." } ], "return": { @@ -734,7 +734,7 @@ "string" ], "spread": false, - "description": "Time formatted as H:MM:SS, M:SS or M:SS:MMM, e.g.\n 0:00:12." + "description": "Formatted duration time, e.g '00:12:653'." } }, { @@ -843,7 +843,7 @@ "__docId__": 60, "kind": "file", "name": "src/js/videojs.wavesurfer.js", - "content": "/**\n * @file videojs.wavesurfer.js\n *\n * The main file for the videojs-wavesurfer project.\n * MIT license: https://github.com/collab-project/videojs-wavesurfer/blob/master/LICENSE\n */\n\nimport Event from './event';\nimport log from './utils/log';\nimport formatTime from './utils/format-time';\nimport pluginDefaultOptions from './defaults';\nimport WavesurferMiddleware from './middleware';\nimport window from 'global/window';\n\nimport videojs from 'video.js';\nimport WaveSurfer from 'wavesurfer.js';\n\nconst Plugin = videojs.getPlugin('plugin');\n\nconst wavesurferPluginName = 'wavesurfer';\nconst wavesurferClassName = 'vjs-wavedisplay';\n\n/**\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n */\nclass Wavesurfer extends Plugin {\n /**\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n */\n constructor(player, options) {\n super(player, options);\n\n // add plugin style\n player.addClass('vjs-wavesurfer');\n\n // parse options\n options = videojs.mergeOptions(pluginDefaultOptions, options);\n this.waveReady = false;\n this.waveFinished = false;\n this.liveMode = false;\n this.backend = null;\n this.debug = (options.debug.toString() === 'true');\n this.textTracksEnabled = (this.player.options_.tracks.length > 0);\n this.msDisplayMax = parseFloat(options.msDisplayMax);\n\n // wait until player ui is ready\n this.player.one(Event.READY, this.initialize.bind(this));\n }\n\n /**\n * Player UI is ready: customize controls.\n *\n * @private\n */\n initialize() {\n // hide big play button\n if (this.player.bigPlayButton !== undefined) {\n this.player.bigPlayButton.hide();\n }\n\n // parse options\n let mergedOptions = this.parseOptions(this.player.options_.plugins.wavesurfer);\n\n // set video.js time format\n videojs.setFormatTime((seconds, guide) => {\n return formatTime(seconds, guide, this.msDisplayMax);\n });\n\n // the native controls don't work for this UI so disable\n // them no matter what\n // XXX: doublecheck this\n /*\n if (this.player.usingNativeControls_ === true) {\n if (this.player.tech_.el_ !== undefined) {\n this.player.tech_.el_.controls = false;\n }\n }\n */\n\n // controls\n if (this.player.options_.controls === true) {\n // make sure controlBar is showing.\n // video.js hides the controlbar by default because it expects\n // the user to click on the 'big play button' first.\n this.player.controlBar.show();\n this.player.controlBar.el_.style.display = 'flex';\n\n // progress control is only supported with the MediaElement backend\n if (this.backend === 'WebAudio' &&\n this.player.controlBar.progressControl !== undefined) {\n this.player.controlBar.progressControl.hide();\n }\n\n // disable Picture-In-Picture toggle introduced in video.js 7.6.0\n // until there is support for canvas in the Picture-In-Picture\n // browser API (see https://www.chromestatus.com/features/4844605453369344)\n if (this.player.controlBar.pictureInPictureToggle !== undefined) {\n this.player.controlBar.pictureInPictureToggle.hide();\n }\n\n // make sure time displays are visible\n let uiElements = ['currentTimeDisplay', 'timeDivider', 'durationDisplay'];\n uiElements.forEach((element) => {\n // ignore and show when essential elements have been disabled\n // by user\n element = this.player.controlBar[element];\n if (element !== undefined) {\n element.el_.style.display = 'block';\n element.show();\n }\n });\n if (this.player.controlBar.remainingTimeDisplay !== undefined) {\n this.player.controlBar.remainingTimeDisplay.hide();\n }\n\n if (this.backend === 'WebAudio' &&\n this.player.controlBar.playToggle !== undefined) {\n // handle play toggle interaction\n this.player.controlBar.playToggle.on(['tap', 'click'],\n this.onPlayToggle.bind(this));\n\n // disable play button until waveform is ready\n this.player.controlBar.playToggle.hide();\n }\n }\n\n // wavesurfer.js setup\n this.surfer = WaveSurfer.create(mergedOptions);\n this.surfer.on(Event.ERROR, this.onWaveError.bind(this));\n this.surfer.on(Event.FINISH, this.onWaveFinish.bind(this));\n this.backend = this.surfer.params.backend;\n this.log('Using wavesurfer.js ' + this.backend + ' backend.');\n\n // check if the wavesurfer.js microphone plugin is enabled\n if ('microphone' in this.player.wavesurfer().surfer.getActivePlugins()) {\n // enable audio input from a microphone\n this.liveMode = true;\n this.waveReady = true;\n this.log('wavesurfer.js microphone plugin enabled.');\n\n // in live mode, show play button at startup\n this.player.controlBar.playToggle.show();\n\n // listen for wavesurfer.js microphone plugin events\n this.surfer.microphone.on(Event.DEVICE_ERROR,\n this.onWaveError.bind(this));\n }\n\n // listen for wavesurfer.js events\n this.surferReady = this.onWaveReady.bind(this);\n if (this.backend === 'WebAudio') {\n this.surferProgress = this.onWaveProgress.bind(this);\n this.surferSeek = this.onWaveSeek.bind(this);\n\n // make sure volume is muted when requested\n if (this.player.muted()) {\n this.setVolume(0);\n }\n }\n\n // only listen to the wavesurfer.js playback events when not\n // in live mode\n if (!this.liveMode) {\n this.setupPlaybackEvents(true);\n }\n\n // video.js player events\n this.player.on(Event.VOLUMECHANGE, this.onVolumeChange.bind(this));\n this.player.on(Event.FULLSCREENCHANGE, this.onScreenChange.bind(this));\n\n // video.js fluid option\n if (this.player.options_.fluid === true) {\n // give wave element a classname so it can be styled\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n // listen for window resize events\n this.responsiveWave = WaveSurfer.util.debounce(\n this.onResizeChange.bind(this), 150);\n window.addEventListener(Event.RESIZE, this.responsiveWave);\n }\n }\n\n /**\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n */\n parseOptions(surferOpts = {}) {\n let rect = this.player.el_.getBoundingClientRect();\n this.originalWidth = this.player.options_.width || rect.width;\n this.originalHeight = this.player.options_.height || rect.height;\n\n // controlbar\n let controlBarHeight = this.player.controlBar.height();\n if (this.player.options_.controls === true && controlBarHeight === 0) {\n // the dimensions of the controlbar are not known yet, but we\n // need it now, so we can calculate the height of the waveform.\n // The default height is 30px, so use that instead.\n controlBarHeight = 30;\n }\n\n // set waveform element and dimensions\n // Set the container to player's container if \"container\" option is\n // not provided. If a waveform needs to be appended to your custom\n // element, then use below option. For example:\n // container: document.querySelector(\"#vjs-waveform\")\n if (surferOpts.container === undefined) {\n surferOpts.container = this.player.el_;\n }\n\n // set the height of generated waveform if user has provided height\n // from options. If height of waveform need to be customized then use\n // option below. For example: waveformHeight: 30\n if (surferOpts.waveformHeight === undefined) {\n let playerHeight = rect.height;\n surferOpts.height = playerHeight - controlBarHeight;\n } else {\n surferOpts.height = surferOpts.waveformHeight;\n }\n\n // split channels\n if (surferOpts.splitChannels && surferOpts.splitChannels === true) {\n surferOpts.height /= 2;\n }\n\n // use MediaElement as default wavesurfer.js backend if one is not\n // specified\n if ('backend' in surferOpts) {\n this.backend = surferOpts.backend;\n } else {\n surferOpts.backend = this.backend = 'MediaElement';\n }\n\n return surferOpts;\n }\n\n /**\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n */\n setupPlaybackEvents(enable) {\n if (enable === false) {\n this.surfer.un(Event.READY, this.surferReady);\n if (this.backend === 'WebAudio') {\n this.surfer.un(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.un(Event.SEEK, this.surferSeek);\n }\n } else if (enable === true) {\n this.surfer.on(Event.READY, this.surferReady);\n if (this.backend === 'WebAudio') {\n this.surfer.on(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.on(Event.SEEK, this.surferSeek);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n load(url, peaks) {\n if (url instanceof Blob || url instanceof File) {\n this.log('Loading object: ' + JSON.stringify(url));\n this.surfer.loadBlob(url);\n } else {\n // load peak data from array or file\n if (peaks !== undefined) {\n this.loadPeaks(url, peaks);\n } else {\n // no peaks\n if (typeof url === 'string') {\n this.log('Loading URL: ' + url);\n } else {\n this.log('Loading element: ' + url);\n }\n this.surfer.load(url);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n loadPeaks(url, peaks) {\n if (Array.isArray(peaks)) {\n // use supplied peaks data\n this.log('Loading URL with array of peaks: ' + url);\n this.surfer.load(url, peaks);\n } else {\n // load peak data from file\n let requestOptions = {\n url: peaks,\n responseType: 'json'\n };\n\n // supply xhr options, if any\n if (this.player.options_.plugins.wavesurfer.xhr !== undefined) {\n requestOptions.xhr = this.player.options_.plugins.wavesurfer.xhr;\n }\n let request = WaveSurfer.util.fetchFile(requestOptions);\n\n request.once('success', data => {\n this.log('Loaded Peak Data URL: ' + peaks);\n // check for data property containing peaks\n if (data && data.data) {\n this.surfer.load(url, data.data);\n } else {\n this.player.trigger(Event.ERROR,\n 'Could not load peaks data from ' + peaks);\n this.log(err, 'error');\n }\n });\n request.on('error', e => {\n this.log('Unable to retrieve peak data from ' + peaks +\n '. Status code: ' + request.response.status, 'warn');\n this.log('Loading URL: ' + url);\n this.surfer.load(url);\n });\n }\n }\n\n /**\n * Start/resume playback or microphone.\n */\n play() {\n // show pause button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePlay();\n }\n\n if (this.liveMode) {\n // start/resume microphone visualization\n if (!this.surfer.microphone.active)\n {\n this.log('Start microphone');\n this.surfer.microphone.start();\n } else {\n // toggle paused\n let paused = !this.surfer.microphone.paused;\n\n if (paused) {\n this.pause();\n } else {\n this.log('Resume microphone');\n this.surfer.microphone.play();\n }\n }\n } else {\n this.log('Start playback');\n\n // put video.js player UI in playback mode\n this.player.play();\n\n // start surfer playback\n this.surfer.play();\n }\n }\n\n /**\n * Pauses playback or microphone visualization.\n */\n pause() {\n // show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePause();\n }\n\n if (this.liveMode) {\n // pause microphone visualization\n this.log('Pause microphone');\n this.surfer.microphone.pause();\n } else {\n // pause playback\n this.log('Pause playback');\n\n if (!this.waveFinished) {\n // pause wavesurfer playback\n this.surfer.pause();\n } else {\n this.waveFinished = false;\n }\n\n this.setCurrentTime();\n }\n }\n\n /**\n * @private\n */\n dispose() {\n if (this.surfer) {\n if (this.liveMode && this.surfer.microphone) {\n // destroy microphone plugin\n this.surfer.microphone.destroy();\n this.log('Destroyed microphone plugin');\n }\n // destroy wavesurfer instance\n this.surfer.destroy();\n }\n this.log('Destroyed plugin');\n }\n\n /**\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n */\n isDestroyed() {\n return this.player && (this.player.children() === null);\n }\n\n /**\n * Remove the player and waveform.\n */\n destroy() {\n this.player.dispose();\n }\n\n /**\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n */\n setVolume(volume) {\n if (volume !== undefined) {\n this.log('Changing volume to: ' + volume);\n\n // update player volume\n this.player.volume(volume);\n }\n }\n\n /**\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n */\n exportImage(format, quality) {\n return this.surfer.exportImage(format, quality);\n }\n\n /**\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n */\n setAudioOutput(deviceId) {\n if (deviceId) {\n this.surfer.setSinkId(deviceId).then((result) => {\n // notify listeners\n this.player.trigger(Event.AUDIO_OUTPUT_READY);\n }).catch((err) => {\n // notify listeners\n this.player.trigger(Event.ERROR, err);\n\n this.log(err, 'error');\n });\n }\n }\n\n /**\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n */\n getCurrentTime() {\n let currentTime = this.surfer.getCurrentTime();\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n\n return currentTime;\n }\n\n /**\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setCurrentTime(currentTime, duration) {\n if (currentTime === undefined) {\n currentTime = this.surfer.getCurrentTime();\n }\n\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n duration = isNaN(duration) ? 0 : duration;\n\n // update current time display component\n if (this.player.controlBar.currentTimeDisplay &&\n this.player.controlBar.currentTimeDisplay.contentEl()) {\n let time = Math.min(currentTime, duration);\n\n this.player.controlBar.currentTimeDisplay.formattedTime_ =\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent =\n formatTime(time, duration, this.msDisplayMax);\n }\n\n if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) {\n // only needed for text tracks\n this.player.tech_.setCurrentTime(currentTime);\n }\n }\n\n /**\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n */\n getDuration() {\n let duration = this.surfer.getDuration();\n duration = isNaN(duration) ? 0 : duration;\n\n return duration;\n }\n\n /**\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setDuration(duration) {\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n duration = isNaN(duration) ? 0 : duration;\n\n // update duration display component\n if (this.player.controlBar.durationDisplay &&\n this.player.controlBar.durationDisplay.contentEl()) {\n this.player.controlBar.durationDisplay.formattedTime_ =\n this.player.controlBar.durationDisplay.contentEl().lastChild.textContent =\n formatTime(duration, duration, this.msDisplayMax);\n }\n }\n\n /**\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n */\n onWaveReady() {\n this.waveReady = true;\n this.waveFinished = false;\n this.liveMode = false;\n\n this.log('Waveform is ready');\n this.player.trigger(Event.WAVE_READY);\n\n // update time display\n if (this.backend === 'WebAudio') {\n this.setCurrentTime();\n this.setDuration();\n\n // enable and show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.show();\n }\n }\n\n // hide loading spinner\n if (this.player.loadingSpinner.contentEl()) {\n this.player.loadingSpinner.hide();\n }\n\n // auto-play when ready (if enabled)\n if (this.player.options_.autoplay === true) {\n // autoplay is only allowed when audio is muted\n this.setVolume(0);\n\n // try auto-play\n if (this.backend === 'WebAudio') {\n this.play();\n } else {\n this.player.play().catch(e => {\n this.onWaveError(e);\n });\n }\n }\n }\n\n /**\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n */\n onWaveFinish() {\n this.log('Finished playback');\n\n // notify listeners\n this.player.trigger(Event.PLAYBACK_FINISH);\n\n // check if loop is enabled\n if (this.player.options_.loop === true) {\n if (this.backend === 'WebAudio') {\n // reset waveform\n this.surfer.stop();\n this.play();\n }\n } else {\n // finished\n this.waveFinished = true;\n\n if (this.backend === 'WebAudio') {\n // pause player\n this.pause();\n\n // show the replay state of play toggle\n this.player.trigger(Event.ENDED);\n\n // this gets called once after the clip has ended and the user\n // seeks so that we can change the replay button back to a play\n // button\n this.surfer.once(Event.SEEK, () => {\n if (this.player.controlBar.playToggle !== undefined) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n this.player.trigger(Event.PAUSE);\n });\n }\n }\n }\n\n /**\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n */\n onWaveProgress(time) {\n this.setCurrentTime();\n }\n\n /**\n * Fires during seeking of the waveform.\n *\n * @private\n */\n onWaveSeek() {\n this.setCurrentTime();\n }\n\n /**\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n */\n onWaveError(error) {\n // notify listeners\n if (error.name && error.name === 'AbortError' ||\n error.name === 'DOMException' && error.message.startsWith('The operation was aborted'))\n {\n this.player.trigger(Event.ABORT, error);\n } else {\n this.player.trigger(Event.ERROR, error);\n\n this.log(error, 'error');\n }\n }\n\n /**\n * Fired when the play toggle is clicked.\n * @private\n */\n onPlayToggle() {\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.hasClass('vjs-ended')) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n if (this.surfer.isPlaying()) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Fired when the volume in the video.js player changes.\n * @private\n */\n onVolumeChange() {\n let volume = this.player.volume();\n if (this.player.muted()) {\n // muted volume\n volume = 0;\n }\n\n // update wavesurfer.js volume\n this.surfer.setVolume(volume);\n }\n\n /**\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n */\n onScreenChange() {\n // execute with tiny delay so the player element completes\n // rendering and correct dimensions are reported\n let fullscreenDelay = this.player.setInterval(() => {\n let isFullscreen = this.player.isFullscreen();\n let newWidth, newHeight;\n if (!isFullscreen) {\n // restore original dimensions\n newWidth = this.originalWidth;\n newHeight = this.originalHeight;\n }\n\n if (this.waveReady) {\n if (this.liveMode && !this.surfer.microphone.active) {\n // we're in live mode but the microphone hasn't been\n // started yet\n return;\n }\n // redraw\n this.redrawWaveform(newWidth, newHeight);\n }\n\n // stop fullscreenDelay interval\n this.player.clearInterval(fullscreenDelay);\n\n }, 100);\n }\n\n /**\n * Fired when the video.js player is resized.\n *\n * @private\n */\n onResizeChange() {\n if (this.surfer !== undefined) {\n // redraw waveform\n this.redrawWaveform();\n }\n }\n\n /**\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n */\n redrawWaveform(newWidth, newHeight) {\n if (!this.isDestroyed()) {\n if (this.player.el_) {\n let rect = this.player.el_.getBoundingClientRect();\n if (newWidth === undefined) {\n // get player width\n newWidth = rect.width;\n }\n if (newHeight === undefined) {\n // get player height\n newHeight = rect.height;\n }\n }\n\n // destroy old drawing\n this.surfer.drawer.destroy();\n\n // set new dimensions\n this.surfer.params.width = newWidth;\n this.surfer.params.height = newHeight - this.player.controlBar.height();\n\n // redraw waveform\n this.surfer.createDrawer();\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n this.surfer.drawBuffer();\n\n // make sure playhead is restored at right position\n this.surfer.drawer.progress(this.surfer.backend.getPlayedPercents());\n }\n }\n\n /**\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n */\n log(args, logType) {\n log(args, logType, this.debug);\n }\n}\n\n// version nr is injected during build\nWavesurfer.VERSION = __VERSION__;\n\n// register plugin once\nvideojs.Wavesurfer = Wavesurfer;\nif (videojs.getPlugin(wavesurferPluginName) === undefined) {\n videojs.registerPlugin(wavesurferPluginName, Wavesurfer);\n}\n\n// register a star-middleware\nvideojs.use('*', player => {\n // make player available on middleware\n WavesurferMiddleware.player = player;\n\n return WavesurferMiddleware;\n});\n\nexport {Wavesurfer};", + "content": "/**\n * @file videojs.wavesurfer.js\n *\n * The main file for the videojs-wavesurfer project.\n * MIT license: https://github.com/collab-project/videojs-wavesurfer/blob/master/LICENSE\n */\n\nimport Event from './event';\nimport log from './utils/log';\nimport formatTime from './utils/format-time';\nimport pluginDefaultOptions from './defaults';\nimport WavesurferMiddleware from './middleware';\nimport window from 'global/window';\n\nimport videojs from 'video.js';\nimport WaveSurfer from 'wavesurfer.js';\n\nconst Plugin = videojs.getPlugin('plugin');\n\nconst wavesurferPluginName = 'wavesurfer';\nconst wavesurferClassName = 'vjs-wavedisplay';\nconst wavesurferStyleName = 'vjs-wavesurfer';\n\n// wavesurfer.js backends\nconst WEBAUDIO = 'WebAudio';\nconst MEDIAELEMENT = 'MediaElement';\nconst MEDIAELEMENT_WEBAUDIO = 'MediaElementWebAudio';\n\n/**\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n */\nclass Wavesurfer extends Plugin {\n /**\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n */\n constructor(player, options) {\n super(player, options);\n\n // add plugin style\n player.addClass(wavesurferStyleName);\n\n // parse options\n options = videojs.mergeOptions(pluginDefaultOptions, options);\n this.waveReady = false;\n this.waveFinished = false;\n this.liveMode = false;\n this.backend = null;\n this.debug = (options.debug.toString() === 'true');\n this.textTracksEnabled = (this.player.options_.tracks.length > 0);\n this.displayMilliseconds = options.displayMilliseconds;\n\n // use custom video.js time format\n videojs.setFormatTime((seconds, guide) => {\n return formatTime(seconds, guide, this.displayMilliseconds);\n });\n\n // wait until player ui is ready\n this.player.one(Event.READY, this.initialize.bind(this));\n }\n\n /**\n * Player UI is ready: customize controls.\n *\n * @private\n */\n initialize() {\n // hide big play button\n if (this.player.bigPlayButton !== undefined) {\n this.player.bigPlayButton.hide();\n }\n\n // parse options\n let mergedOptions = this.parseOptions(this.player.options_.plugins.wavesurfer);\n\n // controls\n if (this.player.options_.controls === true) {\n // make sure controlBar is showing.\n // video.js hides the controlbar by default because it expects\n // the user to click on the 'big play button' first.\n this.player.controlBar.show();\n this.player.controlBar.el_.style.display = 'flex';\n\n // progress control is only supported with the MediaElement backend\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.progressControl !== undefined) {\n this.player.controlBar.progressControl.hide();\n }\n\n // disable Picture-In-Picture toggle introduced in video.js 7.6.0\n // until there is support for canvas in the Picture-In-Picture\n // browser API (see https://www.chromestatus.com/features/4844605453369344)\n if (this.player.controlBar.pictureInPictureToggle !== undefined) {\n this.player.controlBar.pictureInPictureToggle.hide();\n }\n\n // make sure time displays are visible\n let uiElements = ['currentTimeDisplay', 'timeDivider', 'durationDisplay'];\n uiElements.forEach((element) => {\n // ignore and show when essential elements have been disabled\n // by user\n element = this.player.controlBar[element];\n if (element !== undefined) {\n element.el_.style.display = 'block';\n element.show();\n }\n });\n if (this.player.controlBar.remainingTimeDisplay !== undefined) {\n this.player.controlBar.remainingTimeDisplay.hide();\n }\n\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.playToggle !== undefined) {\n // handle play toggle interaction\n this.player.controlBar.playToggle.on(['tap', 'click'],\n this.onPlayToggle.bind(this));\n\n // disable play button until waveform is ready\n this.player.controlBar.playToggle.hide();\n }\n }\n\n // wavesurfer.js setup\n this.surfer = WaveSurfer.create(mergedOptions);\n this.surfer.on(Event.ERROR, this.onWaveError.bind(this));\n this.surfer.on(Event.FINISH, this.onWaveFinish.bind(this));\n this.backend = this.surfer.params.backend;\n this.log('Using wavesurfer.js ' + this.backend + ' backend.');\n\n // check if the wavesurfer.js microphone plugin is enabled\n if ('microphone' in this.player.wavesurfer().surfer.getActivePlugins()) {\n // enable audio input from a microphone\n this.liveMode = true;\n this.waveReady = true;\n this.log('wavesurfer.js microphone plugin enabled.');\n\n // in live mode, show play button at startup\n this.player.controlBar.playToggle.show();\n\n // listen for wavesurfer.js microphone plugin events\n this.surfer.microphone.on(Event.DEVICE_ERROR,\n this.onWaveError.bind(this));\n }\n\n // listen for wavesurfer.js events\n this.surferReady = this.onWaveReady.bind(this);\n if (this.backend === WEBAUDIO) {\n this.surferProgress = this.onWaveProgress.bind(this);\n this.surferSeek = this.onWaveSeek.bind(this);\n\n // make sure volume is muted when requested\n if (this.player.muted()) {\n this.setVolume(0);\n }\n }\n\n // only listen to the wavesurfer.js playback events when not\n // in live mode\n if (!this.liveMode) {\n this.setupPlaybackEvents(true);\n }\n\n // video.js player events\n this.player.on(Event.VOLUMECHANGE, this.onVolumeChange.bind(this));\n this.player.on(Event.FULLSCREENCHANGE, this.onScreenChange.bind(this));\n\n // video.js fluid option\n if (this.player.options_.fluid === true) {\n // give wave element a classname so it can be styled\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n // listen for window resize events\n this.responsiveWave = WaveSurfer.util.debounce(\n this.onResizeChange.bind(this), 150);\n window.addEventListener(Event.RESIZE, this.responsiveWave);\n }\n }\n\n /**\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n */\n parseOptions(surferOpts = {}) {\n let rect = this.player.el_.getBoundingClientRect();\n this.originalWidth = this.player.options_.width || rect.width;\n this.originalHeight = this.player.options_.height || rect.height;\n\n // controlbar\n let controlBarHeight = this.player.controlBar.height();\n if (this.player.options_.controls === true && controlBarHeight === 0) {\n // the dimensions of the controlbar are not known yet, but we\n // need it now, so we can calculate the height of the waveform.\n // The default height is 30px, so use that instead.\n controlBarHeight = 30;\n }\n\n // set waveform element and dimensions\n // Set the container to player's container if \"container\" option is\n // not provided. If a waveform needs to be appended to your custom\n // element, then use below option. For example:\n // container: document.querySelector(\"#vjs-waveform\")\n if (surferOpts.container === undefined) {\n surferOpts.container = this.player.el_;\n }\n\n // set the height of generated waveform if user has provided height\n // from options. If height of waveform need to be customized then use\n // option below. For example: waveformHeight: 30\n if (surferOpts.waveformHeight === undefined) {\n let playerHeight = rect.height;\n surferOpts.height = playerHeight - controlBarHeight;\n } else {\n surferOpts.height = surferOpts.waveformHeight;\n }\n\n // split channels\n if (surferOpts.splitChannels && surferOpts.splitChannels === true) {\n surferOpts.height /= 2;\n }\n\n // use MediaElement as default wavesurfer.js backend if one is not\n // specified\n if ('backend' in surferOpts) {\n this.backend = surferOpts.backend;\n } else {\n surferOpts.backend = this.backend = MEDIAELEMENT;\n }\n\n return surferOpts;\n }\n\n /**\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n */\n setupPlaybackEvents(enable) {\n if (enable === false) {\n this.surfer.un(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.un(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.un(Event.SEEK, this.surferSeek);\n }\n } else if (enable === true) {\n this.surfer.on(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.on(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.on(Event.SEEK, this.surferSeek);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n load(url, peaks) {\n if (url instanceof Blob || url instanceof File) {\n this.log('Loading object: ' + JSON.stringify(url));\n this.surfer.loadBlob(url);\n } else {\n // load peak data from array or file\n if (peaks !== undefined) {\n this.loadPeaks(url, peaks);\n } else {\n // no peaks\n if (typeof url === 'string') {\n this.log('Loading URL: ' + url);\n } else {\n this.log('Loading element: ' + url);\n }\n this.surfer.load(url);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n loadPeaks(url, peaks) {\n if (Array.isArray(peaks)) {\n // use supplied peaks data\n this.log('Loading URL with array of peaks: ' + url);\n this.surfer.load(url, peaks);\n } else {\n // load peak data from file\n let requestOptions = {\n url: peaks,\n responseType: 'json'\n };\n\n // supply xhr options, if any\n if (this.player.options_.plugins.wavesurfer.xhr !== undefined) {\n requestOptions.xhr = this.player.options_.plugins.wavesurfer.xhr;\n }\n let request = WaveSurfer.util.fetchFile(requestOptions);\n\n request.once('success', data => {\n this.log('Loaded Peak Data URL: ' + peaks);\n // check for data property containing peaks\n if (data && data.data) {\n this.surfer.load(url, data.data);\n } else {\n this.player.trigger(Event.ERROR,\n 'Could not load peaks data from ' + peaks);\n this.log(err, 'error');\n }\n });\n request.on('error', e => {\n this.log('Unable to retrieve peak data from ' + peaks +\n '. Status code: ' + request.response.status, 'warn');\n this.log('Loading URL: ' + url);\n this.surfer.load(url);\n });\n }\n }\n\n /**\n * Start/resume playback or microphone.\n */\n play() {\n // show pause button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePlay();\n }\n\n if (this.liveMode) {\n // start/resume microphone visualization\n if (!this.surfer.microphone.active)\n {\n this.log('Start microphone');\n this.surfer.microphone.start();\n } else {\n // toggle paused\n let paused = !this.surfer.microphone.paused;\n\n if (paused) {\n this.pause();\n } else {\n this.log('Resume microphone');\n this.surfer.microphone.play();\n }\n }\n } else {\n this.log('Start playback');\n\n // put video.js player UI in playback mode\n this.player.play();\n\n // start surfer playback\n this.surfer.play();\n }\n }\n\n /**\n * Pauses playback or microphone visualization.\n */\n pause() {\n // show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePause();\n }\n\n if (this.liveMode) {\n // pause microphone visualization\n this.log('Pause microphone');\n this.surfer.microphone.pause();\n } else {\n // pause playback\n this.log('Pause playback');\n\n if (!this.waveFinished) {\n // pause wavesurfer playback\n this.surfer.pause();\n } else {\n this.waveFinished = false;\n }\n\n this.setCurrentTime();\n }\n }\n\n /**\n * @private\n */\n dispose() {\n if (this.surfer) {\n if (this.liveMode && this.surfer.microphone) {\n // destroy microphone plugin\n this.surfer.microphone.destroy();\n this.log('Destroyed microphone plugin');\n }\n // destroy wavesurfer instance\n this.surfer.destroy();\n }\n this.log('Destroyed plugin');\n }\n\n /**\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n */\n isDestroyed() {\n return this.player && (this.player.children() === null);\n }\n\n /**\n * Remove the player and waveform.\n */\n destroy() {\n this.player.dispose();\n }\n\n /**\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n */\n setVolume(volume) {\n if (volume !== undefined) {\n this.log('Changing volume to: ' + volume);\n\n // update player volume\n this.player.volume(volume);\n }\n }\n\n /**\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} [format=image/png] - String indicating the image format.\n * @param {number} [quality=1] - Number between 0 and 1 indicating image\n * quality if the requested type is `'image/jpeg'` or `'image/webp'`.\n * @returns {string} The data URI of the image data.\n */\n exportImage(format, quality) {\n return this.surfer.exportImage(format, quality);\n }\n\n /**\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n */\n setAudioOutput(deviceId) {\n if (deviceId) {\n this.surfer.setSinkId(deviceId).then((result) => {\n // notify listeners\n this.player.trigger(Event.AUDIO_OUTPUT_READY);\n }).catch((err) => {\n // notify listeners\n this.player.trigger(Event.ERROR, err);\n\n this.log(err, 'error');\n });\n }\n }\n\n /**\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n */\n getCurrentTime() {\n let currentTime = this.surfer.getCurrentTime();\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n\n return currentTime;\n }\n\n /**\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setCurrentTime(currentTime, duration) {\n if (currentTime === undefined) {\n currentTime = this.surfer.getCurrentTime();\n }\n\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n duration = isNaN(duration) ? 0 : duration;\n\n // update current time display component\n if (this.player.controlBar.currentTimeDisplay &&\n this.player.controlBar.currentTimeDisplay.contentEl() &&\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild) {\n let time = Math.min(currentTime, duration);\n\n this.player.controlBar.currentTimeDisplay.formattedTime_ =\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent =\n formatTime(time, duration, this.displayMilliseconds);\n }\n\n if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) {\n // only needed for text tracks\n this.player.tech_.setCurrentTime(currentTime);\n }\n }\n\n /**\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n */\n getDuration() {\n let duration = this.surfer.getDuration();\n duration = isNaN(duration) ? 0 : duration;\n\n return duration;\n }\n\n /**\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setDuration(duration) {\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n duration = isNaN(duration) ? 0 : duration;\n\n // update duration display component\n if (this.player.controlBar.durationDisplay &&\n this.player.controlBar.durationDisplay.contentEl() &&\n this.player.controlBar.durationDisplay.contentEl().lastChild) {\n this.player.controlBar.durationDisplay.formattedTime_ =\n this.player.controlBar.durationDisplay.contentEl().lastChild.textContent =\n formatTime(duration, duration, this.displayMilliseconds);\n }\n }\n\n /**\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n */\n onWaveReady() {\n this.waveReady = true;\n this.waveFinished = false;\n this.liveMode = false;\n\n this.log('Waveform is ready');\n this.player.trigger(Event.WAVE_READY);\n\n if (this.backend === WEBAUDIO) {\n // update time display\n this.setCurrentTime();\n this.setDuration();\n\n // enable and show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.show();\n }\n }\n\n // hide loading spinner\n if (this.player.loadingSpinner.contentEl()) {\n this.player.loadingSpinner.hide();\n }\n\n // auto-play when ready (if enabled)\n if (this.player.options_.autoplay === true) {\n // autoplay is only allowed when audio is muted\n this.setVolume(0);\n\n // try auto-play\n if (this.backend === WEBAUDIO) {\n this.play();\n } else {\n this.player.play().catch(e => {\n this.onWaveError(e);\n });\n }\n }\n }\n\n /**\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n */\n onWaveFinish() {\n this.log('Finished playback');\n\n // notify listeners\n this.player.trigger(Event.PLAYBACK_FINISH);\n\n // check if loop is enabled\n if (this.player.options_.loop === true) {\n if (this.backend === WEBAUDIO) {\n // reset waveform\n this.surfer.stop();\n this.play();\n }\n } else {\n // finished\n this.waveFinished = true;\n\n if (this.backend === WEBAUDIO) {\n // pause player\n this.pause();\n\n // show the replay state of play toggle\n this.player.trigger(Event.ENDED);\n\n // this gets called once after the clip has ended and the user\n // seeks so that we can change the replay button back to a play\n // button\n this.surfer.once(Event.SEEK, () => {\n if (this.player.controlBar.playToggle !== undefined) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n this.player.trigger(Event.PAUSE);\n });\n }\n }\n }\n\n /**\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n */\n onWaveProgress(time) {\n this.setCurrentTime();\n }\n\n /**\n * Fires during seeking of the waveform.\n *\n * @private\n */\n onWaveSeek() {\n this.setCurrentTime();\n }\n\n /**\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n */\n onWaveError(error) {\n // notify listeners\n if (error.name && error.name === 'AbortError' ||\n error.name === 'DOMException' && error.message.startsWith('The operation was aborted'))\n {\n this.player.trigger(Event.ABORT, error);\n } else {\n this.player.trigger(Event.ERROR, error);\n\n this.log(error, 'error');\n }\n }\n\n /**\n * Fired when the play toggle is clicked.\n * @private\n */\n onPlayToggle() {\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.hasClass('vjs-ended')) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n if (this.surfer.isPlaying()) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Fired when the volume in the video.js player changes.\n * @private\n */\n onVolumeChange() {\n let volume = this.player.volume();\n if (this.player.muted()) {\n // muted volume\n volume = 0;\n }\n\n // update wavesurfer.js volume\n this.surfer.setVolume(volume);\n }\n\n /**\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n */\n onScreenChange() {\n // execute with tiny delay so the player element completes\n // rendering and correct dimensions are reported\n let fullscreenDelay = this.player.setInterval(() => {\n let isFullscreen = this.player.isFullscreen();\n let newWidth, newHeight;\n if (!isFullscreen) {\n // restore original dimensions\n newWidth = this.originalWidth;\n newHeight = this.originalHeight;\n }\n\n if (this.waveReady) {\n if (this.liveMode && !this.surfer.microphone.active) {\n // we're in live mode but the microphone hasn't been\n // started yet\n return;\n }\n // redraw\n this.redrawWaveform(newWidth, newHeight);\n }\n\n // stop fullscreenDelay interval\n this.player.clearInterval(fullscreenDelay);\n\n }, 100);\n }\n\n /**\n * Fired when the video.js player is resized.\n *\n * @private\n */\n onResizeChange() {\n if (this.surfer !== undefined) {\n // redraw waveform\n this.redrawWaveform();\n }\n }\n\n /**\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n */\n redrawWaveform(newWidth, newHeight) {\n if (!this.isDestroyed()) {\n if (this.player.el_) {\n let rect = this.player.el_.getBoundingClientRect();\n if (newWidth === undefined) {\n // get player width\n newWidth = rect.width;\n }\n if (newHeight === undefined) {\n // get player height\n newHeight = rect.height;\n }\n }\n\n // destroy old drawing\n this.surfer.drawer.destroy();\n\n // set new dimensions\n this.surfer.params.width = newWidth;\n this.surfer.params.height = newHeight - this.player.controlBar.height();\n\n // redraw waveform\n this.surfer.createDrawer();\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n this.surfer.drawBuffer();\n\n // make sure playhead is restored at right position\n this.surfer.drawer.progress(this.surfer.backend.getPlayedPercents());\n }\n }\n\n /**\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n */\n log(args, logType) {\n log(args, logType, this.debug);\n }\n}\n\n// version nr is injected during build\nWavesurfer.VERSION = __VERSION__;\n\n// register plugin once\nvideojs.Wavesurfer = Wavesurfer;\nif (videojs.getPlugin(wavesurferPluginName) === undefined) {\n videojs.registerPlugin(wavesurferPluginName, Wavesurfer);\n}\n\n// register a star-middleware\nvideojs.use('*', player => {\n // make player available on middleware\n WavesurferMiddleware.player = player;\n\n return WavesurferMiddleware;\n});\n\nexport {Wavesurfer};", "static": true, "longname": "/home/thijs/projects/videojs-wavesurfer/src/js/videojs.wavesurfer.js", "access": "public", @@ -915,6 +915,90 @@ }, { "__docId__": 64, + "kind": "variable", + "name": "wavesurferStyleName", + "memberof": "src/js/videojs.wavesurfer.js", + "static": true, + "longname": "src/js/videojs.wavesurfer.js~wavesurferStyleName", + "access": "public", + "export": false, + "importPath": "videojs-wavesurfer/src/js/videojs.wavesurfer.js", + "importStyle": null, + "description": null, + "lineNumber": 22, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 65, + "kind": "variable", + "name": "WEBAUDIO", + "memberof": "src/js/videojs.wavesurfer.js", + "static": true, + "longname": "src/js/videojs.wavesurfer.js~WEBAUDIO", + "access": "public", + "export": false, + "importPath": "videojs-wavesurfer/src/js/videojs.wavesurfer.js", + "importStyle": null, + "description": null, + "lineNumber": 25, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 66, + "kind": "variable", + "name": "MEDIAELEMENT", + "memberof": "src/js/videojs.wavesurfer.js", + "static": true, + "longname": "src/js/videojs.wavesurfer.js~MEDIAELEMENT", + "access": "public", + "export": false, + "importPath": "videojs-wavesurfer/src/js/videojs.wavesurfer.js", + "importStyle": null, + "description": null, + "lineNumber": 26, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 67, + "kind": "variable", + "name": "MEDIAELEMENT_WEBAUDIO", + "memberof": "src/js/videojs.wavesurfer.js", + "static": true, + "longname": "src/js/videojs.wavesurfer.js~MEDIAELEMENT_WEBAUDIO", + "access": "public", + "export": false, + "importPath": "videojs-wavesurfer/src/js/videojs.wavesurfer.js", + "importStyle": null, + "description": null, + "lineNumber": 27, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 68, "kind": "class", "name": "Wavesurfer", "memberof": "src/js/videojs.wavesurfer.js", @@ -925,7 +1009,7 @@ "importPath": "videojs-wavesurfer/src/js/videojs.wavesurfer.js", "importStyle": "{Wavesurfer}", "description": "Draw a waveform for audio and video files in a video.js player.", - "lineNumber": 29, + "lineNumber": 35, "unknown": [ { "tagName": "@class", @@ -942,7 +1026,7 @@ ] }, { - "__docId__": 65, + "__docId__": 69, "kind": "constructor", "name": "constructor", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -952,7 +1036,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#constructor", "access": "public", "description": "The constructor function for the class.", - "lineNumber": 36, + "lineNumber": 42, "params": [ { "nullable": null, @@ -978,7 +1062,7 @@ ] }, { - "__docId__": 66, + "__docId__": 70, "kind": "member", "name": "waveReady", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -986,7 +1070,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#waveReady", "access": "public", "description": null, - "lineNumber": 44, + "lineNumber": 50, "undocument": true, "type": { "types": [ @@ -995,7 +1079,7 @@ } }, { - "__docId__": 67, + "__docId__": 71, "kind": "member", "name": "waveFinished", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1003,7 +1087,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#waveFinished", "access": "public", "description": null, - "lineNumber": 45, + "lineNumber": 51, "undocument": true, "type": { "types": [ @@ -1012,7 +1096,7 @@ } }, { - "__docId__": 68, + "__docId__": 72, "kind": "member", "name": "liveMode", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1020,7 +1104,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#liveMode", "access": "public", "description": null, - "lineNumber": 46, + "lineNumber": 52, "undocument": true, "type": { "types": [ @@ -1029,7 +1113,7 @@ } }, { - "__docId__": 69, + "__docId__": 73, "kind": "member", "name": "backend", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1037,7 +1121,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#backend", "access": "public", "description": null, - "lineNumber": 47, + "lineNumber": 53, "undocument": true, "type": { "types": [ @@ -1046,7 +1130,7 @@ } }, { - "__docId__": 70, + "__docId__": 74, "kind": "member", "name": "debug", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1054,7 +1138,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#debug", "access": "public", "description": null, - "lineNumber": 48, + "lineNumber": 54, "undocument": true, "type": { "types": [ @@ -1063,7 +1147,7 @@ } }, { - "__docId__": 71, + "__docId__": 75, "kind": "member", "name": "textTracksEnabled", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1071,7 +1155,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#textTracksEnabled", "access": "public", "description": null, - "lineNumber": 49, + "lineNumber": 55, "undocument": true, "type": { "types": [ @@ -1080,15 +1164,15 @@ } }, { - "__docId__": 72, + "__docId__": 76, "kind": "member", - "name": "msDisplayMax", + "name": "displayMilliseconds", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", "static": false, - "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#msDisplayMax", + "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#displayMilliseconds", "access": "public", "description": null, - "lineNumber": 50, + "lineNumber": 56, "undocument": true, "type": { "types": [ @@ -1097,7 +1181,7 @@ } }, { - "__docId__": 73, + "__docId__": 77, "kind": "method", "name": "initialize", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1107,12 +1191,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#initialize", "access": "private", "description": "Player UI is ready: customize controls.", - "lineNumber": 61, + "lineNumber": 72, "params": [], "return": null }, { - "__docId__": 74, + "__docId__": 78, "kind": "member", "name": "surfer", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1120,7 +1204,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surfer", "access": "public", "description": null, - "lineNumber": 134, + "lineNumber": 129, "undocument": true, "type": { "types": [ @@ -1129,7 +1213,7 @@ } }, { - "__docId__": 78, + "__docId__": 82, "kind": "member", "name": "surferReady", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1137,7 +1221,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferReady", "access": "public", "description": null, - "lineNumber": 156, + "lineNumber": 151, "undocument": true, "type": { "types": [ @@ -1146,7 +1230,7 @@ } }, { - "__docId__": 79, + "__docId__": 83, "kind": "member", "name": "surferProgress", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1154,7 +1238,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferProgress", "access": "public", "description": null, - "lineNumber": 158, + "lineNumber": 153, "undocument": true, "type": { "types": [ @@ -1163,7 +1247,7 @@ } }, { - "__docId__": 80, + "__docId__": 84, "kind": "member", "name": "surferSeek", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1171,7 +1255,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferSeek", "access": "public", "description": null, - "lineNumber": 159, + "lineNumber": 154, "undocument": true, "type": { "types": [ @@ -1180,7 +1264,7 @@ } }, { - "__docId__": 81, + "__docId__": 85, "kind": "member", "name": "responsiveWave", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1188,7 +1272,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#responsiveWave", "access": "public", "description": null, - "lineNumber": 182, + "lineNumber": 177, "undocument": true, "type": { "types": [ @@ -1197,7 +1281,7 @@ } }, { - "__docId__": 82, + "__docId__": 86, "kind": "method", "name": "parseOptions", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1207,7 +1291,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#parseOptions", "access": "private", "description": "Initializes the waveform options.", - "lineNumber": 195, + "lineNumber": 190, "unknown": [ { "tagName": "@returns", @@ -1236,7 +1320,7 @@ } }, { - "__docId__": 83, + "__docId__": 87, "kind": "member", "name": "originalWidth", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1244,7 +1328,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalWidth", "access": "public", "description": null, - "lineNumber": 197, + "lineNumber": 192, "undocument": true, "type": { "types": [ @@ -1253,7 +1337,7 @@ } }, { - "__docId__": 84, + "__docId__": 88, "kind": "member", "name": "originalHeight", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1261,7 +1345,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalHeight", "access": "public", "description": null, - "lineNumber": 198, + "lineNumber": 193, "undocument": true, "type": { "types": [ @@ -1270,7 +1354,7 @@ } }, { - "__docId__": 86, + "__docId__": 90, "kind": "method", "name": "setupPlaybackEvents", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1280,7 +1364,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setupPlaybackEvents", "access": "private", "description": "Starts or stops listening to events related to audio-playback.", - "lineNumber": 251, + "lineNumber": 246, "params": [ { "nullable": null, @@ -1296,7 +1380,7 @@ "return": null }, { - "__docId__": 87, + "__docId__": 91, "kind": "method", "name": "load", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1306,7 +1390,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#load", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 275, + "lineNumber": 270, "params": [ { "nullable": null, @@ -1335,7 +1419,7 @@ "return": null }, { - "__docId__": 88, + "__docId__": 92, "kind": "method", "name": "loadPeaks", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1345,7 +1429,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#loadPeaks", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 303, + "lineNumber": 298, "params": [ { "nullable": null, @@ -1374,7 +1458,7 @@ "return": null }, { - "__docId__": 89, + "__docId__": 93, "kind": "method", "name": "play", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1384,12 +1468,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#play", "access": "public", "description": "Start/resume playback or microphone.", - "lineNumber": 344, + "lineNumber": 339, "params": [], "return": null }, { - "__docId__": 90, + "__docId__": 94, "kind": "method", "name": "pause", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1399,12 +1483,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#pause", "access": "public", "description": "Pauses playback or microphone visualization.", - "lineNumber": 382, + "lineNumber": 377, "params": [], "return": null }, { - "__docId__": 92, + "__docId__": 96, "kind": "method", "name": "dispose", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1414,12 +1498,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#dispose", "access": "private", "description": "", - "lineNumber": 411, + "lineNumber": 406, "params": [], "return": null }, { - "__docId__": 93, + "__docId__": 97, "kind": "method", "name": "isDestroyed", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1429,7 +1513,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#isDestroyed", "access": "public", "description": "Indicates whether the plugin is destroyed or not.", - "lineNumber": 429, + "lineNumber": 424, "return": { "nullable": null, "types": [ @@ -1441,7 +1525,7 @@ "params": [] }, { - "__docId__": 94, + "__docId__": 98, "kind": "method", "name": "destroy", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1451,12 +1535,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#destroy", "access": "public", "description": "Remove the player and waveform.", - "lineNumber": 436, + "lineNumber": 431, "params": [], "return": null }, { - "__docId__": 95, + "__docId__": 99, "kind": "method", "name": "setVolume", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1466,7 +1550,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setVolume", "access": "public", "description": "Set the volume level.", - "lineNumber": 445, + "lineNumber": 440, "params": [ { "nullable": null, @@ -1482,7 +1566,7 @@ "return": null }, { - "__docId__": 96, + "__docId__": 100, "kind": "method", "name": "exportImage", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1492,7 +1576,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#exportImage", "access": "public", "description": "Save waveform image as data URI.\n\nThe default format is `'image/png'`. Other supported types are\n`'image/jpeg'` and `'image/webp'`.", - "lineNumber": 465, + "lineNumber": 460, "unknown": [ { "tagName": "@returns", @@ -1535,7 +1619,7 @@ } }, { - "__docId__": 97, + "__docId__": 101, "kind": "method", "name": "setAudioOutput", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1545,7 +1629,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setAudioOutput", "access": "public", "description": "Change the audio output device.", - "lineNumber": 474, + "lineNumber": 469, "params": [ { "nullable": null, @@ -1561,7 +1645,7 @@ "return": null }, { - "__docId__": 98, + "__docId__": 102, "kind": "method", "name": "getCurrentTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1571,7 +1655,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#getCurrentTime", "access": "public", "description": "Get the current time (in seconds) of the stream during playback.\n\nReturns 0 if no stream is available (yet).", - "lineNumber": 495, + "lineNumber": 490, "unknown": [ { "tagName": "@returns", @@ -1589,7 +1673,7 @@ "params": [] }, { - "__docId__": 99, + "__docId__": 103, "kind": "method", "name": "setCurrentTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1599,7 +1683,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setCurrentTime", "access": "private", "description": "Updates the player's element displaying the current time.", - "lineNumber": 510, + "lineNumber": 505, "params": [ { "nullable": null, @@ -1625,7 +1709,7 @@ "return": null }, { - "__docId__": 100, + "__docId__": 104, "kind": "method", "name": "getDuration", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1635,7 +1719,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#getDuration", "access": "public", "description": "Get the duration of the stream in seconds.\n\nReturns 0 if no stream is available (yet).", - "lineNumber": 545, + "lineNumber": 541, "unknown": [ { "tagName": "@returns", @@ -1653,7 +1737,7 @@ "params": [] }, { - "__docId__": 101, + "__docId__": 105, "kind": "method", "name": "setDuration", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1663,7 +1747,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setDuration", "access": "private", "description": "Updates the player's element displaying the duration time.", - "lineNumber": 558, + "lineNumber": 554, "params": [ { "nullable": null, @@ -1679,7 +1763,7 @@ "return": null }, { - "__docId__": 102, + "__docId__": 106, "kind": "method", "name": "onWaveReady", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1689,7 +1773,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveReady", "access": "private", "description": "Audio is loaded, decoded and the waveform is drawn.", - "lineNumber": 579, + "lineNumber": 576, "unknown": [ { "tagName": "@fires", @@ -1700,7 +1784,7 @@ "return": null }, { - "__docId__": 106, + "__docId__": 110, "kind": "method", "name": "onWaveFinish", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1710,7 +1794,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveFinish", "access": "private", "description": "Fires when audio playback completed.", - "lineNumber": 626, + "lineNumber": 623, "unknown": [ { "tagName": "@fires", @@ -1721,7 +1805,7 @@ "return": null }, { - "__docId__": 108, + "__docId__": 112, "kind": "method", "name": "onWaveProgress", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1731,7 +1815,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveProgress", "access": "private", "description": "Fires continuously during audio playback.", - "lineNumber": 669, + "lineNumber": 666, "params": [ { "nullable": null, @@ -1747,7 +1831,7 @@ "return": null }, { - "__docId__": 109, + "__docId__": 113, "kind": "method", "name": "onWaveSeek", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1757,12 +1841,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveSeek", "access": "private", "description": "Fires during seeking of the waveform.", - "lineNumber": 678, + "lineNumber": 675, "params": [], "return": null }, { - "__docId__": 110, + "__docId__": 114, "kind": "method", "name": "onWaveError", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1772,7 +1856,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveError", "access": "private", "description": "Waveform error.", - "lineNumber": 688, + "lineNumber": 685, "params": [ { "nullable": null, @@ -1788,7 +1872,7 @@ "return": null }, { - "__docId__": 111, + "__docId__": 115, "kind": "method", "name": "onPlayToggle", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1798,12 +1882,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onPlayToggle", "access": "private", "description": "Fired when the play toggle is clicked.", - "lineNumber": 705, + "lineNumber": 702, "params": [], "return": null }, { - "__docId__": 112, + "__docId__": 116, "kind": "method", "name": "onVolumeChange", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1813,12 +1897,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onVolumeChange", "access": "private", "description": "Fired when the volume in the video.js player changes.", - "lineNumber": 721, + "lineNumber": 718, "params": [], "return": null }, { - "__docId__": 113, + "__docId__": 117, "kind": "method", "name": "onScreenChange", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1828,12 +1912,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onScreenChange", "access": "private", "description": "Fired when the video.js player switches in or out of fullscreen mode.", - "lineNumber": 736, + "lineNumber": 733, "params": [], "return": null }, { - "__docId__": 114, + "__docId__": 118, "kind": "method", "name": "onResizeChange", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1843,12 +1927,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onResizeChange", "access": "private", "description": "Fired when the video.js player is resized.", - "lineNumber": 769, + "lineNumber": 766, "params": [], "return": null }, { - "__docId__": 115, + "__docId__": 119, "kind": "method", "name": "redrawWaveform", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1858,7 +1942,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#redrawWaveform", "access": "private", "description": "Redraw waveform.", - "lineNumber": 783, + "lineNumber": 780, "params": [ { "nullable": null, @@ -1884,7 +1968,7 @@ "return": null }, { - "__docId__": 116, + "__docId__": 120, "kind": "method", "name": "log", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1894,7 +1978,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#log", "access": "private", "description": "Log message to console (if the debug option is enabled).", - "lineNumber": 822, + "lineNumber": 819, "params": [ { "nullable": null, @@ -1921,7 +2005,7 @@ }, { "kind": "index", - "content": "videojs-wavesurfer\n==================\n\nA [video.js](http://www.videojs.com/) plugin that adds a navigable waveform\nfor audio and video files, using the [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)\nlibrary. Includes support for fullscreen mode and [real-time visualization of microphone\ninput](https://collab-project.github.io/videojs-wavesurfer/#/microphone).\n\n![Screenshot](https://raw.githubusercontent.com/collab-project/videojs-wavesurfer/master/docs/img/screenshot.png?raw=true \"Screenshot\")\n\n[![npm version](https://img.shields.io/npm/v/videojs-wavesurfer.svg?style=flat)](https://www.npmjs.com/package/videojs-wavesurfer)\n[![npm](https://img.shields.io/npm/dm/videojs-wavesurfer.svg)](https://github.com/collab-project/videojs-wavesurfer/releases)\n[![License](https://img.shields.io/npm/l/videojs-wavesurfer.svg)](LICENSE)\n[![Build Status](https://travis-ci.org/collab-project/videojs-wavesurfer.svg?branch=master)](https://travis-ci.org/collab-project/videojs-wavesurfer)\n[![Coverage Status](https://coveralls.io/repos/github/collab-project/videojs-wavesurfer/badge.svg?branch=master)](https://coveralls.io/github/collab-project/videojs-wavesurfer?branch=master)\n![Size](https://img.shields.io/bundlephobia/minzip/videojs-wavesurfer.svg?style=flat)\n![Stars](https://img.shields.io/github/stars/collab-project/videojs-wavesurfer.svg?style=social)\n\n## Documentation\n\nThe documentation and examples can be found on: https://collab-project.github.io/videojs-wavesurfer\n\n## License\n\nThis work is licensed under the [MIT License](LICENSE).\n", + "content": "videojs-wavesurfer\n==================\n\nA [video.js](https://www.videojs.com/) plugin that adds a navigable waveform\nfor audio and video files, using the [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)\nlibrary. Includes support for fullscreen mode and [real-time visualization of microphone\ninput](https://collab-project.github.io/videojs-wavesurfer/#/microphone).\n\n![Screenshot](https://raw.githubusercontent.com/collab-project/videojs-wavesurfer/master/docs/img/screenshot.png?raw=true \"Screenshot\")\n\n[![npm version](https://img.shields.io/npm/v/videojs-wavesurfer.svg?style=flat)](https://www.npmjs.com/package/videojs-wavesurfer)\n[![npm](https://img.shields.io/npm/dm/videojs-wavesurfer.svg)](https://github.com/collab-project/videojs-wavesurfer/releases)\n[![License](https://img.shields.io/npm/l/videojs-wavesurfer.svg)](LICENSE)\n[![Build Status](https://travis-ci.org/collab-project/videojs-wavesurfer.svg?branch=master)](https://travis-ci.org/collab-project/videojs-wavesurfer)\n[![Coverage Status](https://coveralls.io/repos/github/collab-project/videojs-wavesurfer/badge.svg?branch=master)](https://coveralls.io/github/collab-project/videojs-wavesurfer?branch=master)\n![Size](https://img.shields.io/bundlephobia/minzip/videojs-wavesurfer.svg?style=flat)\n![Stars](https://img.shields.io/github/stars/collab-project/videojs-wavesurfer.svg?style=social)\n\n## Documentation\n\nThe documentation and examples can be found on: https://collab-project.github.io/videojs-wavesurfer\n\n## License\n\nThis work is licensed under the [MIT License](LICENSE).\n", "longname": "/home/thijs/projects/videojs-wavesurfer/README.md", "name": "./README.md", "static": true, @@ -1929,7 +2013,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.0.3\",\n \"description\": \"video.js plugin that adds a navigable waveform for audio and video files.\",\n \"author\": \"Collab\",\n \"license\": \"MIT\",\n \"readmeFilename\": \"README.md\",\n \"bugs\": {\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer/issues\"\n },\n \"homepage\": \"https://github.com/collab-project/videojs-wavesurfer\",\n \"main\": \"dist/videojs.wavesurfer.js\",\n \"style\": \"dist/css/videojs.wavesurfer.css\",\n \"sass\": \"src/css/videojs.wavesurfer.scss\",\n \"directories\": {\n \"docs\": \"./docs\",\n \"lib\": \"./src\",\n \"example\": \"./examples\",\n \"test\": \"./test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer.git\"\n },\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"build\": \"npm run clean && npm run lint && npm run build:dev && npm run build:min\",\n \"build:dev\": \"webpack --config ./build-config/webpack.dev.main.js\",\n \"build:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\n \"docs\": \"npm-run-all docs:*\",\n \"docs:api\": \"rimraf docs/api && esdoc\",\n \"lint\": \"npm-run-all lint:*\",\n \"lint:js\": \"eslint src/js test build-config\",\n \"lint:html\": \"htmlhint examples docs/demo\",\n \"start\": \"npm run build && webpack-dev-server --config ./build-config/webpack.dev.main.js\",\n \"test\": \"karma start karma.conf.js\",\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\n },\n \"files\": [\n \"dist/\",\n \"src/\"\n ],\n \"keywords\": [\n \"waveform\",\n \"audio\",\n \"video\",\n \"wavesurfer\",\n \"videojs\",\n \"videojs-plugin\",\n \"player\"\n ],\n \"dependencies\": {\n \"video.js\": \">=7.0.5\",\n \"wavesurfer.js\": \">=3.3.3\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.9.6\",\n \"@babel/preset-env\": \"^7.9.6\",\n \"@babel/register\": \"^7.9.0\",\n \"@jsdevtools/host-environment\": \"^2.0.3\",\n \"@jsdevtools/karma-host-environment\": \"^3.0.2\",\n \"babel-loader\": \"^8.1.0\",\n \"babel-plugin-add-module-exports\": \"^1.0.2\",\n \"babel-plugin-istanbul\": \"^6.0.0\",\n \"browserslist\": \"^4.12.0\",\n \"css-loader\": \"^3.5.3\",\n \"date-fns\": \"^2.13.0\",\n \"docsify-cli\": \"^4.4.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.0.0\",\n \"htmlhint\": \"^0.11.0\",\n \"in-publish\": \"^2.0.1\",\n \"jasmine-core\": \"^3.5.0\",\n \"karma\": \"^5.0.5\",\n \"karma-chrome-launcher\": \"^3.1.0\",\n \"karma-coverage\": \"^2.0.2\",\n \"karma-coveralls\": \"^2.1.0\",\n \"karma-detect-browsers\": \"^2.3.3\",\n \"karma-edge-launcher\": \"^0.4.2\",\n \"karma-firefox-launcher\": \"^1.3.0\",\n \"karma-jasmine\": \"^3.1.1\",\n \"karma-jasmine-matchers\": \"^4.0.2\",\n \"karma-safari-launcher\": \"^1.0.0\",\n \"karma-safaritechpreview-launcher\": \"^2.0.2\",\n \"karma-verbose-reporter\": \"0.0.6\",\n \"karma-webpack\": \"^4.0.2\",\n \"mini-css-extract-plugin\": \"^0.9.0\",\n \"node-sass\": \"^4.14.1\",\n \"npm-run-all\": \"^4.1.5\",\n \"optimize-css-assets-webpack-plugin\": \"^5.0.3\",\n \"replace-in-file\": \"^6.0.0\",\n \"rimraf\": \"^3.0.2\",\n \"sass-loader\": \"^8.0.2\",\n \"style-loader\": \"^1.2.1\",\n \"terser-webpack-plugin\": \"^3.0.1\",\n \"webpack\": \"^4.43.0\",\n \"webpack-cli\": \"^3.3.11\",\n \"webpack-dev-server\": \"^3.11.0\",\n \"webpack-merge\": \"^4.2.2\",\n \"webrtc-adapter\": \"^7.6.0\"\n }\n}\n", + "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.1.0\",\n \"description\": \"video.js plugin that adds a navigable waveform for audio and video files.\",\n \"author\": \"Collab\",\n \"license\": \"MIT\",\n \"readmeFilename\": \"README.md\",\n \"bugs\": {\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer/issues\"\n },\n \"homepage\": \"https://github.com/collab-project/videojs-wavesurfer\",\n \"main\": \"dist/videojs.wavesurfer.js\",\n \"style\": \"dist/css/videojs.wavesurfer.css\",\n \"sass\": \"src/css/videojs.wavesurfer.scss\",\n \"directories\": {\n \"docs\": \"./docs\",\n \"lib\": \"./src\",\n \"example\": \"./examples\",\n \"test\": \"./test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer.git\"\n },\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"build\": \"npm run clean && npm run lint && npm run build:dev && npm run build:min\",\n \"build:dev\": \"webpack --config ./build-config/webpack.dev.main.js\",\n \"build:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\n \"docs\": \"npm-run-all docs:*\",\n \"docs:api\": \"rimraf docs/api && esdoc\",\n \"lint\": \"npm-run-all lint:*\",\n \"lint:js\": \"eslint src/js test build-config\",\n \"lint:html\": \"htmlhint examples docs/demo\",\n \"start\": \"npm run build && webpack-dev-server --config ./build-config/webpack.dev.main.js\",\n \"test\": \"karma start karma.conf.js\",\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\n },\n \"files\": [\n \"dist/\",\n \"src/\"\n ],\n \"keywords\": [\n \"waveform\",\n \"audio\",\n \"video\",\n \"wavesurfer\",\n \"videojs\",\n \"videojs-plugin\",\n \"player\"\n ],\n \"dependencies\": {\n \"video.js\": \">=7.0.5\",\n \"wavesurfer.js\": \">=3.3.3\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.9.6\",\n \"@babel/preset-env\": \"^7.9.6\",\n \"@babel/register\": \"^7.9.0\",\n \"@jsdevtools/host-environment\": \"^2.0.3\",\n \"@jsdevtools/karma-host-environment\": \"^3.0.2\",\n \"add-zero\": \"^1.0.0\",\n \"babel-loader\": \"^8.1.0\",\n \"babel-plugin-add-module-exports\": \"^1.0.2\",\n \"babel-plugin-istanbul\": \"^6.0.0\",\n \"browserslist\": \"^4.12.0\",\n \"css-loader\": \"^3.5.3\",\n \"date-fns\": \"^2.13.0\",\n \"docsify-cli\": \"^4.4.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.0.0\",\n \"htmlhint\": \"^0.12.2\",\n \"in-publish\": \"^2.0.1\",\n \"jasmine-core\": \"^3.5.0\",\n \"karma\": \"^5.0.7\",\n \"karma-chrome-launcher\": \"^3.1.0\",\n \"karma-coverage\": \"^2.0.2\",\n \"karma-coveralls\": \"^2.1.0\",\n \"karma-detect-browsers\": \"^2.3.3\",\n \"karma-edge-launcher\": \"^0.4.2\",\n \"karma-firefox-launcher\": \"^1.3.0\",\n \"karma-jasmine\": \"^3.1.1\",\n \"karma-jasmine-matchers\": \"^4.0.2\",\n \"karma-safari-launcher\": \"^1.0.0\",\n \"karma-safaritechpreview-launcher\": \"^2.0.2\",\n \"karma-verbose-reporter\": \"0.0.6\",\n \"karma-webpack\": \"^4.0.2\",\n \"mini-css-extract-plugin\": \"^0.9.0\",\n \"node-sass\": \"^4.14.1\",\n \"npm-run-all\": \"^4.1.5\",\n \"optimize-css-assets-webpack-plugin\": \"^5.0.3\",\n \"parse-ms\": \"^2.1.0\",\n \"replace-in-file\": \"^6.0.0\",\n \"rimraf\": \"^3.0.2\",\n \"sass-loader\": \"^8.0.2\",\n \"style-loader\": \"^1.2.1\",\n \"terser-webpack-plugin\": \"^3.0.1\",\n \"webpack\": \"^4.43.0\",\n \"webpack-cli\": \"^3.3.11\",\n \"webpack-dev-server\": \"^3.11.0\",\n \"webpack-merge\": \"^4.2.2\",\n \"webrtc-adapter\": \"^7.6.0\"\n }\n}\n", "longname": "/home/thijs/projects/videojs-wavesurfer/package.json", "name": "package.json", "static": true, diff --git a/docs/api/script/search_index.js b/docs/api/script/search_index.js index 6bf920e8..9599bb9c 100644 --- a/docs/api/script/search_index.js +++ b/docs/api/script/search_index.js @@ -383,6 +383,12 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js~Wavesurfer#destroy", "method" ], + [ + "src/js/videojs.wavesurfer.js~wavesurfer#displaymilliseconds", + "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-member-displayMilliseconds", + "src/js/videojs.wavesurfer.js~Wavesurfer#displayMilliseconds", + "member" + ], [ "src/js/videojs.wavesurfer.js~wavesurfer#dispose", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-dispose", @@ -443,12 +449,6 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js~Wavesurfer#log", "method" ], - [ - "src/js/videojs.wavesurfer.js~wavesurfer#msdisplaymax", - "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-member-msDisplayMax", - "src/js/videojs.wavesurfer.js~Wavesurfer#msDisplayMax", - "member" - ], [ "src/js/videojs.wavesurfer.js~wavesurfer#onplaytoggle", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-onPlayToggle", diff --git a/docs/api/source.html b/docs/api/source.html index 8ded7ca2..6ddf8d60 100644 --- a/docs/api/source.html +++ b/docs/api/source.html @@ -40,7 +40,7 @@
-

Source 35/54

+

Source 35/58

@@ -59,9 +59,9 @@ - - - + + + @@ -83,9 +83,9 @@ - - - + + + @@ -96,13 +96,13 @@ - + - - - - + + + +
src/js/defaults.js pluginDefaultOptions 100 %1/1558 byte192019-08-05 12:59:58 (UTC)320 byte152020-05-02 19:34:37 (UTC)
src/js/event.jssrc/js/utils/format-time.js formatTime 100 %1/11996 byte682020-04-03 20:24:50 (UTC)1693 byte582020-05-02 19:34:37 (UTC)
src/js/utils/log.js2019-08-05 12:59:58 (UTC)
src/js/videojs.wavesurfer.jssrc/js/videojs.wavesurfer.js Plugin Wavesurfer63 %30/4727284 byte8432020-05-04 13:42:22 (UTC)58 %30/5127305 byte8402020-05-02 19:34:37 (UTC)
diff --git a/docs/api/variable/index.html b/docs/api/variable/index.html index f42de46f..56990856 100644 --- a/docs/api/variable/index.html +++ b/docs/api/variable/index.html @@ -115,7 +115,7 @@ - pluginDefaultOptions: {"debug": *, "msDisplayMax": number} + pluginDefaultOptions: {"debug": *, "displayMilliseconds": boolean}

@@ -228,7 +228,7 @@

- pluginDefaultOptions: {"debug": *, "msDisplayMax": number} + pluginDefaultOptions: {"debug": *, "displayMilliseconds": boolean} since 2.0.0 diff --git a/package-lock.json b/package-lock.json index 5ef8e1f7..645c0871 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.0.4", + "version": "3.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7876dbaf..31bfdb7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.0.4", + "version": "3.1.0", "description": "video.js plugin that adds a navigable waveform for audio and video files.", "author": "Collab", "license": "MIT",