diff --git a/docs/ast/source/lib/components/Keyboard.js.json b/docs/ast/source/lib/components/Keyboard.js.json index ea5a4f92..e8fbfb0b 100644 --- a/docs/ast/source/lib/components/Keyboard.js.json +++ b/docs/ast/source/lib/components/Keyboard.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 20039, + "end": 21338, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 597, + "line": 648, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 20039, + "end": 21338, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 597, + "line": 648, "column": 0 } }, @@ -330,14 +330,14 @@ { "type": "Identifier", "start": 367, - "end": 20003, + "end": 21302, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 594, + "line": 645, "column": 1 } }, @@ -363,14 +363,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 20003, + "end": 21302, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 594, + "line": 645, "column": 1 } }, @@ -378,14 +378,14 @@ { "type": "ClassMethod", "start": 679, - "end": 5952, + "end": 6920, "loc": { "start": { "line": 20, "column": 2 }, "end": { - "line": 116, + "line": 141, "column": 3 } }, @@ -451,14 +451,14 @@ "body": { "type": "BlockStatement", "start": 701, - "end": 5952, + "end": 6920, "loc": { "start": { "line": 20, "column": 24 }, "end": { - "line": 116, + "line": 141, "column": 3 } }, @@ -2301,16 +2301,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "value": "*\r\n * Module namespace\r\n ", "start": 4184, - "end": 4843, + "end": 4221, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 79, + "line": 68, "column": 7 } } @@ -2319,8 +2319,1315 @@ }, { "type": "ExpressionStatement", - "start": 4849, - "end": 4865, + "start": 4227, + "end": 4245, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4227, + "end": 4244, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4227, + "end": 4239, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 4227, + "end": 4231, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4232, + "end": 4239, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 4242, + "end": 4244, + "loc": { + "start": { + "line": 69, + "column": 19 + }, + "end": { + "line": 69, + "column": 21 + } + }, + "properties": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Module namespace\r\n ", + "start": 4184, + "end": 4221, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 68, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4288, + "end": 4351, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 67 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4288, + "end": 4350, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 66 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4288, + "end": 4312, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 4288, + "end": 4292, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4293, + "end": 4312, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 28 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 4315, + "end": 4350, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4315, + "end": 4344, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 60 + } + }, + "object": { + "type": "MemberExpression", + "start": 4315, + "end": 4339, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 55 + } + }, + "object": { + "type": "ThisExpression", + "start": 4315, + "end": 4319, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 4320, + "end": 4339, + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 55 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4340, + "end": 4344, + "loc": { + "start": { + "line": 74, + "column": 56 + }, + "end": { + "line": 74, + "column": 60 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4345, + "end": 4349, + "loc": { + "start": { + "line": 74, + "column": 61 + }, + "end": { + "line": 74, + "column": 65 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4357, + "end": 4418, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4357, + "end": 4417, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4357, + "end": 4380, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 4357, + "end": 4361, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4362, + "end": 4380, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 27 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4383, + "end": 4417, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4383, + "end": 4411, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 4383, + "end": 4406, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 4383, + "end": 4387, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 4388, + "end": 4406, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 53 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4407, + "end": 4411, + "loc": { + "start": { + "line": 75, + "column": 54 + }, + "end": { + "line": 75, + "column": 58 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4412, + "end": 4416, + "loc": { + "start": { + "line": 75, + "column": 59 + }, + "end": { + "line": 75, + "column": 63 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4424, + "end": 4469, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4424, + "end": 4468, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4424, + "end": 4439, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 4424, + "end": 4428, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4429, + "end": 4439, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 19 + }, + "identifierName": "clearInput" + }, + "name": "clearInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4442, + "end": 4468, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4442, + "end": 4462, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 4442, + "end": 4457, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 4442, + "end": 4446, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 4447, + "end": 4457, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 37 + }, + "identifierName": "clearInput" + }, + "name": "clearInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4458, + "end": 4462, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 42 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4463, + "end": 4467, + "loc": { + "start": { + "line": 76, + "column": 43 + }, + "end": { + "line": 76, + "column": 47 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4475, + "end": 4516, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4475, + "end": 4515, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4475, + "end": 4488, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4475, + "end": 4479, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4480, + "end": 4488, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 17 + }, + "identifierName": "getInput" + }, + "name": "getInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4491, + "end": 4515, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4491, + "end": 4509, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4491, + "end": 4504, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4491, + "end": 4495, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4496, + "end": 4504, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 33 + }, + "identifierName": "getInput" + }, + "name": "getInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4510, + "end": 4514, + "loc": { + "start": { + "line": 77, + "column": 39 + }, + "end": { + "line": 77, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4522, + "end": 4563, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4522, + "end": 4562, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4522, + "end": 4535, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4522, + "end": 4526, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4527, + "end": 4535, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 17 + }, + "identifierName": "setInput" + }, + "name": "setInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4538, + "end": 4562, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4538, + "end": 4556, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4538, + "end": 4551, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4538, + "end": 4542, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4543, + "end": 4551, + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 33 + }, + "identifierName": "setInput" + }, + "name": "setInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4552, + "end": 4556, + "loc": { + "start": { + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4557, + "end": 4561, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4569, + "end": 4618, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4569, + "end": 4617, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 52 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4569, + "end": 4586, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 4569, + "end": 4573, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4574, + "end": 4586, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 21 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4589, + "end": 4617, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4589, + "end": 4611, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 4589, + "end": 4606, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 4589, + "end": 4593, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 4594, + "end": 4606, + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 41 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4607, + "end": 4611, + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 46 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4612, + "end": 4616, + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 51 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4624, + "end": 4659, "loc": { "start": { "line": 80, @@ -2328,13 +3635,13 @@ }, "end": { "line": 80, - "column": 20 + "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 4849, - "end": 4864, + "start": 4624, + "end": 4658, "loc": { "start": { "line": 80, @@ -2342,14 +3649,14 @@ }, "end": { "line": 80, - "column": 19 + "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4849, - "end": 4859, + "start": 4624, + "end": 4634, "loc": { "start": { "line": 80, @@ -2362,8 +3669,8 @@ }, "object": { "type": "ThisExpression", - "start": 4849, - "end": 4853, + "start": 4624, + "end": 4628, "loc": { "start": { "line": 80, @@ -2373,13 +3680,12 @@ "line": 80, "column": 8 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 4854, - "end": 4859, + "start": 4629, + "end": 4634, "loc": { "start": { "line": 80, @@ -2389,6 +3695,1945 @@ "line": 80, "column": 14 }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4637, + "end": 4658, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4637, + "end": 4652, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 4637, + "end": 4647, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 4637, + "end": 4641, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 4642, + "end": 4647, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 27 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4648, + "end": 4652, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 32 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4653, + "end": 4657, + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 80, + "column": 37 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4665, + "end": 4706, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4665, + "end": 4705, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4665, + "end": 4678, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4665, + "end": 4669, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4670, + "end": 4678, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 17 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4681, + "end": 4705, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4681, + "end": 4699, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4681, + "end": 4694, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4681, + "end": 4685, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4686, + "end": 4694, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 33 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4695, + "end": 4699, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4700, + "end": 4704, + "loc": { + "start": { + "line": 81, + "column": 39 + }, + "end": { + "line": 81, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4712, + "end": 4765, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4712, + "end": 4764, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4712, + "end": 4731, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 4712, + "end": 4716, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4717, + "end": 4731, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 23 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4734, + "end": 4764, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4734, + "end": 4758, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 4734, + "end": 4753, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 4734, + "end": 4738, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 4739, + "end": 4753, + "loc": { + "start": { + "line": 82, + "column": 31 + }, + "end": { + "line": 82, + "column": 45 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4754, + "end": 4758, + "loc": { + "start": { + "line": 82, + "column": 46 + }, + "end": { + "line": 82, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4759, + "end": 4763, + "loc": { + "start": { + "line": 82, + "column": 51 + }, + "end": { + "line": 82, + "column": 55 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4771, + "end": 4830, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4771, + "end": 4829, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4771, + "end": 4793, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4771, + "end": 4775, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4776, + "end": 4793, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 26 + }, + "identifierName": "removeButtonTheme" + }, + "name": "removeButtonTheme" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4796, + "end": 4829, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4796, + "end": 4823, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4796, + "end": 4818, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4796, + "end": 4800, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4801, + "end": 4818, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 51 + }, + "identifierName": "removeButtonTheme" + }, + "name": "removeButtonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 83, + "column": 52 + }, + "end": { + "line": 83, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4824, + "end": 4828, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4836, + "end": 4893, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4836, + "end": 4892, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4836, + "end": 4857, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 4836, + "end": 4840, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4841, + "end": 4857, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 25 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4860, + "end": 4892, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4860, + "end": 4886, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 4860, + "end": 4881, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 4860, + "end": 4864, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 4865, + "end": 4881, + "loc": { + "start": { + "line": 84, + "column": 33 + }, + "end": { + "line": 84, + "column": 49 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4882, + "end": 4886, + "loc": { + "start": { + "line": 84, + "column": 50 + }, + "end": { + "line": 84, + "column": 54 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4887, + "end": 4891, + "loc": { + "start": { + "line": 84, + "column": 55 + }, + "end": { + "line": 84, + "column": 59 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4899, + "end": 4946, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4899, + "end": 4945, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4899, + "end": 4915, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 4899, + "end": 4903, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4904, + "end": 4915, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4918, + "end": 4945, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4918, + "end": 4939, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4918, + "end": 4934, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 4918, + "end": 4922, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 4923, + "end": 4934, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 39 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4935, + "end": 4939, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4940, + "end": 4944, + "loc": { + "start": { + "line": 85, + "column": 45 + }, + "end": { + "line": 85, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4952, + "end": 5011, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4952, + "end": 5010, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4952, + "end": 4974, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4952, + "end": 4956, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4957, + "end": 4974, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 26 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4977, + "end": 5010, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4977, + "end": 5004, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4977, + "end": 4999, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4977, + "end": 4981, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4982, + "end": 4999, + "loc": { + "start": { + "line": 86, + "column": 34 + }, + "end": { + "line": 86, + "column": 51 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5000, + "end": 5004, + "loc": { + "start": { + "line": 86, + "column": 52 + }, + "end": { + "line": 86, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5005, + "end": 5009, + "loc": { + "start": { + "line": 86, + "column": 57 + }, + "end": { + "line": 86, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5017, + "end": 5054, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5017, + "end": 5053, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5017, + "end": 5028, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 5017, + "end": 5021, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5022, + "end": 5028, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 15 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5031, + "end": 5053, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5031, + "end": 5047, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 5031, + "end": 5042, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 5031, + "end": 5035, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 5036, + "end": 5042, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 29 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5043, + "end": 5047, + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5048, + "end": 5052, + "loc": { + "start": { + "line": 87, + "column": 35 + }, + "end": { + "line": 87, + "column": 39 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5060, + "end": 5101, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5060, + "end": 5100, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5060, + "end": 5073, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 5060, + "end": 5064, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5065, + "end": 5073, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5076, + "end": 5100, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5076, + "end": 5094, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 5076, + "end": 5089, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5076, + "end": 5080, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 5081, + "end": 5089, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 33 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5090, + "end": 5094, + "loc": { + "start": { + "line": 88, + "column": 34 + }, + "end": { + "line": 88, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5095, + "end": 5099, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5107, + "end": 5144, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5107, + "end": 5143, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5107, + "end": 5118, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 5107, + "end": 5111, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5112, + "end": 5118, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 15 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5121, + "end": 5143, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5121, + "end": 5137, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 5121, + "end": 5132, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 5121, + "end": 5125, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 5126, + "end": 5132, + "loc": { + "start": { + "line": 89, + "column": 23 + }, + "end": { + "line": 89, + "column": 29 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5133, + "end": 5137, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5138, + "end": 5142, + "loc": { + "start": { + "line": 89, + "column": 35 + }, + "end": { + "line": 89, + "column": 39 + } + } + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "start": 5152, + "end": 5811, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 5817, + "end": 5833, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5817, + "end": 5832, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5817, + "end": 5827, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5817, + "end": 5821, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5822, + "end": 5827, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 14 + }, "identifierName": "input" }, "name": "input" @@ -2398,15 +5643,15 @@ }, "right": { "type": "ObjectExpression", - "start": 4862, - "end": 4864, + "start": 5830, + "end": 5832, "loc": { "start": { - "line": 80, + "line": 105, "column": 17 }, "end": { - "line": 80, + "line": 105, "column": 19 } }, @@ -2418,15 +5663,15 @@ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", - "start": 4184, - "end": 4843, + "start": 5152, + "end": 5811, "loc": { "start": { - "line": 66, + "line": 91, "column": 4 }, "end": { - "line": 79, + "line": 104, "column": 7 } } @@ -2435,87 +5680,87 @@ }, { "type": "ExpressionStatement", - "start": 4871, - "end": 4911, + "start": 5839, + "end": 5879, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 4871, - "end": 4910, + "start": 5839, + "end": 5878, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4871, - "end": 4905, + "start": 5839, + "end": 5873, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4871, - "end": 4881, + "start": 5839, + "end": 5849, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4871, - "end": 4875, + "start": 5839, + "end": 5843, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4876, - "end": 4881, + "start": 5844, + "end": 5849, "loc": { "start": { - "line": 81, + "line": 106, "column": 9 }, "end": { - "line": 81, + "line": 106, "column": 14 }, "identifierName": "input" @@ -2526,58 +5771,58 @@ }, "property": { "type": "MemberExpression", - "start": 4882, - "end": 4904, + "start": 5850, + "end": 5872, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 4882, - "end": 4894, + "start": 5850, + "end": 5862, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4882, - "end": 4886, + "start": 5850, + "end": 5854, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4887, - "end": 4894, + "start": 5855, + "end": 5862, "loc": { "start": { - "line": 81, + "line": 106, "column": 20 }, "end": { - "line": 81, + "line": 106, "column": 27 }, "identifierName": "options" @@ -2588,15 +5833,15 @@ }, "property": { "type": "Identifier", - "start": 4895, - "end": 4904, + "start": 5863, + "end": 5872, "loc": { "start": { - "line": 81, + "line": 106, "column": 28 }, "end": { - "line": 81, + "line": 106, "column": 37 }, "identifierName": "inputName" @@ -2609,15 +5854,15 @@ }, "right": { "type": "StringLiteral", - "start": 4908, - "end": 4910, + "start": 5876, + "end": 5878, "loc": { "start": { - "line": 81, + "line": 106, "column": 41 }, "end": { - "line": 81, + "line": 106, "column": 43 } }, @@ -2632,15 +5877,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, + "start": 5887, + "end": 5996, "loc": { "start": { - "line": 83, + "line": 108, "column": 4 }, "end": { - "line": 85, + "line": 110, "column": 7 } } @@ -2649,58 +5894,58 @@ }, { "type": "ExpressionStatement", - "start": 5034, - "end": 5095, + "start": 6002, + "end": 6063, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5034, - "end": 5094, + "start": 6002, + "end": 6062, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5034, - "end": 5055, + "start": 6002, + "end": 6023, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5034, - "end": 5038, + "start": 6002, + "end": 6006, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 8 } }, @@ -2708,15 +5953,15 @@ }, "property": { "type": "Identifier", - "start": 5039, - "end": 5055, + "start": 6007, + "end": 6023, "loc": { "start": { - "line": 86, + "line": 111, "column": 9 }, "end": { - "line": 86, + "line": 111, "column": 25 }, "identifierName": "keyboardDOMClass" @@ -2728,71 +5973,71 @@ }, "right": { "type": "CallExpression", - "start": 5058, - "end": 5094, + "start": 6026, + "end": 6062, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5058, - "end": 5090, + "start": 6026, + "end": 6058, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 60 } }, "object": { "type": "CallExpression", - "start": 5058, - "end": 5085, + "start": 6026, + "end": 6053, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 5058, - "end": 5080, + "start": 6026, + "end": 6048, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 50 } }, "object": { "type": "Identifier", - "start": 5058, - "end": 5074, + "start": 6026, + "end": 6042, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 44 }, "identifierName": "keyboardDOMQuery" @@ -2801,15 +6046,15 @@ }, "property": { "type": "Identifier", - "start": 5075, - "end": 5080, + "start": 6043, + "end": 6048, "loc": { "start": { - "line": 86, + "line": 111, "column": 45 }, "end": { - "line": 86, + "line": 111, "column": 50 }, "identifierName": "split" @@ -2821,15 +6066,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5081, - "end": 5084, + "start": 6049, + "end": 6052, "loc": { "start": { - "line": 86, + "line": 111, "column": 51 }, "end": { - "line": 86, + "line": 111, "column": 54 } }, @@ -2843,15 +6088,15 @@ }, "property": { "type": "Identifier", - "start": 5086, - "end": 5090, + "start": 6054, + "end": 6058, "loc": { "start": { - "line": 86, + "line": 111, "column": 56 }, "end": { - "line": 86, + "line": 111, "column": 60 }, "identifierName": "join" @@ -2863,15 +6108,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5091, - "end": 5093, + "start": 6059, + "end": 6061, "loc": { "start": { - "line": 86, + "line": 111, "column": 61 }, "end": { - "line": 86, + "line": 111, "column": 63 } }, @@ -2889,15 +6134,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, + "start": 5887, + "end": 5996, "loc": { "start": { - "line": 83, + "line": 108, "column": 4 }, "end": { - "line": 85, + "line": 110, "column": 7 } } @@ -2907,15 +6152,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, + "start": 6071, + "end": 6216, "loc": { "start": { - "line": 88, + "line": 113, "column": 4 }, "end": { - "line": 90, + "line": 115, "column": 7 } } @@ -2924,58 +6169,58 @@ }, { "type": "ExpressionStatement", - "start": 5254, - "end": 5279, + "start": 6222, + "end": 6247, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 5254, - "end": 5278, + "start": 6222, + "end": 6246, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5254, - "end": 5273, + "start": 6222, + "end": 6241, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5254, - "end": 5258, + "start": 6222, + "end": 6226, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 8 } }, @@ -2983,15 +6228,15 @@ }, "property": { "type": "Identifier", - "start": 5259, - "end": 5273, + "start": 6227, + "end": 6241, "loc": { "start": { - "line": 91, + "line": 116, "column": 9 }, "end": { - "line": 91, + "line": 116, "column": 23 }, "identifierName": "buttonElements" @@ -3003,15 +6248,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5276, - "end": 5278, + "start": 6244, + "end": 6246, "loc": { "start": { - "line": 91, + "line": 116, "column": 26 }, "end": { - "line": 91, + "line": 116, "column": 28 } }, @@ -3023,15 +6268,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, + "start": 6071, + "end": 6216, "loc": { "start": { - "line": 88, + "line": 113, "column": 4 }, "end": { - "line": 90, + "line": 115, "column": 7 } } @@ -3041,15 +6286,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -3058,43 +6303,43 @@ }, { "type": "IfStatement", - "start": 5332, - "end": 5511, + "start": 6300, + "end": 6479, "loc": { "start": { - "line": 96, + "line": 121, "column": 4 }, "end": { - "line": 101, + "line": 126, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 5335, - "end": 5351, + "start": 6303, + "end": 6319, "loc": { "start": { - "line": 96, + "line": 121, "column": 7 }, "end": { - "line": 96, + "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5335, - "end": 5339, + "start": 6303, + "end": 6307, "loc": { "start": { - "line": 96, + "line": 121, "column": 7 }, "end": { - "line": 96, + "line": 121, "column": 11 } }, @@ -3102,15 +6347,15 @@ }, "property": { "type": "Identifier", - "start": 5340, - "end": 5351, + "start": 6308, + "end": 6319, "loc": { "start": { - "line": 96, + "line": 121, "column": 12 }, "end": { - "line": 96, + "line": 121, "column": 23 }, "identifierName": "keyboardDOM" @@ -3122,72 +6367,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5360, - "end": 5374, + "start": 6328, + "end": 6342, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 5360, - "end": 5373, + "start": 6328, + "end": 6341, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 5360, - "end": 5371, + "start": 6328, + "end": 6339, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5360, - "end": 5364, + "start": 6328, + "end": 6332, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5365, - "end": 5371, + "start": 6333, + "end": 6339, "loc": { "start": { - "line": 97, + "line": 122, "column": 11 }, "end": { - "line": 97, + "line": 122, "column": 17 }, "identifierName": "render" @@ -3201,72 +6446,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 5385, - "end": 5511, + "start": 6353, + "end": 6479, "loc": { "start": { - "line": 98, + "line": 123, "column": 9 }, "end": { - "line": 101, + "line": 126, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5394, - "end": 5458, + "start": 6362, + "end": 6426, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 5394, - "end": 5457, + "start": 6362, + "end": 6425, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 5394, - "end": 5406, + "start": 6362, + "end": 6374, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 18 } }, "object": { "type": "Identifier", - "start": 5394, - "end": 5401, + "start": 6362, + "end": 6369, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 13 }, "identifierName": "console" @@ -3275,15 +6520,15 @@ }, "property": { "type": "Identifier", - "start": 5402, - "end": 5406, + "start": 6370, + "end": 6374, "loc": { "start": { - "line": 99, + "line": 124, "column": 14 }, "end": { - "line": 99, + "line": 124, "column": 18 }, "identifierName": "warn" @@ -3295,30 +6540,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 5407, - "end": 5456, + "start": 6375, + "end": 6424, "loc": { "start": { - "line": 99, + "line": 124, "column": 19 }, "end": { - "line": 99, + "line": 124, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 5411, - "end": 5427, + "start": 6379, + "end": 6395, "loc": { "start": { - "line": 99, + "line": 124, "column": 23 }, "end": { - "line": 99, + "line": 124, "column": 39 }, "identifierName": "keyboardDOMQuery" @@ -3329,15 +6574,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 5408, - "end": 5409, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 99, + "line": 124, "column": 20 }, "end": { - "line": 99, + "line": 124, "column": 21 } }, @@ -3349,15 +6594,15 @@ }, { "type": "TemplateElement", - "start": 5428, - "end": 5455, + "start": 6396, + "end": 6423, "loc": { "start": { - "line": 99, + "line": 124, "column": 40 }, "end": { - "line": 99, + "line": 124, "column": 67 } }, @@ -3374,43 +6619,43 @@ }, { "type": "ThrowStatement", - "start": 5466, - "end": 5504, + "start": 6434, + "end": 6472, "loc": { "start": { - "line": 100, + "line": 125, "column": 6 }, "end": { - "line": 100, + "line": 125, "column": 44 } }, "argument": { "type": "NewExpression", - "start": 5472, - "end": 5503, + "start": 6440, + "end": 6471, "loc": { "start": { - "line": 100, + "line": 125, "column": 12 }, "end": { - "line": 100, + "line": 125, "column": 43 } }, "callee": { "type": "Identifier", - "start": 5476, - "end": 5481, + "start": 6444, + "end": 6449, "loc": { "start": { - "line": 100, + "line": 125, "column": 16 }, "end": { - "line": 100, + "line": 125, "column": 21 }, "identifierName": "Error" @@ -3420,15 +6665,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5482, - "end": 5502, + "start": 6450, + "end": 6470, "loc": { "start": { - "line": 100, + "line": 125, "column": 22 }, "end": { - "line": 100, + "line": 125, "column": 42 } }, @@ -3449,15 +6694,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -3467,15 +6712,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -3484,29 +6729,29 @@ }, { "type": "IfStatement", - "start": 5638, - "end": 5723, + "start": 6606, + "end": 6691, "loc": { "start": { - "line": 107, + "line": 132, "column": 4 }, "end": { - "line": 108, + "line": 133, "column": 45 } }, "test": { "type": "UnaryExpression", - "start": 5641, - "end": 5675, + "start": 6609, + "end": 6643, "loc": { "start": { - "line": 107, + "line": 132, "column": 7 }, "end": { - "line": 107, + "line": 132, "column": 41 } }, @@ -3514,29 +6759,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5642, - "end": 5675, + "start": 6610, + "end": 6643, "loc": { "start": { - "line": 107, + "line": 132, "column": 8 }, "end": { - "line": 107, + "line": 132, "column": 41 } }, "object": { "type": "Identifier", - "start": 5642, - "end": 5648, + "start": 6610, + "end": 6616, "loc": { "start": { - "line": 107, + "line": 132, "column": 8 }, "end": { - "line": 107, + "line": 132, "column": 14 }, "identifierName": "window" @@ -3546,15 +6791,15 @@ }, "property": { "type": "StringLiteral", - "start": 5649, - "end": 5674, + "start": 6617, + "end": 6642, "loc": { "start": { - "line": 107, + "line": 132, "column": 15 }, "end": { - "line": 107, + "line": 132, "column": 40 } }, @@ -3574,58 +6819,58 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5684, - "end": 5723, + "start": 6652, + "end": 6691, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 5684, - "end": 5722, + "start": 6652, + "end": 6690, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5684, - "end": 5717, + "start": 6652, + "end": 6685, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 39 } }, "object": { "type": "Identifier", - "start": 5684, - "end": 5690, + "start": 6652, + "end": 6658, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 12 }, "identifierName": "window" @@ -3634,15 +6879,15 @@ }, "property": { "type": "StringLiteral", - "start": 5691, - "end": 5716, + "start": 6659, + "end": 6684, "loc": { "start": { - "line": 108, + "line": 133, "column": 13 }, "end": { - "line": 108, + "line": 133, "column": 38 } }, @@ -3656,15 +6901,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5720, - "end": 5722, + "start": 6688, + "end": 6690, "loc": { "start": { - "line": 108, + "line": 133, "column": 42 }, "end": { - "line": 108, + "line": 133, "column": 44 } }, @@ -3677,15 +6922,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -3694,72 +6939,72 @@ }, { "type": "ExpressionStatement", - "start": 5737, - "end": 5827, + "start": 6705, + "end": 6795, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 94 } }, "expression": { "type": "AssignmentExpression", - "start": 5737, - "end": 5826, + "start": 6705, + "end": 6794, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5737, - "end": 5819, + "start": 6705, + "end": 6787, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 86 } }, "object": { "type": "MemberExpression", - "start": 5737, - "end": 5770, + "start": 6705, + "end": 6738, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 37 } }, "object": { "type": "Identifier", - "start": 5737, - "end": 5743, + "start": 6705, + "end": 6711, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 10 }, "identifierName": "window" @@ -3768,15 +7013,15 @@ }, "property": { "type": "StringLiteral", - "start": 5744, - "end": 5769, + "start": 6712, + "end": 6737, "loc": { "start": { - "line": 110, + "line": 135, "column": 11 }, "end": { - "line": 110, + "line": 135, "column": 36 } }, @@ -3790,72 +7035,72 @@ }, "property": { "type": "CallExpression", - "start": 5771, - "end": 5818, + "start": 6739, + "end": 6786, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 5771, - "end": 5795, + "start": 6739, + "end": 6763, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 5771, - "end": 5785, + "start": 6739, + "end": 6753, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 5771, - "end": 5775, + "start": 6739, + "end": 6743, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 42 } } }, "property": { "type": "Identifier", - "start": 5776, - "end": 5785, + "start": 6744, + "end": 6753, "loc": { "start": { - "line": 110, + "line": 135, "column": 43 }, "end": { - "line": 110, + "line": 135, "column": 52 }, "identifierName": "utilities" @@ -3866,15 +7111,15 @@ }, "property": { "type": "Identifier", - "start": 5786, - "end": 5795, + "start": 6754, + "end": 6763, "loc": { "start": { - "line": 110, + "line": 135, "column": 53 }, "end": { - "line": 110, + "line": 135, "column": 62 }, "identifierName": "camelCase" @@ -3886,44 +7131,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 5796, - "end": 5817, + "start": 6764, + "end": 6785, "loc": { "start": { - "line": 110, + "line": 135, "column": 63 }, "end": { - "line": 110, + "line": 135, "column": 84 } }, "object": { "type": "ThisExpression", - "start": 5796, - "end": 5800, + "start": 6764, + "end": 6768, "loc": { "start": { - "line": 110, + "line": 135, "column": 63 }, "end": { - "line": 110, + "line": 135, "column": 67 } } }, "property": { "type": "Identifier", - "start": 5801, - "end": 5817, + "start": 6769, + "end": 6785, "loc": { "start": { - "line": 110, + "line": 135, "column": 68 }, "end": { - "line": 110, + "line": 135, "column": 84 }, "identifierName": "keyboardDOMClass" @@ -3938,15 +7183,15 @@ }, "right": { "type": "ThisExpression", - "start": 5822, - "end": 5826, + "start": 6790, + "end": 6794, "loc": { "start": { - "line": 110, + "line": 135, "column": 89 }, "end": { - "line": 110, + "line": 135, "column": 93 } } @@ -3956,15 +7201,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -3973,58 +7218,58 @@ }, { "type": "ExpressionStatement", - "start": 5887, - "end": 5947, + "start": 6855, + "end": 6915, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 5887, - "end": 5946, + "start": 6855, + "end": 6914, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5887, - "end": 5917, + "start": 6855, + "end": 6885, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 5887, - "end": 5891, + "start": 6855, + "end": 6859, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 8 } }, @@ -4032,15 +7277,15 @@ }, "property": { "type": "Identifier", - "start": 5892, - "end": 5917, + "start": 6860, + "end": 6885, "loc": { "start": { - "line": 115, + "line": 140, "column": 9 }, "end": { - "line": 115, + "line": 140, "column": 34 }, "identifierName": "physicalKeyboardInterface" @@ -4052,29 +7297,29 @@ }, "right": { "type": "NewExpression", - "start": 5920, - "end": 5946, + "start": 6888, + "end": 6914, "loc": { "start": { - "line": 115, + "line": 140, "column": 37 }, "end": { - "line": 115, + "line": 140, "column": 63 } }, "callee": { "type": "Identifier", - "start": 5924, - "end": 5940, + "start": 6892, + "end": 6908, "loc": { "start": { - "line": 115, + "line": 140, "column": 41 }, "end": { - "line": 115, + "line": 140, "column": 57 }, "identifierName": "PhysicalKeyboard" @@ -4084,15 +7329,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5941, - "end": 5945, + "start": 6909, + "end": 6913, "loc": { "start": { - "line": 115, + "line": 140, "column": 58 }, "end": { - "line": 115, + "line": 140, "column": 62 } } @@ -4105,15 +7350,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -4146,15 +7391,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 117, + "line": 142, "column": 2 }, "end": { - "line": 120, + "line": 145, "column": 5 } } @@ -4162,16 +7407,16 @@ ] }, { - "type": "ClassProperty", - "start": 6072, - "end": 7466, + "type": "ClassMethod", + "start": 7040, + "end": 8427, "loc": { "start": { - "line": 121, + "line": 146, "column": 2 }, "end": { - "line": 171, + "line": 196, "column": 3 } }, @@ -4179,15 +7424,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6072, - "end": 6091, + "start": 7040, + "end": 7059, "loc": { "start": { - "line": 121, + "line": 146, "column": 2 }, "end": { - "line": 121, + "line": 146, "column": 21 }, "identifierName": "handleButtonClicked" @@ -4195,585 +7440,964 @@ "name": "handleButtonClicked", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 6094, - "end": 7466, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7060, + "end": 7066, + "loc": { + "start": { + "line": 146, + "column": 22 + }, + "end": { + "line": 146, + "column": 28 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 7067, + "end": 8427, "loc": { "start": { - "line": 121, - "column": 24 + "line": 146, + "column": 29 }, "end": { - "line": 171, + "line": 196, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 6095, - "end": 6101, + "type": "VariableDeclaration", + "start": 7074, + "end": 7105, "loc": { "start": { - "line": 121, - "column": 25 + "line": 147, + "column": 4 }, "end": { - "line": 121, - "column": 31 - }, - "identifierName": "button" + "line": 147, + "column": 35 + } }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 6106, - "end": 7466, - "loc": { - "start": { - "line": 121, - "column": 36 - }, - "end": { - "line": 171, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 6113, - "end": 6144, - "loc": { - "start": { - "line": 122, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7078, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 34 + } }, - "end": { - "line": 122, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6117, - "end": 6143, + "id": { + "type": "Identifier", + "start": 7078, + "end": 7083, "loc": { "start": { - "line": 122, + "line": 147, "column": 8 }, "end": { - "line": 122, + "line": 147, + "column": 13 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "init": { + "type": "MemberExpression", + "start": 7086, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, "column": 34 } }, - "id": { - "type": "Identifier", - "start": 6117, - "end": 6122, + "object": { + "type": "MemberExpression", + "start": 7086, + "end": 7098, "loc": { "start": { - "line": 122, - "column": 8 + "line": 147, + "column": 16 }, "end": { - "line": 122, - "column": 13 + "line": 147, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 7086, + "end": 7090, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 7091, + "end": 7098, + "loc": { + "start": { + "line": 147, + "column": 21 + }, + "end": { + "line": 147, + "column": 28 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7099, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 29 + }, + "end": { + "line": 147, + "column": 34 }, "identifierName": "debug" }, "name": "debug" }, - "init": { - "type": "MemberExpression", - "start": 6125, - "end": 6143, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 6125, - "end": 6137, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 6125, - "end": 6129, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6130, - "end": 6137, - "loc": { - "start": { - "line": 122, - "column": 21 - }, - "end": { - "line": 122, - "column": 28 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6138, - "end": 6143, - "loc": { - "start": { - "line": 122, - "column": 29 - }, - "end": { - "line": 122, - "column": 34 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - } + "computed": false } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, - "loc": { - "start": { - "line": 124, - "column": 4 - }, - "end": { - "line": 126, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 6207, - "end": 6249, - "loc": { - "start": { - "line": 127, - "column": 4 - }, - "end": { - "line": 128, - "column": 19 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6210, - "end": 6227, + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7113, + "end": 7162, "loc": { "start": { - "line": 127, + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7168, + "end": 7210, + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 153, + "column": 19 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7171, + "end": 7188, + "loc": { + "start": { + "line": 152, + "column": 7 + }, + "end": { + "line": 152, + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 7171, + "end": 7177, + "loc": { + "start": { + "line": 152, "column": 7 }, "end": { - "line": 127, + "line": 152, + "column": 13 + }, + "identifierName": "button" + }, + "name": "button", + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7182, + "end": 7188, + "loc": { + "start": { + "line": 152, + "column": 18 + }, + "end": { + "line": 152, "column": 24 } }, - "left": { - "type": "Identifier", - "start": 6210, - "end": 6216, - "loc": { - "start": { - "line": 127, - "column": 7 - }, - "end": { - "line": 127, - "column": 13 - }, - "identifierName": "button" - }, - "name": "button", - "leadingComments": null + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6221, - "end": 6227, - "loc": { - "start": { - "line": 127, - "column": 18 - }, - "end": { - "line": 127, - "column": 24 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - }, - "leadingComments": null + "value": "{//}" }, - "consequent": { - "type": "ReturnStatement", - "start": 6236, - "end": 6249, - "loc": { - "start": { - "line": 128, - "column": 6 - }, - "end": { - "line": 128, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 6243, - "end": 6248, - "loc": { - "start": { - "line": 128, - "column": 13 - }, - "end": { - "line": 128, - "column": 18 - } - }, - "value": false - }, - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, - "loc": { - "start": { - "line": 124, - "column": 4 - }, - "end": { - "line": 126, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 132, - "column": 7 - } - } - } - ] + "leadingComments": null }, - { - "type": "IfStatement", - "start": 6302, - "end": 6391, + "consequent": { + "type": "ReturnStatement", + "start": 7197, + "end": 7210, "loc": { "start": { - "line": 133, - "column": 4 + "line": 153, + "column": 6 }, "end": { - "line": 134, - "column": 38 + "line": 153, + "column": 19 } }, - "test": { - "type": "BinaryExpression", - "start": 6305, - "end": 6350, + "argument": { + "type": "BooleanLiteral", + "start": 7204, + "end": 7209, "loc": { "start": { - "line": 133, + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 18 + } + }, + "value": false + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7113, + "end": 7162, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7218, + "end": 7257, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7263, + "end": 7352, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 159, + "column": 38 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7266, + "end": 7311, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 52 + } + }, + "left": { + "type": "UnaryExpression", + "start": 7266, + "end": 7296, + "loc": { + "start": { + "line": 158, "column": 7 }, "end": { - "line": 133, - "column": 52 + "line": 158, + "column": 37 } }, - "left": { - "type": "UnaryExpression", - "start": 6305, - "end": 6335, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 7273, + "end": 7296, "loc": { "start": { - "line": 133, - "column": 7 + "line": 158, + "column": 14 }, "end": { - "line": 133, + "line": 158, "column": 37 } }, - "operator": "typeof", - "prefix": true, - "argument": { + "object": { "type": "MemberExpression", - "start": 6312, - "end": 6335, + "start": 7273, + "end": 7285, "loc": { "start": { - "line": 133, + "line": 158, "column": 14 }, "end": { - "line": 133, - "column": 37 + "line": 158, + "column": 26 } }, "object": { - "type": "MemberExpression", - "start": 6312, - "end": 6324, + "type": "ThisExpression", + "start": 7273, + "end": 7277, "loc": { "start": { - "line": 133, + "line": 158, "column": 14 }, "end": { - "line": 133, - "column": 26 + "line": 158, + "column": 18 } }, - "object": { - "type": "ThisExpression", - "start": 6312, - "end": 6316, - "loc": { - "start": { - "line": 133, - "column": 14 - }, - "end": { - "line": 133, - "column": 18 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6317, - "end": 6324, - "loc": { - "start": { - "line": 133, - "column": 19 - }, - "end": { - "line": 133, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 6325, - "end": 6335, + "start": 7278, + "end": 7285, "loc": { "start": { - "line": 133, - "column": 27 + "line": 158, + "column": 19 }, "end": { - "line": 133, - "column": 37 + "line": 158, + "column": 26 }, - "identifierName": "onKeyPress" + "identifierName": "options" }, - "name": "onKeyPress" + "name": "options" }, "computed": false, "leadingComments": null }, - "extra": { - "parenthesizedArgument": false + "property": { + "type": "Identifier", + "start": 7286, + "end": 7296, + "loc": { + "start": { + "line": 158, + "column": 27 + }, + "end": { + "line": 158, + "column": 37 + }, + "identifierName": "onKeyPress" + }, + "name": "onKeyPress" }, + "computed": false, "leadingComments": null }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6340, - "end": 6350, - "loc": { - "start": { - "line": 133, - "column": 42 - }, - "end": { - "line": 133, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" + "extra": { + "parenthesizedArgument": false }, "leadingComments": null }, - "consequent": { - "type": "ExpressionStatement", - "start": 6359, - "end": 6391, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7301, + "end": 7311, "loc": { "start": { - "line": 134, + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 52 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + }, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7320, + "end": 7352, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 7320, + "end": 7351, + "loc": { + "start": { + "line": 159, "column": 6 }, "end": { - "line": 134, - "column": 38 + "line": 159, + "column": 37 } }, - "expression": { - "type": "CallExpression", - "start": 6359, - "end": 6390, + "callee": { + "type": "MemberExpression", + "start": 7320, + "end": 7343, "loc": { "start": { - "line": 134, + "line": 159, "column": 6 }, "end": { - "line": 134, - "column": 37 + "line": 159, + "column": 29 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 6359, - "end": 6382, + "start": 7320, + "end": 7332, "loc": { "start": { - "line": 134, + "line": 159, "column": 6 }, "end": { - "line": 134, + "line": 159, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 7320, + "end": 7324, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7325, + "end": 7332, + "loc": { + "start": { + "line": 159, + "column": 11 + }, + "end": { + "line": 159, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7333, + "end": 7343, + "loc": { + "start": { + "line": 159, + "column": 19 + }, + "end": { + "line": 159, "column": 29 + }, + "identifierName": "onKeyPress" + }, + "name": "onKeyPress" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7344, + "end": 7350, + "loc": { + "start": { + "line": 159, + "column": 30 + }, + "end": { + "line": 159, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7218, + "end": 7257, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7364, + "end": 7451, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 162, + "column": 46 + } + }, + "test": { + "type": "UnaryExpression", + "start": 7367, + "end": 7402, + "loc": { + "start": { + "line": 161, + "column": 7 + }, + "end": { + "line": 161, + "column": 42 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 7368, + "end": 7402, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 7368, + "end": 7378, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 7368, + "end": 7372, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 7373, + "end": 7378, + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 161, + "column": 18 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7379, + "end": 7401, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 7379, + "end": 7391, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 7379, + "end": 7383, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 7384, + "end": 7391, + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 31 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7392, + "end": 7401, + "loc": { + "start": { + "line": 161, + "column": 32 + }, + "end": { + "line": 161, + "column": 41 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7411, + "end": 7451, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7411, + "end": 7450, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7411, + "end": 7445, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7411, + "end": 7421, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7411, + "end": 7415, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7416, + "end": 7421, + "loc": { + "start": { + "line": 162, + "column": 11 + }, + "end": { + "line": 162, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7422, + "end": 7444, + "loc": { + "start": { + "line": 162, + "column": 17 + }, + "end": { + "line": 162, + "column": 39 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6371, + "start": 7422, + "end": 7434, "loc": { "start": { - "line": 134, - "column": 6 + "line": 162, + "column": 17 }, "end": { - "line": 134, - "column": 18 + "line": 162, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 6359, - "end": 6363, + "start": 7422, + "end": 7426, "loc": { "start": { - "line": 134, - "column": 6 + "line": 162, + "column": 17 }, "end": { - "line": 134, - "column": 10 + "line": 162, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 6364, - "end": 6371, + "start": 7427, + "end": 7434, "loc": { "start": { - "line": 134, - "column": 11 + "line": 162, + "column": 22 }, "end": { - "line": 134, - "column": 18 + "line": 162, + "column": 29 }, "identifierName": "options" }, @@ -4783,1897 +8407,729 @@ }, "property": { "type": "Identifier", - "start": 6372, - "end": 6382, + "start": 7435, + "end": 7444, "loc": { "start": { - "line": 134, - "column": 19 + "line": 162, + "column": 30 }, "end": { - "line": 134, - "column": 29 + "line": 162, + "column": 39 }, - "identifierName": "onKeyPress" + "identifierName": "inputName" }, - "name": "onKeyPress" + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "StringLiteral", + "start": 7448, + "end": 7450, + "loc": { + "start": { + "line": 162, + "column": 43 + }, + "end": { + "line": 162, + "column": 45 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 7459, + "end": 7587, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 164, + "column": 132 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7463, + "end": 7586, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 131 + } + }, + "id": { + "type": "Identifier", + "start": 7463, + "end": 7475, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 20 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + }, + "init": { + "type": "CallExpression", + "start": 7478, + "end": 7586, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 131 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7478, + "end": 7508, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 7478, + "end": 7492, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 7478, + "end": 7482, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 7483, + "end": 7492, + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 37 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7493, + "end": 7508, + "loc": { + "start": { + "line": 164, + "column": 38 + }, + "end": { + "line": 164, + "column": 53 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 6383, - "end": 6389, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 134, - "column": 30 + "line": 164, + "column": 54 }, "end": { - "line": 134, - "column": 36 + "line": 164, + "column": 60 }, "identifierName": "button" }, "name": "button" - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, - "loc": { - "start": { - "line": 130, - "column": 4 }, - "end": { - "line": 132, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 6403, - "end": 6490, - "loc": { - "start": { - "line": 136, - "column": 4 - }, - "end": { - "line": 137, - "column": 46 - } - }, - "test": { - "type": "UnaryExpression", - "start": 6406, - "end": 6441, - "loc": { - "start": { - "line": 136, - "column": 7 - }, - "end": { - "line": 136, - "column": 42 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 6407, - "end": 6441, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 6407, - "end": 6417, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 6407, - "end": 6411, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 6412, - "end": 6417, - "loc": { - "start": { - "line": 136, - "column": 13 - }, - "end": { - "line": 136, - "column": 18 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6418, - "end": 6440, - "loc": { - "start": { - "line": 136, - "column": 19 - }, - "end": { - "line": 136, - "column": 41 - } - }, - "object": { + { "type": "MemberExpression", - "start": 6418, - "end": 6430, + "start": 7517, + "end": 7551, "loc": { "start": { - "line": 136, - "column": 19 + "line": 164, + "column": 62 }, "end": { - "line": 136, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6418, - "end": 6422, - "loc": { - "start": { - "line": 136, - "column": 19 - }, - "end": { - "line": 136, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 6423, - "end": 6430, - "loc": { - "start": { - "line": 136, - "column": 24 - }, - "end": { - "line": 136, - "column": 31 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6431, - "end": 6440, - "loc": { - "start": { - "line": 136, - "column": 32 - }, - "end": { - "line": 136, - "column": 41 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 6450, - "end": 6490, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 46 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6450, - "end": 6489, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 45 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6450, - "end": 6484, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6450, - "end": 6460, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 6450, - "end": 6454, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 6455, - "end": 6460, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 137, - "column": 16 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6461, - "end": 6483, - "loc": { - "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 39 + "line": 164, + "column": 96 } }, "object": { "type": "MemberExpression", - "start": 6461, - "end": 6473, + "start": 7517, + "end": 7527, "loc": { "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 6461, - "end": 6465, - "loc": { - "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 6466, - "end": 6473, - "loc": { - "start": { - "line": 137, - "column": 22 - }, - "end": { - "line": 137, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6474, - "end": 6483, - "loc": { - "start": { - "line": 137, - "column": 30 - }, - "end": { - "line": 137, - "column": 39 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "StringLiteral", - "start": 6487, - "end": 6489, - "loc": { - "start": { - "line": 137, - "column": 43 - }, - "end": { - "line": 137, - "column": 45 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - } - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 6498, - "end": 6626, - "loc": { - "start": { - "line": 139, - "column": 4 - }, - "end": { - "line": 139, - "column": 132 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6502, - "end": 6625, - "loc": { - "start": { - "line": 139, - "column": 8 - }, - "end": { - "line": 139, - "column": 131 - } - }, - "id": { - "type": "Identifier", - "start": 6502, - "end": 6514, - "loc": { - "start": { - "line": 139, - "column": 8 - }, - "end": { - "line": 139, - "column": 20 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - }, - "init": { - "type": "CallExpression", - "start": 6517, - "end": 6625, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 131 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6517, - "end": 6547, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 53 - } - }, - "object": { - "type": "MemberExpression", - "start": 6517, - "end": 6531, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 37 - } - }, - "object": { - "type": "ThisExpression", - "start": 6517, - "end": 6521, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 6522, - "end": 6531, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 37 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6532, - "end": 6547, - "loc": { - "start": { - "line": 139, - "column": 38 - }, - "end": { - "line": 139, - "column": 53 - }, - "identifierName": "getUpdatedInput" - }, - "name": "getUpdatedInput" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 6548, - "end": 6554, - "loc": { - "start": { - "line": 139, - "column": 54 - }, - "end": { - "line": 139, - "column": 60 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "MemberExpression", - "start": 6556, - "end": 6590, - "loc": { - "start": { - "line": 139, + "line": 164, "column": 62 }, "end": { - "line": 139, - "column": 96 + "line": 164, + "column": 72 } }, "object": { - "type": "MemberExpression", - "start": 6556, - "end": 6566, + "type": "ThisExpression", + "start": 7517, + "end": 7521, "loc": { "start": { - "line": 139, + "line": 164, "column": 62 }, "end": { - "line": 139, - "column": 72 + "line": 164, + "column": 66 } - }, - "object": { - "type": "ThisExpression", - "start": 6556, - "end": 6560, - "loc": { - "start": { - "line": 139, - "column": 62 - }, - "end": { - "line": 139, - "column": 66 - } - } - }, - "property": { - "type": "Identifier", - "start": 6561, - "end": 6566, - "loc": { - "start": { - "line": 139, - "column": 67 - }, - "end": { - "line": 139, - "column": 72 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false + } }, "property": { - "type": "MemberExpression", - "start": 6567, - "end": 6589, + "type": "Identifier", + "start": 7522, + "end": 7527, "loc": { "start": { - "line": 139, + "line": 164, + "column": 67 + }, + "end": { + "line": 164, + "column": 72 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7528, + "end": 7550, + "loc": { + "start": { + "line": 164, + "column": 73 + }, + "end": { + "line": 164, + "column": 95 + } + }, + "object": { + "type": "MemberExpression", + "start": 7528, + "end": 7540, + "loc": { + "start": { + "line": 164, "column": 73 }, "end": { - "line": 139, - "column": 95 - } - }, - "object": { - "type": "MemberExpression", - "start": 6567, - "end": 6579, - "loc": { - "start": { - "line": 139, - "column": 73 - }, - "end": { - "line": 139, - "column": 85 - } - }, - "object": { - "type": "ThisExpression", - "start": 6567, - "end": 6571, - "loc": { - "start": { - "line": 139, - "column": 73 - }, - "end": { - "line": 139, - "column": 77 - } - } - }, - "property": { - "type": "Identifier", - "start": 6572, - "end": 6579, - "loc": { - "start": { - "line": 139, - "column": 78 - }, - "end": { - "line": 139, - "column": 85 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6580, - "end": 6589, - "loc": { - "start": { - "line": 139, - "column": 86 - }, - "end": { - "line": 139, - "column": 95 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - { - "type": "MemberExpression", - "start": 6592, - "end": 6604, - "loc": { - "start": { - "line": 139, - "column": 98 - }, - "end": { - "line": 139, - "column": 110 - } - }, - "object": { - "type": "ThisExpression", - "start": 6592, - "end": 6596, - "loc": { - "start": { - "line": 139, - "column": 98 - }, - "end": { - "line": 139, - "column": 102 - } - } - }, - "property": { - "type": "Identifier", - "start": 6597, - "end": 6604, - "loc": { - "start": { - "line": 139, - "column": 103 - }, - "end": { - "line": 139, - "column": 110 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 6606, - "end": 6624, - "loc": { - "start": { - "line": 139, - "column": 112 - }, - "end": { - "line": 139, - "column": 130 - } - }, - "object": { - "type": "ThisExpression", - "start": 6606, - "end": 6610, - "loc": { - "start": { - "line": 139, - "column": 112 - }, - "end": { - "line": 139, - "column": 116 - } - } - }, - "property": { - "type": "Identifier", - "start": 6611, - "end": 6624, - "loc": { - "start": { - "line": 139, - "column": 117 - }, - "end": { - "line": 139, - "column": 130 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 6634, - "end": 7388, - "loc": { - "start": { - "line": 141, - "column": 4 - }, - "end": { - "line": 166, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6637, - "end": 6688, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 58 - } - }, - "left": { - "type": "MemberExpression", - "start": 6637, - "end": 6671, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 6637, - "end": 6647, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 6637, - "end": 6641, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 6642, - "end": 6647, - "loc": { - "start": { - "line": 141, - "column": 12 - }, - "end": { - "line": 141, - "column": 17 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6648, - "end": 6670, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6648, - "end": 6660, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 30 - } - }, - "object": { - "type": "ThisExpression", - "start": 6648, - "end": 6652, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "start": 6653, - "end": 6660, - "loc": { - "start": { - "line": 141, - "column": 23 - }, - "end": { - "line": 141, - "column": 30 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6661, - "end": 6670, - "loc": { - "start": { - "line": 141, - "column": 31 - }, - "end": { - "line": 141, - "column": 40 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 6676, - "end": 6688, - "loc": { - "start": { - "line": 141, - "column": 46 - }, - "end": { - "line": 141, - "column": 58 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 6689, - "end": 7388, - "loc": { - "start": { - "line": 141, - "column": 59 - }, - "end": { - "line": 166, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6785, - "end": 6918, - "loc": { - "start": { - "line": 146, - "column": 6 - }, - "end": { - "line": 148, - "column": 7 - } - }, - "test": { - "type": "LogicalExpression", - "start": 6788, - "end": 6884, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 6788, - "end": 6810, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 6788, - "end": 6800, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 21 + "line": 164, + "column": 85 } }, "object": { "type": "ThisExpression", - "start": 6788, - "end": 6792, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 146, - "column": 9 + "line": 164, + "column": 73 }, "end": { - "line": 146, - "column": 13 + "line": 164, + "column": 77 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 6793, - "end": 6800, + "start": 7533, + "end": 7540, "loc": { "start": { - "line": 146, - "column": 14 + "line": 164, + "column": 78 }, "end": { - "line": 146, - "column": 21 + "line": 164, + "column": 85 }, "identifierName": "options" }, "name": "options" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { "type": "Identifier", - "start": 6801, - "end": 6810, + "start": 7541, + "end": 7550, "loc": { "start": { - "line": 146, - "column": 22 + "line": 164, + "column": 86 }, "end": { - "line": 146, - "column": 31 + "line": 164, + "column": 95 }, - "identifierName": "maxLength" + "identifierName": "inputName" }, - "name": "maxLength" + "name": "inputName" }, - "computed": false, - "leadingComments": null + "computed": false }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 6814, - "end": 6884, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 105 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6814, - "end": 6844, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 65 - } - }, - "object": { - "type": "MemberExpression", - "start": 6814, - "end": 6828, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 49 - } - }, - "object": { - "type": "ThisExpression", - "start": 6814, - "end": 6818, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 39 - } - } - }, - "property": { - "type": "Identifier", - "start": 6819, - "end": 6828, - "loc": { - "start": { - "line": 146, - "column": 40 - }, - "end": { - "line": 146, - "column": 49 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6829, - "end": 6844, - "loc": { - "start": { - "line": 146, - "column": 50 - }, - "end": { - "line": 146, - "column": 65 - }, - "identifierName": "handleMaxLength" - }, - "name": "handleMaxLength" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 6845, - "end": 6855, - "loc": { - "start": { - "line": 146, - "column": 66 - }, - "end": { - "line": 146, - "column": 76 - } - }, - "object": { - "type": "ThisExpression", - "start": 6845, - "end": 6849, - "loc": { - "start": { - "line": 146, - "column": 66 - }, - "end": { - "line": 146, - "column": 70 - } - } - }, - "property": { - "type": "Identifier", - "start": 6850, - "end": 6855, - "loc": { - "start": { - "line": 146, - "column": 71 - }, - "end": { - "line": 146, - "column": 76 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 6857, - "end": 6869, - "loc": { - "start": { - "line": 146, - "column": 78 - }, - "end": { - "line": 146, - "column": 90 - } - }, - "object": { - "type": "ThisExpression", - "start": 6857, - "end": 6861, - "loc": { - "start": { - "line": 146, - "column": 78 - }, - "end": { - "line": 146, - "column": 82 - } - } - }, - "property": { - "type": "Identifier", - "start": 6862, - "end": 6869, - "loc": { - "start": { - "line": 146, - "column": 83 - }, - "end": { - "line": 146, - "column": 90 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 6871, - "end": 6883, - "loc": { - "start": { - "line": 146, - "column": 92 - }, - "end": { - "line": 146, - "column": 104 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - } - ] - }, - "leadingComments": null + "computed": true }, - "consequent": { - "type": "BlockStatement", - "start": 6885, - "end": 6918, + { + "type": "MemberExpression", + "start": 7553, + "end": 7565, "loc": { "start": { - "line": 146, - "column": 106 + "line": 164, + "column": 98 }, "end": { - "line": 148, - "column": 7 + "line": 164, + "column": 110 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 6896, - "end": 6909, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 21 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 6903, - "end": 6908, - "loc": { - "start": { - "line": 147, - "column": 15 - }, - "end": { - "line": 147, - "column": 20 - } - }, - "value": false - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 6700, - "end": 6777, + "object": { + "type": "ThisExpression", + "start": 7553, + "end": 7557, "loc": { "start": { - "line": 143, - "column": 6 + "line": 164, + "column": 98 }, "end": { - "line": 145, - "column": 9 + "line": 164, + "column": 102 } } - } - ] + }, + "property": { + "type": "Identifier", + "start": 7558, + "end": 7565, + "loc": { + "start": { + "line": 164, + "column": 103 + }, + "end": { + "line": 164, + "column": 110 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 7567, + "end": 7585, + "loc": { + "start": { + "line": 164, + "column": 112 + }, + "end": { + "line": 164, + "column": 130 + } + }, + "object": { + "type": "ThisExpression", + "start": 7567, + "end": 7571, + "loc": { + "start": { + "line": 164, + "column": 112 + }, + "end": { + "line": 164, + "column": 116 + } + } + }, + "property": { + "type": "Identifier", + "start": 7572, + "end": 7585, + "loc": { + "start": { + "line": 164, + "column": 117 + }, + "end": { + "line": 164, + "column": 130 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 7595, + "end": 8349, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7598, + "end": 7649, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 166, + "column": 58 + } + }, + "left": { + "type": "MemberExpression", + "start": 7598, + "end": 7632, + "loc": { + "start": { + "line": 166, + "column": 7 }, - { - "type": "ExpressionStatement", - "start": 6928, - "end": 6978, + "end": { + "line": 166, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 7598, + "end": 7608, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 166, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 7598, + "end": 7602, "loc": { "start": { - "line": 150, - "column": 6 + "line": 166, + "column": 7 }, "end": { - "line": 150, - "column": 56 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6928, - "end": 6977, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 55 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6928, - "end": 6962, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6928, - "end": 6938, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 6928, - "end": 6932, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 6933, - "end": 6938, - "loc": { - "start": { - "line": 150, - "column": 11 - }, - "end": { - "line": 150, - "column": 16 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6939, - "end": 6961, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 6939, - "end": 6951, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 6939, - "end": 6943, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 6944, - "end": 6951, - "loc": { - "start": { - "line": 150, - "column": 22 - }, - "end": { - "line": 150, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6952, - "end": 6961, - "loc": { - "start": { - "line": 150, - "column": 30 - }, - "end": { - "line": 150, - "column": 39 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 6965, - "end": 6977, - "loc": { - "start": { - "line": 150, - "column": 43 - }, - "end": { - "line": 150, - "column": 55 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" + "line": 166, + "column": 11 } } }, - { - "type": "IfStatement", - "start": 6988, - "end": 7049, + "property": { + "type": "Identifier", + "start": 7603, + "end": 7608, "loc": { "start": { - "line": 152, - "column": 6 + "line": 166, + "column": 12 }, "end": { - "line": 153, - "column": 50 - } - }, - "test": { - "type": "Identifier", - "start": 6991, - "end": 6996, - "loc": { - "start": { - "line": 152, - "column": 9 - }, - "end": { - "line": 152, - "column": 14 - }, - "identifierName": "debug" + "line": 166, + "column": 17 }, - "name": "debug" + "identifierName": "input" }, - "consequent": { - "type": "ExpressionStatement", - "start": 7007, - "end": 7049, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 7007, - "end": 7048, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7007, - "end": 7018, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 7007, - "end": 7014, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 15 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 7015, - "end": 7018, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, - "column": 19 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7019, - "end": 7035, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 36 - } - }, - "extra": { - "rawValue": "Input changed:", - "raw": "'Input changed:'" - }, - "value": "Input changed:" - }, - { - "type": "MemberExpression", - "start": 7037, - "end": 7047, - "loc": { - "start": { - "line": 153, - "column": 38 - }, - "end": { - "line": 153, - "column": 48 - } - }, - "object": { - "type": "ThisExpression", - "start": 7037, - "end": 7041, - "loc": { - "start": { - "line": 153, - "column": 38 - }, - "end": { - "line": 153, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "start": 7042, - "end": 7047, - "loc": { - "start": { - "line": 153, - "column": 43 - }, - "end": { - "line": 153, - "column": 48 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - }, - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, - "loc": { - "start": { - "line": 155, - "column": 6 - }, - "end": { - "line": 157, - "column": 9 - } - } - } - ] + "name": "input" }, - { - "type": "IfStatement", - "start": 7126, - "end": 7207, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7609, + "end": 7631, + "loc": { + "start": { + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7609, + "end": 7621, "loc": { "start": { - "line": 158, - "column": 6 + "line": 166, + "column": 18 }, "end": { - "line": 159, - "column": 44 + "line": 166, + "column": 30 } }, - "test": { - "type": "MemberExpression", - "start": 7129, - "end": 7160, + "object": { + "type": "ThisExpression", + "start": 7609, + "end": 7613, "loc": { "start": { - "line": 158, + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 7614, + "end": 7621, + "loc": { + "start": { + "line": 166, + "column": 23 + }, + "end": { + "line": 166, + "column": 30 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7622, + "end": 7631, + "loc": { + "start": { + "line": 166, + "column": 31 + }, + "end": { + "line": 166, + "column": 40 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 7637, + "end": 7649, + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 58 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7650, + "end": 8349, + "loc": { + "start": { + "line": 166, + "column": 59 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 7746, + "end": 7879, + "loc": { + "start": { + "line": 171, + "column": 6 + }, + "end": { + "line": 173, + "column": 7 + } + }, + "test": { + "type": "LogicalExpression", + "start": 7749, + "end": 7845, + "loc": { + "start": { + "line": 171, + "column": 9 + }, + "end": { + "line": 171, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 7749, + "end": 7771, + "loc": { + "start": { + "line": 171, "column": 9 }, "end": { - "line": 158, - "column": 40 + "line": 171, + "column": 31 } }, "object": { "type": "MemberExpression", - "start": 7129, - "end": 7141, + "start": 7749, + "end": 7761, "loc": { "start": { - "line": 158, + "line": 171, "column": 9 }, "end": { - "line": 158, + "line": 171, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7129, - "end": 7133, + "start": 7749, + "end": 7753, "loc": { "start": { - "line": 158, + "line": 171, "column": 9 }, "end": { - "line": 158, + "line": 171, "column": 13 } }, @@ -6681,15 +9137,15 @@ }, "property": { "type": "Identifier", - "start": 7134, - "end": 7141, + "start": 7754, + "end": 7761, "loc": { "start": { - "line": 158, + "line": 171, "column": 14 }, "end": { - "line": 158, + "line": 171, "column": 21 }, "identifierName": "options" @@ -6701,730 +9157,585 @@ }, "property": { "type": "Identifier", - "start": 7142, - "end": 7160, + "start": 7762, + "end": 7771, "loc": { "start": { - "line": 158, + "line": 171, "column": 22 }, "end": { - "line": 158, - "column": 40 + "line": 171, + "column": 31 }, - "identifierName": "syncInstanceInputs" + "identifierName": "maxLength" }, - "name": "syncInstanceInputs" + "name": "maxLength" }, "computed": false, "leadingComments": null }, - "consequent": { - "type": "ExpressionStatement", - "start": 7171, - "end": 7207, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 7171, - "end": 7206, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7171, - "end": 7194, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 7171, - "end": 7175, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7176, - "end": 7194, - "loc": { - "start": { - "line": 159, - "column": 13 - }, - "end": { - "line": 159, - "column": 31 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7195, - "end": 7205, - "loc": { - "start": { - "line": 159, - "column": 32 - }, - "end": { - "line": 159, - "column": 42 - } - }, - "object": { - "type": "ThisExpression", - "start": 7195, - "end": 7199, - "loc": { - "start": { - "line": 159, - "column": 32 - }, - "end": { - "line": 159, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "start": 7200, - "end": 7205, - "loc": { - "start": { - "line": 159, - "column": 37 - }, - "end": { - "line": 159, - "column": 42 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - }, - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, - "loc": { - "start": { - "line": 155, - "column": 6 - }, - "end": { - "line": 157, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 163, - "column": 9 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 7266, - "end": 7381, - "loc": { - "start": { - "line": 164, - "column": 6 - }, - "end": { - "line": 165, - "column": 66 - } - }, - "test": { - "type": "BinaryExpression", - "start": 7269, - "end": 7312, - "loc": { - "start": { - "line": 164, - "column": 9 - }, - "end": { - "line": 164, - "column": 52 - } - }, - "left": { - "type": "UnaryExpression", - "start": 7269, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 9 - }, - "end": { - "line": 164, - "column": 37 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 7276, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 7276, - "end": 7288, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 7276, - "end": 7280, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7281, - "end": 7288, - "loc": { - "start": { - "line": 164, - "column": 21 - }, - "end": { - "line": 164, - "column": 28 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7289, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 29 - }, - "end": { - "line": 164, - "column": 37 - }, - "identifierName": "onChange" - }, - "name": "onChange" - }, - "computed": false, - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 7302, - "end": 7312, - "loc": { - "start": { - "line": 164, - "column": 42 - }, - "end": { - "line": 164, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - }, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 7323, - "end": 7381, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 7323, - "end": 7380, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7323, - "end": 7344, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 7323, - "end": 7335, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 7323, - "end": 7327, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7328, - "end": 7335, - "loc": { - "start": { - "line": 165, - "column": 13 - }, - "end": { - "line": 165, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7336, - "end": 7344, - "loc": { - "start": { - "line": 165, - "column": 21 - }, - "end": { - "line": 165, - "column": 29 - }, - "identifierName": "onChange" - }, - "name": "onChange" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7345, - "end": 7379, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 64 - } - }, - "object": { - "type": "MemberExpression", - "start": 7345, - "end": 7355, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 7345, - "end": 7349, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 7350, - "end": 7355, - "loc": { - "start": { - "line": 165, - "column": 35 - }, - "end": { - "line": 165, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 7356, - "end": 7378, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 63 - } - }, - "object": { - "type": "MemberExpression", - "start": 7356, - "end": 7368, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 53 - } - }, - "object": { - "type": "ThisExpression", - "start": 7356, - "end": 7360, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 45 - } - } - }, - "property": { - "type": "Identifier", - "start": 7361, - "end": 7368, - "loc": { - "start": { - "line": 165, - "column": 46 - }, - "end": { - "line": 165, - "column": 53 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7369, - "end": 7378, - "loc": { - "start": { - "line": 165, - "column": 54 - }, - "end": { - "line": 165, - "column": 63 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 163, - "column": 9 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 7400, - "end": 7461, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 170, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 7403, - "end": 7408, - "loc": { - "start": { - "line": 168, - "column": 7 - }, - "end": { - "line": 168, - "column": 12 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "consequent": { - "type": "BlockStatement", - "start": 7409, - "end": 7461, - "loc": { - "start": { - "line": 168, - "column": 13 - }, - "end": { - "line": 170, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7418, - "end": 7454, - "loc": { - "start": { - "line": 169, - "column": 6 - }, - "end": { - "line": 169, - "column": 42 - } - }, - "expression": { + "operator": "&&", + "right": { "type": "CallExpression", - "start": 7418, - "end": 7453, + "start": 7775, + "end": 7845, "loc": { "start": { - "line": 169, - "column": 6 + "line": 171, + "column": 35 }, "end": { - "line": 169, - "column": 41 + "line": 171, + "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 7418, - "end": 7429, + "start": 7775, + "end": 7805, "loc": { "start": { - "line": 169, + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 65 + } + }, + "object": { + "type": "MemberExpression", + "start": 7775, + "end": 7789, + "loc": { + "start": { + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 7775, + "end": 7779, + "loc": { + "start": { + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 7780, + "end": 7789, + "loc": { + "start": { + "line": 171, + "column": 40 + }, + "end": { + "line": 171, + "column": 49 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7790, + "end": 7805, + "loc": { + "start": { + "line": 171, + "column": 50 + }, + "end": { + "line": 171, + "column": 65 + }, + "identifierName": "handleMaxLength" + }, + "name": "handleMaxLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 7806, + "end": 7816, + "loc": { + "start": { + "line": 171, + "column": 66 + }, + "end": { + "line": 171, + "column": 76 + } + }, + "object": { + "type": "ThisExpression", + "start": 7806, + "end": 7810, + "loc": { + "start": { + "line": 171, + "column": 66 + }, + "end": { + "line": 171, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 7811, + "end": 7816, + "loc": { + "start": { + "line": 171, + "column": 71 + }, + "end": { + "line": 171, + "column": 76 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 7818, + "end": 7830, + "loc": { + "start": { + "line": 171, + "column": 78 + }, + "end": { + "line": 171, + "column": 90 + } + }, + "object": { + "type": "ThisExpression", + "start": 7818, + "end": 7822, + "loc": { + "start": { + "line": 171, + "column": 78 + }, + "end": { + "line": 171, + "column": 82 + } + } + }, + "property": { + "type": "Identifier", + "start": 7823, + "end": 7830, + "loc": { + "start": { + "line": 171, + "column": 83 + }, + "end": { + "line": 171, + "column": 90 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 7832, + "end": 7844, + "loc": { + "start": { + "line": 171, + "column": 92 + }, + "end": { + "line": 171, + "column": 104 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + ] + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 7846, + "end": 7879, + "loc": { + "start": { + "line": 171, + "column": 106 + }, + "end": { + "line": 173, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7857, + "end": 7870, + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 21 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 7864, + "end": 7869, + "loc": { + "start": { + "line": 172, + "column": 15 + }, + "end": { + "line": 172, + "column": 20 + } + }, + "value": false + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", + "start": 7661, + "end": 7738, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 170, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7889, + "end": 7939, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7889, + "end": 7938, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7889, + "end": 7923, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7889, + "end": 7899, + "loc": { + "start": { + "line": 175, "column": 6 }, "end": { - "line": 169, + "line": 175, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7889, + "end": 7893, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7894, + "end": 7899, + "loc": { + "start": { + "line": 175, + "column": 11 + }, + "end": { + "line": 175, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7900, + "end": 7922, + "loc": { + "start": { + "line": 175, "column": 17 + }, + "end": { + "line": 175, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 7900, + "end": 7912, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 7900, + "end": 7904, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 7905, + "end": 7912, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 29 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7913, + "end": 7922, + "loc": { + "start": { + "line": 175, + "column": 30 + }, + "end": { + "line": 175, + "column": 39 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 7926, + "end": 7938, + "loc": { + "start": { + "line": 175, + "column": 43 + }, + "end": { + "line": 175, + "column": 55 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + } + }, + { + "type": "IfStatement", + "start": 7949, + "end": 8010, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "test": { + "type": "Identifier", + "start": 7952, + "end": 7957, + "loc": { + "start": { + "line": 177, + "column": 9 + }, + "end": { + "line": 177, + "column": 14 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7968, + "end": 8010, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 7968, + "end": 8009, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7968, + "end": 7979, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 19 } }, "object": { "type": "Identifier", - "start": 7418, - "end": 7425, + "start": 7968, + "end": 7975, "loc": { "start": { - "line": 169, - "column": 6 + "line": 178, + "column": 8 }, "end": { - "line": 169, - "column": 13 + "line": 178, + "column": 15 }, "identifierName": "console" }, @@ -7432,16 +9743,16 @@ }, "property": { "type": "Identifier", - "start": 7426, - "end": 7429, + "start": 7976, + "end": 7979, "loc": { "start": { - "line": 169, - "column": 14 + "line": 178, + "column": 16 }, "end": { - "line": 169, - "column": 17 + "line": 178, + "column": 19 }, "identifierName": "log" }, @@ -7452,1047 +9763,850 @@ "arguments": [ { "type": "StringLiteral", - "start": 7430, - "end": 7444, + "start": 7980, + "end": 7996, "loc": { "start": { - "line": 169, - "column": 18 + "line": 178, + "column": 20 }, "end": { - "line": 169, - "column": 32 + "line": 178, + "column": 36 } }, "extra": { - "rawValue": "Key pressed:", - "raw": "\"Key pressed:\"" + "rawValue": "Input changed:", + "raw": "'Input changed:'" }, - "value": "Key pressed:" + "value": "Input changed:" }, { - "type": "Identifier", - "start": 7446, - "end": 7452, - "loc": { - "start": { - "line": 169, - "column": 34 - }, - "end": { - "line": 169, - "column": 40 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, - "loc": { - "start": { - "line": 117, - "column": 2 - }, - "end": { - "line": 120, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, - "loc": { - "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 7573, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7573, - "end": 7591, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 176, - "column": 20 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 7594, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 23 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7600, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 29 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7607, - "end": 7687, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 179, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 7607, - "end": 7686, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 179, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7607, - "end": 7620, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 7607, - "end": 7611, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 7612, - "end": 7620, - "loc": { - "start": { - "line": 177, - "column": 9 - }, - "end": { - "line": 177, - "column": 17 - }, - "identifierName": "dispatch" - }, - "name": "dispatch" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 7621, - "end": 7685, - "loc": { - "start": { - "line": 177, - "column": 18 - }, - "end": { - "line": 179, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7622, - "end": 7630, - "loc": { - "start": { - "line": 177, - "column": 19 - }, - "end": { - "line": 177, - "column": 27 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 7635, - "end": 7685, - "loc": { - "start": { - "line": 177, - "column": 32 - }, - "end": { - "line": 179, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7644, - "end": 7678, + "type": "MemberExpression", + "start": 7998, + "end": 8008, "loc": { "start": { "line": 178, - "column": 6 + "column": 38 }, "end": { "line": 178, - "column": 40 + "column": 48 } }, - "expression": { - "type": "CallExpression", - "start": 7644, - "end": 7677, + "object": { + "type": "ThisExpression", + "start": 7998, + "end": 8002, "loc": { "start": { "line": 178, - "column": 6 + "column": 38 }, "end": { "line": 178, - "column": 39 + "column": 42 } + } + }, + "property": { + "type": "Identifier", + "start": 8003, + "end": 8008, + "loc": { + "start": { + "line": 178, + "column": 43 + }, + "end": { + "line": 178, + "column": 48 + }, + "identifierName": "input" }, - "callee": { - "type": "MemberExpression", - "start": 7644, - "end": 7665, - "loc": { - "start": { - "line": 178, - "column": 6 - }, - "end": { - "line": 178, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 7644, - "end": 7652, - "loc": { - "start": { - "line": 178, - "column": 6 - }, - "end": { - "line": 178, - "column": 14 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 7653, - "end": 7665, - "loc": { - "start": { - "line": 178, - "column": 15 - }, - "end": { - "line": 178, - "column": 27 - }, - "identifierName": "replaceInput" - }, - "name": "replaceInput" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7666, - "end": 7676, - "loc": { - "start": { - "line": 178, - "column": 28 - }, - "end": { - "line": 178, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 7666, - "end": 7670, - "loc": { - "start": { - "line": 178, - "column": 28 - }, - "end": { - "line": 178, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 7671, - "end": 7676, - "loc": { - "start": { - "line": 178, - "column": 33 - }, - "end": { - "line": 178, - "column": 38 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } + "name": "input" + }, + "computed": false } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, - "loc": { - "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, - "loc": { - "start": { - "line": 182, - "column": 2 - }, - "end": { - "line": 185, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 7822, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7822, - "end": 7832, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 186, - "column": 12 - }, - "identifierName": "clearInput" - }, - "name": "clearInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 7835, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 15 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7836, - "end": 7845, - "loc": { - "start": { - "line": 186, - "column": 16 - }, - "end": { - "line": 186, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 7850, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 30 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7857, - "end": 7905, - "loc": { - "start": { - "line": 187, - "column": 4 - }, - "end": { - "line": 187, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 7857, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 4 + ] + }, + "trailingComments": null }, - "end": { - "line": 187, - "column": 51 - } + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8020, + "end": 8079, + "loc": { + "start": { + "line": 180, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 7857, - "end": 7866, + { + "type": "IfStatement", + "start": 8087, + "end": 8168, "loc": { "start": { - "line": 187, - "column": 4 + "line": 183, + "column": 6 }, "end": { - "line": 187, - "column": 13 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "right": { - "type": "LogicalExpression", - "start": 7869, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 16 - }, - "end": { - "line": 187, - "column": 51 + "line": 184, + "column": 44 } }, - "left": { - "type": "Identifier", - "start": 7869, - "end": 7878, - "loc": { - "start": { - "line": 187, - "column": 16 - }, - "end": { - "line": 187, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { + "test": { "type": "MemberExpression", - "start": 7882, - "end": 7904, + "start": 8090, + "end": 8121, "loc": { "start": { - "line": 187, - "column": 29 + "line": 183, + "column": 9 }, "end": { - "line": 187, - "column": 51 + "line": 183, + "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7882, - "end": 7894, + "start": 8090, + "end": 8102, "loc": { "start": { - "line": 187, - "column": 29 - }, - "end": { - "line": 187, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 7882, - "end": 7886, - "loc": { - "start": { - "line": 187, - "column": 29 - }, - "end": { - "line": 187, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 7887, - "end": 7894, - "loc": { - "start": { - "line": 187, - "column": 34 - }, - "end": { - "line": 187, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7895, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 42 - }, - "end": { - "line": 187, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 7911, - "end": 7951, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 44 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 7911, - "end": 7950, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 43 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7911, - "end": 7945, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 7911, - "end": 7921, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 7911, - "end": 7915, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 7916, - "end": 7921, - "loc": { - "start": { - "line": 188, + "line": 183, "column": 9 }, "end": { - "line": 188, - "column": 14 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 7922, - "end": 7944, - "loc": { - "start": { - "line": 188, - "column": 15 - }, - "end": { - "line": 188, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 7922, - "end": 7934, - "loc": { - "start": { - "line": 188, - "column": 15 - }, - "end": { - "line": 188, - "column": 27 + "line": 183, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7922, - "end": 7926, + "start": 8090, + "end": 8094, "loc": { "start": { - "line": 188, - "column": 15 + "line": 183, + "column": 9 }, "end": { - "line": 188, - "column": 19 + "line": 183, + "column": 13 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 7927, - "end": 7934, + "start": 8095, + "end": 8102, "loc": { "start": { - "line": 188, - "column": 20 + "line": 183, + "column": 14 }, "end": { - "line": 188, - "column": 27 + "line": 183, + "column": 21 }, "identifierName": "options" }, "name": "options" }, - "computed": false + "computed": false, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 7935, - "end": 7944, + "start": 8103, + "end": 8121, "loc": { "start": { - "line": 188, - "column": 28 + "line": 183, + "column": 22 + }, + "end": { + "line": 183, + "column": 40 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8132, + "end": 8168, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 8132, + "end": 8167, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8132, + "end": 8155, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 8132, + "end": 8136, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 8137, + "end": 8155, + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 31 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8156, + "end": 8166, + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 42 + } + }, + "object": { + "type": "ThisExpression", + "start": 8156, + "end": 8160, + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 8161, + "end": 8166, + "loc": { + "start": { + "line": 184, + "column": 37 + }, + "end": { + "line": 184, + "column": 42 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8020, + "end": 8079, + "loc": { + "start": { + "line": 180, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8178, + "end": 8219, + "loc": { + "start": { + "line": 186, + "column": 6 }, "end": { "line": 188, - "column": 37 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "StringLiteral", - "start": 7948, - "end": 7950, - "loc": { - "start": { - "line": 188, - "column": 41 - }, - "end": { - "line": 188, - "column": 43 + "column": 9 + } + } } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - }, - "trailingComments": [ + ] + }, { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, + "type": "IfStatement", + "start": 8227, + "end": 8342, "loc": { "start": { + "line": 189, + "column": 6 + }, + "end": { "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8020, - "end": 8099, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 194, - "column": 42 - } - }, - "test": { - "type": "MemberExpression", - "start": 8023, - "end": 8054, - "loc": { - "start": { - "line": 193, - "column": 7 - }, - "end": { - "line": 193, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 8023, - "end": 8035, - "loc": { - "start": { - "line": 193, - "column": 7 - }, - "end": { - "line": 193, - "column": 19 + "column": 66 } }, - "object": { - "type": "ThisExpression", - "start": 8023, - "end": 8027, + "test": { + "type": "BinaryExpression", + "start": 8230, + "end": 8273, "loc": { "start": { - "line": 193, - "column": 7 + "line": 189, + "column": 9 }, "end": { - "line": 193, - "column": 11 + "line": 189, + "column": 52 } }, + "left": { + "type": "UnaryExpression", + "start": 8230, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 9 + }, + "end": { + "line": 189, + "column": 37 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 8237, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 8237, + "end": 8249, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 8237, + "end": 8241, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 20 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8242, + "end": 8249, + "loc": { + "start": { + "line": 189, + "column": 21 + }, + "end": { + "line": 189, + "column": 28 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8250, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 29 + }, + "end": { + "line": 189, + "column": 37 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 8263, + "end": 8273, + "loc": { + "start": { + "line": 189, + "column": 42 + }, + "end": { + "line": 189, + "column": 52 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + }, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 8028, - "end": 8035, + "consequent": { + "type": "ExpressionStatement", + "start": 8284, + "end": 8342, "loc": { "start": { - "line": 193, - "column": 12 + "line": 190, + "column": 8 }, "end": { - "line": 193, - "column": 19 + "line": 190, + "column": 66 + } + }, + "expression": { + "type": "CallExpression", + "start": 8284, + "end": 8341, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 65 + } }, - "identifierName": "options" - }, - "name": "options" + "callee": { + "type": "MemberExpression", + "start": 8284, + "end": 8305, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 8284, + "end": 8296, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 8284, + "end": 8288, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 8289, + "end": 8296, + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 20 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8297, + "end": 8305, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 29 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8306, + "end": 8340, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 64 + } + }, + "object": { + "type": "MemberExpression", + "start": 8306, + "end": 8316, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 8306, + "end": 8310, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 8311, + "end": 8316, + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 8317, + "end": 8339, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 8317, + "end": 8329, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 8317, + "end": 8321, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "start": 8322, + "end": 8329, + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 53 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8330, + "end": 8339, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 63 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + } + ] + } }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8036, - "end": 8054, - "loc": { - "start": { - "line": 193, - "column": 20 - }, - "end": { - "line": 193, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8178, + "end": 8219, + "loc": { + "start": { + "line": 186, + "column": 6 + }, + "end": { + "line": 188, + "column": 9 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8361, + "end": 8422, + "loc": { + "start": { + "line": 193, + "column": 4 }, - "consequent": { - "type": "ExpressionStatement", - "start": 8063, - "end": 8099, - "loc": { - "start": { - "line": 194, - "column": 6 - }, - "end": { - "line": 194, - "column": 42 - } + "end": { + "line": 195, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 8364, + "end": 8369, + "loc": { + "start": { + "line": 193, + "column": 7 }, - "expression": { - "type": "CallExpression", - "start": 8063, - "end": 8098, + "end": { + "line": 193, + "column": 12 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "consequent": { + "type": "BlockStatement", + "start": 8370, + "end": 8422, + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 195, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8379, + "end": 8415, "loc": { "start": { "line": 194, @@ -8500,13 +10614,13 @@ }, "end": { "line": 194, - "column": 41 + "column": 42 } }, - "callee": { - "type": "MemberExpression", - "start": 8063, - "end": 8086, + "expression": { + "type": "CallExpression", + "start": 8379, + "end": 8414, "loc": { "start": { "line": 194, @@ -8514,13 +10628,13 @@ }, "end": { "line": 194, - "column": 29 + "column": 41 } }, - "object": { - "type": "ThisExpression", - "start": 8063, - "end": 8067, + "callee": { + "type": "MemberExpression", + "start": 8379, + "end": 8390, "loc": { "start": { "line": 194, @@ -8528,120 +10642,108 @@ }, "end": { "line": 194, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8068, - "end": 8086, - "loc": { - "start": { - "line": 194, - "column": 11 - }, - "end": { - "line": 194, - "column": 29 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8087, - "end": 8097, - "loc": { - "start": { - "line": 194, - "column": 30 - }, - "end": { - "line": 194, - "column": 40 + "column": 17 } }, "object": { - "type": "ThisExpression", - "start": 8087, - "end": 8091, + "type": "Identifier", + "start": 8379, + "end": 8386, "loc": { "start": { "line": 194, - "column": 30 + "column": 6 }, "end": { "line": 194, - "column": 34 - } - } + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" }, "property": { "type": "Identifier", - "start": 8092, - "end": 8097, + "start": 8387, + "end": 8390, "loc": { "start": { "line": 194, - "column": 35 + "column": 14 + }, + "end": { + "line": 194, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8391, + "end": 8405, + "loc": { + "start": { + "line": 194, + "column": 18 + }, + "end": { + "line": 194, + "column": 32 + } + }, + "extra": { + "rawValue": "Key pressed:", + "raw": "\"Key pressed:\"" + }, + "value": "Key pressed:" + }, + { + "type": "Identifier", + "start": 8407, + "end": 8413, + "loc": { + "start": { + "line": 194, + "column": 34 }, "end": { "line": 194, "column": 40 }, - "identifierName": "input" + "identifierName": "button" }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 - } + "name": "button" + } + ] } } - ] - } - ], - "directives": [], - "trailingComments": null - }, + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, + "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 182, + "line": 142, "column": 2 }, "end": { - "line": 185, + "line": 145, "column": 5 } } @@ -8650,12 +10752,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 8433, + "end": 8530, "loc": { "start": { - "line": 197, + "line": 198, "column": 2 }, "end": { @@ -8667,16 +10769,16 @@ ] }, { - "type": "ClassProperty", - "start": 8276, - "end": 8560, + "type": "ClassMethod", + "start": 8534, + "end": 8646, "loc": { "start": { "line": 201, "column": 2 }, "end": { - "line": 211, + "line": 205, "column": 3 } }, @@ -8684,8 +10786,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8276, - "end": 8284, + "start": 8534, + "end": 8552, "loc": { "start": { "line": 201, @@ -8693,83 +10795,66 @@ }, "end": { "line": 201, - "column": 10 + "column": 20 }, - "identifierName": "getInput" + "identifierName": "syncInstanceInputs" }, - "name": "getInput", + "name": "syncInstanceInputs", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 8287, - "end": 8560, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8554, + "end": 8646, "loc": { "start": { "line": 201, - "column": 13 + "column": 22 }, "end": { - "line": 211, + "line": 205, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 8288, - "end": 8297, + "type": "ExpressionStatement", + "start": 8561, + "end": 8641, "loc": { "start": { - "line": 201, - "column": 14 + "line": 202, + "column": 4 }, "end": { - "line": 201, - "column": 23 - }, - "identifierName": "inputName" + "line": 204, + "column": 7 + } }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 8302, - "end": 8560, - "loc": { - "start": { - "line": 201, - "column": 28 - }, - "end": { - "line": 211, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8309, - "end": 8357, + "expression": { + "type": "CallExpression", + "start": 8561, + "end": 8640, "loc": { "start": { "line": 202, "column": 4 }, "end": { - "line": 202, - "column": 52 + "line": 204, + "column": 6 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8309, - "end": 8356, + "callee": { + "type": "MemberExpression", + "start": 8561, + "end": 8574, "loc": { "start": { "line": 202, @@ -8777,14 +10862,13 @@ }, "end": { "line": 202, - "column": 51 + "column": 17 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8309, - "end": 8318, + "object": { + "type": "ThisExpression", + "start": 8561, + "end": 8565, "loc": { "start": { "line": 202, @@ -8792,524 +10876,467 @@ }, "end": { "line": 202, - "column": 13 + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 8566, + "end": 8574, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 17 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8575, + "end": 8639, + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 204, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8576, + "end": 8584, + "loc": { + "start": { + "line": 202, + "column": 19 + }, + "end": { + "line": 202, + "column": 27 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 8589, + "end": 8639, + "loc": { + "start": { + "line": 202, + "column": 32 + }, + "end": { + "line": 204, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8598, + "end": 8632, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 8598, + "end": 8631, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8598, + "end": 8619, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 8598, + "end": 8606, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 14 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 8607, + "end": 8619, + "loc": { + "start": { + "line": 203, + "column": 15 + }, + "end": { + "line": 203, + "column": 27 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8620, + "end": 8630, + "loc": { + "start": { + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 8620, + "end": 8624, + "loc": { + "start": { + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 8625, + "end": 8630, + "loc": { + "start": { + "line": 203, + "column": 33 + }, + "end": { + "line": 203, + "column": 38 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 8433, + "end": 8530, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 200, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 210, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8776, + "end": 9051, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8776, + "end": 8786, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 211, + "column": 12 + }, + "identifierName": "clearInput" + }, + "name": "clearInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8787, + "end": 8796, + "loc": { + "start": { + "line": 211, + "column": 13 + }, + "end": { + "line": 211, + "column": 22 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 8797, + "end": 9051, + "loc": { + "start": { + "line": 211, + "column": 23 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8804, + "end": 8852, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8804, + "end": 8851, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8804, + "end": 8813, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 8816, + "end": 8851, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 8816, + "end": 8825, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, + "operator": "||", "right": { - "type": "LogicalExpression", - "start": 8321, - "end": 8356, + "type": "MemberExpression", + "start": 8829, + "end": 8851, "loc": { "start": { - "line": 202, - "column": 16 + "line": 212, + "column": 29 }, "end": { - "line": 202, + "line": 212, "column": 51 } }, - "left": { - "type": "Identifier", - "start": 8321, - "end": 8330, - "loc": { - "start": { - "line": 202, - "column": 16 - }, - "end": { - "line": 202, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 8334, - "end": 8356, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 51 - } - }, - "object": { - "type": "MemberExpression", - "start": 8334, - "end": 8346, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 8334, - "end": 8338, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 8339, - "end": 8346, - "loc": { - "start": { - "line": 202, - "column": 34 - }, - "end": { - "line": 202, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8347, - "end": 8356, - "loc": { - "start": { - "line": 202, - "column": 42 - }, - "end": { - "line": 202, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, - "loc": { - "start": { - "line": 204, - "column": 4 - }, - "end": { - "line": 206, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8426, - "end": 8505, - "loc": { - "start": { - "line": 207, - "column": 4 - }, - "end": { - "line": 208, - "column": 42 - } - }, - "test": { - "type": "MemberExpression", - "start": 8429, - "end": 8460, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 8429, - "end": 8441, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 19 - } - }, "object": { - "type": "ThisExpression", - "start": 8429, - "end": 8433, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 11 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8434, - "end": 8441, - "loc": { - "start": { - "line": 207, - "column": 12 - }, - "end": { - "line": 207, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8442, - "end": 8460, - "loc": { - "start": { - "line": 207, - "column": 20 - }, - "end": { - "line": 207, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 8469, - "end": 8505, - "loc": { - "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 8469, - "end": 8504, - "loc": { - "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 41 - } - }, - "callee": { "type": "MemberExpression", - "start": 8469, - "end": 8492, + "start": 8829, + "end": 8841, "loc": { "start": { - "line": 208, - "column": 6 + "line": 212, + "column": 29 }, "end": { - "line": 208, - "column": 29 + "line": 212, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 8469, - "end": 8473, + "start": 8829, + "end": 8833, "loc": { "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8474, - "end": 8492, - "loc": { - "start": { - "line": 208, - "column": 11 - }, - "end": { - "line": 208, + "line": 212, "column": 29 }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8493, - "end": 8503, - "loc": { - "start": { - "line": 208, - "column": 30 - }, "end": { - "line": 208, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 8493, - "end": 8497, - "loc": { - "start": { - "line": 208, - "column": 30 - }, - "end": { - "line": 208, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 8498, - "end": 8503, - "loc": { - "start": { - "line": 208, - "column": 35 - }, - "end": { - "line": 208, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, - "loc": { - "start": { - "line": 204, - "column": 4 - }, - "end": { - "line": 206, - "column": 7 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 8513, - "end": 8555, - "loc": { - "start": { - "line": 210, - "column": 4 - }, - "end": { - "line": 210, - "column": 46 - } - }, - "argument": { - "type": "MemberExpression", - "start": 8520, - "end": 8554, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 8520, - "end": 8530, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 8520, - "end": 8524, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 8525, - "end": 8530, - "loc": { - "start": { - "line": 210, - "column": 16 - }, - "end": { - "line": 210, - "column": 21 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 8531, - "end": 8553, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 8531, - "end": 8543, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 8531, - "end": 8535, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 26 + "line": 212, + "column": 33 } } }, "property": { "type": "Identifier", - "start": 8536, - "end": 8543, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 210, - "column": 27 - }, - "end": { - "line": 210, + "line": 212, "column": 34 }, + "end": { + "line": 212, + "column": 41 + }, "identifierName": "options" }, "name": "options" @@ -9318,925 +11345,109 @@ }, "property": { "type": "Identifier", - "start": 8544, - "end": 8553, + "start": 8842, + "end": 8851, "loc": { "start": { - "line": 210, - "column": 35 + "line": 212, + "column": 42 }, "end": { - "line": 210, - "column": 44 + "line": 212, + "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false - }, - "computed": true - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, - "loc": { - "start": { - "line": 197, - "column": 2 - }, - "end": { - "line": 200, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, - "loc": { - "start": { - "line": 213, - "column": 2 - }, - "end": { - "line": 217, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 8730, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 2 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8730, - "end": 8738, - "loc": { - "start": { - "line": 218, - "column": 2 - }, - "end": { - "line": 218, - "column": 10 - }, - "identifierName": "setInput" - }, - "name": "setInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 8741, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 13 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8742, - "end": 8747, - "loc": { - "start": { - "line": 218, - "column": 14 - }, - "end": { - "line": 218, - "column": 19 - }, - "identifierName": "input" - }, - "name": "input" - }, - { - "type": "Identifier", - "start": 8749, - "end": 8758, - "loc": { - "start": { - "line": 218, - "column": 21 - }, - "end": { - "line": 218, - "column": 30 - }, - "identifierName": "inputName" - }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 8763, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 35 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8770, - "end": 8818, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8770, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8770, - "end": 8779, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 13 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "right": { - "type": "LogicalExpression", - "start": 8782, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 16 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "left": { - "type": "Identifier", - "start": 8782, - "end": 8791, - "loc": { - "start": { - "line": 219, - "column": 16 - }, - "end": { - "line": 219, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 8795, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "object": { - "type": "MemberExpression", - "start": 8795, - "end": 8807, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 8795, - "end": 8799, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 8800, - "end": 8807, - "loc": { - "start": { - "line": 219, - "column": 34 - }, - "end": { - "line": 219, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8808, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 42 - }, - "end": { - "line": 219, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } } } + } + }, + { + "type": "ExpressionStatement", + "start": 8858, + "end": 8898, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 44 + } }, - { - "type": "ExpressionStatement", - "start": 8824, - "end": 8854, + "expression": { + "type": "AssignmentExpression", + "start": 8858, + "end": 8897, "loc": { "start": { - "line": 220, + "line": 213, "column": 4 }, "end": { - "line": 220, - "column": 34 + "line": 213, + "column": 43 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8824, - "end": 8853, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8824, - "end": 8845, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 8824, - "end": 8834, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 8824, - "end": 8828, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 8829, - "end": 8834, - "loc": { - "start": { - "line": 220, - "column": 9 - }, - "end": { - "line": 220, - "column": 14 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8835, - "end": 8844, - "loc": { - "start": { - "line": 220, - "column": 15 - }, - "end": { - "line": 220, - "column": 24 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 8848, - "end": 8853, - "loc": { - "start": { - "line": 220, - "column": 28 - }, - "end": { - "line": 220, - "column": 33 - }, - "identifierName": "input" - }, - "name": "input" - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, - "loc": { - "start": { - "line": 222, - "column": 4 - }, - "end": { - "line": 224, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8923, - "end": 9002, - "loc": { - "start": { - "line": 225, - "column": 4 - }, - "end": { - "line": 226, - "column": 42 - } - }, - "test": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 8926, - "end": 8957, + "start": 8858, + "end": 8892, "loc": { "start": { - "line": 225, - "column": 7 + "line": 213, + "column": 4 }, "end": { - "line": 225, + "line": 213, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8926, - "end": 8938, + "start": 8858, + "end": 8868, "loc": { "start": { - "line": 225, - "column": 7 - }, - "end": { - "line": 225, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 8926, - "end": 8930, - "loc": { - "start": { - "line": 225, - "column": 7 - }, - "end": { - "line": 225, - "column": 11 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8931, - "end": 8938, - "loc": { - "start": { - "line": 225, - "column": 12 - }, - "end": { - "line": 225, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8939, - "end": 8957, - "loc": { - "start": { - "line": 225, - "column": 20 - }, - "end": { - "line": 225, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 8966, - "end": 9002, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 8966, - "end": 9001, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8966, - "end": 8989, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 8966, - "end": 8970, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8971, - "end": 8989, - "loc": { - "start": { - "line": 226, - "column": 11 - }, - "end": { - "line": 226, - "column": 29 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8990, - "end": 9000, - "loc": { - "start": { - "line": 226, - "column": 30 - }, - "end": { - "line": 226, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 8990, - "end": 8994, - "loc": { - "start": { - "line": 226, - "column": 30 - }, - "end": { - "line": 226, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 8995, - "end": 9000, - "loc": { - "start": { - "line": 226, - "column": 35 - }, - "end": { - "line": 226, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, - "loc": { - "start": { - "line": 222, + "line": 213, "column": 4 }, "end": { - "line": 224, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, - "loc": { - "start": { - "line": 213, - "column": 2 - }, - "end": { - "line": 217, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, - "loc": { - "start": { - "line": 229, - "column": 2 - }, - "end": { - "line": 232, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 9128, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 2 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9128, - "end": 9140, - "loc": { - "start": { - "line": 233, - "column": 2 - }, - "end": { - "line": 233, - "column": 14 - }, - "identifierName": "replaceInput" - }, - "name": "replaceInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9143, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 17 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9144, - "end": 9152, - "loc": { - "start": { - "line": 233, - "column": 18 - }, - "end": { - "line": 233, - "column": 26 - }, - "identifierName": "inputObj" - }, - "name": "inputObj" - } - ], - "body": { - "type": "BlockStatement", - "start": 9157, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 31 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9164, - "end": 9186, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9164, - "end": 9185, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9164, - "end": 9174, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, + "line": 213, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9164, - "end": 9168, + "start": 8858, + "end": 8862, "loc": { "start": { - "line": 234, + "line": 213, "column": 4 }, "end": { - "line": 234, + "line": 213, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9169, - "end": 9174, + "start": 8863, + "end": 8868, "loc": { "start": { - "line": 234, + "line": 213, "column": 9 }, "end": { - "line": 234, + "line": 213, "column": 14 }, "identifierName": "input" @@ -10245,44 +11456,392 @@ }, "computed": false }, - "right": { - "type": "Identifier", - "start": 9177, - "end": 9185, + "property": { + "type": "MemberExpression", + "start": 8869, + "end": 8891, "loc": { "start": { - "line": 234, - "column": 17 + "line": 213, + "column": 15 }, "end": { - "line": 234, - "column": 25 - }, - "identifierName": "inputObj" + "line": 213, + "column": 37 + } }, - "name": "inputObj" + "object": { + "type": "MemberExpression", + "start": 8869, + "end": 8881, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8869, + "end": 8873, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 8874, + "end": 8881, + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 27 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8882, + "end": 8891, + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 37 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "StringLiteral", + "start": 8895, + "end": 8897, + "loc": { + "start": { + "line": 213, + "column": 41 + }, + "end": { + "line": 213, + "column": 43 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8906, + "end": 8961, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 217, + "column": 7 + } } } - } - ], - "directives": [], - "trailingComments": null - }, + ] + }, + { + "type": "IfStatement", + "start": 8967, + "end": 9046, + "loc": { + "start": { + "line": 218, + "column": 4 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 8970, + "end": 9001, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 8970, + "end": 8982, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 8970, + "end": 8974, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8975, + "end": 8982, + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8983, + "end": 9001, + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9010, + "end": 9046, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9010, + "end": 9045, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9010, + "end": 9033, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9010, + "end": 9014, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9015, + "end": 9033, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9034, + "end": 9044, + "loc": { + "start": { + "line": 219, + "column": 30 + }, + "end": { + "line": 219, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9034, + "end": 9038, + "loc": { + "start": { + "line": 219, + "column": 30 + }, + "end": { + "line": 219, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9039, + "end": 9044, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8906, + "end": 8961, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 217, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, "loc": { "start": { - "line": 229, + "line": 207, "column": 2 }, "end": { - "line": 232, + "line": 210, "column": 5 } } @@ -10291,16 +11850,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, "loc": { "start": { - "line": 237, + "line": 222, "column": 2 }, "end": { - "line": 240, + "line": 225, "column": 5 } } @@ -10308,16 +11867,16 @@ ] }, { - "type": "ClassProperty", - "start": 9327, - "end": 9461, + "type": "ClassMethod", + "start": 9223, + "end": 9500, "loc": { "start": { - "line": 241, + "line": 226, "column": 2 }, "end": { - "line": 245, + "line": 236, "column": 3 } }, @@ -10325,241 +11884,618 @@ "computed": false, "key": { "type": "Identifier", - "start": 9327, - "end": 9337, + "start": 9223, + "end": 9231, "loc": { "start": { - "line": 241, + "line": 226, "column": 2 }, "end": { - "line": 241, - "column": 12 + "line": 226, + "column": 10 }, - "identifierName": "setOptions" + "identifierName": "getInput" }, - "name": "setOptions", + "name": "getInput", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9340, - "end": 9461, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 20 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 9242, + "end": 9500, "loc": { "start": { - "line": 241, - "column": 15 + "line": 226, + "column": 21 }, "end": { - "line": 245, + "line": 236, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 9340, - "end": 9346, + "type": "ExpressionStatement", + "start": 9249, + "end": 9297, "loc": { "start": { - "line": 241, - "column": 15 + "line": 227, + "column": 4 }, "end": { - "line": 241, - "column": 21 - }, - "identifierName": "option" + "line": 227, + "column": 52 + } }, - "name": "option" - } - ], - "body": { - "type": "BlockStatement", - "start": 9350, - "end": 9461, - "loc": { - "start": { - "line": 241, - "column": 25 - }, - "end": { - "line": 245, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9357, - "end": 9379, + "expression": { + "type": "AssignmentExpression", + "start": 9249, + "end": 9296, "loc": { "start": { - "line": 242, + "line": 227, "column": 4 }, "end": { - "line": 242, - "column": 26 + "line": 227, + "column": 51 } }, - "expression": { - "type": "AssignmentExpression", - "start": 9357, - "end": 9378, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9249, + "end": 9258, "loc": { "start": { - "line": 242, + "line": 227, "column": 4 }, "end": { - "line": 242, - "column": 25 + "line": 227, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 9261, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 51 } }, - "operator": "=", "left": { "type": "Identifier", - "start": 9357, - "end": 9363, + "start": 9261, + "end": 9270, "loc": { "start": { - "line": 242, - "column": 4 + "line": 227, + "column": 16 }, "end": { - "line": 242, - "column": 10 - }, - "identifierName": "option" - }, - "name": "option" - }, - "right": { - "type": "LogicalExpression", - "start": 9366, - "end": 9378, - "loc": { - "start": { - "line": 242, - "column": 13 - }, - "end": { - "line": 242, + "line": 227, "column": 25 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 9274, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 51 } }, - "left": { - "type": "Identifier", - "start": 9366, - "end": 9372, + "object": { + "type": "MemberExpression", + "start": 9274, + "end": 9286, "loc": { "start": { - "line": 242, - "column": 13 + "line": 227, + "column": 29 }, "end": { - "line": 242, - "column": 19 - }, - "identifierName": "option" - }, - "name": "option" - }, - "operator": "||", - "right": { - "type": "ObjectExpression", - "start": 9376, - "end": 9378, - "loc": { - "start": { - "line": 242, - "column": 23 - }, - "end": { - "line": 242, - "column": 25 + "line": 227, + "column": 41 } }, - "properties": [] - } + "object": { + "type": "ThisExpression", + "start": 9274, + "end": 9278, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 9279, + "end": 9286, + "loc": { + "start": { + "line": 227, + "column": 34 + }, + "end": { + "line": 227, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9287, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 42 + }, + "end": { + "line": 227, + "column": 51 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false } } }, - { - "type": "ExpressionStatement", - "start": 9385, - "end": 9436, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9385, - "end": 9435, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, "loc": { "start": { - "line": 243, + "line": 229, "column": 4 }, "end": { - "line": 243, - "column": 54 + "line": 231, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 9366, + "end": 9445, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 233, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 9369, + "end": 9400, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 9369, + "end": 9381, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 19 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9385, - "end": 9397, + "object": { + "type": "ThisExpression", + "start": 9369, + "end": 9373, "loc": { "start": { - "line": 243, - "column": 4 + "line": 232, + "column": 7 }, "end": { - "line": 243, - "column": 16 + "line": 232, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9374, + "end": 9381, + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9382, + "end": 9400, + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9409, + "end": 9445, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9409, + "end": 9444, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9409, + "end": 9432, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9385, - "end": 9389, + "start": 9409, + "end": 9413, "loc": { "start": { - "line": 243, - "column": 4 + "line": 233, + "column": 6 }, "end": { - "line": 243, - "column": 8 + "line": 233, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 9390, - "end": 9397, + "start": 9414, + "end": 9432, "loc": { "start": { - "line": 243, - "column": 9 + "line": 233, + "column": 11 }, "end": { - "line": 243, - "column": 16 + "line": 233, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9433, + "end": 9443, + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 233, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9433, + "end": 9437, + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 233, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9438, + "end": 9443, + "loc": { + "start": { + "line": 233, + "column": 35 + }, + "end": { + "line": 233, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 231, + "column": 7 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 9453, + "end": 9495, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 46 + } + }, + "argument": { + "type": "MemberExpression", + "start": 9460, + "end": 9494, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 9460, + "end": 9470, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 9460, + "end": 9464, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 9465, + "end": 9470, + "loc": { + "start": { + "line": 235, + "column": 16 + }, + "end": { + "line": 235, + "column": 21 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 9471, + "end": 9493, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 9471, + "end": 9483, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 9471, + "end": 9475, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 9476, + "end": 9483, + "loc": { + "start": { + "line": 235, + "column": 27 + }, + "end": { + "line": 235, + "column": 34 }, "identifierName": "options" }, @@ -10567,238 +12503,45 @@ }, "computed": false }, - "right": { - "type": "CallExpression", - "start": 9400, - "end": 9435, + "property": { + "type": "Identifier", + "start": 9484, + "end": 9493, "loc": { "start": { - "line": 243, - "column": 19 + "line": 235, + "column": 35 }, "end": { - "line": 243, - "column": 54 - } + "line": 235, + "column": 44 + }, + "identifierName": "inputName" }, - "callee": { - "type": "MemberExpression", - "start": 9400, - "end": 9413, - "loc": { - "start": { - "line": 243, - "column": 19 - }, - "end": { - "line": 243, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 9400, - "end": 9406, - "loc": { - "start": { - "line": 243, - "column": 19 - }, - "end": { - "line": 243, - "column": 25 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 9407, - "end": 9413, - "loc": { - "start": { - "line": 243, - "column": 26 - }, - "end": { - "line": 243, - "column": 32 - }, - "identifierName": "assign" - }, - "name": "assign" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9414, - "end": 9426, - "loc": { - "start": { - "line": 243, - "column": 33 - }, - "end": { - "line": 243, - "column": 45 - } - }, - "object": { - "type": "ThisExpression", - "start": 9414, - "end": 9418, - "loc": { - "start": { - "line": 243, - "column": 33 - }, - "end": { - "line": 243, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 9419, - "end": 9426, - "loc": { - "start": { - "line": 243, - "column": 38 - }, - "end": { - "line": 243, - "column": 45 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 9428, - "end": 9434, - "loc": { - "start": { - "line": 243, - "column": 47 - }, - "end": { - "line": 243, - "column": 53 - }, - "identifierName": "option" - }, - "name": "option" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 9442, - "end": 9456, - "loc": { - "start": { - "line": 244, - "column": 4 + "name": "inputName" }, - "end": { - "line": 244, - "column": 18 - } + "computed": false }, - "expression": { - "type": "CallExpression", - "start": 9442, - "end": 9455, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 17 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9442, - "end": 9453, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 15 - } - }, - "object": { - "type": "ThisExpression", - "start": 9442, - "end": 9446, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9447, - "end": 9453, - "loc": { - "start": { - "line": 244, - "column": 9 - }, - "end": { - "line": 244, - "column": 15 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } + "computed": true } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, "loc": { "start": { - "line": 237, + "line": 222, "column": 2 }, "end": { - "line": 240, + "line": 225, "column": 5 } } @@ -10807,16 +12550,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 247, + "line": 238, "column": 2 }, "end": { - "line": 250, + "line": 242, "column": 5 } } @@ -10824,16 +12567,16 @@ ] }, { - "type": "ClassProperty", - "start": 9580, - "end": 9726, + "type": "ClassMethod", + "start": 9670, + "end": 9940, "loc": { "start": { - "line": 251, + "line": 243, "column": 2 }, "end": { - "line": 255, + "line": 252, "column": 3 } }, @@ -10841,462 +12584,650 @@ "computed": false, "key": { "type": "Identifier", - "start": 9580, - "end": 9585, + "start": 9670, + "end": 9678, "loc": { "start": { - "line": 251, + "line": 243, "column": 2 }, "end": { - "line": 251, - "column": 7 - }, - "identifierName": "clear" - }, - "name": "clear", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9588, - "end": 9726, - "loc": { - "start": { - "line": 251, + "line": 243, "column": 10 }, + "identifierName": "setInput" + }, + "name": "setInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9679, + "end": 9684, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + { + "type": "Identifier", + "start": 9686, + "end": 9695, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 243, + "column": 27 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 9696, + "end": 9940, + "loc": { + "start": { + "line": 243, + "column": 28 + }, "end": { - "line": 255, + "line": 252, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 9594, - "end": 9726, - "loc": { - "start": { - "line": 251, - "column": 16 + "body": [ + { + "type": "ExpressionStatement", + "start": 9703, + "end": 9751, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 52 + } }, - "end": { - "line": 255, - "column": 3 + "expression": { + "type": "AssignmentExpression", + "start": 9703, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9703, + "end": 9712, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 9715, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 16 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 9715, + "end": 9724, + "loc": { + "start": { + "line": 244, + "column": 16 + }, + "end": { + "line": 244, + "column": 25 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 9728, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 9728, + "end": 9740, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 9728, + "end": 9732, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 9733, + "end": 9740, + "loc": { + "start": { + "line": 244, + "column": 34 + }, + "end": { + "line": 244, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9741, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 42 + }, + "end": { + "line": 244, + "column": 51 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + } + } } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9601, - "end": 9633, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 36 - } + { + "type": "ExpressionStatement", + "start": 9757, + "end": 9787, + "loc": { + "start": { + "line": 245, + "column": 4 }, - "expression": { - "type": "AssignmentExpression", - "start": 9601, - "end": 9632, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9601, - "end": 9627, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 9601, - "end": 9617, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 9601, - "end": 9605, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9606, - "end": 9617, - "loc": { - "start": { - "line": 252, - "column": 9 - }, - "end": { - "line": 252, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9618, - "end": 9627, - "loc": { - "start": { - "line": 252, - "column": 21 - }, - "end": { - "line": 252, - "column": 30 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 9630, - "end": 9632, - "loc": { - "start": { - "line": 252, - "column": 33 - }, - "end": { - "line": 252, - "column": 35 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } + "end": { + "line": 245, + "column": 34 } }, - { - "type": "ExpressionStatement", - "start": 9639, - "end": 9690, + "expression": { + "type": "AssignmentExpression", + "start": 9757, + "end": 9786, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 55 + "line": 245, + "column": 33 } }, - "expression": { - "type": "AssignmentExpression", - "start": 9639, - "end": 9689, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9757, + "end": 9778, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 54 + "line": 245, + "column": 25 } }, - "operator": "=", - "left": { + "object": { "type": "MemberExpression", - "start": 9639, - "end": 9665, + "start": 9757, + "end": 9767, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 9639, - "end": 9655, - "loc": { - "start": { - "line": 253, - "column": 4 - }, - "end": { - "line": 253, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 9639, - "end": 9643, - "loc": { - "start": { - "line": 253, - "column": 4 - }, - "end": { - "line": 253, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9644, - "end": 9655, - "loc": { - "start": { - "line": 253, - "column": 9 - }, - "end": { - "line": 253, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9656, - "end": 9665, - "loc": { - "start": { - "line": 253, - "column": 21 - }, - "end": { - "line": 253, - "column": 30 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 9668, - "end": 9689, - "loc": { - "start": { - "line": 253, - "column": 33 - }, - "end": { - "line": 253, - "column": 54 + "line": 245, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9668, - "end": 9672, + "start": 9757, + "end": 9761, "loc": { "start": { - "line": 253, - "column": 33 - }, - "end": { - "line": 253, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 9673, - "end": 9689, - "loc": { - "start": { - "line": 253, - "column": 38 - }, - "end": { - "line": 253, - "column": 54 - }, - "identifierName": "keyboardDOMClass" - }, - "name": "keyboardDOMClass" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 9696, - "end": 9721, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 29 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9696, - "end": 9720, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9696, - "end": 9715, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 9696, - "end": 9700, - "loc": { - "start": { - "line": 254, + "line": 245, "column": 4 }, "end": { - "line": 254, + "line": 245, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9701, - "end": 9715, + "start": 9762, + "end": 9767, "loc": { "start": { - "line": 254, + "line": 245, "column": 9 }, "end": { - "line": 254, - "column": 23 + "line": 245, + "column": 14 }, - "identifierName": "buttonElements" + "identifierName": "input" }, - "name": "buttonElements" + "name": "input" }, "computed": false }, - "right": { - "type": "ObjectExpression", - "start": 9718, - "end": 9720, + "property": { + "type": "Identifier", + "start": 9768, + "end": 9777, "loc": { "start": { - "line": 254, - "column": 26 + "line": 245, + "column": 15 }, "end": { - "line": 254, - "column": 28 - } + "line": 245, + "column": 24 + }, + "identifierName": "inputName" }, - "properties": [] + "name": "inputName" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 9781, + "end": 9786, + "loc": { + "start": { + "line": 245, + "column": 28 + }, + "end": { + "line": 245, + "column": 33 + }, + "identifierName": "input" + }, + "name": "input" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9795, + "end": 9850, + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 249, + "column": 7 + } } } - } - ], - "directives": [], - "trailingComments": null - }, + ] + }, + { + "type": "IfStatement", + "start": 9856, + "end": 9935, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 251, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 9859, + "end": 9890, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 9859, + "end": 9871, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 9859, + "end": 9863, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9864, + "end": 9871, + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9872, + "end": 9890, + "loc": { + "start": { + "line": 250, + "column": 20 + }, + "end": { + "line": 250, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9899, + "end": 9935, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9899, + "end": 9934, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9899, + "end": 9922, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9899, + "end": 9903, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9904, + "end": 9922, + "loc": { + "start": { + "line": 251, + "column": 11 + }, + "end": { + "line": 251, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9923, + "end": 9933, + "loc": { + "start": { + "line": 251, + "column": 30 + }, + "end": { + "line": 251, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9923, + "end": 9927, + "loc": { + "start": { + "line": 251, + "column": 30 + }, + "end": { + "line": 251, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9928, + "end": 9933, + "loc": { + "start": { + "line": 251, + "column": 35 + }, + "end": { + "line": 251, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9795, + "end": 9850, + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 249, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 247, + "line": 238, "column": 2 }, "end": { - "line": 250, + "line": 242, "column": 5 } } @@ -11305,16 +13236,226 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, + "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", + "start": 9948, + "end": 10057, "loc": { "start": { - "line": 257, + "line": 254, "column": 2 }, "end": { - "line": 260, + "line": 257, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10061, + "end": 10117, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 260, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10061, + "end": 10073, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 258, + "column": 14 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10074, + "end": 10082, + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 23 + }, + "identifierName": "inputObj" + }, + "name": "inputObj" + } + ], + "body": { + "type": "BlockStatement", + "start": 10083, + "end": 10117, + "loc": { + "start": { + "line": 258, + "column": 24 + }, + "end": { + "line": 260, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10090, + "end": 10112, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10090, + "end": 10111, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10090, + "end": 10100, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 10090, + "end": 10094, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10095, + "end": 10100, + "loc": { + "start": { + "line": 259, + "column": 9 + }, + "end": { + "line": 259, + "column": 14 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 10103, + "end": 10111, + "loc": { + "start": { + "line": 259, + "column": 17 + }, + "end": { + "line": 259, + "column": 25 + }, + "identifierName": "inputObj" + }, + "name": "inputObj" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", + "start": 9948, + "end": 10057, + "loc": { + "start": { + "line": 254, + "column": 2 + }, + "end": { + "line": 257, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", + "start": 10123, + "end": 10249, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 265, "column": 5 } } @@ -11323,11 +13464,11 @@ }, { "type": "ClassProperty", - "start": 9941, - "end": 10316, + "start": 10253, + "end": 10387, "loc": { "start": { - "line": 261, + "line": 266, "column": 2 }, "end": { @@ -11339,30 +13480,30 @@ "computed": false, "key": { "type": "Identifier", - "start": 9941, - "end": 9949, + "start": 10253, + "end": 10263, "loc": { "start": { - "line": 261, + "line": 266, "column": 2 }, "end": { - "line": 261, - "column": 10 + "line": 266, + "column": 12 }, - "identifierName": "dispatch" + "identifierName": "setOptions" }, - "name": "dispatch", + "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", - "start": 9952, - "end": 10316, + "start": 10266, + "end": 10387, "loc": { "start": { - "line": 261, - "column": 13 + "line": 266, + "column": 15 }, "end": { "line": 270, @@ -11376,30 +13517,30 @@ "params": [ { "type": "Identifier", - "start": 9953, - "end": 9961, + "start": 10266, + "end": 10272, "loc": { "start": { - "line": 261, - "column": 14 + "line": 266, + "column": 15 }, "end": { - "line": 261, - "column": 22 + "line": 266, + "column": 21 }, - "identifierName": "callback" + "identifierName": "option" }, - "name": "callback" + "name": "option" } ], "body": { "type": "BlockStatement", - "start": 9966, - "end": 10316, + "start": 10276, + "end": 10387, "loc": { "start": { - "line": 261, - "column": 27 + "line": 266, + "column": 25 }, "end": { "line": 270, @@ -11408,3347 +13549,381 @@ }, "body": [ { - "type": "IfStatement", - "start": 9973, - "end": 10157, - "loc": { - "start": { - "line": 262, - "column": 4 - }, - "end": { - "line": 265, - "column": 5 - } - }, - "test": { - "type": "UnaryExpression", - "start": 9976, - "end": 10010, - "loc": { - "start": { - "line": 262, - "column": 7 - }, - "end": { - "line": 262, - "column": 41 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 9977, - "end": 10010, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 9977, - "end": 9983, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 14 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 9984, - "end": 10009, - "loc": { - "start": { - "line": 262, - "column": 15 - }, - "end": { - "line": 262, - "column": 40 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 10011, - "end": 10157, - "loc": { - "start": { - "line": 262, - "column": 42 - }, - "end": { - "line": 265, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10020, - "end": 10103, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 89 - } - }, - "expression": { - "type": "CallExpression", - "start": 10020, - "end": 10102, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 88 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10020, - "end": 10032, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 10020, - "end": 10027, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 10028, - "end": 10032, - "loc": { - "start": { - "line": 263, - "column": 14 - }, - "end": { - "line": 263, - "column": 18 - }, - "identifierName": "warn" - }, - "name": "warn" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 10033, - "end": 10101, - "loc": { - "start": { - "line": 263, - "column": 19 - }, - "end": { - "line": 263, - "column": 87 - } - }, - "expressions": [], - "quasis": [ - { - "type": "TemplateElement", - "start": 10034, - "end": 10100, - "loc": { - "start": { - "line": 263, - "column": 20 - }, - "end": { - "line": 263, - "column": 86 - } - }, - "value": { - "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", - "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." - }, - "tail": true - } - ] - } - ] - } - }, - { - "type": "ThrowStatement", - "start": 10111, - "end": 10150, - "loc": { - "start": { - "line": 264, - "column": 6 - }, - "end": { - "line": 264, - "column": 45 - } - }, - "argument": { - "type": "NewExpression", - "start": 10117, - "end": 10149, - "loc": { - "start": { - "line": 264, - "column": 12 - }, - "end": { - "line": 264, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 10121, - "end": 10126, - "loc": { - "start": { - "line": 264, - "column": 16 - }, - "end": { - "line": 264, - "column": 21 - }, - "identifierName": "Error" - }, - "name": "Error" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10127, - "end": 10148, - "loc": { - "start": { - "line": 264, - "column": 22 - }, - "end": { - "line": 264, - "column": 43 - } - }, - "extra": { - "rawValue": "INSTANCES_VAR_ERROR", - "raw": "\"INSTANCES_VAR_ERROR\"" - }, - "value": "INSTANCES_VAR_ERROR" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 10169, - "end": 10311, + "type": "ExpressionStatement", + "start": 10283, + "end": 10305, "loc": { "start": { "line": 267, "column": 4 }, "end": { - "line": 269, - "column": 6 - } - }, - "argument": { - "type": "CallExpression", - "start": 10176, - "end": 10311, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 269, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10176, - "end": 10230, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 65 - } - }, - "object": { - "type": "CallExpression", - "start": 10176, - "end": 10222, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10176, - "end": 10187, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 10176, - "end": 10182, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 17 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 10183, - "end": 10187, - "loc": { - "start": { - "line": 267, - "column": 18 - }, - "end": { - "line": 267, - "column": 22 - }, - "identifierName": "keys" - }, - "name": "keys" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 10188, - "end": 10221, - "loc": { - "start": { - "line": 267, - "column": 23 - }, - "end": { - "line": 267, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 10188, - "end": 10194, - "loc": { - "start": { - "line": 267, - "column": 23 - }, - "end": { - "line": 267, - "column": 29 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 10195, - "end": 10220, - "loc": { - "start": { - "line": 267, - "column": 30 - }, - "end": { - "line": 267, - "column": 55 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - } - ] - }, - "property": { - "type": "Identifier", - "start": 10223, - "end": 10230, - "loc": { - "start": { - "line": 267, - "column": 58 - }, - "end": { - "line": 267, - "column": 65 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10231, - "end": 10310, - "loc": { - "start": { - "line": 267, - "column": 66 - }, - "end": { - "line": 269, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10232, - "end": 10235, - "loc": { - "start": { - "line": 267, - "column": 67 - }, - "end": { - "line": 267, - "column": 70 - }, - "identifierName": "key" - }, - "name": "key" - } - ], - "body": { - "type": "BlockStatement", - "start": 10240, - "end": 10310, - "loc": { - "start": { - "line": 267, - "column": 75 - }, - "end": { - "line": 269, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10249, - "end": 10303, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 60 - } - }, - "expression": { - "type": "CallExpression", - "start": 10249, - "end": 10302, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 10249, - "end": 10257, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 14 - }, - "identifierName": "callback" - }, - "name": "callback" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 10258, - "end": 10296, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 53 - } - }, - "object": { - "type": "MemberExpression", - "start": 10258, - "end": 10291, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 10258, - "end": 10264, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 21 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 10265, - "end": 10290, - "loc": { - "start": { - "line": 268, - "column": 22 - }, - "end": { - "line": 268, - "column": 47 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 10292, - "end": 10295, - "loc": { - "start": { - "line": 268, - "column": 49 - }, - "end": { - "line": 268, - "column": 52 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": true - }, - { - "type": "Identifier", - "start": 10298, - "end": 10301, - "loc": { - "start": { - "line": 268, - "column": 55 - }, - "end": { - "line": 268, - "column": 58 - }, - "identifierName": "key" - }, - "name": "key" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, - "loc": { - "start": { - "line": 257, - "column": 2 - }, - "end": { - "line": 260, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, - "loc": { - "start": { - "line": 272, - "column": 2 - }, - "end": { - "line": 276, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 10607, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 2 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 10607, - "end": 10621, - "loc": { - "start": { - "line": 277, - "column": 2 - }, - "end": { - "line": 277, - "column": 16 - }, - "identifierName": "addButtonTheme" - }, - "name": "addButtonTheme", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 10624, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 19 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10625, - "end": 10632, - "loc": { - "start": { - "line": 277, - "column": 20 - }, - "end": { - "line": 277, - "column": 27 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - { - "type": "Identifier", - "start": 10634, - "end": 10643, - "loc": { - "start": { - "line": 277, - "column": 29 - }, - "end": { - "line": 277, - "column": 38 - }, - "identifierName": "className" - }, - "name": "className" - } - ], - "body": { - "type": "BlockStatement", - "start": 10648, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 43 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10655, - "end": 10702, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 279, - "column": 19 - } - }, - "test": { - "type": "LogicalExpression", - "start": 10658, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 7 - }, - "end": { - "line": 278, - "column": 29 - } - }, - "left": { - "type": "UnaryExpression", - "start": 10658, - "end": 10668, - "loc": { - "start": { - "line": 278, - "column": 7 - }, - "end": { - "line": 278, - "column": 17 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 10659, - "end": 10668, - "loc": { - "start": { - "line": 278, - "column": 8 - }, - "end": { - "line": 278, - "column": 17 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "||", - "right": { - "type": "UnaryExpression", - "start": 10672, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 21 - }, - "end": { - "line": 278, - "column": 29 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 10673, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 22 - }, - "end": { - "line": 278, - "column": 29 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 10689, - "end": 10702, - "loc": { - "start": { - "line": 279, - "column": 6 - }, - "end": { - "line": 279, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 10696, - "end": 10701, - "loc": { - "start": { - "line": 279, - "column": 13 - }, - "end": { - "line": 279, - "column": 18 - } - }, - "value": false - } - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 10710, - "end": 11819, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 317, - "column": 7 + "line": 267, + "column": 26 } }, "expression": { - "type": "CallExpression", - "start": 10710, - "end": 11818, + "type": "AssignmentExpression", + "start": 10283, + "end": 10304, "loc": { "start": { - "line": 281, + "line": 267, "column": 4 }, "end": { - "line": 317, - "column": 6 + "line": 267, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 10710, - "end": 10736, + "operator": "=", + "left": { + "type": "Identifier", + "start": 10283, + "end": 10289, "loc": { "start": { - "line": 281, + "line": 267, "column": 4 }, "end": { - "line": 281, - "column": 30 + "line": 267, + "column": 10 + }, + "identifierName": "option" + }, + "name": "option" + }, + "right": { + "type": "LogicalExpression", + "start": 10292, + "end": 10304, + "loc": { + "start": { + "line": 267, + "column": 13 + }, + "end": { + "line": 267, + "column": 25 } }, - "object": { - "type": "CallExpression", - "start": 10710, - "end": 10728, + "left": { + "type": "Identifier", + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 281, - "column": 4 + "line": 267, + "column": 13 }, "end": { - "line": 281, - "column": 22 - } + "line": 267, + "column": 19 + }, + "identifierName": "option" }, - "callee": { - "type": "MemberExpression", - "start": 10710, - "end": 10723, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 10710, - "end": 10717, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 11 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "property": { - "type": "Identifier", - "start": 10718, - "end": 10723, - "loc": { - "start": { - "line": 281, - "column": 12 - }, - "end": { - "line": 281, - "column": 17 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10724, - "end": 10727, - "loc": { - "start": { - "line": 281, - "column": 18 - }, - "end": { - "line": 281, - "column": 21 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] + "name": "option" }, - "property": { - "type": "Identifier", - "start": 10729, - "end": 10736, + "operator": "||", + "right": { + "type": "ObjectExpression", + "start": 10302, + "end": 10304, "loc": { "start": { - "line": 281, + "line": 267, "column": 23 }, "end": { - "line": 281, - "column": 30 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10737, - "end": 11817, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 317, - "column": 5 + "line": 267, + "column": 25 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10737, - "end": 10743, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 281, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 10747, - "end": 11817, - "loc": { - "start": { - "line": 281, - "column": 41 - }, - "end": { - "line": 317, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10756, - "end": 11810, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 316, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 10756, - "end": 11809, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 316, - "column": 8 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10756, - "end": 10784, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 10756, - "end": 10776, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10756, - "end": 10771, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 10756, - "end": 10765, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 15 - }, - "identifierName": "className" - }, - "name": "className" - }, - "property": { - "type": "Identifier", - "start": 10766, - "end": 10771, - "loc": { - "start": { - "line": 282, - "column": 16 - }, - "end": { - "line": 282, - "column": 21 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10772, - "end": 10775, - "loc": { - "start": { - "line": 282, - "column": 22 - }, - "end": { - "line": 282, - "column": 25 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 10777, - "end": 10784, - "loc": { - "start": { - "line": 282, - "column": 27 - }, - "end": { - "line": 282, - "column": 34 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10785, - "end": 11808, - "loc": { - "start": { - "line": 282, - "column": 35 - }, - "end": { - "line": 316, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10785, - "end": 10798, - "loc": { - "start": { - "line": 282, - "column": 35 - }, - "end": { - "line": 282, - "column": 48 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - ], - "body": { - "type": "BlockStatement", - "start": 10802, - "end": 11808, - "loc": { - "start": { - "line": 282, - "column": 52 - }, - "end": { - "line": 316, - "column": 7 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10813, - "end": 10884, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 284, - "column": 40 - } - }, - "test": { - "type": "UnaryExpression", - "start": 10816, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 11 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 10817, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 10817, - "end": 10829, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 10817, - "end": 10821, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 10822, - "end": 10829, - "loc": { - "start": { - "line": 283, - "column": 17 - }, - "end": { - "line": 283, - "column": 24 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10830, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 25 - }, - "end": { - "line": 283, - "column": 36 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 10854, - "end": 10884, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10854, - "end": 10883, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10854, - "end": 10878, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 10854, - "end": 10866, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 10854, - "end": 10858, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 10859, - "end": 10866, - "loc": { - "start": { - "line": 284, - "column": 15 - }, - "end": { - "line": 284, - "column": 22 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10867, - "end": 10878, - "loc": { - "start": { - "line": 284, - "column": 23 - }, - "end": { - "line": 284, - "column": 34 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "right": { - "type": "ArrayExpression", - "start": 10881, - "end": 10883, - "loc": { - "start": { - "line": 284, - "column": 37 - }, - "end": { - "line": 284, - "column": 39 - } - }, - "elements": [] - } - } - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 10896, - "end": 10923, - "loc": { - "start": { - "line": 286, - "column": 8 - }, - "end": { - "line": 286, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 10900, - "end": 10922, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 10900, - "end": 10914, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "init": { - "type": "BooleanLiteral", - "start": 10917, - "end": 10922, - "loc": { - "start": { - "line": 286, - "column": 29 - }, - "end": { - "line": 286, - "column": 34 - } - }, - "value": false - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 290, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 11038, - "end": 11546, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 304, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 11038, - "end": 11545, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 304, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11038, - "end": 11066, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 11038, - "end": 11062, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 11038, - "end": 11050, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 11038, - "end": 11042, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11043, - "end": 11050, - "loc": { - "start": { - "line": 291, - "column": 13 - }, - "end": { - "line": 291, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11051, - "end": 11062, - "loc": { - "start": { - "line": 291, - "column": 21 - }, - "end": { - "line": 291, - "column": 32 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11063, - "end": 11066, - "loc": { - "start": { - "line": 291, - "column": 33 - }, - "end": { - "line": 291, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 11067, - "end": 11544, - "loc": { - "start": { - "line": 291, - "column": 37 - }, - "end": { - "line": 304, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 11067, - "end": 11078, - "loc": { - "start": { - "line": 291, - "column": 37 - }, - "end": { - "line": 291, - "column": 48 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - } - ], - "body": { - "type": "BlockStatement", - "start": 11082, - "end": 11544, - "loc": { - "start": { - "line": 291, - "column": 52 - }, - "end": { - "line": 304, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 11097, - "end": 11502, - "loc": { - "start": { - "line": 293, - "column": 10 - }, - "end": { - "line": 302, - "column": 11 - } - }, - "test": { - "type": "CallExpression", - "start": 11100, - "end": 11152, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11100, - "end": 11137, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 50 - } - }, - "object": { - "type": "CallExpression", - "start": 11100, - "end": 11128, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11100, - "end": 11123, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 11100, - "end": 11117, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 11100, - "end": 11111, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 24 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11112, - "end": 11117, - "loc": { - "start": { - "line": 293, - "column": 25 - }, - "end": { - "line": 293, - "column": 30 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11118, - "end": 11123, - "loc": { - "start": { - "line": 293, - "column": 31 - }, - "end": { - "line": 293, - "column": 36 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11124, - "end": 11127, - "loc": { - "start": { - "line": 293, - "column": 37 - }, - "end": { - "line": 293, - "column": 40 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 11129, - "end": 11137, - "loc": { - "start": { - "line": 293, - "column": 42 - }, - "end": { - "line": 293, - "column": 50 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11138, - "end": 11151, - "loc": { - "start": { - "line": 293, - "column": 51 - }, - "end": { - "line": 293, - "column": 64 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 11153, - "end": 11502, - "loc": { - "start": { - "line": 293, - "column": 66 - }, - "end": { - "line": 302, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11168, - "end": 11190, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11168, - "end": 11189, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11168, - "end": 11182, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "right": { - "type": "BooleanLiteral", - "start": 11185, - "end": 11189, - "loc": { - "start": { - "line": 294, - "column": 29 - }, - "end": { - "line": 294, - "column": 33 - } - }, - "value": true - } - } - }, - { - "type": "VariableDeclaration", - "start": 11218, - "end": 11272, - "loc": { - "start": { - "line": 296, - "column": 12 - }, - "end": { - "line": 296, - "column": 66 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 11222, - "end": 11271, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 65 - } - }, - "id": { - "type": "Identifier", - "start": 11222, - "end": 11238, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 32 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "init": { - "type": "CallExpression", - "start": 11241, - "end": 11271, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11241, - "end": 11266, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 60 - } - }, - "object": { - "type": "MemberExpression", - "start": 11241, - "end": 11260, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 11241, - "end": 11252, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 46 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11253, - "end": 11260, - "loc": { - "start": { - "line": 296, - "column": 47 - }, - "end": { - "line": 296, - "column": 54 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11261, - "end": 11266, - "loc": { - "start": { - "line": 296, - "column": 55 - }, - "end": { - "line": 296, - "column": 60 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11267, - "end": 11270, - "loc": { - "start": { - "line": 296, - "column": 61 - }, - "end": { - "line": 296, - "column": 64 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 11286, - "end": 11489, - "loc": { - "start": { - "line": 297, - "column": 12 - }, - "end": { - "line": 301, - "column": 13 - } - }, - "test": { - "type": "UnaryExpression", - "start": 11289, - "end": 11323, - "loc": { - "start": { - "line": 297, - "column": 15 - }, - "end": { - "line": 297, - "column": 49 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 11290, - "end": 11323, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11290, - "end": 11315, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 11290, - "end": 11306, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 32 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11307, - "end": 11315, - "loc": { - "start": { - "line": 297, - "column": 33 - }, - "end": { - "line": 297, - "column": 41 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11316, - "end": 11322, - "loc": { - "start": { - "line": 297, - "column": 42 - }, - "end": { - "line": 297, - "column": 48 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 11324, - "end": 11489, - "loc": { - "start": { - "line": 297, - "column": 50 - }, - "end": { - "line": 301, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11341, - "end": 11363, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11341, - "end": 11362, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11341, - "end": 11355, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 28 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "right": { - "type": "BooleanLiteral", - "start": 11358, - "end": 11362, - "loc": { - "start": { - "line": 298, - "column": 31 - }, - "end": { - "line": 298, - "column": 35 - } - }, - "value": true - } - } - }, - { - "type": "ExpressionStatement", - "start": 11379, - "end": 11409, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 11379, - "end": 11408, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11379, - "end": 11400, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 11379, - "end": 11395, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 30 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11396, - "end": 11400, - "loc": { - "start": { - "line": 299, - "column": 31 - }, - "end": { - "line": 299, - "column": 35 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11401, - "end": 11407, - "loc": { - "start": { - "line": 299, - "column": 36 - }, - "end": { - "line": 299, - "column": 42 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 11425, - "end": 11474, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 63 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11425, - "end": 11473, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 62 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 11425, - "end": 11444, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 11425, - "end": 11436, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 25 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11437, - "end": 11444, - "loc": { - "start": { - "line": 300, - "column": 26 - }, - "end": { - "line": 300, - "column": 33 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 11447, - "end": 11473, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11447, - "end": 11468, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 11447, - "end": 11463, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 52 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11464, - "end": 11468, - "loc": { - "start": { - "line": 300, - "column": 53 - }, - "end": { - "line": 300, - "column": 57 - }, - "identifierName": "join" - }, - "name": "join" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11469, - "end": 11472, - "loc": { - "start": { - "line": 300, - "column": 58 - }, - "end": { - "line": 300, - "column": 61 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 11514, - "end": 11533, - "loc": { - "start": { - "line": 303, - "column": 10 - }, - "end": { - "line": 303, - "column": 29 - } - }, - "argument": { - "type": "Identifier", - "start": 11521, - "end": 11532, - "loc": { - "start": { - "line": 303, - "column": 17 - }, - "end": { - "line": 303, - "column": 28 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 290, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, - "loc": { - "start": { - "line": 306, - "column": 8 - }, - "end": { - "line": 308, - "column": 11 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 11643, - "end": 11797, - "loc": { - "start": { - "line": 309, - "column": 8 - }, - "end": { - "line": 314, - "column": 9 - } - }, - "test": { - "type": "UnaryExpression", - "start": 11646, - "end": 11661, - "loc": { - "start": { - "line": 309, - "column": 11 - }, - "end": { - "line": 309, - "column": 26 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 11647, - "end": 11661, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound", - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 11662, - "end": 11797, - "loc": { - "start": { - "line": 309, - "column": 27 - }, - "end": { - "line": 314, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11675, - "end": 11786, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 313, - "column": 13 - } - }, - "expression": { - "type": "CallExpression", - "start": 11675, - "end": 11785, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 313, - "column": 12 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11675, - "end": 11704, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 11675, - "end": 11699, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 11675, - "end": 11687, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 11675, - "end": 11679, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 11680, - "end": 11687, - "loc": { - "start": { - "line": 310, - "column": 15 - }, - "end": { - "line": 310, - "column": 22 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11688, - "end": 11699, - "loc": { - "start": { - "line": 310, - "column": 23 - }, - "end": { - "line": 310, - "column": 34 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11700, - "end": 11704, - "loc": { - "start": { - "line": 310, - "column": 35 - }, - "end": { - "line": 310, - "column": 39 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 11705, - "end": 11784, - "loc": { - "start": { - "line": 310, - "column": 40 - }, - "end": { - "line": 313, - "column": 11 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 11720, - "end": 11740, - "loc": { - "start": { - "line": 311, - "column": 12 - }, - "end": { - "line": 311, - "column": 32 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 11720, - "end": 11725, - "loc": { - "start": { - "line": 311, - "column": 12 - }, - "end": { - "line": 311, - "column": 17 - }, - "identifierName": "class" - }, - "name": "class" - }, - "value": { - "type": "Identifier", - "start": 11727, - "end": 11740, - "loc": { - "start": { - "line": 311, - "column": 19 - }, - "end": { - "line": 311, - "column": 32 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - }, - { - "type": "ObjectProperty", - "start": 11755, - "end": 11771, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 28 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 11755, - "end": 11762, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 19 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "value": { - "type": "Identifier", - "start": 11764, - "end": 11771, - "loc": { - "start": { - "line": 312, - "column": 21 - }, - "end": { - "line": 312, - "column": 28 - }, - "identifierName": "buttons" - }, - "name": "buttons" - } - } - ] - } - ] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, - "loc": { - "start": { - "line": 306, - "column": 8 - }, - "end": { - "line": 308, - "column": 11 - } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - } + "properties": [] } - ] + } } }, { "type": "ExpressionStatement", - "start": 11827, - "end": 11841, + "start": 10311, + "end": 10362, "loc": { "start": { - "line": 319, + "line": 268, "column": 4 }, "end": { - "line": 319, + "line": 268, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10311, + "end": 10361, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10311, + "end": 10323, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 10311, + "end": 10315, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10316, + "end": 10323, + "loc": { + "start": { + "line": 268, + "column": 9 + }, + "end": { + "line": 268, + "column": 16 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 10326, + "end": 10361, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10326, + "end": 10339, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 10326, + "end": 10332, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 25 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 10333, + "end": 10339, + "loc": { + "start": { + "line": 268, + "column": 26 + }, + "end": { + "line": 268, + "column": 32 + }, + "identifierName": "assign" + }, + "name": "assign" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10340, + "end": 10352, + "loc": { + "start": { + "line": 268, + "column": 33 + }, + "end": { + "line": 268, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 10340, + "end": 10344, + "loc": { + "start": { + "line": 268, + "column": 33 + }, + "end": { + "line": 268, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 10345, + "end": 10352, + "loc": { + "start": { + "line": 268, + "column": 38 + }, + "end": { + "line": 268, + "column": 45 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 10354, + "end": 10360, + "loc": { + "start": { + "line": 268, + "column": 47 + }, + "end": { + "line": 268, + "column": 53 + }, + "identifierName": "option" + }, + "name": "option" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 10368, + "end": 10382, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 11827, - "end": 11840, + "start": 10368, + "end": 10381, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 11827, - "end": 11838, + "start": 10368, + "end": 10379, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 11827, - "end": 11831, + "start": 10368, + "end": 10372, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 8 } } }, "property": { "type": "Identifier", - "start": 11832, - "end": 11838, + "start": 10373, + "end": 10379, "loc": { "start": { - "line": 319, + "line": 269, "column": 9 }, "end": { - "line": 319, + "line": 269, "column": 15 }, "identifierName": "render" @@ -14769,16 +13944,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, + "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", + "start": 10123, + "end": 10249, "loc": { "start": { - "line": 272, + "line": 262, "column": 2 }, "end": { - "line": 276, + "line": 265, "column": 5 } } @@ -14787,16 +13962,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 10393, + "end": 10502, "loc": { "start": { - "line": 322, + "line": 272, "column": 2 }, "end": { - "line": 326, + "line": 275, "column": 5 } } @@ -14804,16 +13979,16 @@ ] }, { - "type": "ClassProperty", - "start": 12196, - "end": 13620, + "type": "ClassMethod", + "start": 10506, + "end": 10645, "loc": { "start": { - "line": 327, + "line": 276, "column": 2 }, "end": { - "line": 373, + "line": 280, "column": 3 } }, @@ -14821,1451 +13996,2605 @@ "computed": false, "key": { "type": "Identifier", - "start": 12196, - "end": 12213, + "start": 10506, + "end": 10511, "loc": { "start": { - "line": 327, + "line": 276, "column": 2 }, "end": { - "line": 327, - "column": 19 + "line": 276, + "column": 7 }, - "identifierName": "removeButtonTheme" + "identifierName": "clear" }, - "name": "removeButtonTheme", + "name": "clear", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 12216, - "end": 13620, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10513, + "end": 10645, "loc": { "start": { - "line": 327, - "column": 22 + "line": 276, + "column": 9 }, "end": { - "line": 373, + "line": 280, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 12217, - "end": 12224, + "type": "ExpressionStatement", + "start": 10520, + "end": 10552, "loc": { "start": { - "line": 327, - "column": 23 + "line": 277, + "column": 4 }, "end": { - "line": 327, - "column": 30 - }, - "identifierName": "buttons" + "line": 277, + "column": 36 + } }, - "name": "buttons" - }, - { - "type": "Identifier", - "start": 12226, - "end": 12235, - "loc": { - "start": { - "line": 327, - "column": 32 + "expression": { + "type": "AssignmentExpression", + "start": 10520, + "end": 10551, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 35 + } }, - "end": { - "line": 327, - "column": 41 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10520, + "end": 10546, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 10520, + "end": 10536, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 10520, + "end": 10524, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10525, + "end": 10536, + "loc": { + "start": { + "line": 277, + "column": 9 + }, + "end": { + "line": 277, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10537, + "end": 10546, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 30 + }, + "identifierName": "innerHTML" + }, + "name": "innerHTML" + }, + "computed": false }, - "identifierName": "className" - }, - "name": "className" - } - ], - "body": { - "type": "BlockStatement", - "start": 12240, - "end": 13620, - "loc": { - "start": { - "line": 327, - "column": 46 - }, - "end": { - "line": 373, - "column": 3 + "right": { + "type": "StringLiteral", + "start": 10549, + "end": 10551, + "loc": { + "start": { + "line": 277, + "column": 33 + }, + "end": { + "line": 277, + "column": 35 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } } }, - "body": [ - { - "type": "IfStatement", - "start": 12333, - "end": 12448, - "loc": { - "start": { - "line": 331, - "column": 4 - }, - "end": { - "line": 335, - "column": 5 - } + { + "type": "ExpressionStatement", + "start": 10558, + "end": 10609, + "loc": { + "start": { + "line": 278, + "column": 4 }, - "test": { - "type": "LogicalExpression", - "start": 12336, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 7 - }, - "end": { - "line": 331, - "column": 29 - } - }, - "left": { - "type": "UnaryExpression", - "start": 12336, - "end": 12344, - "loc": { - "start": { - "line": 331, - "column": 7 - }, - "end": { - "line": 331, - "column": 15 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 12337, - "end": 12344, - "loc": { - "start": { - "line": 331, - "column": 8 - }, - "end": { - "line": 331, - "column": 15 - }, - "identifierName": "buttons" - }, - "name": "buttons", - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 12348, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 29 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 12349, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 20 - }, - "end": { - "line": 331, - "column": 29 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 12359, - "end": 12448, - "loc": { - "start": { - "line": 331, - "column": 30 - }, - "end": { - "line": 335, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12368, - "end": 12398, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 12368, - "end": 12397, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 12368, - "end": 12392, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 12368, - "end": 12380, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 12368, - "end": 12372, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 12373, - "end": 12380, - "loc": { - "start": { - "line": 332, - "column": 11 - }, - "end": { - "line": 332, - "column": 18 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12381, - "end": 12392, - "loc": { - "start": { - "line": 332, - "column": 19 - }, - "end": { - "line": 332, - "column": 30 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "right": { - "type": "ArrayExpression", - "start": 12395, - "end": 12397, - "loc": { - "start": { - "line": 332, - "column": 33 - }, - "end": { - "line": 332, - "column": 35 - } - }, - "elements": [] - } - } - }, - { - "type": "ExpressionStatement", - "start": 12406, - "end": 12420, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 12406, - "end": 12419, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12406, - "end": 12417, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 12406, - "end": 12410, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 12411, - "end": 12417, - "loc": { - "start": { - "line": 333, - "column": 11 - }, - "end": { - "line": 333, - "column": 17 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ReturnStatement", - "start": 12428, - "end": 12441, - "loc": { - "start": { - "line": 334, - "column": 6 - }, - "end": { - "line": 334, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 12435, - "end": 12440, - "loc": { - "start": { - "line": 334, - "column": 13 - }, - "end": { - "line": 334, - "column": 18 - } - }, - "value": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 12247, - "end": 12327, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 330, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 339, - "column": 7 - } - } - } - ] + "end": { + "line": 278, + "column": 55 + } }, - { - "type": "IfStatement", - "start": 12530, - "end": 13615, + "expression": { + "type": "AssignmentExpression", + "start": 10558, + "end": 10608, "loc": { "start": { - "line": 340, + "line": 278, "column": 4 }, "end": { - "line": 372, + "line": 278, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10558, + "end": 10584, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 10558, + "end": 10574, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 10558, + "end": 10562, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10563, + "end": 10574, + "loc": { + "start": { + "line": 278, + "column": 9 + }, + "end": { + "line": 278, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10575, + "end": 10584, + "loc": { + "start": { + "line": 278, + "column": 21 + }, + "end": { + "line": 278, + "column": 30 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 10587, + "end": 10608, + "loc": { + "start": { + "line": 278, + "column": 33 + }, + "end": { + "line": 278, + "column": 54 + } + }, + "object": { + "type": "ThisExpression", + "start": 10587, + "end": 10591, + "loc": { + "start": { + "line": 278, + "column": 33 + }, + "end": { + "line": 278, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 10592, + "end": 10608, + "loc": { + "start": { + "line": 278, + "column": 38 + }, + "end": { + "line": 278, + "column": 54 + }, + "identifierName": "keyboardDOMClass" + }, + "name": "keyboardDOMClass" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 10615, + "end": 10640, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10615, + "end": 10639, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10615, + "end": 10634, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 10615, + "end": 10619, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10620, + "end": 10634, + "loc": { + "start": { + "line": 279, + "column": 9 + }, + "end": { + "line": 279, + "column": 23 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 10637, + "end": 10639, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 28 + } + }, + "properties": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 10393, + "end": 10502, + "loc": { + "start": { + "line": 272, + "column": 2 + }, + "end": { + "line": 275, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", + "start": 10651, + "end": 10856, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 285, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10860, + "end": 11228, + "loc": { + "start": { + "line": 286, + "column": 2 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10860, + "end": 10868, + "loc": { + "start": { + "line": 286, + "column": 2 + }, + "end": { + "line": 286, + "column": 10 + }, + "identifierName": "dispatch" + }, + "name": "dispatch", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10869, + "end": 10877, + "loc": { + "start": { + "line": 286, + "column": 11 + }, + "end": { + "line": 286, + "column": 19 + }, + "identifierName": "callback" + }, + "name": "callback" + } + ], + "body": { + "type": "BlockStatement", + "start": 10878, + "end": 11228, + "loc": { + "start": { + "line": 286, + "column": 20 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 10885, + "end": 11069, + "loc": { + "start": { + "line": 287, + "column": 4 + }, + "end": { + "line": 290, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 10888, + "end": 10922, + "loc": { + "start": { + "line": 287, + "column": 7 + }, + "end": { + "line": 287, + "column": 41 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 10889, + "end": 10922, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 10889, + "end": 10895, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 14 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 10896, + "end": 10921, + "loc": { + "start": { + "line": 287, + "column": 15 + }, + "end": { + "line": 287, + "column": 40 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 10923, + "end": 11069, + "loc": { + "start": { + "line": 287, + "column": 42 + }, + "end": { + "line": 290, "column": 5 } }, - "test": { - "type": "LogicalExpression", - "start": 12533, - "end": 12618, - "loc": { - "start": { - "line": 340, - "column": 7 - }, - "end": { - "line": 340, - "column": 92 - } - }, - "left": { - "type": "LogicalExpression", - "start": 12533, - "end": 12583, + "body": [ + { + "type": "ExpressionStatement", + "start": 10932, + "end": 11015, "loc": { "start": { - "line": 340, - "column": 7 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 57 + "line": 288, + "column": 89 } }, - "left": { - "type": "Identifier", - "start": 12533, - "end": 12540, - "loc": { - "start": { - "line": 340, - "column": 7 - }, - "end": { - "line": 340, - "column": 14 - }, - "identifierName": "buttons" - }, - "name": "buttons", - "leadingComments": null - }, - "operator": "&&", - "right": { + "expression": { "type": "CallExpression", - "start": 12544, - "end": 12583, + "start": 10932, + "end": 11014, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 57 + "line": 288, + "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 12544, - "end": 12557, + "start": 10932, + "end": 10944, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 31 + "line": 288, + "column": 18 } }, "object": { "type": "Identifier", - "start": 12544, - "end": 12549, + "start": 10932, + "end": 10939, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 23 + "line": 288, + "column": 13 }, - "identifierName": "Array" + "identifierName": "console" }, - "name": "Array" + "name": "console" }, "property": { "type": "Identifier", - "start": 12550, - "end": 12557, + "start": 10940, + "end": 10944, "loc": { "start": { - "line": 340, - "column": 24 + "line": 288, + "column": 14 }, "end": { - "line": 340, - "column": 31 + "line": 288, + "column": 18 }, - "identifierName": "isArray" + "identifierName": "warn" }, - "name": "isArray" + "name": "warn" }, "computed": false }, "arguments": [ { - "type": "MemberExpression", - "start": 12558, - "end": 12582, + "type": "TemplateLiteral", + "start": 10945, + "end": 11013, "loc": { "start": { - "line": 340, - "column": 32 + "line": 288, + "column": 19 }, "end": { - "line": 340, - "column": 56 + "line": 288, + "column": 87 } }, - "object": { - "type": "MemberExpression", - "start": 12558, - "end": 12570, - "loc": { - "start": { - "line": 340, - "column": 32 - }, - "end": { - "line": 340, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 12558, - "end": 12562, + "expressions": [], + "quasis": [ + { + "type": "TemplateElement", + "start": 10946, + "end": 11012, "loc": { "start": { - "line": 340, - "column": 32 + "line": 288, + "column": 20 }, "end": { - "line": 340, - "column": 36 + "line": 288, + "column": 86 } - } - }, - "property": { - "type": "Identifier", - "start": 12563, - "end": 12570, - "loc": { - "start": { - "line": 340, - "column": 37 - }, - "end": { - "line": 340, - "column": 44 - }, - "identifierName": "options" }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12571, - "end": 12582, - "loc": { - "start": { - "line": 340, - "column": 45 + "value": { + "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", + "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, - "end": { - "line": 340, - "column": 56 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false + "tail": true + } + ] } ] - }, - "leadingComments": null + } }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 12587, - "end": 12618, + { + "type": "ThrowStatement", + "start": 11023, + "end": 11062, "loc": { "start": { - "line": 340, - "column": 61 + "line": 289, + "column": 6 }, "end": { - "line": 340, - "column": 92 + "line": 289, + "column": 45 } }, - "object": { - "type": "MemberExpression", - "start": 12587, - "end": 12611, + "argument": { + "type": "NewExpression", + "start": 11029, + "end": 11061, "loc": { "start": { - "line": 340, - "column": 61 + "line": 289, + "column": 12 }, "end": { - "line": 340, - "column": 85 + "line": 289, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 11033, + "end": 11038, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 289, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11039, + "end": 11060, + "loc": { + "start": { + "line": 289, + "column": 22 + }, + "end": { + "line": 289, + "column": 43 + } + }, + "extra": { + "rawValue": "INSTANCES_VAR_ERROR", + "raw": "\"INSTANCES_VAR_ERROR\"" + }, + "value": "INSTANCES_VAR_ERROR" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 11081, + "end": 11223, + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 294, + "column": 6 + } + }, + "argument": { + "type": "CallExpression", + "start": 11088, + "end": 11223, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 294, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11088, + "end": 11142, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 65 + } + }, + "object": { + "type": "CallExpression", + "start": 11088, + "end": 11134, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11088, + "end": 11099, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 22 } }, "object": { - "type": "MemberExpression", - "start": 12587, - "end": 12599, + "type": "Identifier", + "start": 11088, + "end": 11094, "loc": { "start": { - "line": 340, - "column": 61 + "line": 292, + "column": 11 }, "end": { - "line": 340, - "column": 73 - } - }, - "object": { - "type": "ThisExpression", - "start": 12587, - "end": 12591, - "loc": { - "start": { - "line": 340, - "column": 61 - }, - "end": { - "line": 340, - "column": 65 - } - } - }, - "property": { - "type": "Identifier", - "start": 12592, - "end": 12599, - "loc": { - "start": { - "line": 340, - "column": 66 - }, - "end": { - "line": 340, - "column": 73 - }, - "identifierName": "options" + "line": 292, + "column": 17 }, - "name": "options" + "identifierName": "Object" }, - "computed": false + "name": "Object" }, "property": { "type": "Identifier", - "start": 12600, - "end": 12611, + "start": 11095, + "end": 11099, "loc": { "start": { - "line": 340, - "column": 74 + "line": 292, + "column": 18 }, "end": { - "line": 340, - "column": 85 + "line": 292, + "column": 22 }, - "identifierName": "buttonTheme" + "identifierName": "keys" }, - "name": "buttonTheme" + "name": "keys" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 12612, - "end": 12618, - "loc": { - "start": { - "line": 340, - "column": 86 - }, - "end": { - "line": 340, - "column": 92 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 12619, - "end": 13615, - "loc": { - "start": { - "line": 340, - "column": 93 - }, - "end": { - "line": 372, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 12628, - "end": 12665, - "loc": { - "start": { - "line": 341, - "column": 6 - }, - "end": { - "line": 341, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 12632, - "end": 12664, - "loc": { - "start": { - "line": 341, - "column": 10 - }, - "end": { - "line": 341, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 12632, - "end": 12643, - "loc": { - "start": { - "line": 341, - "column": 10 - }, - "end": { - "line": 341, - "column": 21 - }, - "identifierName": "buttonArray" - }, - "name": "buttonArray" - }, - "init": { - "type": "CallExpression", - "start": 12646, - "end": 12664, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12646, - "end": 12659, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 12646, - "end": 12653, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 31 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "property": { - "type": "Identifier", - "start": 12654, - "end": 12659, - "loc": { - "start": { - "line": 341, - "column": 32 - }, - "end": { - "line": 341, - "column": 37 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 12660, - "end": 12663, - "loc": { - "start": { - "line": 341, - "column": 38 - }, - "end": { - "line": 341, - "column": 41 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 12673, - "end": 13584, - "loc": { - "start": { - "line": 342, - "column": 6 - }, - "end": { - "line": 369, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 12673, - "end": 13583, + "arguments": [ + { + "type": "MemberExpression", + "start": 11100, + "end": 11133, "loc": { "start": { - "line": 342, - "column": 6 + "line": 292, + "column": 23 }, "end": { - "line": 369, - "column": 8 + "line": 292, + "column": 56 } }, - "callee": { - "type": "MemberExpression", - "start": 12673, - "end": 12692, + "object": { + "type": "Identifier", + "start": 11100, + "end": 11106, "loc": { "start": { - "line": 342, + "line": 292, + "column": 23 + }, + "end": { + "line": 292, + "column": 29 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 11107, + "end": 11132, + "loc": { + "start": { + "line": 292, + "column": 30 + }, + "end": { + "line": 292, + "column": 55 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + } + ] + }, + "property": { + "type": "Identifier", + "start": 11135, + "end": 11142, + "loc": { + "start": { + "line": 292, + "column": 58 + }, + "end": { + "line": 292, + "column": 65 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11143, + "end": 11222, + "loc": { + "start": { + "line": 292, + "column": 66 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11144, + "end": 11147, + "loc": { + "start": { + "line": 292, + "column": 67 + }, + "end": { + "line": 292, + "column": 70 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 11152, + "end": 11222, + "loc": { + "start": { + "line": 292, + "column": 75 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11161, + "end": 11215, + "loc": { + "start": { + "line": 293, "column": 6 }, "end": { - "line": 342, - "column": 25 + "line": 293, + "column": 60 } }, - "object": { - "type": "Identifier", - "start": 12673, - "end": 12684, + "expression": { + "type": "CallExpression", + "start": 11161, + "end": 11214, "loc": { "start": { - "line": 342, + "line": 293, "column": 6 }, "end": { - "line": 342, - "column": 17 - }, - "identifierName": "buttonArray" - }, - "name": "buttonArray" - }, - "property": { - "type": "Identifier", - "start": 12685, - "end": 12692, - "loc": { - "start": { - "line": 342, - "column": 18 - }, - "end": { - "line": 342, - "column": 25 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 12693, - "end": 13582, - "loc": { - "start": { - "line": 342, - "column": 26 - }, - "end": { - "line": 369, - "column": 7 + "line": 293, + "column": 59 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "callee": { + "type": "Identifier", + "start": 11161, + "end": 11169, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 14 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "arguments": [ { - "type": "Identifier", - "start": 12694, - "end": 12700, + "type": "MemberExpression", + "start": 11170, + "end": 11208, "loc": { "start": { - "line": 342, - "column": 27 + "line": 293, + "column": 15 }, "end": { - "line": 342, - "column": 33 - }, - "identifierName": "button" + "line": 293, + "column": 53 + } }, - "name": "button" + "object": { + "type": "MemberExpression", + "start": 11170, + "end": 11203, + "loc": { + "start": { + "line": 293, + "column": 15 + }, + "end": { + "line": 293, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 11170, + "end": 11176, + "loc": { + "start": { + "line": 293, + "column": 15 + }, + "end": { + "line": 293, + "column": 21 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 11177, + "end": 11202, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 47 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 11204, + "end": 11207, + "loc": { + "start": { + "line": 293, + "column": 49 + }, + "end": { + "line": 293, + "column": 52 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true }, { "type": "Identifier", - "start": 12702, - "end": 12705, + "start": 11210, + "end": 11213, "loc": { "start": { - "line": 342, - "column": 35 + "line": 293, + "column": 55 }, "end": { - "line": 342, - "column": 38 + "line": 293, + "column": 58 }, "identifierName": "key" }, "name": "key" } - ], - "body": { - "type": "BlockStatement", - "start": 12710, - "end": 13582, + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", + "start": 10651, + "end": 10856, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 285, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 11234, + "end": 11515, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 301, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 11519, + "end": 12751, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 345, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11519, + "end": 11533, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 16 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11534, + "end": 11541, + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 24 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + { + "type": "Identifier", + "start": 11543, + "end": 11552, + "loc": { + "start": { + "line": 302, + "column": 26 + }, + "end": { + "line": 302, + "column": 35 + }, + "identifierName": "className" + }, + "name": "className" + } + ], + "body": { + "type": "BlockStatement", + "start": 11553, + "end": 12751, + "loc": { + "start": { + "line": 302, + "column": 36 + }, + "end": { + "line": 345, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 11560, + "end": 11607, + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 304, + "column": 19 + } + }, + "test": { + "type": "LogicalExpression", + "start": 11563, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 7 + }, + "end": { + "line": 303, + "column": 29 + } + }, + "left": { + "type": "UnaryExpression", + "start": 11563, + "end": 11573, + "loc": { + "start": { + "line": 303, + "column": 7 + }, + "end": { + "line": 303, + "column": 17 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 11564, + "end": 11573, + "loc": { + "start": { + "line": 303, + "column": 8 + }, + "end": { + "line": 303, + "column": 17 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "UnaryExpression", + "start": 11577, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 21 + }, + "end": { + "line": 303, + "column": 29 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 11578, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 22 + }, + "end": { + "line": 303, + "column": 29 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 11594, + "end": 11607, + "loc": { + "start": { + "line": 304, + "column": 6 + }, + "end": { + "line": 304, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 11601, + "end": 11606, + "loc": { + "start": { + "line": 304, + "column": 13 + }, + "end": { + "line": 304, + "column": 18 + } + }, + "value": false + } + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 11615, + "end": 12724, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 342, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 11615, + "end": 12723, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 342, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11615, + "end": 11641, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 11615, + "end": 11633, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11615, + "end": 11628, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 11615, + "end": 11622, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 11 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "property": { + "type": "Identifier", + "start": 11623, + "end": 11628, + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 17 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11629, + "end": 11632, + "loc": { + "start": { + "line": 306, + "column": 18 + }, + "end": { + "line": 306, + "column": 21 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 11634, + "end": 11641, + "loc": { + "start": { + "line": 306, + "column": 23 + }, + "end": { + "line": 306, + "column": 30 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11642, + "end": 12722, + "loc": { + "start": { + "line": 306, + "column": 31 + }, + "end": { + "line": 342, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11642, + "end": 11648, + "loc": { + "start": { + "line": 306, + "column": 31 + }, + "end": { + "line": 306, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 11652, + "end": 12722, + "loc": { + "start": { + "line": 306, + "column": 41 + }, + "end": { + "line": 342, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11661, + "end": 12715, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 341, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 11661, + "end": 12714, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 341, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11661, + "end": 11689, "loc": { "start": { - "line": 342, - "column": 43 + "line": 307, + "column": 6 }, "end": { - "line": 369, - "column": 7 + "line": 307, + "column": 34 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12721, - "end": 13573, + "object": { + "type": "CallExpression", + "start": 11661, + "end": 11681, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 307, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11661, + "end": 11676, "loc": { "start": { - "line": 343, - "column": 8 + "line": 307, + "column": 6 }, "end": { - "line": 368, - "column": 11 + "line": 307, + "column": 21 } }, - "expression": { - "type": "CallExpression", - "start": 12721, - "end": 13572, + "object": { + "type": "Identifier", + "start": 11661, + "end": 11670, "loc": { "start": { - "line": 343, - "column": 8 + "line": 307, + "column": 6 }, "end": { - "line": 368, - "column": 10 + "line": 307, + "column": 15 + }, + "identifierName": "className" + }, + "name": "className" + }, + "property": { + "type": "Identifier", + "start": 11671, + "end": 11676, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 21 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11677, + "end": 11680, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 12721, - "end": 12749, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 11682, + "end": 11689, + "loc": { + "start": { + "line": 307, + "column": 27 + }, + "end": { + "line": 307, + "column": 34 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11690, + "end": 12713, + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 341, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11690, + "end": 11703, + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 307, + "column": 48 + }, + "identifierName": "classNameItem" + }, + "name": "classNameItem" + } + ], + "body": { + "type": "BlockStatement", + "start": 11707, + "end": 12713, + "loc": { + "start": { + "line": 307, + "column": 52 + }, + "end": { + "line": 341, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 11718, + "end": 11789, "loc": { "start": { - "line": 343, + "line": 308, "column": 8 }, "end": { - "line": 343, - "column": 36 + "line": 309, + "column": 40 } }, - "object": { - "type": "MemberExpression", - "start": 12721, - "end": 12745, + "test": { + "type": "UnaryExpression", + "start": 11721, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 11 }, "end": { - "line": 343, - "column": 32 + "line": 308, + "column": 36 } }, - "object": { + "operator": "!", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 12721, - "end": 12733, + "start": 11722, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 12 }, "end": { - "line": 343, - "column": 20 + "line": 308, + "column": 36 } }, "object": { - "type": "ThisExpression", - "start": 12721, - "end": 12725, + "type": "MemberExpression", + "start": 11722, + "end": 11734, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 12 }, "end": { - "line": 343, - "column": 12 + "line": 308, + "column": 24 } - } + }, + "object": { + "type": "ThisExpression", + "start": 11722, + "end": 11726, + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 11727, + "end": 11734, + "loc": { + "start": { + "line": 308, + "column": 17 + }, + "end": { + "line": 308, + "column": 24 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 12726, - "end": 12733, + "start": 11735, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 13 + "line": 308, + "column": 25 }, "end": { - "line": 343, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12734, - "end": 12745, - "loc": { - "start": { - "line": 343, - "column": 21 - }, - "end": { - "line": 343, - "column": 32 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12746, - "end": 12749, - "loc": { - "start": { - "line": 343, - "column": 33 - }, - "end": { - "line": 343, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 12750, - "end": 13571, - "loc": { - "start": { - "line": 343, - "column": 37 - }, - "end": { - "line": 368, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 12751, - "end": 12762, - "loc": { - "start": { - "line": 343, - "column": 38 - }, - "end": { - "line": 343, - "column": 49 + "line": 308, + "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, - { - "type": "Identifier", - "start": 12764, - "end": 12769, - "loc": { - "start": { - "line": 343, - "column": 51 - }, - "end": { - "line": 343, - "column": 56 - }, - "identifierName": "index" - }, - "name": "index" + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 11759, + "end": 11789, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 40 } - ], - "body": { - "type": "BlockStatement", - "start": 12774, - "end": 13571, + }, + "expression": { + "type": "AssignmentExpression", + "start": 11759, + "end": 11788, "loc": { "start": { - "line": 343, - "column": 61 + "line": 309, + "column": 10 }, "end": { - "line": 368, - "column": 9 + "line": 309, + "column": 39 } }, - "body": [ - { - "type": "IfStatement", - "start": 12942, - "end": 13527, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 11759, + "end": 11783, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 11759, + "end": 11771, "loc": { "start": { - "line": 349, + "line": 309, "column": 10 }, "end": { - "line": 365, - "column": 11 + "line": 309, + "column": 22 } }, - "test": { - "type": "LogicalExpression", - "start": 12959, - "end": 13038, + "object": { + "type": "ThisExpression", + "start": 11759, + "end": 11763, "loc": { "start": { - "line": 350, - "column": 12 + "line": 309, + "column": 10 }, "end": { - "line": 351, + "line": 309, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 11764, + "end": 11771, + "loc": { + "start": { + "line": 309, + "column": 15 + }, + "end": { + "line": 309, "column": 22 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11772, + "end": 11783, + "loc": { + "start": { + "line": 309, + "column": 23 + }, + "end": { + "line": 309, + "column": 34 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 11786, + "end": 11788, + "loc": { + "start": { + "line": 309, + "column": 37 + }, + "end": { + "line": 309, + "column": 39 + } + }, + "elements": [] + } + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 11801, + "end": 11828, + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11805, + "end": 11827, + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 11805, + "end": 11819, + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "init": { + "type": "BooleanLiteral", + "start": 11822, + "end": 11827, + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 34 + } + }, + "value": false + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 11842, + "end": 11933, + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 315, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 11943, + "end": 12451, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 329, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 11943, + "end": 12450, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 329, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11943, + "end": 11971, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 11943, + "end": 11967, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 11943, + "end": 11955, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 11943, + "end": 11947, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 } }, - "left": { - "type": "LogicalExpression", - "start": 12960, - "end": 13010, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11948, + "end": 11955, + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 20 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11956, + "end": 11967, + "loc": { + "start": { + "line": 316, + "column": 21 + }, + "end": { + "line": 316, + "column": 32 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11968, + "end": 11971, + "loc": { + "start": { + "line": 316, + "column": 33 + }, + "end": { + "line": 316, + "column": 36 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11972, + "end": 12449, + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 329, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11972, + "end": 11983, + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 316, + "column": 48 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + } + ], + "body": { + "type": "BlockStatement", + "start": 11987, + "end": 12449, + "loc": { + "start": { + "line": 316, + "column": 52 + }, + "end": { + "line": 329, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 12002, + "end": 12407, "loc": { "start": { - "line": 350, - "column": 13 + "line": 318, + "column": 10 }, "end": { - "line": 350, - "column": 63 + "line": 327, + "column": 11 } }, - "left": { - "type": "Identifier", - "start": 12960, - "end": 12969, + "test": { + "type": "CallExpression", + "start": 12005, + "end": 12057, "loc": { "start": { - "line": 350, + "line": 318, "column": 13 }, "end": { - "line": 350, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className", - "leadingComments": null - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 12973, - "end": 13010, - "loc": { - "start": { - "line": 350, - "column": 26 - }, - "end": { - "line": 350, - "column": 63 + "line": 318, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12973, - "end": 12991, + "start": 12005, + "end": 12042, "loc": { "start": { - "line": 350, - "column": 26 + "line": 318, + "column": 13 }, "end": { - "line": 350, - "column": 44 + "line": 318, + "column": 50 } }, "object": { - "type": "Identifier", - "start": 12973, - "end": 12982, + "type": "CallExpression", + "start": 12005, + "end": 12033, "loc": { "start": { - "line": 350, - "column": 26 + "line": 318, + "column": 13 }, "end": { - "line": 350, - "column": 35 - }, - "identifierName": "className" + "line": 318, + "column": 41 + } }, - "name": "className" + "callee": { + "type": "MemberExpression", + "start": 12005, + "end": 12028, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 12005, + "end": 12022, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 12005, + "end": 12016, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 24 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 12017, + "end": 12022, + "loc": { + "start": { + "line": 318, + "column": 25 + }, + "end": { + "line": 318, + "column": 30 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12023, + "end": 12028, + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 36 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12029, + "end": 12032, + "loc": { + "start": { + "line": 318, + "column": 37 + }, + "end": { + "line": 318, + "column": 40 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] }, "property": { "type": "Identifier", - "start": 12983, - "end": 12991, + "start": 12034, + "end": 12042, "loc": { "start": { - "line": 350, - "column": 36 + "line": 318, + "column": 42 }, "end": { - "line": 350, - "column": 44 + "line": 318, + "column": 50 }, "identifierName": "includes" }, @@ -16275,246 +16604,203 @@ }, "arguments": [ { - "type": "MemberExpression", - "start": 12992, - "end": 13009, + "type": "Identifier", + "start": 12043, + "end": 12056, "loc": { "start": { - "line": 350, - "column": 45 + "line": 318, + "column": 51 }, "end": { - "line": 350, - "column": 62 - } - }, - "object": { - "type": "Identifier", - "start": 12992, - "end": 13003, - "loc": { - "start": { - "line": 350, - "column": 45 - }, - "end": { - "line": 350, - "column": 56 - }, - "identifierName": "buttonTheme" + "line": 318, + "column": 64 }, - "name": "buttonTheme" + "identifierName": "classNameItem" }, - "property": { - "type": "Identifier", - "start": 13004, - "end": 13009, - "loc": { - "start": { - "line": 350, - "column": 57 - }, - "end": { - "line": 350, - "column": 62 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false + "name": "classNameItem" } ] }, - "leadingComments": null, - "extra": { - "parenthesized": true, - "parenStart": 12959 - } - }, - "operator": "||", - "right": { - "type": "UnaryExpression", - "start": 13028, - "end": 13038, - "loc": { - "start": { - "line": 351, - "column": 12 - }, - "end": { - "line": 351, - "column": 22 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 13029, - "end": 13038, + "consequent": { + "type": "BlockStatement", + "start": 12058, + "end": 12407, "loc": { "start": { - "line": 351, - "column": 13 + "line": 318, + "column": 66 }, "end": { - "line": 351, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13051, - "end": 13527, - "loc": { - "start": { - "line": 352, - "column": 11 - }, - "end": { - "line": 365, - "column": 11 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 13066, - "end": 13155, - "loc": { - "start": { - "line": 353, - "column": 12 - }, - "end": { - "line": 353, - "column": 101 + "line": 327, + "column": 11 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 13070, - "end": 13154, + "type": "ExpressionStatement", + "start": 12073, + "end": 12095, "loc": { "start": { - "line": 353, - "column": 16 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 100 + "line": 319, + "column": 34 } }, - "id": { - "type": "Identifier", - "start": 13070, - "end": 13089, + "expression": { + "type": "AssignmentExpression", + "start": 12073, + "end": 12094, "loc": { "start": { - "line": 353, - "column": 16 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 35 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray" - }, - "init": { - "type": "CallExpression", - "start": 13092, - "end": 13154, - "loc": { - "start": { - "line": 353, - "column": 38 - }, - "end": { - "line": 353, - "column": 100 + "line": 319, + "column": 33 } }, - "callee": { - "type": "MemberExpression", - "start": 13092, - "end": 13129, + "operator": "=", + "left": { + "type": "Identifier", + "start": 12073, + "end": 12087, "loc": { "start": { - "line": 353, - "column": 38 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 75 + "line": 319, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "right": { + "type": "BooleanLiteral", + "start": 12090, + "end": 12094, + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 33 } }, - "object": { - "type": "CallExpression", - "start": 13092, - "end": 13122, + "value": true + } + } + }, + { + "type": "VariableDeclaration", + "start": 12123, + "end": 12177, + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 66 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12127, + "end": 12176, + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 65 + } + }, + "id": { + "type": "Identifier", + "start": 12127, + "end": 12143, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 16 }, "end": { - "line": 353, - "column": 68 + "line": 321, + "column": 32 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "init": { + "type": "CallExpression", + "start": 12146, + "end": 12176, + "loc": { + "start": { + "line": 321, + "column": 35 + }, + "end": { + "line": 321, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13092, - "end": 13117, + "start": 12146, + "end": 12171, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 63 + "line": 321, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 13092, - "end": 13111, + "start": 12146, + "end": 12165, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 57 + "line": 321, + "column": 54 } }, "object": { "type": "Identifier", - "start": 13092, - "end": 13103, + "start": 12146, + "end": 12157, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 49 + "line": 321, + "column": 46 }, "identifierName": "buttonTheme" }, @@ -16522,16 +16808,16 @@ }, "property": { "type": "Identifier", - "start": 13104, - "end": 13111, + "start": 12158, + "end": 12165, "loc": { "start": { - "line": 353, - "column": 50 + "line": 321, + "column": 47 }, "end": { - "line": 353, - "column": 57 + "line": 321, + "column": 54 }, "identifierName": "buttons" }, @@ -16541,16 +16827,16 @@ }, "property": { "type": "Identifier", - "start": 13112, - "end": 13117, + "start": 12166, + "end": 12171, "loc": { "start": { - "line": 353, - "column": 58 + "line": 321, + "column": 55 }, "end": { - "line": 353, - "column": 63 + "line": 321, + "column": 60 }, "identifierName": "split" }, @@ -16561,394 +16847,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13118, - "end": 13121, + "start": 12172, + "end": 12175, "loc": { "start": { - "line": 353, - "column": 64 - }, - "end": { - "line": 353, - "column": 67 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 13123, - "end": 13129, - "loc": { - "start": { - "line": 353, - "column": 69 - }, - "end": { - "line": 353, - "column": 75 - }, - "identifierName": "filter" - }, - "name": "filter" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 13130, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 76 - }, - "end": { - "line": 353, - "column": 99 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 13130, - "end": 13134, - "loc": { - "start": { - "line": 353, - "column": 76 - }, - "end": { - "line": 353, - "column": 80 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BinaryExpression", - "start": 13138, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 84 - }, - "end": { - "line": 353, - "column": 99 - } - }, - "left": { - "type": "Identifier", - "start": 13138, - "end": 13142, - "loc": { - "start": { - "line": 353, - "column": 84 - }, - "end": { - "line": 353, - "column": 88 - }, - "identifierName": "item" - }, - "name": "item" - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 13147, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 93 - }, - "end": { - "line": 353, - "column": 99 - }, - "identifierName": "button" - }, - "name": "button" - } - } - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, - "loc": { - "start": { - "line": 355, - "column": 12 - }, - "end": { - "line": 357, - "column": 15 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 13282, - "end": 13511, - "loc": { - "start": { - "line": 358, - "column": 12 - }, - "end": { - "line": 363, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 13285, - "end": 13311, - "loc": { - "start": { - "line": 358, - "column": 15 - }, - "end": { - "line": 358, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 13285, - "end": 13304, - "loc": { - "start": { - "line": 358, - "column": 15 - }, - "end": { - "line": 358, - "column": 34 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 13305, - "end": 13311, - "loc": { - "start": { - "line": 358, - "column": 35 - }, - "end": { - "line": 358, - "column": 41 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13312, - "end": 13396, - "loc": { - "start": { - "line": 358, - "column": 42 - }, - "end": { - "line": 360, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13329, - "end": 13381, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 66 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13329, - "end": 13380, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 65 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13329, - "end": 13348, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 13329, - "end": 13340, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 25 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 13341, - "end": 13348, - "loc": { - "start": { - "line": 359, - "column": 26 - }, - "end": { - "line": 359, - "column": 33 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 13351, - "end": 13380, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 13351, - "end": 13375, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 13351, - "end": 13370, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 55 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray" - }, - "property": { - "type": "Identifier", - "start": 13371, - "end": 13375, - "loc": { - "start": { - "line": 359, - "column": 56 - }, - "end": { - "line": 359, - "column": 60 - }, - "identifierName": "join" - }, - "name": "join" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 13376, - "end": 13379, - "loc": { - "start": { - "line": 359, + "line": 321, "column": 61 }, "end": { - "line": 359, + "line": 321, "column": 64 } }, @@ -16961,1958 +16868,1027 @@ ] } } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 13402, - "end": 13511, - "loc": { - "start": { - "line": 360, - "column": 19 - }, - "end": { - "line": 363, - "column": 13 - } + ], + "kind": "let" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13419, - "end": 13461, + { + "type": "IfStatement", + "start": 12191, + "end": 12394, + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 326, + "column": 13 + } + }, + "test": { + "type": "UnaryExpression", + "start": 12194, + "end": 12228, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 15 }, "end": { - "line": 361, - "column": 56 + "line": 322, + "column": 49 } }, - "expression": { + "operator": "!", + "prefix": true, + "argument": { "type": "CallExpression", - "start": 13419, - "end": 13460, + "start": 12195, + "end": 12228, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 55 + "line": 322, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13419, - "end": 13450, + "start": 12195, + "end": 12220, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 45 + "line": 322, + "column": 41 } }, "object": { - "type": "MemberExpression", - "start": 13419, - "end": 13443, + "type": "Identifier", + "start": 12195, + "end": 12211, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 38 - } + "line": 322, + "column": 32 + }, + "identifierName": "buttonThemeArray" }, - "object": { - "type": "MemberExpression", - "start": 13419, - "end": 13431, - "loc": { - "start": { - "line": 361, - "column": 14 - }, - "end": { - "line": 361, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 13419, - "end": 13423, - "loc": { - "start": { - "line": 361, - "column": 14 - }, - "end": { - "line": 361, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 13424, - "end": 13431, - "loc": { - "start": { - "line": 361, - "column": 19 - }, - "end": { - "line": 361, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13432, - "end": 13443, - "loc": { - "start": { - "line": 361, - "column": 27 - }, - "end": { - "line": 361, - "column": 38 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false + "name": "buttonThemeArray" }, "property": { "type": "Identifier", - "start": 13444, - "end": 13450, + "start": 12212, + "end": 12220, "loc": { "start": { - "line": 361, - "column": 39 + "line": 322, + "column": 33 }, "end": { - "line": 361, - "column": 45 + "line": 322, + "column": 41 }, - "identifierName": "splice" + "identifierName": "includes" }, - "name": "splice" + "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 13451, - "end": 13456, + "start": 12221, + "end": 12227, "loc": { "start": { - "line": 361, - "column": 46 + "line": 322, + "column": 42 }, "end": { - "line": 361, - "column": 51 + "line": 322, + "column": 48 }, - "identifierName": "index" + "identifierName": "button" }, - "name": "index" - }, - { - "type": "NumericLiteral", - "start": 13458, - "end": 13459, - "loc": { - "start": { - "line": 361, - "column": 53 - }, - "end": { - "line": 361, - "column": 54 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "name": "button" } ] + }, + "extra": { + "parenthesizedArgument": false } }, - { - "type": "ExpressionStatement", - "start": 13477, - "end": 13496, + "consequent": { + "type": "BlockStatement", + "start": 12229, + "end": 12394, "loc": { "start": { - "line": 362, - "column": 14 + "line": 322, + "column": 50 }, "end": { - "line": 362, - "column": 33 + "line": 326, + "column": 13 } }, - "expression": { - "type": "AssignmentExpression", - "start": 13477, - "end": 13495, - "loc": { - "start": { - "line": 362, - "column": 14 - }, - "end": { - "line": 362, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13477, - "end": 13488, + "body": [ + { + "type": "ExpressionStatement", + "start": 12246, + "end": 12268, "loc": { "start": { - "line": 362, + "line": 323, "column": 14 }, "end": { - "line": 362, - "column": 25 - }, - "identifierName": "buttonTheme" + "line": 323, + "column": 36 + } }, - "name": "buttonTheme" + "expression": { + "type": "AssignmentExpression", + "start": 12246, + "end": 12267, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 12246, + "end": 12260, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 28 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "right": { + "type": "BooleanLiteral", + "start": 12263, + "end": 12267, + "loc": { + "start": { + "line": 323, + "column": 31 + }, + "end": { + "line": 323, + "column": 35 + } + }, + "value": true + } + } }, - "right": { - "type": "NullLiteral", - "start": 13491, - "end": 13495, + { + "type": "ExpressionStatement", + "start": 12284, + "end": 12314, "loc": { "start": { - "line": 362, - "column": 28 + "line": 324, + "column": 14 }, "end": { - "line": 362, - "column": 32 + "line": 324, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 12284, + "end": 12313, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12284, + "end": 12305, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 12284, + "end": 12300, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 30 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "property": { + "type": "Identifier", + "start": 12301, + "end": 12305, + "loc": { + "start": { + "line": 324, + "column": 31 + }, + "end": { + "line": 324, + "column": 35 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 12306, + "end": 12312, + "loc": { + "start": { + "line": 324, + "column": 36 + }, + "end": { + "line": 324, + "column": 42 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12330, + "end": 12379, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 12330, + "end": 12378, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 12330, + "end": 12349, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 12330, + "end": 12341, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 12342, + "end": 12349, + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 33 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 12352, + "end": 12378, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12352, + "end": 12373, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 12352, + "end": 12368, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 52 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "property": { + "type": "Identifier", + "start": 12369, + "end": 12373, + "loc": { + "start": { + "line": 325, + "column": 53 + }, + "end": { + "line": 325, + "column": 57 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12374, + "end": 12377, + "loc": { + "start": { + "line": 325, + "column": 58 + }, + "end": { + "line": 325, + "column": 61 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] } } } - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, - "loc": { - "start": { - "line": 355, - "column": 12 - }, - "end": { - "line": 357, - "column": 15 - } - } + ], + "directives": [] + }, + "alternate": null } - ] - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ + ], + "directives": [] + }, + "alternate": null + }, { - "type": "CommentBlock", - "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 12789, - "end": 12930, + "type": "ReturnStatement", + "start": 12419, + "end": 12438, "loc": { "start": { - "line": 345, + "line": 328, "column": 10 }, "end": { - "line": 348, - "column": 13 + "line": 328, + "column": 29 } + }, + "argument": { + "type": "Identifier", + "start": 12426, + "end": 12437, + "loc": { + "start": { + "line": 328, + "column": 17 + }, + "end": { + "line": 328, + "column": 28 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" } } - ] + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 11842, + "end": 11933, + "loc": { + "start": { + "line": 313, + "column": 8 }, - { - "type": "ReturnStatement", - "start": 13541, - "end": 13560, + "end": { + "line": 315, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 12463, + "end": 12538, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 333, + "column": 11 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 12548, + "end": 12702, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 339, + "column": 9 + } + }, + "test": { + "type": "UnaryExpression", + "start": 12551, + "end": 12566, + "loc": { + "start": { + "line": 334, + "column": 11 + }, + "end": { + "line": 334, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 12552, + "end": 12566, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 12567, + "end": 12702, + "loc": { + "start": { + "line": 334, + "column": 27 + }, + "end": { + "line": 339, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12580, + "end": 12691, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 338, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 12580, + "end": 12690, "loc": { "start": { - "line": 367, + "line": 335, "column": 10 }, "end": { - "line": 367, - "column": 29 + "line": 338, + "column": 12 } }, - "argument": { - "type": "Identifier", - "start": 13548, - "end": 13559, + "callee": { + "type": "MemberExpression", + "start": 12580, + "end": 12609, "loc": { "start": { - "line": 367, - "column": 17 + "line": 335, + "column": 10 }, "end": { - "line": 367, - "column": 28 - }, - "identifierName": "buttonTheme" + "line": 335, + "column": 39 + } }, - "name": "buttonTheme" - } + "object": { + "type": "MemberExpression", + "start": 12580, + "end": 12604, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 12580, + "end": 12592, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 12580, + "end": 12584, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 12585, + "end": 12592, + "loc": { + "start": { + "line": 335, + "column": 15 + }, + "end": { + "line": 335, + "column": 22 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12593, + "end": 12604, + "loc": { + "start": { + "line": 335, + "column": 23 + }, + "end": { + "line": 335, + "column": 34 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12605, + "end": 12609, + "loc": { + "start": { + "line": 335, + "column": 35 + }, + "end": { + "line": 335, + "column": 39 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 12610, + "end": 12689, + "loc": { + "start": { + "line": 335, + "column": 40 + }, + "end": { + "line": 338, + "column": 11 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 12625, + "end": 12645, + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12625, + "end": 12630, + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 17 + }, + "identifierName": "class" + }, + "name": "class" + }, + "value": { + "type": "Identifier", + "start": 12632, + "end": 12645, + "loc": { + "start": { + "line": 336, + "column": 19 + }, + "end": { + "line": 336, + "column": 32 + }, + "identifierName": "classNameItem" + }, + "name": "classNameItem" + } + }, + { + "type": "ObjectProperty", + "start": 12660, + "end": 12676, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12660, + "end": 12667, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 19 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "value": { + "type": "Identifier", + "start": 12669, + "end": 12676, + "loc": { + "start": { + "line": 337, + "column": 21 + }, + "end": { + "line": 337, + "column": 28 + }, + "identifierName": "buttons" + }, + "name": "buttons" + } + } + ] + } + ] } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 12463, + "end": 12538, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 333, + "column": 11 + } + } } - } - ] - } + ] + } + ], + "directives": [] } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 13594, - "end": 13608, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 13594, - "end": 13607, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 13594, - "end": 13605, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 13594, - "end": 13598, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 10 } - } - }, - "property": { - "type": "Identifier", - "start": 13599, - "end": 13605, - "loc": { - "start": { - "line": 371, - "column": 11 - }, - "end": { - "line": 371, - "column": 17 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 339, - "column": 7 - } + ] + } + } + ], + "directives": [] } } ] } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, - "loc": { - "start": { - "line": 322, - "column": 2 - }, - "end": { - "line": 326, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, - "loc": { - "start": { - "line": 375, - "column": 2 - }, - "end": { - "line": 378, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 13833, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 2 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 13833, - "end": 13849, - "loc": { - "start": { - "line": 379, - "column": 2 }, - "end": { - "line": 379, - "column": 18 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 13852, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 21 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ { - "type": "Identifier", - "start": 13853, - "end": 13859, + "type": "ExpressionStatement", + "start": 12732, + "end": 12746, "loc": { "start": { - "line": 379, - "column": 22 + "line": 344, + "column": 4 }, "end": { - "line": 379, - "column": 28 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 13864, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 33 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 13871, - "end": 13882, - "loc": { - "start": { - "line": 380, - "column": 4 - }, - "end": { - "line": 380, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13875, - "end": 13881, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 13875, - "end": 13881, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 13890, - "end": 13934, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 382, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13894, - "end": 13933, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 13894, - "end": 13903, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 17 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "init": { - "type": "MemberExpression", - "start": 13906, - "end": 13933, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 47 - } - }, - "object": { - "type": "MemberExpression", - "start": 13906, - "end": 13925, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 13906, - "end": 13910, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 13911, - "end": 13925, - "loc": { - "start": { - "line": 382, - "column": 25 - }, - "end": { - "line": 382, - "column": 39 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13926, - "end": 13932, - "loc": { - "start": { - "line": 382, - "column": 40 - }, - "end": { - "line": 382, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 13940, - "end": 14080, - "loc": { - "start": { - "line": 383, - "column": 4 - }, - "end": { - "line": 389, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 13943, - "end": 13952, - "loc": { - "start": { - "line": 383, - "column": 7 - }, - "end": { - "line": 383, - "column": 16 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "consequent": { - "type": "BlockStatement", - "start": 13953, - "end": 14080, - "loc": { - "start": { - "line": 383, - "column": 17 - }, - "end": { - "line": 389, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 13962, - "end": 14073, - "loc": { - "start": { - "line": 384, - "column": 6 - }, - "end": { - "line": 388, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 13965, - "end": 13985, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 29 - } - }, - "left": { - "type": "MemberExpression", - "start": 13965, - "end": 13981, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 13965, - "end": 13974, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 18 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "property": { - "type": "Identifier", - "start": 13975, - "end": 13981, - "loc": { - "start": { - "line": 384, - "column": 19 - }, - "end": { - "line": 384, - "column": 25 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 13984, - "end": 13985, - "loc": { - "start": { - "line": 384, - "column": 28 - }, - "end": { - "line": 384, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 13986, - "end": 14025, - "loc": { - "start": { - "line": 384, - "column": 30 - }, - "end": { - "line": 386, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13997, - "end": 14016, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13997, - "end": 14015, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13997, - "end": 14003, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "Identifier", - "start": 14006, - "end": 14015, - "loc": { - "start": { - "line": 385, - "column": 17 - }, - "end": { - "line": 385, - "column": 26 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 14031, - "end": 14073, - "loc": { - "start": { - "line": 386, - "column": 13 - }, - "end": { - "line": 388, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14042, - "end": 14064, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 14042, - "end": 14063, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 14042, - "end": 14048, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 14051, - "end": 14063, - "loc": { - "start": { - "line": 387, - "column": 17 - }, - "end": { - "line": 387, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14051, - "end": 14060, - "loc": { - "start": { - "line": 387, - "column": 17 - }, - "end": { - "line": 387, - "column": 26 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "property": { - "type": "NumericLiteral", - "start": 14061, - "end": 14062, - "loc": { - "start": { - "line": 387, - "column": 27 - }, - "end": { - "line": 387, - "column": 28 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 14088, - "end": 14102, - "loc": { - "start": { - "line": 391, - "column": 4 - }, - "end": { - "line": 391, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 14095, - "end": 14101, - "loc": { - "start": { - "line": 391, - "column": 11 - }, - "end": { - "line": 391, - "column": 17 - }, - "identifierName": "output" - }, - "name": "output" + "line": 344, + "column": 18 } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, - "loc": { - "start": { - "line": 375, - "column": 2 }, - "end": { - "line": 378, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, - "loc": { - "start": { - "line": 394, - "column": 2 - }, - "end": { - "line": 396, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 14207, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 14207, - "end": 14218, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 397, - "column": 13 - }, - "identifierName": "handleCaret" - }, - "name": "handleCaret", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 14221, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 14227, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 22 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 14234, - "end": 14310, + "expression": { + "type": "CallExpression", + "start": 12732, + "end": 12745, "loc": { "start": { - "line": 398, + "line": 344, "column": 4 }, "end": { - "line": 400, - "column": 5 + "line": 344, + "column": 17 } }, - "test": { + "callee": { "type": "MemberExpression", - "start": 14237, - "end": 14255, + "start": 12732, + "end": 12743, "loc": { "start": { - "line": 398, - "column": 7 + "line": 344, + "column": 4 }, "end": { - "line": 398, - "column": 25 + "line": 344, + "column": 15 } }, "object": { - "type": "MemberExpression", - "start": 14237, - "end": 14249, + "type": "ThisExpression", + "start": 12732, + "end": 12736, "loc": { "start": { - "line": 398, - "column": 7 + "line": 344, + "column": 4 }, "end": { - "line": 398, - "column": 19 + "line": 344, + "column": 8 } - }, - "object": { - "type": "ThisExpression", - "start": 14237, - "end": 14241, - "loc": { - "start": { - "line": 398, - "column": 7 - }, - "end": { - "line": 398, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 14242, - "end": 14249, - "loc": { - "start": { - "line": 398, - "column": 12 - }, - "end": { - "line": 398, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 14250, - "end": 14255, + "start": 12737, + "end": 12743, "loc": { "start": { - "line": 398, - "column": 20 + "line": 344, + "column": 9 }, "end": { - "line": 398, - "column": 25 + "line": 344, + "column": 15 }, - "identifierName": "debug" + "identifierName": "render" }, - "name": "debug" + "name": "render" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 14256, - "end": 14310, - "loc": { - "start": { - "line": 398, - "column": 26 - }, - "end": { - "line": 400, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14265, - "end": 14303, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 14265, - "end": 14302, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14265, - "end": 14276, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 14265, - "end": 14272, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 14273, - "end": 14276, - "loc": { - "start": { - "line": 399, - "column": 14 - }, - "end": { - "line": 399, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14277, - "end": 14301, - "loc": { - "start": { - "line": 399, - "column": 18 - }, - "end": { - "line": 399, - "column": 42 - } - }, - "extra": { - "rawValue": "Caret handling started", - "raw": "\"Caret handling started\"" - }, - "value": "Caret handling started" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 14318, - "end": 14377, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 63 - } - }, - "expression": { - "type": "CallExpression", - "start": 14318, - "end": 14376, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14318, - "end": 14343, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14318, - "end": 14326, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14327, - "end": 14343, - "loc": { - "start": { - "line": 402, - "column": 13 - }, - "end": { - "line": 402, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14344, - "end": 14351, - "loc": { - "start": { - "line": 402, - "column": 30 - }, - "end": { - "line": 402, - "column": 37 - } - }, - "extra": { - "rawValue": "keyup", - "raw": "\"keyup\"" - }, - "value": "keyup" - }, - { - "type": "MemberExpression", - "start": 14353, - "end": 14375, - "loc": { - "start": { - "line": 402, - "column": 39 - }, - "end": { - "line": 402, - "column": 61 - } - }, - "object": { - "type": "ThisExpression", - "start": 14353, - "end": 14357, - "loc": { - "start": { - "line": 402, - "column": 39 - }, - "end": { - "line": 402, - "column": 43 - } - } - }, - "property": { - "type": "Identifier", - "start": 14358, - "end": 14375, - "loc": { - "start": { - "line": 402, - "column": 44 - }, - "end": { - "line": 402, - "column": 61 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 14383, - "end": 14444, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 65 - } - }, - "expression": { - "type": "CallExpression", - "start": 14383, - "end": 14443, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14383, - "end": 14408, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14383, - "end": 14391, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14392, - "end": 14408, - "loc": { - "start": { - "line": 403, - "column": 13 - }, - "end": { - "line": 403, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14409, - "end": 14418, - "loc": { - "start": { - "line": 403, - "column": 30 - }, - "end": { - "line": 403, - "column": 39 - } - }, - "extra": { - "rawValue": "mouseup", - "raw": "\"mouseup\"" - }, - "value": "mouseup" - }, - { - "type": "MemberExpression", - "start": 14420, - "end": 14442, - "loc": { - "start": { - "line": 403, - "column": 41 - }, - "end": { - "line": 403, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 14420, - "end": 14424, - "loc": { - "start": { - "line": 403, - "column": 41 - }, - "end": { - "line": 403, - "column": 45 - } - } - }, - "property": { - "type": "Identifier", - "start": 14425, - "end": 14442, - "loc": { - "start": { - "line": 403, - "column": 46 - }, - "end": { - "line": 403, - "column": 63 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 14450, - "end": 14512, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 14450, - "end": 14511, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14450, - "end": 14475, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14450, - "end": 14458, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14459, - "end": 14475, - "loc": { - "start": { - "line": 404, - "column": 13 - }, - "end": { - "line": 404, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14476, - "end": 14486, - "loc": { - "start": { - "line": 404, - "column": 30 - }, - "end": { - "line": 404, - "column": 40 - } - }, - "extra": { - "rawValue": "touchend", - "raw": "\"touchend\"" - }, - "value": "touchend" - }, - { - "type": "MemberExpression", - "start": 14488, - "end": 14510, - "loc": { - "start": { - "line": 404, - "column": 42 - }, - "end": { - "line": 404, - "column": 64 - } - }, - "object": { - "type": "ThisExpression", - "start": 14488, - "end": 14492, - "loc": { - "start": { - "line": 404, - "column": 42 - }, - "end": { - "line": 404, - "column": 46 - } - } - }, - "property": { - "type": "Identifier", - "start": 14493, - "end": 14510, - "loc": { - "start": { - "line": 404, - "column": 47 - }, - "end": { - "line": 404, - "column": 64 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } + "arguments": [] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, + "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 11234, + "end": 11515, "loc": { "start": { - "line": 394, + "line": 297, "column": 2 }, "end": { - "line": 396, + "line": 301, "column": 5 } } @@ -18921,16 +17897,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 12757, + "end": 13097, "loc": { "start": { - "line": 407, + "line": 347, "column": 2 }, "end": { - "line": 409, + "line": 351, "column": 5 } } @@ -18938,16 +17914,16 @@ ] }, { - "type": "ClassProperty", - "start": 14639, - "end": 15196, + "type": "ClassMethod", + "start": 13101, + "end": 14518, "loc": { "start": { - "line": 410, + "line": 352, "column": 2 }, "end": { - "line": 427, + "line": 398, "column": 3 } }, @@ -18955,659 +17931,284 @@ "computed": false, "key": { "type": "Identifier", - "start": 14639, - "end": 14656, + "start": 13101, + "end": 13118, "loc": { "start": { - "line": 410, + "line": 352, "column": 2 }, "end": { - "line": 410, + "line": 352, "column": 19 }, - "identifierName": "caretEventHandler" + "identifierName": "removeButtonTheme" }, - "name": "caretEventHandler", + "name": "removeButtonTheme", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 14659, - "end": 15196, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13119, + "end": 13126, + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 27 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + { + "type": "Identifier", + "start": 13128, + "end": 13137, + "loc": { + "start": { + "line": 352, + "column": 29 + }, + "end": { + "line": 352, + "column": 38 + }, + "identifierName": "className" + }, + "name": "className" + } + ], + "body": { + "type": "BlockStatement", + "start": 13138, + "end": 14518, "loc": { "start": { - "line": 410, - "column": 22 + "line": 352, + "column": 39 }, "end": { - "line": 427, + "line": 398, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 14660, - "end": 14665, + "type": "IfStatement", + "start": 13231, + "end": 13346, "loc": { "start": { - "line": 410, - "column": 23 + "line": 356, + "column": 4 }, "end": { - "line": 410, - "column": 28 - }, - "identifierName": "event" + "line": 360, + "column": 5 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 14670, - "end": 15196, - "loc": { - "start": { - "line": 410, - "column": 33 - }, - "end": { - "line": 427, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 14677, - "end": 14732, + "test": { + "type": "LogicalExpression", + "start": 13234, + "end": 13256, "loc": { "start": { - "line": 411, - "column": 4 + "line": 356, + "column": 7 }, "end": { - "line": 411, - "column": 59 + "line": 356, + "column": 29 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14681, - "end": 14731, + "left": { + "type": "UnaryExpression", + "start": 13234, + "end": 13242, + "loc": { + "start": { + "line": 356, + "column": 7 + }, + "end": { + "line": 356, + "column": 15 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13235, + "end": 13242, "loc": { "start": { - "line": 411, + "line": 356, "column": 8 }, "end": { - "line": 411, - "column": 58 - } + "line": 356, + "column": 15 + }, + "identifierName": "buttons" }, - "id": { - "type": "Identifier", - "start": 14681, - "end": 14694, - "loc": { - "start": { - "line": 411, - "column": 8 - }, - "end": { - "line": 411, - "column": 21 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" + "name": "buttons", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 13246, + "end": 13256, + "loc": { + "start": { + "line": 356, + "column": 19 }, - "init": { - "type": "CallExpression", - "start": 14697, - "end": 14731, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14697, - "end": 14729, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 56 - } - }, - "object": { - "type": "MemberExpression", - "start": 14697, - "end": 14717, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 14697, - "end": 14709, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 14697, - "end": 14702, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 29 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 14703, - "end": 14709, - "loc": { - "start": { - "line": 411, - "column": 30 - }, - "end": { - "line": 411, - "column": 36 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14710, - "end": 14717, - "loc": { - "start": { - "line": 411, - "column": 37 - }, - "end": { - "line": 411, - "column": 44 - }, - "identifierName": "tagName" - }, - "name": "tagName" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14718, - "end": 14729, - "loc": { - "start": { - "line": 411, - "column": 45 - }, - "end": { - "line": 411, - "column": 56 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false - }, - "arguments": [] + "end": { + "line": 356, + "column": 29 } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13247, + "end": 13256, + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 29 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false } - ], - "kind": "let" + }, + "leadingComments": null }, - { - "type": "IfStatement", - "start": 14740, - "end": 15191, + "consequent": { + "type": "BlockStatement", + "start": 13257, + "end": 13346, "loc": { "start": { - "line": 413, - "column": 4 + "line": 356, + "column": 30 }, "end": { - "line": 426, + "line": 360, "column": 5 } }, - "test": { - "type": "LogicalExpression", - "start": 14751, - "end": 14815, - "loc": { - "start": { - "line": 414, - "column": 6 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "left": { - "type": "BinaryExpression", - "start": 14751, - "end": 14779, + "body": [ + { + "type": "ExpressionStatement", + "start": 13266, + "end": 13296, "loc": { "start": { - "line": 414, + "line": 357, "column": 6 }, "end": { - "line": 414, - "column": 34 + "line": 357, + "column": 36 } }, - "left": { - "type": "Identifier", - "start": 14751, - "end": 14764, + "expression": { + "type": "AssignmentExpression", + "start": 13266, + "end": 13295, "loc": { "start": { - "line": 414, + "line": 357, "column": 6 }, "end": { - "line": 414, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 14769, - "end": 14779, - "loc": { - "start": { - "line": 414, - "column": 24 - }, - "end": { - "line": 414, - "column": 34 + "line": 357, + "column": 35 } }, - "extra": { - "rawValue": "textarea", - "raw": "\"textarea\"" - }, - "value": "textarea" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 14790, - "end": 14815, - "loc": { - "start": { - "line": 415, - "column": 6 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "left": { - "type": "Identifier", - "start": 14790, - "end": 14803, - "loc": { - "start": { - "line": 415, - "column": 6 - }, - "end": { - "line": 415, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 14808, - "end": 14815, - "loc": { - "start": { - "line": 415, - "column": 24 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "extra": { - "rawValue": "input", - "raw": "\"input\"" - }, - "value": "input" - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 14822, - "end": 15191, - "loc": { - "start": { - "line": 416, - "column": 5 - }, - "end": { - "line": 426, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14987, - "end": 15036, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 14987, - "end": 15035, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 13266, + "end": 13290, "loc": { "start": { - "line": 421, + "line": 357, "column": 6 }, "end": { - "line": 421, - "column": 54 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 14987, - "end": 15005, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 14987, - "end": 14991, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14992, - "end": 15005, - "loc": { - "start": { - "line": 421, - "column": 11 - }, - "end": { - "line": 421, - "column": 24 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 15008, - "end": 15035, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 54 - } - }, - "object": { - "type": "MemberExpression", - "start": 15008, - "end": 15020, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 15008, - "end": 15013, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 32 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 15014, - "end": 15020, - "loc": { - "start": { - "line": 421, - "column": 33 - }, - "end": { - "line": 421, - "column": 39 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15021, - "end": 15035, - "loc": { - "start": { - "line": 421, - "column": 40 - }, - "end": { - "line": 421, - "column": 54 - }, - "identifierName": "selectionStart" - }, - "name": "selectionStart" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 14831, - "end": 14979, - "loc": { - "start": { - "line": 417, - "column": 6 - }, - "end": { - "line": 420, - "column": 9 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 15046, - "end": 15179, - "loc": { - "start": { - "line": 423, - "column": 6 - }, - "end": { - "line": 425, - "column": 7 - } - }, - "test": { - "type": "MemberExpression", - "start": 15049, - "end": 15067, - "loc": { - "start": { - "line": 423, - "column": 9 - }, - "end": { - "line": 423, - "column": 27 + "line": 357, + "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15049, - "end": 15061, + "start": 13266, + "end": 13278, "loc": { "start": { - "line": 423, - "column": 9 + "line": 357, + "column": 6 }, "end": { - "line": 423, - "column": 21 + "line": 357, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 15049, - "end": 15053, + "start": 13266, + "end": 13270, "loc": { "start": { - "line": 423, - "column": 9 + "line": 357, + "column": 6 }, "end": { - "line": 423, - "column": 13 + "line": 357, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 15054, - "end": 15061, + "start": 13271, + "end": 13278, "loc": { "start": { - "line": 423, - "column": 14 + "line": 357, + "column": 11 }, "end": { - "line": 423, - "column": 21 + "line": 357, + "column": 18 }, "identifierName": "options" }, @@ -19617,384 +18218,2321 @@ }, "property": { "type": "Identifier", - "start": 15062, - "end": 15067, + "start": 13279, + "end": 13290, "loc": { "start": { - "line": 423, - "column": 22 + "line": 357, + "column": 19 }, "end": { - "line": 423, - "column": 27 + "line": 357, + "column": 30 }, - "identifierName": "debug" + "identifierName": "buttonTheme" }, - "name": "debug" + "name": "buttonTheme" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 15068, - "end": 15179, + "right": { + "type": "ArrayExpression", + "start": 13293, + "end": 13295, "loc": { "start": { - "line": 423, - "column": 28 + "line": 357, + "column": 33 }, "end": { - "line": 425, - "column": 7 + "line": 357, + "column": 35 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15079, - "end": 15170, + "elements": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 13304, + "end": 13318, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 13304, + "end": 13317, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13304, + "end": 13315, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 13304, + "end": 13308, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 13309, + "end": 13315, + "loc": { + "start": { + "line": 358, + "column": 11 + }, + "end": { + "line": 358, + "column": 17 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ReturnStatement", + "start": 13326, + "end": 13339, + "loc": { + "start": { + "line": 359, + "column": 6 + }, + "end": { + "line": 359, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 13333, + "end": 13338, + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 18 + } + }, + "value": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", + "start": 13145, + "end": 13225, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 355, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 13354, + "end": 13422, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 13428, + "end": 14513, + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 397, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 13431, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 92 + } + }, + "left": { + "type": "LogicalExpression", + "start": 13431, + "end": 13481, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 57 + } + }, + "left": { + "type": "Identifier", + "start": 13431, + "end": 13438, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 14 + }, + "identifierName": "buttons" + }, + "name": "buttons", + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 13442, + "end": 13481, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13442, + "end": 13455, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 13442, + "end": 13447, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 23 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 13448, + "end": 13455, + "loc": { + "start": { + "line": 365, + "column": 24 + }, + "end": { + "line": 365, + "column": 31 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 13456, + "end": 13480, + "loc": { + "start": { + "line": 365, + "column": 32 + }, + "end": { + "line": 365, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 13456, + "end": 13468, + "loc": { + "start": { + "line": 365, + "column": 32 + }, + "end": { + "line": 365, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 13456, + "end": 13460, "loc": { "start": { - "line": 424, - "column": 8 + "line": 365, + "column": 32 }, "end": { - "line": 424, - "column": 99 + "line": 365, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 13461, + "end": 13468, + "loc": { + "start": { + "line": 365, + "column": 37 + }, + "end": { + "line": 365, + "column": 44 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13469, + "end": 13480, + "loc": { + "start": { + "line": 365, + "column": 45 + }, + "end": { + "line": 365, + "column": 56 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + } + ] + }, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 13485, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 92 + } + }, + "object": { + "type": "MemberExpression", + "start": 13485, + "end": 13509, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 85 + } + }, + "object": { + "type": "MemberExpression", + "start": 13485, + "end": 13497, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 73 + } + }, + "object": { + "type": "ThisExpression", + "start": 13485, + "end": 13489, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "start": 13490, + "end": 13497, + "loc": { + "start": { + "line": 365, + "column": 66 + }, + "end": { + "line": 365, + "column": 73 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13498, + "end": 13509, + "loc": { + "start": { + "line": 365, + "column": 74 + }, + "end": { + "line": 365, + "column": 85 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13510, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 86 + }, + "end": { + "line": 365, + "column": 92 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 13517, + "end": 14513, + "loc": { + "start": { + "line": 365, + "column": 93 + }, + "end": { + "line": 397, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13526, + "end": 13563, + "loc": { + "start": { + "line": 366, + "column": 6 + }, + "end": { + "line": 366, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13530, + "end": 13562, + "loc": { + "start": { + "line": 366, + "column": 10 + }, + "end": { + "line": 366, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 13530, + "end": 13541, + "loc": { + "start": { + "line": 366, + "column": 10 + }, + "end": { + "line": 366, + "column": 21 + }, + "identifierName": "buttonArray" + }, + "name": "buttonArray" + }, + "init": { + "type": "CallExpression", + "start": 13544, + "end": 13562, + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13544, + "end": 13557, + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 37 } }, - "expression": { - "type": "CallExpression", - "start": 15079, - "end": 15169, + "object": { + "type": "Identifier", + "start": 13544, + "end": 13551, "loc": { "start": { - "line": 424, - "column": 8 + "line": 366, + "column": 24 }, "end": { - "line": 424, - "column": 98 + "line": 366, + "column": 31 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "property": { + "type": "Identifier", + "start": 13552, + "end": 13557, + "loc": { + "start": { + "line": 366, + "column": 32 + }, + "end": { + "line": 366, + "column": 37 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13558, + "end": 13561, + "loc": { + "start": { + "line": 366, + "column": 38 + }, + "end": { + "line": 366, + "column": 41 } }, - "callee": { - "type": "MemberExpression", - "start": 15079, - "end": 15090, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 13571, + "end": 14482, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 394, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 13571, + "end": 14481, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 394, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13571, + "end": 13590, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 367, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 13571, + "end": 13582, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 367, + "column": 17 + }, + "identifierName": "buttonArray" + }, + "name": "buttonArray" + }, + "property": { + "type": "Identifier", + "start": 13583, + "end": 13590, + "loc": { + "start": { + "line": 367, + "column": 18 + }, + "end": { + "line": 367, + "column": 25 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13591, + "end": 14480, + "loc": { + "start": { + "line": 367, + "column": 26 + }, + "end": { + "line": 394, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13592, + "end": 13598, + "loc": { + "start": { + "line": 367, + "column": 27 + }, + "end": { + "line": 367, + "column": 33 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 13600, + "end": 13603, + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 38 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 13608, + "end": 14480, + "loc": { + "start": { + "line": 367, + "column": 43 + }, + "end": { + "line": 394, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13619, + "end": 14471, "loc": { "start": { - "line": 424, + "line": 368, "column": 8 }, "end": { - "line": 424, - "column": 19 + "line": 393, + "column": 11 } }, - "object": { - "type": "Identifier", - "start": 15079, - "end": 15086, + "expression": { + "type": "CallExpression", + "start": 13619, + "end": 14470, "loc": { "start": { - "line": 424, + "line": 368, "column": 8 }, "end": { - "line": 424, - "column": 15 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 15087, - "end": 15090, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 19 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15091, - "end": 15103, - "loc": { - "start": { - "line": 424, - "column": 20 - }, - "end": { - "line": 424, - "column": 32 - } - }, - "extra": { - "rawValue": "Caret at: ", - "raw": "'Caret at: '" - }, - "value": "Caret at: " - }, - { - "type": "MemberExpression", - "start": 15105, - "end": 15132, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 61 - } - }, - "object": { - "type": "MemberExpression", - "start": 15105, - "end": 15117, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 15105, - "end": 15110, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 39 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 15111, - "end": 15117, - "loc": { - "start": { - "line": 424, - "column": 40 - }, - "end": { - "line": 424, - "column": 46 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15118, - "end": 15132, - "loc": { - "start": { - "line": 424, - "column": 47 - }, - "end": { - "line": 424, - "column": 61 - }, - "identifierName": "selectionStart" - }, - "name": "selectionStart" - }, - "computed": false - }, - { - "type": "CallExpression", - "start": 15134, - "end": 15168, - "loc": { - "start": { - "line": 424, - "column": 63 - }, - "end": { - "line": 424, - "column": 97 + "line": 393, + "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 15134, - "end": 15166, + "start": 13619, + "end": 13647, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 95 + "line": 368, + "column": 36 } }, "object": { "type": "MemberExpression", - "start": 15134, - "end": 15154, + "start": 13619, + "end": 13643, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 83 + "line": 368, + "column": 32 } }, "object": { "type": "MemberExpression", - "start": 15134, - "end": 15146, + "start": 13619, + "end": 13631, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 75 + "line": 368, + "column": 20 } }, "object": { - "type": "Identifier", - "start": 15134, - "end": 15139, + "type": "ThisExpression", + "start": 13619, + "end": 13623, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 68 - }, - "identifierName": "event" - }, - "name": "event" + "line": 368, + "column": 12 + } + } }, "property": { "type": "Identifier", - "start": 15140, - "end": 15146, + "start": 13624, + "end": 13631, "loc": { "start": { - "line": 424, - "column": 69 + "line": 368, + "column": 13 }, "end": { - "line": 424, - "column": 75 + "line": 368, + "column": 20 }, - "identifierName": "target" + "identifierName": "options" }, - "name": "target" + "name": "options" }, "computed": false }, "property": { "type": "Identifier", - "start": 15147, - "end": 15154, + "start": 13632, + "end": 13643, "loc": { "start": { - "line": 424, - "column": 76 + "line": 368, + "column": 21 }, "end": { - "line": 424, - "column": 83 + "line": 368, + "column": 32 }, - "identifierName": "tagName" + "identifierName": "buttonTheme" }, - "name": "tagName" + "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", - "start": 15155, - "end": 15166, + "start": 13644, + "end": 13647, "loc": { "start": { - "line": 424, - "column": 84 + "line": 368, + "column": 33 }, "end": { - "line": 424, - "column": 95 + "line": 368, + "column": 36 }, - "identifierName": "toLowerCase" + "identifierName": "map" }, - "name": "toLowerCase" + "name": "map" }, "computed": false }, - "arguments": [] + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13648, + "end": 14469, + "loc": { + "start": { + "line": 368, + "column": 37 + }, + "end": { + "line": 393, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13649, + "end": 13660, + "loc": { + "start": { + "line": 368, + "column": 38 + }, + "end": { + "line": 368, + "column": 49 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + { + "type": "Identifier", + "start": 13662, + "end": 13667, + "loc": { + "start": { + "line": 368, + "column": 51 + }, + "end": { + "line": 368, + "column": 56 + }, + "identifierName": "index" + }, + "name": "index" + } + ], + "body": { + "type": "BlockStatement", + "start": 13672, + "end": 14469, + "loc": { + "start": { + "line": 368, + "column": 61 + }, + "end": { + "line": 393, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 13840, + "end": 14425, + "loc": { + "start": { + "line": 374, + "column": 10 + }, + "end": { + "line": 390, + "column": 11 + } + }, + "test": { + "type": "LogicalExpression", + "start": 13857, + "end": 13936, + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 376, + "column": 22 + } + }, + "left": { + "type": "LogicalExpression", + "start": 13858, + "end": 13908, + "loc": { + "start": { + "line": 375, + "column": 13 + }, + "end": { + "line": 375, + "column": 63 + } + }, + "left": { + "type": "Identifier", + "start": 13858, + "end": 13867, + "loc": { + "start": { + "line": 375, + "column": 13 + }, + "end": { + "line": 375, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className", + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 13871, + "end": 13908, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13871, + "end": 13889, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 13871, + "end": 13880, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 35 + }, + "identifierName": "className" + }, + "name": "className" + }, + "property": { + "type": "Identifier", + "start": 13881, + "end": 13889, + "loc": { + "start": { + "line": 375, + "column": 36 + }, + "end": { + "line": 375, + "column": 44 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 13890, + "end": 13907, + "loc": { + "start": { + "line": 375, + "column": 45 + }, + "end": { + "line": 375, + "column": 62 + } + }, + "object": { + "type": "Identifier", + "start": 13890, + "end": 13901, + "loc": { + "start": { + "line": 375, + "column": 45 + }, + "end": { + "line": 375, + "column": 56 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 13902, + "end": 13907, + "loc": { + "start": { + "line": 375, + "column": 57 + }, + "end": { + "line": 375, + "column": 62 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + } + ] + }, + "leadingComments": null, + "extra": { + "parenthesized": true, + "parenStart": 13857 + } + }, + "operator": "||", + "right": { + "type": "UnaryExpression", + "start": 13926, + "end": 13936, + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 22 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13927, + "end": 13936, + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 13949, + "end": 14425, + "loc": { + "start": { + "line": 377, + "column": 11 + }, + "end": { + "line": 390, + "column": 11 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13964, + "end": 14053, + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 101 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13968, + "end": 14052, + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 100 + } + }, + "id": { + "type": "Identifier", + "start": 13968, + "end": 13987, + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 35 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray" + }, + "init": { + "type": "CallExpression", + "start": 13990, + "end": 14052, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 100 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13990, + "end": 14027, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 75 + } + }, + "object": { + "type": "CallExpression", + "start": 13990, + "end": 14020, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13990, + "end": 14015, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 13990, + "end": 14009, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 13990, + "end": 14001, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 49 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 14002, + "end": 14009, + "loc": { + "start": { + "line": 378, + "column": 50 + }, + "end": { + "line": 378, + "column": 57 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14010, + "end": 14015, + "loc": { + "start": { + "line": 378, + "column": 58 + }, + "end": { + "line": 378, + "column": 63 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14016, + "end": 14019, + "loc": { + "start": { + "line": 378, + "column": 64 + }, + "end": { + "line": 378, + "column": 67 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 14021, + "end": 14027, + "loc": { + "start": { + "line": 378, + "column": 69 + }, + "end": { + "line": 378, + "column": 75 + }, + "identifierName": "filter" + }, + "name": "filter" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 14028, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 76 + }, + "end": { + "line": 378, + "column": 99 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14028, + "end": 14032, + "loc": { + "start": { + "line": 378, + "column": 76 + }, + "end": { + "line": 378, + "column": 80 + }, + "identifierName": "item" + }, + "name": "item" + } + ], + "body": { + "type": "BinaryExpression", + "start": 14036, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 84 + }, + "end": { + "line": 378, + "column": 99 + } + }, + "left": { + "type": "Identifier", + "start": 14036, + "end": 14040, + "loc": { + "start": { + "line": 378, + "column": 84 + }, + "end": { + "line": 378, + "column": 88 + }, + "identifierName": "item" + }, + "name": "item" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 14045, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 93 + }, + "end": { + "line": 378, + "column": 99 + }, + "identifierName": "button" + }, + "name": "button" + } + } + } + ] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", + "start": 14069, + "end": 14166, + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 382, + "column": 15 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 14180, + "end": 14409, + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 388, + "column": 13 + } + }, + "test": { + "type": "MemberExpression", + "start": 14183, + "end": 14209, + "loc": { + "start": { + "line": 383, + "column": 15 + }, + "end": { + "line": 383, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 14183, + "end": 14202, + "loc": { + "start": { + "line": 383, + "column": 15 + }, + "end": { + "line": 383, + "column": 34 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 14203, + "end": 14209, + "loc": { + "start": { + "line": 383, + "column": 35 + }, + "end": { + "line": 383, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 14210, + "end": 14294, + "loc": { + "start": { + "line": 383, + "column": 42 + }, + "end": { + "line": 385, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14227, + "end": 14279, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 66 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14227, + "end": 14278, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 65 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14227, + "end": 14246, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 14227, + "end": 14238, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 14239, + "end": 14246, + "loc": { + "start": { + "line": 384, + "column": 26 + }, + "end": { + "line": 384, + "column": 33 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 14249, + "end": 14278, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14249, + "end": 14273, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 14249, + "end": 14268, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 55 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray" + }, + "property": { + "type": "Identifier", + "start": 14269, + "end": 14273, + "loc": { + "start": { + "line": 384, + "column": 56 + }, + "end": { + "line": 384, + "column": 60 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14274, + "end": 14277, + "loc": { + "start": { + "line": 384, + "column": 61 + }, + "end": { + "line": 384, + "column": 64 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 14300, + "end": 14409, + "loc": { + "start": { + "line": 385, + "column": 19 + }, + "end": { + "line": 388, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14317, + "end": 14359, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 56 + } + }, + "expression": { + "type": "CallExpression", + "start": 14317, + "end": 14358, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14317, + "end": 14348, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 14317, + "end": 14341, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 14317, + "end": 14329, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14317, + "end": 14321, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 14322, + "end": 14329, + "loc": { + "start": { + "line": 386, + "column": 19 + }, + "end": { + "line": 386, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14330, + "end": 14341, + "loc": { + "start": { + "line": 386, + "column": 27 + }, + "end": { + "line": 386, + "column": 38 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14342, + "end": 14348, + "loc": { + "start": { + "line": 386, + "column": 39 + }, + "end": { + "line": 386, + "column": 45 + }, + "identifierName": "splice" + }, + "name": "splice" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 14349, + "end": 14354, + "loc": { + "start": { + "line": 386, + "column": 46 + }, + "end": { + "line": 386, + "column": 51 + }, + "identifierName": "index" + }, + "name": "index" + }, + { + "type": "NumericLiteral", + "start": 14356, + "end": 14357, + "loc": { + "start": { + "line": 386, + "column": 53 + }, + "end": { + "line": 386, + "column": 54 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14375, + "end": 14394, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14375, + "end": 14393, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14375, + "end": 14386, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "right": { + "type": "NullLiteral", + "start": 14389, + "end": 14393, + "loc": { + "start": { + "line": 387, + "column": 28 + }, + "end": { + "line": 387, + "column": 32 + } + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", + "start": 14069, + "end": 14166, + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 382, + "column": 15 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", + "start": 13687, + "end": 13828, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 373, + "column": 13 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 14439, + "end": 14458, + "loc": { + "start": { + "line": 392, + "column": 10 + }, + "end": { + "line": 392, + "column": 29 + } + }, + "argument": { + "type": "Identifier", + "start": 14446, + "end": 14457, + "loc": { + "start": { + "line": 392, + "column": 17 + }, + "end": { + "line": 392, + "column": 28 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + } + } + ], + "directives": [] + } + } + ] } - ] + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14492, + "end": 14506, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 14492, + "end": 14505, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14492, + "end": 14503, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 14492, + "end": 14496, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 10 } } - ], - "directives": [] + }, + "property": { + "type": "Identifier", + "start": 14497, + "end": 14503, + "loc": { + "start": { + "line": 396, + "column": 11 + }, + "end": { + "line": 396, + "column": 17 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false }, - "alternate": null + "arguments": [] } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 13354, + "end": 13422, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 12757, + "end": 13097, "loc": { "start": { - "line": 407, + "line": 347, "column": 2 }, "end": { - "line": 409, + "line": 351, "column": 5 } } @@ -20003,16 +20541,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, + "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 429, + "line": 400, "column": 2 }, "end": { - "line": 431, + "line": 403, "column": 5 } } @@ -20020,16 +20558,16 @@ ] }, { - "type": "ClassProperty", - "start": 15326, - "end": 15569, + "type": "ClassMethod", + "start": 14731, + "end": 14998, "loc": { "start": { - "line": 432, + "line": 404, "column": 2 }, "end": { - "line": 444, + "line": 417, "column": 3 } }, @@ -20037,676 +20575,646 @@ "computed": false, "key": { "type": "Identifier", - "start": 15326, - "end": 15332, + "start": 14731, + "end": 14747, "loc": { "start": { - "line": 432, + "line": 404, "column": 2 }, "end": { - "line": 432, - "column": 8 + "line": 404, + "column": 18 }, - "identifierName": "onInit" + "identifierName": "getButtonElement" }, - "name": "onInit", + "name": "getButtonElement", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 15335, - "end": 15569, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14748, + "end": 14754, + "loc": { + "start": { + "line": 404, + "column": 19 + }, + "end": { + "line": 404, + "column": 25 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 14755, + "end": 14998, "loc": { "start": { - "line": 432, - "column": 11 + "line": 404, + "column": 26 }, "end": { - "line": 444, + "line": 417, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 15341, - "end": 15569, - "loc": { - "start": { - "line": 432, - "column": 17 + "body": [ + { + "type": "VariableDeclaration", + "start": 14762, + "end": 14773, + "loc": { + "start": { + "line": 405, + "column": 4 + }, + "end": { + "line": 405, + "column": 15 + } }, - "end": { - "line": 444, - "column": 3 - } + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14766, + "end": 14772, + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 14766, + "end": 14772, + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": null + } + ], + "kind": "let" }, - "body": [ - { - "type": "IfStatement", - "start": 15348, - "end": 15413, + { + "type": "VariableDeclaration", + "start": 14781, + "end": 14825, + "loc": { + "start": { + "line": 407, + "column": 4 + }, + "end": { + "line": 407, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14785, + "end": 14824, + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 14785, + "end": 14794, + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 17 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "init": { + "type": "MemberExpression", + "start": 14797, + "end": 14824, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 14797, + "end": 14816, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 14797, + "end": 14801, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 14802, + "end": 14816, + "loc": { + "start": { + "line": 407, + "column": 25 + }, + "end": { + "line": 407, + "column": 39 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14817, + "end": 14823, + "loc": { + "start": { + "line": 407, + "column": 40 + }, + "end": { + "line": 407, + "column": 46 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 14831, + "end": 14971, + "loc": { + "start": { + "line": 408, + "column": 4 + }, + "end": { + "line": 414, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 14834, + "end": 14843, "loc": { "start": { - "line": 433, - "column": 4 + "line": 408, + "column": 7 }, "end": { - "line": 435, + "line": 408, + "column": 16 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "consequent": { + "type": "BlockStatement", + "start": 14844, + "end": 14971, + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 414, "column": 5 } }, - "test": { - "type": "MemberExpression", - "start": 15351, - "end": 15369, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 15351, - "end": 15363, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 15351, - "end": 15355, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 15356, - "end": 15363, - "loc": { - "start": { - "line": 433, - "column": 12 - }, - "end": { - "line": 433, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15364, - "end": 15369, - "loc": { - "start": { - "line": 433, - "column": 20 - }, - "end": { - "line": 433, - "column": 25 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 15370, - "end": 15413, - "loc": { - "start": { - "line": 433, - "column": 26 - }, - "end": { - "line": 435, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15379, - "end": 15406, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 15379, - "end": 15405, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15379, - "end": 15390, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 15379, - "end": 15386, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 15387, - "end": 15390, - "loc": { - "start": { - "line": 434, - "column": 14 - }, - "end": { - "line": 434, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15391, - "end": 15404, - "loc": { - "start": { - "line": 434, - "column": 18 - }, - "end": { - "line": 434, - "column": 31 - } - }, - "extra": { - "rawValue": "Initialized", - "raw": "\"Initialized\"" - }, - "value": "Initialized" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ + "body": [ { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, + "type": "IfStatement", + "start": 14853, + "end": 14964, "loc": { "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 15462, - "end": 15481, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 15462, - "end": 15480, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15462, - "end": 15478, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 15462, - "end": 15466, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 15467, - "end": 15478, - "loc": { - "start": { - "line": 440, - "column": 9 - }, - "end": { - "line": 440, - "column": 20 - }, - "identifierName": "handleCaret" - }, - "name": "handleCaret" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, - "loc": { - "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 15489, - "end": 15564, - "loc": { - "start": { - "line": 442, - "column": 4 - }, - "end": { - "line": 443, - "column": 28 - } - }, - "test": { - "type": "BinaryExpression", - "start": 15492, - "end": 15533, - "loc": { - "start": { - "line": 442, - "column": 7 - }, - "end": { - "line": 442, - "column": 48 - } - }, - "left": { - "type": "UnaryExpression", - "start": 15492, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 7 - }, - "end": { - "line": 442, - "column": 33 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 15499, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 15499, - "end": 15511, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 15499, - "end": 15503, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 15504, - "end": 15511, - "loc": { - "start": { - "line": 442, - "column": 19 - }, - "end": { - "line": 442, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15512, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 27 - }, - "end": { - "line": 442, - "column": 33 - }, - "identifierName": "onInit" - }, - "name": "onInit" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 15523, - "end": 15533, - "loc": { - "start": { - "line": 442, - "column": 38 - }, - "end": { - "line": 442, - "column": 48 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 15542, - "end": 15564, - "loc": { - "start": { - "line": 443, - "column": 6 - }, - "end": { - "line": 443, - "column": 28 - } - }, - "expression": { - "type": "CallExpression", - "start": 15542, - "end": 15563, - "loc": { - "start": { - "line": 443, + "line": 409, "column": 6 }, "end": { - "line": 443, - "column": 27 + "line": 413, + "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 15542, - "end": 15561, + "test": { + "type": "BinaryExpression", + "start": 14856, + "end": 14876, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 25 + "line": 409, + "column": 29 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 15542, - "end": 15554, + "start": 14856, + "end": 14872, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 18 + "line": 409, + "column": 25 } }, "object": { - "type": "ThisExpression", - "start": 15542, - "end": 15546, + "type": "Identifier", + "start": 14856, + "end": 14865, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 10 - } - } + "line": 409, + "column": 18 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" }, "property": { "type": "Identifier", - "start": 15547, - "end": 15554, + "start": 14866, + "end": 14872, "loc": { "start": { - "line": 443, - "column": 11 + "line": 409, + "column": 19 }, "end": { - "line": 443, - "column": 18 + "line": 409, + "column": 25 }, - "identifierName": "options" + "identifierName": "length" }, - "name": "options" + "name": "length" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 15555, - "end": 15561, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 14875, + "end": 14876, "loc": { "start": { - "line": 443, - "column": 19 + "line": 409, + "column": 28 }, "end": { - "line": 443, - "column": 25 - }, - "identifierName": "onInit" + "line": 409, + "column": 29 + } }, - "name": "onInit" - }, - "computed": false + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } }, - "arguments": [] + "consequent": { + "type": "BlockStatement", + "start": 14877, + "end": 14916, + "loc": { + "start": { + "line": 409, + "column": 30 + }, + "end": { + "line": 411, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14888, + "end": 14907, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14888, + "end": 14906, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14888, + "end": 14894, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "Identifier", + "start": 14897, + "end": 14906, + "loc": { + "start": { + "line": 410, + "column": 17 + }, + "end": { + "line": 410, + "column": 26 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 14922, + "end": 14964, + "loc": { + "start": { + "line": 411, + "column": 13 + }, + "end": { + "line": 413, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14933, + "end": 14955, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14933, + "end": 14954, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14933, + "end": 14939, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 14942, + "end": 14954, + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 14942, + "end": 14951, + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 26 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "property": { + "type": "NumericLiteral", + "start": 14952, + "end": 14953, + "loc": { + "start": { + "line": 412, + "column": 27 + }, + "end": { + "line": 412, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + } + ], + "directives": [] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 14979, + "end": 14993, + "loc": { + "start": { + "line": 416, + "column": 4 }, - "alternate": null + "end": { + "line": 416, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 14986, + "end": 14992, + "loc": { + "start": { + "line": 416, + "column": 11 + }, + "end": { + "line": 416, + "column": 17 + }, + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, + "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 429, + "line": 400, "column": 2 }, "end": { - "line": 431, + "line": 403, "column": 5 } } @@ -20715,16 +21223,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, + "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", + "start": 15004, + "end": 15094, "loc": { "start": { - "line": 446, + "line": 419, "column": 2 }, "end": { - "line": 448, + "line": 421, "column": 5 } } @@ -20732,12 +21240,775 @@ ] }, { - "type": "ClassProperty", - "start": 15697, - "end": 15805, + "type": "ClassMethod", + "start": 15098, + "end": 15401, "loc": { "start": { - "line": 449, + "line": 422, + "column": 2 + }, + "end": { + "line": 430, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 15098, + "end": 15109, + "loc": { + "start": { + "line": 422, + "column": 2 + }, + "end": { + "line": 422, + "column": 13 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15111, + "end": 15401, + "loc": { + "start": { + "line": 422, + "column": 15 + }, + "end": { + "line": 430, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 15118, + "end": 15194, + "loc": { + "start": { + "line": 423, + "column": 4 + }, + "end": { + "line": 425, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 15121, + "end": 15139, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 15121, + "end": 15133, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 15121, + "end": 15125, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 15126, + "end": 15133, + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15134, + "end": 15139, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 25 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15140, + "end": 15194, + "loc": { + "start": { + "line": 423, + "column": 26 + }, + "end": { + "line": 425, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15149, + "end": 15187, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 15149, + "end": 15186, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15149, + "end": 15160, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 15149, + "end": 15156, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 15157, + "end": 15160, + "loc": { + "start": { + "line": 424, + "column": 14 + }, + "end": { + "line": 424, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15161, + "end": 15185, + "loc": { + "start": { + "line": 424, + "column": 18 + }, + "end": { + "line": 424, + "column": 42 + } + }, + "extra": { + "rawValue": "Caret handling started", + "raw": "\"Caret handling started\"" + }, + "value": "Caret handling started" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 15202, + "end": 15261, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 15202, + "end": 15260, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15202, + "end": 15227, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15202, + "end": 15210, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15211, + "end": 15227, + "loc": { + "start": { + "line": 427, + "column": 13 + }, + "end": { + "line": 427, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15228, + "end": 15235, + "loc": { + "start": { + "line": 427, + "column": 30 + }, + "end": { + "line": 427, + "column": 37 + } + }, + "extra": { + "rawValue": "keyup", + "raw": "\"keyup\"" + }, + "value": "keyup" + }, + { + "type": "MemberExpression", + "start": 15237, + "end": 15259, + "loc": { + "start": { + "line": 427, + "column": 39 + }, + "end": { + "line": 427, + "column": 61 + } + }, + "object": { + "type": "ThisExpression", + "start": 15237, + "end": 15241, + "loc": { + "start": { + "line": 427, + "column": 39 + }, + "end": { + "line": 427, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 15242, + "end": 15259, + "loc": { + "start": { + "line": 427, + "column": 44 + }, + "end": { + "line": 427, + "column": 61 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15267, + "end": 15328, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 15267, + "end": 15327, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15267, + "end": 15292, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15267, + "end": 15275, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15276, + "end": 15292, + "loc": { + "start": { + "line": 428, + "column": 13 + }, + "end": { + "line": 428, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15293, + "end": 15302, + "loc": { + "start": { + "line": 428, + "column": 30 + }, + "end": { + "line": 428, + "column": 39 + } + }, + "extra": { + "rawValue": "mouseup", + "raw": "\"mouseup\"" + }, + "value": "mouseup" + }, + { + "type": "MemberExpression", + "start": 15304, + "end": 15326, + "loc": { + "start": { + "line": 428, + "column": 41 + }, + "end": { + "line": 428, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 15304, + "end": 15308, + "loc": { + "start": { + "line": 428, + "column": 41 + }, + "end": { + "line": 428, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "start": 15309, + "end": 15326, + "loc": { + "start": { + "line": 428, + "column": 46 + }, + "end": { + "line": 428, + "column": 63 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15334, + "end": 15396, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 66 + } + }, + "expression": { + "type": "CallExpression", + "start": 15334, + "end": 15395, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15334, + "end": 15359, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15334, + "end": 15342, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15343, + "end": 15359, + "loc": { + "start": { + "line": 429, + "column": 13 + }, + "end": { + "line": 429, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15360, + "end": 15370, + "loc": { + "start": { + "line": 429, + "column": 30 + }, + "end": { + "line": 429, + "column": 40 + } + }, + "extra": { + "rawValue": "touchend", + "raw": "\"touchend\"" + }, + "value": "touchend" + }, + { + "type": "MemberExpression", + "start": 15372, + "end": 15394, + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 15372, + "end": 15376, + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 15377, + "end": 15394, + "loc": { + "start": { + "line": 429, + "column": 47 + }, + "end": { + "line": 429, + "column": 64 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", + "start": 15004, + "end": 15094, + "loc": { + "start": { + "line": 419, + "column": 2 + }, + "end": { + "line": 421, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", + "start": 15407, + "end": 15519, + "loc": { + "start": { + "line": 432, + "column": 2 + }, + "end": { + "line": 434, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 15523, + "end": 16073, + "loc": { + "start": { + "line": 435, "column": 2 }, "end": { @@ -20749,340 +22020,1031 @@ "computed": false, "key": { "type": "Identifier", - "start": 15697, - "end": 15705, + "start": 15523, + "end": 15540, "loc": { "start": { - "line": 449, + "line": 435, "column": 2 }, "end": { - "line": 449, - "column": 10 + "line": 435, + "column": 19 }, - "identifierName": "onRender" + "identifierName": "caretEventHandler" }, - "name": "onRender", + "name": "caretEventHandler", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 15708, - "end": 15805, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15541, + "end": 15546, + "loc": { + "start": { + "line": 435, + "column": 20 + }, + "end": { + "line": 435, + "column": 25 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 15547, + "end": 16073, "loc": { "start": { - "line": 449, - "column": 13 + "line": 435, + "column": 26 }, "end": { "line": 452, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 15714, - "end": 15805, - "loc": { - "start": { - "line": 449, - "column": 19 + "body": [ + { + "type": "VariableDeclaration", + "start": 15554, + "end": 15609, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 59 + } }, - "end": { - "line": 452, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 15721, - "end": 15800, - "loc": { - "start": { - "line": 450, - "column": 4 - }, - "end": { - "line": 451, - "column": 30 - } - }, - "test": { - "type": "BinaryExpression", - "start": 15724, - "end": 15767, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15558, + "end": 15608, "loc": { "start": { - "line": 450, - "column": 7 + "line": 436, + "column": 8 }, "end": { - "line": 450, - "column": 50 + "line": 436, + "column": 58 } }, - "left": { - "type": "UnaryExpression", - "start": 15724, - "end": 15752, + "id": { + "type": "Identifier", + "start": 15558, + "end": 15571, "loc": { "start": { - "line": 450, - "column": 7 + "line": 436, + "column": 8 }, "end": { - "line": 450, - "column": 35 - } + "line": 436, + "column": 21 + }, + "identifierName": "targetTagName" }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 15731, - "end": 15752, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 15731, - "end": 15743, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 15731, - "end": 15735, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 15736, - "end": 15743, - "loc": { - "start": { - "line": 450, - "column": 19 - }, - "end": { - "line": 450, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15744, - "end": 15752, - "loc": { - "start": { - "line": 450, - "column": 27 - }, - "end": { - "line": 450, - "column": 35 - }, - "identifierName": "onRender" - }, - "name": "onRender" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } + "name": "targetTagName" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 15757, - "end": 15767, - "loc": { - "start": { - "line": 450, - "column": 40 - }, - "end": { - "line": 450, - "column": 50 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 15776, - "end": 15800, - "loc": { - "start": { - "line": 451, - "column": 6 - }, - "end": { - "line": 451, - "column": 30 - } - }, - "expression": { + "init": { "type": "CallExpression", - "start": 15776, - "end": 15799, + "start": 15574, + "end": 15608, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 29 + "line": 436, + "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 15776, - "end": 15797, + "start": 15574, + "end": 15606, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 27 + "line": 436, + "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15776, - "end": 15788, + "start": 15574, + "end": 15594, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 18 + "line": 436, + "column": 44 } }, "object": { - "type": "ThisExpression", - "start": 15776, - "end": 15780, + "type": "MemberExpression", + "start": 15574, + "end": 15586, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 10 + "line": 436, + "column": 36 } - } + }, + "object": { + "type": "Identifier", + "start": 15574, + "end": 15579, + "loc": { + "start": { + "line": 436, + "column": 24 + }, + "end": { + "line": 436, + "column": 29 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15580, + "end": 15586, + "loc": { + "start": { + "line": 436, + "column": 30 + }, + "end": { + "line": 436, + "column": 36 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 15781, - "end": 15788, + "start": 15587, + "end": 15594, "loc": { "start": { - "line": 451, - "column": 11 + "line": 436, + "column": 37 }, "end": { - "line": 451, - "column": 18 + "line": 436, + "column": 44 }, - "identifierName": "options" + "identifierName": "tagName" }, - "name": "options" + "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", - "start": 15789, - "end": 15797, + "start": 15595, + "end": 15606, "loc": { "start": { - "line": 451, - "column": 19 + "line": 436, + "column": 45 }, "end": { - "line": 451, - "column": 27 + "line": 436, + "column": 56 }, - "identifierName": "onRender" + "identifierName": "toLowerCase" }, - "name": "onRender" + "name": "toLowerCase" }, "computed": false }, "arguments": [] } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 15617, + "end": 16068, + "loc": { + "start": { + "line": 438, + "column": 4 }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, + "end": { + "line": 451, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 15628, + "end": 15692, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "left": { + "type": "BinaryExpression", + "start": 15628, + "end": 15656, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 439, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 15628, + "end": 15641, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 439, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 15646, + "end": 15656, + "loc": { + "start": { + "line": 439, + "column": 24 + }, + "end": { + "line": 439, + "column": 34 + } + }, + "extra": { + "rawValue": "textarea", + "raw": "\"textarea\"" + }, + "value": "textarea" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 15667, + "end": 15692, + "loc": { + "start": { + "line": 440, + "column": 6 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 15667, + "end": 15680, + "loc": { + "start": { + "line": 440, + "column": 6 + }, + "end": { + "line": 440, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 15685, + "end": 15692, + "loc": { + "start": { + "line": 440, + "column": 24 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "extra": { + "rawValue": "input", + "raw": "\"input\"" + }, + "value": "input" + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 15699, + "end": 16068, + "loc": { + "start": { + "line": 441, + "column": 5 + }, + "end": { + "line": 451, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15864, + "end": 15913, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15864, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 15864, + "end": 15882, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 15864, + "end": 15868, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 15869, + "end": 15882, + "loc": { + "start": { + "line": 446, + "column": 11 + }, + "end": { + "line": 446, + "column": 24 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 15885, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 15885, + "end": 15897, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 15885, + "end": 15890, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 32 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15891, + "end": 15897, + "loc": { + "start": { + "line": 446, + "column": 33 + }, + "end": { + "line": 446, + "column": 39 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15898, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 40 + }, + "end": { + "line": 446, + "column": 54 + }, + "identifierName": "selectionStart" + }, + "name": "selectionStart" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", + "start": 15708, + "end": 15856, + "loc": { + "start": { + "line": 442, + "column": 6 + }, + "end": { + "line": 445, + "column": 9 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 15923, + "end": 16056, + "loc": { + "start": { + "line": 448, + "column": 6 + }, + "end": { + "line": 450, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 15926, + "end": 15944, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 15926, + "end": 15938, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 15926, + "end": 15930, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 15931, + "end": 15938, + "loc": { + "start": { + "line": 448, + "column": 14 + }, + "end": { + "line": 448, + "column": 21 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15939, + "end": 15944, + "loc": { + "start": { + "line": 448, + "column": 22 + }, + "end": { + "line": 448, + "column": 27 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15945, + "end": 16056, + "loc": { + "start": { + "line": 448, + "column": 28 + }, + "end": { + "line": 450, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15956, + "end": 16047, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 99 + } + }, + "expression": { + "type": "CallExpression", + "start": 15956, + "end": 16046, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 98 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15956, + "end": 15967, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 15956, + "end": 15963, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 15 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 15964, + "end": 15967, + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 19 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15968, + "end": 15980, + "loc": { + "start": { + "line": 449, + "column": 20 + }, + "end": { + "line": 449, + "column": 32 + } + }, + "extra": { + "rawValue": "Caret at: ", + "raw": "'Caret at: '" + }, + "value": "Caret at: " + }, + { + "type": "MemberExpression", + "start": 15982, + "end": 16009, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 15982, + "end": 15994, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 15982, + "end": 15987, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 39 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15988, + "end": 15994, + "loc": { + "start": { + "line": 449, + "column": 40 + }, + "end": { + "line": 449, + "column": 46 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15995, + "end": 16009, + "loc": { + "start": { + "line": 449, + "column": 47 + }, + "end": { + "line": 449, + "column": 61 + }, + "identifierName": "selectionStart" + }, + "name": "selectionStart" + }, + "computed": false + }, + { + "type": "CallExpression", + "start": 16011, + "end": 16045, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 97 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16011, + "end": 16043, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 95 + } + }, + "object": { + "type": "MemberExpression", + "start": 16011, + "end": 16031, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 16011, + "end": 16023, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 16011, + "end": 16016, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 68 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 16017, + "end": 16023, + "loc": { + "start": { + "line": 449, + "column": 69 + }, + "end": { + "line": 449, + "column": 75 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16024, + "end": 16031, + "loc": { + "start": { + "line": 449, + "column": 76 + }, + "end": { + "line": 449, + "column": 83 + }, + "identifierName": "tagName" + }, + "name": "tagName" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16032, + "end": 16043, + "loc": { + "start": { + "line": 449, + "column": 84 + }, + "end": { + "line": 449, + "column": 95 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, + "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", + "start": 15407, + "end": 15519, "loc": { "start": { - "line": 446, + "line": 432, "column": 2 }, "end": { - "line": 448, + "line": 434, "column": 5 } } @@ -21091,9 +23053,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 16079, + "end": 16199, "loc": { "start": { "line": 454, @@ -21108,16 +23070,16 @@ ] }, { - "type": "ClassProperty", - "start": 15871, - "end": 20000, + "type": "ClassMethod", + "start": 16203, + "end": 16439, "loc": { "start": { "line": 457, "column": 2 }, "end": { - "line": 593, + "line": 469, "column": 3 } }, @@ -21125,8 +23087,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 15871, - "end": 15877, + "start": 16203, + "end": 16209, "loc": { "start": { "line": 457, @@ -21136,22 +23098,1907 @@ "line": 457, "column": 8 }, - "identifierName": "render" + "identifierName": "onInit" }, - "name": "render", + "name": "onInit", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16211, + "end": 16439, + "loc": { + "start": { + "line": 457, + "column": 10 + }, + "end": { + "line": 469, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16218, + "end": 16283, + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 460, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 16221, + "end": 16239, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 16221, + "end": 16233, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 16221, + "end": 16225, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 16226, + "end": 16233, + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 458, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16234, + "end": 16239, + "loc": { + "start": { + "line": 458, + "column": 20 + }, + "end": { + "line": 458, + "column": 25 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 16240, + "end": 16283, + "loc": { + "start": { + "line": 458, + "column": 26 + }, + "end": { + "line": 460, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16249, + "end": 16276, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 16249, + "end": 16275, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16249, + "end": 16260, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 16249, + "end": 16256, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 16257, + "end": 16260, + "loc": { + "start": { + "line": 459, + "column": 14 + }, + "end": { + "line": 459, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16261, + "end": 16274, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 459, + "column": 31 + } + }, + "extra": { + "rawValue": "Initialized", + "raw": "\"Initialized\"" + }, + "value": "Initialized" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 464, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 16332, + "end": 16351, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 16332, + "end": 16350, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16332, + "end": 16348, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 16332, + "end": 16336, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 16337, + "end": 16348, + "loc": { + "start": { + "line": 465, + "column": 9 + }, + "end": { + "line": 465, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 464, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 16359, + "end": 16434, + "loc": { + "start": { + "line": 467, + "column": 4 + }, + "end": { + "line": 468, + "column": 28 + } + }, + "test": { + "type": "BinaryExpression", + "start": 16362, + "end": 16403, + "loc": { + "start": { + "line": 467, + "column": 7 + }, + "end": { + "line": 467, + "column": 48 + } + }, + "left": { + "type": "UnaryExpression", + "start": 16362, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 7 + }, + "end": { + "line": 467, + "column": 33 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16369, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 16369, + "end": 16381, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16369, + "end": 16373, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 16374, + "end": 16381, + "loc": { + "start": { + "line": 467, + "column": 19 + }, + "end": { + "line": 467, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16382, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 27 + }, + "end": { + "line": 467, + "column": 33 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 16393, + "end": 16403, + "loc": { + "start": { + "line": 467, + "column": 38 + }, + "end": { + "line": 467, + "column": 48 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 16412, + "end": 16434, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 16412, + "end": 16433, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16412, + "end": 16431, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 16412, + "end": 16424, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 16412, + "end": 16416, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 16417, + "end": 16424, + "loc": { + "start": { + "line": 468, + "column": 11 + }, + "end": { + "line": 468, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16425, + "end": 16431, + "loc": { + "start": { + "line": 468, + "column": 19 + }, + "end": { + "line": 468, + "column": 25 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 16079, + "end": 16199, + "loc": { + "start": { + "line": 454, + "column": 2 + }, + "end": { + "line": 456, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 16567, + "end": 16668, + "loc": { + "start": { + "line": 474, + "column": 2 + }, + "end": { + "line": 477, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16567, + "end": 16575, + "loc": { + "start": { + "line": 474, + "column": 2 + }, + "end": { + "line": 474, + "column": 10 + }, + "identifierName": "onRender" + }, + "name": "onRender", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16577, + "end": 16668, + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 477, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16584, + "end": 16663, + "loc": { + "start": { + "line": 475, + "column": 4 + }, + "end": { + "line": 476, + "column": 30 + } + }, + "test": { + "type": "BinaryExpression", + "start": 16587, + "end": 16630, + "loc": { + "start": { + "line": 475, + "column": 7 + }, + "end": { + "line": 475, + "column": 50 + } + }, + "left": { + "type": "UnaryExpression", + "start": 16587, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 7 + }, + "end": { + "line": 475, + "column": 35 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16594, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16594, + "end": 16606, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16594, + "end": 16598, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 16599, + "end": 16606, + "loc": { + "start": { + "line": 475, + "column": 19 + }, + "end": { + "line": 475, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16607, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 27 + }, + "end": { + "line": 475, + "column": 35 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 16620, + "end": 16630, + "loc": { + "start": { + "line": 475, + "column": 40 + }, + "end": { + "line": 475, + "column": 50 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 16639, + "end": 16663, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 16639, + "end": 16662, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16639, + "end": 16660, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 16639, + "end": 16651, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 16639, + "end": 16643, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 16644, + "end": 16651, + "loc": { + "start": { + "line": 476, + "column": 11 + }, + "end": { + "line": 476, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16652, + "end": 16660, + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 27 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 16710, + "end": 16828, + "loc": { + "start": { + "line": 482, + "column": 2 + }, + "end": { + "line": 486, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16710, + "end": 16724, + "loc": { + "start": { + "line": 482, + "column": 2 + }, + "end": { + "line": 482, + "column": 16 + }, + "identifierName": "registerModule" + }, + "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", - "start": 15880, - "end": 20000, + "start": 16727, + "end": 16828, "loc": { "start": { - "line": 457, - "column": 11 + "line": 482, + "column": 19 }, "end": { - "line": 593, + "line": 486, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16728, + "end": 16732, + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 24 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 16734, + "end": 16746, + "loc": { + "start": { + "line": 482, + "column": 26 + }, + "end": { + "line": 482, + "column": 38 + }, + "identifierName": "initCallback" + }, + "name": "initCallback" + } + ], + "body": { + "type": "BlockStatement", + "start": 16751, + "end": 16828, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 486, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16758, + "end": 16782, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16758, + "end": 16781, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16758, + "end": 16776, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 16758, + "end": 16770, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 16758, + "end": 16762, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 16763, + "end": 16770, + "loc": { + "start": { + "line": 483, + "column": 9 + }, + "end": { + "line": 483, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16771, + "end": 16775, + "loc": { + "start": { + "line": 483, + "column": 17 + }, + "end": { + "line": 483, + "column": 21 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "right": { + "type": "ObjectExpression", + "start": 16779, + "end": 16781, + "loc": { + "start": { + "line": 483, + "column": 25 + }, + "end": { + "line": 483, + "column": 27 + } + }, + "properties": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 16790, + "end": 16823, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 16790, + "end": 16822, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 16790, + "end": 16802, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 16 + }, + "identifierName": "initCallback" + }, + "name": "initCallback" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 16803, + "end": 16821, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16803, + "end": 16815, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 16803, + "end": 16807, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 16808, + "end": 16815, + "loc": { + "start": { + "line": 485, + "column": 22 + }, + "end": { + "line": 485, + "column": 29 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16816, + "end": 16820, + "loc": { + "start": { + "line": 485, + "column": 30 + }, + "end": { + "line": 485, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 490, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 16870, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 2 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16870, + "end": 16883, + "loc": { + "start": { + "line": 491, + "column": 2 + }, + "end": { + "line": 491, + "column": 15 + }, + "identifierName": "getModuleProp" + }, + "name": "getModuleProp", + "leadingComments": null + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 16886, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 18 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16887, + "end": 16891, + "loc": { + "start": { + "line": 491, + "column": 19 + }, + "end": { + "line": 491, + "column": 23 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 16893, + "end": 16897, + "loc": { + "start": { + "line": 491, + "column": 25 + }, + "end": { + "line": 491, + "column": 29 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ], + "body": { + "type": "BlockStatement", + "start": 16902, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 34 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16909, + "end": 16953, + "loc": { + "start": { + "line": 492, + "column": 4 + }, + "end": { + "line": 493, + "column": 19 + } + }, + "test": { + "type": "UnaryExpression", + "start": 16912, + "end": 16931, + "loc": { + "start": { + "line": 492, + "column": 7 + }, + "end": { + "line": 492, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16913, + "end": 16931, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 16913, + "end": 16925, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 16913, + "end": 16917, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 16918, + "end": 16925, + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 20 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16926, + "end": 16930, + "loc": { + "start": { + "line": 492, + "column": 21 + }, + "end": { + "line": 492, + "column": 25 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 16940, + "end": 16953, + "loc": { + "start": { + "line": 493, + "column": 6 + }, + "end": { + "line": 493, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 16947, + "end": 16952, + "loc": { + "start": { + "line": 493, + "column": 13 + }, + "end": { + "line": 493, + "column": 18 + } + }, + "value": false + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 16965, + "end": 16997, + "loc": { + "start": { + "line": 495, + "column": 4 + }, + "end": { + "line": 495, + "column": 36 + } + }, + "argument": { + "type": "MemberExpression", + "start": 16972, + "end": 16996, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16972, + "end": 16990, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 16972, + "end": 16984, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 16972, + "end": 16976, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 16977, + "end": 16984, + "loc": { + "start": { + "line": 495, + "column": 16 + }, + "end": { + "line": 495, + "column": 23 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16985, + "end": 16989, + "loc": { + "start": { + "line": 495, + "column": 24 + }, + "end": { + "line": 495, + "column": 28 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 16991, + "end": 16995, + "loc": { + "start": { + "line": 495, + "column": 30 + }, + "end": { + "line": 495, + "column": 34 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + "computed": true + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 490, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 17043, + "end": 17111, + "loc": { + "start": { + "line": 501, + "column": 2 + }, + "end": { + "line": 503, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 17043, + "end": 17057, + "loc": { + "start": { + "line": 501, + "column": 2 + }, + "end": { + "line": 501, + "column": 16 + }, + "identifierName": "getModulesList" + }, + "name": "getModulesList", + "leadingComments": null + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 17060, + "end": 17111, + "loc": { + "start": { + "line": 501, + "column": 19 + }, + "end": { + "line": 503, "column": 3 } }, @@ -21162,876 +25009,462 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15886, - "end": 20000, + "start": 17066, + "end": 17111, "loc": { "start": { - "line": 457, - "column": 17 + "line": 501, + "column": 25 }, "end": { - "line": 593, + "line": 503, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15934, - "end": 15947, + "type": "ReturnStatement", + "start": 17073, + "end": 17106, "loc": { "start": { - "line": 461, + "line": 502, "column": 4 }, "end": { - "line": 461, - "column": 17 + "line": 502, + "column": 37 } }, - "expression": { + "argument": { "type": "CallExpression", - "start": 15934, - "end": 15946, + "start": 17080, + "end": 17105, "loc": { "start": { - "line": 461, - "column": 4 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 16 + "line": 502, + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 15934, - "end": 15944, + "start": 17080, + "end": 17091, "loc": { "start": { - "line": 461, - "column": 4 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 14 + "line": 502, + "column": 22 } }, "object": { - "type": "ThisExpression", - "start": 15934, - "end": 15938, - "loc": { - "start": { - "line": 461, - "column": 4 - }, - "end": { - "line": 461, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { "type": "Identifier", - "start": 15939, - "end": 15944, + "start": 17080, + "end": 17086, "loc": { "start": { - "line": 461, - "column": 9 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 14 - }, - "identifierName": "clear" - }, - "name": "clear" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Clear keyboard\r\n ", - "start": 15893, - "end": 15928, - "loc": { - "start": { - "line": 458, - "column": 4 - }, - "end": { - "line": 460, - "column": 7 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 15955, - "end": 16055, - "loc": { - "start": { - "line": 463, - "column": 4 - }, - "end": { - "line": 463, - "column": 104 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15959, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 8 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "id": { - "type": "Identifier", - "start": 15959, - "end": 15970, - "loc": { - "start": { - "line": 463, - "column": 8 - }, - "end": { - "line": 463, - "column": 19 - }, - "identifierName": "layoutClass" - }, - "name": "layoutClass" - }, - "init": { - "type": "ConditionalExpression", - "start": 15973, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "test": { - "type": "MemberExpression", - "start": 15973, - "end": 15992, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 15973, - "end": 15985, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 15973, - "end": 15977, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 15978, - "end": 15985, - "loc": { - "start": { - "line": 463, - "column": 27 - }, - "end": { - "line": 463, - "column": 34 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15986, - "end": 15992, - "loc": { - "start": { - "line": 463, - "column": 35 - }, - "end": { - "line": 463, - "column": 41 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "computed": false - }, - "consequent": { - "type": "StringLiteral", - "start": 15995, - "end": 16013, - "loc": { - "start": { - "line": 463, - "column": 44 - }, - "end": { - "line": 463, - "column": 62 - } - }, - "extra": { - "rawValue": "hg-layout-custom", - "raw": "\"hg-layout-custom\"" - }, - "value": "hg-layout-custom" - }, - "alternate": { - "type": "TemplateLiteral", - "start": 16016, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 65 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 16029, - "end": 16052, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 101 - } - }, - "object": { - "type": "MemberExpression", - "start": 16029, - "end": 16041, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 90 - } - }, - "object": { - "type": "ThisExpression", - "start": 16029, - "end": 16033, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 82 - } - } - }, - "property": { - "type": "Identifier", - "start": 16034, - "end": 16041, - "loc": { - "start": { - "line": 463, - "column": 83 - }, - "end": { - "line": 463, - "column": 90 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16042, - "end": 16052, - "loc": { - "start": { - "line": 463, - "column": 91 - }, - "end": { - "line": 463, - "column": 101 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 16017, - "end": 16027, - "loc": { - "start": { - "line": 463, - "column": 66 - }, - "end": { - "line": 463, - "column": 76 - } - }, - "value": { - "raw": "hg-layout-", - "cooked": "hg-layout-" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 16053, - "end": 16053, - "loc": { - "start": { - "line": 463, - "column": 102 - }, - "end": { - "line": 463, - "column": 102 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 16061, - "end": 16131, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 464, - "column": 74 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16065, - "end": 16130, - "loc": { - "start": { - "line": 464, - "column": 8 - }, - "end": { - "line": 464, - "column": 73 - } - }, - "id": { - "type": "Identifier", - "start": 16065, - "end": 16071, - "loc": { - "start": { - "line": 464, - "column": 8 - }, - "end": { - "line": 464, - "column": 14 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "init": { - "type": "LogicalExpression", - "start": 16074, - "end": 16130, - "loc": { - "start": { - "line": 464, + "line": 502, "column": 17 }, - "end": { - "line": 464, - "column": 73 - } + "identifierName": "Object" }, - "left": { - "type": "MemberExpression", - "start": 16074, - "end": 16093, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 16074, - "end": 16086, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 16074, - "end": 16078, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 16079, - "end": 16086, - "loc": { - "start": { - "line": 464, - "column": 22 - }, - "end": { - "line": 464, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16087, - "end": 16093, - "loc": { - "start": { - "line": 464, - "column": 30 - }, - "end": { - "line": 464, - "column": 36 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 16097, - "end": 16130, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 73 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16097, - "end": 16128, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 16097, - "end": 16111, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 54 - }, - "identifierName": "KeyboardLayout" - }, - "name": "KeyboardLayout" - }, - "property": { - "type": "Identifier", - "start": 16112, - "end": 16128, - "loc": { - "start": { - "line": 464, - "column": 55 - }, - "end": { - "line": 464, - "column": 71 - }, - "identifierName": "getDefaultLayout" - }, - "name": "getDefaultLayout" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, - "loc": { - "start": { - "line": 466, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 16197, - "end": 16225, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 469, - "column": 32 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16201, - "end": 16224, - "loc": { - "start": { - "line": 469, - "column": 8 - }, - "end": { - "line": 469, - "column": 31 - } - }, - "id": { - "type": "Identifier", - "start": 16201, - "end": 16219, - "loc": { - "start": { - "line": 469, - "column": 8 - }, - "end": { - "line": 469, - "column": 26 - }, - "identifierName": "buttonThemesParsed" - }, - "name": "buttonThemesParsed", - "leadingComments": null - }, - "init": { - "type": "ObjectExpression", - "start": 16222, - "end": 16224, - "loc": { - "start": { - "line": 469, - "column": 29 - }, - "end": { - "line": 469, - "column": 31 - } - }, - "properties": [] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, - "loc": { - "start": { - "line": 466, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 16231, - "end": 17370, - "loc": { - "start": { - "line": 470, - "column": 4 - }, - "end": { - "line": 498, - "column": 5 - } - }, - "test": { - "type": "CallExpression", - "start": 16234, - "end": 16273, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16234, - "end": 16247, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 16234, - "end": 16239, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 12 - }, - "identifierName": "Array" - }, - "name": "Array" + "name": "Object" }, "property": { "type": "Identifier", - "start": 16240, - "end": 16247, + "start": 17087, + "end": 17091, "loc": { "start": { - "line": 470, - "column": 13 + "line": 502, + "column": 18 }, "end": { - "line": 470, - "column": 20 + "line": 502, + "column": 22 }, - "identifierName": "isArray" + "identifierName": "keys" }, - "name": "isArray" + "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", - "start": 16248, - "end": 16272, + "start": 17092, + "end": 17104, "loc": { "start": { - "line": 470, - "column": 21 + "line": 502, + "column": 23 }, "end": { - "line": 470, - "column": 45 + "line": 502, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 17092, + "end": 17096, + "loc": { + "start": { + "line": 502, + "column": 23 + }, + "end": { + "line": 502, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 17097, + "end": 17104, + "loc": { + "start": { + "line": 502, + "column": 28 + }, + "end": { + "line": 502, + "column": 35 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 17117, + "end": 17173, + "loc": { + "start": { + "line": 505, + "column": 2 + }, + "end": { + "line": 507, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 17177, + "end": 21299, + "loc": { + "start": { + "line": 508, + "column": 2 + }, + "end": { + "line": 644, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 17177, + "end": 17183, + "loc": { + "start": { + "line": 508, + "column": 2 + }, + "end": { + "line": 508, + "column": 8 + }, + "identifierName": "render" + }, + "name": "render", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 17185, + "end": 21299, + "loc": { + "start": { + "line": 508, + "column": 10 + }, + "end": { + "line": 644, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17233, + "end": 17246, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 17233, + "end": 17245, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17233, + "end": 17243, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 17233, + "end": 17237, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 17238, + "end": 17243, + "loc": { + "start": { + "line": 512, + "column": 9 + }, + "end": { + "line": 512, + "column": 14 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Clear keyboard\r\n ", + "start": 17192, + "end": 17227, + "loc": { + "start": { + "line": 509, + "column": 4 + }, + "end": { + "line": 511, + "column": 7 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 17254, + "end": 17354, + "loc": { + "start": { + "line": 514, + "column": 4 + }, + "end": { + "line": 514, + "column": 104 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17258, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 103 + } + }, + "id": { + "type": "Identifier", + "start": 17258, + "end": 17269, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 19 + }, + "identifierName": "layoutClass" + }, + "name": "layoutClass" + }, + "init": { + "type": "ConditionalExpression", + "start": 17272, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 103 + } + }, + "test": { + "type": "MemberExpression", + "start": 17272, + "end": 17291, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 41 } }, "object": { "type": "MemberExpression", - "start": 16248, - "end": 16260, + "start": 17272, + "end": 17284, "loc": { "start": { - "line": 470, - "column": 21 + "line": 514, + "column": 22 }, "end": { - "line": 470, - "column": 33 + "line": 514, + "column": 34 } }, "object": { "type": "ThisExpression", - "start": 16248, - "end": 16252, + "start": 17272, + "end": 17276, "loc": { "start": { - "line": 470, - "column": 21 + "line": 514, + "column": 22 }, "end": { - "line": 470, - "column": 25 + "line": 514, + "column": 26 } } }, "property": { "type": "Identifier", - "start": 16253, - "end": 16260, + "start": 17277, + "end": 17284, "loc": { "start": { - "line": 470, - "column": 26 + "line": 514, + "column": 27 }, "end": { - "line": 470, - "column": 33 + "line": 514, + "column": 34 }, "identifierName": "options" }, @@ -22041,4151 +25474,5375 @@ }, "property": { "type": "Identifier", - "start": 16261, - "end": 16272, + "start": 17285, + "end": 17291, "loc": { "start": { - "line": 470, - "column": 34 + "line": 514, + "column": 35 }, "end": { - "line": 470, - "column": 45 + "line": 514, + "column": 41 }, - "identifierName": "buttonTheme" + "identifierName": "layout" }, - "name": "buttonTheme" + "name": "layout" }, "computed": false - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 16274, - "end": 17370, - "loc": { - "start": { - "line": 470, - "column": 47 }, - "end": { - "line": 498, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16283, - "end": 17363, + "consequent": { + "type": "StringLiteral", + "start": 17294, + "end": 17312, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 44 }, "end": { - "line": 497, - "column": 9 + "line": 514, + "column": 62 } }, - "expression": { - "type": "CallExpression", - "start": 16283, - "end": 17362, - "loc": { - "start": { - "line": 471, - "column": 6 - }, - "end": { - "line": 497, - "column": 8 - } + "extra": { + "rawValue": "hg-layout-custom", + "raw": "\"hg-layout-custom\"" + }, + "value": "hg-layout-custom" + }, + "alternate": { + "type": "TemplateLiteral", + "start": 17315, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 65 }, - "callee": { + "end": { + "line": 514, + "column": 103 + } + }, + "expressions": [ + { "type": "MemberExpression", - "start": 16283, - "end": 16315, + "start": 17328, + "end": 17351, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 38 + "line": 514, + "column": 101 } }, "object": { "type": "MemberExpression", - "start": 16283, - "end": 16307, + "start": 17328, + "end": 17340, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 30 + "line": 514, + "column": 90 } }, "object": { - "type": "MemberExpression", - "start": 16283, - "end": 16295, + "type": "ThisExpression", + "start": 17328, + "end": 17332, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 18 + "line": 514, + "column": 82 } - }, - "object": { - "type": "ThisExpression", - "start": 16283, - "end": 16287, - "loc": { - "start": { - "line": 471, - "column": 6 - }, - "end": { - "line": 471, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 16288, - "end": 16295, - "loc": { - "start": { - "line": 471, - "column": 11 - }, - "end": { - "line": 471, - "column": 18 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 16296, - "end": 16307, + "start": 17333, + "end": 17340, "loc": { "start": { - "line": 471, - "column": 19 + "line": 514, + "column": 83 }, "end": { - "line": 471, - "column": 30 + "line": 514, + "column": 90 }, - "identifierName": "buttonTheme" + "identifierName": "options" }, - "name": "buttonTheme" + "name": "options" }, "computed": false }, "property": { "type": "Identifier", - "start": 16308, - "end": 16315, + "start": 17341, + "end": 17351, "loc": { "start": { - "line": 471, - "column": 31 + "line": 514, + "column": 91 }, "end": { - "line": 471, - "column": 38 + "line": 514, + "column": 101 }, - "identifierName": "forEach" + "identifierName": "layoutName" }, - "name": "forEach" + "name": "layoutName" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 17316, + "end": 17326, + "loc": { + "start": { + "line": 514, + "column": 66 + }, + "end": { + "line": 514, + "column": 76 + } + }, + "value": { + "raw": "hg-layout-", + "cooked": "hg-layout-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 17352, + "end": 17352, + "loc": { + "start": { + "line": 514, + "column": 102 + }, + "end": { + "line": 514, + "column": 102 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 17360, + "end": 17430, + "loc": { + "start": { + "line": 515, + "column": 4 + }, + "end": { + "line": 515, + "column": 74 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17364, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 17364, + "end": 17370, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 14 + }, + "identifierName": "layout" + }, + "name": "layout" + }, + "init": { + "type": "LogicalExpression", + "start": 17373, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "left": { + "type": "MemberExpression", + "start": 17373, + "end": 17392, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 17373, + "end": 17385, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 17373, + "end": 17377, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 17378, + "end": 17385, + "loc": { + "start": { + "line": 515, + "column": 22 + }, + "end": { + "line": 515, + "column": 29 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17386, + "end": 17392, + "loc": { + "start": { + "line": 515, + "column": 30 + }, + "end": { + "line": 515, + "column": 36 + }, + "identifierName": "layout" + }, + "name": "layout" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 17396, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17396, + "end": 17427, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 17396, + "end": 17410, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 54 + }, + "identifierName": "KeyboardLayout" + }, + "name": "KeyboardLayout" + }, + "property": { + "type": "Identifier", + "start": 17411, + "end": 17427, + "loc": { + "start": { + "line": 515, + "column": 55 + }, + "end": { + "line": 515, + "column": 71 + }, + "identifierName": "getDefaultLayout" + }, + "name": "getDefaultLayout" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 17438, + "end": 17490, + "loc": { + "start": { + "line": 517, + "column": 4 + }, + "end": { + "line": 519, + "column": 7 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 17496, + "end": 17524, + "loc": { + "start": { + "line": 520, + "column": 4 + }, + "end": { + "line": 520, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17500, + "end": 17523, + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 17500, + "end": 17518, + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 26 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed", + "leadingComments": null + }, + "init": { + "type": "ObjectExpression", + "start": 17521, + "end": 17523, + "loc": { + "start": { + "line": 520, + "column": 29 + }, + "end": { + "line": 520, + "column": 31 + } + }, + "properties": [] + }, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 17438, + "end": 17490, + "loc": { + "start": { + "line": 517, + "column": 4 + }, + "end": { + "line": 519, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 17530, + "end": 18669, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 549, + "column": 5 + } + }, + "test": { + "type": "CallExpression", + "start": 17533, + "end": 17572, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17533, + "end": 17546, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 17533, + "end": 17538, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 12 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 17539, + "end": 17546, + "loc": { + "start": { + "line": 521, + "column": 13 + }, + "end": { + "line": 521, + "column": 20 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 17547, + "end": 17571, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 17547, + "end": 17559, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 17547, + "end": 17551, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 17552, + "end": 17559, + "loc": { + "start": { + "line": 521, + "column": 26 + }, + "end": { + "line": 521, + "column": 33 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17560, + "end": 17571, + "loc": { + "start": { + "line": 521, + "column": 34 + }, + "end": { + "line": 521, + "column": 45 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 17573, + "end": 18669, + "loc": { + "start": { + "line": 521, + "column": 47 + }, + "end": { + "line": 549, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17582, + "end": 18662, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 548, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 17582, + "end": 18661, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 548, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17582, + "end": 17614, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 17582, + "end": 17606, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 17582, + "end": 17594, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 17582, + "end": 17586, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 17587, + "end": 17594, + "loc": { + "start": { + "line": 522, + "column": 11 + }, + "end": { + "line": 522, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17595, + "end": 17606, + "loc": { + "start": { + "line": 522, + "column": 19 + }, + "end": { + "line": 522, + "column": 30 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" }, "computed": false }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 16316, - "end": 17361, + "property": { + "type": "Identifier", + "start": 17607, + "end": 17614, + "loc": { + "start": { + "line": 522, + "column": 31 + }, + "end": { + "line": 522, + "column": 38 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17615, + "end": 18660, + "loc": { + "start": { + "line": 522, + "column": 39 + }, + "end": { + "line": 548, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17615, + "end": 17623, + "loc": { + "start": { + "line": 522, + "column": 39 + }, + "end": { + "line": 522, + "column": 47 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + } + ], + "body": { + "type": "BlockStatement", + "start": 17627, + "end": 18660, "loc": { "start": { - "line": 471, - "column": 39 + "line": 522, + "column": 51 }, "end": { - "line": 497, + "line": 548, "column": 7 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 16316, - "end": 16324, + "type": "IfStatement", + "start": 17638, + "end": 18651, "loc": { "start": { - "line": 471, - "column": 39 + "line": 523, + "column": 8 }, "end": { - "line": 471, - "column": 47 - }, - "identifierName": "themeObj" + "line": 547, + "column": 9 + } }, - "name": "themeObj" - } - ], - "body": { - "type": "BlockStatement", - "start": 16328, - "end": 17361, - "loc": { - "start": { - "line": 471, - "column": 51 - }, - "end": { - "line": 497, - "column": 7 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 16339, - "end": 17352, + "test": { + "type": "LogicalExpression", + "start": 17641, + "end": 17675, "loc": { "start": { - "line": 472, - "column": 8 + "line": 523, + "column": 11 }, "end": { - "line": 496, - "column": 9 + "line": 523, + "column": 45 } }, - "test": { - "type": "LogicalExpression", - "start": 16342, - "end": 16376, + "left": { + "type": "MemberExpression", + "start": 17641, + "end": 17657, "loc": { "start": { - "line": 472, + "line": 523, "column": 11 }, "end": { - "line": 472, - "column": 45 + "line": 523, + "column": 27 } }, - "left": { - "type": "MemberExpression", - "start": 16342, - "end": 16358, + "object": { + "type": "Identifier", + "start": 17641, + "end": 17649, "loc": { "start": { - "line": 472, + "line": 523, "column": 11 }, "end": { - "line": 472, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 16342, - "end": 16350, - "loc": { - "start": { - "line": 472, - "column": 11 - }, - "end": { - "line": 472, - "column": 19 - }, - "identifierName": "themeObj" + "line": 523, + "column": 19 }, - "name": "themeObj" + "identifierName": "themeObj" }, - "property": { - "type": "Identifier", - "start": 16351, - "end": 16358, - "loc": { - "start": { - "line": 472, - "column": 20 - }, - "end": { - "line": 472, - "column": 27 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false + "name": "themeObj" }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 16362, - "end": 16376, + "property": { + "type": "Identifier", + "start": 17650, + "end": 17657, "loc": { "start": { - "line": 472, + "line": 523, + "column": 20 + }, + "end": { + "line": 523, + "column": 27 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 17661, + "end": 17675, + "loc": { + "start": { + "line": 523, + "column": 31 + }, + "end": { + "line": 523, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 17661, + "end": 17669, + "loc": { + "start": { + "line": 523, "column": 31 }, "end": { - "line": 472, + "line": 523, + "column": 39 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 17670, + "end": 17675, + "loc": { + "start": { + "line": 523, + "column": 40 + }, + "end": { + "line": 523, "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 16362, - "end": 16370, - "loc": { - "start": { - "line": 472, - "column": 31 - }, - "end": { - "line": 472, - "column": 39 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 16371, - "end": 16376, - "loc": { - "start": { - "line": 472, - "column": 40 - }, - "end": { - "line": 472, - "column": 45 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false + "name": "class" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17676, + "end": 18517, + "loc": { + "start": { + "line": 523, + "column": 46 + }, + "end": { + "line": 545, + "column": 9 } }, - "consequent": { - "type": "BlockStatement", - "start": 16377, - "end": 17218, - "loc": { - "start": { - "line": 472, - "column": 46 - }, - "end": { - "line": 494, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16390, - "end": 16407, - "loc": { - "start": { - "line": 473, - "column": 10 - }, - "end": { - "line": 473, - "column": 27 - } + "body": [ + { + "type": "VariableDeclaration", + "start": 17689, + "end": 17706, + "loc": { + "start": { + "line": 524, + "column": 10 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16394, - "end": 16406, + "end": { + "line": 524, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17693, + "end": 17705, + "loc": { + "start": { + "line": 524, + "column": 14 + }, + "end": { + "line": 524, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 17693, + "end": 17705, "loc": { "start": { - "line": 473, + "line": 524, "column": 14 }, "end": { - "line": 473, + "line": 524, "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 16394, - "end": 16406, - "loc": { - "start": { - "line": 473, - "column": 14 - }, - "end": { - "line": 473, - "column": 26 - }, - "identifierName": "themeButtons" }, - "name": "themeButtons" + "identifierName": "themeButtons" }, - "init": null - } - ], - "kind": "let" + "name": "themeButtons" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 17720, + "end": 17831, + "loc": { + "start": { + "line": 526, + "column": 10 + }, + "end": { + "line": 528, + "column": 11 + } }, - { - "type": "IfStatement", - "start": 16421, - "end": 16532, + "test": { + "type": "BinaryExpression", + "start": 17723, + "end": 17759, "loc": { "start": { - "line": 475, - "column": 10 + "line": 526, + "column": 13 }, "end": { - "line": 477, - "column": 11 + "line": 526, + "column": 49 } }, - "test": { - "type": "BinaryExpression", - "start": 16424, - "end": 16460, + "left": { + "type": "UnaryExpression", + "start": 17723, + "end": 17746, "loc": { "start": { - "line": 475, + "line": 526, "column": 13 }, "end": { - "line": 475, - "column": 49 + "line": 526, + "column": 36 } }, - "left": { - "type": "UnaryExpression", - "start": 16424, - "end": 16447, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 17730, + "end": 17746, "loc": { "start": { - "line": 475, - "column": 13 + "line": 526, + "column": 20 }, "end": { - "line": 475, + "line": 526, "column": 36 } }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 16431, - "end": 16447, + "object": { + "type": "Identifier", + "start": 17730, + "end": 17738, "loc": { "start": { - "line": 475, + "line": 526, "column": 20 }, "end": { - "line": 475, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 16431, - "end": 16439, - "loc": { - "start": { - "line": 475, - "column": 20 - }, - "end": { - "line": 475, - "column": 28 - }, - "identifierName": "themeObj" + "line": 526, + "column": 28 }, - "name": "themeObj" + "identifierName": "themeObj" }, - "property": { - "type": "Identifier", - "start": 16440, - "end": 16447, - "loc": { - "start": { - "line": 475, - "column": 29 - }, - "end": { - "line": 475, - "column": 36 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false + "name": "themeObj" }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 16452, - "end": 16460, - "loc": { - "start": { - "line": 475, - "column": 41 - }, - "end": { - "line": 475, - "column": 49 - } - }, - "extra": { - "rawValue": "string", - "raw": "\"string\"" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16461, - "end": 16532, - "loc": { - "start": { - "line": 475, - "column": 50 - }, - "end": { - "line": 477, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16476, - "end": 16519, + "property": { + "type": "Identifier", + "start": 17739, + "end": 17746, "loc": { "start": { - "line": 476, + "line": 526, + "column": 29 + }, + "end": { + "line": 526, + "column": 36 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17751, + "end": 17759, + "loc": { + "start": { + "line": 526, + "column": 41 + }, + "end": { + "line": 526, + "column": 49 + } + }, + "extra": { + "rawValue": "string", + "raw": "\"string\"" + }, + "value": "string" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17760, + "end": 17831, + "loc": { + "start": { + "line": 526, + "column": 50 + }, + "end": { + "line": 528, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17775, + "end": 17818, + "loc": { + "start": { + "line": 527, + "column": 12 + }, + "end": { + "line": 527, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 17775, + "end": 17817, + "loc": { + "start": { + "line": 527, "column": 12 }, "end": { - "line": 476, - "column": 55 + "line": 527, + "column": 54 } }, - "expression": { - "type": "AssignmentExpression", - "start": 16476, - "end": 16518, + "operator": "=", + "left": { + "type": "Identifier", + "start": 17775, + "end": 17787, "loc": { "start": { - "line": 476, + "line": 527, "column": 12 }, "end": { - "line": 476, + "line": 527, + "column": 24 + }, + "identifierName": "themeButtons" + }, + "name": "themeButtons" + }, + "right": { + "type": "CallExpression", + "start": 17790, + "end": 17817, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, "column": 54 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 16476, - "end": 16488, + "callee": { + "type": "MemberExpression", + "start": 17790, + "end": 17812, "loc": { "start": { - "line": 476, + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 17790, + "end": 17806, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 17790, + "end": 17798, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 35 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 17799, + "end": 17806, + "loc": { + "start": { + "line": 527, + "column": 36 + }, + "end": { + "line": 527, + "column": 43 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17807, + "end": 17812, + "loc": { + "start": { + "line": 527, + "column": 44 + }, + "end": { + "line": 527, + "column": 49 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17813, + "end": 17816, + "loc": { + "start": { + "line": 527, + "column": 50 + }, + "end": { + "line": 527, + "column": 53 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 17845, + "end": 18506, + "loc": { + "start": { + "line": 530, + "column": 10 + }, + "end": { + "line": 544, + "column": 11 + } + }, + "test": { + "type": "Identifier", + "start": 17848, + "end": 17860, + "loc": { + "start": { + "line": 530, + "column": 13 + }, + "end": { + "line": 530, + "column": 25 + }, + "identifierName": "themeButtons" + }, + "name": "themeButtons" + }, + "consequent": { + "type": "BlockStatement", + "start": 17861, + "end": 18506, + "loc": { + "start": { + "line": 530, + "column": 26 + }, + "end": { + "line": 544, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17876, + "end": 18493, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 543, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 17876, + "end": 18492, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 543, + "column": 14 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17876, + "end": 17896, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 17876, + "end": 17888, + "loc": { + "start": { + "line": 531, "column": 12 }, "end": { - "line": 476, + "line": 531, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, - "right": { - "type": "CallExpression", - "start": 16491, - "end": 16518, + "property": { + "type": "Identifier", + "start": 17889, + "end": 17896, "loc": { "start": { - "line": 476, - "column": 27 + "line": 531, + "column": 25 }, "end": { - "line": 476, - "column": 54 + "line": 531, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17897, + "end": 18491, + "loc": { + "start": { + "line": 531, + "column": 33 + }, + "end": { + "line": 543, + "column": 13 } }, - "callee": { - "type": "MemberExpression", - "start": 16491, - "end": 16513, - "loc": { - "start": { - "line": 476, - "column": 27 - }, - "end": { - "line": 476, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 16491, - "end": 16507, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17897, + "end": 17908, "loc": { "start": { - "line": 476, - "column": 27 + "line": 531, + "column": 33 }, "end": { - "line": 476, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 16491, - "end": 16499, - "loc": { - "start": { - "line": 476, - "column": 27 - }, - "end": { - "line": 476, - "column": 35 - }, - "identifierName": "themeObj" - }, - "name": "themeObj" - }, - "property": { - "type": "Identifier", - "start": 16500, - "end": 16507, - "loc": { - "start": { - "line": 476, - "column": 36 - }, - "end": { - "line": 476, - "column": 43 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16508, - "end": 16513, - "loc": { - "start": { - "line": 476, + "line": 531, "column": 44 }, - "end": { - "line": 476, - "column": 49 - }, - "identifierName": "split" + "identifierName": "themeButton" }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 16514, - "end": 16517, - "loc": { - "start": { - "line": 476, - "column": 50 - }, - "end": { - "line": 476, - "column": 53 - } - }, - "extra": { - "rawValue": " ", - "raw": "' '" - }, - "value": " " + "name": "themeButton" } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 16546, - "end": 17207, - "loc": { - "start": { - "line": 479, - "column": 10 - }, - "end": { - "line": 493, - "column": 11 - } - }, - "test": { - "type": "Identifier", - "start": 16549, - "end": 16561, - "loc": { - "start": { - "line": 479, - "column": 13 - }, - "end": { - "line": 479, - "column": 25 - }, - "identifierName": "themeButtons" - }, - "name": "themeButtons" - }, - "consequent": { - "type": "BlockStatement", - "start": 16562, - "end": 17207, - "loc": { - "start": { - "line": 479, - "column": 26 - }, - "end": { - "line": 493, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16577, - "end": 17194, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 492, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 16577, - "end": 17193, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 492, - "column": 14 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16577, - "end": 16597, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 480, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 16577, - "end": 16589, + ], + "body": { + "type": "BlockStatement", + "start": 17912, + "end": 18491, "loc": { "start": { - "line": 480, - "column": 12 + "line": 531, + "column": 48 }, "end": { - "line": 480, - "column": 24 - }, - "identifierName": "themeButtons" - }, - "name": "themeButtons" - }, - "property": { - "type": "Identifier", - "start": 16590, - "end": 16597, - "loc": { - "start": { - "line": 480, - "column": 25 - }, - "end": { - "line": 480, - "column": 32 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 16598, - "end": 17192, - "loc": { - "start": { - "line": 480, - "column": 33 - }, - "end": { - "line": 492, + "line": 543, "column": 13 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 16598, - "end": 16609, + "type": "VariableDeclaration", + "start": 17929, + "end": 17979, "loc": { "start": { - "line": 480, - "column": 33 + "line": 532, + "column": 14 }, "end": { - "line": 480, - "column": 44 - }, - "identifierName": "themeButton" + "line": 532, + "column": 64 + } }, - "name": "themeButton" - } - ], - "body": { - "type": "BlockStatement", - "start": 16613, - "end": 17192, - "loc": { - "start": { - "line": 480, - "column": 48 - }, - "end": { - "line": 492, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16630, - "end": 16680, - "loc": { - "start": { - "line": 481, - "column": 14 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17933, + "end": 17978, + "loc": { + "start": { + "line": 532, + "column": 18 + }, + "end": { + "line": 532, + "column": 63 + } }, - "end": { - "line": 481, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16634, - "end": 16679, + "id": { + "type": "Identifier", + "start": 17933, + "end": 17944, "loc": { "start": { - "line": 481, + "line": 532, "column": 18 }, "end": { - "line": 481, + "line": 532, + "column": 29 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed" + }, + "init": { + "type": "MemberExpression", + "start": 17947, + "end": 17978, + "loc": { + "start": { + "line": 532, + "column": 32 + }, + "end": { + "line": 532, "column": 63 } }, - "id": { + "object": { "type": "Identifier", - "start": 16634, - "end": 16645, + "start": 17947, + "end": 17965, "loc": { "start": { - "line": 481, - "column": 18 - }, - "end": { - "line": 481, - "column": 29 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed" - }, - "init": { - "type": "MemberExpression", - "start": 16648, - "end": 16679, - "loc": { - "start": { - "line": 481, + "line": 532, "column": 32 }, "end": { - "line": 481, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 16648, - "end": 16666, - "loc": { - "start": { - "line": 481, - "column": 32 - }, - "end": { - "line": 481, - "column": 50 - }, - "identifierName": "buttonThemesParsed" + "line": 532, + "column": 50 }, - "name": "buttonThemesParsed" + "identifierName": "buttonThemesParsed" }, - "property": { - "type": "Identifier", - "start": 16667, - "end": 16678, - "loc": { - "start": { - "line": 481, - "column": 51 - }, - "end": { - "line": 481, - "column": 62 - }, - "identifierName": "themeButton" + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 17966, + "end": 17977, + "loc": { + "start": { + "line": 532, + "column": 51 }, - "name": "themeButton" + "end": { + "line": 532, + "column": 62 + }, + "identifierName": "themeButton" }, - "computed": true + "name": "themeButton" + }, + "computed": true + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 17997, + "end": 18036, + "loc": { + "start": { + "line": 534, + "column": 14 + }, + "end": { + "line": 534, + "column": 53 } } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 16698, - "end": 16737, - "loc": { - "start": { - "line": 483, - "column": 14 - }, - "end": { - "line": 483, - "column": 53 - } - } - } - ] + } + ] + }, + { + "type": "IfStatement", + "start": 18052, + "end": 18476, + "loc": { + "start": { + "line": 535, + "column": 14 + }, + "end": { + "line": 542, + "column": 15 + } }, - { - "type": "IfStatement", - "start": 16753, - "end": 17177, + "test": { + "type": "Identifier", + "start": 18055, + "end": 18066, "loc": { "start": { - "line": 484, - "column": 14 + "line": 535, + "column": 17 }, "end": { - "line": 491, + "line": 535, + "column": 28 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed", + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18067, + "end": 18385, + "loc": { + "start": { + "line": 535, + "column": 29 + }, + "end": { + "line": 540, "column": 15 } }, - "test": { - "type": "Identifier", - "start": 16756, - "end": 16767, - "loc": { - "start": { - "line": 484, - "column": 17 + "body": [ + { + "type": "IfStatement", + "start": 18187, + "end": 18368, + "loc": { + "start": { + "line": 537, + "column": 16 + }, + "end": { + "line": 539, + "column": 17 + } }, - "end": { - "line": 484, - "column": 28 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed", - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 16768, - "end": 17086, - "loc": { - "start": { - "line": 484, - "column": 29 - }, - "end": { - "line": 489, - "column": 15 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 16888, - "end": 17069, + "test": { + "type": "UnaryExpression", + "start": 18190, + "end": 18258, "loc": { "start": { - "line": 486, - "column": 16 + "line": 537, + "column": 19 }, "end": { - "line": 488, - "column": 17 + "line": 537, + "column": 87 } }, - "test": { - "type": "UnaryExpression", - "start": 16891, - "end": 16959, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 18191, + "end": 18258, "loc": { "start": { - "line": 486, - "column": 19 + "line": 537, + "column": 20 }, "end": { - "line": 486, + "line": 537, "column": 87 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 16892, - "end": 16959, + "callee": { + "type": "MemberExpression", + "start": 18191, + "end": 18218, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 87 + "line": 537, + "column": 47 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 16892, - "end": 16919, + "start": 18191, + "end": 18205, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 47 + "line": 537, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 16892, - "end": 16906, + "type": "ThisExpression", + "start": 18191, + "end": 18195, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 34 + "line": 537, + "column": 24 } }, - "object": { - "type": "ThisExpression", - "start": 16892, - "end": 16896, - "loc": { - "start": { - "line": 486, - "column": 20 - }, - "end": { - "line": 486, - "column": 24 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16897, - "end": 16906, - "loc": { - "start": { - "line": 486, - "column": 25 - }, - "end": { - "line": 486, - "column": 34 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 16907, - "end": 16919, + "start": 18196, + "end": 18205, "loc": { "start": { - "line": 486, - "column": 35 + "line": 537, + "column": 25 }, "end": { - "line": 486, - "column": 47 + "line": 537, + "column": 34 }, - "identifierName": "countInArray" + "identifierName": "utilities" }, - "name": "countInArray" + "name": "utilities" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "CallExpression", - "start": 16920, - "end": 16942, + "property": { + "type": "Identifier", + "start": 18206, + "end": 18218, + "loc": { + "start": { + "line": 537, + "column": 35 + }, + "end": { + "line": 537, + "column": 47 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "CallExpression", + "start": 18219, + "end": 18241, + "loc": { + "start": { + "line": 537, + "column": 48 + }, + "end": { + "line": 537, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18219, + "end": 18236, "loc": { "start": { - "line": 486, + "line": 537, "column": 48 }, "end": { - "line": 486, - "column": 70 + "line": 537, + "column": 65 } }, - "callee": { - "type": "MemberExpression", - "start": 16920, - "end": 16937, + "object": { + "type": "Identifier", + "start": 18219, + "end": 18230, "loc": { "start": { - "line": 486, + "line": 537, "column": 48 }, "end": { - "line": 486, + "line": 537, + "column": 59 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed" + }, + "property": { + "type": "Identifier", + "start": 18231, + "end": 18236, + "loc": { + "start": { + "line": 537, + "column": 60 + }, + "end": { + "line": 537, "column": 65 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18237, + "end": 18240, + "loc": { + "start": { + "line": 537, + "column": 66 + }, + "end": { + "line": 537, + "column": 69 } }, - "object": { + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + { + "type": "MemberExpression", + "start": 18243, + "end": 18257, + "loc": { + "start": { + "line": 537, + "column": 72 + }, + "end": { + "line": 537, + "column": 86 + } + }, + "object": { + "type": "Identifier", + "start": 18243, + "end": 18251, + "loc": { + "start": { + "line": 537, + "column": 72 + }, + "end": { + "line": 537, + "column": 80 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18252, + "end": 18257, + "loc": { + "start": { + "line": 537, + "column": 81 + }, + "end": { + "line": 537, + "column": 86 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + } + ], + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18259, + "end": 18368, + "loc": { + "start": { + "line": 537, + "column": 88 + }, + "end": { + "line": 539, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18280, + "end": 18349, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 87 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18280, + "end": 18348, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 86 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18280, + "end": 18311, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 18280, + "end": 18298, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 36 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 18299, + "end": 18310, + "loc": { + "start": { + "line": 538, + "column": 37 + }, + "end": { + "line": 538, + "column": 48 + }, + "identifierName": "themeButton" + }, + "name": "themeButton" + }, + "computed": true + }, + "right": { + "type": "TemplateLiteral", + "start": 18314, + "end": 18348, + "loc": { + "start": { + "line": 538, + "column": 52 + }, + "end": { + "line": 538, + "column": 86 + } + }, + "expressions": [ + { "type": "Identifier", - "start": 16920, - "end": 16931, + "start": 18317, + "end": 18328, "loc": { "start": { - "line": 486, - "column": 48 + "line": 538, + "column": 55 }, "end": { - "line": 486, - "column": 59 + "line": 538, + "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, - "property": { - "type": "Identifier", - "start": 16932, - "end": 16937, - "loc": { - "start": { - "line": 486, - "column": 60 - }, - "end": { - "line": 486, - "column": 65 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ { - "type": "StringLiteral", - "start": 16938, - "end": 16941, + "type": "MemberExpression", + "start": 18332, + "end": 18346, "loc": { "start": { - "line": 486, - "column": 66 + "line": 538, + "column": 70 }, "end": { - "line": 486, - "column": 69 + "line": 538, + "column": 84 } }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - { - "type": "MemberExpression", - "start": 16944, - "end": 16958, - "loc": { - "start": { - "line": 486, - "column": 72 - }, - "end": { - "line": 486, - "column": 86 - } - }, - "object": { - "type": "Identifier", - "start": 16944, - "end": 16952, - "loc": { - "start": { - "line": 486, - "column": 72 - }, - "end": { - "line": 486, - "column": 80 - }, - "identifierName": "themeObj" - }, - "name": "themeObj" - }, - "property": { - "type": "Identifier", - "start": 16953, - "end": 16958, - "loc": { - "start": { - "line": 486, - "column": 81 - }, - "end": { - "line": 486, - "column": 86 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - ], - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 16960, - "end": 17069, - "loc": { - "start": { - "line": 486, - "column": 88 - }, - "end": { - "line": 488, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16981, - "end": 17050, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 87 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16981, - "end": 17049, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 86 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16981, - "end": 17012, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 16981, - "end": 16999, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 36 - }, - "identifierName": "buttonThemesParsed" - }, - "name": "buttonThemesParsed" - }, - "property": { - "type": "Identifier", - "start": 17000, - "end": 17011, - "loc": { - "start": { - "line": 487, - "column": 37 - }, - "end": { - "line": 487, - "column": 48 - }, - "identifierName": "themeButton" - }, - "name": "themeButton" - }, - "computed": true - }, - "right": { - "type": "TemplateLiteral", - "start": 17015, - "end": 17049, - "loc": { - "start": { - "line": 487, - "column": 52 - }, - "end": { - "line": 487, - "column": 86 - } - }, - "expressions": [ - { + "object": { "type": "Identifier", - "start": 17018, - "end": 17029, + "start": 18332, + "end": 18340, "loc": { "start": { - "line": 487, - "column": 55 - }, - "end": { - "line": 487, - "column": 66 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed" - }, - { - "type": "MemberExpression", - "start": 17033, - "end": 17047, - "loc": { - "start": { - "line": 487, + "line": 538, "column": 70 }, "end": { - "line": 487, + "line": 538, + "column": 78 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18341, + "end": 18346, + "loc": { + "start": { + "line": 538, + "column": 79 + }, + "end": { + "line": 538, "column": 84 - } - }, - "object": { - "type": "Identifier", - "start": 17033, - "end": 17041, - "loc": { - "start": { - "line": 487, - "column": 70 - }, - "end": { - "line": 487, - "column": 78 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 17042, - "end": 17047, - "loc": { - "start": { - "line": 487, - "column": 79 - }, - "end": { - "line": 487, - "column": 84 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 17016, - "end": 17016, - "loc": { - "start": { - "line": 487, - "column": 53 - }, - "end": { - "line": 487, - "column": 53 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false + "name": "class" }, - { - "type": "TemplateElement", - "start": 17030, - "end": 17031, - "loc": { - "start": { - "line": 487, - "column": 67 - }, - "end": { - "line": 487, - "column": 68 - } + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18315, + "end": 18315, + "loc": { + "start": { + "line": 538, + "column": 53 }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false + "end": { + "line": 538, + "column": 53 + } }, - { - "type": "TemplateElement", - "start": 17048, - "end": 17048, - "loc": { - "start": { - "line": 487, - "column": 85 - }, - "end": { - "line": 487, - "column": 85 - } + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18329, + "end": 18330, + "loc": { + "start": { + "line": 538, + "column": 67 }, - "value": { - "raw": "", - "cooked": "" + "end": { + "line": 538, + "column": 68 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18347, + "end": 18347, + "loc": { + "start": { + "line": 538, + "column": 85 }, - "tail": true - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 16787, - "end": 16870, - "loc": { - "start": { - "line": 485, - "column": 16 - }, - "end": { - "line": 485, - "column": 99 + "end": { + "line": 538, + "column": 85 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } } } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 17092, - "end": 17177, - "loc": { - "start": { - "line": 489, - "column": 21 + ], + "directives": [] }, - "end": { - "line": 491, - "column": 15 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17111, - "end": 17160, - "loc": { - "start": { - "line": 490, - "column": 16 - }, - "end": { - "line": 490, - "column": 65 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17111, - "end": 17159, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", + "start": 18086, + "end": 18169, "loc": { "start": { - "line": 490, + "line": 536, "column": 16 }, "end": { - "line": 490, - "column": 64 + "line": 536, + "column": 99 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 18391, + "end": 18476, + "loc": { + "start": { + "line": 540, + "column": 21 + }, + "end": { + "line": 542, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18410, + "end": 18459, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18410, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18410, + "end": 18441, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 47 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17111, - "end": 17142, + "object": { + "type": "Identifier", + "start": 18410, + "end": 18428, "loc": { "start": { - "line": 490, + "line": 541, "column": 16 }, "end": { - "line": 490, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 17111, - "end": 17129, - "loc": { - "start": { - "line": 490, - "column": 16 - }, - "end": { - "line": 490, - "column": 34 - }, - "identifierName": "buttonThemesParsed" + "line": 541, + "column": 34 }, - "name": "buttonThemesParsed" + "identifierName": "buttonThemesParsed" }, - "property": { - "type": "Identifier", - "start": 17130, - "end": 17141, - "loc": { - "start": { - "line": 490, - "column": 35 - }, - "end": { - "line": 490, - "column": 46 - }, - "identifierName": "themeButton" - }, - "name": "themeButton" - }, - "computed": true + "name": "buttonThemesParsed" }, - "right": { - "type": "MemberExpression", - "start": 17145, - "end": 17159, + "property": { + "type": "Identifier", + "start": 18429, + "end": 18440, "loc": { "start": { - "line": 490, + "line": 541, + "column": 35 + }, + "end": { + "line": 541, + "column": 46 + }, + "identifierName": "themeButton" + }, + "name": "themeButton" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 18444, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 50 + }, + "end": { + "line": 541, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 18444, + "end": 18452, + "loc": { + "start": { + "line": 541, "column": 50 }, "end": { - "line": 490, + "line": 541, + "column": 58 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18453, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 59 + }, + "end": { + "line": 541, "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 17145, - "end": 17153, - "loc": { - "start": { - "line": 490, - "column": 50 - }, - "end": { - "line": 490, - "column": 58 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 17154, - "end": 17159, - "loc": { - "start": { - "line": 490, - "column": 59 - }, - "end": { - "line": 490, - "column": 64 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 16698, - "end": 16737, - "loc": { - "start": { - "line": 483, - "column": 14 - }, - "end": { - "line": 483, - "column": 53 + "name": "class" + }, + "computed": false } } } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 17224, - "end": 17352, - "loc": { - "start": { - "line": 494, - "column": 15 - }, - "end": { - "line": 496, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17237, - "end": 17341, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 114 - } - }, - "expression": { - "type": "CallExpression", - "start": 17237, - "end": 17341, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 114 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17237, - "end": 17249, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17237, - "end": 17244, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 17 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 17245, - "end": 17249, - "loc": { - "start": { - "line": 495, - "column": 18 - }, - "end": { - "line": 495, - "column": 22 - }, - "identifierName": "warn" - }, - "name": "warn" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 17250, - "end": 17340, - "loc": { - "start": { - "line": 495, - "column": 23 - }, - "end": { - "line": 495, - "column": 113 - } - }, - "expressions": [], - "quasis": [ - { - "type": "TemplateElement", - "start": 17251, - "end": 17339, - "loc": { - "start": { - "line": 495, - "column": 24 - }, - "end": { - "line": 495, - "column": 112 - } - }, - "value": { - "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", - "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." - }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, - "loc": { - "start": { - "line": 500, - "column": 4 - }, - "end": { - "line": 502, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17450, - "end": 17520, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 74 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17450, - "end": 17519, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 73 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 17450, - "end": 17476, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 17450, - "end": 17466, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 17450, - "end": 17454, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17455, - "end": 17466, - "loc": { - "start": { - "line": 503, - "column": 9 - }, - "end": { - "line": 503, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17467, - "end": 17476, - "loc": { - "start": { - "line": 503, - "column": 21 - }, - "end": { - "line": 503, - "column": 30 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "TemplateLiteral", - "start": 17480, - "end": 17519, - "loc": { - "start": { - "line": 503, - "column": 34 - }, - "end": { - "line": 503, - "column": 73 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 17484, - "end": 17502, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 56 - } - }, - "object": { - "type": "MemberExpression", - "start": 17484, - "end": 17496, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 50 - } - }, - "object": { - "type": "ThisExpression", - "start": 17484, - "end": 17488, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "start": 17489, - "end": 17496, - "loc": { - "start": { - "line": 503, - "column": 43 - }, - "end": { - "line": 503, - "column": 50 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17497, - "end": 17502, - "loc": { - "start": { - "line": 503, - "column": 51 - }, - "end": { - "line": 503, - "column": 56 - }, - "identifierName": "theme" - }, - "name": "theme" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 17506, - "end": 17517, - "loc": { - "start": { - "line": 503, - "column": 60 - }, - "end": { - "line": 503, - "column": 71 - }, - "identifierName": "layoutClass" - }, - "name": "layoutClass" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 17481, - "end": 17482, - "loc": { - "start": { - "line": 503, - "column": 35 - }, - "end": { - "line": 503, - "column": 36 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 17503, - "end": 17504, - "loc": { - "start": { - "line": 503, - "column": 57 - }, - "end": { - "line": 503, - "column": 58 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 17518, - "end": 17518, - "loc": { - "start": { - "line": 503, - "column": 72 - }, - "end": { - "line": 503, - "column": 72 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, - "loc": { - "start": { - "line": 500, - "column": 4 - }, - "end": { - "line": 502, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, - "loc": { - "start": { - "line": 505, - "column": 4 - }, - "end": { - "line": 507, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17581, - "end": 19698, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 575, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 17581, - "end": 19697, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 575, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17581, - "end": 17620, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 17581, - "end": 17612, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 17581, - "end": 17587, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 10 - }, - "identifierName": "layout" - }, - "name": "layout", - "leadingComments": null - }, - "property": { - "type": "MemberExpression", - "start": 17588, - "end": 17611, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 17588, - "end": 17600, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 17588, - "end": 17592, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 17593, - "end": 17600, - "loc": { - "start": { - "line": 508, - "column": 16 - }, - "end": { - "line": 508, - "column": 23 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17601, - "end": 17611, - "loc": { - "start": { - "line": 508, - "column": 24 - }, - "end": { - "line": 508, - "column": 34 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - }, - "computed": true, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17613, - "end": 17620, - "loc": { - "start": { - "line": 508, - "column": 36 - }, - "end": { - "line": 508, - "column": 43 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 17621, - "end": 19696, - "loc": { - "start": { - "line": 508, - "column": 44 - }, - "end": { - "line": 575, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17622, - "end": 17625, - "loc": { - "start": { - "line": 508, - "column": 45 - }, - "end": { - "line": 508, - "column": 48 - }, - "identifierName": "row" - }, - "name": "row" - }, - { - "type": "Identifier", - "start": 17627, - "end": 17633, - "loc": { - "start": { - "line": 508, - "column": 50 - }, - "end": { - "line": 508, - "column": 56 - }, - "identifierName": "rIndex" - }, - "name": "rIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 17638, - "end": 19696, - "loc": { - "start": { - "line": 508, - "column": 61 - }, - "end": { - "line": 575, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17647, - "end": 17677, - "loc": { - "start": { - "line": 509, - "column": 6 - }, - "end": { - "line": 509, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17651, - "end": 17676, - "loc": { - "start": { - "line": 509, - "column": 10 - }, - "end": { - "line": 509, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 17651, - "end": 17659, - "loc": { - "start": { - "line": 509, - "column": 10 - }, - "end": { - "line": 509, - "column": 18 - }, - "identifierName": "rowArray" - }, - "name": "rowArray" - }, - "init": { - "type": "CallExpression", - "start": 17662, - "end": 17676, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17662, - "end": 17671, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 17662, - "end": 17665, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 24 - }, - "identifierName": "row" - }, - "name": "row" - }, - "property": { - "type": "Identifier", - "start": 17666, - "end": 17671, - "loc": { - "start": { - "line": 509, - "column": 25 - }, - "end": { - "line": 509, - "column": 30 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 17672, - "end": 17675, - "loc": { - "start": { - "line": 509, - "column": 31 - }, - "end": { - "line": 509, - "column": 34 - } - }, - "extra": { - "rawValue": " ", - "raw": "' '" - }, - "value": " " - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, - "loc": { - "start": { - "line": 511, - "column": 6 - }, - "end": { - "line": 513, - "column": 9 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 17738, - "end": 17781, - "loc": { - "start": { - "line": 514, - "column": 6 - }, - "end": { - "line": 514, - "column": 49 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17742, - "end": 17780, - "loc": { - "start": { - "line": 514, - "column": 10 - }, - "end": { - "line": 514, - "column": 48 - } - }, - "id": { - "type": "Identifier", - "start": 17742, - "end": 17748, - "loc": { - "start": { - "line": 514, - "column": 10 - }, - "end": { - "line": 514, - "column": 16 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 17751, - "end": 17780, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 48 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17751, - "end": 17773, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 17751, - "end": 17759, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 27 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 17760, - "end": 17773, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 41 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 17774, - "end": 17779, - "loc": { - "start": { - "line": 514, - "column": 42 - }, - "end": { - "line": 514, - "column": 47 - } - }, - "extra": { - "rawValue": "div", - "raw": "'div'" - }, - "value": "div" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, - "loc": { - "start": { - "line": 511, - "column": 6 - }, - "end": { - "line": 513, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17789, - "end": 17818, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17789, - "end": 17817, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 34 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 17789, - "end": 17805, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17789, - "end": 17795, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 12 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM" - }, - "property": { - "type": "Identifier", - "start": 17796, - "end": 17805, - "loc": { - "start": { - "line": 515, - "column": 13 - }, - "end": { - "line": 515, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 17809, - "end": 17817, - "loc": { - "start": { - "line": 515, - "column": 26 - }, - "end": { - "line": 515, - "column": 34 - } - }, - "extra": { - "rawValue": "hg-row", - "raw": "\"hg-row\"" - }, - "value": "hg-row" - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, - "loc": { - "start": { - "line": 517, - "column": 6 - }, - "end": { - "line": 519, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17897, - "end": 19584, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 569, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 17897, - "end": 19583, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 569, - "column": 8 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17897, - "end": 17913, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 520, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17897, - "end": 17905, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 520, - "column": 14 - }, - "identifierName": "rowArray" - }, - "name": "rowArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17906, - "end": 17913, - "loc": { - "start": { - "line": 520, - "column": 15 - }, - "end": { - "line": 520, - "column": 22 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 17914, - "end": 19582, - "loc": { - "start": { - "line": 520, - "column": 23 - }, - "end": { - "line": 569, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17915, - "end": 17921, - "loc": { - "start": { - "line": 520, - "column": 24 - }, - "end": { - "line": 520, - "column": 30 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "Identifier", - "start": 17923, - "end": 17929, - "loc": { - "start": { - "line": 520, - "column": 32 - }, - "end": { - "line": 520, - "column": 38 - }, - "identifierName": "bIndex" - }, - "name": "bIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 17934, - "end": 19582, - "loc": { - "start": { - "line": 520, - "column": 43 - }, - "end": { - "line": 569, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17945, - "end": 18001, - "loc": { - "start": { - "line": 521, - "column": 8 - }, - "end": { - "line": 521, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17949, - "end": 18000, - "loc": { - "start": { - "line": 521, - "column": 12 - }, - "end": { - "line": 521, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 17949, - "end": 17960, - "loc": { - "start": { - "line": 521, - "column": 12 - }, - "end": { - "line": 521, - "column": 23 - }, - "identifierName": "fctBtnClass" - }, - "name": "fctBtnClass" - }, - "init": { - "type": "CallExpression", - "start": 17963, - "end": 18000, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17963, - "end": 17992, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 55 - } - }, - "object": { - "type": "MemberExpression", - "start": 17963, - "end": 17977, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 17963, - "end": 17967, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 30 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 17997, + "end": 18036, + "loc": { + "start": { + "line": 534, + "column": 14 + }, + "end": { + "line": 534, + "column": 53 + } + } + } + ] } - } - }, - "property": { - "type": "Identifier", - "start": 17968, - "end": 17977, - "loc": { - "start": { - "line": 521, - "column": 31 - }, - "end": { - "line": 521, - "column": 40 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17978, - "end": 17992, - "loc": { - "start": { - "line": 521, - "column": 41 - }, - "end": { - "line": 521, - "column": 55 - }, - "identifierName": "getButtonClass" - }, - "name": "getButtonClass" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 17993, - "end": 17999, - "loc": { - "start": { - "line": 521, - "column": 56 - }, - "end": { - "line": 521, - "column": 62 - }, - "identifierName": "button" - }, - "name": "button" + ], + "directives": [] + } } ] } } ], - "kind": "let" + "directives": [] }, - { - "type": "VariableDeclaration", - "start": 18011, - "end": 18061, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 18523, + "end": 18651, + "loc": { + "start": { + "line": 545, + "column": 15 + }, + "end": { + "line": 547, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18536, + "end": 18640, + "loc": { + "start": { + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 114 + } + }, + "expression": { + "type": "CallExpression", + "start": 18536, + "end": 18640, "loc": { "start": { - "line": 522, - "column": 8 + "line": 546, + "column": 10 }, "end": { - "line": 522, - "column": 58 + "line": 546, + "column": 114 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18015, - "end": 18060, + "callee": { + "type": "MemberExpression", + "start": 18536, + "end": 18548, + "loc": { + "start": { + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 18536, + "end": 18543, "loc": { "start": { - "line": 522, + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 17 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 18544, + "end": 18548, + "loc": { + "start": { + "line": 546, + "column": 18 + }, + "end": { + "line": 546, + "column": 22 + }, + "identifierName": "warn" + }, + "name": "warn" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 18549, + "end": 18639, + "loc": { + "start": { + "line": 546, + "column": 23 + }, + "end": { + "line": 546, + "column": 113 + } + }, + "expressions": [], + "quasis": [ + { + "type": "TemplateElement", + "start": 18550, + "end": 18638, + "loc": { + "start": { + "line": 546, + "column": 24 + }, + "end": { + "line": 546, + "column": 112 + } + }, + "value": { + "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", + "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 18677, + "end": 18743, + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 553, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18749, + "end": 18819, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 74 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18749, + "end": 18818, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 73 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 18749, + "end": 18775, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 18749, + "end": 18765, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 18749, + "end": 18753, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18754, + "end": 18765, + "loc": { + "start": { + "line": 554, + "column": 9 + }, + "end": { + "line": 554, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18766, + "end": 18775, + "loc": { + "start": { + "line": 554, + "column": 21 + }, + "end": { + "line": 554, + "column": 30 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "TemplateLiteral", + "start": 18779, + "end": 18818, + "loc": { + "start": { + "line": 554, + "column": 34 + }, + "end": { + "line": 554, + "column": 73 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 18783, + "end": 18801, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 18783, + "end": 18795, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 50 + } + }, + "object": { + "type": "ThisExpression", + "start": 18783, + "end": 18787, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "start": 18788, + "end": 18795, + "loc": { + "start": { + "line": 554, + "column": 43 + }, + "end": { + "line": 554, + "column": 50 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18796, + "end": 18801, + "loc": { + "start": { + "line": 554, + "column": 51 + }, + "end": { + "line": 554, + "column": 56 + }, + "identifierName": "theme" + }, + "name": "theme" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 18805, + "end": 18816, + "loc": { + "start": { + "line": 554, + "column": 60 + }, + "end": { + "line": 554, + "column": 71 + }, + "identifierName": "layoutClass" + }, + "name": "layoutClass" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18780, + "end": 18781, + "loc": { + "start": { + "line": 554, + "column": 35 + }, + "end": { + "line": 554, + "column": 36 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18802, + "end": 18803, + "loc": { + "start": { + "line": 554, + "column": 57 + }, + "end": { + "line": 554, + "column": 58 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18817, + "end": 18817, + "loc": { + "start": { + "line": 554, + "column": 72 + }, + "end": { + "line": 554, + "column": 72 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 18677, + "end": 18743, + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 553, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 18827, + "end": 18874, + "loc": { + "start": { + "line": 556, + "column": 4 + }, + "end": { + "line": 558, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18880, + "end": 20997, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 626, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 18880, + "end": 20996, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 626, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18880, + "end": 18919, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 18880, + "end": 18911, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 18880, + "end": 18886, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 10 + }, + "identifierName": "layout" + }, + "name": "layout", + "leadingComments": null + }, + "property": { + "type": "MemberExpression", + "start": 18887, + "end": 18910, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18887, + "end": 18899, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 18887, + "end": 18891, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 18892, + "end": 18899, + "loc": { + "start": { + "line": 559, + "column": 16 + }, + "end": { + "line": 559, + "column": 23 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18900, + "end": 18910, + "loc": { + "start": { + "line": 559, + "column": 24 + }, + "end": { + "line": 559, + "column": 34 + }, + "identifierName": "layoutName" + }, + "name": "layoutName" + }, + "computed": false + }, + "computed": true, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18912, + "end": 18919, + "loc": { + "start": { + "line": 559, + "column": 36 + }, + "end": { + "line": 559, + "column": 43 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 18920, + "end": 20995, + "loc": { + "start": { + "line": 559, + "column": 44 + }, + "end": { + "line": 626, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18921, + "end": 18924, + "loc": { + "start": { + "line": 559, + "column": 45 + }, + "end": { + "line": 559, + "column": 48 + }, + "identifierName": "row" + }, + "name": "row" + }, + { + "type": "Identifier", + "start": 18926, + "end": 18932, + "loc": { + "start": { + "line": 559, + "column": 50 + }, + "end": { + "line": 559, + "column": 56 + }, + "identifierName": "rIndex" + }, + "name": "rIndex" + } + ], + "body": { + "type": "BlockStatement", + "start": 18937, + "end": 20995, + "loc": { + "start": { + "line": 559, + "column": 61 + }, + "end": { + "line": 626, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18946, + "end": 18976, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18950, + "end": 18975, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 18950, + "end": 18958, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 18 + }, + "identifierName": "rowArray" + }, + "name": "rowArray" + }, + "init": { + "type": "CallExpression", + "start": 18961, + "end": 18975, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18961, + "end": 18970, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 18961, + "end": 18964, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 24 + }, + "identifierName": "row" + }, + "name": "row" + }, + "property": { + "type": "Identifier", + "start": 18965, + "end": 18970, + "loc": { + "start": { + "line": 560, + "column": 25 + }, + "end": { + "line": 560, + "column": 30 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18971, + "end": 18974, + "loc": { + "start": { + "line": 560, + "column": 31 + }, + "end": { + "line": 560, + "column": 34 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 18986, + "end": 19029, + "loc": { + "start": { + "line": 562, + "column": 6 + }, + "end": { + "line": 564, + "column": 9 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 19037, + "end": 19080, + "loc": { + "start": { + "line": 565, + "column": 6 + }, + "end": { + "line": 565, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19041, + "end": 19079, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 19041, + "end": 19047, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 16 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 19050, + "end": 19079, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19050, + "end": 19072, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 19050, + "end": 19058, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 27 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 19059, + "end": 19072, + "loc": { + "start": { + "line": 565, + "column": 28 + }, + "end": { + "line": 565, + "column": 41 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19073, + "end": 19078, + "loc": { + "start": { + "line": 565, + "column": 42 + }, + "end": { + "line": 565, + "column": 47 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 18986, + "end": 19029, + "loc": { + "start": { + "line": 562, + "column": 6 + }, + "end": { + "line": 564, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19088, + "end": 19117, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19088, + "end": 19116, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 34 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 19088, + "end": 19104, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 19088, + "end": 19094, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 12 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM" + }, + "property": { + "type": "Identifier", + "start": 19095, + "end": 19104, + "loc": { + "start": { + "line": 566, + "column": 13 + }, + "end": { + "line": 566, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 19108, + "end": 19116, + "loc": { + "start": { + "line": 566, + "column": 26 + }, + "end": { + "line": 566, + "column": 34 + } + }, + "extra": { + "rawValue": "hg-row", + "raw": "\"hg-row\"" + }, + "value": "hg-row" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 19127, + "end": 19188, + "loc": { + "start": { + "line": 568, + "column": 6 + }, + "end": { + "line": 570, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19196, + "end": 20883, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 620, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 19196, + "end": 20882, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 620, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19196, + "end": 19212, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 19196, + "end": 19204, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 14 + }, + "identifierName": "rowArray" + }, + "name": "rowArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19205, + "end": 19212, + "loc": { + "start": { + "line": 571, + "column": 15 + }, + "end": { + "line": 571, + "column": 22 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 19213, + "end": 20881, + "loc": { + "start": { + "line": 571, + "column": 23 + }, + "end": { + "line": 620, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19214, + "end": 19220, + "loc": { + "start": { + "line": 571, + "column": 24 + }, + "end": { + "line": 571, + "column": 30 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 19222, + "end": 19228, + "loc": { + "start": { + "line": 571, + "column": 32 + }, + "end": { + "line": 571, + "column": 38 + }, + "identifierName": "bIndex" + }, + "name": "bIndex" + } + ], + "body": { + "type": "BlockStatement", + "start": 19233, + "end": 20881, + "loc": { + "start": { + "line": 571, + "column": 43 + }, + "end": { + "line": 620, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 19244, + "end": 19300, + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 64 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19248, + "end": 19299, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 63 + } + }, + "id": { + "type": "Identifier", + "start": 19248, + "end": 19259, + "loc": { + "start": { + "line": 572, "column": 12 }, "end": { - "line": 522, - "column": 57 + "line": 572, + "column": 23 + }, + "identifierName": "fctBtnClass" + }, + "name": "fctBtnClass" + }, + "init": { + "type": "CallExpression", + "start": 19262, + "end": 19299, + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 63 } }, - "id": { - "type": "Identifier", - "start": 18015, - "end": 18031, - "loc": { - "start": { - "line": 522, - "column": 12 - }, - "end": { - "line": 522, - "column": 28 - }, - "identifierName": "buttonThemeClass" - }, - "name": "buttonThemeClass" - }, - "init": { + "callee": { "type": "MemberExpression", - "start": 18034, - "end": 18060, + "start": 19262, + "end": 19291, "loc": { "start": { - "line": 522, - "column": 31 + "line": 572, + "column": 26 }, "end": { - "line": 522, - "column": 57 + "line": 572, + "column": 55 } }, "object": { - "type": "Identifier", - "start": 18034, - "end": 18052, + "type": "MemberExpression", + "start": 19262, + "end": 19276, "loc": { "start": { - "line": 522, - "column": 31 + "line": 572, + "column": 26 }, "end": { - "line": 522, - "column": 49 - }, - "identifierName": "buttonThemesParsed" + "line": 572, + "column": 40 + } }, - "name": "buttonThemesParsed" + "object": { + "type": "ThisExpression", + "start": 19262, + "end": 19266, + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 19267, + "end": 19276, + "loc": { + "start": { + "line": 572, + "column": 31 + }, + "end": { + "line": 572, + "column": 40 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 18053, - "end": 18059, + "start": 19277, + "end": 19291, "loc": { "start": { - "line": 522, - "column": 50 + "line": 572, + "column": 41 }, "end": { - "line": 522, + "line": 572, + "column": 55 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19292, + "end": 19298, + "loc": { + "start": { + "line": 572, "column": 56 }, + "end": { + "line": 572, + "column": 62 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 19310, + "end": 19360, + "loc": { + "start": { + "line": 573, + "column": 8 + }, + "end": { + "line": 573, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19314, + "end": 19359, + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 573, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 19314, + "end": 19330, + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 573, + "column": 28 + }, + "identifierName": "buttonThemeClass" + }, + "name": "buttonThemeClass" + }, + "init": { + "type": "MemberExpression", + "start": 19333, + "end": 19359, + "loc": { + "start": { + "line": 573, + "column": 31 + }, + "end": { + "line": 573, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 19333, + "end": 19351, + "loc": { + "start": { + "line": 573, + "column": 31 + }, + "end": { + "line": 573, + "column": 49 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 19352, + "end": 19358, + "loc": { + "start": { + "line": 573, + "column": 50 + }, + "end": { + "line": 573, + "column": 56 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 19370, + "end": 19487, + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 574, + "column": 125 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19374, + "end": 19486, + "loc": { + "start": { + "line": 574, + "column": 12 + }, + "end": { + "line": 574, + "column": 124 + } + }, + "id": { + "type": "Identifier", + "start": 19374, + "end": 19391, + "loc": { + "start": { + "line": 574, + "column": 12 + }, + "end": { + "line": 574, + "column": 29 + }, + "identifierName": "buttonDisplayName" + }, + "name": "buttonDisplayName" + }, + "init": { + "type": "CallExpression", + "start": 19394, + "end": 19486, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 124 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19394, + "end": 19429, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 19394, + "end": 19408, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 19394, + "end": 19398, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 19399, + "end": 19408, + "loc": { + "start": { + "line": 574, + "column": 37 + }, + "end": { + "line": 574, + "column": 46 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19409, + "end": 19429, + "loc": { + "start": { + "line": 574, + "column": 47 + }, + "end": { + "line": 574, + "column": 67 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19430, + "end": 19436, + "loc": { + "start": { + "line": 574, + "column": 68 + }, + "end": { + "line": 574, + "column": 74 + }, "identifierName": "button" }, "name": "button" }, - "computed": true - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 18071, - "end": 18188, - "loc": { - "start": { - "line": 523, - "column": 8 - }, - "end": { - "line": 523, - "column": 125 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18075, - "end": 18187, - "loc": { - "start": { - "line": 523, - "column": 12 - }, - "end": { - "line": 523, - "column": 124 - } - }, - "id": { - "type": "Identifier", - "start": 18075, - "end": 18092, - "loc": { - "start": { - "line": 523, - "column": 12 - }, - "end": { - "line": 523, - "column": 29 - }, - "identifierName": "buttonDisplayName" - }, - "name": "buttonDisplayName" - }, - "init": { - "type": "CallExpression", - "start": 18095, - "end": 18187, - "loc": { - "start": { - "line": 523, - "column": 32 - }, - "end": { - "line": 523, - "column": 124 - } - }, - "callee": { + { "type": "MemberExpression", - "start": 18095, - "end": 18130, + "start": 19438, + "end": 19458, "loc": { "start": { - "line": 523, - "column": 32 + "line": 574, + "column": 76 }, "end": { - "line": 523, - "column": 67 + "line": 574, + "column": 96 } }, "object": { "type": "MemberExpression", - "start": 18095, - "end": 18109, + "start": 19438, + "end": 19450, "loc": { "start": { - "line": 523, - "column": 32 + "line": 574, + "column": 76 }, "end": { - "line": 523, - "column": 46 + "line": 574, + "column": 88 } }, "object": { "type": "ThisExpression", - "start": 18095, - "end": 18099, + "start": 19438, + "end": 19442, "loc": { "start": { - "line": 523, - "column": 32 - }, - "end": { - "line": 523, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "start": 18100, - "end": 18109, - "loc": { - "start": { - "line": 523, - "column": 37 - }, - "end": { - "line": 523, - "column": 46 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18110, - "end": 18130, - "loc": { - "start": { - "line": 523, - "column": 47 - }, - "end": { - "line": 523, - "column": 67 - }, - "identifierName": "getButtonDisplayName" - }, - "name": "getButtonDisplayName" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 18131, - "end": 18137, - "loc": { - "start": { - "line": 523, - "column": 68 - }, - "end": { - "line": 523, - "column": 74 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "MemberExpression", - "start": 18139, - "end": 18159, - "loc": { - "start": { - "line": 523, - "column": 76 - }, - "end": { - "line": 523, - "column": 96 - } - }, - "object": { - "type": "MemberExpression", - "start": 18139, - "end": 18151, - "loc": { - "start": { - "line": 523, + "line": 574, "column": 76 }, "end": { - "line": 523, - "column": 88 + "line": 574, + "column": 80 } - }, - "object": { - "type": "ThisExpression", - "start": 18139, - "end": 18143, - "loc": { - "start": { - "line": 523, - "column": 76 - }, - "end": { - "line": 523, - "column": 80 - } - } - }, - "property": { - "type": "Identifier", - "start": 18144, - "end": 18151, - "loc": { - "start": { - "line": 523, - "column": 81 - }, - "end": { - "line": 523, - "column": 88 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18152, - "end": 18159, - "loc": { - "start": { - "line": 523, - "column": 89 - }, - "end": { - "line": 523, - "column": 96 - }, - "identifierName": "display" - }, - "name": "display" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 18161, - "end": 18186, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 123 } }, - "object": { - "type": "MemberExpression", - "start": 18161, - "end": 18173, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 110 - } - }, - "object": { - "type": "ThisExpression", - "start": 18161, - "end": 18165, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 102 - } - } - }, - "property": { - "type": "Identifier", - "start": 18166, - "end": 18173, - "loc": { - "start": { - "line": 523, - "column": 103 - }, - "end": { - "line": 523, - "column": 110 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, "property": { "type": "Identifier", - "start": 18174, - "end": 18186, + "start": 19443, + "end": 19450, "loc": { "start": { - "line": 523, - "column": 111 + "line": 574, + "column": 81 }, "end": { - "line": 523, - "column": 123 + "line": 574, + "column": 88 }, - "identifierName": "mergeDisplay" + "identifierName": "options" }, - "name": "mergeDisplay" + "name": "options" }, "computed": false - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, - "loc": { - "start": { - "line": 525, - "column": 8 - }, - "end": { - "line": 527, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 18254, - "end": 18300, - "loc": { - "start": { - "line": 528, - "column": 8 - }, - "end": { - "line": 528, - "column": 54 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18258, - "end": 18299, - "loc": { - "start": { - "line": 528, - "column": 12 - }, - "end": { - "line": 528, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 18258, - "end": 18267, - "loc": { - "start": { - "line": 528, - "column": 12 - }, - "end": { - "line": 528, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 18270, - "end": 18299, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18270, - "end": 18292, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 18270, - "end": 18278, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 32 - }, - "identifierName": "document" - }, - "name": "document" }, "property": { "type": "Identifier", - "start": 18279, - "end": 18292, + "start": 19451, + "end": 19458, "loc": { "start": { - "line": 528, - "column": 33 + "line": 574, + "column": 89 }, "end": { - "line": 528, - "column": 46 + "line": 574, + "column": 96 }, - "identifierName": "createElement" + "identifierName": "display" }, - "name": "createElement" + "name": "display" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18293, - "end": 18298, + { + "type": "MemberExpression", + "start": 19460, + "end": 19485, + "loc": { + "start": { + "line": 574, + "column": 98 + }, + "end": { + "line": 574, + "column": 123 + } + }, + "object": { + "type": "MemberExpression", + "start": 19460, + "end": 19472, "loc": { "start": { - "line": 528, - "column": 47 + "line": 574, + "column": 98 }, "end": { - "line": 528, - "column": 52 + "line": 574, + "column": 110 } }, - "extra": { - "rawValue": "div", - "raw": "'div'" + "object": { + "type": "ThisExpression", + "start": 19460, + "end": 19464, + "loc": { + "start": { + "line": 574, + "column": 98 + }, + "end": { + "line": 574, + "column": 102 + } + } }, - "value": "div" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, - "loc": { - "start": { - "line": 525, - "column": 8 - }, - "end": { - "line": 527, - "column": 11 + "property": { + "type": "Identifier", + "start": 19465, + "end": 19472, + "loc": { + "start": { + "line": 574, + "column": 103 + }, + "end": { + "line": 574, + "column": 110 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19473, + "end": 19485, + "loc": { + "start": { + "line": 574, + "column": 111 + }, + "end": { + "line": 574, + "column": 123 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + }, + "computed": false } - } + ] } - ] - }, - { - "type": "ExpressionStatement", - "start": 18310, - "end": 18407, - "loc": { - "start": { - "line": 529, - "column": 8 - }, - "end": { - "line": 529, - "column": 105 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18310, - "end": 18406, + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating button\r\n ", + "start": 19499, + "end": 19543, "loc": { "start": { - "line": 529, + "line": 576, "column": 8 }, "end": { - "line": 529, - "column": 104 + "line": 578, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 19553, + "end": 19599, + "loc": { + "start": { + "line": 579, + "column": 8 + }, + "end": { + "line": 579, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19557, + "end": 19598, + "loc": { + "start": { + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 53 } }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 18310, - "end": 18329, + "id": { + "type": "Identifier", + "start": 19557, + "end": 19566, "loc": { "start": { - "line": 529, + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 19569, + "end": 19598, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19569, + "end": 19591, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 19569, + "end": 19577, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 32 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 19578, + "end": 19591, + "loc": { + "start": { + "line": 579, + "column": 33 + }, + "end": { + "line": 579, + "column": 46 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19592, + "end": 19597, + "loc": { + "start": { + "line": 579, + "column": 47 + }, + "end": { + "line": 579, + "column": 52 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating button\r\n ", + "start": 19499, + "end": 19543, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 578, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19609, + "end": 19706, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 105 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19609, + "end": 19705, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 104 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 19609, + "end": 19628, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 19609, + "end": 19618, + "loc": { + "start": { + "line": 580, "column": 8 }, "end": { - "line": 529, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 18310, - "end": 18319, - "loc": { - "start": { - "line": 529, - "column": 8 - }, - "end": { - "line": 529, - "column": 17 - }, - "identifierName": "buttonDOM" + "line": 580, + "column": 17 }, - "name": "buttonDOM" + "identifierName": "buttonDOM" }, - "property": { - "type": "Identifier", - "start": 18320, - "end": 18329, - "loc": { - "start": { - "line": 529, - "column": 18 - }, - "end": { - "line": 529, - "column": 27 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false + "name": "buttonDOM" }, - "right": { - "type": "TemplateLiteral", - "start": 18333, - "end": 18406, + "property": { + "type": "Identifier", + "start": 19619, + "end": 19628, "loc": { "start": { - "line": 529, - "column": 31 + "line": 580, + "column": 18 }, "end": { - "line": 529, - "column": 104 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 18346, - "end": 18357, - "loc": { - "start": { - "line": 529, - "column": 44 - }, - "end": { - "line": 529, - "column": 55 - }, - "identifierName": "fctBtnClass" - }, - "name": "fctBtnClass" + "line": 580, + "column": 27 }, - { - "type": "ConditionalExpression", - "start": 18360, - "end": 18404, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "TemplateLiteral", + "start": 19632, + "end": 19705, + "loc": { + "start": { + "line": 580, + "column": 31 + }, + "end": { + "line": 580, + "column": 104 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 19645, + "end": 19656, + "loc": { + "start": { + "line": 580, + "column": 44 + }, + "end": { + "line": 580, + "column": 55 + }, + "identifierName": "fctBtnClass" + }, + "name": "fctBtnClass" + }, + { + "type": "ConditionalExpression", + "start": 19659, + "end": 19703, + "loc": { + "start": { + "line": 580, + "column": 58 + }, + "end": { + "line": 580, + "column": 102 + } + }, + "test": { + "type": "Identifier", + "start": 19659, + "end": 19675, "loc": { "start": { - "line": 529, + "line": 580, "column": 58 }, "end": { - "line": 529, - "column": 102 + "line": 580, + "column": 74 + }, + "identifierName": "buttonThemeClass" + }, + "name": "buttonThemeClass" + }, + "consequent": { + "type": "BinaryExpression", + "start": 19678, + "end": 19698, + "loc": { + "start": { + "line": 580, + "column": 77 + }, + "end": { + "line": 580, + "column": 97 } }, - "test": { - "type": "Identifier", - "start": 18360, - "end": 18376, + "left": { + "type": "StringLiteral", + "start": 19678, + "end": 19681, "loc": { "start": { - "line": 529, - "column": 58 + "line": 580, + "column": 77 }, "end": { - "line": 529, - "column": 74 + "line": 580, + "column": 80 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 19682, + "end": 19698, + "loc": { + "start": { + "line": 580, + "column": 81 + }, + "end": { + "line": 580, + "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" - }, - "consequent": { - "type": "BinaryExpression", - "start": 18379, - "end": 18399, - "loc": { - "start": { - "line": 529, - "column": 77 - }, - "end": { - "line": 529, - "column": 97 - } + } + }, + "alternate": { + "type": "StringLiteral", + "start": 19701, + "end": 19703, + "loc": { + "start": { + "line": 580, + "column": 100 }, - "left": { - "type": "StringLiteral", - "start": 18379, - "end": 18382, - "loc": { - "start": { - "line": 529, - "column": 77 - }, - "end": { - "line": 529, - "column": 80 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 18383, - "end": 18399, - "loc": { - "start": { - "line": 529, - "column": 81 - }, - "end": { - "line": 529, - "column": 97 - }, - "identifierName": "buttonThemeClass" - }, - "name": "buttonThemeClass" + "end": { + "line": 580, + "column": 102 } }, - "alternate": { - "type": "StringLiteral", - "start": 18402, - "end": 18404, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 19633, + "end": 19643, + "loc": { + "start": { + "line": 580, + "column": 32 + }, + "end": { + "line": 580, + "column": 42 + } + }, + "value": { + "raw": "hg-button ", + "cooked": "hg-button " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 19657, + "end": 19657, + "loc": { + "start": { + "line": 580, + "column": 56 + }, + "end": { + "line": 580, + "column": 56 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 19704, + "end": 19704, + "loc": { + "start": { + "line": 580, + "column": 103 + }, + "end": { + "line": 580, + "column": 103 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 19716, + "end": 19775, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 67 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19716, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19716, + "end": 19733, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 19716, + "end": 19725, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 19726, + "end": 19733, + "loc": { + "start": { + "line": 581, + "column": 18 + }, + "end": { + "line": 581, + "column": 25 + }, + "identifierName": "onclick" + }, + "name": "onclick" + }, + "computed": false + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 19736, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 28 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 19742, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19742, + "end": 19766, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 19742, + "end": 19746, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 19747, + "end": 19766, + "loc": { + "start": { + "line": 581, + "column": 39 + }, + "end": { + "line": 581, + "column": 58 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19767, + "end": 19773, + "loc": { + "start": { + "line": 581, + "column": 59 + }, + "end": { + "line": 581, + "column": 65 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 19787, + "end": 19833, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 585, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19843, + "end": 19888, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 53 + } + }, + "expression": { + "type": "CallExpression", + "start": 19843, + "end": 19887, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19843, + "end": 19865, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 19843, + "end": 19852, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19853, + "end": 19865, + "loc": { + "start": { + "line": 586, + "column": 18 + }, + "end": { + "line": 586, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19866, + "end": 19878, + "loc": { + "start": { + "line": 586, + "column": 31 + }, + "end": { + "line": 586, + "column": 43 + } + }, + "extra": { + "rawValue": "data-skBtn", + "raw": "\"data-skBtn\"" + }, + "value": "data-skBtn" + }, + { + "type": "Identifier", + "start": 19880, + "end": 19886, + "loc": { + "start": { + "line": 586, + "column": 45 + }, + "end": { + "line": 586, + "column": 51 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 19787, + "end": 19833, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 585, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 19900, + "end": 20055, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 591, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 20065, + "end": 20131, + "loc": { + "start": { + "line": 592, + "column": 8 + }, + "end": { + "line": 592, + "column": 74 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20069, + "end": 20130, + "loc": { + "start": { + "line": 592, + "column": 12 + }, + "end": { + "line": 592, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 20069, + "end": 20078, + "loc": { + "start": { + "line": 592, + "column": 12 + }, + "end": { + "line": 592, + "column": 21 + }, + "identifierName": "buttonUID" + }, + "name": "buttonUID", + "leadingComments": null + }, + "init": { + "type": "TemplateLiteral", + "start": 20081, + "end": 20130, + "loc": { + "start": { + "line": 592, + "column": 24 + }, + "end": { + "line": 592, + "column": 73 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 20084, + "end": 20107, + "loc": { + "start": { + "line": 592, + "column": 27 + }, + "end": { + "line": 592, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 20084, + "end": 20096, "loc": { "start": { - "line": 529, - "column": 100 + "line": 592, + "column": 27 }, "end": { - "line": 529, - "column": 102 + "line": 592, + "column": 39 } }, - "extra": { - "rawValue": "", - "raw": "\"\"" + "object": { + "type": "ThisExpression", + "start": 20084, + "end": 20088, + "loc": { + "start": { + "line": 592, + "column": 27 + }, + "end": { + "line": 592, + "column": 31 + } + } }, - "value": "" - } + "property": { + "type": "Identifier", + "start": 20089, + "end": 20096, + "loc": { + "start": { + "line": 592, + "column": 32 + }, + "end": { + "line": 592, + "column": 39 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20097, + "end": 20107, + "loc": { + "start": { + "line": 592, + "column": 40 + }, + "end": { + "line": 592, + "column": 50 + }, + "identifierName": "layoutName" + }, + "name": "layoutName" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 20112, + "end": 20118, + "loc": { + "start": { + "line": 592, + "column": 55 + }, + "end": { + "line": 592, + "column": 61 + }, + "identifierName": "rIndex" + }, + "name": "rIndex" + }, + { + "type": "Identifier", + "start": 20122, + "end": 20128, + "loc": { + "start": { + "line": 592, + "column": 65 + }, + "end": { + "line": 592, + "column": 71 + }, + "identifierName": "bIndex" + }, + "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", - "start": 18334, - "end": 18344, + "start": 20082, + "end": 20082, "loc": { "start": { - "line": 529, - "column": 32 + "line": 592, + "column": 25 }, "end": { - "line": 529, - "column": 42 - } - }, - "value": { - "raw": "hg-button ", - "cooked": "hg-button " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18358, - "end": 18358, - "loc": { - "start": { - "line": 529, - "column": 56 - }, - "end": { - "line": 529, - "column": 56 + "line": 592, + "column": 25 } }, "value": { @@ -26196,16 +30853,56 @@ }, { "type": "TemplateElement", - "start": 18405, - "end": 18405, + "start": 20108, + "end": 20110, "loc": { "start": { - "line": 529, - "column": 103 + "line": 592, + "column": 51 }, "end": { - "line": 529, - "column": 103 + "line": 592, + "column": 53 + } + }, + "value": { + "raw": "-r", + "cooked": "-r" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 20119, + "end": 20120, + "loc": { + "start": { + "line": 592, + "column": 62 + }, + "end": { + "line": 592, + "column": 63 + } + }, + "value": { + "raw": "b", + "cooked": "b" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 20129, + "end": 20129, + "loc": { + "start": { + "line": 592, + "column": 72 + }, + "end": { + "line": 592, + "column": 72 } }, "value": { @@ -26215,2580 +30912,1957 @@ "tail": true } ] + }, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 19900, + "end": 20055, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 591, + "column": 11 + } } } + ] + }, + { + "type": "ExpressionStatement", + "start": 20141, + "end": 20192, + "loc": { + "start": { + "line": 593, + "column": 8 + }, + "end": { + "line": 593, + "column": 59 + } }, - { - "type": "ExpressionStatement", - "start": 18417, - "end": 18476, + "expression": { + "type": "CallExpression", + "start": 20141, + "end": 20191, "loc": { "start": { - "line": 530, + "line": 593, "column": 8 }, "end": { - "line": 530, - "column": 67 + "line": 593, + "column": 58 } }, - "expression": { - "type": "AssignmentExpression", - "start": 18417, - "end": 18475, + "callee": { + "type": "MemberExpression", + "start": 20141, + "end": 20163, "loc": { "start": { - "line": 530, + "line": 593, "column": 8 }, "end": { - "line": 530, - "column": 66 + "line": 593, + "column": 30 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18417, - "end": 18434, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 18417, - "end": 18426, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 18427, - "end": 18434, - "loc": { - "start": { - "line": 530, - "column": 18 - }, - "end": { - "line": 530, - "column": 25 - }, - "identifierName": "onclick" - }, - "name": "onclick" - }, - "computed": false - }, - "right": { - "type": "ArrowFunctionExpression", - "start": 18437, - "end": 18475, - "loc": { - "start": { - "line": 530, - "column": 28 - }, - "end": { - "line": 530, - "column": 66 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 18443, - "end": 18475, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18443, - "end": 18467, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 18443, - "end": 18447, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 18448, - "end": 18467, - "loc": { - "start": { - "line": 530, - "column": 39 - }, - "end": { - "line": 530, - "column": 58 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 18468, - "end": 18474, - "loc": { - "start": { - "line": 530, - "column": 59 - }, - "end": { - "line": 530, - "column": 65 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 534, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18544, - "end": 18589, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 18544, - "end": 18588, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18544, - "end": 18566, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18544, - "end": 18553, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18554, - "end": 18566, - "loc": { - "start": { - "line": 535, - "column": 18 - }, - "end": { - "line": 535, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18567, - "end": 18579, - "loc": { - "start": { - "line": 535, - "column": 31 - }, - "end": { - "line": 535, - "column": 43 - } - }, - "extra": { - "rawValue": "data-skBtn", - "raw": "\"data-skBtn\"" - }, - "value": "data-skBtn" - }, - { - "type": "Identifier", - "start": 18581, - "end": 18587, - "loc": { - "start": { - "line": 535, - "column": 45 - }, - "end": { - "line": 535, - "column": 51 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 534, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 540, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 18766, - "end": 18832, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 74 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18770, - "end": 18831, - "loc": { - "start": { - "line": 541, - "column": 12 - }, - "end": { - "line": 541, - "column": 73 - } - }, - "id": { - "type": "Identifier", - "start": 18770, - "end": 18779, - "loc": { - "start": { - "line": 541, - "column": 12 - }, - "end": { - "line": 541, - "column": 21 - }, - "identifierName": "buttonUID" - }, - "name": "buttonUID", - "leadingComments": null - }, - "init": { - "type": "TemplateLiteral", - "start": 18782, - "end": 18831, - "loc": { - "start": { - "line": 541, - "column": 24 - }, - "end": { - "line": 541, - "column": 73 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 18785, - "end": 18808, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 18785, - "end": 18797, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 18785, - "end": 18789, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 18790, - "end": 18797, - "loc": { - "start": { - "line": 541, - "column": 32 - }, - "end": { - "line": 541, - "column": 39 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18798, - "end": 18808, - "loc": { - "start": { - "line": 541, - "column": 40 - }, - "end": { - "line": 541, - "column": 50 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 18813, - "end": 18819, - "loc": { - "start": { - "line": 541, - "column": 55 - }, - "end": { - "line": 541, - "column": 61 - }, - "identifierName": "rIndex" - }, - "name": "rIndex" - }, - { - "type": "Identifier", - "start": 18823, - "end": 18829, - "loc": { - "start": { - "line": 541, - "column": 65 - }, - "end": { - "line": 541, - "column": 71 - }, - "identifierName": "bIndex" - }, - "name": "bIndex" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 18783, - "end": 18783, - "loc": { - "start": { - "line": 541, - "column": 25 - }, - "end": { - "line": 541, - "column": 25 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18809, - "end": 18811, - "loc": { - "start": { - "line": 541, - "column": 51 - }, - "end": { - "line": 541, - "column": 53 - } - }, - "value": { - "raw": "-r", - "cooked": "-r" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18820, - "end": 18821, - "loc": { - "start": { - "line": 541, - "column": 62 - }, - "end": { - "line": 541, - "column": 63 - } - }, - "value": { - "raw": "b", - "cooked": "b" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18830, - "end": 18830, - "loc": { - "start": { - "line": 541, - "column": 72 - }, - "end": { - "line": 541, - "column": 72 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 540, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18842, - "end": 18893, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 59 - } - }, - "expression": { - "type": "CallExpression", - "start": 18842, - "end": 18892, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18842, - "end": 18864, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18842, - "end": 18851, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 18852, - "end": 18864, - "loc": { - "start": { - "line": 542, - "column": 18 - }, - "end": { - "line": 542, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18865, - "end": 18880, - "loc": { - "start": { - "line": 542, - "column": 31 - }, - "end": { - "line": 542, - "column": 46 - } - }, - "extra": { - "rawValue": "data-skBtnUID", - "raw": "\"data-skBtnUID\"" - }, - "value": "data-skBtnUID" - }, - { - "type": "Identifier", - "start": 18882, - "end": 18891, - "loc": { - "start": { - "line": 542, - "column": 48 - }, - "end": { - "line": 542, - "column": 57 - }, - "identifierName": "buttonUID" - }, - "name": "buttonUID" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 546, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18964, - "end": 19027, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 71 - } - }, - "expression": { - "type": "CallExpression", - "start": 18964, - "end": 19026, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18964, - "end": 18986, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18964, - "end": 18973, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18974, - "end": 18986, - "loc": { - "start": { - "line": 547, - "column": 18 - }, - "end": { - "line": 547, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18987, - "end": 19006, - "loc": { - "start": { - "line": 547, - "column": 31 - }, - "end": { - "line": 547, - "column": 50 - } - }, - "extra": { - "rawValue": "data-displayLabel", - "raw": "\"data-displayLabel\"" - }, - "value": "data-displayLabel" - }, - { - "type": "Identifier", - "start": 19008, - "end": 19025, - "loc": { - "start": { - "line": 547, - "column": 52 - }, - "end": { - "line": 547, - "column": 69 - }, - "identifierName": "buttonDisplayName" - }, - "name": "buttonDisplayName" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 546, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, - "loc": { - "start": { - "line": 549, - "column": 8 - }, - "end": { - "line": 551, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 19107, - "end": 19158, - "loc": { - "start": { - "line": 552, - "column": 8 - }, - "end": { - "line": 552, - "column": 59 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 19111, - "end": 19157, - "loc": { - "start": { - "line": 552, - "column": 12 - }, - "end": { - "line": 552, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 19111, - "end": 19124, - "loc": { - "start": { - "line": 552, - "column": 12 - }, - "end": { - "line": 552, - "column": 25 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 19127, - "end": 19157, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19127, - "end": 19149, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 19127, - "end": 19135, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 36 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 19136, - "end": 19149, - "loc": { - "start": { - "line": 552, - "column": 37 - }, - "end": { - "line": 552, - "column": 50 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 19150, - "end": 19156, - "loc": { - "start": { - "line": 552, - "column": 51 - }, - "end": { - "line": 552, - "column": 57 - } - }, - "extra": { - "rawValue": "span", - "raw": "'span'" - }, - "value": "span" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, - "loc": { - "start": { - "line": 549, - "column": 8 - }, - "end": { - "line": 551, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 19168, - "end": 19212, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 19168, - "end": 19211, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19168, - "end": 19191, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 19168, - "end": 19181, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 21 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM" - }, - "property": { - "type": "Identifier", - "start": 19182, - "end": 19191, - "loc": { - "start": { - "line": 553, - "column": 22 - }, - "end": { - "line": 553, - "column": 31 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { + "object": { "type": "Identifier", - "start": 19194, - "end": 19211, + "start": 20141, + "end": 20150, "loc": { "start": { - "line": 553, - "column": 34 + "line": 593, + "column": 8 }, "end": { - "line": 553, - "column": 51 + "line": 593, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 20151, + "end": 20163, + "loc": { + "start": { + "line": 593, + "column": 18 + }, + "end": { + "line": 593, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20164, + "end": 20179, + "loc": { + "start": { + "line": 593, + "column": 31 + }, + "end": { + "line": 593, + "column": 46 + } + }, + "extra": { + "rawValue": "data-skBtnUID", + "raw": "\"data-skBtnUID\"" + }, + "value": "data-skBtnUID" + }, + { + "type": "Identifier", + "start": 20181, + "end": 20190, + "loc": { + "start": { + "line": 593, + "column": 48 + }, + "end": { + "line": 593, + "column": 57 + }, + "identifierName": "buttonUID" + }, + "name": "buttonUID" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 20204, + "end": 20253, + "loc": { + "start": { + "line": 595, + "column": 8 + }, + "end": { + "line": 597, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20263, + "end": 20326, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 20263, + "end": 20325, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20263, + "end": 20285, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 20263, + "end": 20272, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20273, + "end": 20285, + "loc": { + "start": { + "line": 598, + "column": 18 + }, + "end": { + "line": 598, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20286, + "end": 20305, + "loc": { + "start": { + "line": 598, + "column": 31 + }, + "end": { + "line": 598, + "column": 50 + } + }, + "extra": { + "rawValue": "data-displayLabel", + "raw": "\"data-displayLabel\"" + }, + "value": "data-displayLabel" + }, + { + "type": "Identifier", + "start": 20307, + "end": 20324, + "loc": { + "start": { + "line": 598, + "column": 52 + }, + "end": { + "line": 598, + "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } - } + ], + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19222, - "end": 19259, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 19222, - "end": 19258, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 20204, + "end": 20253, "loc": { "start": { - "line": 554, + "line": 595, "column": 8 }, "end": { - "line": 554, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19222, - "end": 19243, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 19222, - "end": 19231, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 19232, - "end": 19243, - "loc": { - "start": { - "line": 554, - "column": 18 - }, - "end": { - "line": 554, - "column": 29 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 19244, - "end": 19257, - "loc": { - "start": { - "line": 554, - "column": 30 - }, - "end": { - "line": 554, - "column": 43 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, - "loc": { - "start": { - "line": 556, - "column": 8 - }, - "end": { - "line": 558, - "column": 11 - } + "line": 597, + "column": 11 } } - ] - }, - { - "type": "IfStatement", - "start": 19334, - "end": 19411, - "loc": { - "start": { - "line": 559, - "column": 8 - }, - "end": { - "line": 560, - "column": 43 - } - }, - "test": { - "type": "UnaryExpression", - "start": 19337, - "end": 19365, + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 20338, + "end": 20396, "loc": { "start": { - "line": 559, - "column": 11 + "line": 600, + "column": 8 }, "end": { - "line": 559, - "column": 39 + "line": 602, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 20406, + "end": 20457, + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 603, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20410, + "end": 20456, + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 58 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 19338, - "end": 19365, + "id": { + "type": "Identifier", + "start": 20410, + "end": 20423, "loc": { "start": { - "line": 559, + "line": 603, "column": 12 }, "end": { - "line": 559, - "column": 39 + "line": 603, + "column": 25 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 20426, + "end": 20456, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20426, + "end": 20448, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 20426, + "end": 20434, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 36 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 20435, + "end": 20448, + "loc": { + "start": { + "line": 603, + "column": 37 + }, + "end": { + "line": 603, + "column": 50 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20449, + "end": 20455, + "loc": { + "start": { + "line": 603, + "column": 51 + }, + "end": { + "line": 603, + "column": 57 + } + }, + "extra": { + "rawValue": "span", + "raw": "'span'" + }, + "value": "span" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 20338, + "end": 20396, + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 602, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20467, + "end": 20511, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20467, + "end": 20510, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20467, + "end": 20490, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 20467, + "end": 20480, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 21 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM" + }, + "property": { + "type": "Identifier", + "start": 20481, + "end": 20490, + "loc": { + "start": { + "line": 604, + "column": 22 + }, + "end": { + "line": 604, + "column": 31 + }, + "identifierName": "innerHTML" + }, + "name": "innerHTML" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 20493, + "end": 20510, + "loc": { + "start": { + "line": 604, + "column": 34 + }, + "end": { + "line": 604, + "column": 51 + }, + "identifierName": "buttonDisplayName" + }, + "name": "buttonDisplayName" + } + } + }, + { + "type": "ExpressionStatement", + "start": 20521, + "end": 20558, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 20521, + "end": 20557, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20521, + "end": 20542, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 20521, + "end": 20530, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 20531, + "end": 20542, + "loc": { + "start": { + "line": 605, + "column": 18 + }, + "end": { + "line": 605, + "column": 29 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20543, + "end": 20556, + "loc": { + "start": { + "line": 605, + "column": 30 + }, + "end": { + "line": 605, + "column": 43 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 20570, + "end": 20623, + "loc": { + "start": { + "line": 607, + "column": 8 + }, + "end": { + "line": 609, + "column": 11 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 20633, + "end": 20710, + "loc": { + "start": { + "line": 610, + "column": 8 + }, + "end": { + "line": 611, + "column": 43 + } + }, + "test": { + "type": "UnaryExpression", + "start": 20636, + "end": 20664, + "loc": { + "start": { + "line": 610, + "column": 11 + }, + "end": { + "line": 610, + "column": 39 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 20637, + "end": 20664, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 20637, + "end": 20656, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 20637, + "end": 20641, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20642, + "end": 20656, + "loc": { + "start": { + "line": 610, + "column": 17 + }, + "end": { + "line": 610, + "column": 31 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20657, + "end": 20663, + "loc": { + "start": { + "line": 610, + "column": 32 + }, + "end": { + "line": 610, + "column": 38 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 20677, + "end": 20710, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20677, + "end": 20709, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20677, + "end": 20704, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 37 } }, "object": { "type": "MemberExpression", - "start": 19338, - "end": 19357, + "start": 20677, + "end": 20696, "loc": { "start": { - "line": 559, - "column": 12 + "line": 611, + "column": 10 }, "end": { - "line": 559, - "column": 31 + "line": 611, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 19338, - "end": 19342, + "start": 20677, + "end": 20681, "loc": { "start": { - "line": 559, - "column": 12 + "line": 611, + "column": 10 }, "end": { - "line": 559, - "column": 16 + "line": 611, + "column": 14 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 19343, - "end": 19357, + "start": 20682, + "end": 20696, "loc": { "start": { - "line": 559, - "column": 17 + "line": 611, + "column": 15 }, "end": { - "line": 559, - "column": 31 + "line": 611, + "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { "type": "Identifier", - "start": 19358, - "end": 19364, + "start": 20697, + "end": 20703, "loc": { "start": { - "line": 559, - "column": 32 + "line": 611, + "column": 30 }, "end": { - "line": 559, - "column": 38 + "line": 611, + "column": 36 }, "identifierName": "button" }, "name": "button" }, - "computed": true, - "leadingComments": null + "computed": true }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 19378, - "end": 19411, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 19378, - "end": 19410, + "right": { + "type": "ArrayExpression", + "start": 20707, + "end": 20709, "loc": { "start": { - "line": 560, - "column": 10 + "line": 611, + "column": 40 }, "end": { - "line": 560, + "line": 611, "column": 42 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19378, - "end": 19405, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 19378, - "end": 19397, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 19378, - "end": 19382, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 19383, - "end": 19397, - "loc": { - "start": { - "line": 560, - "column": 15 - }, - "end": { - "line": 560, - "column": 29 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 19398, - "end": 19404, - "loc": { - "start": { - "line": 560, - "column": 30 - }, - "end": { - "line": 560, - "column": 36 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true - }, - "right": { - "type": "ArrayExpression", - "start": 19408, - "end": 19410, - "loc": { - "start": { - "line": 560, - "column": 40 - }, - "end": { - "line": 560, - "column": 42 - } - }, - "elements": [] - } + "elements": [] } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, - "loc": { - "start": { - "line": 556, - "column": 8 - }, - "end": { - "line": 558, - "column": 11 - } - } - } - ] + } }, - { - "type": "ExpressionStatement", - "start": 19423, - "end": 19467, - "loc": { - "start": { - "line": 562, - "column": 8 - }, - "end": { - "line": 562, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 19423, - "end": 19466, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 20570, + "end": 20623, "loc": { "start": { - "line": 562, + "line": 607, "column": 8 }, "end": { - "line": 562, - "column": 51 + "line": 609, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20722, + "end": 20766, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 20722, + "end": 20765, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20722, + "end": 20754, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 40 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 19423, - "end": 19455, + "start": 20722, + "end": 20749, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 40 + "line": 613, + "column": 35 } }, "object": { "type": "MemberExpression", - "start": 19423, - "end": 19450, + "start": 20722, + "end": 20741, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 35 + "line": 613, + "column": 27 } }, "object": { - "type": "MemberExpression", - "start": 19423, - "end": 19442, + "type": "ThisExpression", + "start": 20722, + "end": 20726, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 27 + "line": 613, + "column": 12 } - }, - "object": { - "type": "ThisExpression", - "start": 19423, - "end": 19427, - "loc": { - "start": { - "line": 562, - "column": 8 - }, - "end": { - "line": 562, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 19428, - "end": 19442, - "loc": { - "start": { - "line": 562, - "column": 13 - }, - "end": { - "line": 562, - "column": 27 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19449, + "start": 20727, + "end": 20741, "loc": { "start": { - "line": 562, - "column": 28 + "line": 613, + "column": 13 }, "end": { - "line": 562, - "column": 34 + "line": 613, + "column": 27 }, - "identifierName": "button" + "identifierName": "buttonElements" }, - "name": "button" + "name": "buttonElements" }, - "computed": true + "computed": false }, "property": { "type": "Identifier", - "start": 19451, - "end": 19455, + "start": 20742, + "end": 20748, "loc": { "start": { - "line": 562, - "column": 36 + "line": 613, + "column": 28 }, "end": { - "line": 562, - "column": 40 + "line": 613, + "column": 34 }, - "identifierName": "push" + "identifierName": "button" }, - "name": "push" + "name": "button" }, - "computed": false + "computed": true }, - "arguments": [ - { - "type": "Identifier", - "start": 19456, - "end": 19465, - "loc": { - "start": { - "line": 562, - "column": 41 - }, - "end": { - "line": 562, - "column": 50 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, + "property": { + "type": "Identifier", + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 564, - "column": 8 + "line": 613, + "column": 36 }, "end": { - "line": 566, - "column": 11 - } - } + "line": 613, + "column": 40 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20755, + "end": 20764, + "loc": { + "start": { + "line": 613, + "column": 41 + }, + "end": { + "line": 613, + "column": 50 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" } ] }, - { - "type": "ExpressionStatement", - "start": 19541, - "end": 19571, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 19541, - "end": 19570, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending button to row\r\n ", + "start": 20778, + "end": 20830, "loc": { "start": { - "line": 567, + "line": 615, "column": 8 }, "end": { - "line": 567, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19541, - "end": 19559, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 19541, - "end": 19547, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 14 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19548, - "end": 19559, - "loc": { - "start": { - "line": 567, - "column": 15 - }, - "end": { - "line": 567, - "column": 26 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 19560, - "end": 19569, - "loc": { - "start": { - "line": 567, - "column": 27 - }, - "end": { - "line": 567, - "column": 36 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, - "loc": { - "start": { - "line": 564, - "column": 8 - }, - "end": { - "line": 566, - "column": 11 - } + "line": 617, + "column": 11 } } - ] - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, - "loc": { - "start": { - "line": 517, - "column": 6 - }, - "end": { - "line": 519, - "column": 9 - } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20840, + "end": 20870, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 20840, + "end": 20869, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20840, + "end": 20858, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 20840, + "end": 20846, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 14 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20847, + "end": 20858, + "loc": { + "start": { + "line": 618, + "column": 15 + }, + "end": { + "line": 618, + "column": 26 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 20859, + "end": 20868, + "loc": { + "start": { + "line": 618, + "column": 27 + }, + "end": { + "line": 618, + "column": 36 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending button to row\r\n ", + "start": 20778, + "end": 20830, + "loc": { + "start": { + "line": 615, + "column": 8 + }, + "end": { + "line": 617, + "column": 11 + } + } + } + ] + } + ], + "directives": [] } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, - "loc": { - "start": { - "line": 571, - "column": 6 - }, - "end": { - "line": 573, - "column": 9 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19652, - "end": 19689, - "loc": { - "start": { - "line": 574, - "column": 6 - }, - "end": { - "line": 574, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 19652, - "end": 19688, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 19127, + "end": 19188, "loc": { "start": { - "line": 574, + "line": 568, "column": 6 }, "end": { - "line": 574, - "column": 42 + "line": 570, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending row to keyboard\r\n ", + "start": 20893, + "end": 20943, + "loc": { + "start": { + "line": 622, + "column": 6 + }, + "end": { + "line": 624, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20951, + "end": 20988, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 20951, + "end": 20987, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20951, + "end": 20979, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 34 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 19652, - "end": 19680, + "start": 20951, + "end": 20967, "loc": { "start": { - "line": 574, + "line": 625, "column": 6 }, "end": { - "line": 574, - "column": 34 + "line": 625, + "column": 22 } }, "object": { - "type": "MemberExpression", - "start": 19652, - "end": 19668, + "type": "ThisExpression", + "start": 20951, + "end": 20955, "loc": { "start": { - "line": 574, + "line": 625, "column": 6 }, "end": { - "line": 574, - "column": 22 + "line": 625, + "column": 10 } }, - "object": { - "type": "ThisExpression", - "start": 19652, - "end": 19656, - "loc": { - "start": { - "line": 574, - "column": 6 - }, - "end": { - "line": 574, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19657, - "end": 19668, - "loc": { - "start": { - "line": 574, - "column": 11 - }, - "end": { - "line": 574, - "column": 22 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19669, - "end": 19680, + "start": 20956, + "end": 20967, "loc": { "start": { - "line": 574, - "column": 23 + "line": 625, + "column": 11 }, "end": { - "line": 574, - "column": 34 + "line": 625, + "column": 22 }, - "identifierName": "appendChild" + "identifierName": "keyboardDOM" }, - "name": "appendChild" + "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "Identifier", - "start": 19681, - "end": 19687, - "loc": { - "start": { - "line": 574, - "column": 35 - }, - "end": { - "line": 574, - "column": 41 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, + "property": { + "type": "Identifier", + "start": 20968, + "end": 20979, "loc": { "start": { - "line": 571, - "column": 6 + "line": 625, + "column": 23 }, "end": { - "line": 573, - "column": 9 - } + "line": 625, + "column": 34 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 20980, + "end": 20986, + "loc": { + "start": { + "line": 625, + "column": 35 + }, + "end": { + "line": 625, + "column": 41 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending row to keyboard\r\n ", + "start": 20893, + "end": 20943, + "loc": { + "start": { + "line": 622, + "column": 6 + }, + "end": { + "line": 624, + "column": 9 } } - ] - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, - "loc": { - "start": { - "line": 505, - "column": 4 - }, - "end": { - "line": 507, - "column": 7 - } + } + ] + } + ], + "directives": [] } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, - "loc": { - "start": { - "line": 577, - "column": 4 - }, - "end": { - "line": 579, - "column": 7 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19749, - "end": 19765, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 19749, - "end": 19764, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 18827, + "end": 18874, "loc": { "start": { - "line": 580, + "line": 556, "column": 4 }, "end": { - "line": 580, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19749, - "end": 19762, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 19749, - "end": 19753, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19754, - "end": 19762, - "loc": { - "start": { - "line": 580, - "column": 9 - }, - "end": { - "line": 580, - "column": 17 - }, - "identifierName": "onRender" - }, - "name": "onRender" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, - "loc": { - "start": { - "line": 577, - "column": 4 - }, - "end": { - "line": 579, - "column": 7 - } + "line": 558, + "column": 7 } } - ] + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onRender\r\n ", + "start": 21005, + "end": 21042, + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 630, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 21048, + "end": 21064, + "loc": { + "start": { + "line": 631, + "column": 4 + }, + "end": { + "line": 631, + "column": 20 + } }, - { - "type": "IfStatement", - "start": 19773, - "end": 19995, + "expression": { + "type": "CallExpression", + "start": 21048, + "end": 21063, "loc": { "start": { - "line": 582, + "line": 631, "column": 4 }, "end": { - "line": 592, - "column": 5 + "line": 631, + "column": 19 } }, - "test": { - "type": "UnaryExpression", - "start": 19776, - "end": 19793, + "callee": { + "type": "MemberExpression", + "start": 21048, + "end": 21061, "loc": { "start": { - "line": 582, - "column": 7 + "line": 631, + "column": 4 }, "end": { - "line": 582, + "line": 631, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 21048, + "end": 21052, + "loc": { + "start": { + "line": 631, + "column": 4 + }, + "end": { + "line": 631, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21053, + "end": 21061, + "loc": { + "start": { + "line": 631, + "column": 9 + }, + "end": { + "line": 631, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onRender\r\n ", + "start": 21005, + "end": 21042, + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 630, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 21072, + "end": 21294, + "loc": { + "start": { + "line": 633, + "column": 4 + }, + "end": { + "line": 643, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 21075, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 7 + }, + "end": { + "line": 633, + "column": 24 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 21076, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 8 + }, + "end": { + "line": 633, "column": 24 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 19777, - "end": 19793, + "object": { + "type": "ThisExpression", + "start": 21076, + "end": 21080, "loc": { "start": { - "line": 582, + "line": 633, "column": 8 }, "end": { - "line": 582, - "column": 24 + "line": 633, + "column": 12 } - }, - "object": { - "type": "ThisExpression", - "start": 19777, - "end": 19781, - "loc": { - "start": { - "line": 582, - "column": 8 - }, - "end": { - "line": 582, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 19782, - "end": 19793, - "loc": { - "start": { - "line": 582, - "column": 13 - }, - "end": { - "line": 582, - "column": 24 - }, - "identifierName": "initialized" - }, - "name": "initialized" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 19794, - "end": 19995, - "loc": { - "start": { - "line": 582, - "column": 25 - }, - "end": { - "line": 592, - "column": 5 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19893, - "end": 19917, + "property": { + "type": "Identifier", + "start": 21081, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 13 + }, + "end": { + "line": 633, + "column": 24 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 21093, + "end": 21294, + "loc": { + "start": { + "line": 633, + "column": 25 + }, + "end": { + "line": 643, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21192, + "end": 21216, + "loc": { + "start": { + "line": 637, + "column": 6 + }, + "end": { + "line": 637, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21192, + "end": 21215, "loc": { "start": { - "line": 586, + "line": 637, "column": 6 }, "end": { - "line": 586, - "column": 30 + "line": 637, + "column": 29 } }, - "expression": { - "type": "AssignmentExpression", - "start": 19893, - "end": 19916, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21192, + "end": 21208, "loc": { "start": { - "line": 586, + "line": 637, "column": 6 }, "end": { - "line": 586, + "line": 637, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 21192, + "end": 21196, + "loc": { + "start": { + "line": 637, + "column": 6 + }, + "end": { + "line": 637, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21197, + "end": 21208, + "loc": { + "start": { + "line": 637, + "column": 11 + }, + "end": { + "line": 637, + "column": 22 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 21211, + "end": 21215, + "loc": { + "start": { + "line": 637, + "column": 25 + }, + "end": { + "line": 637, "column": 29 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19893, - "end": 19909, - "loc": { - "start": { - "line": 586, - "column": 6 - }, - "end": { - "line": 586, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 19893, - "end": 19897, - "loc": { - "start": { - "line": 586, - "column": 6 - }, - "end": { - "line": 586, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19898, - "end": 19909, - "loc": { - "start": { - "line": 586, - "column": 11 - }, - "end": { - "line": 586, - "column": 22 - }, - "identifierName": "initialized" - }, - "name": "initialized" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BooleanLiteral", - "start": 19912, - "end": 19916, - "loc": { - "start": { - "line": 586, - "column": 25 - }, - "end": { - "line": 586, - "column": 29 - } - }, - "value": true - }, - "leadingComments": null + "value": true }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 19803, - "end": 19885, - "loc": { - "start": { - "line": 583, - "column": 6 - }, - "end": { - "line": 585, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, - "loc": { - "start": { - "line": 588, - "column": 6 - }, - "end": { - "line": 590, - "column": 9 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19974, - "end": 19988, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 19974, - "end": 19987, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", + "start": 21102, + "end": 21184, "loc": { "start": { - "line": 591, + "line": 634, "column": 6 }, "end": { - "line": 591, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19974, - "end": 19985, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 19974, - "end": 19978, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19979, - "end": 19985, - "loc": { - "start": { - "line": 591, - "column": 11 - }, - "end": { - "line": 591, - "column": 17 - }, - "identifierName": "onInit" - }, - "name": "onInit" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, - "loc": { - "start": { - "line": 588, - "column": 6 - }, - "end": { - "line": 590, - "column": 9 - } + "line": 636, + "column": 9 } } - ] - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onInit\r\n ", + "start": 21226, + "end": 21265, + "loc": { + "start": { + "line": 639, + "column": 6 + }, + "end": { + "line": 641, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 21273, + "end": 21287, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 21273, + "end": 21286, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21273, + "end": 21284, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 21273, + "end": 21277, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21278, + "end": 21284, + "loc": { + "start": { + "line": 642, + "column": 11 + }, + "end": { + "line": 642, + "column": 17 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onInit\r\n ", + "start": 21226, + "end": 21265, + "loc": { + "start": { + "line": 639, + "column": 6 + }, + "end": { + "line": 641, + "column": 9 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "start": 17117, + "end": 17173, "loc": { "start": { - "line": 454, + "line": 505, "column": 2 }, "end": { - "line": 456, + "line": 507, "column": 5 } } @@ -28803,29 +32877,29 @@ }, { "type": "Identifier", - "start": 20007, - "end": 20037, + "start": 21306, + "end": 21336, "loc": { "start": { - "line": 596, + "line": 647, "column": 0 }, "end": { - "line": 596, + "line": 647, "column": 30 } }, "declaration": { "type": "Identifier", - "start": 20022, - "end": 20036, + "start": 21321, + "end": 21335, "loc": { "start": { - "line": 596, + "line": 647, "column": 15 }, "end": { - "line": 596, + "line": 647, "column": 29 }, "identifierName": "SimpleKeyboard" @@ -28838,29 +32912,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 20007, - "end": 20037, + "start": 21306, + "end": 21336, "loc": { "start": { - "line": 596, + "line": 647, "column": 0 }, "end": { - "line": 596, + "line": 647, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, - "end": 20003, + "end": 21302, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 594, + "line": 645, "column": 1 } }, @@ -28886,14 +32960,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 20003, + "end": 21302, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 594, + "line": 645, "column": 1 } }, @@ -28901,14 +32975,14 @@ { "type": "ClassMethod", "start": 679, - "end": 5952, + "end": 6920, "loc": { "start": { "line": 20, "column": 2 }, "end": { - "line": 116, + "line": 141, "column": 3 } }, @@ -28974,14 +33048,14 @@ "body": { "type": "BlockStatement", "start": 701, - "end": 5952, + "end": 6920, "loc": { "start": { "line": 20, "column": 24 }, "end": { - "line": 116, + "line": 141, "column": 3 } }, @@ -30824,16 +34898,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "value": "*\r\n * Module namespace\r\n ", "start": 4184, - "end": 4843, + "end": 4221, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 79, + "line": 68, "column": 7 } } @@ -30842,8 +34916,1315 @@ }, { "type": "ExpressionStatement", - "start": 4849, - "end": 4865, + "start": 4227, + "end": 4245, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4227, + "end": 4244, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4227, + "end": 4239, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 4227, + "end": 4231, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4232, + "end": 4239, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 4242, + "end": 4244, + "loc": { + "start": { + "line": 69, + "column": 19 + }, + "end": { + "line": 69, + "column": 21 + } + }, + "properties": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Module namespace\r\n ", + "start": 4184, + "end": 4221, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 68, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4288, + "end": 4351, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 67 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4288, + "end": 4350, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 66 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4288, + "end": 4312, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 4288, + "end": 4292, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4293, + "end": 4312, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 28 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 4315, + "end": 4350, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4315, + "end": 4344, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 60 + } + }, + "object": { + "type": "MemberExpression", + "start": 4315, + "end": 4339, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 55 + } + }, + "object": { + "type": "ThisExpression", + "start": 4315, + "end": 4319, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 4320, + "end": 4339, + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 55 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4340, + "end": 4344, + "loc": { + "start": { + "line": 74, + "column": 56 + }, + "end": { + "line": 74, + "column": 60 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4345, + "end": 4349, + "loc": { + "start": { + "line": 74, + "column": 61 + }, + "end": { + "line": 74, + "column": 65 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4357, + "end": 4418, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4357, + "end": 4417, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4357, + "end": 4380, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 4357, + "end": 4361, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4362, + "end": 4380, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 27 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4383, + "end": 4417, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4383, + "end": 4411, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 4383, + "end": 4406, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 4383, + "end": 4387, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 4388, + "end": 4406, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 53 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4407, + "end": 4411, + "loc": { + "start": { + "line": 75, + "column": 54 + }, + "end": { + "line": 75, + "column": 58 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4412, + "end": 4416, + "loc": { + "start": { + "line": 75, + "column": 59 + }, + "end": { + "line": 75, + "column": 63 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4424, + "end": 4469, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4424, + "end": 4468, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4424, + "end": 4439, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 4424, + "end": 4428, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4429, + "end": 4439, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 19 + }, + "identifierName": "clearInput" + }, + "name": "clearInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4442, + "end": 4468, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4442, + "end": 4462, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 4442, + "end": 4457, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 4442, + "end": 4446, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 4447, + "end": 4457, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 37 + }, + "identifierName": "clearInput" + }, + "name": "clearInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4458, + "end": 4462, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 42 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4463, + "end": 4467, + "loc": { + "start": { + "line": 76, + "column": 43 + }, + "end": { + "line": 76, + "column": 47 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4475, + "end": 4516, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4475, + "end": 4515, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4475, + "end": 4488, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4475, + "end": 4479, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4480, + "end": 4488, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 17 + }, + "identifierName": "getInput" + }, + "name": "getInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4491, + "end": 4515, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4491, + "end": 4509, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4491, + "end": 4504, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4491, + "end": 4495, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4496, + "end": 4504, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 33 + }, + "identifierName": "getInput" + }, + "name": "getInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4510, + "end": 4514, + "loc": { + "start": { + "line": 77, + "column": 39 + }, + "end": { + "line": 77, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4522, + "end": 4563, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4522, + "end": 4562, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4522, + "end": 4535, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4522, + "end": 4526, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4527, + "end": 4535, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 17 + }, + "identifierName": "setInput" + }, + "name": "setInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4538, + "end": 4562, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4538, + "end": 4556, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4538, + "end": 4551, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4538, + "end": 4542, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4543, + "end": 4551, + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 33 + }, + "identifierName": "setInput" + }, + "name": "setInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4552, + "end": 4556, + "loc": { + "start": { + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4557, + "end": 4561, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4569, + "end": 4618, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4569, + "end": 4617, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 52 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4569, + "end": 4586, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 4569, + "end": 4573, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4574, + "end": 4586, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 21 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4589, + "end": 4617, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4589, + "end": 4611, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 4589, + "end": 4606, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 4589, + "end": 4593, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 4594, + "end": 4606, + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 41 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4607, + "end": 4611, + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 46 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4612, + "end": 4616, + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 51 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4624, + "end": 4659, "loc": { "start": { "line": 80, @@ -30851,13 +36232,13 @@ }, "end": { "line": 80, - "column": 20 + "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 4849, - "end": 4864, + "start": 4624, + "end": 4658, "loc": { "start": { "line": 80, @@ -30865,14 +36246,14 @@ }, "end": { "line": 80, - "column": 19 + "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4849, - "end": 4859, + "start": 4624, + "end": 4634, "loc": { "start": { "line": 80, @@ -30885,8 +36266,8 @@ }, "object": { "type": "ThisExpression", - "start": 4849, - "end": 4853, + "start": 4624, + "end": 4628, "loc": { "start": { "line": 80, @@ -30896,13 +36277,12 @@ "line": 80, "column": 8 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 4854, - "end": 4859, + "start": 4629, + "end": 4634, "loc": { "start": { "line": 80, @@ -30912,6 +36292,1945 @@ "line": 80, "column": 14 }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4637, + "end": 4658, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4637, + "end": 4652, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 4637, + "end": 4647, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 4637, + "end": 4641, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 4642, + "end": 4647, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 27 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4648, + "end": 4652, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 32 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4653, + "end": 4657, + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 80, + "column": 37 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4665, + "end": 4706, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4665, + "end": 4705, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4665, + "end": 4678, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4665, + "end": 4669, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4670, + "end": 4678, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 17 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4681, + "end": 4705, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4681, + "end": 4699, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4681, + "end": 4694, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4681, + "end": 4685, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 4686, + "end": 4694, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 33 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4695, + "end": 4699, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4700, + "end": 4704, + "loc": { + "start": { + "line": 81, + "column": 39 + }, + "end": { + "line": 81, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4712, + "end": 4765, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4712, + "end": 4764, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4712, + "end": 4731, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 4712, + "end": 4716, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4717, + "end": 4731, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 23 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4734, + "end": 4764, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4734, + "end": 4758, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 4734, + "end": 4753, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 4734, + "end": 4738, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 4739, + "end": 4753, + "loc": { + "start": { + "line": 82, + "column": 31 + }, + "end": { + "line": 82, + "column": 45 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4754, + "end": 4758, + "loc": { + "start": { + "line": 82, + "column": 46 + }, + "end": { + "line": 82, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4759, + "end": 4763, + "loc": { + "start": { + "line": 82, + "column": 51 + }, + "end": { + "line": 82, + "column": 55 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4771, + "end": 4830, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4771, + "end": 4829, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4771, + "end": 4793, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4771, + "end": 4775, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4776, + "end": 4793, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 26 + }, + "identifierName": "removeButtonTheme" + }, + "name": "removeButtonTheme" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4796, + "end": 4829, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4796, + "end": 4823, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4796, + "end": 4818, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4796, + "end": 4800, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4801, + "end": 4818, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 51 + }, + "identifierName": "removeButtonTheme" + }, + "name": "removeButtonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 83, + "column": 52 + }, + "end": { + "line": 83, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4824, + "end": 4828, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4836, + "end": 4893, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4836, + "end": 4892, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4836, + "end": 4857, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 4836, + "end": 4840, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4841, + "end": 4857, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 25 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4860, + "end": 4892, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4860, + "end": 4886, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 4860, + "end": 4881, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 4860, + "end": 4864, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 4865, + "end": 4881, + "loc": { + "start": { + "line": 84, + "column": 33 + }, + "end": { + "line": 84, + "column": 49 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4882, + "end": 4886, + "loc": { + "start": { + "line": 84, + "column": 50 + }, + "end": { + "line": 84, + "column": 54 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4887, + "end": 4891, + "loc": { + "start": { + "line": 84, + "column": 55 + }, + "end": { + "line": 84, + "column": 59 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4899, + "end": 4946, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4899, + "end": 4945, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4899, + "end": 4915, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 4899, + "end": 4903, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4904, + "end": 4915, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4918, + "end": 4945, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4918, + "end": 4939, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4918, + "end": 4934, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 4918, + "end": 4922, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 4923, + "end": 4934, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 39 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4935, + "end": 4939, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4940, + "end": 4944, + "loc": { + "start": { + "line": 85, + "column": 45 + }, + "end": { + "line": 85, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4952, + "end": 5011, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4952, + "end": 5010, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4952, + "end": 4974, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4952, + "end": 4956, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4957, + "end": 4974, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 26 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4977, + "end": 5010, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4977, + "end": 5004, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4977, + "end": 4999, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4977, + "end": 4981, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4982, + "end": 4999, + "loc": { + "start": { + "line": 86, + "column": 34 + }, + "end": { + "line": 86, + "column": 51 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5000, + "end": 5004, + "loc": { + "start": { + "line": 86, + "column": 52 + }, + "end": { + "line": 86, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5005, + "end": 5009, + "loc": { + "start": { + "line": 86, + "column": 57 + }, + "end": { + "line": 86, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5017, + "end": 5054, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5017, + "end": 5053, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5017, + "end": 5028, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 5017, + "end": 5021, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5022, + "end": 5028, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 15 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5031, + "end": 5053, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5031, + "end": 5047, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 5031, + "end": 5042, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 5031, + "end": 5035, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 5036, + "end": 5042, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 29 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5043, + "end": 5047, + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5048, + "end": 5052, + "loc": { + "start": { + "line": 87, + "column": 35 + }, + "end": { + "line": 87, + "column": 39 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5060, + "end": 5101, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5060, + "end": 5100, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5060, + "end": 5073, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 5060, + "end": 5064, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5065, + "end": 5073, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5076, + "end": 5100, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5076, + "end": 5094, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 5076, + "end": 5089, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5076, + "end": 5080, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 5081, + "end": 5089, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 33 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5090, + "end": 5094, + "loc": { + "start": { + "line": 88, + "column": 34 + }, + "end": { + "line": 88, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5095, + "end": 5099, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5107, + "end": 5144, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5107, + "end": 5143, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5107, + "end": 5118, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 5107, + "end": 5111, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5112, + "end": 5118, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 15 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5121, + "end": 5143, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5121, + "end": 5137, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 5121, + "end": 5132, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 5121, + "end": 5125, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 5126, + "end": 5132, + "loc": { + "start": { + "line": 89, + "column": 23 + }, + "end": { + "line": 89, + "column": 29 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5133, + "end": 5137, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5138, + "end": 5142, + "loc": { + "start": { + "line": 89, + "column": 35 + }, + "end": { + "line": 89, + "column": 39 + } + } + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "start": 5152, + "end": 5811, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 5817, + "end": 5833, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5817, + "end": 5832, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5817, + "end": 5827, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5817, + "end": 5821, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5822, + "end": 5827, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 14 + }, "identifierName": "input" }, "name": "input" @@ -30921,15 +38240,15 @@ }, "right": { "type": "ObjectExpression", - "start": 4862, - "end": 4864, + "start": 5830, + "end": 5832, "loc": { "start": { - "line": 80, + "line": 105, "column": 17 }, "end": { - "line": 80, + "line": 105, "column": 19 } }, @@ -30941,15 +38260,15 @@ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", - "start": 4184, - "end": 4843, + "start": 5152, + "end": 5811, "loc": { "start": { - "line": 66, + "line": 91, "column": 4 }, "end": { - "line": 79, + "line": 104, "column": 7 } } @@ -30958,87 +38277,87 @@ }, { "type": "ExpressionStatement", - "start": 4871, - "end": 4911, + "start": 5839, + "end": 5879, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 4871, - "end": 4910, + "start": 5839, + "end": 5878, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4871, - "end": 4905, + "start": 5839, + "end": 5873, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4871, - "end": 4881, + "start": 5839, + "end": 5849, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4871, - "end": 4875, + "start": 5839, + "end": 5843, "loc": { "start": { - "line": 81, + "line": 106, "column": 4 }, "end": { - "line": 81, + "line": 106, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4876, - "end": 4881, + "start": 5844, + "end": 5849, "loc": { "start": { - "line": 81, + "line": 106, "column": 9 }, "end": { - "line": 81, + "line": 106, "column": 14 }, "identifierName": "input" @@ -31049,58 +38368,58 @@ }, "property": { "type": "MemberExpression", - "start": 4882, - "end": 4904, + "start": 5850, + "end": 5872, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 4882, - "end": 4894, + "start": 5850, + "end": 5862, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4882, - "end": 4886, + "start": 5850, + "end": 5854, "loc": { "start": { - "line": 81, + "line": 106, "column": 15 }, "end": { - "line": 81, + "line": 106, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4887, - "end": 4894, + "start": 5855, + "end": 5862, "loc": { "start": { - "line": 81, + "line": 106, "column": 20 }, "end": { - "line": 81, + "line": 106, "column": 27 }, "identifierName": "options" @@ -31111,15 +38430,15 @@ }, "property": { "type": "Identifier", - "start": 4895, - "end": 4904, + "start": 5863, + "end": 5872, "loc": { "start": { - "line": 81, + "line": 106, "column": 28 }, "end": { - "line": 81, + "line": 106, "column": 37 }, "identifierName": "inputName" @@ -31132,15 +38451,15 @@ }, "right": { "type": "StringLiteral", - "start": 4908, - "end": 4910, + "start": 5876, + "end": 5878, "loc": { "start": { - "line": 81, + "line": 106, "column": 41 }, "end": { - "line": 81, + "line": 106, "column": 43 } }, @@ -31155,15 +38474,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, + "start": 5887, + "end": 5996, "loc": { "start": { - "line": 83, + "line": 108, "column": 4 }, "end": { - "line": 85, + "line": 110, "column": 7 } } @@ -31172,58 +38491,58 @@ }, { "type": "ExpressionStatement", - "start": 5034, - "end": 5095, + "start": 6002, + "end": 6063, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5034, - "end": 5094, + "start": 6002, + "end": 6062, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5034, - "end": 5055, + "start": 6002, + "end": 6023, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5034, - "end": 5038, + "start": 6002, + "end": 6006, "loc": { "start": { - "line": 86, + "line": 111, "column": 4 }, "end": { - "line": 86, + "line": 111, "column": 8 } }, @@ -31231,15 +38550,15 @@ }, "property": { "type": "Identifier", - "start": 5039, - "end": 5055, + "start": 6007, + "end": 6023, "loc": { "start": { - "line": 86, + "line": 111, "column": 9 }, "end": { - "line": 86, + "line": 111, "column": 25 }, "identifierName": "keyboardDOMClass" @@ -31251,71 +38570,71 @@ }, "right": { "type": "CallExpression", - "start": 5058, - "end": 5094, + "start": 6026, + "end": 6062, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5058, - "end": 5090, + "start": 6026, + "end": 6058, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 60 } }, "object": { "type": "CallExpression", - "start": 5058, - "end": 5085, + "start": 6026, + "end": 6053, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 5058, - "end": 5080, + "start": 6026, + "end": 6048, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 50 } }, "object": { "type": "Identifier", - "start": 5058, - "end": 5074, + "start": 6026, + "end": 6042, "loc": { "start": { - "line": 86, + "line": 111, "column": 28 }, "end": { - "line": 86, + "line": 111, "column": 44 }, "identifierName": "keyboardDOMQuery" @@ -31324,15 +38643,15 @@ }, "property": { "type": "Identifier", - "start": 5075, - "end": 5080, + "start": 6043, + "end": 6048, "loc": { "start": { - "line": 86, + "line": 111, "column": 45 }, "end": { - "line": 86, + "line": 111, "column": 50 }, "identifierName": "split" @@ -31344,15 +38663,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5081, - "end": 5084, + "start": 6049, + "end": 6052, "loc": { "start": { - "line": 86, + "line": 111, "column": 51 }, "end": { - "line": 86, + "line": 111, "column": 54 } }, @@ -31366,15 +38685,15 @@ }, "property": { "type": "Identifier", - "start": 5086, - "end": 5090, + "start": 6054, + "end": 6058, "loc": { "start": { - "line": 86, + "line": 111, "column": 56 }, "end": { - "line": 86, + "line": 111, "column": 60 }, "identifierName": "join" @@ -31386,15 +38705,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5091, - "end": 5093, + "start": 6059, + "end": 6061, "loc": { "start": { - "line": 86, + "line": 111, "column": 61 }, "end": { - "line": 86, + "line": 111, "column": 63 } }, @@ -31412,15 +38731,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, + "start": 5887, + "end": 5996, "loc": { "start": { - "line": 83, + "line": 108, "column": 4 }, "end": { - "line": 85, + "line": 110, "column": 7 } } @@ -31430,15 +38749,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, + "start": 6071, + "end": 6216, "loc": { "start": { - "line": 88, + "line": 113, "column": 4 }, "end": { - "line": 90, + "line": 115, "column": 7 } } @@ -31447,58 +38766,58 @@ }, { "type": "ExpressionStatement", - "start": 5254, - "end": 5279, + "start": 6222, + "end": 6247, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 5254, - "end": 5278, + "start": 6222, + "end": 6246, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5254, - "end": 5273, + "start": 6222, + "end": 6241, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5254, - "end": 5258, + "start": 6222, + "end": 6226, "loc": { "start": { - "line": 91, + "line": 116, "column": 4 }, "end": { - "line": 91, + "line": 116, "column": 8 } }, @@ -31506,15 +38825,15 @@ }, "property": { "type": "Identifier", - "start": 5259, - "end": 5273, + "start": 6227, + "end": 6241, "loc": { "start": { - "line": 91, + "line": 116, "column": 9 }, "end": { - "line": 91, + "line": 116, "column": 23 }, "identifierName": "buttonElements" @@ -31526,15 +38845,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5276, - "end": 5278, + "start": 6244, + "end": 6246, "loc": { "start": { - "line": 91, + "line": 116, "column": 26 }, "end": { - "line": 91, + "line": 116, "column": 28 } }, @@ -31546,15 +38865,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, + "start": 6071, + "end": 6216, "loc": { "start": { - "line": 88, + "line": 113, "column": 4 }, "end": { - "line": 90, + "line": 115, "column": 7 } } @@ -31564,15 +38883,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -31581,43 +38900,43 @@ }, { "type": "IfStatement", - "start": 5332, - "end": 5511, + "start": 6300, + "end": 6479, "loc": { "start": { - "line": 96, + "line": 121, "column": 4 }, "end": { - "line": 101, + "line": 126, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 5335, - "end": 5351, + "start": 6303, + "end": 6319, "loc": { "start": { - "line": 96, + "line": 121, "column": 7 }, "end": { - "line": 96, + "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5335, - "end": 5339, + "start": 6303, + "end": 6307, "loc": { "start": { - "line": 96, + "line": 121, "column": 7 }, "end": { - "line": 96, + "line": 121, "column": 11 } }, @@ -31625,15 +38944,15 @@ }, "property": { "type": "Identifier", - "start": 5340, - "end": 5351, + "start": 6308, + "end": 6319, "loc": { "start": { - "line": 96, + "line": 121, "column": 12 }, "end": { - "line": 96, + "line": 121, "column": 23 }, "identifierName": "keyboardDOM" @@ -31645,72 +38964,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5360, - "end": 5374, + "start": 6328, + "end": 6342, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 5360, - "end": 5373, + "start": 6328, + "end": 6341, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 5360, - "end": 5371, + "start": 6328, + "end": 6339, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5360, - "end": 5364, + "start": 6328, + "end": 6332, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5365, - "end": 5371, + "start": 6333, + "end": 6339, "loc": { "start": { - "line": 97, + "line": 122, "column": 11 }, "end": { - "line": 97, + "line": 122, "column": 17 }, "identifierName": "render" @@ -31724,72 +39043,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 5385, - "end": 5511, + "start": 6353, + "end": 6479, "loc": { "start": { - "line": 98, + "line": 123, "column": 9 }, "end": { - "line": 101, + "line": 126, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5394, - "end": 5458, + "start": 6362, + "end": 6426, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 5394, - "end": 5457, + "start": 6362, + "end": 6425, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 5394, - "end": 5406, + "start": 6362, + "end": 6374, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 18 } }, "object": { "type": "Identifier", - "start": 5394, - "end": 5401, + "start": 6362, + "end": 6369, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 13 }, "identifierName": "console" @@ -31798,15 +39117,15 @@ }, "property": { "type": "Identifier", - "start": 5402, - "end": 5406, + "start": 6370, + "end": 6374, "loc": { "start": { - "line": 99, + "line": 124, "column": 14 }, "end": { - "line": 99, + "line": 124, "column": 18 }, "identifierName": "warn" @@ -31818,30 +39137,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 5407, - "end": 5456, + "start": 6375, + "end": 6424, "loc": { "start": { - "line": 99, + "line": 124, "column": 19 }, "end": { - "line": 99, + "line": 124, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 5411, - "end": 5427, + "start": 6379, + "end": 6395, "loc": { "start": { - "line": 99, + "line": 124, "column": 23 }, "end": { - "line": 99, + "line": 124, "column": 39 }, "identifierName": "keyboardDOMQuery" @@ -31852,15 +39171,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 5408, - "end": 5409, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 99, + "line": 124, "column": 20 }, "end": { - "line": 99, + "line": 124, "column": 21 } }, @@ -31872,15 +39191,15 @@ }, { "type": "TemplateElement", - "start": 5428, - "end": 5455, + "start": 6396, + "end": 6423, "loc": { "start": { - "line": 99, + "line": 124, "column": 40 }, "end": { - "line": 99, + "line": 124, "column": 67 } }, @@ -31897,43 +39216,43 @@ }, { "type": "ThrowStatement", - "start": 5466, - "end": 5504, + "start": 6434, + "end": 6472, "loc": { "start": { - "line": 100, + "line": 125, "column": 6 }, "end": { - "line": 100, + "line": 125, "column": 44 } }, "argument": { "type": "NewExpression", - "start": 5472, - "end": 5503, + "start": 6440, + "end": 6471, "loc": { "start": { - "line": 100, + "line": 125, "column": 12 }, "end": { - "line": 100, + "line": 125, "column": 43 } }, "callee": { "type": "Identifier", - "start": 5476, - "end": 5481, + "start": 6444, + "end": 6449, "loc": { "start": { - "line": 100, + "line": 125, "column": 16 }, "end": { - "line": 100, + "line": 125, "column": 21 }, "identifierName": "Error" @@ -31943,15 +39262,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5482, - "end": 5502, + "start": 6450, + "end": 6470, "loc": { "start": { - "line": 100, + "line": 125, "column": 22 }, "end": { - "line": 100, + "line": 125, "column": 42 } }, @@ -31972,15 +39291,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -31990,15 +39309,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -32007,29 +39326,29 @@ }, { "type": "IfStatement", - "start": 5638, - "end": 5723, + "start": 6606, + "end": 6691, "loc": { "start": { - "line": 107, + "line": 132, "column": 4 }, "end": { - "line": 108, + "line": 133, "column": 45 } }, "test": { "type": "UnaryExpression", - "start": 5641, - "end": 5675, + "start": 6609, + "end": 6643, "loc": { "start": { - "line": 107, + "line": 132, "column": 7 }, "end": { - "line": 107, + "line": 132, "column": 41 } }, @@ -32037,29 +39356,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5642, - "end": 5675, + "start": 6610, + "end": 6643, "loc": { "start": { - "line": 107, + "line": 132, "column": 8 }, "end": { - "line": 107, + "line": 132, "column": 41 } }, "object": { "type": "Identifier", - "start": 5642, - "end": 5648, + "start": 6610, + "end": 6616, "loc": { "start": { - "line": 107, + "line": 132, "column": 8 }, "end": { - "line": 107, + "line": 132, "column": 14 }, "identifierName": "window" @@ -32069,15 +39388,15 @@ }, "property": { "type": "StringLiteral", - "start": 5649, - "end": 5674, + "start": 6617, + "end": 6642, "loc": { "start": { - "line": 107, + "line": 132, "column": 15 }, "end": { - "line": 107, + "line": 132, "column": 40 } }, @@ -32097,58 +39416,58 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5684, - "end": 5723, + "start": 6652, + "end": 6691, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 5684, - "end": 5722, + "start": 6652, + "end": 6690, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5684, - "end": 5717, + "start": 6652, + "end": 6685, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 39 } }, "object": { "type": "Identifier", - "start": 5684, - "end": 5690, + "start": 6652, + "end": 6658, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 12 }, "identifierName": "window" @@ -32157,15 +39476,15 @@ }, "property": { "type": "StringLiteral", - "start": 5691, - "end": 5716, + "start": 6659, + "end": 6684, "loc": { "start": { - "line": 108, + "line": 133, "column": 13 }, "end": { - "line": 108, + "line": 133, "column": 38 } }, @@ -32179,15 +39498,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5720, - "end": 5722, + "start": 6688, + "end": 6690, "loc": { "start": { - "line": 108, + "line": 133, "column": 42 }, "end": { - "line": 108, + "line": 133, "column": 44 } }, @@ -32200,15 +39519,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -32217,72 +39536,72 @@ }, { "type": "ExpressionStatement", - "start": 5737, - "end": 5827, + "start": 6705, + "end": 6795, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 94 } }, "expression": { "type": "AssignmentExpression", - "start": 5737, - "end": 5826, + "start": 6705, + "end": 6794, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5737, - "end": 5819, + "start": 6705, + "end": 6787, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 86 } }, "object": { "type": "MemberExpression", - "start": 5737, - "end": 5770, + "start": 6705, + "end": 6738, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 37 } }, "object": { "type": "Identifier", - "start": 5737, - "end": 5743, + "start": 6705, + "end": 6711, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 10 }, "identifierName": "window" @@ -32291,15 +39610,15 @@ }, "property": { "type": "StringLiteral", - "start": 5744, - "end": 5769, + "start": 6712, + "end": 6737, "loc": { "start": { - "line": 110, + "line": 135, "column": 11 }, "end": { - "line": 110, + "line": 135, "column": 36 } }, @@ -32313,72 +39632,72 @@ }, "property": { "type": "CallExpression", - "start": 5771, - "end": 5818, + "start": 6739, + "end": 6786, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 5771, - "end": 5795, + "start": 6739, + "end": 6763, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 5771, - "end": 5785, + "start": 6739, + "end": 6753, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 5771, - "end": 5775, + "start": 6739, + "end": 6743, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 42 } } }, "property": { "type": "Identifier", - "start": 5776, - "end": 5785, + "start": 6744, + "end": 6753, "loc": { "start": { - "line": 110, + "line": 135, "column": 43 }, "end": { - "line": 110, + "line": 135, "column": 52 }, "identifierName": "utilities" @@ -32389,15 +39708,15 @@ }, "property": { "type": "Identifier", - "start": 5786, - "end": 5795, + "start": 6754, + "end": 6763, "loc": { "start": { - "line": 110, + "line": 135, "column": 53 }, "end": { - "line": 110, + "line": 135, "column": 62 }, "identifierName": "camelCase" @@ -32409,44 +39728,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 5796, - "end": 5817, + "start": 6764, + "end": 6785, "loc": { "start": { - "line": 110, + "line": 135, "column": 63 }, "end": { - "line": 110, + "line": 135, "column": 84 } }, "object": { "type": "ThisExpression", - "start": 5796, - "end": 5800, + "start": 6764, + "end": 6768, "loc": { "start": { - "line": 110, + "line": 135, "column": 63 }, "end": { - "line": 110, + "line": 135, "column": 67 } } }, "property": { "type": "Identifier", - "start": 5801, - "end": 5817, + "start": 6769, + "end": 6785, "loc": { "start": { - "line": 110, + "line": 135, "column": 68 }, "end": { - "line": 110, + "line": 135, "column": 84 }, "identifierName": "keyboardDOMClass" @@ -32461,15 +39780,15 @@ }, "right": { "type": "ThisExpression", - "start": 5822, - "end": 5826, + "start": 6790, + "end": 6794, "loc": { "start": { - "line": 110, + "line": 135, "column": 89 }, "end": { - "line": 110, + "line": 135, "column": 93 } } @@ -32479,15 +39798,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -32496,58 +39815,58 @@ }, { "type": "ExpressionStatement", - "start": 5887, - "end": 5947, + "start": 6855, + "end": 6915, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 5887, - "end": 5946, + "start": 6855, + "end": 6914, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5887, - "end": 5917, + "start": 6855, + "end": 6885, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 5887, - "end": 5891, + "start": 6855, + "end": 6859, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 8 } }, @@ -32555,15 +39874,15 @@ }, "property": { "type": "Identifier", - "start": 5892, - "end": 5917, + "start": 6860, + "end": 6885, "loc": { "start": { - "line": 115, + "line": 140, "column": 9 }, "end": { - "line": 115, + "line": 140, "column": 34 }, "identifierName": "physicalKeyboardInterface" @@ -32575,29 +39894,29 @@ }, "right": { "type": "NewExpression", - "start": 5920, - "end": 5946, + "start": 6888, + "end": 6914, "loc": { "start": { - "line": 115, + "line": 140, "column": 37 }, "end": { - "line": 115, + "line": 140, "column": 63 } }, "callee": { "type": "Identifier", - "start": 5924, - "end": 5940, + "start": 6892, + "end": 6908, "loc": { "start": { - "line": 115, + "line": 140, "column": 41 }, "end": { - "line": 115, + "line": 140, "column": 57 }, "identifierName": "PhysicalKeyboard" @@ -32607,15 +39926,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5941, - "end": 5945, + "start": 6909, + "end": 6913, "loc": { "start": { - "line": 115, + "line": 140, "column": 58 }, "end": { - "line": 115, + "line": 140, "column": 62 } } @@ -32628,15 +39947,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -32669,15 +39988,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 117, + "line": 142, "column": 2 }, "end": { - "line": 120, + "line": 145, "column": 5 } } @@ -32685,16 +40004,16 @@ ] }, { - "type": "ClassProperty", - "start": 6072, - "end": 7466, + "type": "ClassMethod", + "start": 7040, + "end": 8427, "loc": { "start": { - "line": 121, + "line": 146, "column": 2 }, "end": { - "line": 171, + "line": 196, "column": 3 } }, @@ -32702,15 +40021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6072, - "end": 6091, + "start": 7040, + "end": 7059, "loc": { "start": { - "line": 121, + "line": 146, "column": 2 }, "end": { - "line": 121, + "line": 146, "column": 21 }, "identifierName": "handleButtonClicked" @@ -32718,585 +40037,964 @@ "name": "handleButtonClicked", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 6094, - "end": 7466, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7060, + "end": 7066, + "loc": { + "start": { + "line": 146, + "column": 22 + }, + "end": { + "line": 146, + "column": 28 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 7067, + "end": 8427, "loc": { "start": { - "line": 121, - "column": 24 + "line": 146, + "column": 29 }, "end": { - "line": 171, + "line": 196, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 6095, - "end": 6101, + "type": "VariableDeclaration", + "start": 7074, + "end": 7105, "loc": { "start": { - "line": 121, - "column": 25 + "line": 147, + "column": 4 }, "end": { - "line": 121, - "column": 31 - }, - "identifierName": "button" + "line": 147, + "column": 35 + } }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 6106, - "end": 7466, - "loc": { - "start": { - "line": 121, - "column": 36 - }, - "end": { - "line": 171, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 6113, - "end": 6144, - "loc": { - "start": { - "line": 122, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7078, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 34 + } }, - "end": { - "line": 122, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6117, - "end": 6143, + "id": { + "type": "Identifier", + "start": 7078, + "end": 7083, "loc": { "start": { - "line": 122, + "line": 147, "column": 8 }, "end": { - "line": 122, + "line": 147, + "column": 13 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "init": { + "type": "MemberExpression", + "start": 7086, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, "column": 34 } }, - "id": { - "type": "Identifier", - "start": 6117, - "end": 6122, + "object": { + "type": "MemberExpression", + "start": 7086, + "end": 7098, "loc": { "start": { - "line": 122, - "column": 8 + "line": 147, + "column": 16 }, "end": { - "line": 122, - "column": 13 + "line": 147, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 7086, + "end": 7090, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 7091, + "end": 7098, + "loc": { + "start": { + "line": 147, + "column": 21 + }, + "end": { + "line": 147, + "column": 28 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7099, + "end": 7104, + "loc": { + "start": { + "line": 147, + "column": 29 + }, + "end": { + "line": 147, + "column": 34 }, "identifierName": "debug" }, "name": "debug" }, - "init": { - "type": "MemberExpression", - "start": 6125, - "end": 6143, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 6125, - "end": 6137, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 6125, - "end": 6129, - "loc": { - "start": { - "line": 122, - "column": 16 - }, - "end": { - "line": 122, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6130, - "end": 6137, - "loc": { - "start": { - "line": 122, - "column": 21 - }, - "end": { - "line": 122, - "column": 28 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6138, - "end": 6143, - "loc": { - "start": { - "line": 122, - "column": 29 - }, - "end": { - "line": 122, - "column": 34 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - } + "computed": false } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, - "loc": { - "start": { - "line": 124, - "column": 4 - }, - "end": { - "line": 126, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 6207, - "end": 6249, - "loc": { - "start": { - "line": 127, - "column": 4 - }, - "end": { - "line": 128, - "column": 19 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6210, - "end": 6227, + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7113, + "end": 7162, "loc": { "start": { - "line": 127, + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7168, + "end": 7210, + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 153, + "column": 19 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7171, + "end": 7188, + "loc": { + "start": { + "line": 152, + "column": 7 + }, + "end": { + "line": 152, + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 7171, + "end": 7177, + "loc": { + "start": { + "line": 152, "column": 7 }, "end": { - "line": 127, + "line": 152, + "column": 13 + }, + "identifierName": "button" + }, + "name": "button", + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7182, + "end": 7188, + "loc": { + "start": { + "line": 152, + "column": 18 + }, + "end": { + "line": 152, "column": 24 } }, - "left": { - "type": "Identifier", - "start": 6210, - "end": 6216, - "loc": { - "start": { - "line": 127, - "column": 7 - }, - "end": { - "line": 127, - "column": 13 - }, - "identifierName": "button" - }, - "name": "button", - "leadingComments": null + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6221, - "end": 6227, - "loc": { - "start": { - "line": 127, - "column": 18 - }, - "end": { - "line": 127, - "column": 24 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - }, - "leadingComments": null + "value": "{//}" }, - "consequent": { - "type": "ReturnStatement", - "start": 6236, - "end": 6249, - "loc": { - "start": { - "line": 128, - "column": 6 - }, - "end": { - "line": 128, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 6243, - "end": 6248, - "loc": { - "start": { - "line": 128, - "column": 13 - }, - "end": { - "line": 128, - "column": 18 - } - }, - "value": false - }, - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, - "loc": { - "start": { - "line": 124, - "column": 4 - }, - "end": { - "line": 126, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 132, - "column": 7 - } - } - } - ] + "leadingComments": null }, - { - "type": "IfStatement", - "start": 6302, - "end": 6391, + "consequent": { + "type": "ReturnStatement", + "start": 7197, + "end": 7210, "loc": { "start": { - "line": 133, - "column": 4 + "line": 153, + "column": 6 }, "end": { - "line": 134, - "column": 38 + "line": 153, + "column": 19 } }, - "test": { - "type": "BinaryExpression", - "start": 6305, - "end": 6350, + "argument": { + "type": "BooleanLiteral", + "start": 7204, + "end": 7209, "loc": { "start": { - "line": 133, + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 18 + } + }, + "value": false + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7113, + "end": 7162, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7218, + "end": 7257, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7263, + "end": 7352, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 159, + "column": 38 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7266, + "end": 7311, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 52 + } + }, + "left": { + "type": "UnaryExpression", + "start": 7266, + "end": 7296, + "loc": { + "start": { + "line": 158, "column": 7 }, "end": { - "line": 133, - "column": 52 + "line": 158, + "column": 37 } }, - "left": { - "type": "UnaryExpression", - "start": 6305, - "end": 6335, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 7273, + "end": 7296, "loc": { "start": { - "line": 133, - "column": 7 + "line": 158, + "column": 14 }, "end": { - "line": 133, + "line": 158, "column": 37 } }, - "operator": "typeof", - "prefix": true, - "argument": { + "object": { "type": "MemberExpression", - "start": 6312, - "end": 6335, + "start": 7273, + "end": 7285, "loc": { "start": { - "line": 133, + "line": 158, "column": 14 }, "end": { - "line": 133, - "column": 37 + "line": 158, + "column": 26 } }, "object": { - "type": "MemberExpression", - "start": 6312, - "end": 6324, + "type": "ThisExpression", + "start": 7273, + "end": 7277, "loc": { "start": { - "line": 133, + "line": 158, "column": 14 }, "end": { - "line": 133, - "column": 26 + "line": 158, + "column": 18 } }, - "object": { - "type": "ThisExpression", - "start": 6312, - "end": 6316, - "loc": { - "start": { - "line": 133, - "column": 14 - }, - "end": { - "line": 133, - "column": 18 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6317, - "end": 6324, - "loc": { - "start": { - "line": 133, - "column": 19 - }, - "end": { - "line": 133, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 6325, - "end": 6335, + "start": 7278, + "end": 7285, "loc": { "start": { - "line": 133, - "column": 27 + "line": 158, + "column": 19 }, "end": { - "line": 133, - "column": 37 + "line": 158, + "column": 26 }, - "identifierName": "onKeyPress" + "identifierName": "options" }, - "name": "onKeyPress" + "name": "options" }, "computed": false, "leadingComments": null }, - "extra": { - "parenthesizedArgument": false + "property": { + "type": "Identifier", + "start": 7286, + "end": 7296, + "loc": { + "start": { + "line": 158, + "column": 27 + }, + "end": { + "line": 158, + "column": 37 + }, + "identifierName": "onKeyPress" + }, + "name": "onKeyPress" }, + "computed": false, "leadingComments": null }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6340, - "end": 6350, - "loc": { - "start": { - "line": 133, - "column": 42 - }, - "end": { - "line": 133, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" + "extra": { + "parenthesizedArgument": false }, "leadingComments": null }, - "consequent": { - "type": "ExpressionStatement", - "start": 6359, - "end": 6391, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7301, + "end": 7311, "loc": { "start": { - "line": 134, + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 52 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + }, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7320, + "end": 7352, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 7320, + "end": 7351, + "loc": { + "start": { + "line": 159, "column": 6 }, "end": { - "line": 134, - "column": 38 + "line": 159, + "column": 37 } }, - "expression": { - "type": "CallExpression", - "start": 6359, - "end": 6390, + "callee": { + "type": "MemberExpression", + "start": 7320, + "end": 7343, "loc": { "start": { - "line": 134, + "line": 159, "column": 6 }, "end": { - "line": 134, - "column": 37 + "line": 159, + "column": 29 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 6359, - "end": 6382, + "start": 7320, + "end": 7332, "loc": { "start": { - "line": 134, + "line": 159, "column": 6 }, "end": { - "line": 134, + "line": 159, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 7320, + "end": 7324, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7325, + "end": 7332, + "loc": { + "start": { + "line": 159, + "column": 11 + }, + "end": { + "line": 159, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7333, + "end": 7343, + "loc": { + "start": { + "line": 159, + "column": 19 + }, + "end": { + "line": 159, "column": 29 + }, + "identifierName": "onKeyPress" + }, + "name": "onKeyPress" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7344, + "end": 7350, + "loc": { + "start": { + "line": 159, + "column": 30 + }, + "end": { + "line": 159, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7218, + "end": 7257, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7364, + "end": 7451, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 162, + "column": 46 + } + }, + "test": { + "type": "UnaryExpression", + "start": 7367, + "end": 7402, + "loc": { + "start": { + "line": 161, + "column": 7 + }, + "end": { + "line": 161, + "column": 42 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 7368, + "end": 7402, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 7368, + "end": 7378, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 7368, + "end": 7372, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 7373, + "end": 7378, + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 161, + "column": 18 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7379, + "end": 7401, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 7379, + "end": 7391, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 7379, + "end": 7383, + "loc": { + "start": { + "line": 161, + "column": 19 + }, + "end": { + "line": 161, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 7384, + "end": 7391, + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 31 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7392, + "end": 7401, + "loc": { + "start": { + "line": 161, + "column": 32 + }, + "end": { + "line": 161, + "column": 41 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7411, + "end": 7451, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7411, + "end": 7450, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7411, + "end": 7445, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7411, + "end": 7421, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7411, + "end": 7415, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7416, + "end": 7421, + "loc": { + "start": { + "line": 162, + "column": 11 + }, + "end": { + "line": 162, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7422, + "end": 7444, + "loc": { + "start": { + "line": 162, + "column": 17 + }, + "end": { + "line": 162, + "column": 39 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6371, + "start": 7422, + "end": 7434, "loc": { "start": { - "line": 134, - "column": 6 + "line": 162, + "column": 17 }, "end": { - "line": 134, - "column": 18 + "line": 162, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 6359, - "end": 6363, + "start": 7422, + "end": 7426, "loc": { "start": { - "line": 134, - "column": 6 + "line": 162, + "column": 17 }, "end": { - "line": 134, - "column": 10 + "line": 162, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 6364, - "end": 6371, + "start": 7427, + "end": 7434, "loc": { "start": { - "line": 134, - "column": 11 + "line": 162, + "column": 22 }, "end": { - "line": 134, - "column": 18 + "line": 162, + "column": 29 }, "identifierName": "options" }, @@ -33306,1897 +41004,729 @@ }, "property": { "type": "Identifier", - "start": 6372, - "end": 6382, + "start": 7435, + "end": 7444, "loc": { "start": { - "line": 134, - "column": 19 + "line": 162, + "column": 30 }, "end": { - "line": 134, - "column": 29 + "line": 162, + "column": 39 }, - "identifierName": "onKeyPress" + "identifierName": "inputName" }, - "name": "onKeyPress" + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "StringLiteral", + "start": 7448, + "end": 7450, + "loc": { + "start": { + "line": 162, + "column": 43 + }, + "end": { + "line": 162, + "column": 45 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 7459, + "end": 7587, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 164, + "column": 132 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7463, + "end": 7586, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 131 + } + }, + "id": { + "type": "Identifier", + "start": 7463, + "end": 7475, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 20 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + }, + "init": { + "type": "CallExpression", + "start": 7478, + "end": 7586, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 131 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7478, + "end": 7508, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 7478, + "end": 7492, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 7478, + "end": 7482, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 7483, + "end": 7492, + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 37 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7493, + "end": 7508, + "loc": { + "start": { + "line": 164, + "column": 38 + }, + "end": { + "line": 164, + "column": 53 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 6383, - "end": 6389, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 134, - "column": 30 + "line": 164, + "column": 54 }, "end": { - "line": 134, - "column": 36 + "line": 164, + "column": 60 }, "identifierName": "button" }, "name": "button" - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, - "loc": { - "start": { - "line": 130, - "column": 4 }, - "end": { - "line": 132, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 6403, - "end": 6490, - "loc": { - "start": { - "line": 136, - "column": 4 - }, - "end": { - "line": 137, - "column": 46 - } - }, - "test": { - "type": "UnaryExpression", - "start": 6406, - "end": 6441, - "loc": { - "start": { - "line": 136, - "column": 7 - }, - "end": { - "line": 136, - "column": 42 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 6407, - "end": 6441, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 6407, - "end": 6417, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 6407, - "end": 6411, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 6412, - "end": 6417, - "loc": { - "start": { - "line": 136, - "column": 13 - }, - "end": { - "line": 136, - "column": 18 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6418, - "end": 6440, - "loc": { - "start": { - "line": 136, - "column": 19 - }, - "end": { - "line": 136, - "column": 41 - } - }, - "object": { + { "type": "MemberExpression", - "start": 6418, - "end": 6430, + "start": 7517, + "end": 7551, "loc": { "start": { - "line": 136, - "column": 19 + "line": 164, + "column": 62 }, "end": { - "line": 136, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6418, - "end": 6422, - "loc": { - "start": { - "line": 136, - "column": 19 - }, - "end": { - "line": 136, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 6423, - "end": 6430, - "loc": { - "start": { - "line": 136, - "column": 24 - }, - "end": { - "line": 136, - "column": 31 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6431, - "end": 6440, - "loc": { - "start": { - "line": 136, - "column": 32 - }, - "end": { - "line": 136, - "column": 41 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 6450, - "end": 6490, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 46 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6450, - "end": 6489, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 45 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6450, - "end": 6484, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6450, - "end": 6460, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 6450, - "end": 6454, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 6455, - "end": 6460, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 137, - "column": 16 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6461, - "end": 6483, - "loc": { - "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 39 + "line": 164, + "column": 96 } }, "object": { "type": "MemberExpression", - "start": 6461, - "end": 6473, + "start": 7517, + "end": 7527, "loc": { "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 6461, - "end": 6465, - "loc": { - "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 6466, - "end": 6473, - "loc": { - "start": { - "line": 137, - "column": 22 - }, - "end": { - "line": 137, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6474, - "end": 6483, - "loc": { - "start": { - "line": 137, - "column": 30 - }, - "end": { - "line": 137, - "column": 39 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "StringLiteral", - "start": 6487, - "end": 6489, - "loc": { - "start": { - "line": 137, - "column": 43 - }, - "end": { - "line": 137, - "column": 45 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - } - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 6498, - "end": 6626, - "loc": { - "start": { - "line": 139, - "column": 4 - }, - "end": { - "line": 139, - "column": 132 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6502, - "end": 6625, - "loc": { - "start": { - "line": 139, - "column": 8 - }, - "end": { - "line": 139, - "column": 131 - } - }, - "id": { - "type": "Identifier", - "start": 6502, - "end": 6514, - "loc": { - "start": { - "line": 139, - "column": 8 - }, - "end": { - "line": 139, - "column": 20 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - }, - "init": { - "type": "CallExpression", - "start": 6517, - "end": 6625, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 131 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6517, - "end": 6547, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 53 - } - }, - "object": { - "type": "MemberExpression", - "start": 6517, - "end": 6531, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 37 - } - }, - "object": { - "type": "ThisExpression", - "start": 6517, - "end": 6521, - "loc": { - "start": { - "line": 139, - "column": 23 - }, - "end": { - "line": 139, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 6522, - "end": 6531, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 37 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6532, - "end": 6547, - "loc": { - "start": { - "line": 139, - "column": 38 - }, - "end": { - "line": 139, - "column": 53 - }, - "identifierName": "getUpdatedInput" - }, - "name": "getUpdatedInput" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 6548, - "end": 6554, - "loc": { - "start": { - "line": 139, - "column": 54 - }, - "end": { - "line": 139, - "column": 60 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "MemberExpression", - "start": 6556, - "end": 6590, - "loc": { - "start": { - "line": 139, + "line": 164, "column": 62 }, "end": { - "line": 139, - "column": 96 + "line": 164, + "column": 72 } }, "object": { - "type": "MemberExpression", - "start": 6556, - "end": 6566, + "type": "ThisExpression", + "start": 7517, + "end": 7521, "loc": { "start": { - "line": 139, + "line": 164, "column": 62 }, "end": { - "line": 139, - "column": 72 + "line": 164, + "column": 66 } - }, - "object": { - "type": "ThisExpression", - "start": 6556, - "end": 6560, - "loc": { - "start": { - "line": 139, - "column": 62 - }, - "end": { - "line": 139, - "column": 66 - } - } - }, - "property": { - "type": "Identifier", - "start": 6561, - "end": 6566, - "loc": { - "start": { - "line": 139, - "column": 67 - }, - "end": { - "line": 139, - "column": 72 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false + } }, "property": { - "type": "MemberExpression", - "start": 6567, - "end": 6589, + "type": "Identifier", + "start": 7522, + "end": 7527, "loc": { "start": { - "line": 139, + "line": 164, + "column": 67 + }, + "end": { + "line": 164, + "column": 72 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7528, + "end": 7550, + "loc": { + "start": { + "line": 164, + "column": 73 + }, + "end": { + "line": 164, + "column": 95 + } + }, + "object": { + "type": "MemberExpression", + "start": 7528, + "end": 7540, + "loc": { + "start": { + "line": 164, "column": 73 }, "end": { - "line": 139, - "column": 95 - } - }, - "object": { - "type": "MemberExpression", - "start": 6567, - "end": 6579, - "loc": { - "start": { - "line": 139, - "column": 73 - }, - "end": { - "line": 139, - "column": 85 - } - }, - "object": { - "type": "ThisExpression", - "start": 6567, - "end": 6571, - "loc": { - "start": { - "line": 139, - "column": 73 - }, - "end": { - "line": 139, - "column": 77 - } - } - }, - "property": { - "type": "Identifier", - "start": 6572, - "end": 6579, - "loc": { - "start": { - "line": 139, - "column": 78 - }, - "end": { - "line": 139, - "column": 85 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6580, - "end": 6589, - "loc": { - "start": { - "line": 139, - "column": 86 - }, - "end": { - "line": 139, - "column": 95 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - { - "type": "MemberExpression", - "start": 6592, - "end": 6604, - "loc": { - "start": { - "line": 139, - "column": 98 - }, - "end": { - "line": 139, - "column": 110 - } - }, - "object": { - "type": "ThisExpression", - "start": 6592, - "end": 6596, - "loc": { - "start": { - "line": 139, - "column": 98 - }, - "end": { - "line": 139, - "column": 102 - } - } - }, - "property": { - "type": "Identifier", - "start": 6597, - "end": 6604, - "loc": { - "start": { - "line": 139, - "column": 103 - }, - "end": { - "line": 139, - "column": 110 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 6606, - "end": 6624, - "loc": { - "start": { - "line": 139, - "column": 112 - }, - "end": { - "line": 139, - "column": 130 - } - }, - "object": { - "type": "ThisExpression", - "start": 6606, - "end": 6610, - "loc": { - "start": { - "line": 139, - "column": 112 - }, - "end": { - "line": 139, - "column": 116 - } - } - }, - "property": { - "type": "Identifier", - "start": 6611, - "end": 6624, - "loc": { - "start": { - "line": 139, - "column": 117 - }, - "end": { - "line": 139, - "column": 130 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 6634, - "end": 7388, - "loc": { - "start": { - "line": 141, - "column": 4 - }, - "end": { - "line": 166, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6637, - "end": 6688, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 58 - } - }, - "left": { - "type": "MemberExpression", - "start": 6637, - "end": 6671, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 6637, - "end": 6647, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 6637, - "end": 6641, - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 6642, - "end": 6647, - "loc": { - "start": { - "line": 141, - "column": 12 - }, - "end": { - "line": 141, - "column": 17 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6648, - "end": 6670, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6648, - "end": 6660, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 30 - } - }, - "object": { - "type": "ThisExpression", - "start": 6648, - "end": 6652, - "loc": { - "start": { - "line": 141, - "column": 18 - }, - "end": { - "line": 141, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "start": 6653, - "end": 6660, - "loc": { - "start": { - "line": 141, - "column": 23 - }, - "end": { - "line": 141, - "column": 30 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6661, - "end": 6670, - "loc": { - "start": { - "line": 141, - "column": 31 - }, - "end": { - "line": 141, - "column": 40 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 6676, - "end": 6688, - "loc": { - "start": { - "line": 141, - "column": 46 - }, - "end": { - "line": 141, - "column": 58 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 6689, - "end": 7388, - "loc": { - "start": { - "line": 141, - "column": 59 - }, - "end": { - "line": 166, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6785, - "end": 6918, - "loc": { - "start": { - "line": 146, - "column": 6 - }, - "end": { - "line": 148, - "column": 7 - } - }, - "test": { - "type": "LogicalExpression", - "start": 6788, - "end": 6884, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 6788, - "end": 6810, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 6788, - "end": 6800, - "loc": { - "start": { - "line": 146, - "column": 9 - }, - "end": { - "line": 146, - "column": 21 + "line": 164, + "column": 85 } }, "object": { "type": "ThisExpression", - "start": 6788, - "end": 6792, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 146, - "column": 9 + "line": 164, + "column": 73 }, "end": { - "line": 146, - "column": 13 + "line": 164, + "column": 77 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 6793, - "end": 6800, + "start": 7533, + "end": 7540, "loc": { "start": { - "line": 146, - "column": 14 + "line": 164, + "column": 78 }, "end": { - "line": 146, - "column": 21 + "line": 164, + "column": 85 }, "identifierName": "options" }, "name": "options" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { "type": "Identifier", - "start": 6801, - "end": 6810, + "start": 7541, + "end": 7550, "loc": { "start": { - "line": 146, - "column": 22 + "line": 164, + "column": 86 }, "end": { - "line": 146, - "column": 31 + "line": 164, + "column": 95 }, - "identifierName": "maxLength" + "identifierName": "inputName" }, - "name": "maxLength" + "name": "inputName" }, - "computed": false, - "leadingComments": null + "computed": false }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 6814, - "end": 6884, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 105 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6814, - "end": 6844, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 65 - } - }, - "object": { - "type": "MemberExpression", - "start": 6814, - "end": 6828, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 49 - } - }, - "object": { - "type": "ThisExpression", - "start": 6814, - "end": 6818, - "loc": { - "start": { - "line": 146, - "column": 35 - }, - "end": { - "line": 146, - "column": 39 - } - } - }, - "property": { - "type": "Identifier", - "start": 6819, - "end": 6828, - "loc": { - "start": { - "line": 146, - "column": 40 - }, - "end": { - "line": 146, - "column": 49 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6829, - "end": 6844, - "loc": { - "start": { - "line": 146, - "column": 50 - }, - "end": { - "line": 146, - "column": 65 - }, - "identifierName": "handleMaxLength" - }, - "name": "handleMaxLength" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 6845, - "end": 6855, - "loc": { - "start": { - "line": 146, - "column": 66 - }, - "end": { - "line": 146, - "column": 76 - } - }, - "object": { - "type": "ThisExpression", - "start": 6845, - "end": 6849, - "loc": { - "start": { - "line": 146, - "column": 66 - }, - "end": { - "line": 146, - "column": 70 - } - } - }, - "property": { - "type": "Identifier", - "start": 6850, - "end": 6855, - "loc": { - "start": { - "line": 146, - "column": 71 - }, - "end": { - "line": 146, - "column": 76 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 6857, - "end": 6869, - "loc": { - "start": { - "line": 146, - "column": 78 - }, - "end": { - "line": 146, - "column": 90 - } - }, - "object": { - "type": "ThisExpression", - "start": 6857, - "end": 6861, - "loc": { - "start": { - "line": 146, - "column": 78 - }, - "end": { - "line": 146, - "column": 82 - } - } - }, - "property": { - "type": "Identifier", - "start": 6862, - "end": 6869, - "loc": { - "start": { - "line": 146, - "column": 83 - }, - "end": { - "line": 146, - "column": 90 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 6871, - "end": 6883, - "loc": { - "start": { - "line": 146, - "column": 92 - }, - "end": { - "line": 146, - "column": 104 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" - } - ] - }, - "leadingComments": null + "computed": true }, - "consequent": { - "type": "BlockStatement", - "start": 6885, - "end": 6918, + { + "type": "MemberExpression", + "start": 7553, + "end": 7565, "loc": { "start": { - "line": 146, - "column": 106 + "line": 164, + "column": 98 }, "end": { - "line": 148, - "column": 7 + "line": 164, + "column": 110 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 6896, - "end": 6909, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 21 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 6903, - "end": 6908, - "loc": { - "start": { - "line": 147, - "column": 15 - }, - "end": { - "line": 147, - "column": 20 - } - }, - "value": false - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 6700, - "end": 6777, + "object": { + "type": "ThisExpression", + "start": 7553, + "end": 7557, "loc": { "start": { - "line": 143, - "column": 6 + "line": 164, + "column": 98 }, "end": { - "line": 145, - "column": 9 + "line": 164, + "column": 102 } } - } - ] + }, + "property": { + "type": "Identifier", + "start": 7558, + "end": 7565, + "loc": { + "start": { + "line": 164, + "column": 103 + }, + "end": { + "line": 164, + "column": 110 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 7567, + "end": 7585, + "loc": { + "start": { + "line": 164, + "column": 112 + }, + "end": { + "line": 164, + "column": 130 + } + }, + "object": { + "type": "ThisExpression", + "start": 7567, + "end": 7571, + "loc": { + "start": { + "line": 164, + "column": 112 + }, + "end": { + "line": 164, + "column": 116 + } + } + }, + "property": { + "type": "Identifier", + "start": 7572, + "end": 7585, + "loc": { + "start": { + "line": 164, + "column": 117 + }, + "end": { + "line": 164, + "column": 130 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 7595, + "end": 8349, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7598, + "end": 7649, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 166, + "column": 58 + } + }, + "left": { + "type": "MemberExpression", + "start": 7598, + "end": 7632, + "loc": { + "start": { + "line": 166, + "column": 7 }, - { - "type": "ExpressionStatement", - "start": 6928, - "end": 6978, + "end": { + "line": 166, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 7598, + "end": 7608, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 166, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 7598, + "end": 7602, "loc": { "start": { - "line": 150, - "column": 6 + "line": 166, + "column": 7 }, "end": { - "line": 150, - "column": 56 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6928, - "end": 6977, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 55 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6928, - "end": 6962, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6928, - "end": 6938, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 6928, - "end": 6932, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 6933, - "end": 6938, - "loc": { - "start": { - "line": 150, - "column": 11 - }, - "end": { - "line": 150, - "column": 16 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 6939, - "end": 6961, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 6939, - "end": 6951, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 6939, - "end": 6943, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 6944, - "end": 6951, - "loc": { - "start": { - "line": 150, - "column": 22 - }, - "end": { - "line": 150, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6952, - "end": 6961, - "loc": { - "start": { - "line": 150, - "column": 30 - }, - "end": { - "line": 150, - "column": 39 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 6965, - "end": 6977, - "loc": { - "start": { - "line": 150, - "column": 43 - }, - "end": { - "line": 150, - "column": 55 - }, - "identifierName": "updatedInput" - }, - "name": "updatedInput" + "line": 166, + "column": 11 } } }, - { - "type": "IfStatement", - "start": 6988, - "end": 7049, + "property": { + "type": "Identifier", + "start": 7603, + "end": 7608, "loc": { "start": { - "line": 152, - "column": 6 + "line": 166, + "column": 12 }, "end": { - "line": 153, - "column": 50 - } - }, - "test": { - "type": "Identifier", - "start": 6991, - "end": 6996, - "loc": { - "start": { - "line": 152, - "column": 9 - }, - "end": { - "line": 152, - "column": 14 - }, - "identifierName": "debug" + "line": 166, + "column": 17 }, - "name": "debug" + "identifierName": "input" }, - "consequent": { - "type": "ExpressionStatement", - "start": 7007, - "end": 7049, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 7007, - "end": 7048, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7007, - "end": 7018, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 7007, - "end": 7014, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 15 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 7015, - "end": 7018, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, - "column": 19 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7019, - "end": 7035, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 36 - } - }, - "extra": { - "rawValue": "Input changed:", - "raw": "'Input changed:'" - }, - "value": "Input changed:" - }, - { - "type": "MemberExpression", - "start": 7037, - "end": 7047, - "loc": { - "start": { - "line": 153, - "column": 38 - }, - "end": { - "line": 153, - "column": 48 - } - }, - "object": { - "type": "ThisExpression", - "start": 7037, - "end": 7041, - "loc": { - "start": { - "line": 153, - "column": 38 - }, - "end": { - "line": 153, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "start": 7042, - "end": 7047, - "loc": { - "start": { - "line": 153, - "column": 43 - }, - "end": { - "line": 153, - "column": 48 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - }, - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, - "loc": { - "start": { - "line": 155, - "column": 6 - }, - "end": { - "line": 157, - "column": 9 - } - } - } - ] + "name": "input" }, - { - "type": "IfStatement", - "start": 7126, - "end": 7207, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7609, + "end": 7631, + "loc": { + "start": { + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7609, + "end": 7621, "loc": { "start": { - "line": 158, - "column": 6 + "line": 166, + "column": 18 }, "end": { - "line": 159, - "column": 44 + "line": 166, + "column": 30 } }, - "test": { - "type": "MemberExpression", - "start": 7129, - "end": 7160, + "object": { + "type": "ThisExpression", + "start": 7609, + "end": 7613, "loc": { "start": { - "line": 158, + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 7614, + "end": 7621, + "loc": { + "start": { + "line": 166, + "column": 23 + }, + "end": { + "line": 166, + "column": 30 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7622, + "end": 7631, + "loc": { + "start": { + "line": 166, + "column": 31 + }, + "end": { + "line": 166, + "column": 40 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 7637, + "end": 7649, + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 58 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7650, + "end": 8349, + "loc": { + "start": { + "line": 166, + "column": 59 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 7746, + "end": 7879, + "loc": { + "start": { + "line": 171, + "column": 6 + }, + "end": { + "line": 173, + "column": 7 + } + }, + "test": { + "type": "LogicalExpression", + "start": 7749, + "end": 7845, + "loc": { + "start": { + "line": 171, + "column": 9 + }, + "end": { + "line": 171, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 7749, + "end": 7771, + "loc": { + "start": { + "line": 171, "column": 9 }, "end": { - "line": 158, - "column": 40 + "line": 171, + "column": 31 } }, "object": { "type": "MemberExpression", - "start": 7129, - "end": 7141, + "start": 7749, + "end": 7761, "loc": { "start": { - "line": 158, + "line": 171, "column": 9 }, "end": { - "line": 158, + "line": 171, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7129, - "end": 7133, + "start": 7749, + "end": 7753, "loc": { "start": { - "line": 158, + "line": 171, "column": 9 }, "end": { - "line": 158, + "line": 171, "column": 13 } }, @@ -35204,15 +41734,15 @@ }, "property": { "type": "Identifier", - "start": 7134, - "end": 7141, + "start": 7754, + "end": 7761, "loc": { "start": { - "line": 158, + "line": 171, "column": 14 }, "end": { - "line": 158, + "line": 171, "column": 21 }, "identifierName": "options" @@ -35224,730 +41754,585 @@ }, "property": { "type": "Identifier", - "start": 7142, - "end": 7160, + "start": 7762, + "end": 7771, "loc": { "start": { - "line": 158, + "line": 171, "column": 22 }, "end": { - "line": 158, - "column": 40 + "line": 171, + "column": 31 }, - "identifierName": "syncInstanceInputs" + "identifierName": "maxLength" }, - "name": "syncInstanceInputs" + "name": "maxLength" }, "computed": false, "leadingComments": null }, - "consequent": { - "type": "ExpressionStatement", - "start": 7171, - "end": 7207, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 7171, - "end": 7206, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7171, - "end": 7194, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 7171, - "end": 7175, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7176, - "end": 7194, - "loc": { - "start": { - "line": 159, - "column": 13 - }, - "end": { - "line": 159, - "column": 31 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7195, - "end": 7205, - "loc": { - "start": { - "line": 159, - "column": 32 - }, - "end": { - "line": 159, - "column": 42 - } - }, - "object": { - "type": "ThisExpression", - "start": 7195, - "end": 7199, - "loc": { - "start": { - "line": 159, - "column": 32 - }, - "end": { - "line": 159, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "start": 7200, - "end": 7205, - "loc": { - "start": { - "line": 159, - "column": 37 - }, - "end": { - "line": 159, - "column": 42 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - }, - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, - "loc": { - "start": { - "line": 155, - "column": 6 - }, - "end": { - "line": 157, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 163, - "column": 9 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 7266, - "end": 7381, - "loc": { - "start": { - "line": 164, - "column": 6 - }, - "end": { - "line": 165, - "column": 66 - } - }, - "test": { - "type": "BinaryExpression", - "start": 7269, - "end": 7312, - "loc": { - "start": { - "line": 164, - "column": 9 - }, - "end": { - "line": 164, - "column": 52 - } - }, - "left": { - "type": "UnaryExpression", - "start": 7269, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 9 - }, - "end": { - "line": 164, - "column": 37 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 7276, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 7276, - "end": 7288, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 7276, - "end": 7280, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7281, - "end": 7288, - "loc": { - "start": { - "line": 164, - "column": 21 - }, - "end": { - "line": 164, - "column": 28 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7289, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 29 - }, - "end": { - "line": 164, - "column": 37 - }, - "identifierName": "onChange" - }, - "name": "onChange" - }, - "computed": false, - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 7302, - "end": 7312, - "loc": { - "start": { - "line": 164, - "column": 42 - }, - "end": { - "line": 164, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - }, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 7323, - "end": 7381, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 7323, - "end": 7380, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7323, - "end": 7344, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 7323, - "end": 7335, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 7323, - "end": 7327, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7328, - "end": 7335, - "loc": { - "start": { - "line": 165, - "column": 13 - }, - "end": { - "line": 165, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7336, - "end": 7344, - "loc": { - "start": { - "line": 165, - "column": 21 - }, - "end": { - "line": 165, - "column": 29 - }, - "identifierName": "onChange" - }, - "name": "onChange" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7345, - "end": 7379, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 64 - } - }, - "object": { - "type": "MemberExpression", - "start": 7345, - "end": 7355, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 7345, - "end": 7349, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 7350, - "end": 7355, - "loc": { - "start": { - "line": 165, - "column": 35 - }, - "end": { - "line": 165, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 7356, - "end": 7378, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 63 - } - }, - "object": { - "type": "MemberExpression", - "start": 7356, - "end": 7368, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 53 - } - }, - "object": { - "type": "ThisExpression", - "start": 7356, - "end": 7360, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 45 - } - } - }, - "property": { - "type": "Identifier", - "start": 7361, - "end": 7368, - "loc": { - "start": { - "line": 165, - "column": 46 - }, - "end": { - "line": 165, - "column": 53 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7369, - "end": 7378, - "loc": { - "start": { - "line": 165, - "column": 54 - }, - "end": { - "line": 165, - "column": 63 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 163, - "column": 9 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 7400, - "end": 7461, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 170, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 7403, - "end": 7408, - "loc": { - "start": { - "line": 168, - "column": 7 - }, - "end": { - "line": 168, - "column": 12 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "consequent": { - "type": "BlockStatement", - "start": 7409, - "end": 7461, - "loc": { - "start": { - "line": 168, - "column": 13 - }, - "end": { - "line": 170, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7418, - "end": 7454, - "loc": { - "start": { - "line": 169, - "column": 6 - }, - "end": { - "line": 169, - "column": 42 - } - }, - "expression": { + "operator": "&&", + "right": { "type": "CallExpression", - "start": 7418, - "end": 7453, + "start": 7775, + "end": 7845, "loc": { "start": { - "line": 169, - "column": 6 + "line": 171, + "column": 35 }, "end": { - "line": 169, - "column": 41 + "line": 171, + "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 7418, - "end": 7429, + "start": 7775, + "end": 7805, "loc": { "start": { - "line": 169, + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 65 + } + }, + "object": { + "type": "MemberExpression", + "start": 7775, + "end": 7789, + "loc": { + "start": { + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 7775, + "end": 7779, + "loc": { + "start": { + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 7780, + "end": 7789, + "loc": { + "start": { + "line": 171, + "column": 40 + }, + "end": { + "line": 171, + "column": 49 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7790, + "end": 7805, + "loc": { + "start": { + "line": 171, + "column": 50 + }, + "end": { + "line": 171, + "column": 65 + }, + "identifierName": "handleMaxLength" + }, + "name": "handleMaxLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 7806, + "end": 7816, + "loc": { + "start": { + "line": 171, + "column": 66 + }, + "end": { + "line": 171, + "column": 76 + } + }, + "object": { + "type": "ThisExpression", + "start": 7806, + "end": 7810, + "loc": { + "start": { + "line": 171, + "column": 66 + }, + "end": { + "line": 171, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 7811, + "end": 7816, + "loc": { + "start": { + "line": 171, + "column": 71 + }, + "end": { + "line": 171, + "column": 76 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 7818, + "end": 7830, + "loc": { + "start": { + "line": 171, + "column": 78 + }, + "end": { + "line": 171, + "column": 90 + } + }, + "object": { + "type": "ThisExpression", + "start": 7818, + "end": 7822, + "loc": { + "start": { + "line": 171, + "column": 78 + }, + "end": { + "line": 171, + "column": 82 + } + } + }, + "property": { + "type": "Identifier", + "start": 7823, + "end": 7830, + "loc": { + "start": { + "line": 171, + "column": 83 + }, + "end": { + "line": 171, + "column": 90 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 7832, + "end": 7844, + "loc": { + "start": { + "line": 171, + "column": 92 + }, + "end": { + "line": 171, + "column": 104 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + ] + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 7846, + "end": 7879, + "loc": { + "start": { + "line": 171, + "column": 106 + }, + "end": { + "line": 173, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7857, + "end": 7870, + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 21 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 7864, + "end": 7869, + "loc": { + "start": { + "line": 172, + "column": 15 + }, + "end": { + "line": 172, + "column": 20 + } + }, + "value": false + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", + "start": 7661, + "end": 7738, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 170, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7889, + "end": 7939, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7889, + "end": 7938, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7889, + "end": 7923, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 7889, + "end": 7899, + "loc": { + "start": { + "line": 175, "column": 6 }, "end": { - "line": 169, + "line": 175, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7889, + "end": 7893, + "loc": { + "start": { + "line": 175, + "column": 6 + }, + "end": { + "line": 175, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 7894, + "end": 7899, + "loc": { + "start": { + "line": 175, + "column": 11 + }, + "end": { + "line": 175, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 7900, + "end": 7922, + "loc": { + "start": { + "line": 175, "column": 17 + }, + "end": { + "line": 175, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 7900, + "end": 7912, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 7900, + "end": 7904, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 7905, + "end": 7912, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 29 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7913, + "end": 7922, + "loc": { + "start": { + "line": 175, + "column": 30 + }, + "end": { + "line": 175, + "column": 39 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 7926, + "end": 7938, + "loc": { + "start": { + "line": 175, + "column": 43 + }, + "end": { + "line": 175, + "column": 55 + }, + "identifierName": "updatedInput" + }, + "name": "updatedInput" + } + } + }, + { + "type": "IfStatement", + "start": 7949, + "end": 8010, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "test": { + "type": "Identifier", + "start": 7952, + "end": 7957, + "loc": { + "start": { + "line": 177, + "column": 9 + }, + "end": { + "line": 177, + "column": 14 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 7968, + "end": 8010, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 7968, + "end": 8009, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7968, + "end": 7979, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 19 } }, "object": { "type": "Identifier", - "start": 7418, - "end": 7425, + "start": 7968, + "end": 7975, "loc": { "start": { - "line": 169, - "column": 6 + "line": 178, + "column": 8 }, "end": { - "line": 169, - "column": 13 + "line": 178, + "column": 15 }, "identifierName": "console" }, @@ -35955,16 +42340,16 @@ }, "property": { "type": "Identifier", - "start": 7426, - "end": 7429, + "start": 7976, + "end": 7979, "loc": { "start": { - "line": 169, - "column": 14 + "line": 178, + "column": 16 }, "end": { - "line": 169, - "column": 17 + "line": 178, + "column": 19 }, "identifierName": "log" }, @@ -35975,1047 +42360,850 @@ "arguments": [ { "type": "StringLiteral", - "start": 7430, - "end": 7444, + "start": 7980, + "end": 7996, "loc": { "start": { - "line": 169, - "column": 18 + "line": 178, + "column": 20 }, "end": { - "line": 169, - "column": 32 + "line": 178, + "column": 36 } }, "extra": { - "rawValue": "Key pressed:", - "raw": "\"Key pressed:\"" + "rawValue": "Input changed:", + "raw": "'Input changed:'" }, - "value": "Key pressed:" + "value": "Input changed:" }, { - "type": "Identifier", - "start": 7446, - "end": 7452, - "loc": { - "start": { - "line": 169, - "column": 34 - }, - "end": { - "line": 169, - "column": 40 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, - "loc": { - "start": { - "line": 117, - "column": 2 - }, - "end": { - "line": 120, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, - "loc": { - "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 7573, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7573, - "end": 7591, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 176, - "column": 20 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 7594, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 23 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7600, - "end": 7692, - "loc": { - "start": { - "line": 176, - "column": 29 - }, - "end": { - "line": 180, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7607, - "end": 7687, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 179, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 7607, - "end": 7686, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 179, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7607, - "end": 7620, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 7607, - "end": 7611, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 7612, - "end": 7620, - "loc": { - "start": { - "line": 177, - "column": 9 - }, - "end": { - "line": 177, - "column": 17 - }, - "identifierName": "dispatch" - }, - "name": "dispatch" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 7621, - "end": 7685, - "loc": { - "start": { - "line": 177, - "column": 18 - }, - "end": { - "line": 179, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7622, - "end": 7630, - "loc": { - "start": { - "line": 177, - "column": 19 - }, - "end": { - "line": 177, - "column": 27 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 7635, - "end": 7685, - "loc": { - "start": { - "line": 177, - "column": 32 - }, - "end": { - "line": 179, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7644, - "end": 7678, + "type": "MemberExpression", + "start": 7998, + "end": 8008, "loc": { "start": { "line": 178, - "column": 6 + "column": 38 }, "end": { "line": 178, - "column": 40 + "column": 48 } }, - "expression": { - "type": "CallExpression", - "start": 7644, - "end": 7677, + "object": { + "type": "ThisExpression", + "start": 7998, + "end": 8002, "loc": { "start": { "line": 178, - "column": 6 + "column": 38 }, "end": { "line": 178, - "column": 39 + "column": 42 } + } + }, + "property": { + "type": "Identifier", + "start": 8003, + "end": 8008, + "loc": { + "start": { + "line": 178, + "column": 43 + }, + "end": { + "line": 178, + "column": 48 + }, + "identifierName": "input" }, - "callee": { - "type": "MemberExpression", - "start": 7644, - "end": 7665, - "loc": { - "start": { - "line": 178, - "column": 6 - }, - "end": { - "line": 178, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 7644, - "end": 7652, - "loc": { - "start": { - "line": 178, - "column": 6 - }, - "end": { - "line": 178, - "column": 14 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 7653, - "end": 7665, - "loc": { - "start": { - "line": 178, - "column": 15 - }, - "end": { - "line": 178, - "column": 27 - }, - "identifierName": "replaceInput" - }, - "name": "replaceInput" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7666, - "end": 7676, - "loc": { - "start": { - "line": 178, - "column": 28 - }, - "end": { - "line": 178, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 7666, - "end": 7670, - "loc": { - "start": { - "line": 178, - "column": 28 - }, - "end": { - "line": 178, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 7671, - "end": 7676, - "loc": { - "start": { - "line": 178, - "column": 33 - }, - "end": { - "line": 178, - "column": 38 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } + "name": "input" + }, + "computed": false } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, - "loc": { - "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, - "loc": { - "start": { - "line": 182, - "column": 2 - }, - "end": { - "line": 185, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 7822, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7822, - "end": 7832, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 186, - "column": 12 - }, - "identifierName": "clearInput" - }, - "name": "clearInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 7835, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 15 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7836, - "end": 7845, - "loc": { - "start": { - "line": 186, - "column": 16 - }, - "end": { - "line": 186, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 7850, - "end": 8104, - "loc": { - "start": { - "line": 186, - "column": 30 - }, - "end": { - "line": 195, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7857, - "end": 7905, - "loc": { - "start": { - "line": 187, - "column": 4 - }, - "end": { - "line": 187, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 7857, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 4 + ] + }, + "trailingComments": null }, - "end": { - "line": 187, - "column": 51 - } + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8020, + "end": 8079, + "loc": { + "start": { + "line": 180, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 7857, - "end": 7866, + { + "type": "IfStatement", + "start": 8087, + "end": 8168, "loc": { "start": { - "line": 187, - "column": 4 + "line": 183, + "column": 6 }, "end": { - "line": 187, - "column": 13 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "right": { - "type": "LogicalExpression", - "start": 7869, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 16 - }, - "end": { - "line": 187, - "column": 51 + "line": 184, + "column": 44 } }, - "left": { - "type": "Identifier", - "start": 7869, - "end": 7878, - "loc": { - "start": { - "line": 187, - "column": 16 - }, - "end": { - "line": 187, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { + "test": { "type": "MemberExpression", - "start": 7882, - "end": 7904, + "start": 8090, + "end": 8121, "loc": { "start": { - "line": 187, - "column": 29 + "line": 183, + "column": 9 }, "end": { - "line": 187, - "column": 51 + "line": 183, + "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7882, - "end": 7894, + "start": 8090, + "end": 8102, "loc": { "start": { - "line": 187, - "column": 29 - }, - "end": { - "line": 187, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 7882, - "end": 7886, - "loc": { - "start": { - "line": 187, - "column": 29 - }, - "end": { - "line": 187, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 7887, - "end": 7894, - "loc": { - "start": { - "line": 187, - "column": 34 - }, - "end": { - "line": 187, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7895, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 42 - }, - "end": { - "line": 187, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 7911, - "end": 7951, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 44 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 7911, - "end": 7950, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 43 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7911, - "end": 7945, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 7911, - "end": 7921, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 7911, - "end": 7915, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 7916, - "end": 7921, - "loc": { - "start": { - "line": 188, + "line": 183, "column": 9 }, "end": { - "line": 188, - "column": 14 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 7922, - "end": 7944, - "loc": { - "start": { - "line": 188, - "column": 15 - }, - "end": { - "line": 188, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 7922, - "end": 7934, - "loc": { - "start": { - "line": 188, - "column": 15 - }, - "end": { - "line": 188, - "column": 27 + "line": 183, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7922, - "end": 7926, + "start": 8090, + "end": 8094, "loc": { "start": { - "line": 188, - "column": 15 + "line": 183, + "column": 9 }, "end": { - "line": 188, - "column": 19 + "line": 183, + "column": 13 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 7927, - "end": 7934, + "start": 8095, + "end": 8102, "loc": { "start": { - "line": 188, - "column": 20 + "line": 183, + "column": 14 }, "end": { - "line": 188, - "column": 27 + "line": 183, + "column": 21 }, "identifierName": "options" }, "name": "options" }, - "computed": false + "computed": false, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 7935, - "end": 7944, + "start": 8103, + "end": 8121, "loc": { "start": { - "line": 188, - "column": 28 + "line": 183, + "column": 22 + }, + "end": { + "line": 183, + "column": 40 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8132, + "end": 8168, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 8132, + "end": 8167, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8132, + "end": 8155, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 8132, + "end": 8136, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 8137, + "end": 8155, + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 31 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8156, + "end": 8166, + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 42 + } + }, + "object": { + "type": "ThisExpression", + "start": 8156, + "end": 8160, + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 8161, + "end": 8166, + "loc": { + "start": { + "line": 184, + "column": 37 + }, + "end": { + "line": 184, + "column": 42 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8020, + "end": 8079, + "loc": { + "start": { + "line": 180, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8178, + "end": 8219, + "loc": { + "start": { + "line": 186, + "column": 6 }, "end": { "line": 188, - "column": 37 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - }, - "computed": true - }, - "right": { - "type": "StringLiteral", - "start": 7948, - "end": 7950, - "loc": { - "start": { - "line": 188, - "column": 41 - }, - "end": { - "line": 188, - "column": 43 + "column": 9 + } + } } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - }, - "trailingComments": [ + ] + }, { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, + "type": "IfStatement", + "start": 8227, + "end": 8342, "loc": { "start": { + "line": 189, + "column": 6 + }, + "end": { "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8020, - "end": 8099, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 194, - "column": 42 - } - }, - "test": { - "type": "MemberExpression", - "start": 8023, - "end": 8054, - "loc": { - "start": { - "line": 193, - "column": 7 - }, - "end": { - "line": 193, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 8023, - "end": 8035, - "loc": { - "start": { - "line": 193, - "column": 7 - }, - "end": { - "line": 193, - "column": 19 + "column": 66 } }, - "object": { - "type": "ThisExpression", - "start": 8023, - "end": 8027, + "test": { + "type": "BinaryExpression", + "start": 8230, + "end": 8273, "loc": { "start": { - "line": 193, - "column": 7 + "line": 189, + "column": 9 }, "end": { - "line": 193, - "column": 11 + "line": 189, + "column": 52 } }, + "left": { + "type": "UnaryExpression", + "start": 8230, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 9 + }, + "end": { + "line": 189, + "column": 37 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 8237, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 8237, + "end": 8249, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 8237, + "end": 8241, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 20 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8242, + "end": 8249, + "loc": { + "start": { + "line": 189, + "column": 21 + }, + "end": { + "line": 189, + "column": 28 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8250, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 29 + }, + "end": { + "line": 189, + "column": 37 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 8263, + "end": 8273, + "loc": { + "start": { + "line": 189, + "column": 42 + }, + "end": { + "line": 189, + "column": 52 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + }, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 8028, - "end": 8035, + "consequent": { + "type": "ExpressionStatement", + "start": 8284, + "end": 8342, "loc": { "start": { - "line": 193, - "column": 12 + "line": 190, + "column": 8 }, "end": { - "line": 193, - "column": 19 + "line": 190, + "column": 66 + } + }, + "expression": { + "type": "CallExpression", + "start": 8284, + "end": 8341, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 65 + } }, - "identifierName": "options" - }, - "name": "options" + "callee": { + "type": "MemberExpression", + "start": 8284, + "end": 8305, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 8284, + "end": 8296, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 8284, + "end": 8288, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 8289, + "end": 8296, + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 20 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8297, + "end": 8305, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 29 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8306, + "end": 8340, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 64 + } + }, + "object": { + "type": "MemberExpression", + "start": 8306, + "end": 8316, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 8306, + "end": 8310, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 8311, + "end": 8316, + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 8317, + "end": 8339, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 8317, + "end": 8329, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 8317, + "end": 8321, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "start": 8322, + "end": 8329, + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 53 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8330, + "end": 8339, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 63 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + } + ] + } }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8036, - "end": 8054, - "loc": { - "start": { - "line": 193, - "column": 20 - }, - "end": { - "line": 193, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8178, + "end": 8219, + "loc": { + "start": { + "line": 186, + "column": 6 + }, + "end": { + "line": 188, + "column": 9 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8361, + "end": 8422, + "loc": { + "start": { + "line": 193, + "column": 4 }, - "consequent": { - "type": "ExpressionStatement", - "start": 8063, - "end": 8099, - "loc": { - "start": { - "line": 194, - "column": 6 - }, - "end": { - "line": 194, - "column": 42 - } + "end": { + "line": 195, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 8364, + "end": 8369, + "loc": { + "start": { + "line": 193, + "column": 7 }, - "expression": { - "type": "CallExpression", - "start": 8063, - "end": 8098, + "end": { + "line": 193, + "column": 12 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "consequent": { + "type": "BlockStatement", + "start": 8370, + "end": 8422, + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 195, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8379, + "end": 8415, "loc": { "start": { "line": 194, @@ -37023,13 +43211,13 @@ }, "end": { "line": 194, - "column": 41 + "column": 42 } }, - "callee": { - "type": "MemberExpression", - "start": 8063, - "end": 8086, + "expression": { + "type": "CallExpression", + "start": 8379, + "end": 8414, "loc": { "start": { "line": 194, @@ -37037,13 +43225,13 @@ }, "end": { "line": 194, - "column": 29 + "column": 41 } }, - "object": { - "type": "ThisExpression", - "start": 8063, - "end": 8067, + "callee": { + "type": "MemberExpression", + "start": 8379, + "end": 8390, "loc": { "start": { "line": 194, @@ -37051,120 +43239,108 @@ }, "end": { "line": 194, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8068, - "end": 8086, - "loc": { - "start": { - "line": 194, - "column": 11 - }, - "end": { - "line": 194, - "column": 29 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8087, - "end": 8097, - "loc": { - "start": { - "line": 194, - "column": 30 - }, - "end": { - "line": 194, - "column": 40 + "column": 17 } }, "object": { - "type": "ThisExpression", - "start": 8087, - "end": 8091, + "type": "Identifier", + "start": 8379, + "end": 8386, "loc": { "start": { "line": 194, - "column": 30 + "column": 6 }, "end": { "line": 194, - "column": 34 - } - } + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" }, "property": { "type": "Identifier", - "start": 8092, - "end": 8097, + "start": 8387, + "end": 8390, "loc": { "start": { "line": 194, - "column": 35 + "column": 14 + }, + "end": { + "line": 194, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8391, + "end": 8405, + "loc": { + "start": { + "line": 194, + "column": 18 + }, + "end": { + "line": 194, + "column": 32 + } + }, + "extra": { + "rawValue": "Key pressed:", + "raw": "\"Key pressed:\"" + }, + "value": "Key pressed:" + }, + { + "type": "Identifier", + "start": 8407, + "end": 8413, + "loc": { + "start": { + "line": 194, + "column": 34 }, "end": { "line": 194, "column": 40 }, - "identifierName": "input" + "identifierName": "button" }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 - } + "name": "button" + } + ] } } - ] - } - ], - "directives": [], - "trailingComments": null - }, + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, + "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 182, + "line": 142, "column": 2 }, "end": { - "line": 185, + "line": 145, "column": 5 } } @@ -37173,12 +43349,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 8433, + "end": 8530, "loc": { "start": { - "line": 197, + "line": 198, "column": 2 }, "end": { @@ -37190,16 +43366,16 @@ ] }, { - "type": "ClassProperty", - "start": 8276, - "end": 8560, + "type": "ClassMethod", + "start": 8534, + "end": 8646, "loc": { "start": { "line": 201, "column": 2 }, "end": { - "line": 211, + "line": 205, "column": 3 } }, @@ -37207,8 +43383,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8276, - "end": 8284, + "start": 8534, + "end": 8552, "loc": { "start": { "line": 201, @@ -37216,83 +43392,66 @@ }, "end": { "line": 201, - "column": 10 + "column": 20 }, - "identifierName": "getInput" + "identifierName": "syncInstanceInputs" }, - "name": "getInput", + "name": "syncInstanceInputs", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 8287, - "end": 8560, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8554, + "end": 8646, "loc": { "start": { "line": 201, - "column": 13 + "column": 22 }, "end": { - "line": 211, + "line": 205, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 8288, - "end": 8297, + "type": "ExpressionStatement", + "start": 8561, + "end": 8641, "loc": { "start": { - "line": 201, - "column": 14 + "line": 202, + "column": 4 }, "end": { - "line": 201, - "column": 23 - }, - "identifierName": "inputName" + "line": 204, + "column": 7 + } }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 8302, - "end": 8560, - "loc": { - "start": { - "line": 201, - "column": 28 - }, - "end": { - "line": 211, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8309, - "end": 8357, + "expression": { + "type": "CallExpression", + "start": 8561, + "end": 8640, "loc": { "start": { "line": 202, "column": 4 }, "end": { - "line": 202, - "column": 52 + "line": 204, + "column": 6 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8309, - "end": 8356, + "callee": { + "type": "MemberExpression", + "start": 8561, + "end": 8574, "loc": { "start": { "line": 202, @@ -37300,14 +43459,13 @@ }, "end": { "line": 202, - "column": 51 + "column": 17 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8309, - "end": 8318, + "object": { + "type": "ThisExpression", + "start": 8561, + "end": 8565, "loc": { "start": { "line": 202, @@ -37315,524 +43473,467 @@ }, "end": { "line": 202, - "column": 13 + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 8566, + "end": 8574, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 17 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8575, + "end": 8639, + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 204, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8576, + "end": 8584, + "loc": { + "start": { + "line": 202, + "column": 19 + }, + "end": { + "line": 202, + "column": 27 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 8589, + "end": 8639, + "loc": { + "start": { + "line": 202, + "column": 32 + }, + "end": { + "line": 204, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8598, + "end": 8632, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 8598, + "end": 8631, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8598, + "end": 8619, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 8598, + "end": 8606, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 14 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 8607, + "end": 8619, + "loc": { + "start": { + "line": 203, + "column": 15 + }, + "end": { + "line": 203, + "column": 27 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8620, + "end": 8630, + "loc": { + "start": { + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 8620, + "end": 8624, + "loc": { + "start": { + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 8625, + "end": 8630, + "loc": { + "start": { + "line": 203, + "column": 33 + }, + "end": { + "line": 203, + "column": 38 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 8433, + "end": 8530, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 200, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 210, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8776, + "end": 9051, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8776, + "end": 8786, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 211, + "column": 12 + }, + "identifierName": "clearInput" + }, + "name": "clearInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8787, + "end": 8796, + "loc": { + "start": { + "line": 211, + "column": 13 + }, + "end": { + "line": 211, + "column": 22 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 8797, + "end": 9051, + "loc": { + "start": { + "line": 211, + "column": 23 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8804, + "end": 8852, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8804, + "end": 8851, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8804, + "end": 8813, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 8816, + "end": 8851, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 8816, + "end": 8825, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, + "operator": "||", "right": { - "type": "LogicalExpression", - "start": 8321, - "end": 8356, + "type": "MemberExpression", + "start": 8829, + "end": 8851, "loc": { "start": { - "line": 202, - "column": 16 + "line": 212, + "column": 29 }, "end": { - "line": 202, + "line": 212, "column": 51 } }, - "left": { - "type": "Identifier", - "start": 8321, - "end": 8330, - "loc": { - "start": { - "line": 202, - "column": 16 - }, - "end": { - "line": 202, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 8334, - "end": 8356, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 51 - } - }, - "object": { - "type": "MemberExpression", - "start": 8334, - "end": 8346, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 8334, - "end": 8338, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 8339, - "end": 8346, - "loc": { - "start": { - "line": 202, - "column": 34 - }, - "end": { - "line": 202, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8347, - "end": 8356, - "loc": { - "start": { - "line": 202, - "column": 42 - }, - "end": { - "line": 202, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, - "loc": { - "start": { - "line": 204, - "column": 4 - }, - "end": { - "line": 206, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8426, - "end": 8505, - "loc": { - "start": { - "line": 207, - "column": 4 - }, - "end": { - "line": 208, - "column": 42 - } - }, - "test": { - "type": "MemberExpression", - "start": 8429, - "end": 8460, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 8429, - "end": 8441, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 19 - } - }, "object": { - "type": "ThisExpression", - "start": 8429, - "end": 8433, - "loc": { - "start": { - "line": 207, - "column": 7 - }, - "end": { - "line": 207, - "column": 11 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8434, - "end": 8441, - "loc": { - "start": { - "line": 207, - "column": 12 - }, - "end": { - "line": 207, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8442, - "end": 8460, - "loc": { - "start": { - "line": 207, - "column": 20 - }, - "end": { - "line": 207, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 8469, - "end": 8505, - "loc": { - "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 8469, - "end": 8504, - "loc": { - "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 41 - } - }, - "callee": { "type": "MemberExpression", - "start": 8469, - "end": 8492, + "start": 8829, + "end": 8841, "loc": { "start": { - "line": 208, - "column": 6 + "line": 212, + "column": 29 }, "end": { - "line": 208, - "column": 29 + "line": 212, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 8469, - "end": 8473, + "start": 8829, + "end": 8833, "loc": { "start": { - "line": 208, - "column": 6 - }, - "end": { - "line": 208, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8474, - "end": 8492, - "loc": { - "start": { - "line": 208, - "column": 11 - }, - "end": { - "line": 208, + "line": 212, "column": 29 }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8493, - "end": 8503, - "loc": { - "start": { - "line": 208, - "column": 30 - }, "end": { - "line": 208, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 8493, - "end": 8497, - "loc": { - "start": { - "line": 208, - "column": 30 - }, - "end": { - "line": 208, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 8498, - "end": 8503, - "loc": { - "start": { - "line": 208, - "column": 35 - }, - "end": { - "line": 208, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, - "loc": { - "start": { - "line": 204, - "column": 4 - }, - "end": { - "line": 206, - "column": 7 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 8513, - "end": 8555, - "loc": { - "start": { - "line": 210, - "column": 4 - }, - "end": { - "line": 210, - "column": 46 - } - }, - "argument": { - "type": "MemberExpression", - "start": 8520, - "end": 8554, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 8520, - "end": 8530, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 8520, - "end": 8524, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 8525, - "end": 8530, - "loc": { - "start": { - "line": 210, - "column": 16 - }, - "end": { - "line": 210, - "column": 21 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "MemberExpression", - "start": 8531, - "end": 8553, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 8531, - "end": 8543, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 8531, - "end": 8535, - "loc": { - "start": { - "line": 210, - "column": 22 - }, - "end": { - "line": 210, - "column": 26 + "line": 212, + "column": 33 } } }, "property": { "type": "Identifier", - "start": 8536, - "end": 8543, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 210, - "column": 27 - }, - "end": { - "line": 210, + "line": 212, "column": 34 }, + "end": { + "line": 212, + "column": 41 + }, "identifierName": "options" }, "name": "options" @@ -37841,925 +43942,109 @@ }, "property": { "type": "Identifier", - "start": 8544, - "end": 8553, + "start": 8842, + "end": 8851, "loc": { "start": { - "line": 210, - "column": 35 + "line": 212, + "column": 42 }, "end": { - "line": 210, - "column": 44 + "line": 212, + "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false - }, - "computed": true - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, - "loc": { - "start": { - "line": 197, - "column": 2 - }, - "end": { - "line": 200, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, - "loc": { - "start": { - "line": 213, - "column": 2 - }, - "end": { - "line": 217, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 8730, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 2 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8730, - "end": 8738, - "loc": { - "start": { - "line": 218, - "column": 2 - }, - "end": { - "line": 218, - "column": 10 - }, - "identifierName": "setInput" - }, - "name": "setInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 8741, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 13 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8742, - "end": 8747, - "loc": { - "start": { - "line": 218, - "column": 14 - }, - "end": { - "line": 218, - "column": 19 - }, - "identifierName": "input" - }, - "name": "input" - }, - { - "type": "Identifier", - "start": 8749, - "end": 8758, - "loc": { - "start": { - "line": 218, - "column": 21 - }, - "end": { - "line": 218, - "column": 30 - }, - "identifierName": "inputName" - }, - "name": "inputName" - } - ], - "body": { - "type": "BlockStatement", - "start": 8763, - "end": 9007, - "loc": { - "start": { - "line": 218, - "column": 35 - }, - "end": { - "line": 227, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8770, - "end": 8818, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8770, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8770, - "end": 8779, - "loc": { - "start": { - "line": 219, - "column": 4 - }, - "end": { - "line": 219, - "column": 13 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "right": { - "type": "LogicalExpression", - "start": 8782, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 16 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "left": { - "type": "Identifier", - "start": 8782, - "end": 8791, - "loc": { - "start": { - "line": 219, - "column": 16 - }, - "end": { - "line": 219, - "column": 25 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 8795, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 51 - } - }, - "object": { - "type": "MemberExpression", - "start": 8795, - "end": 8807, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 41 - } - }, - "object": { - "type": "ThisExpression", - "start": 8795, - "end": 8799, - "loc": { - "start": { - "line": 219, - "column": 29 - }, - "end": { - "line": 219, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 8800, - "end": 8807, - "loc": { - "start": { - "line": 219, - "column": 34 - }, - "end": { - "line": 219, - "column": 41 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8808, - "end": 8817, - "loc": { - "start": { - "line": 219, - "column": 42 - }, - "end": { - "line": 219, - "column": 51 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": false - } } } + } + }, + { + "type": "ExpressionStatement", + "start": 8858, + "end": 8898, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 44 + } }, - { - "type": "ExpressionStatement", - "start": 8824, - "end": 8854, + "expression": { + "type": "AssignmentExpression", + "start": 8858, + "end": 8897, "loc": { "start": { - "line": 220, + "line": 213, "column": 4 }, "end": { - "line": 220, - "column": 34 + "line": 213, + "column": 43 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8824, - "end": 8853, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8824, - "end": 8845, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 8824, - "end": 8834, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 8824, - "end": 8828, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 8829, - "end": 8834, - "loc": { - "start": { - "line": 220, - "column": 9 - }, - "end": { - "line": 220, - "column": 14 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8835, - "end": 8844, - "loc": { - "start": { - "line": 220, - "column": 15 - }, - "end": { - "line": 220, - "column": 24 - }, - "identifierName": "inputName" - }, - "name": "inputName" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 8848, - "end": 8853, - "loc": { - "start": { - "line": 220, - "column": 28 - }, - "end": { - "line": 220, - "column": 33 - }, - "identifierName": "input" - }, - "name": "input" - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, - "loc": { - "start": { - "line": 222, - "column": 4 - }, - "end": { - "line": 224, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8923, - "end": 9002, - "loc": { - "start": { - "line": 225, - "column": 4 - }, - "end": { - "line": 226, - "column": 42 - } - }, - "test": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 8926, - "end": 8957, + "start": 8858, + "end": 8892, "loc": { "start": { - "line": 225, - "column": 7 + "line": 213, + "column": 4 }, "end": { - "line": 225, + "line": 213, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8926, - "end": 8938, + "start": 8858, + "end": 8868, "loc": { "start": { - "line": 225, - "column": 7 - }, - "end": { - "line": 225, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 8926, - "end": 8930, - "loc": { - "start": { - "line": 225, - "column": 7 - }, - "end": { - "line": 225, - "column": 11 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8931, - "end": 8938, - "loc": { - "start": { - "line": 225, - "column": 12 - }, - "end": { - "line": 225, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 8939, - "end": 8957, - "loc": { - "start": { - "line": 225, - "column": 20 - }, - "end": { - "line": 225, - "column": 38 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 8966, - "end": 9002, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 8966, - "end": 9001, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8966, - "end": 8989, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 8966, - "end": 8970, - "loc": { - "start": { - "line": 226, - "column": 6 - }, - "end": { - "line": 226, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 8971, - "end": 8989, - "loc": { - "start": { - "line": 226, - "column": 11 - }, - "end": { - "line": 226, - "column": 29 - }, - "identifierName": "syncInstanceInputs" - }, - "name": "syncInstanceInputs" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 8990, - "end": 9000, - "loc": { - "start": { - "line": 226, - "column": 30 - }, - "end": { - "line": 226, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 8990, - "end": 8994, - "loc": { - "start": { - "line": 226, - "column": 30 - }, - "end": { - "line": 226, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 8995, - "end": 9000, - "loc": { - "start": { - "line": 226, - "column": 35 - }, - "end": { - "line": 226, - "column": 40 - }, - "identifierName": "input" - }, - "name": "input" - }, - "computed": false - } - ] - } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, - "loc": { - "start": { - "line": 222, + "line": 213, "column": 4 }, "end": { - "line": 224, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, - "loc": { - "start": { - "line": 213, - "column": 2 - }, - "end": { - "line": 217, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, - "loc": { - "start": { - "line": 229, - "column": 2 - }, - "end": { - "line": 232, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 9128, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 2 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9128, - "end": 9140, - "loc": { - "start": { - "line": 233, - "column": 2 - }, - "end": { - "line": 233, - "column": 14 - }, - "identifierName": "replaceInput" - }, - "name": "replaceInput", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9143, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 17 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9144, - "end": 9152, - "loc": { - "start": { - "line": 233, - "column": 18 - }, - "end": { - "line": 233, - "column": 26 - }, - "identifierName": "inputObj" - }, - "name": "inputObj" - } - ], - "body": { - "type": "BlockStatement", - "start": 9157, - "end": 9191, - "loc": { - "start": { - "line": 233, - "column": 31 - }, - "end": { - "line": 235, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9164, - "end": 9186, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9164, - "end": 9185, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9164, - "end": 9174, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, + "line": 213, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9164, - "end": 9168, + "start": 8858, + "end": 8862, "loc": { "start": { - "line": 234, + "line": 213, "column": 4 }, "end": { - "line": 234, + "line": 213, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9169, - "end": 9174, + "start": 8863, + "end": 8868, "loc": { "start": { - "line": 234, + "line": 213, "column": 9 }, "end": { - "line": 234, + "line": 213, "column": 14 }, "identifierName": "input" @@ -38768,44 +44053,392 @@ }, "computed": false }, - "right": { - "type": "Identifier", - "start": 9177, - "end": 9185, + "property": { + "type": "MemberExpression", + "start": 8869, + "end": 8891, "loc": { "start": { - "line": 234, - "column": 17 + "line": 213, + "column": 15 }, "end": { - "line": 234, - "column": 25 - }, - "identifierName": "inputObj" + "line": 213, + "column": 37 + } }, - "name": "inputObj" + "object": { + "type": "MemberExpression", + "start": 8869, + "end": 8881, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8869, + "end": 8873, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 8874, + "end": 8881, + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 27 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8882, + "end": 8891, + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 37 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "StringLiteral", + "start": 8895, + "end": 8897, + "loc": { + "start": { + "line": 213, + "column": 41 + }, + "end": { + "line": 213, + "column": 43 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8906, + "end": 8961, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 217, + "column": 7 + } } } - } - ], - "directives": [], - "trailingComments": null - }, + ] + }, + { + "type": "IfStatement", + "start": 8967, + "end": 9046, + "loc": { + "start": { + "line": 218, + "column": 4 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 8970, + "end": 9001, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 8970, + "end": 8982, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 8970, + "end": 8974, + "loc": { + "start": { + "line": 218, + "column": 7 + }, + "end": { + "line": 218, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8975, + "end": 8982, + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8983, + "end": 9001, + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9010, + "end": 9046, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9010, + "end": 9045, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9010, + "end": 9033, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9010, + "end": 9014, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9015, + "end": 9033, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9034, + "end": 9044, + "loc": { + "start": { + "line": 219, + "column": 30 + }, + "end": { + "line": 219, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9034, + "end": 9038, + "loc": { + "start": { + "line": 219, + "column": 30 + }, + "end": { + "line": 219, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9039, + "end": 9044, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8906, + "end": 8961, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 217, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, "loc": { "start": { - "line": 229, + "line": 207, "column": 2 }, "end": { - "line": 232, + "line": 210, "column": 5 } } @@ -38814,16 +44447,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, "loc": { "start": { - "line": 237, + "line": 222, "column": 2 }, "end": { - "line": 240, + "line": 225, "column": 5 } } @@ -38831,16 +44464,16 @@ ] }, { - "type": "ClassProperty", - "start": 9327, - "end": 9461, + "type": "ClassMethod", + "start": 9223, + "end": 9500, "loc": { "start": { - "line": 241, + "line": 226, "column": 2 }, "end": { - "line": 245, + "line": 236, "column": 3 } }, @@ -38848,241 +44481,618 @@ "computed": false, "key": { "type": "Identifier", - "start": 9327, - "end": 9337, + "start": 9223, + "end": 9231, "loc": { "start": { - "line": 241, + "line": 226, "column": 2 }, "end": { - "line": 241, - "column": 12 + "line": 226, + "column": 10 }, - "identifierName": "setOptions" + "identifierName": "getInput" }, - "name": "setOptions", + "name": "getInput", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9340, - "end": 9461, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 20 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 9242, + "end": 9500, "loc": { "start": { - "line": 241, - "column": 15 + "line": 226, + "column": 21 }, "end": { - "line": 245, + "line": 236, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 9340, - "end": 9346, + "type": "ExpressionStatement", + "start": 9249, + "end": 9297, "loc": { "start": { - "line": 241, - "column": 15 + "line": 227, + "column": 4 }, "end": { - "line": 241, - "column": 21 - }, - "identifierName": "option" + "line": 227, + "column": 52 + } }, - "name": "option" - } - ], - "body": { - "type": "BlockStatement", - "start": 9350, - "end": 9461, - "loc": { - "start": { - "line": 241, - "column": 25 - }, - "end": { - "line": 245, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9357, - "end": 9379, + "expression": { + "type": "AssignmentExpression", + "start": 9249, + "end": 9296, "loc": { "start": { - "line": 242, + "line": 227, "column": 4 }, "end": { - "line": 242, - "column": 26 + "line": 227, + "column": 51 } }, - "expression": { - "type": "AssignmentExpression", - "start": 9357, - "end": 9378, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9249, + "end": 9258, "loc": { "start": { - "line": 242, + "line": 227, "column": 4 }, "end": { - "line": 242, - "column": 25 + "line": 227, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 9261, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 51 } }, - "operator": "=", "left": { "type": "Identifier", - "start": 9357, - "end": 9363, + "start": 9261, + "end": 9270, "loc": { "start": { - "line": 242, - "column": 4 + "line": 227, + "column": 16 }, "end": { - "line": 242, - "column": 10 - }, - "identifierName": "option" - }, - "name": "option" - }, - "right": { - "type": "LogicalExpression", - "start": 9366, - "end": 9378, - "loc": { - "start": { - "line": 242, - "column": 13 - }, - "end": { - "line": 242, + "line": 227, "column": 25 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 9274, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 51 } }, - "left": { - "type": "Identifier", - "start": 9366, - "end": 9372, + "object": { + "type": "MemberExpression", + "start": 9274, + "end": 9286, "loc": { "start": { - "line": 242, - "column": 13 + "line": 227, + "column": 29 }, "end": { - "line": 242, - "column": 19 - }, - "identifierName": "option" - }, - "name": "option" - }, - "operator": "||", - "right": { - "type": "ObjectExpression", - "start": 9376, - "end": 9378, - "loc": { - "start": { - "line": 242, - "column": 23 - }, - "end": { - "line": 242, - "column": 25 + "line": 227, + "column": 41 } }, - "properties": [] - } + "object": { + "type": "ThisExpression", + "start": 9274, + "end": 9278, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 9279, + "end": 9286, + "loc": { + "start": { + "line": 227, + "column": 34 + }, + "end": { + "line": 227, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9287, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 42 + }, + "end": { + "line": 227, + "column": 51 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false } } }, - { - "type": "ExpressionStatement", - "start": 9385, - "end": 9436, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9385, - "end": 9435, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, "loc": { "start": { - "line": 243, + "line": 229, "column": 4 }, "end": { - "line": 243, - "column": 54 + "line": 231, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 9366, + "end": 9445, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 233, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 9369, + "end": 9400, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 9369, + "end": 9381, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 19 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9385, - "end": 9397, + "object": { + "type": "ThisExpression", + "start": 9369, + "end": 9373, "loc": { "start": { - "line": 243, - "column": 4 + "line": 232, + "column": 7 }, "end": { - "line": 243, - "column": 16 + "line": 232, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9374, + "end": 9381, + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9382, + "end": 9400, + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9409, + "end": 9445, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9409, + "end": 9444, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9409, + "end": 9432, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9385, - "end": 9389, + "start": 9409, + "end": 9413, "loc": { "start": { - "line": 243, - "column": 4 + "line": 233, + "column": 6 }, "end": { - "line": 243, - "column": 8 + "line": 233, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 9390, - "end": 9397, + "start": 9414, + "end": 9432, "loc": { "start": { - "line": 243, - "column": 9 + "line": 233, + "column": 11 }, "end": { - "line": 243, - "column": 16 + "line": 233, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9433, + "end": 9443, + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 233, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9433, + "end": 9437, + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 233, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9438, + "end": 9443, + "loc": { + "start": { + "line": 233, + "column": 35 + }, + "end": { + "line": 233, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 231, + "column": 7 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 9453, + "end": 9495, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 46 + } + }, + "argument": { + "type": "MemberExpression", + "start": 9460, + "end": 9494, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 9460, + "end": 9470, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 9460, + "end": 9464, + "loc": { + "start": { + "line": 235, + "column": 11 + }, + "end": { + "line": 235, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 9465, + "end": 9470, + "loc": { + "start": { + "line": 235, + "column": 16 + }, + "end": { + "line": 235, + "column": 21 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 9471, + "end": 9493, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 9471, + "end": 9483, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 9471, + "end": 9475, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 9476, + "end": 9483, + "loc": { + "start": { + "line": 235, + "column": 27 + }, + "end": { + "line": 235, + "column": 34 }, "identifierName": "options" }, @@ -39090,238 +45100,45 @@ }, "computed": false }, - "right": { - "type": "CallExpression", - "start": 9400, - "end": 9435, + "property": { + "type": "Identifier", + "start": 9484, + "end": 9493, "loc": { "start": { - "line": 243, - "column": 19 + "line": 235, + "column": 35 }, "end": { - "line": 243, - "column": 54 - } + "line": 235, + "column": 44 + }, + "identifierName": "inputName" }, - "callee": { - "type": "MemberExpression", - "start": 9400, - "end": 9413, - "loc": { - "start": { - "line": 243, - "column": 19 - }, - "end": { - "line": 243, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 9400, - "end": 9406, - "loc": { - "start": { - "line": 243, - "column": 19 - }, - "end": { - "line": 243, - "column": 25 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 9407, - "end": 9413, - "loc": { - "start": { - "line": 243, - "column": 26 - }, - "end": { - "line": 243, - "column": 32 - }, - "identifierName": "assign" - }, - "name": "assign" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9414, - "end": 9426, - "loc": { - "start": { - "line": 243, - "column": 33 - }, - "end": { - "line": 243, - "column": 45 - } - }, - "object": { - "type": "ThisExpression", - "start": 9414, - "end": 9418, - "loc": { - "start": { - "line": 243, - "column": 33 - }, - "end": { - "line": 243, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 9419, - "end": 9426, - "loc": { - "start": { - "line": 243, - "column": 38 - }, - "end": { - "line": 243, - "column": 45 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 9428, - "end": 9434, - "loc": { - "start": { - "line": 243, - "column": 47 - }, - "end": { - "line": 243, - "column": 53 - }, - "identifierName": "option" - }, - "name": "option" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 9442, - "end": 9456, - "loc": { - "start": { - "line": 244, - "column": 4 + "name": "inputName" }, - "end": { - "line": 244, - "column": 18 - } + "computed": false }, - "expression": { - "type": "CallExpression", - "start": 9442, - "end": 9455, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 17 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9442, - "end": 9453, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 15 - } - }, - "object": { - "type": "ThisExpression", - "start": 9442, - "end": 9446, - "loc": { - "start": { - "line": 244, - "column": 4 - }, - "end": { - "line": 244, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9447, - "end": 9453, - "loc": { - "start": { - "line": 244, - "column": 9 - }, - "end": { - "line": 244, - "column": 15 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } + "computed": true } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, "loc": { "start": { - "line": 237, + "line": 222, "column": 2 }, "end": { - "line": 240, + "line": 225, "column": 5 } } @@ -39330,16 +45147,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 247, + "line": 238, "column": 2 }, "end": { - "line": 250, + "line": 242, "column": 5 } } @@ -39347,16 +45164,16 @@ ] }, { - "type": "ClassProperty", - "start": 9580, - "end": 9726, + "type": "ClassMethod", + "start": 9670, + "end": 9940, "loc": { "start": { - "line": 251, + "line": 243, "column": 2 }, "end": { - "line": 255, + "line": 252, "column": 3 } }, @@ -39364,462 +45181,650 @@ "computed": false, "key": { "type": "Identifier", - "start": 9580, - "end": 9585, + "start": 9670, + "end": 9678, "loc": { "start": { - "line": 251, + "line": 243, "column": 2 }, "end": { - "line": 251, - "column": 7 - }, - "identifierName": "clear" - }, - "name": "clear", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9588, - "end": 9726, - "loc": { - "start": { - "line": 251, + "line": 243, "column": 10 }, + "identifierName": "setInput" + }, + "name": "setInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9679, + "end": 9684, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 16 + }, + "identifierName": "input" + }, + "name": "input" + }, + { + "type": "Identifier", + "start": 9686, + "end": 9695, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 243, + "column": 27 + }, + "identifierName": "inputName" + }, + "name": "inputName" + } + ], + "body": { + "type": "BlockStatement", + "start": 9696, + "end": 9940, + "loc": { + "start": { + "line": 243, + "column": 28 + }, "end": { - "line": 255, + "line": 252, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 9594, - "end": 9726, - "loc": { - "start": { - "line": 251, - "column": 16 + "body": [ + { + "type": "ExpressionStatement", + "start": 9703, + "end": 9751, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 52 + } }, - "end": { - "line": 255, - "column": 3 + "expression": { + "type": "AssignmentExpression", + "start": 9703, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9703, + "end": 9712, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 13 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "right": { + "type": "LogicalExpression", + "start": 9715, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 16 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 9715, + "end": 9724, + "loc": { + "start": { + "line": 244, + "column": 16 + }, + "end": { + "line": 244, + "column": 25 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 9728, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 9728, + "end": 9740, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 9728, + "end": 9732, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 9733, + "end": 9740, + "loc": { + "start": { + "line": 244, + "column": 34 + }, + "end": { + "line": 244, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9741, + "end": 9750, + "loc": { + "start": { + "line": 244, + "column": 42 + }, + "end": { + "line": 244, + "column": 51 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + } + } } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9601, - "end": 9633, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 36 - } + { + "type": "ExpressionStatement", + "start": 9757, + "end": 9787, + "loc": { + "start": { + "line": 245, + "column": 4 }, - "expression": { - "type": "AssignmentExpression", - "start": 9601, - "end": 9632, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9601, - "end": 9627, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 9601, - "end": 9617, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 9601, - "end": 9605, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 252, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9606, - "end": 9617, - "loc": { - "start": { - "line": 252, - "column": 9 - }, - "end": { - "line": 252, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9618, - "end": 9627, - "loc": { - "start": { - "line": 252, - "column": 21 - }, - "end": { - "line": 252, - "column": 30 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 9630, - "end": 9632, - "loc": { - "start": { - "line": 252, - "column": 33 - }, - "end": { - "line": 252, - "column": 35 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } + "end": { + "line": 245, + "column": 34 } }, - { - "type": "ExpressionStatement", - "start": 9639, - "end": 9690, + "expression": { + "type": "AssignmentExpression", + "start": 9757, + "end": 9786, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 55 + "line": 245, + "column": 33 } }, - "expression": { - "type": "AssignmentExpression", - "start": 9639, - "end": 9689, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9757, + "end": 9778, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 54 + "line": 245, + "column": 25 } }, - "operator": "=", - "left": { + "object": { "type": "MemberExpression", - "start": 9639, - "end": 9665, + "start": 9757, + "end": 9767, "loc": { "start": { - "line": 253, + "line": 245, "column": 4 }, "end": { - "line": 253, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 9639, - "end": 9655, - "loc": { - "start": { - "line": 253, - "column": 4 - }, - "end": { - "line": 253, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 9639, - "end": 9643, - "loc": { - "start": { - "line": 253, - "column": 4 - }, - "end": { - "line": 253, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 9644, - "end": 9655, - "loc": { - "start": { - "line": 253, - "column": 9 - }, - "end": { - "line": 253, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9656, - "end": 9665, - "loc": { - "start": { - "line": 253, - "column": 21 - }, - "end": { - "line": 253, - "column": 30 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 9668, - "end": 9689, - "loc": { - "start": { - "line": 253, - "column": 33 - }, - "end": { - "line": 253, - "column": 54 + "line": 245, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9668, - "end": 9672, + "start": 9757, + "end": 9761, "loc": { "start": { - "line": 253, - "column": 33 - }, - "end": { - "line": 253, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 9673, - "end": 9689, - "loc": { - "start": { - "line": 253, - "column": 38 - }, - "end": { - "line": 253, - "column": 54 - }, - "identifierName": "keyboardDOMClass" - }, - "name": "keyboardDOMClass" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 9696, - "end": 9721, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 29 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9696, - "end": 9720, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 28 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9696, - "end": 9715, - "loc": { - "start": { - "line": 254, - "column": 4 - }, - "end": { - "line": 254, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 9696, - "end": 9700, - "loc": { - "start": { - "line": 254, + "line": 245, "column": 4 }, "end": { - "line": 254, + "line": 245, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9701, - "end": 9715, + "start": 9762, + "end": 9767, "loc": { "start": { - "line": 254, + "line": 245, "column": 9 }, "end": { - "line": 254, - "column": 23 + "line": 245, + "column": 14 }, - "identifierName": "buttonElements" + "identifierName": "input" }, - "name": "buttonElements" + "name": "input" }, "computed": false }, - "right": { - "type": "ObjectExpression", - "start": 9718, - "end": 9720, + "property": { + "type": "Identifier", + "start": 9768, + "end": 9777, "loc": { "start": { - "line": 254, - "column": 26 + "line": 245, + "column": 15 }, "end": { - "line": 254, - "column": 28 - } + "line": 245, + "column": 24 + }, + "identifierName": "inputName" }, - "properties": [] + "name": "inputName" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 9781, + "end": 9786, + "loc": { + "start": { + "line": 245, + "column": 28 + }, + "end": { + "line": 245, + "column": 33 + }, + "identifierName": "input" + }, + "name": "input" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9795, + "end": 9850, + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 249, + "column": 7 + } } } - } - ], - "directives": [], - "trailingComments": null - }, + ] + }, + { + "type": "IfStatement", + "start": 9856, + "end": 9935, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 251, + "column": 42 + } + }, + "test": { + "type": "MemberExpression", + "start": 9859, + "end": 9890, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 9859, + "end": 9871, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 9859, + "end": 9863, + "loc": { + "start": { + "line": 250, + "column": 7 + }, + "end": { + "line": 250, + "column": 11 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9864, + "end": 9871, + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9872, + "end": 9890, + "loc": { + "start": { + "line": 250, + "column": 20 + }, + "end": { + "line": 250, + "column": 38 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9899, + "end": 9935, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9899, + "end": 9934, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9899, + "end": 9922, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9899, + "end": 9903, + "loc": { + "start": { + "line": 251, + "column": 6 + }, + "end": { + "line": 251, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9904, + "end": 9922, + "loc": { + "start": { + "line": 251, + "column": 11 + }, + "end": { + "line": 251, + "column": 29 + }, + "identifierName": "syncInstanceInputs" + }, + "name": "syncInstanceInputs" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9923, + "end": 9933, + "loc": { + "start": { + "line": 251, + "column": 30 + }, + "end": { + "line": 251, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 9923, + "end": 9927, + "loc": { + "start": { + "line": 251, + "column": 30 + }, + "end": { + "line": 251, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 9928, + "end": 9933, + "loc": { + "start": { + "line": 251, + "column": 35 + }, + "end": { + "line": 251, + "column": 40 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + } + ] + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9795, + "end": 9850, + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 249, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 247, + "line": 238, "column": 2 }, "end": { - "line": 250, + "line": 242, "column": 5 } } @@ -39828,16 +45833,226 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, + "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", + "start": 9948, + "end": 10057, "loc": { "start": { - "line": 257, + "line": 254, "column": 2 }, "end": { - "line": 260, + "line": 257, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10061, + "end": 10117, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 260, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10061, + "end": 10073, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 258, + "column": 14 + }, + "identifierName": "replaceInput" + }, + "name": "replaceInput", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10074, + "end": 10082, + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 23 + }, + "identifierName": "inputObj" + }, + "name": "inputObj" + } + ], + "body": { + "type": "BlockStatement", + "start": 10083, + "end": 10117, + "loc": { + "start": { + "line": 258, + "column": 24 + }, + "end": { + "line": 260, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10090, + "end": 10112, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10090, + "end": 10111, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10090, + "end": 10100, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 10090, + "end": 10094, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 259, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10095, + "end": 10100, + "loc": { + "start": { + "line": 259, + "column": 9 + }, + "end": { + "line": 259, + "column": 14 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 10103, + "end": 10111, + "loc": { + "start": { + "line": 259, + "column": 17 + }, + "end": { + "line": 259, + "column": 25 + }, + "identifierName": "inputObj" + }, + "name": "inputObj" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", + "start": 9948, + "end": 10057, + "loc": { + "start": { + "line": 254, + "column": 2 + }, + "end": { + "line": 257, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", + "start": 10123, + "end": 10249, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 265, "column": 5 } } @@ -39846,11 +46061,11 @@ }, { "type": "ClassProperty", - "start": 9941, - "end": 10316, + "start": 10253, + "end": 10387, "loc": { "start": { - "line": 261, + "line": 266, "column": 2 }, "end": { @@ -39862,30 +46077,30 @@ "computed": false, "key": { "type": "Identifier", - "start": 9941, - "end": 9949, + "start": 10253, + "end": 10263, "loc": { "start": { - "line": 261, + "line": 266, "column": 2 }, "end": { - "line": 261, - "column": 10 + "line": 266, + "column": 12 }, - "identifierName": "dispatch" + "identifierName": "setOptions" }, - "name": "dispatch", + "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", - "start": 9952, - "end": 10316, + "start": 10266, + "end": 10387, "loc": { "start": { - "line": 261, - "column": 13 + "line": 266, + "column": 15 }, "end": { "line": 270, @@ -39899,30 +46114,30 @@ "params": [ { "type": "Identifier", - "start": 9953, - "end": 9961, + "start": 10266, + "end": 10272, "loc": { "start": { - "line": 261, - "column": 14 + "line": 266, + "column": 15 }, "end": { - "line": 261, - "column": 22 + "line": 266, + "column": 21 }, - "identifierName": "callback" + "identifierName": "option" }, - "name": "callback" + "name": "option" } ], "body": { "type": "BlockStatement", - "start": 9966, - "end": 10316, + "start": 10276, + "end": 10387, "loc": { "start": { - "line": 261, - "column": 27 + "line": 266, + "column": 25 }, "end": { "line": 270, @@ -39931,3347 +46146,381 @@ }, "body": [ { - "type": "IfStatement", - "start": 9973, - "end": 10157, - "loc": { - "start": { - "line": 262, - "column": 4 - }, - "end": { - "line": 265, - "column": 5 - } - }, - "test": { - "type": "UnaryExpression", - "start": 9976, - "end": 10010, - "loc": { - "start": { - "line": 262, - "column": 7 - }, - "end": { - "line": 262, - "column": 41 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 9977, - "end": 10010, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 9977, - "end": 9983, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 14 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 9984, - "end": 10009, - "loc": { - "start": { - "line": 262, - "column": 15 - }, - "end": { - "line": 262, - "column": 40 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 10011, - "end": 10157, - "loc": { - "start": { - "line": 262, - "column": 42 - }, - "end": { - "line": 265, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10020, - "end": 10103, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 89 - } - }, - "expression": { - "type": "CallExpression", - "start": 10020, - "end": 10102, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 88 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10020, - "end": 10032, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 10020, - "end": 10027, - "loc": { - "start": { - "line": 263, - "column": 6 - }, - "end": { - "line": 263, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 10028, - "end": 10032, - "loc": { - "start": { - "line": 263, - "column": 14 - }, - "end": { - "line": 263, - "column": 18 - }, - "identifierName": "warn" - }, - "name": "warn" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 10033, - "end": 10101, - "loc": { - "start": { - "line": 263, - "column": 19 - }, - "end": { - "line": 263, - "column": 87 - } - }, - "expressions": [], - "quasis": [ - { - "type": "TemplateElement", - "start": 10034, - "end": 10100, - "loc": { - "start": { - "line": 263, - "column": 20 - }, - "end": { - "line": 263, - "column": 86 - } - }, - "value": { - "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", - "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." - }, - "tail": true - } - ] - } - ] - } - }, - { - "type": "ThrowStatement", - "start": 10111, - "end": 10150, - "loc": { - "start": { - "line": 264, - "column": 6 - }, - "end": { - "line": 264, - "column": 45 - } - }, - "argument": { - "type": "NewExpression", - "start": 10117, - "end": 10149, - "loc": { - "start": { - "line": 264, - "column": 12 - }, - "end": { - "line": 264, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 10121, - "end": 10126, - "loc": { - "start": { - "line": 264, - "column": 16 - }, - "end": { - "line": 264, - "column": 21 - }, - "identifierName": "Error" - }, - "name": "Error" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10127, - "end": 10148, - "loc": { - "start": { - "line": 264, - "column": 22 - }, - "end": { - "line": 264, - "column": 43 - } - }, - "extra": { - "rawValue": "INSTANCES_VAR_ERROR", - "raw": "\"INSTANCES_VAR_ERROR\"" - }, - "value": "INSTANCES_VAR_ERROR" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 10169, - "end": 10311, + "type": "ExpressionStatement", + "start": 10283, + "end": 10305, "loc": { "start": { "line": 267, "column": 4 }, "end": { - "line": 269, - "column": 6 - } - }, - "argument": { - "type": "CallExpression", - "start": 10176, - "end": 10311, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 269, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10176, - "end": 10230, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 65 - } - }, - "object": { - "type": "CallExpression", - "start": 10176, - "end": 10222, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10176, - "end": 10187, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 10176, - "end": 10182, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 17 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 10183, - "end": 10187, - "loc": { - "start": { - "line": 267, - "column": 18 - }, - "end": { - "line": 267, - "column": 22 - }, - "identifierName": "keys" - }, - "name": "keys" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 10188, - "end": 10221, - "loc": { - "start": { - "line": 267, - "column": 23 - }, - "end": { - "line": 267, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 10188, - "end": 10194, - "loc": { - "start": { - "line": 267, - "column": 23 - }, - "end": { - "line": 267, - "column": 29 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 10195, - "end": 10220, - "loc": { - "start": { - "line": 267, - "column": 30 - }, - "end": { - "line": 267, - "column": 55 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - } - ] - }, - "property": { - "type": "Identifier", - "start": 10223, - "end": 10230, - "loc": { - "start": { - "line": 267, - "column": 58 - }, - "end": { - "line": 267, - "column": 65 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10231, - "end": 10310, - "loc": { - "start": { - "line": 267, - "column": 66 - }, - "end": { - "line": 269, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10232, - "end": 10235, - "loc": { - "start": { - "line": 267, - "column": 67 - }, - "end": { - "line": 267, - "column": 70 - }, - "identifierName": "key" - }, - "name": "key" - } - ], - "body": { - "type": "BlockStatement", - "start": 10240, - "end": 10310, - "loc": { - "start": { - "line": 267, - "column": 75 - }, - "end": { - "line": 269, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10249, - "end": 10303, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 60 - } - }, - "expression": { - "type": "CallExpression", - "start": 10249, - "end": 10302, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 10249, - "end": 10257, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 14 - }, - "identifierName": "callback" - }, - "name": "callback" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 10258, - "end": 10296, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 53 - } - }, - "object": { - "type": "MemberExpression", - "start": 10258, - "end": 10291, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 10258, - "end": 10264, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 21 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "StringLiteral", - "start": 10265, - "end": 10290, - "loc": { - "start": { - "line": 268, - "column": 22 - }, - "end": { - "line": 268, - "column": 47 - } - }, - "extra": { - "rawValue": "SimpleKeyboardInstances", - "raw": "'SimpleKeyboardInstances'" - }, - "value": "SimpleKeyboardInstances" - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 10292, - "end": 10295, - "loc": { - "start": { - "line": 268, - "column": 49 - }, - "end": { - "line": 268, - "column": 52 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": true - }, - { - "type": "Identifier", - "start": 10298, - "end": 10301, - "loc": { - "start": { - "line": 268, - "column": 55 - }, - "end": { - "line": 268, - "column": 58 - }, - "identifierName": "key" - }, - "name": "key" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, - "loc": { - "start": { - "line": 257, - "column": 2 - }, - "end": { - "line": 260, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, - "loc": { - "start": { - "line": 272, - "column": 2 - }, - "end": { - "line": 276, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 10607, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 2 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 10607, - "end": 10621, - "loc": { - "start": { - "line": 277, - "column": 2 - }, - "end": { - "line": 277, - "column": 16 - }, - "identifierName": "addButtonTheme" - }, - "name": "addButtonTheme", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 10624, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 19 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10625, - "end": 10632, - "loc": { - "start": { - "line": 277, - "column": 20 - }, - "end": { - "line": 277, - "column": 27 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - { - "type": "Identifier", - "start": 10634, - "end": 10643, - "loc": { - "start": { - "line": 277, - "column": 29 - }, - "end": { - "line": 277, - "column": 38 - }, - "identifierName": "className" - }, - "name": "className" - } - ], - "body": { - "type": "BlockStatement", - "start": 10648, - "end": 11846, - "loc": { - "start": { - "line": 277, - "column": 43 - }, - "end": { - "line": 320, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10655, - "end": 10702, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 279, - "column": 19 - } - }, - "test": { - "type": "LogicalExpression", - "start": 10658, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 7 - }, - "end": { - "line": 278, - "column": 29 - } - }, - "left": { - "type": "UnaryExpression", - "start": 10658, - "end": 10668, - "loc": { - "start": { - "line": 278, - "column": 7 - }, - "end": { - "line": 278, - "column": 17 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 10659, - "end": 10668, - "loc": { - "start": { - "line": 278, - "column": 8 - }, - "end": { - "line": 278, - "column": 17 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "||", - "right": { - "type": "UnaryExpression", - "start": 10672, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 21 - }, - "end": { - "line": 278, - "column": 29 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 10673, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 22 - }, - "end": { - "line": 278, - "column": 29 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 10689, - "end": 10702, - "loc": { - "start": { - "line": 279, - "column": 6 - }, - "end": { - "line": 279, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 10696, - "end": 10701, - "loc": { - "start": { - "line": 279, - "column": 13 - }, - "end": { - "line": 279, - "column": 18 - } - }, - "value": false - } - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 10710, - "end": 11819, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 317, - "column": 7 + "line": 267, + "column": 26 } }, "expression": { - "type": "CallExpression", - "start": 10710, - "end": 11818, + "type": "AssignmentExpression", + "start": 10283, + "end": 10304, "loc": { "start": { - "line": 281, + "line": 267, "column": 4 }, "end": { - "line": 317, - "column": 6 + "line": 267, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 10710, - "end": 10736, + "operator": "=", + "left": { + "type": "Identifier", + "start": 10283, + "end": 10289, "loc": { "start": { - "line": 281, + "line": 267, "column": 4 }, "end": { - "line": 281, - "column": 30 + "line": 267, + "column": 10 + }, + "identifierName": "option" + }, + "name": "option" + }, + "right": { + "type": "LogicalExpression", + "start": 10292, + "end": 10304, + "loc": { + "start": { + "line": 267, + "column": 13 + }, + "end": { + "line": 267, + "column": 25 } }, - "object": { - "type": "CallExpression", - "start": 10710, - "end": 10728, + "left": { + "type": "Identifier", + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 281, - "column": 4 + "line": 267, + "column": 13 }, "end": { - "line": 281, - "column": 22 - } + "line": 267, + "column": 19 + }, + "identifierName": "option" }, - "callee": { - "type": "MemberExpression", - "start": 10710, - "end": 10723, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 10710, - "end": 10717, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 11 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "property": { - "type": "Identifier", - "start": 10718, - "end": 10723, - "loc": { - "start": { - "line": 281, - "column": 12 - }, - "end": { - "line": 281, - "column": 17 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10724, - "end": 10727, - "loc": { - "start": { - "line": 281, - "column": 18 - }, - "end": { - "line": 281, - "column": 21 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] + "name": "option" }, - "property": { - "type": "Identifier", - "start": 10729, - "end": 10736, + "operator": "||", + "right": { + "type": "ObjectExpression", + "start": 10302, + "end": 10304, "loc": { "start": { - "line": 281, + "line": 267, "column": 23 }, "end": { - "line": 281, - "column": 30 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10737, - "end": 11817, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 317, - "column": 5 + "line": 267, + "column": 25 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10737, - "end": 10743, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 281, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 10747, - "end": 11817, - "loc": { - "start": { - "line": 281, - "column": 41 - }, - "end": { - "line": 317, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10756, - "end": 11810, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 316, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 10756, - "end": 11809, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 316, - "column": 8 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10756, - "end": 10784, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 10756, - "end": 10776, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10756, - "end": 10771, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 10756, - "end": 10765, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 15 - }, - "identifierName": "className" - }, - "name": "className" - }, - "property": { - "type": "Identifier", - "start": 10766, - "end": 10771, - "loc": { - "start": { - "line": 282, - "column": 16 - }, - "end": { - "line": 282, - "column": 21 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10772, - "end": 10775, - "loc": { - "start": { - "line": 282, - "column": 22 - }, - "end": { - "line": 282, - "column": 25 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 10777, - "end": 10784, - "loc": { - "start": { - "line": 282, - "column": 27 - }, - "end": { - "line": 282, - "column": 34 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10785, - "end": 11808, - "loc": { - "start": { - "line": 282, - "column": 35 - }, - "end": { - "line": 316, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10785, - "end": 10798, - "loc": { - "start": { - "line": 282, - "column": 35 - }, - "end": { - "line": 282, - "column": 48 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - ], - "body": { - "type": "BlockStatement", - "start": 10802, - "end": 11808, - "loc": { - "start": { - "line": 282, - "column": 52 - }, - "end": { - "line": 316, - "column": 7 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10813, - "end": 10884, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 284, - "column": 40 - } - }, - "test": { - "type": "UnaryExpression", - "start": 10816, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 11 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 10817, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 10817, - "end": 10829, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 10817, - "end": 10821, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 10822, - "end": 10829, - "loc": { - "start": { - "line": 283, - "column": 17 - }, - "end": { - "line": 283, - "column": 24 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10830, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 25 - }, - "end": { - "line": 283, - "column": 36 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 10854, - "end": 10884, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10854, - "end": 10883, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10854, - "end": 10878, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 10854, - "end": 10866, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 10854, - "end": 10858, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 10859, - "end": 10866, - "loc": { - "start": { - "line": 284, - "column": 15 - }, - "end": { - "line": 284, - "column": 22 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10867, - "end": 10878, - "loc": { - "start": { - "line": 284, - "column": 23 - }, - "end": { - "line": 284, - "column": 34 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "right": { - "type": "ArrayExpression", - "start": 10881, - "end": 10883, - "loc": { - "start": { - "line": 284, - "column": 37 - }, - "end": { - "line": 284, - "column": 39 - } - }, - "elements": [] - } - } - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 10896, - "end": 10923, - "loc": { - "start": { - "line": 286, - "column": 8 - }, - "end": { - "line": 286, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 10900, - "end": 10922, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 10900, - "end": 10914, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "init": { - "type": "BooleanLiteral", - "start": 10917, - "end": 10922, - "loc": { - "start": { - "line": 286, - "column": 29 - }, - "end": { - "line": 286, - "column": 34 - } - }, - "value": false - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 290, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 11038, - "end": 11546, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 304, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 11038, - "end": 11545, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 304, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11038, - "end": 11066, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 11038, - "end": 11062, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 11038, - "end": 11050, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 11038, - "end": 11042, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11043, - "end": 11050, - "loc": { - "start": { - "line": 291, - "column": 13 - }, - "end": { - "line": 291, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11051, - "end": 11062, - "loc": { - "start": { - "line": 291, - "column": 21 - }, - "end": { - "line": 291, - "column": 32 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11063, - "end": 11066, - "loc": { - "start": { - "line": 291, - "column": 33 - }, - "end": { - "line": 291, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 11067, - "end": 11544, - "loc": { - "start": { - "line": 291, - "column": 37 - }, - "end": { - "line": 304, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 11067, - "end": 11078, - "loc": { - "start": { - "line": 291, - "column": 37 - }, - "end": { - "line": 291, - "column": 48 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - } - ], - "body": { - "type": "BlockStatement", - "start": 11082, - "end": 11544, - "loc": { - "start": { - "line": 291, - "column": 52 - }, - "end": { - "line": 304, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 11097, - "end": 11502, - "loc": { - "start": { - "line": 293, - "column": 10 - }, - "end": { - "line": 302, - "column": 11 - } - }, - "test": { - "type": "CallExpression", - "start": 11100, - "end": 11152, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11100, - "end": 11137, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 50 - } - }, - "object": { - "type": "CallExpression", - "start": 11100, - "end": 11128, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11100, - "end": 11123, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 11100, - "end": 11117, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 11100, - "end": 11111, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 24 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11112, - "end": 11117, - "loc": { - "start": { - "line": 293, - "column": 25 - }, - "end": { - "line": 293, - "column": 30 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11118, - "end": 11123, - "loc": { - "start": { - "line": 293, - "column": 31 - }, - "end": { - "line": 293, - "column": 36 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11124, - "end": 11127, - "loc": { - "start": { - "line": 293, - "column": 37 - }, - "end": { - "line": 293, - "column": 40 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 11129, - "end": 11137, - "loc": { - "start": { - "line": 293, - "column": 42 - }, - "end": { - "line": 293, - "column": 50 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11138, - "end": 11151, - "loc": { - "start": { - "line": 293, - "column": 51 - }, - "end": { - "line": 293, - "column": 64 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 11153, - "end": 11502, - "loc": { - "start": { - "line": 293, - "column": 66 - }, - "end": { - "line": 302, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11168, - "end": 11190, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11168, - "end": 11189, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11168, - "end": 11182, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "right": { - "type": "BooleanLiteral", - "start": 11185, - "end": 11189, - "loc": { - "start": { - "line": 294, - "column": 29 - }, - "end": { - "line": 294, - "column": 33 - } - }, - "value": true - } - } - }, - { - "type": "VariableDeclaration", - "start": 11218, - "end": 11272, - "loc": { - "start": { - "line": 296, - "column": 12 - }, - "end": { - "line": 296, - "column": 66 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 11222, - "end": 11271, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 65 - } - }, - "id": { - "type": "Identifier", - "start": 11222, - "end": 11238, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 32 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "init": { - "type": "CallExpression", - "start": 11241, - "end": 11271, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11241, - "end": 11266, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 60 - } - }, - "object": { - "type": "MemberExpression", - "start": 11241, - "end": 11260, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 11241, - "end": 11252, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 46 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11253, - "end": 11260, - "loc": { - "start": { - "line": 296, - "column": 47 - }, - "end": { - "line": 296, - "column": 54 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11261, - "end": 11266, - "loc": { - "start": { - "line": 296, - "column": 55 - }, - "end": { - "line": 296, - "column": 60 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11267, - "end": 11270, - "loc": { - "start": { - "line": 296, - "column": 61 - }, - "end": { - "line": 296, - "column": 64 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 11286, - "end": 11489, - "loc": { - "start": { - "line": 297, - "column": 12 - }, - "end": { - "line": 301, - "column": 13 - } - }, - "test": { - "type": "UnaryExpression", - "start": 11289, - "end": 11323, - "loc": { - "start": { - "line": 297, - "column": 15 - }, - "end": { - "line": 297, - "column": 49 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 11290, - "end": 11323, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11290, - "end": 11315, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 11290, - "end": 11306, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 32 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11307, - "end": 11315, - "loc": { - "start": { - "line": 297, - "column": 33 - }, - "end": { - "line": 297, - "column": 41 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11316, - "end": 11322, - "loc": { - "start": { - "line": 297, - "column": 42 - }, - "end": { - "line": 297, - "column": 48 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 11324, - "end": 11489, - "loc": { - "start": { - "line": 297, - "column": 50 - }, - "end": { - "line": 301, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11341, - "end": 11363, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11341, - "end": 11362, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11341, - "end": 11355, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 28 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound" - }, - "right": { - "type": "BooleanLiteral", - "start": 11358, - "end": 11362, - "loc": { - "start": { - "line": 298, - "column": 31 - }, - "end": { - "line": 298, - "column": 35 - } - }, - "value": true - } - } - }, - { - "type": "ExpressionStatement", - "start": 11379, - "end": 11409, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 11379, - "end": 11408, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11379, - "end": 11400, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 11379, - "end": 11395, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 30 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11396, - "end": 11400, - "loc": { - "start": { - "line": 299, - "column": 31 - }, - "end": { - "line": 299, - "column": 35 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11401, - "end": 11407, - "loc": { - "start": { - "line": 299, - "column": 36 - }, - "end": { - "line": 299, - "column": 42 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 11425, - "end": 11474, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 63 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11425, - "end": 11473, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 62 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 11425, - "end": 11444, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 11425, - "end": 11436, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 25 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 11437, - "end": 11444, - "loc": { - "start": { - "line": 300, - "column": 26 - }, - "end": { - "line": 300, - "column": 33 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 11447, - "end": 11473, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11447, - "end": 11468, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 11447, - "end": 11463, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 52 - }, - "identifierName": "buttonThemeArray" - }, - "name": "buttonThemeArray" - }, - "property": { - "type": "Identifier", - "start": 11464, - "end": 11468, - "loc": { - "start": { - "line": 300, - "column": 53 - }, - "end": { - "line": 300, - "column": 57 - }, - "identifierName": "join" - }, - "name": "join" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11469, - "end": 11472, - "loc": { - "start": { - "line": 300, - "column": 58 - }, - "end": { - "line": 300, - "column": 61 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 11514, - "end": 11533, - "loc": { - "start": { - "line": 303, - "column": 10 - }, - "end": { - "line": 303, - "column": 29 - } - }, - "argument": { - "type": "Identifier", - "start": 11521, - "end": 11532, - "loc": { - "start": { - "line": 303, - "column": 17 - }, - "end": { - "line": 303, - "column": 28 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 290, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, - "loc": { - "start": { - "line": 306, - "column": 8 - }, - "end": { - "line": 308, - "column": 11 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 11643, - "end": 11797, - "loc": { - "start": { - "line": 309, - "column": 8 - }, - "end": { - "line": 314, - "column": 9 - } - }, - "test": { - "type": "UnaryExpression", - "start": 11646, - "end": 11661, - "loc": { - "start": { - "line": 309, - "column": 11 - }, - "end": { - "line": 309, - "column": 26 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 11647, - "end": 11661, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 26 - }, - "identifierName": "classNameFound" - }, - "name": "classNameFound", - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 11662, - "end": 11797, - "loc": { - "start": { - "line": 309, - "column": 27 - }, - "end": { - "line": 314, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11675, - "end": 11786, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 313, - "column": 13 - } - }, - "expression": { - "type": "CallExpression", - "start": 11675, - "end": 11785, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 313, - "column": 12 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11675, - "end": 11704, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 11675, - "end": 11699, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 11675, - "end": 11687, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 11675, - "end": 11679, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 11680, - "end": 11687, - "loc": { - "start": { - "line": 310, - "column": 15 - }, - "end": { - "line": 310, - "column": 22 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11688, - "end": 11699, - "loc": { - "start": { - "line": 310, - "column": 23 - }, - "end": { - "line": 310, - "column": 34 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11700, - "end": 11704, - "loc": { - "start": { - "line": 310, - "column": 35 - }, - "end": { - "line": 310, - "column": 39 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 11705, - "end": 11784, - "loc": { - "start": { - "line": 310, - "column": 40 - }, - "end": { - "line": 313, - "column": 11 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 11720, - "end": 11740, - "loc": { - "start": { - "line": 311, - "column": 12 - }, - "end": { - "line": 311, - "column": 32 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 11720, - "end": 11725, - "loc": { - "start": { - "line": 311, - "column": 12 - }, - "end": { - "line": 311, - "column": 17 - }, - "identifierName": "class" - }, - "name": "class" - }, - "value": { - "type": "Identifier", - "start": 11727, - "end": 11740, - "loc": { - "start": { - "line": 311, - "column": 19 - }, - "end": { - "line": 311, - "column": 32 - }, - "identifierName": "classNameItem" - }, - "name": "classNameItem" - } - }, - { - "type": "ObjectProperty", - "start": 11755, - "end": 11771, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 28 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 11755, - "end": 11762, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 19 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "value": { - "type": "Identifier", - "start": 11764, - "end": 11771, - "loc": { - "start": { - "line": 312, - "column": 21 - }, - "end": { - "line": 312, - "column": 28 - }, - "identifierName": "buttons" - }, - "name": "buttons" - } - } - ] - } - ] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, - "loc": { - "start": { - "line": 306, - "column": 8 - }, - "end": { - "line": 308, - "column": 11 - } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - } + "properties": [] } - ] + } } }, { "type": "ExpressionStatement", - "start": 11827, - "end": 11841, + "start": 10311, + "end": 10362, "loc": { "start": { - "line": 319, + "line": 268, "column": 4 }, "end": { - "line": 319, + "line": 268, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10311, + "end": 10361, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10311, + "end": 10323, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 10311, + "end": 10315, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10316, + "end": 10323, + "loc": { + "start": { + "line": 268, + "column": 9 + }, + "end": { + "line": 268, + "column": 16 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 10326, + "end": 10361, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10326, + "end": 10339, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 10326, + "end": 10332, + "loc": { + "start": { + "line": 268, + "column": 19 + }, + "end": { + "line": 268, + "column": 25 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 10333, + "end": 10339, + "loc": { + "start": { + "line": 268, + "column": 26 + }, + "end": { + "line": 268, + "column": 32 + }, + "identifierName": "assign" + }, + "name": "assign" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10340, + "end": 10352, + "loc": { + "start": { + "line": 268, + "column": 33 + }, + "end": { + "line": 268, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 10340, + "end": 10344, + "loc": { + "start": { + "line": 268, + "column": 33 + }, + "end": { + "line": 268, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 10345, + "end": 10352, + "loc": { + "start": { + "line": 268, + "column": 38 + }, + "end": { + "line": 268, + "column": 45 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 10354, + "end": 10360, + "loc": { + "start": { + "line": 268, + "column": 47 + }, + "end": { + "line": 268, + "column": 53 + }, + "identifierName": "option" + }, + "name": "option" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 10368, + "end": 10382, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 11827, - "end": 11840, + "start": 10368, + "end": 10381, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 11827, - "end": 11838, + "start": 10368, + "end": 10379, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 11827, - "end": 11831, + "start": 10368, + "end": 10372, "loc": { "start": { - "line": 319, + "line": 269, "column": 4 }, "end": { - "line": 319, + "line": 269, "column": 8 } } }, "property": { "type": "Identifier", - "start": 11832, - "end": 11838, + "start": 10373, + "end": 10379, "loc": { "start": { - "line": 319, + "line": 269, "column": 9 }, "end": { - "line": 319, + "line": 269, "column": 15 }, "identifierName": "render" @@ -43292,16 +46541,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, + "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", + "start": 10123, + "end": 10249, "loc": { "start": { - "line": 272, + "line": 262, "column": 2 }, "end": { - "line": 276, + "line": 265, "column": 5 } } @@ -43310,16 +46559,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 10393, + "end": 10502, "loc": { "start": { - "line": 322, + "line": 272, "column": 2 }, "end": { - "line": 326, + "line": 275, "column": 5 } } @@ -43327,16 +46576,16 @@ ] }, { - "type": "ClassProperty", - "start": 12196, - "end": 13620, + "type": "ClassMethod", + "start": 10506, + "end": 10645, "loc": { "start": { - "line": 327, + "line": 276, "column": 2 }, "end": { - "line": 373, + "line": 280, "column": 3 } }, @@ -43344,1451 +46593,2605 @@ "computed": false, "key": { "type": "Identifier", - "start": 12196, - "end": 12213, + "start": 10506, + "end": 10511, "loc": { "start": { - "line": 327, + "line": 276, "column": 2 }, "end": { - "line": 327, - "column": 19 + "line": 276, + "column": 7 }, - "identifierName": "removeButtonTheme" + "identifierName": "clear" }, - "name": "removeButtonTheme", + "name": "clear", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 12216, - "end": 13620, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10513, + "end": 10645, "loc": { "start": { - "line": 327, - "column": 22 + "line": 276, + "column": 9 }, "end": { - "line": 373, + "line": 280, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 12217, - "end": 12224, + "type": "ExpressionStatement", + "start": 10520, + "end": 10552, "loc": { "start": { - "line": 327, - "column": 23 + "line": 277, + "column": 4 }, "end": { - "line": 327, - "column": 30 - }, - "identifierName": "buttons" + "line": 277, + "column": 36 + } }, - "name": "buttons" - }, - { - "type": "Identifier", - "start": 12226, - "end": 12235, - "loc": { - "start": { - "line": 327, - "column": 32 + "expression": { + "type": "AssignmentExpression", + "start": 10520, + "end": 10551, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 35 + } }, - "end": { - "line": 327, - "column": 41 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10520, + "end": 10546, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 10520, + "end": 10536, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 10520, + "end": 10524, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 277, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10525, + "end": 10536, + "loc": { + "start": { + "line": 277, + "column": 9 + }, + "end": { + "line": 277, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10537, + "end": 10546, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 30 + }, + "identifierName": "innerHTML" + }, + "name": "innerHTML" + }, + "computed": false }, - "identifierName": "className" - }, - "name": "className" - } - ], - "body": { - "type": "BlockStatement", - "start": 12240, - "end": 13620, - "loc": { - "start": { - "line": 327, - "column": 46 - }, - "end": { - "line": 373, - "column": 3 + "right": { + "type": "StringLiteral", + "start": 10549, + "end": 10551, + "loc": { + "start": { + "line": 277, + "column": 33 + }, + "end": { + "line": 277, + "column": 35 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } } }, - "body": [ - { - "type": "IfStatement", - "start": 12333, - "end": 12448, - "loc": { - "start": { - "line": 331, - "column": 4 - }, - "end": { - "line": 335, - "column": 5 - } + { + "type": "ExpressionStatement", + "start": 10558, + "end": 10609, + "loc": { + "start": { + "line": 278, + "column": 4 }, - "test": { - "type": "LogicalExpression", - "start": 12336, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 7 - }, - "end": { - "line": 331, - "column": 29 - } - }, - "left": { - "type": "UnaryExpression", - "start": 12336, - "end": 12344, - "loc": { - "start": { - "line": 331, - "column": 7 - }, - "end": { - "line": 331, - "column": 15 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 12337, - "end": 12344, - "loc": { - "start": { - "line": 331, - "column": 8 - }, - "end": { - "line": 331, - "column": 15 - }, - "identifierName": "buttons" - }, - "name": "buttons", - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 12348, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 29 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 12349, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 20 - }, - "end": { - "line": 331, - "column": 29 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 12359, - "end": 12448, - "loc": { - "start": { - "line": 331, - "column": 30 - }, - "end": { - "line": 335, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12368, - "end": 12398, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 12368, - "end": 12397, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 12368, - "end": 12392, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 12368, - "end": 12380, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 12368, - "end": 12372, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 12373, - "end": 12380, - "loc": { - "start": { - "line": 332, - "column": 11 - }, - "end": { - "line": 332, - "column": 18 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12381, - "end": 12392, - "loc": { - "start": { - "line": 332, - "column": 19 - }, - "end": { - "line": 332, - "column": 30 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "right": { - "type": "ArrayExpression", - "start": 12395, - "end": 12397, - "loc": { - "start": { - "line": 332, - "column": 33 - }, - "end": { - "line": 332, - "column": 35 - } - }, - "elements": [] - } - } - }, - { - "type": "ExpressionStatement", - "start": 12406, - "end": 12420, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 12406, - "end": 12419, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12406, - "end": 12417, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 12406, - "end": 12410, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 12411, - "end": 12417, - "loc": { - "start": { - "line": 333, - "column": 11 - }, - "end": { - "line": 333, - "column": 17 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ReturnStatement", - "start": 12428, - "end": 12441, - "loc": { - "start": { - "line": 334, - "column": 6 - }, - "end": { - "line": 334, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 12435, - "end": 12440, - "loc": { - "start": { - "line": 334, - "column": 13 - }, - "end": { - "line": 334, - "column": 18 - } - }, - "value": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 12247, - "end": 12327, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 330, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 339, - "column": 7 - } - } - } - ] + "end": { + "line": 278, + "column": 55 + } }, - { - "type": "IfStatement", - "start": 12530, - "end": 13615, + "expression": { + "type": "AssignmentExpression", + "start": 10558, + "end": 10608, "loc": { "start": { - "line": 340, + "line": 278, "column": 4 }, "end": { - "line": 372, + "line": 278, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10558, + "end": 10584, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 10558, + "end": 10574, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 10558, + "end": 10562, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10563, + "end": 10574, + "loc": { + "start": { + "line": 278, + "column": 9 + }, + "end": { + "line": 278, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10575, + "end": 10584, + "loc": { + "start": { + "line": 278, + "column": 21 + }, + "end": { + "line": 278, + "column": 30 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 10587, + "end": 10608, + "loc": { + "start": { + "line": 278, + "column": 33 + }, + "end": { + "line": 278, + "column": 54 + } + }, + "object": { + "type": "ThisExpression", + "start": 10587, + "end": 10591, + "loc": { + "start": { + "line": 278, + "column": 33 + }, + "end": { + "line": 278, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 10592, + "end": 10608, + "loc": { + "start": { + "line": 278, + "column": 38 + }, + "end": { + "line": 278, + "column": 54 + }, + "identifierName": "keyboardDOMClass" + }, + "name": "keyboardDOMClass" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 10615, + "end": 10640, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10615, + "end": 10639, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10615, + "end": 10634, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 10615, + "end": 10619, + "loc": { + "start": { + "line": 279, + "column": 4 + }, + "end": { + "line": 279, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10620, + "end": 10634, + "loc": { + "start": { + "line": 279, + "column": 9 + }, + "end": { + "line": 279, + "column": 23 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 10637, + "end": 10639, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 28 + } + }, + "properties": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 10393, + "end": 10502, + "loc": { + "start": { + "line": 272, + "column": 2 + }, + "end": { + "line": 275, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", + "start": 10651, + "end": 10856, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 285, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10860, + "end": 11228, + "loc": { + "start": { + "line": 286, + "column": 2 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10860, + "end": 10868, + "loc": { + "start": { + "line": 286, + "column": 2 + }, + "end": { + "line": 286, + "column": 10 + }, + "identifierName": "dispatch" + }, + "name": "dispatch", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10869, + "end": 10877, + "loc": { + "start": { + "line": 286, + "column": 11 + }, + "end": { + "line": 286, + "column": 19 + }, + "identifierName": "callback" + }, + "name": "callback" + } + ], + "body": { + "type": "BlockStatement", + "start": 10878, + "end": 11228, + "loc": { + "start": { + "line": 286, + "column": 20 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 10885, + "end": 11069, + "loc": { + "start": { + "line": 287, + "column": 4 + }, + "end": { + "line": 290, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 10888, + "end": 10922, + "loc": { + "start": { + "line": 287, + "column": 7 + }, + "end": { + "line": 287, + "column": 41 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 10889, + "end": 10922, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 10889, + "end": 10895, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 14 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 10896, + "end": 10921, + "loc": { + "start": { + "line": 287, + "column": 15 + }, + "end": { + "line": 287, + "column": 40 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 10923, + "end": 11069, + "loc": { + "start": { + "line": 287, + "column": 42 + }, + "end": { + "line": 290, "column": 5 } }, - "test": { - "type": "LogicalExpression", - "start": 12533, - "end": 12618, - "loc": { - "start": { - "line": 340, - "column": 7 - }, - "end": { - "line": 340, - "column": 92 - } - }, - "left": { - "type": "LogicalExpression", - "start": 12533, - "end": 12583, + "body": [ + { + "type": "ExpressionStatement", + "start": 10932, + "end": 11015, "loc": { "start": { - "line": 340, - "column": 7 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 57 + "line": 288, + "column": 89 } }, - "left": { - "type": "Identifier", - "start": 12533, - "end": 12540, - "loc": { - "start": { - "line": 340, - "column": 7 - }, - "end": { - "line": 340, - "column": 14 - }, - "identifierName": "buttons" - }, - "name": "buttons", - "leadingComments": null - }, - "operator": "&&", - "right": { + "expression": { "type": "CallExpression", - "start": 12544, - "end": 12583, + "start": 10932, + "end": 11014, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 57 + "line": 288, + "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 12544, - "end": 12557, + "start": 10932, + "end": 10944, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 31 + "line": 288, + "column": 18 } }, "object": { "type": "Identifier", - "start": 12544, - "end": 12549, + "start": 10932, + "end": 10939, "loc": { "start": { - "line": 340, - "column": 18 + "line": 288, + "column": 6 }, "end": { - "line": 340, - "column": 23 + "line": 288, + "column": 13 }, - "identifierName": "Array" + "identifierName": "console" }, - "name": "Array" + "name": "console" }, "property": { "type": "Identifier", - "start": 12550, - "end": 12557, + "start": 10940, + "end": 10944, "loc": { "start": { - "line": 340, - "column": 24 + "line": 288, + "column": 14 }, "end": { - "line": 340, - "column": 31 + "line": 288, + "column": 18 }, - "identifierName": "isArray" + "identifierName": "warn" }, - "name": "isArray" + "name": "warn" }, "computed": false }, "arguments": [ { - "type": "MemberExpression", - "start": 12558, - "end": 12582, + "type": "TemplateLiteral", + "start": 10945, + "end": 11013, "loc": { "start": { - "line": 340, - "column": 32 + "line": 288, + "column": 19 }, "end": { - "line": 340, - "column": 56 + "line": 288, + "column": 87 } }, - "object": { - "type": "MemberExpression", - "start": 12558, - "end": 12570, - "loc": { - "start": { - "line": 340, - "column": 32 - }, - "end": { - "line": 340, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 12558, - "end": 12562, + "expressions": [], + "quasis": [ + { + "type": "TemplateElement", + "start": 10946, + "end": 11012, "loc": { "start": { - "line": 340, - "column": 32 + "line": 288, + "column": 20 }, "end": { - "line": 340, - "column": 36 + "line": 288, + "column": 86 } - } - }, - "property": { - "type": "Identifier", - "start": 12563, - "end": 12570, - "loc": { - "start": { - "line": 340, - "column": 37 - }, - "end": { - "line": 340, - "column": 44 - }, - "identifierName": "options" }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12571, - "end": 12582, - "loc": { - "start": { - "line": 340, - "column": 45 + "value": { + "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", + "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, - "end": { - "line": 340, - "column": 56 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false + "tail": true + } + ] } ] - }, - "leadingComments": null + } }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 12587, - "end": 12618, + { + "type": "ThrowStatement", + "start": 11023, + "end": 11062, "loc": { "start": { - "line": 340, - "column": 61 + "line": 289, + "column": 6 }, "end": { - "line": 340, - "column": 92 + "line": 289, + "column": 45 } }, - "object": { - "type": "MemberExpression", - "start": 12587, - "end": 12611, + "argument": { + "type": "NewExpression", + "start": 11029, + "end": 11061, "loc": { "start": { - "line": 340, - "column": 61 + "line": 289, + "column": 12 }, "end": { - "line": 340, - "column": 85 + "line": 289, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 11033, + "end": 11038, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 289, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11039, + "end": 11060, + "loc": { + "start": { + "line": 289, + "column": 22 + }, + "end": { + "line": 289, + "column": 43 + } + }, + "extra": { + "rawValue": "INSTANCES_VAR_ERROR", + "raw": "\"INSTANCES_VAR_ERROR\"" + }, + "value": "INSTANCES_VAR_ERROR" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 11081, + "end": 11223, + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 294, + "column": 6 + } + }, + "argument": { + "type": "CallExpression", + "start": 11088, + "end": 11223, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 294, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11088, + "end": 11142, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 65 + } + }, + "object": { + "type": "CallExpression", + "start": 11088, + "end": 11134, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11088, + "end": 11099, + "loc": { + "start": { + "line": 292, + "column": 11 + }, + "end": { + "line": 292, + "column": 22 } }, "object": { - "type": "MemberExpression", - "start": 12587, - "end": 12599, + "type": "Identifier", + "start": 11088, + "end": 11094, "loc": { "start": { - "line": 340, - "column": 61 + "line": 292, + "column": 11 }, "end": { - "line": 340, - "column": 73 - } - }, - "object": { - "type": "ThisExpression", - "start": 12587, - "end": 12591, - "loc": { - "start": { - "line": 340, - "column": 61 - }, - "end": { - "line": 340, - "column": 65 - } - } - }, - "property": { - "type": "Identifier", - "start": 12592, - "end": 12599, - "loc": { - "start": { - "line": 340, - "column": 66 - }, - "end": { - "line": 340, - "column": 73 - }, - "identifierName": "options" + "line": 292, + "column": 17 }, - "name": "options" + "identifierName": "Object" }, - "computed": false + "name": "Object" }, "property": { "type": "Identifier", - "start": 12600, - "end": 12611, + "start": 11095, + "end": 11099, "loc": { "start": { - "line": 340, - "column": 74 + "line": 292, + "column": 18 }, "end": { - "line": 340, - "column": 85 + "line": 292, + "column": 22 }, - "identifierName": "buttonTheme" + "identifierName": "keys" }, - "name": "buttonTheme" + "name": "keys" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 12612, - "end": 12618, - "loc": { - "start": { - "line": 340, - "column": 86 - }, - "end": { - "line": 340, - "column": 92 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 12619, - "end": 13615, - "loc": { - "start": { - "line": 340, - "column": 93 - }, - "end": { - "line": 372, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 12628, - "end": 12665, - "loc": { - "start": { - "line": 341, - "column": 6 - }, - "end": { - "line": 341, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 12632, - "end": 12664, - "loc": { - "start": { - "line": 341, - "column": 10 - }, - "end": { - "line": 341, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 12632, - "end": 12643, - "loc": { - "start": { - "line": 341, - "column": 10 - }, - "end": { - "line": 341, - "column": 21 - }, - "identifierName": "buttonArray" - }, - "name": "buttonArray" - }, - "init": { - "type": "CallExpression", - "start": 12646, - "end": 12664, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12646, - "end": 12659, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 12646, - "end": 12653, - "loc": { - "start": { - "line": 341, - "column": 24 - }, - "end": { - "line": 341, - "column": 31 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "property": { - "type": "Identifier", - "start": 12654, - "end": 12659, - "loc": { - "start": { - "line": 341, - "column": 32 - }, - "end": { - "line": 341, - "column": 37 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 12660, - "end": 12663, - "loc": { - "start": { - "line": 341, - "column": 38 - }, - "end": { - "line": 341, - "column": 41 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 12673, - "end": 13584, - "loc": { - "start": { - "line": 342, - "column": 6 - }, - "end": { - "line": 369, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 12673, - "end": 13583, + "arguments": [ + { + "type": "MemberExpression", + "start": 11100, + "end": 11133, "loc": { "start": { - "line": 342, - "column": 6 + "line": 292, + "column": 23 }, "end": { - "line": 369, - "column": 8 + "line": 292, + "column": 56 } }, - "callee": { - "type": "MemberExpression", - "start": 12673, - "end": 12692, + "object": { + "type": "Identifier", + "start": 11100, + "end": 11106, "loc": { "start": { - "line": 342, + "line": 292, + "column": 23 + }, + "end": { + "line": 292, + "column": 29 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 11107, + "end": 11132, + "loc": { + "start": { + "line": 292, + "column": 30 + }, + "end": { + "line": 292, + "column": 55 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + } + ] + }, + "property": { + "type": "Identifier", + "start": 11135, + "end": 11142, + "loc": { + "start": { + "line": 292, + "column": 58 + }, + "end": { + "line": 292, + "column": 65 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11143, + "end": 11222, + "loc": { + "start": { + "line": 292, + "column": 66 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11144, + "end": 11147, + "loc": { + "start": { + "line": 292, + "column": 67 + }, + "end": { + "line": 292, + "column": 70 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 11152, + "end": 11222, + "loc": { + "start": { + "line": 292, + "column": 75 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11161, + "end": 11215, + "loc": { + "start": { + "line": 293, "column": 6 }, "end": { - "line": 342, - "column": 25 + "line": 293, + "column": 60 } }, - "object": { - "type": "Identifier", - "start": 12673, - "end": 12684, + "expression": { + "type": "CallExpression", + "start": 11161, + "end": 11214, "loc": { "start": { - "line": 342, + "line": 293, "column": 6 }, "end": { - "line": 342, - "column": 17 - }, - "identifierName": "buttonArray" - }, - "name": "buttonArray" - }, - "property": { - "type": "Identifier", - "start": 12685, - "end": 12692, - "loc": { - "start": { - "line": 342, - "column": 18 - }, - "end": { - "line": 342, - "column": 25 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 12693, - "end": 13582, - "loc": { - "start": { - "line": 342, - "column": 26 - }, - "end": { - "line": 369, - "column": 7 + "line": 293, + "column": 59 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "callee": { + "type": "Identifier", + "start": 11161, + "end": 11169, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 14 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "arguments": [ { - "type": "Identifier", - "start": 12694, - "end": 12700, + "type": "MemberExpression", + "start": 11170, + "end": 11208, "loc": { "start": { - "line": 342, - "column": 27 + "line": 293, + "column": 15 }, "end": { - "line": 342, - "column": 33 - }, - "identifierName": "button" + "line": 293, + "column": 53 + } }, - "name": "button" + "object": { + "type": "MemberExpression", + "start": 11170, + "end": 11203, + "loc": { + "start": { + "line": 293, + "column": 15 + }, + "end": { + "line": 293, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 11170, + "end": 11176, + "loc": { + "start": { + "line": 293, + "column": 15 + }, + "end": { + "line": 293, + "column": 21 + }, + "identifierName": "window" + }, + "name": "window" + }, + "property": { + "type": "StringLiteral", + "start": 11177, + "end": 11202, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 47 + } + }, + "extra": { + "rawValue": "SimpleKeyboardInstances", + "raw": "'SimpleKeyboardInstances'" + }, + "value": "SimpleKeyboardInstances" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 11204, + "end": 11207, + "loc": { + "start": { + "line": 293, + "column": 49 + }, + "end": { + "line": 293, + "column": 52 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true }, { "type": "Identifier", - "start": 12702, - "end": 12705, + "start": 11210, + "end": 11213, "loc": { "start": { - "line": 342, - "column": 35 + "line": 293, + "column": 55 }, "end": { - "line": 342, - "column": 38 + "line": 293, + "column": 58 }, "identifierName": "key" }, "name": "key" } - ], - "body": { - "type": "BlockStatement", - "start": 12710, - "end": 13582, + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", + "start": 10651, + "end": 10856, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 285, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 11234, + "end": 11515, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 301, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 11519, + "end": 12751, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 345, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11519, + "end": 11533, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 16 + }, + "identifierName": "addButtonTheme" + }, + "name": "addButtonTheme", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11534, + "end": 11541, + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 24 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + { + "type": "Identifier", + "start": 11543, + "end": 11552, + "loc": { + "start": { + "line": 302, + "column": 26 + }, + "end": { + "line": 302, + "column": 35 + }, + "identifierName": "className" + }, + "name": "className" + } + ], + "body": { + "type": "BlockStatement", + "start": 11553, + "end": 12751, + "loc": { + "start": { + "line": 302, + "column": 36 + }, + "end": { + "line": 345, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 11560, + "end": 11607, + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 304, + "column": 19 + } + }, + "test": { + "type": "LogicalExpression", + "start": 11563, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 7 + }, + "end": { + "line": 303, + "column": 29 + } + }, + "left": { + "type": "UnaryExpression", + "start": 11563, + "end": 11573, + "loc": { + "start": { + "line": 303, + "column": 7 + }, + "end": { + "line": 303, + "column": 17 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 11564, + "end": 11573, + "loc": { + "start": { + "line": 303, + "column": 8 + }, + "end": { + "line": 303, + "column": 17 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "UnaryExpression", + "start": 11577, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 21 + }, + "end": { + "line": 303, + "column": 29 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 11578, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 22 + }, + "end": { + "line": 303, + "column": 29 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 11594, + "end": 11607, + "loc": { + "start": { + "line": 304, + "column": 6 + }, + "end": { + "line": 304, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 11601, + "end": 11606, + "loc": { + "start": { + "line": 304, + "column": 13 + }, + "end": { + "line": 304, + "column": 18 + } + }, + "value": false + } + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 11615, + "end": 12724, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 342, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 11615, + "end": 12723, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 342, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11615, + "end": 11641, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 11615, + "end": 11633, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11615, + "end": 11628, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 11615, + "end": 11622, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 11 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "property": { + "type": "Identifier", + "start": 11623, + "end": 11628, + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 17 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11629, + "end": 11632, + "loc": { + "start": { + "line": 306, + "column": 18 + }, + "end": { + "line": 306, + "column": 21 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 11634, + "end": 11641, + "loc": { + "start": { + "line": 306, + "column": 23 + }, + "end": { + "line": 306, + "column": 30 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11642, + "end": 12722, + "loc": { + "start": { + "line": 306, + "column": 31 + }, + "end": { + "line": 342, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11642, + "end": 11648, + "loc": { + "start": { + "line": 306, + "column": 31 + }, + "end": { + "line": 306, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 11652, + "end": 12722, + "loc": { + "start": { + "line": 306, + "column": 41 + }, + "end": { + "line": 342, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11661, + "end": 12715, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 341, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 11661, + "end": 12714, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 341, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11661, + "end": 11689, "loc": { "start": { - "line": 342, - "column": 43 + "line": 307, + "column": 6 }, "end": { - "line": 369, - "column": 7 + "line": 307, + "column": 34 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12721, - "end": 13573, + "object": { + "type": "CallExpression", + "start": 11661, + "end": 11681, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 307, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11661, + "end": 11676, "loc": { "start": { - "line": 343, - "column": 8 + "line": 307, + "column": 6 }, "end": { - "line": 368, - "column": 11 + "line": 307, + "column": 21 } }, - "expression": { - "type": "CallExpression", - "start": 12721, - "end": 13572, + "object": { + "type": "Identifier", + "start": 11661, + "end": 11670, "loc": { "start": { - "line": 343, - "column": 8 + "line": 307, + "column": 6 }, "end": { - "line": 368, - "column": 10 + "line": 307, + "column": 15 + }, + "identifierName": "className" + }, + "name": "className" + }, + "property": { + "type": "Identifier", + "start": 11671, + "end": 11676, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 21 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11677, + "end": 11680, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 12721, - "end": 12749, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 11682, + "end": 11689, + "loc": { + "start": { + "line": 307, + "column": 27 + }, + "end": { + "line": 307, + "column": 34 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11690, + "end": 12713, + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 341, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11690, + "end": 11703, + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 307, + "column": 48 + }, + "identifierName": "classNameItem" + }, + "name": "classNameItem" + } + ], + "body": { + "type": "BlockStatement", + "start": 11707, + "end": 12713, + "loc": { + "start": { + "line": 307, + "column": 52 + }, + "end": { + "line": 341, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 11718, + "end": 11789, "loc": { "start": { - "line": 343, + "line": 308, "column": 8 }, "end": { - "line": 343, - "column": 36 + "line": 309, + "column": 40 } }, - "object": { - "type": "MemberExpression", - "start": 12721, - "end": 12745, + "test": { + "type": "UnaryExpression", + "start": 11721, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 11 }, "end": { - "line": 343, - "column": 32 + "line": 308, + "column": 36 } }, - "object": { + "operator": "!", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 12721, - "end": 12733, + "start": 11722, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 12 }, "end": { - "line": 343, - "column": 20 + "line": 308, + "column": 36 } }, "object": { - "type": "ThisExpression", - "start": 12721, - "end": 12725, + "type": "MemberExpression", + "start": 11722, + "end": 11734, "loc": { "start": { - "line": 343, - "column": 8 + "line": 308, + "column": 12 }, "end": { - "line": 343, - "column": 12 + "line": 308, + "column": 24 } - } + }, + "object": { + "type": "ThisExpression", + "start": 11722, + "end": 11726, + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 11727, + "end": 11734, + "loc": { + "start": { + "line": 308, + "column": 17 + }, + "end": { + "line": 308, + "column": 24 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 12726, - "end": 12733, + "start": 11735, + "end": 11746, "loc": { "start": { - "line": 343, - "column": 13 + "line": 308, + "column": 25 }, "end": { - "line": 343, - "column": 20 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12734, - "end": 12745, - "loc": { - "start": { - "line": 343, - "column": 21 - }, - "end": { - "line": 343, - "column": 32 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12746, - "end": 12749, - "loc": { - "start": { - "line": 343, - "column": 33 - }, - "end": { - "line": 343, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 12750, - "end": 13571, - "loc": { - "start": { - "line": 343, - "column": 37 - }, - "end": { - "line": 368, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 12751, - "end": 12762, - "loc": { - "start": { - "line": 343, - "column": 38 - }, - "end": { - "line": 343, - "column": 49 + "line": 308, + "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, - { - "type": "Identifier", - "start": 12764, - "end": 12769, - "loc": { - "start": { - "line": 343, - "column": 51 - }, - "end": { - "line": 343, - "column": 56 - }, - "identifierName": "index" - }, - "name": "index" + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 11759, + "end": 11789, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 40 } - ], - "body": { - "type": "BlockStatement", - "start": 12774, - "end": 13571, + }, + "expression": { + "type": "AssignmentExpression", + "start": 11759, + "end": 11788, "loc": { "start": { - "line": 343, - "column": 61 + "line": 309, + "column": 10 }, "end": { - "line": 368, - "column": 9 + "line": 309, + "column": 39 } }, - "body": [ - { - "type": "IfStatement", - "start": 12942, - "end": 13527, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 11759, + "end": 11783, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 11759, + "end": 11771, "loc": { "start": { - "line": 349, + "line": 309, "column": 10 }, "end": { - "line": 365, - "column": 11 + "line": 309, + "column": 22 } }, - "test": { - "type": "LogicalExpression", - "start": 12959, - "end": 13038, + "object": { + "type": "ThisExpression", + "start": 11759, + "end": 11763, "loc": { "start": { - "line": 350, - "column": 12 + "line": 309, + "column": 10 }, "end": { - "line": 351, + "line": 309, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 11764, + "end": 11771, + "loc": { + "start": { + "line": 309, + "column": 15 + }, + "end": { + "line": 309, "column": 22 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11772, + "end": 11783, + "loc": { + "start": { + "line": 309, + "column": 23 + }, + "end": { + "line": 309, + "column": 34 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 11786, + "end": 11788, + "loc": { + "start": { + "line": 309, + "column": 37 + }, + "end": { + "line": 309, + "column": 39 + } + }, + "elements": [] + } + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 11801, + "end": 11828, + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11805, + "end": 11827, + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 11805, + "end": 11819, + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "init": { + "type": "BooleanLiteral", + "start": 11822, + "end": 11827, + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 34 + } + }, + "value": false + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 11842, + "end": 11933, + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 315, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 11943, + "end": 12451, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 329, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 11943, + "end": 12450, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 329, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11943, + "end": 11971, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 11943, + "end": 11967, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 11943, + "end": 11955, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 11943, + "end": 11947, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 } }, - "left": { - "type": "LogicalExpression", - "start": 12960, - "end": 13010, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11948, + "end": 11955, + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 20 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11956, + "end": 11967, + "loc": { + "start": { + "line": 316, + "column": 21 + }, + "end": { + "line": 316, + "column": 32 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11968, + "end": 11971, + "loc": { + "start": { + "line": 316, + "column": 33 + }, + "end": { + "line": 316, + "column": 36 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11972, + "end": 12449, + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 329, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11972, + "end": 11983, + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 316, + "column": 48 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + } + ], + "body": { + "type": "BlockStatement", + "start": 11987, + "end": 12449, + "loc": { + "start": { + "line": 316, + "column": 52 + }, + "end": { + "line": 329, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 12002, + "end": 12407, "loc": { "start": { - "line": 350, - "column": 13 + "line": 318, + "column": 10 }, "end": { - "line": 350, - "column": 63 + "line": 327, + "column": 11 } }, - "left": { - "type": "Identifier", - "start": 12960, - "end": 12969, + "test": { + "type": "CallExpression", + "start": 12005, + "end": 12057, "loc": { "start": { - "line": 350, + "line": 318, "column": 13 }, "end": { - "line": 350, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className", - "leadingComments": null - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 12973, - "end": 13010, - "loc": { - "start": { - "line": 350, - "column": 26 - }, - "end": { - "line": 350, - "column": 63 + "line": 318, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12973, - "end": 12991, + "start": 12005, + "end": 12042, "loc": { "start": { - "line": 350, - "column": 26 + "line": 318, + "column": 13 }, "end": { - "line": 350, - "column": 44 + "line": 318, + "column": 50 } }, "object": { - "type": "Identifier", - "start": 12973, - "end": 12982, + "type": "CallExpression", + "start": 12005, + "end": 12033, "loc": { "start": { - "line": 350, - "column": 26 + "line": 318, + "column": 13 }, "end": { - "line": 350, - "column": 35 - }, - "identifierName": "className" + "line": 318, + "column": 41 + } }, - "name": "className" + "callee": { + "type": "MemberExpression", + "start": 12005, + "end": 12028, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 12005, + "end": 12022, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 12005, + "end": 12016, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 24 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 12017, + "end": 12022, + "loc": { + "start": { + "line": 318, + "column": 25 + }, + "end": { + "line": 318, + "column": 30 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12023, + "end": 12028, + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 36 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12029, + "end": 12032, + "loc": { + "start": { + "line": 318, + "column": 37 + }, + "end": { + "line": 318, + "column": 40 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] }, "property": { "type": "Identifier", - "start": 12983, - "end": 12991, + "start": 12034, + "end": 12042, "loc": { "start": { - "line": 350, - "column": 36 + "line": 318, + "column": 42 }, "end": { - "line": 350, - "column": 44 + "line": 318, + "column": 50 }, "identifierName": "includes" }, @@ -44798,246 +49201,203 @@ }, "arguments": [ { - "type": "MemberExpression", - "start": 12992, - "end": 13009, + "type": "Identifier", + "start": 12043, + "end": 12056, "loc": { "start": { - "line": 350, - "column": 45 + "line": 318, + "column": 51 }, "end": { - "line": 350, - "column": 62 - } - }, - "object": { - "type": "Identifier", - "start": 12992, - "end": 13003, - "loc": { - "start": { - "line": 350, - "column": 45 - }, - "end": { - "line": 350, - "column": 56 - }, - "identifierName": "buttonTheme" + "line": 318, + "column": 64 }, - "name": "buttonTheme" + "identifierName": "classNameItem" }, - "property": { - "type": "Identifier", - "start": 13004, - "end": 13009, - "loc": { - "start": { - "line": 350, - "column": 57 - }, - "end": { - "line": 350, - "column": 62 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false + "name": "classNameItem" } ] }, - "leadingComments": null, - "extra": { - "parenthesized": true, - "parenStart": 12959 - } - }, - "operator": "||", - "right": { - "type": "UnaryExpression", - "start": 13028, - "end": 13038, - "loc": { - "start": { - "line": 351, - "column": 12 - }, - "end": { - "line": 351, - "column": 22 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 13029, - "end": 13038, + "consequent": { + "type": "BlockStatement", + "start": 12058, + "end": 12407, "loc": { "start": { - "line": 351, - "column": 13 + "line": 318, + "column": 66 }, "end": { - "line": 351, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13051, - "end": 13527, - "loc": { - "start": { - "line": 352, - "column": 11 - }, - "end": { - "line": 365, - "column": 11 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 13066, - "end": 13155, - "loc": { - "start": { - "line": 353, - "column": 12 - }, - "end": { - "line": 353, - "column": 101 + "line": 327, + "column": 11 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 13070, - "end": 13154, + "type": "ExpressionStatement", + "start": 12073, + "end": 12095, "loc": { "start": { - "line": 353, - "column": 16 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 100 + "line": 319, + "column": 34 } }, - "id": { - "type": "Identifier", - "start": 13070, - "end": 13089, + "expression": { + "type": "AssignmentExpression", + "start": 12073, + "end": 12094, "loc": { "start": { - "line": 353, - "column": 16 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 35 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray" - }, - "init": { - "type": "CallExpression", - "start": 13092, - "end": 13154, - "loc": { - "start": { - "line": 353, - "column": 38 - }, - "end": { - "line": 353, - "column": 100 + "line": 319, + "column": 33 } }, - "callee": { - "type": "MemberExpression", - "start": 13092, - "end": 13129, + "operator": "=", + "left": { + "type": "Identifier", + "start": 12073, + "end": 12087, "loc": { "start": { - "line": 353, - "column": 38 + "line": 319, + "column": 12 }, "end": { - "line": 353, - "column": 75 + "line": 319, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "right": { + "type": "BooleanLiteral", + "start": 12090, + "end": 12094, + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 33 } }, - "object": { - "type": "CallExpression", - "start": 13092, - "end": 13122, + "value": true + } + } + }, + { + "type": "VariableDeclaration", + "start": 12123, + "end": 12177, + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 66 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12127, + "end": 12176, + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 65 + } + }, + "id": { + "type": "Identifier", + "start": 12127, + "end": 12143, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 16 }, "end": { - "line": 353, - "column": 68 + "line": 321, + "column": 32 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "init": { + "type": "CallExpression", + "start": 12146, + "end": 12176, + "loc": { + "start": { + "line": 321, + "column": 35 + }, + "end": { + "line": 321, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13092, - "end": 13117, + "start": 12146, + "end": 12171, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 63 + "line": 321, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 13092, - "end": 13111, + "start": 12146, + "end": 12165, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 57 + "line": 321, + "column": 54 } }, "object": { "type": "Identifier", - "start": 13092, - "end": 13103, + "start": 12146, + "end": 12157, "loc": { "start": { - "line": 353, - "column": 38 + "line": 321, + "column": 35 }, "end": { - "line": 353, - "column": 49 + "line": 321, + "column": 46 }, "identifierName": "buttonTheme" }, @@ -45045,16 +49405,16 @@ }, "property": { "type": "Identifier", - "start": 13104, - "end": 13111, + "start": 12158, + "end": 12165, "loc": { "start": { - "line": 353, - "column": 50 + "line": 321, + "column": 47 }, "end": { - "line": 353, - "column": 57 + "line": 321, + "column": 54 }, "identifierName": "buttons" }, @@ -45064,16 +49424,16 @@ }, "property": { "type": "Identifier", - "start": 13112, - "end": 13117, + "start": 12166, + "end": 12171, "loc": { "start": { - "line": 353, - "column": 58 + "line": 321, + "column": 55 }, "end": { - "line": 353, - "column": 63 + "line": 321, + "column": 60 }, "identifierName": "split" }, @@ -45084,394 +49444,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13118, - "end": 13121, + "start": 12172, + "end": 12175, "loc": { "start": { - "line": 353, - "column": 64 - }, - "end": { - "line": 353, - "column": 67 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - "property": { - "type": "Identifier", - "start": 13123, - "end": 13129, - "loc": { - "start": { - "line": 353, - "column": 69 - }, - "end": { - "line": 353, - "column": 75 - }, - "identifierName": "filter" - }, - "name": "filter" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 13130, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 76 - }, - "end": { - "line": 353, - "column": 99 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 13130, - "end": 13134, - "loc": { - "start": { - "line": 353, - "column": 76 - }, - "end": { - "line": 353, - "column": 80 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BinaryExpression", - "start": 13138, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 84 - }, - "end": { - "line": 353, - "column": 99 - } - }, - "left": { - "type": "Identifier", - "start": 13138, - "end": 13142, - "loc": { - "start": { - "line": 353, - "column": 84 - }, - "end": { - "line": 353, - "column": 88 - }, - "identifierName": "item" - }, - "name": "item" - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 13147, - "end": 13153, - "loc": { - "start": { - "line": 353, - "column": 93 - }, - "end": { - "line": 353, - "column": 99 - }, - "identifierName": "button" - }, - "name": "button" - } - } - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, - "loc": { - "start": { - "line": 355, - "column": 12 - }, - "end": { - "line": 357, - "column": 15 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 13282, - "end": 13511, - "loc": { - "start": { - "line": 358, - "column": 12 - }, - "end": { - "line": 363, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 13285, - "end": 13311, - "loc": { - "start": { - "line": 358, - "column": 15 - }, - "end": { - "line": 358, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 13285, - "end": 13304, - "loc": { - "start": { - "line": 358, - "column": 15 - }, - "end": { - "line": 358, - "column": 34 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 13305, - "end": 13311, - "loc": { - "start": { - "line": 358, - "column": 35 - }, - "end": { - "line": 358, - "column": 41 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13312, - "end": 13396, - "loc": { - "start": { - "line": 358, - "column": 42 - }, - "end": { - "line": 360, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13329, - "end": 13381, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 66 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13329, - "end": 13380, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 65 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13329, - "end": 13348, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 13329, - "end": 13340, - "loc": { - "start": { - "line": 359, - "column": 14 - }, - "end": { - "line": 359, - "column": 25 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "property": { - "type": "Identifier", - "start": 13341, - "end": 13348, - "loc": { - "start": { - "line": 359, - "column": 26 - }, - "end": { - "line": 359, - "column": 33 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 13351, - "end": 13380, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 13351, - "end": 13375, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 13351, - "end": 13370, - "loc": { - "start": { - "line": 359, - "column": 36 - }, - "end": { - "line": 359, - "column": 55 - }, - "identifierName": "filteredButtonArray" - }, - "name": "filteredButtonArray" - }, - "property": { - "type": "Identifier", - "start": 13371, - "end": 13375, - "loc": { - "start": { - "line": 359, - "column": 56 - }, - "end": { - "line": 359, - "column": 60 - }, - "identifierName": "join" - }, - "name": "join" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 13376, - "end": 13379, - "loc": { - "start": { - "line": 359, + "line": 321, "column": 61 }, "end": { - "line": 359, + "line": 321, "column": 64 } }, @@ -45484,1958 +49465,1027 @@ ] } } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 13402, - "end": 13511, - "loc": { - "start": { - "line": 360, - "column": 19 - }, - "end": { - "line": 363, - "column": 13 - } + ], + "kind": "let" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13419, - "end": 13461, + { + "type": "IfStatement", + "start": 12191, + "end": 12394, + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 326, + "column": 13 + } + }, + "test": { + "type": "UnaryExpression", + "start": 12194, + "end": 12228, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 15 }, "end": { - "line": 361, - "column": 56 + "line": 322, + "column": 49 } }, - "expression": { + "operator": "!", + "prefix": true, + "argument": { "type": "CallExpression", - "start": 13419, - "end": 13460, + "start": 12195, + "end": 12228, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 55 + "line": 322, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13419, - "end": 13450, + "start": 12195, + "end": 12220, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 45 + "line": 322, + "column": 41 } }, "object": { - "type": "MemberExpression", - "start": 13419, - "end": 13443, + "type": "Identifier", + "start": 12195, + "end": 12211, "loc": { "start": { - "line": 361, - "column": 14 + "line": 322, + "column": 16 }, "end": { - "line": 361, - "column": 38 - } + "line": 322, + "column": 32 + }, + "identifierName": "buttonThemeArray" }, - "object": { - "type": "MemberExpression", - "start": 13419, - "end": 13431, - "loc": { - "start": { - "line": 361, - "column": 14 - }, - "end": { - "line": 361, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 13419, - "end": 13423, - "loc": { - "start": { - "line": 361, - "column": 14 - }, - "end": { - "line": 361, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 13424, - "end": 13431, - "loc": { - "start": { - "line": 361, - "column": 19 - }, - "end": { - "line": 361, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13432, - "end": 13443, - "loc": { - "start": { - "line": 361, - "column": 27 - }, - "end": { - "line": 361, - "column": 38 - }, - "identifierName": "buttonTheme" - }, - "name": "buttonTheme" - }, - "computed": false + "name": "buttonThemeArray" }, "property": { "type": "Identifier", - "start": 13444, - "end": 13450, + "start": 12212, + "end": 12220, "loc": { "start": { - "line": 361, - "column": 39 + "line": 322, + "column": 33 }, "end": { - "line": 361, - "column": 45 + "line": 322, + "column": 41 }, - "identifierName": "splice" + "identifierName": "includes" }, - "name": "splice" + "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 13451, - "end": 13456, + "start": 12221, + "end": 12227, "loc": { "start": { - "line": 361, - "column": 46 + "line": 322, + "column": 42 }, "end": { - "line": 361, - "column": 51 + "line": 322, + "column": 48 }, - "identifierName": "index" + "identifierName": "button" }, - "name": "index" - }, - { - "type": "NumericLiteral", - "start": 13458, - "end": 13459, - "loc": { - "start": { - "line": 361, - "column": 53 - }, - "end": { - "line": 361, - "column": 54 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "name": "button" } ] + }, + "extra": { + "parenthesizedArgument": false } }, - { - "type": "ExpressionStatement", - "start": 13477, - "end": 13496, + "consequent": { + "type": "BlockStatement", + "start": 12229, + "end": 12394, "loc": { "start": { - "line": 362, - "column": 14 + "line": 322, + "column": 50 }, "end": { - "line": 362, - "column": 33 + "line": 326, + "column": 13 } }, - "expression": { - "type": "AssignmentExpression", - "start": 13477, - "end": 13495, - "loc": { - "start": { - "line": 362, - "column": 14 - }, - "end": { - "line": 362, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13477, - "end": 13488, + "body": [ + { + "type": "ExpressionStatement", + "start": 12246, + "end": 12268, "loc": { "start": { - "line": 362, + "line": 323, "column": 14 }, "end": { - "line": 362, - "column": 25 - }, - "identifierName": "buttonTheme" + "line": 323, + "column": 36 + } }, - "name": "buttonTheme" + "expression": { + "type": "AssignmentExpression", + "start": 12246, + "end": 12267, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 12246, + "end": 12260, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 28 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound" + }, + "right": { + "type": "BooleanLiteral", + "start": 12263, + "end": 12267, + "loc": { + "start": { + "line": 323, + "column": 31 + }, + "end": { + "line": 323, + "column": 35 + } + }, + "value": true + } + } }, - "right": { - "type": "NullLiteral", - "start": 13491, - "end": 13495, + { + "type": "ExpressionStatement", + "start": 12284, + "end": 12314, "loc": { "start": { - "line": 362, - "column": 28 + "line": 324, + "column": 14 }, "end": { - "line": 362, - "column": 32 + "line": 324, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 12284, + "end": 12313, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12284, + "end": 12305, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 12284, + "end": 12300, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 30 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "property": { + "type": "Identifier", + "start": 12301, + "end": 12305, + "loc": { + "start": { + "line": 324, + "column": 31 + }, + "end": { + "line": 324, + "column": 35 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 12306, + "end": 12312, + "loc": { + "start": { + "line": 324, + "column": 36 + }, + "end": { + "line": 324, + "column": 42 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12330, + "end": 12379, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 12330, + "end": 12378, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 12330, + "end": 12349, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 12330, + "end": 12341, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 12342, + "end": 12349, + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 33 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 12352, + "end": 12378, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12352, + "end": 12373, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 12352, + "end": 12368, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 52 + }, + "identifierName": "buttonThemeArray" + }, + "name": "buttonThemeArray" + }, + "property": { + "type": "Identifier", + "start": 12369, + "end": 12373, + "loc": { + "start": { + "line": 325, + "column": 53 + }, + "end": { + "line": 325, + "column": 57 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12374, + "end": 12377, + "loc": { + "start": { + "line": 325, + "column": 58 + }, + "end": { + "line": 325, + "column": 61 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] } } } - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, - "loc": { - "start": { - "line": 355, - "column": 12 - }, - "end": { - "line": 357, - "column": 15 - } - } + ], + "directives": [] + }, + "alternate": null } - ] - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ + ], + "directives": [] + }, + "alternate": null + }, { - "type": "CommentBlock", - "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 12789, - "end": 12930, + "type": "ReturnStatement", + "start": 12419, + "end": 12438, "loc": { "start": { - "line": 345, + "line": 328, "column": 10 }, "end": { - "line": 348, - "column": 13 + "line": 328, + "column": 29 } + }, + "argument": { + "type": "Identifier", + "start": 12426, + "end": 12437, + "loc": { + "start": { + "line": 328, + "column": 17 + }, + "end": { + "line": 328, + "column": 28 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" } } - ] + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 11842, + "end": 11933, + "loc": { + "start": { + "line": 313, + "column": 8 }, - { - "type": "ReturnStatement", - "start": 13541, - "end": 13560, + "end": { + "line": 315, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 12463, + "end": 12538, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 333, + "column": 11 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 12548, + "end": 12702, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 339, + "column": 9 + } + }, + "test": { + "type": "UnaryExpression", + "start": 12551, + "end": 12566, + "loc": { + "start": { + "line": 334, + "column": 11 + }, + "end": { + "line": 334, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 12552, + "end": 12566, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 26 + }, + "identifierName": "classNameFound" + }, + "name": "classNameFound", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 12567, + "end": 12702, + "loc": { + "start": { + "line": 334, + "column": 27 + }, + "end": { + "line": 339, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12580, + "end": 12691, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 338, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 12580, + "end": 12690, "loc": { "start": { - "line": 367, + "line": 335, "column": 10 }, "end": { - "line": 367, - "column": 29 + "line": 338, + "column": 12 } }, - "argument": { - "type": "Identifier", - "start": 13548, - "end": 13559, + "callee": { + "type": "MemberExpression", + "start": 12580, + "end": 12609, "loc": { "start": { - "line": 367, - "column": 17 + "line": 335, + "column": 10 }, "end": { - "line": 367, - "column": 28 - }, - "identifierName": "buttonTheme" + "line": 335, + "column": 39 + } }, - "name": "buttonTheme" - } + "object": { + "type": "MemberExpression", + "start": 12580, + "end": 12604, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 12580, + "end": 12592, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 12580, + "end": 12584, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 12585, + "end": 12592, + "loc": { + "start": { + "line": 335, + "column": 15 + }, + "end": { + "line": 335, + "column": 22 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12593, + "end": 12604, + "loc": { + "start": { + "line": 335, + "column": 23 + }, + "end": { + "line": 335, + "column": 34 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12605, + "end": 12609, + "loc": { + "start": { + "line": 335, + "column": 35 + }, + "end": { + "line": 335, + "column": 39 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 12610, + "end": 12689, + "loc": { + "start": { + "line": 335, + "column": 40 + }, + "end": { + "line": 338, + "column": 11 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 12625, + "end": 12645, + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12625, + "end": 12630, + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 17 + }, + "identifierName": "class" + }, + "name": "class" + }, + "value": { + "type": "Identifier", + "start": 12632, + "end": 12645, + "loc": { + "start": { + "line": 336, + "column": 19 + }, + "end": { + "line": 336, + "column": 32 + }, + "identifierName": "classNameItem" + }, + "name": "classNameItem" + } + }, + { + "type": "ObjectProperty", + "start": 12660, + "end": 12676, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12660, + "end": 12667, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 19 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "value": { + "type": "Identifier", + "start": 12669, + "end": 12676, + "loc": { + "start": { + "line": 337, + "column": 21 + }, + "end": { + "line": 337, + "column": 28 + }, + "identifierName": "buttons" + }, + "name": "buttons" + } + } + ] + } + ] } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 12463, + "end": 12538, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 333, + "column": 11 + } + } } - } - ] - } + ] + } + ], + "directives": [] } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 13594, - "end": 13608, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 13594, - "end": 13607, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 13594, - "end": 13605, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 13594, - "end": 13598, - "loc": { - "start": { - "line": 371, - "column": 6 - }, - "end": { - "line": 371, - "column": 10 } - } - }, - "property": { - "type": "Identifier", - "start": 13599, - "end": 13605, - "loc": { - "start": { - "line": 371, - "column": 11 - }, - "end": { - "line": 371, - "column": 17 - }, - "identifierName": "render" - }, - "name": "render" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 339, - "column": 7 - } + ] + } + } + ], + "directives": [] } } ] } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, - "loc": { - "start": { - "line": 322, - "column": 2 - }, - "end": { - "line": 326, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, - "loc": { - "start": { - "line": 375, - "column": 2 - }, - "end": { - "line": 378, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 13833, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 2 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 13833, - "end": 13849, - "loc": { - "start": { - "line": 379, - "column": 2 }, - "end": { - "line": 379, - "column": 18 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 13852, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 21 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ { - "type": "Identifier", - "start": 13853, - "end": 13859, + "type": "ExpressionStatement", + "start": 12732, + "end": 12746, "loc": { "start": { - "line": 379, - "column": 22 + "line": 344, + "column": 4 }, "end": { - "line": 379, - "column": 28 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 13864, - "end": 14107, - "loc": { - "start": { - "line": 379, - "column": 33 - }, - "end": { - "line": 392, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 13871, - "end": 13882, - "loc": { - "start": { - "line": 380, - "column": 4 - }, - "end": { - "line": 380, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13875, - "end": 13881, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 13875, - "end": 13881, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 13890, - "end": 13934, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 382, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13894, - "end": 13933, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 13894, - "end": 13903, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 17 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "init": { - "type": "MemberExpression", - "start": 13906, - "end": 13933, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 47 - } - }, - "object": { - "type": "MemberExpression", - "start": 13906, - "end": 13925, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 13906, - "end": 13910, - "loc": { - "start": { - "line": 382, - "column": 20 - }, - "end": { - "line": 382, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 13911, - "end": 13925, - "loc": { - "start": { - "line": 382, - "column": 25 - }, - "end": { - "line": 382, - "column": 39 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13926, - "end": 13932, - "loc": { - "start": { - "line": 382, - "column": 40 - }, - "end": { - "line": 382, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 13940, - "end": 14080, - "loc": { - "start": { - "line": 383, - "column": 4 - }, - "end": { - "line": 389, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 13943, - "end": 13952, - "loc": { - "start": { - "line": 383, - "column": 7 - }, - "end": { - "line": 383, - "column": 16 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "consequent": { - "type": "BlockStatement", - "start": 13953, - "end": 14080, - "loc": { - "start": { - "line": 383, - "column": 17 - }, - "end": { - "line": 389, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 13962, - "end": 14073, - "loc": { - "start": { - "line": 384, - "column": 6 - }, - "end": { - "line": 388, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 13965, - "end": 13985, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 29 - } - }, - "left": { - "type": "MemberExpression", - "start": 13965, - "end": 13981, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 13965, - "end": 13974, - "loc": { - "start": { - "line": 384, - "column": 9 - }, - "end": { - "line": 384, - "column": 18 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "property": { - "type": "Identifier", - "start": 13975, - "end": 13981, - "loc": { - "start": { - "line": 384, - "column": 19 - }, - "end": { - "line": 384, - "column": 25 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 13984, - "end": 13985, - "loc": { - "start": { - "line": 384, - "column": 28 - }, - "end": { - "line": 384, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 13986, - "end": 14025, - "loc": { - "start": { - "line": 384, - "column": 30 - }, - "end": { - "line": 386, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13997, - "end": 14016, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13997, - "end": 14015, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13997, - "end": 14003, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "Identifier", - "start": 14006, - "end": 14015, - "loc": { - "start": { - "line": 385, - "column": 17 - }, - "end": { - "line": 385, - "column": 26 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 14031, - "end": 14073, - "loc": { - "start": { - "line": 386, - "column": 13 - }, - "end": { - "line": 388, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14042, - "end": 14064, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 14042, - "end": 14063, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 14042, - "end": 14048, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 14051, - "end": 14063, - "loc": { - "start": { - "line": 387, - "column": 17 - }, - "end": { - "line": 387, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14051, - "end": 14060, - "loc": { - "start": { - "line": 387, - "column": 17 - }, - "end": { - "line": 387, - "column": 26 - }, - "identifierName": "buttonArr" - }, - "name": "buttonArr" - }, - "property": { - "type": "NumericLiteral", - "start": 14061, - "end": 14062, - "loc": { - "start": { - "line": 387, - "column": 27 - }, - "end": { - "line": 387, - "column": 28 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 14088, - "end": 14102, - "loc": { - "start": { - "line": 391, - "column": 4 - }, - "end": { - "line": 391, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 14095, - "end": 14101, - "loc": { - "start": { - "line": 391, - "column": 11 - }, - "end": { - "line": 391, - "column": 17 - }, - "identifierName": "output" - }, - "name": "output" + "line": 344, + "column": 18 } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, - "loc": { - "start": { - "line": 375, - "column": 2 }, - "end": { - "line": 378, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, - "loc": { - "start": { - "line": 394, - "column": 2 - }, - "end": { - "line": 396, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 14207, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 14207, - "end": 14218, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 397, - "column": 13 - }, - "identifierName": "handleCaret" - }, - "name": "handleCaret", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 14221, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 14227, - "end": 14517, - "loc": { - "start": { - "line": 397, - "column": 22 - }, - "end": { - "line": 405, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 14234, - "end": 14310, + "expression": { + "type": "CallExpression", + "start": 12732, + "end": 12745, "loc": { "start": { - "line": 398, + "line": 344, "column": 4 }, "end": { - "line": 400, - "column": 5 + "line": 344, + "column": 17 } }, - "test": { + "callee": { "type": "MemberExpression", - "start": 14237, - "end": 14255, + "start": 12732, + "end": 12743, "loc": { "start": { - "line": 398, - "column": 7 + "line": 344, + "column": 4 }, "end": { - "line": 398, - "column": 25 + "line": 344, + "column": 15 } }, "object": { - "type": "MemberExpression", - "start": 14237, - "end": 14249, + "type": "ThisExpression", + "start": 12732, + "end": 12736, "loc": { "start": { - "line": 398, - "column": 7 + "line": 344, + "column": 4 }, "end": { - "line": 398, - "column": 19 + "line": 344, + "column": 8 } - }, - "object": { - "type": "ThisExpression", - "start": 14237, - "end": 14241, - "loc": { - "start": { - "line": 398, - "column": 7 - }, - "end": { - "line": 398, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 14242, - "end": 14249, - "loc": { - "start": { - "line": 398, - "column": 12 - }, - "end": { - "line": 398, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 14250, - "end": 14255, + "start": 12737, + "end": 12743, "loc": { "start": { - "line": 398, - "column": 20 + "line": 344, + "column": 9 }, "end": { - "line": 398, - "column": 25 + "line": 344, + "column": 15 }, - "identifierName": "debug" + "identifierName": "render" }, - "name": "debug" + "name": "render" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 14256, - "end": 14310, - "loc": { - "start": { - "line": 398, - "column": 26 - }, - "end": { - "line": 400, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14265, - "end": 14303, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 14265, - "end": 14302, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14265, - "end": 14276, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 14265, - "end": 14272, - "loc": { - "start": { - "line": 399, - "column": 6 - }, - "end": { - "line": 399, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 14273, - "end": 14276, - "loc": { - "start": { - "line": 399, - "column": 14 - }, - "end": { - "line": 399, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14277, - "end": 14301, - "loc": { - "start": { - "line": 399, - "column": 18 - }, - "end": { - "line": 399, - "column": 42 - } - }, - "extra": { - "rawValue": "Caret handling started", - "raw": "\"Caret handling started\"" - }, - "value": "Caret handling started" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 14318, - "end": 14377, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 63 - } - }, - "expression": { - "type": "CallExpression", - "start": 14318, - "end": 14376, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14318, - "end": 14343, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14318, - "end": 14326, - "loc": { - "start": { - "line": 402, - "column": 4 - }, - "end": { - "line": 402, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14327, - "end": 14343, - "loc": { - "start": { - "line": 402, - "column": 13 - }, - "end": { - "line": 402, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14344, - "end": 14351, - "loc": { - "start": { - "line": 402, - "column": 30 - }, - "end": { - "line": 402, - "column": 37 - } - }, - "extra": { - "rawValue": "keyup", - "raw": "\"keyup\"" - }, - "value": "keyup" - }, - { - "type": "MemberExpression", - "start": 14353, - "end": 14375, - "loc": { - "start": { - "line": 402, - "column": 39 - }, - "end": { - "line": 402, - "column": 61 - } - }, - "object": { - "type": "ThisExpression", - "start": 14353, - "end": 14357, - "loc": { - "start": { - "line": 402, - "column": 39 - }, - "end": { - "line": 402, - "column": 43 - } - } - }, - "property": { - "type": "Identifier", - "start": 14358, - "end": 14375, - "loc": { - "start": { - "line": 402, - "column": 44 - }, - "end": { - "line": 402, - "column": 61 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 14383, - "end": 14444, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 65 - } - }, - "expression": { - "type": "CallExpression", - "start": 14383, - "end": 14443, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14383, - "end": 14408, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14383, - "end": 14391, - "loc": { - "start": { - "line": 403, - "column": 4 - }, - "end": { - "line": 403, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14392, - "end": 14408, - "loc": { - "start": { - "line": 403, - "column": 13 - }, - "end": { - "line": 403, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14409, - "end": 14418, - "loc": { - "start": { - "line": 403, - "column": 30 - }, - "end": { - "line": 403, - "column": 39 - } - }, - "extra": { - "rawValue": "mouseup", - "raw": "\"mouseup\"" - }, - "value": "mouseup" - }, - { - "type": "MemberExpression", - "start": 14420, - "end": 14442, - "loc": { - "start": { - "line": 403, - "column": 41 - }, - "end": { - "line": 403, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 14420, - "end": 14424, - "loc": { - "start": { - "line": 403, - "column": 41 - }, - "end": { - "line": 403, - "column": 45 - } - } - }, - "property": { - "type": "Identifier", - "start": 14425, - "end": 14442, - "loc": { - "start": { - "line": 403, - "column": 46 - }, - "end": { - "line": 403, - "column": 63 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 14450, - "end": 14512, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 14450, - "end": 14511, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14450, - "end": 14475, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 14450, - "end": 14458, - "loc": { - "start": { - "line": 404, - "column": 4 - }, - "end": { - "line": 404, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 14459, - "end": 14475, - "loc": { - "start": { - "line": 404, - "column": 13 - }, - "end": { - "line": 404, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14476, - "end": 14486, - "loc": { - "start": { - "line": 404, - "column": 30 - }, - "end": { - "line": 404, - "column": 40 - } - }, - "extra": { - "rawValue": "touchend", - "raw": "\"touchend\"" - }, - "value": "touchend" - }, - { - "type": "MemberExpression", - "start": 14488, - "end": 14510, - "loc": { - "start": { - "line": 404, - "column": 42 - }, - "end": { - "line": 404, - "column": 64 - } - }, - "object": { - "type": "ThisExpression", - "start": 14488, - "end": 14492, - "loc": { - "start": { - "line": 404, - "column": 42 - }, - "end": { - "line": 404, - "column": 46 - } - } - }, - "property": { - "type": "Identifier", - "start": 14493, - "end": 14510, - "loc": { - "start": { - "line": 404, - "column": 47 - }, - "end": { - "line": 404, - "column": 64 - }, - "identifierName": "caretEventHandler" - }, - "name": "caretEventHandler" - }, - "computed": false - } - ] - } + "arguments": [] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, + "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 11234, + "end": 11515, "loc": { "start": { - "line": 394, + "line": 297, "column": 2 }, "end": { - "line": 396, + "line": 301, "column": 5 } } @@ -47444,16 +50494,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 12757, + "end": 13097, "loc": { "start": { - "line": 407, + "line": 347, "column": 2 }, "end": { - "line": 409, + "line": 351, "column": 5 } } @@ -47461,16 +50511,16 @@ ] }, { - "type": "ClassProperty", - "start": 14639, - "end": 15196, + "type": "ClassMethod", + "start": 13101, + "end": 14518, "loc": { "start": { - "line": 410, + "line": 352, "column": 2 }, "end": { - "line": 427, + "line": 398, "column": 3 } }, @@ -47478,659 +50528,284 @@ "computed": false, "key": { "type": "Identifier", - "start": 14639, - "end": 14656, + "start": 13101, + "end": 13118, "loc": { "start": { - "line": 410, + "line": 352, "column": 2 }, "end": { - "line": 410, + "line": 352, "column": 19 }, - "identifierName": "caretEventHandler" + "identifierName": "removeButtonTheme" }, - "name": "caretEventHandler", + "name": "removeButtonTheme", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 14659, - "end": 15196, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13119, + "end": 13126, + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 27 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + { + "type": "Identifier", + "start": 13128, + "end": 13137, + "loc": { + "start": { + "line": 352, + "column": 29 + }, + "end": { + "line": 352, + "column": 38 + }, + "identifierName": "className" + }, + "name": "className" + } + ], + "body": { + "type": "BlockStatement", + "start": 13138, + "end": 14518, "loc": { "start": { - "line": 410, - "column": 22 + "line": 352, + "column": 39 }, "end": { - "line": 427, + "line": 398, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 14660, - "end": 14665, + "type": "IfStatement", + "start": 13231, + "end": 13346, "loc": { "start": { - "line": 410, - "column": 23 + "line": 356, + "column": 4 }, "end": { - "line": 410, - "column": 28 - }, - "identifierName": "event" + "line": 360, + "column": 5 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 14670, - "end": 15196, - "loc": { - "start": { - "line": 410, - "column": 33 - }, - "end": { - "line": 427, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 14677, - "end": 14732, + "test": { + "type": "LogicalExpression", + "start": 13234, + "end": 13256, "loc": { "start": { - "line": 411, - "column": 4 + "line": 356, + "column": 7 }, "end": { - "line": 411, - "column": 59 + "line": 356, + "column": 29 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14681, - "end": 14731, + "left": { + "type": "UnaryExpression", + "start": 13234, + "end": 13242, + "loc": { + "start": { + "line": 356, + "column": 7 + }, + "end": { + "line": 356, + "column": 15 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13235, + "end": 13242, "loc": { "start": { - "line": 411, + "line": 356, "column": 8 }, "end": { - "line": 411, - "column": 58 - } + "line": 356, + "column": 15 + }, + "identifierName": "buttons" }, - "id": { - "type": "Identifier", - "start": 14681, - "end": 14694, - "loc": { - "start": { - "line": 411, - "column": 8 - }, - "end": { - "line": 411, - "column": 21 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" + "name": "buttons", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 13246, + "end": 13256, + "loc": { + "start": { + "line": 356, + "column": 19 }, - "init": { - "type": "CallExpression", - "start": 14697, - "end": 14731, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14697, - "end": 14729, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 56 - } - }, - "object": { - "type": "MemberExpression", - "start": 14697, - "end": 14717, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 14697, - "end": 14709, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 14697, - "end": 14702, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 29 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 14703, - "end": 14709, - "loc": { - "start": { - "line": 411, - "column": 30 - }, - "end": { - "line": 411, - "column": 36 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14710, - "end": 14717, - "loc": { - "start": { - "line": 411, - "column": 37 - }, - "end": { - "line": 411, - "column": 44 - }, - "identifierName": "tagName" - }, - "name": "tagName" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14718, - "end": 14729, - "loc": { - "start": { - "line": 411, - "column": 45 - }, - "end": { - "line": 411, - "column": 56 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false - }, - "arguments": [] + "end": { + "line": 356, + "column": 29 } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13247, + "end": 13256, + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 29 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false } - ], - "kind": "let" + }, + "leadingComments": null }, - { - "type": "IfStatement", - "start": 14740, - "end": 15191, + "consequent": { + "type": "BlockStatement", + "start": 13257, + "end": 13346, "loc": { "start": { - "line": 413, - "column": 4 + "line": 356, + "column": 30 }, "end": { - "line": 426, + "line": 360, "column": 5 } }, - "test": { - "type": "LogicalExpression", - "start": 14751, - "end": 14815, - "loc": { - "start": { - "line": 414, - "column": 6 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "left": { - "type": "BinaryExpression", - "start": 14751, - "end": 14779, + "body": [ + { + "type": "ExpressionStatement", + "start": 13266, + "end": 13296, "loc": { "start": { - "line": 414, + "line": 357, "column": 6 }, "end": { - "line": 414, - "column": 34 + "line": 357, + "column": 36 } }, - "left": { - "type": "Identifier", - "start": 14751, - "end": 14764, + "expression": { + "type": "AssignmentExpression", + "start": 13266, + "end": 13295, "loc": { "start": { - "line": 414, + "line": 357, "column": 6 }, "end": { - "line": 414, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 14769, - "end": 14779, - "loc": { - "start": { - "line": 414, - "column": 24 - }, - "end": { - "line": 414, - "column": 34 + "line": 357, + "column": 35 } }, - "extra": { - "rawValue": "textarea", - "raw": "\"textarea\"" - }, - "value": "textarea" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 14790, - "end": 14815, - "loc": { - "start": { - "line": 415, - "column": 6 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "left": { - "type": "Identifier", - "start": 14790, - "end": 14803, - "loc": { - "start": { - "line": 415, - "column": 6 - }, - "end": { - "line": 415, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 14808, - "end": 14815, - "loc": { - "start": { - "line": 415, - "column": 24 - }, - "end": { - "line": 415, - "column": 31 - } - }, - "extra": { - "rawValue": "input", - "raw": "\"input\"" - }, - "value": "input" - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 14822, - "end": 15191, - "loc": { - "start": { - "line": 416, - "column": 5 - }, - "end": { - "line": 426, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14987, - "end": 15036, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 14987, - "end": 15035, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 13266, + "end": 13290, "loc": { "start": { - "line": 421, + "line": 357, "column": 6 }, "end": { - "line": 421, - "column": 54 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 14987, - "end": 15005, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 14987, - "end": 14991, - "loc": { - "start": { - "line": 421, - "column": 6 - }, - "end": { - "line": 421, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14992, - "end": 15005, - "loc": { - "start": { - "line": 421, - "column": 11 - }, - "end": { - "line": 421, - "column": 24 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 15008, - "end": 15035, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 54 - } - }, - "object": { - "type": "MemberExpression", - "start": 15008, - "end": 15020, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 15008, - "end": 15013, - "loc": { - "start": { - "line": 421, - "column": 27 - }, - "end": { - "line": 421, - "column": 32 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 15014, - "end": 15020, - "loc": { - "start": { - "line": 421, - "column": 33 - }, - "end": { - "line": 421, - "column": 39 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15021, - "end": 15035, - "loc": { - "start": { - "line": 421, - "column": 40 - }, - "end": { - "line": 421, - "column": 54 - }, - "identifierName": "selectionStart" - }, - "name": "selectionStart" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 14831, - "end": 14979, - "loc": { - "start": { - "line": 417, - "column": 6 - }, - "end": { - "line": 420, - "column": 9 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 15046, - "end": 15179, - "loc": { - "start": { - "line": 423, - "column": 6 - }, - "end": { - "line": 425, - "column": 7 - } - }, - "test": { - "type": "MemberExpression", - "start": 15049, - "end": 15067, - "loc": { - "start": { - "line": 423, - "column": 9 - }, - "end": { - "line": 423, - "column": 27 + "line": 357, + "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15049, - "end": 15061, + "start": 13266, + "end": 13278, "loc": { "start": { - "line": 423, - "column": 9 + "line": 357, + "column": 6 }, "end": { - "line": 423, - "column": 21 + "line": 357, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 15049, - "end": 15053, + "start": 13266, + "end": 13270, "loc": { "start": { - "line": 423, - "column": 9 + "line": 357, + "column": 6 }, "end": { - "line": 423, - "column": 13 + "line": 357, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 15054, - "end": 15061, + "start": 13271, + "end": 13278, "loc": { "start": { - "line": 423, - "column": 14 + "line": 357, + "column": 11 }, "end": { - "line": 423, - "column": 21 + "line": 357, + "column": 18 }, "identifierName": "options" }, @@ -48140,384 +50815,2321 @@ }, "property": { "type": "Identifier", - "start": 15062, - "end": 15067, + "start": 13279, + "end": 13290, "loc": { "start": { - "line": 423, - "column": 22 + "line": 357, + "column": 19 }, "end": { - "line": 423, - "column": 27 + "line": 357, + "column": 30 }, - "identifierName": "debug" + "identifierName": "buttonTheme" }, - "name": "debug" + "name": "buttonTheme" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 15068, - "end": 15179, + "right": { + "type": "ArrayExpression", + "start": 13293, + "end": 13295, "loc": { "start": { - "line": 423, - "column": 28 + "line": 357, + "column": 33 }, "end": { - "line": 425, - "column": 7 + "line": 357, + "column": 35 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15079, - "end": 15170, + "elements": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 13304, + "end": 13318, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 13304, + "end": 13317, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13304, + "end": 13315, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 13304, + "end": 13308, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 13309, + "end": 13315, + "loc": { + "start": { + "line": 358, + "column": 11 + }, + "end": { + "line": 358, + "column": 17 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ReturnStatement", + "start": 13326, + "end": 13339, + "loc": { + "start": { + "line": 359, + "column": 6 + }, + "end": { + "line": 359, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 13333, + "end": 13338, + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 18 + } + }, + "value": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", + "start": 13145, + "end": 13225, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 355, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 13354, + "end": 13422, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 13428, + "end": 14513, + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 397, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 13431, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 92 + } + }, + "left": { + "type": "LogicalExpression", + "start": 13431, + "end": 13481, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 57 + } + }, + "left": { + "type": "Identifier", + "start": 13431, + "end": 13438, + "loc": { + "start": { + "line": 365, + "column": 7 + }, + "end": { + "line": 365, + "column": 14 + }, + "identifierName": "buttons" + }, + "name": "buttons", + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 13442, + "end": 13481, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13442, + "end": 13455, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 13442, + "end": 13447, + "loc": { + "start": { + "line": 365, + "column": 18 + }, + "end": { + "line": 365, + "column": 23 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 13448, + "end": 13455, + "loc": { + "start": { + "line": 365, + "column": 24 + }, + "end": { + "line": 365, + "column": 31 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 13456, + "end": 13480, + "loc": { + "start": { + "line": 365, + "column": 32 + }, + "end": { + "line": 365, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 13456, + "end": 13468, + "loc": { + "start": { + "line": 365, + "column": 32 + }, + "end": { + "line": 365, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 13456, + "end": 13460, "loc": { "start": { - "line": 424, - "column": 8 + "line": 365, + "column": 32 }, "end": { - "line": 424, - "column": 99 + "line": 365, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 13461, + "end": 13468, + "loc": { + "start": { + "line": 365, + "column": 37 + }, + "end": { + "line": 365, + "column": 44 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13469, + "end": 13480, + "loc": { + "start": { + "line": 365, + "column": 45 + }, + "end": { + "line": 365, + "column": 56 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + } + ] + }, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 13485, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 92 + } + }, + "object": { + "type": "MemberExpression", + "start": 13485, + "end": 13509, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 85 + } + }, + "object": { + "type": "MemberExpression", + "start": 13485, + "end": 13497, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 73 + } + }, + "object": { + "type": "ThisExpression", + "start": 13485, + "end": 13489, + "loc": { + "start": { + "line": 365, + "column": 61 + }, + "end": { + "line": 365, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "start": 13490, + "end": 13497, + "loc": { + "start": { + "line": 365, + "column": 66 + }, + "end": { + "line": 365, + "column": 73 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13498, + "end": 13509, + "loc": { + "start": { + "line": 365, + "column": 74 + }, + "end": { + "line": 365, + "column": 85 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13510, + "end": 13516, + "loc": { + "start": { + "line": 365, + "column": 86 + }, + "end": { + "line": 365, + "column": 92 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 13517, + "end": 14513, + "loc": { + "start": { + "line": 365, + "column": 93 + }, + "end": { + "line": 397, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13526, + "end": 13563, + "loc": { + "start": { + "line": 366, + "column": 6 + }, + "end": { + "line": 366, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13530, + "end": 13562, + "loc": { + "start": { + "line": 366, + "column": 10 + }, + "end": { + "line": 366, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 13530, + "end": 13541, + "loc": { + "start": { + "line": 366, + "column": 10 + }, + "end": { + "line": 366, + "column": 21 + }, + "identifierName": "buttonArray" + }, + "name": "buttonArray" + }, + "init": { + "type": "CallExpression", + "start": 13544, + "end": 13562, + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13544, + "end": 13557, + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 37 } }, - "expression": { - "type": "CallExpression", - "start": 15079, - "end": 15169, + "object": { + "type": "Identifier", + "start": 13544, + "end": 13551, "loc": { "start": { - "line": 424, - "column": 8 + "line": 366, + "column": 24 }, "end": { - "line": 424, - "column": 98 + "line": 366, + "column": 31 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "property": { + "type": "Identifier", + "start": 13552, + "end": 13557, + "loc": { + "start": { + "line": 366, + "column": 32 + }, + "end": { + "line": 366, + "column": 37 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13558, + "end": 13561, + "loc": { + "start": { + "line": 366, + "column": 38 + }, + "end": { + "line": 366, + "column": 41 } }, - "callee": { - "type": "MemberExpression", - "start": 15079, - "end": 15090, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 13571, + "end": 14482, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 394, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 13571, + "end": 14481, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 394, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13571, + "end": 13590, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 367, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 13571, + "end": 13582, + "loc": { + "start": { + "line": 367, + "column": 6 + }, + "end": { + "line": 367, + "column": 17 + }, + "identifierName": "buttonArray" + }, + "name": "buttonArray" + }, + "property": { + "type": "Identifier", + "start": 13583, + "end": 13590, + "loc": { + "start": { + "line": 367, + "column": 18 + }, + "end": { + "line": 367, + "column": 25 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13591, + "end": 14480, + "loc": { + "start": { + "line": 367, + "column": 26 + }, + "end": { + "line": 394, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13592, + "end": 13598, + "loc": { + "start": { + "line": 367, + "column": 27 + }, + "end": { + "line": 367, + "column": 33 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 13600, + "end": 13603, + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 38 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 13608, + "end": 14480, + "loc": { + "start": { + "line": 367, + "column": 43 + }, + "end": { + "line": 394, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13619, + "end": 14471, "loc": { "start": { - "line": 424, + "line": 368, "column": 8 }, "end": { - "line": 424, - "column": 19 + "line": 393, + "column": 11 } }, - "object": { - "type": "Identifier", - "start": 15079, - "end": 15086, + "expression": { + "type": "CallExpression", + "start": 13619, + "end": 14470, "loc": { "start": { - "line": 424, + "line": 368, "column": 8 }, "end": { - "line": 424, - "column": 15 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 15087, - "end": 15090, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 19 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15091, - "end": 15103, - "loc": { - "start": { - "line": 424, - "column": 20 - }, - "end": { - "line": 424, - "column": 32 - } - }, - "extra": { - "rawValue": "Caret at: ", - "raw": "'Caret at: '" - }, - "value": "Caret at: " - }, - { - "type": "MemberExpression", - "start": 15105, - "end": 15132, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 61 - } - }, - "object": { - "type": "MemberExpression", - "start": 15105, - "end": 15117, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 15105, - "end": 15110, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 39 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 15111, - "end": 15117, - "loc": { - "start": { - "line": 424, - "column": 40 - }, - "end": { - "line": 424, - "column": 46 - }, - "identifierName": "target" - }, - "name": "target" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15118, - "end": 15132, - "loc": { - "start": { - "line": 424, - "column": 47 - }, - "end": { - "line": 424, - "column": 61 - }, - "identifierName": "selectionStart" - }, - "name": "selectionStart" - }, - "computed": false - }, - { - "type": "CallExpression", - "start": 15134, - "end": 15168, - "loc": { - "start": { - "line": 424, - "column": 63 - }, - "end": { - "line": 424, - "column": 97 + "line": 393, + "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 15134, - "end": 15166, + "start": 13619, + "end": 13647, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 95 + "line": 368, + "column": 36 } }, "object": { "type": "MemberExpression", - "start": 15134, - "end": 15154, + "start": 13619, + "end": 13643, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 83 + "line": 368, + "column": 32 } }, "object": { "type": "MemberExpression", - "start": 15134, - "end": 15146, + "start": 13619, + "end": 13631, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 75 + "line": 368, + "column": 20 } }, "object": { - "type": "Identifier", - "start": 15134, - "end": 15139, + "type": "ThisExpression", + "start": 13619, + "end": 13623, "loc": { "start": { - "line": 424, - "column": 63 + "line": 368, + "column": 8 }, "end": { - "line": 424, - "column": 68 - }, - "identifierName": "event" - }, - "name": "event" + "line": 368, + "column": 12 + } + } }, "property": { "type": "Identifier", - "start": 15140, - "end": 15146, + "start": 13624, + "end": 13631, "loc": { "start": { - "line": 424, - "column": 69 + "line": 368, + "column": 13 }, "end": { - "line": 424, - "column": 75 + "line": 368, + "column": 20 }, - "identifierName": "target" + "identifierName": "options" }, - "name": "target" + "name": "options" }, "computed": false }, "property": { "type": "Identifier", - "start": 15147, - "end": 15154, + "start": 13632, + "end": 13643, "loc": { "start": { - "line": 424, - "column": 76 + "line": 368, + "column": 21 }, "end": { - "line": 424, - "column": 83 + "line": 368, + "column": 32 }, - "identifierName": "tagName" + "identifierName": "buttonTheme" }, - "name": "tagName" + "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", - "start": 15155, - "end": 15166, + "start": 13644, + "end": 13647, "loc": { "start": { - "line": 424, - "column": 84 + "line": 368, + "column": 33 }, "end": { - "line": 424, - "column": 95 + "line": 368, + "column": 36 }, - "identifierName": "toLowerCase" + "identifierName": "map" }, - "name": "toLowerCase" + "name": "map" }, "computed": false }, - "arguments": [] + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13648, + "end": 14469, + "loc": { + "start": { + "line": 368, + "column": 37 + }, + "end": { + "line": 393, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13649, + "end": 13660, + "loc": { + "start": { + "line": 368, + "column": 38 + }, + "end": { + "line": 368, + "column": 49 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + { + "type": "Identifier", + "start": 13662, + "end": 13667, + "loc": { + "start": { + "line": 368, + "column": 51 + }, + "end": { + "line": 368, + "column": 56 + }, + "identifierName": "index" + }, + "name": "index" + } + ], + "body": { + "type": "BlockStatement", + "start": 13672, + "end": 14469, + "loc": { + "start": { + "line": 368, + "column": 61 + }, + "end": { + "line": 393, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 13840, + "end": 14425, + "loc": { + "start": { + "line": 374, + "column": 10 + }, + "end": { + "line": 390, + "column": 11 + } + }, + "test": { + "type": "LogicalExpression", + "start": 13857, + "end": 13936, + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 376, + "column": 22 + } + }, + "left": { + "type": "LogicalExpression", + "start": 13858, + "end": 13908, + "loc": { + "start": { + "line": 375, + "column": 13 + }, + "end": { + "line": 375, + "column": 63 + } + }, + "left": { + "type": "Identifier", + "start": 13858, + "end": 13867, + "loc": { + "start": { + "line": 375, + "column": 13 + }, + "end": { + "line": 375, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className", + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 13871, + "end": 13908, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13871, + "end": 13889, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 13871, + "end": 13880, + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 35 + }, + "identifierName": "className" + }, + "name": "className" + }, + "property": { + "type": "Identifier", + "start": 13881, + "end": 13889, + "loc": { + "start": { + "line": 375, + "column": 36 + }, + "end": { + "line": 375, + "column": 44 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 13890, + "end": 13907, + "loc": { + "start": { + "line": 375, + "column": 45 + }, + "end": { + "line": 375, + "column": 62 + } + }, + "object": { + "type": "Identifier", + "start": 13890, + "end": 13901, + "loc": { + "start": { + "line": 375, + "column": 45 + }, + "end": { + "line": 375, + "column": 56 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 13902, + "end": 13907, + "loc": { + "start": { + "line": 375, + "column": 57 + }, + "end": { + "line": 375, + "column": 62 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + } + ] + }, + "leadingComments": null, + "extra": { + "parenthesized": true, + "parenStart": 13857 + } + }, + "operator": "||", + "right": { + "type": "UnaryExpression", + "start": 13926, + "end": 13936, + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 22 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 13927, + "end": 13936, + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 13949, + "end": 14425, + "loc": { + "start": { + "line": 377, + "column": 11 + }, + "end": { + "line": 390, + "column": 11 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13964, + "end": 14053, + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 101 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13968, + "end": 14052, + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 100 + } + }, + "id": { + "type": "Identifier", + "start": 13968, + "end": 13987, + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 35 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray" + }, + "init": { + "type": "CallExpression", + "start": 13990, + "end": 14052, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 100 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13990, + "end": 14027, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 75 + } + }, + "object": { + "type": "CallExpression", + "start": 13990, + "end": 14020, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13990, + "end": 14015, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 13990, + "end": 14009, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 13990, + "end": 14001, + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 49 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 14002, + "end": 14009, + "loc": { + "start": { + "line": 378, + "column": 50 + }, + "end": { + "line": 378, + "column": 57 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14010, + "end": 14015, + "loc": { + "start": { + "line": 378, + "column": 58 + }, + "end": { + "line": 378, + "column": 63 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14016, + "end": 14019, + "loc": { + "start": { + "line": 378, + "column": 64 + }, + "end": { + "line": 378, + "column": 67 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + "property": { + "type": "Identifier", + "start": 14021, + "end": 14027, + "loc": { + "start": { + "line": 378, + "column": 69 + }, + "end": { + "line": 378, + "column": 75 + }, + "identifierName": "filter" + }, + "name": "filter" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 14028, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 76 + }, + "end": { + "line": 378, + "column": 99 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14028, + "end": 14032, + "loc": { + "start": { + "line": 378, + "column": 76 + }, + "end": { + "line": 378, + "column": 80 + }, + "identifierName": "item" + }, + "name": "item" + } + ], + "body": { + "type": "BinaryExpression", + "start": 14036, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 84 + }, + "end": { + "line": 378, + "column": 99 + } + }, + "left": { + "type": "Identifier", + "start": 14036, + "end": 14040, + "loc": { + "start": { + "line": 378, + "column": 84 + }, + "end": { + "line": 378, + "column": 88 + }, + "identifierName": "item" + }, + "name": "item" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 14045, + "end": 14051, + "loc": { + "start": { + "line": 378, + "column": 93 + }, + "end": { + "line": 378, + "column": 99 + }, + "identifierName": "button" + }, + "name": "button" + } + } + } + ] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", + "start": 14069, + "end": 14166, + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 382, + "column": 15 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 14180, + "end": 14409, + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 388, + "column": 13 + } + }, + "test": { + "type": "MemberExpression", + "start": 14183, + "end": 14209, + "loc": { + "start": { + "line": 383, + "column": 15 + }, + "end": { + "line": 383, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 14183, + "end": 14202, + "loc": { + "start": { + "line": 383, + "column": 15 + }, + "end": { + "line": 383, + "column": 34 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 14203, + "end": 14209, + "loc": { + "start": { + "line": 383, + "column": 35 + }, + "end": { + "line": 383, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 14210, + "end": 14294, + "loc": { + "start": { + "line": 383, + "column": 42 + }, + "end": { + "line": 385, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14227, + "end": 14279, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 66 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14227, + "end": 14278, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 65 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14227, + "end": 14246, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 14227, + "end": 14238, + "loc": { + "start": { + "line": 384, + "column": 14 + }, + "end": { + "line": 384, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "property": { + "type": "Identifier", + "start": 14239, + "end": 14246, + "loc": { + "start": { + "line": 384, + "column": 26 + }, + "end": { + "line": 384, + "column": 33 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 14249, + "end": 14278, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14249, + "end": 14273, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 14249, + "end": 14268, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "column": 55 + }, + "identifierName": "filteredButtonArray" + }, + "name": "filteredButtonArray" + }, + "property": { + "type": "Identifier", + "start": 14269, + "end": 14273, + "loc": { + "start": { + "line": 384, + "column": 56 + }, + "end": { + "line": 384, + "column": 60 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14274, + "end": 14277, + "loc": { + "start": { + "line": 384, + "column": 61 + }, + "end": { + "line": 384, + "column": 64 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 14300, + "end": 14409, + "loc": { + "start": { + "line": 385, + "column": 19 + }, + "end": { + "line": 388, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14317, + "end": 14359, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 56 + } + }, + "expression": { + "type": "CallExpression", + "start": 14317, + "end": 14358, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14317, + "end": 14348, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 14317, + "end": 14341, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 14317, + "end": 14329, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14317, + "end": 14321, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 14322, + "end": 14329, + "loc": { + "start": { + "line": 386, + "column": 19 + }, + "end": { + "line": 386, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14330, + "end": 14341, + "loc": { + "start": { + "line": 386, + "column": 27 + }, + "end": { + "line": 386, + "column": 38 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14342, + "end": 14348, + "loc": { + "start": { + "line": 386, + "column": 39 + }, + "end": { + "line": 386, + "column": 45 + }, + "identifierName": "splice" + }, + "name": "splice" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 14349, + "end": 14354, + "loc": { + "start": { + "line": 386, + "column": 46 + }, + "end": { + "line": 386, + "column": 51 + }, + "identifierName": "index" + }, + "name": "index" + }, + { + "type": "NumericLiteral", + "start": 14356, + "end": 14357, + "loc": { + "start": { + "line": 386, + "column": 53 + }, + "end": { + "line": 386, + "column": 54 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14375, + "end": 14394, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14375, + "end": 14393, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14375, + "end": 14386, + "loc": { + "start": { + "line": 387, + "column": 14 + }, + "end": { + "line": 387, + "column": 25 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "right": { + "type": "NullLiteral", + "start": 14389, + "end": 14393, + "loc": { + "start": { + "line": 387, + "column": 28 + }, + "end": { + "line": 387, + "column": 32 + } + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", + "start": 14069, + "end": 14166, + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 382, + "column": 15 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", + "start": 13687, + "end": 13828, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 373, + "column": 13 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 14439, + "end": 14458, + "loc": { + "start": { + "line": 392, + "column": 10 + }, + "end": { + "line": 392, + "column": 29 + } + }, + "argument": { + "type": "Identifier", + "start": 14446, + "end": 14457, + "loc": { + "start": { + "line": 392, + "column": 17 + }, + "end": { + "line": 392, + "column": 28 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + } + } + ], + "directives": [] + } + } + ] } - ] + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14492, + "end": 14506, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 14492, + "end": 14505, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14492, + "end": 14503, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 14492, + "end": 14496, + "loc": { + "start": { + "line": 396, + "column": 6 + }, + "end": { + "line": 396, + "column": 10 } } - ], - "directives": [] + }, + "property": { + "type": "Identifier", + "start": 14497, + "end": 14503, + "loc": { + "start": { + "line": 396, + "column": 11 + }, + "end": { + "line": 396, + "column": 17 + }, + "identifierName": "render" + }, + "name": "render" + }, + "computed": false }, - "alternate": null + "arguments": [] } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 13354, + "end": 13422, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 12757, + "end": 13097, "loc": { "start": { - "line": 407, + "line": 347, "column": 2 }, "end": { - "line": 409, + "line": 351, "column": 5 } } @@ -48526,16 +53138,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, + "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 429, + "line": 400, "column": 2 }, "end": { - "line": 431, + "line": 403, "column": 5 } } @@ -48543,16 +53155,16 @@ ] }, { - "type": "ClassProperty", - "start": 15326, - "end": 15569, + "type": "ClassMethod", + "start": 14731, + "end": 14998, "loc": { "start": { - "line": 432, + "line": 404, "column": 2 }, "end": { - "line": 444, + "line": 417, "column": 3 } }, @@ -48560,676 +53172,646 @@ "computed": false, "key": { "type": "Identifier", - "start": 15326, - "end": 15332, + "start": 14731, + "end": 14747, "loc": { "start": { - "line": 432, + "line": 404, "column": 2 }, "end": { - "line": 432, - "column": 8 + "line": 404, + "column": 18 }, - "identifierName": "onInit" + "identifierName": "getButtonElement" }, - "name": "onInit", + "name": "getButtonElement", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 15335, - "end": 15569, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14748, + "end": 14754, + "loc": { + "start": { + "line": 404, + "column": 19 + }, + "end": { + "line": 404, + "column": 25 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 14755, + "end": 14998, "loc": { "start": { - "line": 432, - "column": 11 + "line": 404, + "column": 26 }, "end": { - "line": 444, + "line": 417, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 15341, - "end": 15569, - "loc": { - "start": { - "line": 432, - "column": 17 + "body": [ + { + "type": "VariableDeclaration", + "start": 14762, + "end": 14773, + "loc": { + "start": { + "line": 405, + "column": 4 + }, + "end": { + "line": 405, + "column": 15 + } }, - "end": { - "line": 444, - "column": 3 - } + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14766, + "end": 14772, + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 14766, + "end": 14772, + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": null + } + ], + "kind": "let" }, - "body": [ - { - "type": "IfStatement", - "start": 15348, - "end": 15413, + { + "type": "VariableDeclaration", + "start": 14781, + "end": 14825, + "loc": { + "start": { + "line": 407, + "column": 4 + }, + "end": { + "line": 407, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14785, + "end": 14824, + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 14785, + "end": 14794, + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 17 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "init": { + "type": "MemberExpression", + "start": 14797, + "end": 14824, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 14797, + "end": 14816, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 14797, + "end": 14801, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 14802, + "end": 14816, + "loc": { + "start": { + "line": 407, + "column": 25 + }, + "end": { + "line": 407, + "column": 39 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14817, + "end": 14823, + "loc": { + "start": { + "line": 407, + "column": 40 + }, + "end": { + "line": 407, + "column": 46 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 14831, + "end": 14971, + "loc": { + "start": { + "line": 408, + "column": 4 + }, + "end": { + "line": 414, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 14834, + "end": 14843, "loc": { "start": { - "line": 433, - "column": 4 + "line": 408, + "column": 7 }, "end": { - "line": 435, + "line": 408, + "column": 16 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "consequent": { + "type": "BlockStatement", + "start": 14844, + "end": 14971, + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 414, "column": 5 } }, - "test": { - "type": "MemberExpression", - "start": 15351, - "end": 15369, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 15351, - "end": 15363, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 15351, - "end": 15355, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 15356, - "end": 15363, - "loc": { - "start": { - "line": 433, - "column": 12 - }, - "end": { - "line": 433, - "column": 19 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15364, - "end": 15369, - "loc": { - "start": { - "line": 433, - "column": 20 - }, - "end": { - "line": 433, - "column": 25 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 15370, - "end": 15413, - "loc": { - "start": { - "line": 433, - "column": 26 - }, - "end": { - "line": 435, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15379, - "end": 15406, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 15379, - "end": 15405, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15379, - "end": 15390, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 15379, - "end": 15386, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 15387, - "end": 15390, - "loc": { - "start": { - "line": 434, - "column": 14 - }, - "end": { - "line": 434, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15391, - "end": 15404, - "loc": { - "start": { - "line": 434, - "column": 18 - }, - "end": { - "line": 434, - "column": 31 - } - }, - "extra": { - "rawValue": "Initialized", - "raw": "\"Initialized\"" - }, - "value": "Initialized" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ + "body": [ { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, + "type": "IfStatement", + "start": 14853, + "end": 14964, "loc": { "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 15462, - "end": 15481, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 15462, - "end": 15480, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15462, - "end": 15478, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 15462, - "end": 15466, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 15467, - "end": 15478, - "loc": { - "start": { - "line": 440, - "column": 9 - }, - "end": { - "line": 440, - "column": 20 - }, - "identifierName": "handleCaret" - }, - "name": "handleCaret" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, - "loc": { - "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 15489, - "end": 15564, - "loc": { - "start": { - "line": 442, - "column": 4 - }, - "end": { - "line": 443, - "column": 28 - } - }, - "test": { - "type": "BinaryExpression", - "start": 15492, - "end": 15533, - "loc": { - "start": { - "line": 442, - "column": 7 - }, - "end": { - "line": 442, - "column": 48 - } - }, - "left": { - "type": "UnaryExpression", - "start": 15492, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 7 - }, - "end": { - "line": 442, - "column": 33 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 15499, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 15499, - "end": 15511, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 15499, - "end": 15503, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 15504, - "end": 15511, - "loc": { - "start": { - "line": 442, - "column": 19 - }, - "end": { - "line": 442, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15512, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 27 - }, - "end": { - "line": 442, - "column": 33 - }, - "identifierName": "onInit" - }, - "name": "onInit" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 15523, - "end": 15533, - "loc": { - "start": { - "line": 442, - "column": 38 - }, - "end": { - "line": 442, - "column": 48 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 15542, - "end": 15564, - "loc": { - "start": { - "line": 443, - "column": 6 - }, - "end": { - "line": 443, - "column": 28 - } - }, - "expression": { - "type": "CallExpression", - "start": 15542, - "end": 15563, - "loc": { - "start": { - "line": 443, + "line": 409, "column": 6 }, "end": { - "line": 443, - "column": 27 + "line": 413, + "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 15542, - "end": 15561, + "test": { + "type": "BinaryExpression", + "start": 14856, + "end": 14876, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 25 + "line": 409, + "column": 29 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 15542, - "end": 15554, + "start": 14856, + "end": 14872, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 18 + "line": 409, + "column": 25 } }, "object": { - "type": "ThisExpression", - "start": 15542, - "end": 15546, + "type": "Identifier", + "start": 14856, + "end": 14865, "loc": { "start": { - "line": 443, - "column": 6 + "line": 409, + "column": 9 }, "end": { - "line": 443, - "column": 10 - } - } + "line": 409, + "column": 18 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" }, "property": { "type": "Identifier", - "start": 15547, - "end": 15554, + "start": 14866, + "end": 14872, "loc": { "start": { - "line": 443, - "column": 11 + "line": 409, + "column": 19 }, "end": { - "line": 443, - "column": 18 + "line": 409, + "column": 25 }, - "identifierName": "options" + "identifierName": "length" }, - "name": "options" + "name": "length" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 15555, - "end": 15561, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 14875, + "end": 14876, "loc": { "start": { - "line": 443, - "column": 19 + "line": 409, + "column": 28 }, "end": { - "line": 443, - "column": 25 - }, - "identifierName": "onInit" + "line": 409, + "column": 29 + } }, - "name": "onInit" - }, - "computed": false + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } }, - "arguments": [] + "consequent": { + "type": "BlockStatement", + "start": 14877, + "end": 14916, + "loc": { + "start": { + "line": 409, + "column": 30 + }, + "end": { + "line": 411, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14888, + "end": 14907, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14888, + "end": 14906, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14888, + "end": 14894, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "Identifier", + "start": 14897, + "end": 14906, + "loc": { + "start": { + "line": 410, + "column": 17 + }, + "end": { + "line": 410, + "column": 26 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 14922, + "end": 14964, + "loc": { + "start": { + "line": 411, + "column": 13 + }, + "end": { + "line": 413, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14933, + "end": 14955, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14933, + "end": 14954, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14933, + "end": 14939, + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 412, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 14942, + "end": 14954, + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 14942, + "end": 14951, + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 26 + }, + "identifierName": "buttonArr" + }, + "name": "buttonArr" + }, + "property": { + "type": "NumericLiteral", + "start": 14952, + "end": 14953, + "loc": { + "start": { + "line": 412, + "column": 27 + }, + "end": { + "line": 412, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + } + ], + "directives": [] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 14979, + "end": 14993, + "loc": { + "start": { + "line": 416, + "column": 4 }, - "alternate": null + "end": { + "line": 416, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 14986, + "end": 14992, + "loc": { + "start": { + "line": 416, + "column": 11 + }, + "end": { + "line": 416, + "column": 17 + }, + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, + "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 429, + "line": 400, "column": 2 }, "end": { - "line": 431, + "line": 403, "column": 5 } } @@ -49238,16 +53820,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, + "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", + "start": 15004, + "end": 15094, "loc": { "start": { - "line": 446, + "line": 419, "column": 2 }, "end": { - "line": 448, + "line": 421, "column": 5 } } @@ -49255,12 +53837,775 @@ ] }, { - "type": "ClassProperty", - "start": 15697, - "end": 15805, + "type": "ClassMethod", + "start": 15098, + "end": 15401, "loc": { "start": { - "line": 449, + "line": 422, + "column": 2 + }, + "end": { + "line": 430, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 15098, + "end": 15109, + "loc": { + "start": { + "line": 422, + "column": 2 + }, + "end": { + "line": 422, + "column": 13 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15111, + "end": 15401, + "loc": { + "start": { + "line": 422, + "column": 15 + }, + "end": { + "line": 430, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 15118, + "end": 15194, + "loc": { + "start": { + "line": 423, + "column": 4 + }, + "end": { + "line": 425, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 15121, + "end": 15139, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 15121, + "end": 15133, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 15121, + "end": 15125, + "loc": { + "start": { + "line": 423, + "column": 7 + }, + "end": { + "line": 423, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 15126, + "end": 15133, + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15134, + "end": 15139, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 25 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15140, + "end": 15194, + "loc": { + "start": { + "line": 423, + "column": 26 + }, + "end": { + "line": 425, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15149, + "end": 15187, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 15149, + "end": 15186, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15149, + "end": 15160, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 15149, + "end": 15156, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 15157, + "end": 15160, + "loc": { + "start": { + "line": 424, + "column": 14 + }, + "end": { + "line": 424, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15161, + "end": 15185, + "loc": { + "start": { + "line": 424, + "column": 18 + }, + "end": { + "line": 424, + "column": 42 + } + }, + "extra": { + "rawValue": "Caret handling started", + "raw": "\"Caret handling started\"" + }, + "value": "Caret handling started" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 15202, + "end": 15261, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 15202, + "end": 15260, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15202, + "end": 15227, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15202, + "end": 15210, + "loc": { + "start": { + "line": 427, + "column": 4 + }, + "end": { + "line": 427, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15211, + "end": 15227, + "loc": { + "start": { + "line": 427, + "column": 13 + }, + "end": { + "line": 427, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15228, + "end": 15235, + "loc": { + "start": { + "line": 427, + "column": 30 + }, + "end": { + "line": 427, + "column": 37 + } + }, + "extra": { + "rawValue": "keyup", + "raw": "\"keyup\"" + }, + "value": "keyup" + }, + { + "type": "MemberExpression", + "start": 15237, + "end": 15259, + "loc": { + "start": { + "line": 427, + "column": 39 + }, + "end": { + "line": 427, + "column": 61 + } + }, + "object": { + "type": "ThisExpression", + "start": 15237, + "end": 15241, + "loc": { + "start": { + "line": 427, + "column": 39 + }, + "end": { + "line": 427, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 15242, + "end": 15259, + "loc": { + "start": { + "line": 427, + "column": 44 + }, + "end": { + "line": 427, + "column": 61 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15267, + "end": 15328, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 15267, + "end": 15327, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15267, + "end": 15292, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15267, + "end": 15275, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15276, + "end": 15292, + "loc": { + "start": { + "line": 428, + "column": 13 + }, + "end": { + "line": 428, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15293, + "end": 15302, + "loc": { + "start": { + "line": 428, + "column": 30 + }, + "end": { + "line": 428, + "column": 39 + } + }, + "extra": { + "rawValue": "mouseup", + "raw": "\"mouseup\"" + }, + "value": "mouseup" + }, + { + "type": "MemberExpression", + "start": 15304, + "end": 15326, + "loc": { + "start": { + "line": 428, + "column": 41 + }, + "end": { + "line": 428, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 15304, + "end": 15308, + "loc": { + "start": { + "line": 428, + "column": 41 + }, + "end": { + "line": 428, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "start": 15309, + "end": 15326, + "loc": { + "start": { + "line": 428, + "column": 46 + }, + "end": { + "line": 428, + "column": 63 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15334, + "end": 15396, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 66 + } + }, + "expression": { + "type": "CallExpression", + "start": 15334, + "end": 15395, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15334, + "end": 15359, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 15334, + "end": 15342, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 15343, + "end": 15359, + "loc": { + "start": { + "line": 429, + "column": 13 + }, + "end": { + "line": 429, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15360, + "end": 15370, + "loc": { + "start": { + "line": 429, + "column": 30 + }, + "end": { + "line": 429, + "column": 40 + } + }, + "extra": { + "rawValue": "touchend", + "raw": "\"touchend\"" + }, + "value": "touchend" + }, + { + "type": "MemberExpression", + "start": 15372, + "end": 15394, + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 15372, + "end": 15376, + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 15377, + "end": 15394, + "loc": { + "start": { + "line": 429, + "column": 47 + }, + "end": { + "line": 429, + "column": 64 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", + "start": 15004, + "end": 15094, + "loc": { + "start": { + "line": 419, + "column": 2 + }, + "end": { + "line": 421, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", + "start": 15407, + "end": 15519, + "loc": { + "start": { + "line": 432, + "column": 2 + }, + "end": { + "line": 434, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 15523, + "end": 16073, + "loc": { + "start": { + "line": 435, "column": 2 }, "end": { @@ -49272,340 +54617,1031 @@ "computed": false, "key": { "type": "Identifier", - "start": 15697, - "end": 15705, + "start": 15523, + "end": 15540, "loc": { "start": { - "line": 449, + "line": 435, "column": 2 }, "end": { - "line": 449, - "column": 10 + "line": 435, + "column": 19 }, - "identifierName": "onRender" + "identifierName": "caretEventHandler" }, - "name": "onRender", + "name": "caretEventHandler", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 15708, - "end": 15805, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15541, + "end": 15546, + "loc": { + "start": { + "line": 435, + "column": 20 + }, + "end": { + "line": 435, + "column": 25 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 15547, + "end": 16073, "loc": { "start": { - "line": 449, - "column": 13 + "line": 435, + "column": 26 }, "end": { "line": 452, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 15714, - "end": 15805, - "loc": { - "start": { - "line": 449, - "column": 19 + "body": [ + { + "type": "VariableDeclaration", + "start": 15554, + "end": 15609, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 59 + } }, - "end": { - "line": 452, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 15721, - "end": 15800, - "loc": { - "start": { - "line": 450, - "column": 4 - }, - "end": { - "line": 451, - "column": 30 - } - }, - "test": { - "type": "BinaryExpression", - "start": 15724, - "end": 15767, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15558, + "end": 15608, "loc": { "start": { - "line": 450, - "column": 7 + "line": 436, + "column": 8 }, "end": { - "line": 450, - "column": 50 + "line": 436, + "column": 58 } }, - "left": { - "type": "UnaryExpression", - "start": 15724, - "end": 15752, + "id": { + "type": "Identifier", + "start": 15558, + "end": 15571, "loc": { "start": { - "line": 450, - "column": 7 + "line": 436, + "column": 8 }, "end": { - "line": 450, - "column": 35 - } + "line": 436, + "column": 21 + }, + "identifierName": "targetTagName" }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 15731, - "end": 15752, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 15731, - "end": 15743, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 15731, - "end": 15735, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 15736, - "end": 15743, - "loc": { - "start": { - "line": 450, - "column": 19 - }, - "end": { - "line": 450, - "column": 26 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15744, - "end": 15752, - "loc": { - "start": { - "line": 450, - "column": 27 - }, - "end": { - "line": 450, - "column": 35 - }, - "identifierName": "onRender" - }, - "name": "onRender" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } + "name": "targetTagName" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 15757, - "end": 15767, - "loc": { - "start": { - "line": 450, - "column": 40 - }, - "end": { - "line": 450, - "column": 50 - } - }, - "extra": { - "rawValue": "function", - "raw": "\"function\"" - }, - "value": "function" - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 15776, - "end": 15800, - "loc": { - "start": { - "line": 451, - "column": 6 - }, - "end": { - "line": 451, - "column": 30 - } - }, - "expression": { + "init": { "type": "CallExpression", - "start": 15776, - "end": 15799, + "start": 15574, + "end": 15608, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 29 + "line": 436, + "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 15776, - "end": 15797, + "start": 15574, + "end": 15606, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 27 + "line": 436, + "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15776, - "end": 15788, + "start": 15574, + "end": 15594, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 18 + "line": 436, + "column": 44 } }, "object": { - "type": "ThisExpression", - "start": 15776, - "end": 15780, + "type": "MemberExpression", + "start": 15574, + "end": 15586, "loc": { "start": { - "line": 451, - "column": 6 + "line": 436, + "column": 24 }, "end": { - "line": 451, - "column": 10 + "line": 436, + "column": 36 } - } + }, + "object": { + "type": "Identifier", + "start": 15574, + "end": 15579, + "loc": { + "start": { + "line": 436, + "column": 24 + }, + "end": { + "line": 436, + "column": 29 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15580, + "end": 15586, + "loc": { + "start": { + "line": 436, + "column": 30 + }, + "end": { + "line": 436, + "column": 36 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 15781, - "end": 15788, + "start": 15587, + "end": 15594, "loc": { "start": { - "line": 451, - "column": 11 + "line": 436, + "column": 37 }, "end": { - "line": 451, - "column": 18 + "line": 436, + "column": 44 }, - "identifierName": "options" + "identifierName": "tagName" }, - "name": "options" + "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", - "start": 15789, - "end": 15797, + "start": 15595, + "end": 15606, "loc": { "start": { - "line": 451, - "column": 19 + "line": 436, + "column": 45 }, "end": { - "line": 451, - "column": 27 + "line": 436, + "column": 56 }, - "identifierName": "onRender" + "identifierName": "toLowerCase" }, - "name": "onRender" + "name": "toLowerCase" }, "computed": false }, "arguments": [] } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 15617, + "end": 16068, + "loc": { + "start": { + "line": 438, + "column": 4 }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, + "end": { + "line": 451, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 15628, + "end": 15692, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "left": { + "type": "BinaryExpression", + "start": 15628, + "end": 15656, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 439, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 15628, + "end": 15641, + "loc": { + "start": { + "line": 439, + "column": 6 + }, + "end": { + "line": 439, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 15646, + "end": 15656, + "loc": { + "start": { + "line": 439, + "column": 24 + }, + "end": { + "line": 439, + "column": 34 + } + }, + "extra": { + "rawValue": "textarea", + "raw": "\"textarea\"" + }, + "value": "textarea" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 15667, + "end": 15692, + "loc": { + "start": { + "line": 440, + "column": 6 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 15667, + "end": 15680, + "loc": { + "start": { + "line": 440, + "column": 6 + }, + "end": { + "line": 440, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 15685, + "end": 15692, + "loc": { + "start": { + "line": 440, + "column": 24 + }, + "end": { + "line": 440, + "column": 31 + } + }, + "extra": { + "rawValue": "input", + "raw": "\"input\"" + }, + "value": "input" + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 15699, + "end": 16068, + "loc": { + "start": { + "line": 441, + "column": 5 + }, + "end": { + "line": 451, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15864, + "end": 15913, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15864, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 15864, + "end": 15882, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 15864, + "end": 15868, + "loc": { + "start": { + "line": 446, + "column": 6 + }, + "end": { + "line": 446, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 15869, + "end": 15882, + "loc": { + "start": { + "line": 446, + "column": 11 + }, + "end": { + "line": 446, + "column": 24 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 15885, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 15885, + "end": 15897, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 15885, + "end": 15890, + "loc": { + "start": { + "line": 446, + "column": 27 + }, + "end": { + "line": 446, + "column": 32 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15891, + "end": 15897, + "loc": { + "start": { + "line": 446, + "column": 33 + }, + "end": { + "line": 446, + "column": 39 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15898, + "end": 15912, + "loc": { + "start": { + "line": 446, + "column": 40 + }, + "end": { + "line": 446, + "column": 54 + }, + "identifierName": "selectionStart" + }, + "name": "selectionStart" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", + "start": 15708, + "end": 15856, + "loc": { + "start": { + "line": 442, + "column": 6 + }, + "end": { + "line": 445, + "column": 9 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 15923, + "end": 16056, + "loc": { + "start": { + "line": 448, + "column": 6 + }, + "end": { + "line": 450, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 15926, + "end": 15944, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 15926, + "end": 15938, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 15926, + "end": 15930, + "loc": { + "start": { + "line": 448, + "column": 9 + }, + "end": { + "line": 448, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 15931, + "end": 15938, + "loc": { + "start": { + "line": 448, + "column": 14 + }, + "end": { + "line": 448, + "column": 21 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15939, + "end": 15944, + "loc": { + "start": { + "line": 448, + "column": 22 + }, + "end": { + "line": 448, + "column": 27 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15945, + "end": 16056, + "loc": { + "start": { + "line": 448, + "column": 28 + }, + "end": { + "line": 450, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15956, + "end": 16047, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 99 + } + }, + "expression": { + "type": "CallExpression", + "start": 15956, + "end": 16046, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 98 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15956, + "end": 15967, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 15956, + "end": 15963, + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 15 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 15964, + "end": 15967, + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 19 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15968, + "end": 15980, + "loc": { + "start": { + "line": 449, + "column": 20 + }, + "end": { + "line": 449, + "column": 32 + } + }, + "extra": { + "rawValue": "Caret at: ", + "raw": "'Caret at: '" + }, + "value": "Caret at: " + }, + { + "type": "MemberExpression", + "start": 15982, + "end": 16009, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 15982, + "end": 15994, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 15982, + "end": 15987, + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 39 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 15988, + "end": 15994, + "loc": { + "start": { + "line": 449, + "column": 40 + }, + "end": { + "line": 449, + "column": 46 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15995, + "end": 16009, + "loc": { + "start": { + "line": 449, + "column": 47 + }, + "end": { + "line": 449, + "column": 61 + }, + "identifierName": "selectionStart" + }, + "name": "selectionStart" + }, + "computed": false + }, + { + "type": "CallExpression", + "start": 16011, + "end": 16045, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 97 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16011, + "end": 16043, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 95 + } + }, + "object": { + "type": "MemberExpression", + "start": 16011, + "end": 16031, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 16011, + "end": 16023, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 16011, + "end": 16016, + "loc": { + "start": { + "line": 449, + "column": 63 + }, + "end": { + "line": 449, + "column": 68 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 16017, + "end": 16023, + "loc": { + "start": { + "line": 449, + "column": 69 + }, + "end": { + "line": 449, + "column": 75 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16024, + "end": 16031, + "loc": { + "start": { + "line": 449, + "column": 76 + }, + "end": { + "line": 449, + "column": 83 + }, + "identifierName": "tagName" + }, + "name": "tagName" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16032, + "end": 16043, + "loc": { + "start": { + "line": 449, + "column": 84 + }, + "end": { + "line": 449, + "column": 95 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, + "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", + "start": 15407, + "end": 15519, "loc": { "start": { - "line": 446, + "line": 432, "column": 2 }, "end": { - "line": 448, + "line": 434, "column": 5 } } @@ -49614,9 +55650,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 16079, + "end": 16199, "loc": { "start": { "line": 454, @@ -49631,16 +55667,16 @@ ] }, { - "type": "ClassProperty", - "start": 15871, - "end": 20000, + "type": "ClassMethod", + "start": 16203, + "end": 16439, "loc": { "start": { "line": 457, "column": 2 }, "end": { - "line": 593, + "line": 469, "column": 3 } }, @@ -49648,8 +55684,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 15871, - "end": 15877, + "start": 16203, + "end": 16209, "loc": { "start": { "line": 457, @@ -49659,22 +55695,1907 @@ "line": 457, "column": 8 }, - "identifierName": "render" + "identifierName": "onInit" }, - "name": "render", + "name": "onInit", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16211, + "end": 16439, + "loc": { + "start": { + "line": 457, + "column": 10 + }, + "end": { + "line": 469, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16218, + "end": 16283, + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 460, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 16221, + "end": 16239, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 16221, + "end": 16233, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 16221, + "end": 16225, + "loc": { + "start": { + "line": 458, + "column": 7 + }, + "end": { + "line": 458, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 16226, + "end": 16233, + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 458, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16234, + "end": 16239, + "loc": { + "start": { + "line": 458, + "column": 20 + }, + "end": { + "line": 458, + "column": 25 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 16240, + "end": 16283, + "loc": { + "start": { + "line": 458, + "column": 26 + }, + "end": { + "line": 460, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16249, + "end": 16276, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 16249, + "end": 16275, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16249, + "end": 16260, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 16249, + "end": 16256, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 16257, + "end": 16260, + "loc": { + "start": { + "line": 459, + "column": 14 + }, + "end": { + "line": 459, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16261, + "end": 16274, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 459, + "column": 31 + } + }, + "extra": { + "rawValue": "Initialized", + "raw": "\"Initialized\"" + }, + "value": "Initialized" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 464, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 16332, + "end": 16351, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 16332, + "end": 16350, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16332, + "end": 16348, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 16332, + "end": 16336, + "loc": { + "start": { + "line": 465, + "column": 4 + }, + "end": { + "line": 465, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 16337, + "end": 16348, + "loc": { + "start": { + "line": 465, + "column": 9 + }, + "end": { + "line": 465, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 464, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 16359, + "end": 16434, + "loc": { + "start": { + "line": 467, + "column": 4 + }, + "end": { + "line": 468, + "column": 28 + } + }, + "test": { + "type": "BinaryExpression", + "start": 16362, + "end": 16403, + "loc": { + "start": { + "line": 467, + "column": 7 + }, + "end": { + "line": 467, + "column": 48 + } + }, + "left": { + "type": "UnaryExpression", + "start": 16362, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 7 + }, + "end": { + "line": 467, + "column": 33 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16369, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 16369, + "end": 16381, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16369, + "end": 16373, + "loc": { + "start": { + "line": 467, + "column": 14 + }, + "end": { + "line": 467, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 16374, + "end": 16381, + "loc": { + "start": { + "line": 467, + "column": 19 + }, + "end": { + "line": 467, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16382, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 27 + }, + "end": { + "line": 467, + "column": 33 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 16393, + "end": 16403, + "loc": { + "start": { + "line": 467, + "column": 38 + }, + "end": { + "line": 467, + "column": 48 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 16412, + "end": 16434, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 16412, + "end": 16433, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16412, + "end": 16431, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 16412, + "end": 16424, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 16412, + "end": 16416, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 16417, + "end": 16424, + "loc": { + "start": { + "line": 468, + "column": 11 + }, + "end": { + "line": 468, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16425, + "end": 16431, + "loc": { + "start": { + "line": 468, + "column": 19 + }, + "end": { + "line": 468, + "column": 25 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 16079, + "end": 16199, + "loc": { + "start": { + "line": 454, + "column": 2 + }, + "end": { + "line": 456, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 16567, + "end": 16668, + "loc": { + "start": { + "line": 474, + "column": 2 + }, + "end": { + "line": 477, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16567, + "end": 16575, + "loc": { + "start": { + "line": 474, + "column": 2 + }, + "end": { + "line": 474, + "column": 10 + }, + "identifierName": "onRender" + }, + "name": "onRender", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16577, + "end": 16668, + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 477, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16584, + "end": 16663, + "loc": { + "start": { + "line": 475, + "column": 4 + }, + "end": { + "line": 476, + "column": 30 + } + }, + "test": { + "type": "BinaryExpression", + "start": 16587, + "end": 16630, + "loc": { + "start": { + "line": 475, + "column": 7 + }, + "end": { + "line": 475, + "column": 50 + } + }, + "left": { + "type": "UnaryExpression", + "start": 16587, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 7 + }, + "end": { + "line": 475, + "column": 35 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16594, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16594, + "end": 16606, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 16594, + "end": 16598, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 16599, + "end": 16606, + "loc": { + "start": { + "line": 475, + "column": 19 + }, + "end": { + "line": 475, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16607, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 27 + }, + "end": { + "line": 475, + "column": 35 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 16620, + "end": 16630, + "loc": { + "start": { + "line": 475, + "column": 40 + }, + "end": { + "line": 475, + "column": 50 + } + }, + "extra": { + "rawValue": "function", + "raw": "\"function\"" + }, + "value": "function" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 16639, + "end": 16663, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 16639, + "end": 16662, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16639, + "end": 16660, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 16639, + "end": 16651, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 16639, + "end": 16643, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 16644, + "end": 16651, + "loc": { + "start": { + "line": 476, + "column": 11 + }, + "end": { + "line": 476, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16652, + "end": 16660, + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 27 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 16710, + "end": 16828, + "loc": { + "start": { + "line": 482, + "column": 2 + }, + "end": { + "line": 486, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16710, + "end": 16724, + "loc": { + "start": { + "line": 482, + "column": 2 + }, + "end": { + "line": 482, + "column": 16 + }, + "identifierName": "registerModule" + }, + "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", - "start": 15880, - "end": 20000, + "start": 16727, + "end": 16828, "loc": { "start": { - "line": 457, - "column": 11 + "line": 482, + "column": 19 }, "end": { - "line": 593, + "line": 486, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16728, + "end": 16732, + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 24 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 16734, + "end": 16746, + "loc": { + "start": { + "line": 482, + "column": 26 + }, + "end": { + "line": 482, + "column": 38 + }, + "identifierName": "initCallback" + }, + "name": "initCallback" + } + ], + "body": { + "type": "BlockStatement", + "start": 16751, + "end": 16828, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 486, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16758, + "end": 16782, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16758, + "end": 16781, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16758, + "end": 16776, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 16758, + "end": 16770, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 16758, + "end": 16762, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 16763, + "end": 16770, + "loc": { + "start": { + "line": 483, + "column": 9 + }, + "end": { + "line": 483, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16771, + "end": 16775, + "loc": { + "start": { + "line": 483, + "column": 17 + }, + "end": { + "line": 483, + "column": 21 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "right": { + "type": "ObjectExpression", + "start": 16779, + "end": 16781, + "loc": { + "start": { + "line": 483, + "column": 25 + }, + "end": { + "line": 483, + "column": 27 + } + }, + "properties": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 16790, + "end": 16823, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 16790, + "end": 16822, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 16790, + "end": 16802, + "loc": { + "start": { + "line": 485, + "column": 4 + }, + "end": { + "line": 485, + "column": 16 + }, + "identifierName": "initCallback" + }, + "name": "initCallback" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 16803, + "end": 16821, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16803, + "end": 16815, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 16803, + "end": 16807, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 16808, + "end": 16815, + "loc": { + "start": { + "line": 485, + "column": 22 + }, + "end": { + "line": 485, + "column": 29 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16816, + "end": 16820, + "loc": { + "start": { + "line": 485, + "column": 30 + }, + "end": { + "line": 485, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 490, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 16870, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 2 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 16870, + "end": 16883, + "loc": { + "start": { + "line": 491, + "column": 2 + }, + "end": { + "line": 491, + "column": 15 + }, + "identifierName": "getModuleProp" + }, + "name": "getModuleProp", + "leadingComments": null + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 16886, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 18 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16887, + "end": 16891, + "loc": { + "start": { + "line": 491, + "column": 19 + }, + "end": { + "line": 491, + "column": 23 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 16893, + "end": 16897, + "loc": { + "start": { + "line": 491, + "column": 25 + }, + "end": { + "line": 491, + "column": 29 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ], + "body": { + "type": "BlockStatement", + "start": 16902, + "end": 17002, + "loc": { + "start": { + "line": 491, + "column": 34 + }, + "end": { + "line": 496, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16909, + "end": 16953, + "loc": { + "start": { + "line": 492, + "column": 4 + }, + "end": { + "line": 493, + "column": 19 + } + }, + "test": { + "type": "UnaryExpression", + "start": 16912, + "end": 16931, + "loc": { + "start": { + "line": 492, + "column": 7 + }, + "end": { + "line": 492, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 16913, + "end": 16931, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 16913, + "end": 16925, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 16913, + "end": 16917, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 16918, + "end": 16925, + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 20 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16926, + "end": 16930, + "loc": { + "start": { + "line": 492, + "column": 21 + }, + "end": { + "line": 492, + "column": 25 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 16940, + "end": 16953, + "loc": { + "start": { + "line": 493, + "column": 6 + }, + "end": { + "line": 493, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 16947, + "end": 16952, + "loc": { + "start": { + "line": 493, + "column": 13 + }, + "end": { + "line": 493, + "column": 18 + } + }, + "value": false + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 16965, + "end": 16997, + "loc": { + "start": { + "line": 495, + "column": 4 + }, + "end": { + "line": 495, + "column": 36 + } + }, + "argument": { + "type": "MemberExpression", + "start": 16972, + "end": 16996, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 16972, + "end": 16990, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 16972, + "end": 16984, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 16972, + "end": 16976, + "loc": { + "start": { + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 16977, + "end": 16984, + "loc": { + "start": { + "line": 495, + "column": 16 + }, + "end": { + "line": 495, + "column": 23 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16985, + "end": 16989, + "loc": { + "start": { + "line": 495, + "column": 24 + }, + "end": { + "line": 495, + "column": 28 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 16991, + "end": 16995, + "loc": { + "start": { + "line": 495, + "column": 30 + }, + "end": { + "line": 495, + "column": 34 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + "computed": true + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 490, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 17043, + "end": 17111, + "loc": { + "start": { + "line": 501, + "column": 2 + }, + "end": { + "line": 503, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 17043, + "end": 17057, + "loc": { + "start": { + "line": 501, + "column": 2 + }, + "end": { + "line": 501, + "column": 16 + }, + "identifierName": "getModulesList" + }, + "name": "getModulesList", + "leadingComments": null + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 17060, + "end": 17111, + "loc": { + "start": { + "line": 501, + "column": 19 + }, + "end": { + "line": 503, "column": 3 } }, @@ -49685,876 +57606,462 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15886, - "end": 20000, + "start": 17066, + "end": 17111, "loc": { "start": { - "line": 457, - "column": 17 + "line": 501, + "column": 25 }, "end": { - "line": 593, + "line": 503, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15934, - "end": 15947, + "type": "ReturnStatement", + "start": 17073, + "end": 17106, "loc": { "start": { - "line": 461, + "line": 502, "column": 4 }, "end": { - "line": 461, - "column": 17 + "line": 502, + "column": 37 } }, - "expression": { + "argument": { "type": "CallExpression", - "start": 15934, - "end": 15946, + "start": 17080, + "end": 17105, "loc": { "start": { - "line": 461, - "column": 4 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 16 + "line": 502, + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 15934, - "end": 15944, + "start": 17080, + "end": 17091, "loc": { "start": { - "line": 461, - "column": 4 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 14 + "line": 502, + "column": 22 } }, "object": { - "type": "ThisExpression", - "start": 15934, - "end": 15938, - "loc": { - "start": { - "line": 461, - "column": 4 - }, - "end": { - "line": 461, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { "type": "Identifier", - "start": 15939, - "end": 15944, + "start": 17080, + "end": 17086, "loc": { "start": { - "line": 461, - "column": 9 + "line": 502, + "column": 11 }, "end": { - "line": 461, - "column": 14 - }, - "identifierName": "clear" - }, - "name": "clear" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Clear keyboard\r\n ", - "start": 15893, - "end": 15928, - "loc": { - "start": { - "line": 458, - "column": 4 - }, - "end": { - "line": 460, - "column": 7 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 15955, - "end": 16055, - "loc": { - "start": { - "line": 463, - "column": 4 - }, - "end": { - "line": 463, - "column": 104 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15959, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 8 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "id": { - "type": "Identifier", - "start": 15959, - "end": 15970, - "loc": { - "start": { - "line": 463, - "column": 8 - }, - "end": { - "line": 463, - "column": 19 - }, - "identifierName": "layoutClass" - }, - "name": "layoutClass" - }, - "init": { - "type": "ConditionalExpression", - "start": 15973, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "test": { - "type": "MemberExpression", - "start": 15973, - "end": 15992, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 15973, - "end": 15985, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 15973, - "end": 15977, - "loc": { - "start": { - "line": 463, - "column": 22 - }, - "end": { - "line": 463, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 15978, - "end": 15985, - "loc": { - "start": { - "line": 463, - "column": 27 - }, - "end": { - "line": 463, - "column": 34 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15986, - "end": 15992, - "loc": { - "start": { - "line": 463, - "column": 35 - }, - "end": { - "line": 463, - "column": 41 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "computed": false - }, - "consequent": { - "type": "StringLiteral", - "start": 15995, - "end": 16013, - "loc": { - "start": { - "line": 463, - "column": 44 - }, - "end": { - "line": 463, - "column": 62 - } - }, - "extra": { - "rawValue": "hg-layout-custom", - "raw": "\"hg-layout-custom\"" - }, - "value": "hg-layout-custom" - }, - "alternate": { - "type": "TemplateLiteral", - "start": 16016, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 65 - }, - "end": { - "line": 463, - "column": 103 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 16029, - "end": 16052, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 101 - } - }, - "object": { - "type": "MemberExpression", - "start": 16029, - "end": 16041, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 90 - } - }, - "object": { - "type": "ThisExpression", - "start": 16029, - "end": 16033, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 82 - } - } - }, - "property": { - "type": "Identifier", - "start": 16034, - "end": 16041, - "loc": { - "start": { - "line": 463, - "column": 83 - }, - "end": { - "line": 463, - "column": 90 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16042, - "end": 16052, - "loc": { - "start": { - "line": 463, - "column": 91 - }, - "end": { - "line": 463, - "column": 101 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 16017, - "end": 16027, - "loc": { - "start": { - "line": 463, - "column": 66 - }, - "end": { - "line": 463, - "column": 76 - } - }, - "value": { - "raw": "hg-layout-", - "cooked": "hg-layout-" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 16053, - "end": 16053, - "loc": { - "start": { - "line": 463, - "column": 102 - }, - "end": { - "line": 463, - "column": 102 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 16061, - "end": 16131, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 464, - "column": 74 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16065, - "end": 16130, - "loc": { - "start": { - "line": 464, - "column": 8 - }, - "end": { - "line": 464, - "column": 73 - } - }, - "id": { - "type": "Identifier", - "start": 16065, - "end": 16071, - "loc": { - "start": { - "line": 464, - "column": 8 - }, - "end": { - "line": 464, - "column": 14 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "init": { - "type": "LogicalExpression", - "start": 16074, - "end": 16130, - "loc": { - "start": { - "line": 464, + "line": 502, "column": 17 }, - "end": { - "line": 464, - "column": 73 - } + "identifierName": "Object" }, - "left": { - "type": "MemberExpression", - "start": 16074, - "end": 16093, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 16074, - "end": 16086, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 16074, - "end": 16078, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 16079, - "end": 16086, - "loc": { - "start": { - "line": 464, - "column": 22 - }, - "end": { - "line": 464, - "column": 29 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16087, - "end": 16093, - "loc": { - "start": { - "line": 464, - "column": 30 - }, - "end": { - "line": 464, - "column": 36 - }, - "identifierName": "layout" - }, - "name": "layout" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 16097, - "end": 16130, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 73 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16097, - "end": 16128, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 16097, - "end": 16111, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 54 - }, - "identifierName": "KeyboardLayout" - }, - "name": "KeyboardLayout" - }, - "property": { - "type": "Identifier", - "start": 16112, - "end": 16128, - "loc": { - "start": { - "line": 464, - "column": 55 - }, - "end": { - "line": 464, - "column": 71 - }, - "identifierName": "getDefaultLayout" - }, - "name": "getDefaultLayout" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, - "loc": { - "start": { - "line": 466, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 16197, - "end": 16225, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 469, - "column": 32 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16201, - "end": 16224, - "loc": { - "start": { - "line": 469, - "column": 8 - }, - "end": { - "line": 469, - "column": 31 - } - }, - "id": { - "type": "Identifier", - "start": 16201, - "end": 16219, - "loc": { - "start": { - "line": 469, - "column": 8 - }, - "end": { - "line": 469, - "column": 26 - }, - "identifierName": "buttonThemesParsed" - }, - "name": "buttonThemesParsed", - "leadingComments": null - }, - "init": { - "type": "ObjectExpression", - "start": 16222, - "end": 16224, - "loc": { - "start": { - "line": 469, - "column": 29 - }, - "end": { - "line": 469, - "column": 31 - } - }, - "properties": [] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, - "loc": { - "start": { - "line": 466, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 16231, - "end": 17370, - "loc": { - "start": { - "line": 470, - "column": 4 - }, - "end": { - "line": 498, - "column": 5 - } - }, - "test": { - "type": "CallExpression", - "start": 16234, - "end": 16273, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16234, - "end": 16247, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 16234, - "end": 16239, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 12 - }, - "identifierName": "Array" - }, - "name": "Array" + "name": "Object" }, "property": { "type": "Identifier", - "start": 16240, - "end": 16247, + "start": 17087, + "end": 17091, "loc": { "start": { - "line": 470, - "column": 13 + "line": 502, + "column": 18 }, "end": { - "line": 470, - "column": 20 + "line": 502, + "column": 22 }, - "identifierName": "isArray" + "identifierName": "keys" }, - "name": "isArray" + "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", - "start": 16248, - "end": 16272, + "start": 17092, + "end": 17104, "loc": { "start": { - "line": 470, - "column": 21 + "line": 502, + "column": 23 }, "end": { - "line": 470, - "column": 45 + "line": 502, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 17092, + "end": 17096, + "loc": { + "start": { + "line": 502, + "column": 23 + }, + "end": { + "line": 502, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 17097, + "end": 17104, + "loc": { + "start": { + "line": 502, + "column": 28 + }, + "end": { + "line": 502, + "column": 35 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 17117, + "end": 17173, + "loc": { + "start": { + "line": 505, + "column": 2 + }, + "end": { + "line": 507, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 17177, + "end": 21299, + "loc": { + "start": { + "line": 508, + "column": 2 + }, + "end": { + "line": 644, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 17177, + "end": 17183, + "loc": { + "start": { + "line": 508, + "column": 2 + }, + "end": { + "line": 508, + "column": 8 + }, + "identifierName": "render" + }, + "name": "render", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 17185, + "end": 21299, + "loc": { + "start": { + "line": 508, + "column": 10 + }, + "end": { + "line": 644, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17233, + "end": 17246, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 17233, + "end": 17245, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17233, + "end": 17243, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 17233, + "end": 17237, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 17238, + "end": 17243, + "loc": { + "start": { + "line": 512, + "column": 9 + }, + "end": { + "line": 512, + "column": 14 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Clear keyboard\r\n ", + "start": 17192, + "end": 17227, + "loc": { + "start": { + "line": 509, + "column": 4 + }, + "end": { + "line": 511, + "column": 7 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 17254, + "end": 17354, + "loc": { + "start": { + "line": 514, + "column": 4 + }, + "end": { + "line": 514, + "column": 104 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17258, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 103 + } + }, + "id": { + "type": "Identifier", + "start": 17258, + "end": 17269, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 19 + }, + "identifierName": "layoutClass" + }, + "name": "layoutClass" + }, + "init": { + "type": "ConditionalExpression", + "start": 17272, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 103 + } + }, + "test": { + "type": "MemberExpression", + "start": 17272, + "end": 17291, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 41 } }, "object": { "type": "MemberExpression", - "start": 16248, - "end": 16260, + "start": 17272, + "end": 17284, "loc": { "start": { - "line": 470, - "column": 21 + "line": 514, + "column": 22 }, "end": { - "line": 470, - "column": 33 + "line": 514, + "column": 34 } }, "object": { "type": "ThisExpression", - "start": 16248, - "end": 16252, + "start": 17272, + "end": 17276, "loc": { "start": { - "line": 470, - "column": 21 + "line": 514, + "column": 22 }, "end": { - "line": 470, - "column": 25 + "line": 514, + "column": 26 } } }, "property": { "type": "Identifier", - "start": 16253, - "end": 16260, + "start": 17277, + "end": 17284, "loc": { "start": { - "line": 470, - "column": 26 + "line": 514, + "column": 27 }, "end": { - "line": 470, - "column": 33 + "line": 514, + "column": 34 }, "identifierName": "options" }, @@ -50564,4151 +58071,5375 @@ }, "property": { "type": "Identifier", - "start": 16261, - "end": 16272, + "start": 17285, + "end": 17291, "loc": { "start": { - "line": 470, - "column": 34 + "line": 514, + "column": 35 }, "end": { - "line": 470, - "column": 45 + "line": 514, + "column": 41 }, - "identifierName": "buttonTheme" + "identifierName": "layout" }, - "name": "buttonTheme" + "name": "layout" }, "computed": false - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 16274, - "end": 17370, - "loc": { - "start": { - "line": 470, - "column": 47 }, - "end": { - "line": 498, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16283, - "end": 17363, + "consequent": { + "type": "StringLiteral", + "start": 17294, + "end": 17312, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 44 }, "end": { - "line": 497, - "column": 9 + "line": 514, + "column": 62 } }, - "expression": { - "type": "CallExpression", - "start": 16283, - "end": 17362, - "loc": { - "start": { - "line": 471, - "column": 6 - }, - "end": { - "line": 497, - "column": 8 - } + "extra": { + "rawValue": "hg-layout-custom", + "raw": "\"hg-layout-custom\"" + }, + "value": "hg-layout-custom" + }, + "alternate": { + "type": "TemplateLiteral", + "start": 17315, + "end": 17353, + "loc": { + "start": { + "line": 514, + "column": 65 }, - "callee": { + "end": { + "line": 514, + "column": 103 + } + }, + "expressions": [ + { "type": "MemberExpression", - "start": 16283, - "end": 16315, + "start": 17328, + "end": 17351, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 38 + "line": 514, + "column": 101 } }, "object": { "type": "MemberExpression", - "start": 16283, - "end": 16307, + "start": 17328, + "end": 17340, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 30 + "line": 514, + "column": 90 } }, "object": { - "type": "MemberExpression", - "start": 16283, - "end": 16295, + "type": "ThisExpression", + "start": 17328, + "end": 17332, "loc": { "start": { - "line": 471, - "column": 6 + "line": 514, + "column": 78 }, "end": { - "line": 471, - "column": 18 + "line": 514, + "column": 82 } - }, - "object": { - "type": "ThisExpression", - "start": 16283, - "end": 16287, - "loc": { - "start": { - "line": 471, - "column": 6 - }, - "end": { - "line": 471, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 16288, - "end": 16295, - "loc": { - "start": { - "line": 471, - "column": 11 - }, - "end": { - "line": 471, - "column": 18 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 16296, - "end": 16307, + "start": 17333, + "end": 17340, "loc": { "start": { - "line": 471, - "column": 19 + "line": 514, + "column": 83 }, "end": { - "line": 471, - "column": 30 + "line": 514, + "column": 90 }, - "identifierName": "buttonTheme" + "identifierName": "options" }, - "name": "buttonTheme" + "name": "options" }, "computed": false }, "property": { "type": "Identifier", - "start": 16308, - "end": 16315, + "start": 17341, + "end": 17351, "loc": { "start": { - "line": 471, - "column": 31 + "line": 514, + "column": 91 }, "end": { - "line": 471, - "column": 38 + "line": 514, + "column": 101 }, - "identifierName": "forEach" + "identifierName": "layoutName" }, - "name": "forEach" + "name": "layoutName" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 17316, + "end": 17326, + "loc": { + "start": { + "line": 514, + "column": 66 + }, + "end": { + "line": 514, + "column": 76 + } + }, + "value": { + "raw": "hg-layout-", + "cooked": "hg-layout-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 17352, + "end": 17352, + "loc": { + "start": { + "line": 514, + "column": 102 + }, + "end": { + "line": 514, + "column": 102 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 17360, + "end": 17430, + "loc": { + "start": { + "line": 515, + "column": 4 + }, + "end": { + "line": 515, + "column": 74 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17364, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 17364, + "end": 17370, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 14 + }, + "identifierName": "layout" + }, + "name": "layout" + }, + "init": { + "type": "LogicalExpression", + "start": 17373, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "left": { + "type": "MemberExpression", + "start": 17373, + "end": 17392, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 17373, + "end": 17385, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 17373, + "end": 17377, + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 17378, + "end": 17385, + "loc": { + "start": { + "line": 515, + "column": 22 + }, + "end": { + "line": 515, + "column": 29 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17386, + "end": 17392, + "loc": { + "start": { + "line": 515, + "column": 30 + }, + "end": { + "line": 515, + "column": 36 + }, + "identifierName": "layout" + }, + "name": "layout" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 17396, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17396, + "end": 17427, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 17396, + "end": 17410, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 54 + }, + "identifierName": "KeyboardLayout" + }, + "name": "KeyboardLayout" + }, + "property": { + "type": "Identifier", + "start": 17411, + "end": 17427, + "loc": { + "start": { + "line": 515, + "column": 55 + }, + "end": { + "line": 515, + "column": 71 + }, + "identifierName": "getDefaultLayout" + }, + "name": "getDefaultLayout" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 17438, + "end": 17490, + "loc": { + "start": { + "line": 517, + "column": 4 + }, + "end": { + "line": 519, + "column": 7 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 17496, + "end": 17524, + "loc": { + "start": { + "line": 520, + "column": 4 + }, + "end": { + "line": 520, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17500, + "end": 17523, + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 17500, + "end": 17518, + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 26 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed", + "leadingComments": null + }, + "init": { + "type": "ObjectExpression", + "start": 17521, + "end": 17523, + "loc": { + "start": { + "line": 520, + "column": 29 + }, + "end": { + "line": 520, + "column": 31 + } + }, + "properties": [] + }, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 17438, + "end": 17490, + "loc": { + "start": { + "line": 517, + "column": 4 + }, + "end": { + "line": 519, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 17530, + "end": 18669, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 549, + "column": 5 + } + }, + "test": { + "type": "CallExpression", + "start": 17533, + "end": 17572, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17533, + "end": 17546, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 17533, + "end": 17538, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 12 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 17539, + "end": 17546, + "loc": { + "start": { + "line": 521, + "column": 13 + }, + "end": { + "line": 521, + "column": 20 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 17547, + "end": 17571, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 17547, + "end": 17559, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 17547, + "end": 17551, + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 17552, + "end": 17559, + "loc": { + "start": { + "line": 521, + "column": 26 + }, + "end": { + "line": 521, + "column": 33 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17560, + "end": 17571, + "loc": { + "start": { + "line": 521, + "column": 34 + }, + "end": { + "line": 521, + "column": 45 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 17573, + "end": 18669, + "loc": { + "start": { + "line": 521, + "column": 47 + }, + "end": { + "line": 549, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17582, + "end": 18662, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 548, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 17582, + "end": 18661, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 548, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17582, + "end": 17614, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 17582, + "end": 17606, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 17582, + "end": 17594, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 17582, + "end": 17586, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 17587, + "end": 17594, + "loc": { + "start": { + "line": 522, + "column": 11 + }, + "end": { + "line": 522, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17595, + "end": 17606, + "loc": { + "start": { + "line": 522, + "column": 19 + }, + "end": { + "line": 522, + "column": 30 + }, + "identifierName": "buttonTheme" + }, + "name": "buttonTheme" }, "computed": false }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 16316, - "end": 17361, + "property": { + "type": "Identifier", + "start": 17607, + "end": 17614, + "loc": { + "start": { + "line": 522, + "column": 31 + }, + "end": { + "line": 522, + "column": 38 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17615, + "end": 18660, + "loc": { + "start": { + "line": 522, + "column": 39 + }, + "end": { + "line": 548, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17615, + "end": 17623, + "loc": { + "start": { + "line": 522, + "column": 39 + }, + "end": { + "line": 522, + "column": 47 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + } + ], + "body": { + "type": "BlockStatement", + "start": 17627, + "end": 18660, "loc": { "start": { - "line": 471, - "column": 39 + "line": 522, + "column": 51 }, "end": { - "line": 497, + "line": 548, "column": 7 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 16316, - "end": 16324, + "type": "IfStatement", + "start": 17638, + "end": 18651, "loc": { "start": { - "line": 471, - "column": 39 + "line": 523, + "column": 8 }, "end": { - "line": 471, - "column": 47 - }, - "identifierName": "themeObj" + "line": 547, + "column": 9 + } }, - "name": "themeObj" - } - ], - "body": { - "type": "BlockStatement", - "start": 16328, - "end": 17361, - "loc": { - "start": { - "line": 471, - "column": 51 - }, - "end": { - "line": 497, - "column": 7 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 16339, - "end": 17352, + "test": { + "type": "LogicalExpression", + "start": 17641, + "end": 17675, "loc": { "start": { - "line": 472, - "column": 8 + "line": 523, + "column": 11 }, "end": { - "line": 496, - "column": 9 + "line": 523, + "column": 45 } }, - "test": { - "type": "LogicalExpression", - "start": 16342, - "end": 16376, + "left": { + "type": "MemberExpression", + "start": 17641, + "end": 17657, "loc": { "start": { - "line": 472, + "line": 523, "column": 11 }, "end": { - "line": 472, - "column": 45 + "line": 523, + "column": 27 } }, - "left": { - "type": "MemberExpression", - "start": 16342, - "end": 16358, + "object": { + "type": "Identifier", + "start": 17641, + "end": 17649, "loc": { "start": { - "line": 472, + "line": 523, "column": 11 }, "end": { - "line": 472, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 16342, - "end": 16350, - "loc": { - "start": { - "line": 472, - "column": 11 - }, - "end": { - "line": 472, - "column": 19 - }, - "identifierName": "themeObj" + "line": 523, + "column": 19 }, - "name": "themeObj" + "identifierName": "themeObj" }, - "property": { - "type": "Identifier", - "start": 16351, - "end": 16358, - "loc": { - "start": { - "line": 472, - "column": 20 - }, - "end": { - "line": 472, - "column": 27 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false + "name": "themeObj" }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 16362, - "end": 16376, + "property": { + "type": "Identifier", + "start": 17650, + "end": 17657, "loc": { "start": { - "line": 472, + "line": 523, + "column": 20 + }, + "end": { + "line": 523, + "column": 27 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 17661, + "end": 17675, + "loc": { + "start": { + "line": 523, + "column": 31 + }, + "end": { + "line": 523, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 17661, + "end": 17669, + "loc": { + "start": { + "line": 523, "column": 31 }, "end": { - "line": 472, + "line": 523, + "column": 39 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 17670, + "end": 17675, + "loc": { + "start": { + "line": 523, + "column": 40 + }, + "end": { + "line": 523, "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 16362, - "end": 16370, - "loc": { - "start": { - "line": 472, - "column": 31 - }, - "end": { - "line": 472, - "column": 39 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 16371, - "end": 16376, - "loc": { - "start": { - "line": 472, - "column": 40 - }, - "end": { - "line": 472, - "column": 45 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false + "name": "class" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17676, + "end": 18517, + "loc": { + "start": { + "line": 523, + "column": 46 + }, + "end": { + "line": 545, + "column": 9 } }, - "consequent": { - "type": "BlockStatement", - "start": 16377, - "end": 17218, - "loc": { - "start": { - "line": 472, - "column": 46 - }, - "end": { - "line": 494, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16390, - "end": 16407, - "loc": { - "start": { - "line": 473, - "column": 10 - }, - "end": { - "line": 473, - "column": 27 - } + "body": [ + { + "type": "VariableDeclaration", + "start": 17689, + "end": 17706, + "loc": { + "start": { + "line": 524, + "column": 10 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16394, - "end": 16406, + "end": { + "line": 524, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17693, + "end": 17705, + "loc": { + "start": { + "line": 524, + "column": 14 + }, + "end": { + "line": 524, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 17693, + "end": 17705, "loc": { "start": { - "line": 473, + "line": 524, "column": 14 }, "end": { - "line": 473, + "line": 524, "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 16394, - "end": 16406, - "loc": { - "start": { - "line": 473, - "column": 14 - }, - "end": { - "line": 473, - "column": 26 - }, - "identifierName": "themeButtons" }, - "name": "themeButtons" + "identifierName": "themeButtons" }, - "init": null - } - ], - "kind": "let" + "name": "themeButtons" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 17720, + "end": 17831, + "loc": { + "start": { + "line": 526, + "column": 10 + }, + "end": { + "line": 528, + "column": 11 + } }, - { - "type": "IfStatement", - "start": 16421, - "end": 16532, + "test": { + "type": "BinaryExpression", + "start": 17723, + "end": 17759, "loc": { "start": { - "line": 475, - "column": 10 + "line": 526, + "column": 13 }, "end": { - "line": 477, - "column": 11 + "line": 526, + "column": 49 } }, - "test": { - "type": "BinaryExpression", - "start": 16424, - "end": 16460, + "left": { + "type": "UnaryExpression", + "start": 17723, + "end": 17746, "loc": { "start": { - "line": 475, + "line": 526, "column": 13 }, "end": { - "line": 475, - "column": 49 + "line": 526, + "column": 36 } }, - "left": { - "type": "UnaryExpression", - "start": 16424, - "end": 16447, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 17730, + "end": 17746, "loc": { "start": { - "line": 475, - "column": 13 + "line": 526, + "column": 20 }, "end": { - "line": 475, + "line": 526, "column": 36 } }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 16431, - "end": 16447, + "object": { + "type": "Identifier", + "start": 17730, + "end": 17738, "loc": { "start": { - "line": 475, + "line": 526, "column": 20 }, "end": { - "line": 475, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 16431, - "end": 16439, - "loc": { - "start": { - "line": 475, - "column": 20 - }, - "end": { - "line": 475, - "column": 28 - }, - "identifierName": "themeObj" + "line": 526, + "column": 28 }, - "name": "themeObj" + "identifierName": "themeObj" }, - "property": { - "type": "Identifier", - "start": 16440, - "end": 16447, - "loc": { - "start": { - "line": 475, - "column": 29 - }, - "end": { - "line": 475, - "column": 36 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false + "name": "themeObj" }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 16452, - "end": 16460, - "loc": { - "start": { - "line": 475, - "column": 41 - }, - "end": { - "line": 475, - "column": 49 - } - }, - "extra": { - "rawValue": "string", - "raw": "\"string\"" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16461, - "end": 16532, - "loc": { - "start": { - "line": 475, - "column": 50 - }, - "end": { - "line": 477, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16476, - "end": 16519, + "property": { + "type": "Identifier", + "start": 17739, + "end": 17746, "loc": { "start": { - "line": 476, + "line": 526, + "column": 29 + }, + "end": { + "line": 526, + "column": 36 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17751, + "end": 17759, + "loc": { + "start": { + "line": 526, + "column": 41 + }, + "end": { + "line": 526, + "column": 49 + } + }, + "extra": { + "rawValue": "string", + "raw": "\"string\"" + }, + "value": "string" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17760, + "end": 17831, + "loc": { + "start": { + "line": 526, + "column": 50 + }, + "end": { + "line": 528, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17775, + "end": 17818, + "loc": { + "start": { + "line": 527, + "column": 12 + }, + "end": { + "line": 527, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 17775, + "end": 17817, + "loc": { + "start": { + "line": 527, "column": 12 }, "end": { - "line": 476, - "column": 55 + "line": 527, + "column": 54 } }, - "expression": { - "type": "AssignmentExpression", - "start": 16476, - "end": 16518, + "operator": "=", + "left": { + "type": "Identifier", + "start": 17775, + "end": 17787, "loc": { "start": { - "line": 476, + "line": 527, "column": 12 }, "end": { - "line": 476, + "line": 527, + "column": 24 + }, + "identifierName": "themeButtons" + }, + "name": "themeButtons" + }, + "right": { + "type": "CallExpression", + "start": 17790, + "end": 17817, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, "column": 54 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 16476, - "end": 16488, + "callee": { + "type": "MemberExpression", + "start": 17790, + "end": 17812, "loc": { "start": { - "line": 476, + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 17790, + "end": 17806, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 17790, + "end": 17798, + "loc": { + "start": { + "line": 527, + "column": 27 + }, + "end": { + "line": 527, + "column": 35 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 17799, + "end": 17806, + "loc": { + "start": { + "line": 527, + "column": 36 + }, + "end": { + "line": 527, + "column": 43 + }, + "identifierName": "buttons" + }, + "name": "buttons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17807, + "end": 17812, + "loc": { + "start": { + "line": 527, + "column": 44 + }, + "end": { + "line": 527, + "column": 49 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17813, + "end": 17816, + "loc": { + "start": { + "line": 527, + "column": 50 + }, + "end": { + "line": 527, + "column": 53 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 17845, + "end": 18506, + "loc": { + "start": { + "line": 530, + "column": 10 + }, + "end": { + "line": 544, + "column": 11 + } + }, + "test": { + "type": "Identifier", + "start": 17848, + "end": 17860, + "loc": { + "start": { + "line": 530, + "column": 13 + }, + "end": { + "line": 530, + "column": 25 + }, + "identifierName": "themeButtons" + }, + "name": "themeButtons" + }, + "consequent": { + "type": "BlockStatement", + "start": 17861, + "end": 18506, + "loc": { + "start": { + "line": 530, + "column": 26 + }, + "end": { + "line": 544, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17876, + "end": 18493, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 543, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 17876, + "end": 18492, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 543, + "column": 14 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17876, + "end": 17896, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 17876, + "end": 17888, + "loc": { + "start": { + "line": 531, "column": 12 }, "end": { - "line": 476, + "line": 531, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, - "right": { - "type": "CallExpression", - "start": 16491, - "end": 16518, + "property": { + "type": "Identifier", + "start": 17889, + "end": 17896, "loc": { "start": { - "line": 476, - "column": 27 + "line": 531, + "column": 25 }, "end": { - "line": 476, - "column": 54 + "line": 531, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17897, + "end": 18491, + "loc": { + "start": { + "line": 531, + "column": 33 + }, + "end": { + "line": 543, + "column": 13 } }, - "callee": { - "type": "MemberExpression", - "start": 16491, - "end": 16513, - "loc": { - "start": { - "line": 476, - "column": 27 - }, - "end": { - "line": 476, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 16491, - "end": 16507, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17897, + "end": 17908, "loc": { "start": { - "line": 476, - "column": 27 + "line": 531, + "column": 33 }, "end": { - "line": 476, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 16491, - "end": 16499, - "loc": { - "start": { - "line": 476, - "column": 27 - }, - "end": { - "line": 476, - "column": 35 - }, - "identifierName": "themeObj" - }, - "name": "themeObj" - }, - "property": { - "type": "Identifier", - "start": 16500, - "end": 16507, - "loc": { - "start": { - "line": 476, - "column": 36 - }, - "end": { - "line": 476, - "column": 43 - }, - "identifierName": "buttons" - }, - "name": "buttons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16508, - "end": 16513, - "loc": { - "start": { - "line": 476, + "line": 531, "column": 44 }, - "end": { - "line": 476, - "column": 49 - }, - "identifierName": "split" + "identifierName": "themeButton" }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 16514, - "end": 16517, - "loc": { - "start": { - "line": 476, - "column": 50 - }, - "end": { - "line": 476, - "column": 53 - } - }, - "extra": { - "rawValue": " ", - "raw": "' '" - }, - "value": " " + "name": "themeButton" } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 16546, - "end": 17207, - "loc": { - "start": { - "line": 479, - "column": 10 - }, - "end": { - "line": 493, - "column": 11 - } - }, - "test": { - "type": "Identifier", - "start": 16549, - "end": 16561, - "loc": { - "start": { - "line": 479, - "column": 13 - }, - "end": { - "line": 479, - "column": 25 - }, - "identifierName": "themeButtons" - }, - "name": "themeButtons" - }, - "consequent": { - "type": "BlockStatement", - "start": 16562, - "end": 17207, - "loc": { - "start": { - "line": 479, - "column": 26 - }, - "end": { - "line": 493, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16577, - "end": 17194, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 492, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 16577, - "end": 17193, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 492, - "column": 14 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16577, - "end": 16597, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 480, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 16577, - "end": 16589, + ], + "body": { + "type": "BlockStatement", + "start": 17912, + "end": 18491, "loc": { "start": { - "line": 480, - "column": 12 + "line": 531, + "column": 48 }, "end": { - "line": 480, - "column": 24 - }, - "identifierName": "themeButtons" - }, - "name": "themeButtons" - }, - "property": { - "type": "Identifier", - "start": 16590, - "end": 16597, - "loc": { - "start": { - "line": 480, - "column": 25 - }, - "end": { - "line": 480, - "column": 32 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 16598, - "end": 17192, - "loc": { - "start": { - "line": 480, - "column": 33 - }, - "end": { - "line": 492, + "line": 543, "column": 13 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 16598, - "end": 16609, + "type": "VariableDeclaration", + "start": 17929, + "end": 17979, "loc": { "start": { - "line": 480, - "column": 33 + "line": 532, + "column": 14 }, "end": { - "line": 480, - "column": 44 - }, - "identifierName": "themeButton" + "line": 532, + "column": 64 + } }, - "name": "themeButton" - } - ], - "body": { - "type": "BlockStatement", - "start": 16613, - "end": 17192, - "loc": { - "start": { - "line": 480, - "column": 48 - }, - "end": { - "line": 492, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16630, - "end": 16680, - "loc": { - "start": { - "line": 481, - "column": 14 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17933, + "end": 17978, + "loc": { + "start": { + "line": 532, + "column": 18 + }, + "end": { + "line": 532, + "column": 63 + } }, - "end": { - "line": 481, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16634, - "end": 16679, + "id": { + "type": "Identifier", + "start": 17933, + "end": 17944, "loc": { "start": { - "line": 481, + "line": 532, "column": 18 }, "end": { - "line": 481, + "line": 532, + "column": 29 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed" + }, + "init": { + "type": "MemberExpression", + "start": 17947, + "end": 17978, + "loc": { + "start": { + "line": 532, + "column": 32 + }, + "end": { + "line": 532, "column": 63 } }, - "id": { + "object": { "type": "Identifier", - "start": 16634, - "end": 16645, + "start": 17947, + "end": 17965, "loc": { "start": { - "line": 481, - "column": 18 - }, - "end": { - "line": 481, - "column": 29 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed" - }, - "init": { - "type": "MemberExpression", - "start": 16648, - "end": 16679, - "loc": { - "start": { - "line": 481, + "line": 532, "column": 32 }, "end": { - "line": 481, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 16648, - "end": 16666, - "loc": { - "start": { - "line": 481, - "column": 32 - }, - "end": { - "line": 481, - "column": 50 - }, - "identifierName": "buttonThemesParsed" + "line": 532, + "column": 50 }, - "name": "buttonThemesParsed" + "identifierName": "buttonThemesParsed" }, - "property": { - "type": "Identifier", - "start": 16667, - "end": 16678, - "loc": { - "start": { - "line": 481, - "column": 51 - }, - "end": { - "line": 481, - "column": 62 - }, - "identifierName": "themeButton" + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 17966, + "end": 17977, + "loc": { + "start": { + "line": 532, + "column": 51 }, - "name": "themeButton" + "end": { + "line": 532, + "column": 62 + }, + "identifierName": "themeButton" }, - "computed": true + "name": "themeButton" + }, + "computed": true + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 17997, + "end": 18036, + "loc": { + "start": { + "line": 534, + "column": 14 + }, + "end": { + "line": 534, + "column": 53 } } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 16698, - "end": 16737, - "loc": { - "start": { - "line": 483, - "column": 14 - }, - "end": { - "line": 483, - "column": 53 - } - } - } - ] + } + ] + }, + { + "type": "IfStatement", + "start": 18052, + "end": 18476, + "loc": { + "start": { + "line": 535, + "column": 14 + }, + "end": { + "line": 542, + "column": 15 + } }, - { - "type": "IfStatement", - "start": 16753, - "end": 17177, + "test": { + "type": "Identifier", + "start": 18055, + "end": 18066, "loc": { "start": { - "line": 484, - "column": 14 + "line": 535, + "column": 17 }, "end": { - "line": 491, + "line": 535, + "column": 28 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed", + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18067, + "end": 18385, + "loc": { + "start": { + "line": 535, + "column": 29 + }, + "end": { + "line": 540, "column": 15 } }, - "test": { - "type": "Identifier", - "start": 16756, - "end": 16767, - "loc": { - "start": { - "line": 484, - "column": 17 + "body": [ + { + "type": "IfStatement", + "start": 18187, + "end": 18368, + "loc": { + "start": { + "line": 537, + "column": 16 + }, + "end": { + "line": 539, + "column": 17 + } }, - "end": { - "line": 484, - "column": 28 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed", - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 16768, - "end": 17086, - "loc": { - "start": { - "line": 484, - "column": 29 - }, - "end": { - "line": 489, - "column": 15 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 16888, - "end": 17069, + "test": { + "type": "UnaryExpression", + "start": 18190, + "end": 18258, "loc": { "start": { - "line": 486, - "column": 16 + "line": 537, + "column": 19 }, "end": { - "line": 488, - "column": 17 + "line": 537, + "column": 87 } }, - "test": { - "type": "UnaryExpression", - "start": 16891, - "end": 16959, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 18191, + "end": 18258, "loc": { "start": { - "line": 486, - "column": 19 + "line": 537, + "column": 20 }, "end": { - "line": 486, + "line": 537, "column": 87 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 16892, - "end": 16959, + "callee": { + "type": "MemberExpression", + "start": 18191, + "end": 18218, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 87 + "line": 537, + "column": 47 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 16892, - "end": 16919, + "start": 18191, + "end": 18205, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 47 + "line": 537, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 16892, - "end": 16906, + "type": "ThisExpression", + "start": 18191, + "end": 18195, "loc": { "start": { - "line": 486, + "line": 537, "column": 20 }, "end": { - "line": 486, - "column": 34 + "line": 537, + "column": 24 } }, - "object": { - "type": "ThisExpression", - "start": 16892, - "end": 16896, - "loc": { - "start": { - "line": 486, - "column": 20 - }, - "end": { - "line": 486, - "column": 24 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16897, - "end": 16906, - "loc": { - "start": { - "line": 486, - "column": 25 - }, - "end": { - "line": 486, - "column": 34 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 16907, - "end": 16919, + "start": 18196, + "end": 18205, "loc": { "start": { - "line": 486, - "column": 35 + "line": 537, + "column": 25 }, "end": { - "line": 486, - "column": 47 + "line": 537, + "column": 34 }, - "identifierName": "countInArray" + "identifierName": "utilities" }, - "name": "countInArray" + "name": "utilities" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "CallExpression", - "start": 16920, - "end": 16942, + "property": { + "type": "Identifier", + "start": 18206, + "end": 18218, + "loc": { + "start": { + "line": 537, + "column": 35 + }, + "end": { + "line": 537, + "column": 47 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "CallExpression", + "start": 18219, + "end": 18241, + "loc": { + "start": { + "line": 537, + "column": 48 + }, + "end": { + "line": 537, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18219, + "end": 18236, "loc": { "start": { - "line": 486, + "line": 537, "column": 48 }, "end": { - "line": 486, - "column": 70 + "line": 537, + "column": 65 } }, - "callee": { - "type": "MemberExpression", - "start": 16920, - "end": 16937, + "object": { + "type": "Identifier", + "start": 18219, + "end": 18230, "loc": { "start": { - "line": 486, + "line": 537, "column": 48 }, "end": { - "line": 486, + "line": 537, + "column": 59 + }, + "identifierName": "themeParsed" + }, + "name": "themeParsed" + }, + "property": { + "type": "Identifier", + "start": 18231, + "end": 18236, + "loc": { + "start": { + "line": 537, + "column": 60 + }, + "end": { + "line": 537, "column": 65 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18237, + "end": 18240, + "loc": { + "start": { + "line": 537, + "column": 66 + }, + "end": { + "line": 537, + "column": 69 } }, - "object": { + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + } + ] + }, + { + "type": "MemberExpression", + "start": 18243, + "end": 18257, + "loc": { + "start": { + "line": 537, + "column": 72 + }, + "end": { + "line": 537, + "column": 86 + } + }, + "object": { + "type": "Identifier", + "start": 18243, + "end": 18251, + "loc": { + "start": { + "line": 537, + "column": 72 + }, + "end": { + "line": 537, + "column": 80 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18252, + "end": 18257, + "loc": { + "start": { + "line": 537, + "column": 81 + }, + "end": { + "line": 537, + "column": 86 + }, + "identifierName": "class" + }, + "name": "class" + }, + "computed": false + } + ], + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18259, + "end": 18368, + "loc": { + "start": { + "line": 537, + "column": 88 + }, + "end": { + "line": 539, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18280, + "end": 18349, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 87 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18280, + "end": 18348, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 86 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18280, + "end": 18311, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 18280, + "end": 18298, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 36 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 18299, + "end": 18310, + "loc": { + "start": { + "line": 538, + "column": 37 + }, + "end": { + "line": 538, + "column": 48 + }, + "identifierName": "themeButton" + }, + "name": "themeButton" + }, + "computed": true + }, + "right": { + "type": "TemplateLiteral", + "start": 18314, + "end": 18348, + "loc": { + "start": { + "line": 538, + "column": 52 + }, + "end": { + "line": 538, + "column": 86 + } + }, + "expressions": [ + { "type": "Identifier", - "start": 16920, - "end": 16931, + "start": 18317, + "end": 18328, "loc": { "start": { - "line": 486, - "column": 48 + "line": 538, + "column": 55 }, "end": { - "line": 486, - "column": 59 + "line": 538, + "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, - "property": { - "type": "Identifier", - "start": 16932, - "end": 16937, - "loc": { - "start": { - "line": 486, - "column": 60 - }, - "end": { - "line": 486, - "column": 65 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ { - "type": "StringLiteral", - "start": 16938, - "end": 16941, + "type": "MemberExpression", + "start": 18332, + "end": 18346, "loc": { "start": { - "line": 486, - "column": 66 + "line": 538, + "column": 70 }, "end": { - "line": 486, - "column": 69 + "line": 538, + "column": 84 } }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - } - ] - }, - { - "type": "MemberExpression", - "start": 16944, - "end": 16958, - "loc": { - "start": { - "line": 486, - "column": 72 - }, - "end": { - "line": 486, - "column": 86 - } - }, - "object": { - "type": "Identifier", - "start": 16944, - "end": 16952, - "loc": { - "start": { - "line": 486, - "column": 72 - }, - "end": { - "line": 486, - "column": 80 - }, - "identifierName": "themeObj" - }, - "name": "themeObj" - }, - "property": { - "type": "Identifier", - "start": 16953, - "end": 16958, - "loc": { - "start": { - "line": 486, - "column": 81 - }, - "end": { - "line": 486, - "column": 86 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - ], - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 16960, - "end": 17069, - "loc": { - "start": { - "line": 486, - "column": 88 - }, - "end": { - "line": 488, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16981, - "end": 17050, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 87 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16981, - "end": 17049, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 86 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16981, - "end": 17012, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 16981, - "end": 16999, - "loc": { - "start": { - "line": 487, - "column": 18 - }, - "end": { - "line": 487, - "column": 36 - }, - "identifierName": "buttonThemesParsed" - }, - "name": "buttonThemesParsed" - }, - "property": { - "type": "Identifier", - "start": 17000, - "end": 17011, - "loc": { - "start": { - "line": 487, - "column": 37 - }, - "end": { - "line": 487, - "column": 48 - }, - "identifierName": "themeButton" - }, - "name": "themeButton" - }, - "computed": true - }, - "right": { - "type": "TemplateLiteral", - "start": 17015, - "end": 17049, - "loc": { - "start": { - "line": 487, - "column": 52 - }, - "end": { - "line": 487, - "column": 86 - } - }, - "expressions": [ - { + "object": { "type": "Identifier", - "start": 17018, - "end": 17029, + "start": 18332, + "end": 18340, "loc": { "start": { - "line": 487, - "column": 55 - }, - "end": { - "line": 487, - "column": 66 - }, - "identifierName": "themeParsed" - }, - "name": "themeParsed" - }, - { - "type": "MemberExpression", - "start": 17033, - "end": 17047, - "loc": { - "start": { - "line": 487, + "line": 538, "column": 70 }, "end": { - "line": 487, + "line": 538, + "column": 78 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18341, + "end": 18346, + "loc": { + "start": { + "line": 538, + "column": 79 + }, + "end": { + "line": 538, "column": 84 - } - }, - "object": { - "type": "Identifier", - "start": 17033, - "end": 17041, - "loc": { - "start": { - "line": 487, - "column": 70 - }, - "end": { - "line": 487, - "column": 78 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 17042, - "end": 17047, - "loc": { - "start": { - "line": 487, - "column": 79 - }, - "end": { - "line": 487, - "column": 84 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 17016, - "end": 17016, - "loc": { - "start": { - "line": 487, - "column": 53 - }, - "end": { - "line": 487, - "column": 53 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false + "name": "class" }, - { - "type": "TemplateElement", - "start": 17030, - "end": 17031, - "loc": { - "start": { - "line": 487, - "column": 67 - }, - "end": { - "line": 487, - "column": 68 - } + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18315, + "end": 18315, + "loc": { + "start": { + "line": 538, + "column": 53 }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false + "end": { + "line": 538, + "column": 53 + } }, - { - "type": "TemplateElement", - "start": 17048, - "end": 17048, - "loc": { - "start": { - "line": 487, - "column": 85 - }, - "end": { - "line": 487, - "column": 85 - } + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18329, + "end": 18330, + "loc": { + "start": { + "line": 538, + "column": 67 }, - "value": { - "raw": "", - "cooked": "" + "end": { + "line": 538, + "column": 68 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18347, + "end": 18347, + "loc": { + "start": { + "line": 538, + "column": 85 }, - "tail": true - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 16787, - "end": 16870, - "loc": { - "start": { - "line": 485, - "column": 16 - }, - "end": { - "line": 485, - "column": 99 + "end": { + "line": 538, + "column": 85 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } } } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 17092, - "end": 17177, - "loc": { - "start": { - "line": 489, - "column": 21 + ], + "directives": [] }, - "end": { - "line": 491, - "column": 15 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17111, - "end": 17160, - "loc": { - "start": { - "line": 490, - "column": 16 - }, - "end": { - "line": 490, - "column": 65 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17111, - "end": 17159, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", + "start": 18086, + "end": 18169, "loc": { "start": { - "line": 490, + "line": 536, "column": 16 }, "end": { - "line": 490, - "column": 64 + "line": 536, + "column": 99 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 18391, + "end": 18476, + "loc": { + "start": { + "line": 540, + "column": 21 + }, + "end": { + "line": 542, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18410, + "end": 18459, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18410, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18410, + "end": 18441, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 47 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17111, - "end": 17142, + "object": { + "type": "Identifier", + "start": 18410, + "end": 18428, "loc": { "start": { - "line": 490, + "line": 541, "column": 16 }, "end": { - "line": 490, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 17111, - "end": 17129, - "loc": { - "start": { - "line": 490, - "column": 16 - }, - "end": { - "line": 490, - "column": 34 - }, - "identifierName": "buttonThemesParsed" + "line": 541, + "column": 34 }, - "name": "buttonThemesParsed" + "identifierName": "buttonThemesParsed" }, - "property": { - "type": "Identifier", - "start": 17130, - "end": 17141, - "loc": { - "start": { - "line": 490, - "column": 35 - }, - "end": { - "line": 490, - "column": 46 - }, - "identifierName": "themeButton" - }, - "name": "themeButton" - }, - "computed": true + "name": "buttonThemesParsed" }, - "right": { - "type": "MemberExpression", - "start": 17145, - "end": 17159, + "property": { + "type": "Identifier", + "start": 18429, + "end": 18440, "loc": { "start": { - "line": 490, + "line": 541, + "column": 35 + }, + "end": { + "line": 541, + "column": 46 + }, + "identifierName": "themeButton" + }, + "name": "themeButton" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 18444, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 50 + }, + "end": { + "line": 541, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 18444, + "end": 18452, + "loc": { + "start": { + "line": 541, "column": 50 }, "end": { - "line": 490, + "line": 541, + "column": 58 + }, + "identifierName": "themeObj" + }, + "name": "themeObj" + }, + "property": { + "type": "Identifier", + "start": 18453, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 59 + }, + "end": { + "line": 541, "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 17145, - "end": 17153, - "loc": { - "start": { - "line": 490, - "column": 50 - }, - "end": { - "line": 490, - "column": 58 - }, - "identifierName": "themeObj" }, - "name": "themeObj" + "identifierName": "class" }, - "property": { - "type": "Identifier", - "start": 17154, - "end": 17159, - "loc": { - "start": { - "line": 490, - "column": 59 - }, - "end": { - "line": 490, - "column": 64 - }, - "identifierName": "class" - }, - "name": "class" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 16698, - "end": 16737, - "loc": { - "start": { - "line": 483, - "column": 14 - }, - "end": { - "line": 483, - "column": 53 + "name": "class" + }, + "computed": false } } } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 17224, - "end": 17352, - "loc": { - "start": { - "line": 494, - "column": 15 - }, - "end": { - "line": 496, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17237, - "end": 17341, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 114 - } - }, - "expression": { - "type": "CallExpression", - "start": 17237, - "end": 17341, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 114 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17237, - "end": 17249, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17237, - "end": 17244, - "loc": { - "start": { - "line": 495, - "column": 10 - }, - "end": { - "line": 495, - "column": 17 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 17245, - "end": 17249, - "loc": { - "start": { - "line": 495, - "column": 18 - }, - "end": { - "line": 495, - "column": 22 - }, - "identifierName": "warn" - }, - "name": "warn" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 17250, - "end": 17340, - "loc": { - "start": { - "line": 495, - "column": 23 - }, - "end": { - "line": 495, - "column": 113 - } - }, - "expressions": [], - "quasis": [ - { - "type": "TemplateElement", - "start": 17251, - "end": 17339, - "loc": { - "start": { - "line": 495, - "column": 24 - }, - "end": { - "line": 495, - "column": 112 - } - }, - "value": { - "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", - "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." - }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, - "loc": { - "start": { - "line": 500, - "column": 4 - }, - "end": { - "line": 502, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17450, - "end": 17520, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 74 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17450, - "end": 17519, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 73 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 17450, - "end": 17476, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 17450, - "end": 17466, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 17450, - "end": 17454, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17455, - "end": 17466, - "loc": { - "start": { - "line": 503, - "column": 9 - }, - "end": { - "line": 503, - "column": 20 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17467, - "end": 17476, - "loc": { - "start": { - "line": 503, - "column": 21 - }, - "end": { - "line": 503, - "column": 30 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "TemplateLiteral", - "start": 17480, - "end": 17519, - "loc": { - "start": { - "line": 503, - "column": 34 - }, - "end": { - "line": 503, - "column": 73 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 17484, - "end": 17502, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 56 - } - }, - "object": { - "type": "MemberExpression", - "start": 17484, - "end": 17496, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 50 - } - }, - "object": { - "type": "ThisExpression", - "start": 17484, - "end": 17488, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "start": 17489, - "end": 17496, - "loc": { - "start": { - "line": 503, - "column": 43 - }, - "end": { - "line": 503, - "column": 50 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17497, - "end": 17502, - "loc": { - "start": { - "line": 503, - "column": 51 - }, - "end": { - "line": 503, - "column": 56 - }, - "identifierName": "theme" - }, - "name": "theme" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 17506, - "end": 17517, - "loc": { - "start": { - "line": 503, - "column": 60 - }, - "end": { - "line": 503, - "column": 71 - }, - "identifierName": "layoutClass" - }, - "name": "layoutClass" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 17481, - "end": 17482, - "loc": { - "start": { - "line": 503, - "column": 35 - }, - "end": { - "line": 503, - "column": 36 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 17503, - "end": 17504, - "loc": { - "start": { - "line": 503, - "column": 57 - }, - "end": { - "line": 503, - "column": 58 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 17518, - "end": 17518, - "loc": { - "start": { - "line": 503, - "column": 72 - }, - "end": { - "line": 503, - "column": 72 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, - "loc": { - "start": { - "line": 500, - "column": 4 - }, - "end": { - "line": 502, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, - "loc": { - "start": { - "line": 505, - "column": 4 - }, - "end": { - "line": 507, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17581, - "end": 19698, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 575, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 17581, - "end": 19697, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 575, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17581, - "end": 17620, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 17581, - "end": 17612, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 17581, - "end": 17587, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 10 - }, - "identifierName": "layout" - }, - "name": "layout", - "leadingComments": null - }, - "property": { - "type": "MemberExpression", - "start": 17588, - "end": 17611, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 17588, - "end": 17600, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 17588, - "end": 17592, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 17593, - "end": 17600, - "loc": { - "start": { - "line": 508, - "column": 16 - }, - "end": { - "line": 508, - "column": 23 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17601, - "end": 17611, - "loc": { - "start": { - "line": 508, - "column": 24 - }, - "end": { - "line": 508, - "column": 34 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - }, - "computed": true, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17613, - "end": 17620, - "loc": { - "start": { - "line": 508, - "column": 36 - }, - "end": { - "line": 508, - "column": 43 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 17621, - "end": 19696, - "loc": { - "start": { - "line": 508, - "column": 44 - }, - "end": { - "line": 575, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17622, - "end": 17625, - "loc": { - "start": { - "line": 508, - "column": 45 - }, - "end": { - "line": 508, - "column": 48 - }, - "identifierName": "row" - }, - "name": "row" - }, - { - "type": "Identifier", - "start": 17627, - "end": 17633, - "loc": { - "start": { - "line": 508, - "column": 50 - }, - "end": { - "line": 508, - "column": 56 - }, - "identifierName": "rIndex" - }, - "name": "rIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 17638, - "end": 19696, - "loc": { - "start": { - "line": 508, - "column": 61 - }, - "end": { - "line": 575, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17647, - "end": 17677, - "loc": { - "start": { - "line": 509, - "column": 6 - }, - "end": { - "line": 509, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17651, - "end": 17676, - "loc": { - "start": { - "line": 509, - "column": 10 - }, - "end": { - "line": 509, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 17651, - "end": 17659, - "loc": { - "start": { - "line": 509, - "column": 10 - }, - "end": { - "line": 509, - "column": 18 - }, - "identifierName": "rowArray" - }, - "name": "rowArray" - }, - "init": { - "type": "CallExpression", - "start": 17662, - "end": 17676, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17662, - "end": 17671, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 17662, - "end": 17665, - "loc": { - "start": { - "line": 509, - "column": 21 - }, - "end": { - "line": 509, - "column": 24 - }, - "identifierName": "row" - }, - "name": "row" - }, - "property": { - "type": "Identifier", - "start": 17666, - "end": 17671, - "loc": { - "start": { - "line": 509, - "column": 25 - }, - "end": { - "line": 509, - "column": 30 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 17672, - "end": 17675, - "loc": { - "start": { - "line": 509, - "column": 31 - }, - "end": { - "line": 509, - "column": 34 - } - }, - "extra": { - "rawValue": " ", - "raw": "' '" - }, - "value": " " - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, - "loc": { - "start": { - "line": 511, - "column": 6 - }, - "end": { - "line": 513, - "column": 9 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 17738, - "end": 17781, - "loc": { - "start": { - "line": 514, - "column": 6 - }, - "end": { - "line": 514, - "column": 49 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17742, - "end": 17780, - "loc": { - "start": { - "line": 514, - "column": 10 - }, - "end": { - "line": 514, - "column": 48 - } - }, - "id": { - "type": "Identifier", - "start": 17742, - "end": 17748, - "loc": { - "start": { - "line": 514, - "column": 10 - }, - "end": { - "line": 514, - "column": 16 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 17751, - "end": 17780, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 48 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17751, - "end": 17773, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 17751, - "end": 17759, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 27 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 17760, - "end": 17773, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 41 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 17774, - "end": 17779, - "loc": { - "start": { - "line": 514, - "column": 42 - }, - "end": { - "line": 514, - "column": 47 - } - }, - "extra": { - "rawValue": "div", - "raw": "'div'" - }, - "value": "div" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, - "loc": { - "start": { - "line": 511, - "column": 6 - }, - "end": { - "line": 513, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17789, - "end": 17818, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17789, - "end": 17817, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 34 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 17789, - "end": 17805, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17789, - "end": 17795, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 12 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM" - }, - "property": { - "type": "Identifier", - "start": 17796, - "end": 17805, - "loc": { - "start": { - "line": 515, - "column": 13 - }, - "end": { - "line": 515, - "column": 22 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 17809, - "end": 17817, - "loc": { - "start": { - "line": 515, - "column": 26 - }, - "end": { - "line": 515, - "column": 34 - } - }, - "extra": { - "rawValue": "hg-row", - "raw": "\"hg-row\"" - }, - "value": "hg-row" - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, - "loc": { - "start": { - "line": 517, - "column": 6 - }, - "end": { - "line": 519, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17897, - "end": 19584, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 569, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 17897, - "end": 19583, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 569, - "column": 8 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17897, - "end": 17913, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 520, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 17897, - "end": 17905, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 520, - "column": 14 - }, - "identifierName": "rowArray" - }, - "name": "rowArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17906, - "end": 17913, - "loc": { - "start": { - "line": 520, - "column": 15 - }, - "end": { - "line": 520, - "column": 22 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 17914, - "end": 19582, - "loc": { - "start": { - "line": 520, - "column": 23 - }, - "end": { - "line": 569, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17915, - "end": 17921, - "loc": { - "start": { - "line": 520, - "column": 24 - }, - "end": { - "line": 520, - "column": 30 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "Identifier", - "start": 17923, - "end": 17929, - "loc": { - "start": { - "line": 520, - "column": 32 - }, - "end": { - "line": 520, - "column": 38 - }, - "identifierName": "bIndex" - }, - "name": "bIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 17934, - "end": 19582, - "loc": { - "start": { - "line": 520, - "column": 43 - }, - "end": { - "line": 569, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17945, - "end": 18001, - "loc": { - "start": { - "line": 521, - "column": 8 - }, - "end": { - "line": 521, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17949, - "end": 18000, - "loc": { - "start": { - "line": 521, - "column": 12 - }, - "end": { - "line": 521, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 17949, - "end": 17960, - "loc": { - "start": { - "line": 521, - "column": 12 - }, - "end": { - "line": 521, - "column": 23 - }, - "identifierName": "fctBtnClass" - }, - "name": "fctBtnClass" - }, - "init": { - "type": "CallExpression", - "start": 17963, - "end": 18000, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17963, - "end": 17992, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 55 - } - }, - "object": { - "type": "MemberExpression", - "start": 17963, - "end": 17977, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 17963, - "end": 17967, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 30 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 17997, + "end": 18036, + "loc": { + "start": { + "line": 534, + "column": 14 + }, + "end": { + "line": 534, + "column": 53 + } + } + } + ] } - } - }, - "property": { - "type": "Identifier", - "start": 17968, - "end": 17977, - "loc": { - "start": { - "line": 521, - "column": 31 - }, - "end": { - "line": 521, - "column": 40 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17978, - "end": 17992, - "loc": { - "start": { - "line": 521, - "column": 41 - }, - "end": { - "line": 521, - "column": 55 - }, - "identifierName": "getButtonClass" - }, - "name": "getButtonClass" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 17993, - "end": 17999, - "loc": { - "start": { - "line": 521, - "column": 56 - }, - "end": { - "line": 521, - "column": 62 - }, - "identifierName": "button" - }, - "name": "button" + ], + "directives": [] + } } ] } } ], - "kind": "let" + "directives": [] }, - { - "type": "VariableDeclaration", - "start": 18011, - "end": 18061, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 18523, + "end": 18651, + "loc": { + "start": { + "line": 545, + "column": 15 + }, + "end": { + "line": 547, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18536, + "end": 18640, + "loc": { + "start": { + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 114 + } + }, + "expression": { + "type": "CallExpression", + "start": 18536, + "end": 18640, "loc": { "start": { - "line": 522, - "column": 8 + "line": 546, + "column": 10 }, "end": { - "line": 522, - "column": 58 + "line": 546, + "column": 114 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18015, - "end": 18060, + "callee": { + "type": "MemberExpression", + "start": 18536, + "end": 18548, + "loc": { + "start": { + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 18536, + "end": 18543, "loc": { "start": { - "line": 522, + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 17 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 18544, + "end": 18548, + "loc": { + "start": { + "line": 546, + "column": 18 + }, + "end": { + "line": 546, + "column": 22 + }, + "identifierName": "warn" + }, + "name": "warn" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 18549, + "end": 18639, + "loc": { + "start": { + "line": 546, + "column": 23 + }, + "end": { + "line": 546, + "column": 113 + } + }, + "expressions": [], + "quasis": [ + { + "type": "TemplateElement", + "start": 18550, + "end": 18638, + "loc": { + "start": { + "line": 546, + "column": 24 + }, + "end": { + "line": 546, + "column": 112 + } + }, + "value": { + "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", + "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 18677, + "end": 18743, + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 553, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18749, + "end": 18819, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 74 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18749, + "end": 18818, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 73 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 18749, + "end": 18775, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 18749, + "end": 18765, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 18749, + "end": 18753, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18754, + "end": 18765, + "loc": { + "start": { + "line": 554, + "column": 9 + }, + "end": { + "line": 554, + "column": 20 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18766, + "end": 18775, + "loc": { + "start": { + "line": 554, + "column": 21 + }, + "end": { + "line": 554, + "column": 30 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "TemplateLiteral", + "start": 18779, + "end": 18818, + "loc": { + "start": { + "line": 554, + "column": 34 + }, + "end": { + "line": 554, + "column": 73 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 18783, + "end": 18801, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 18783, + "end": 18795, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 50 + } + }, + "object": { + "type": "ThisExpression", + "start": 18783, + "end": 18787, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "start": 18788, + "end": 18795, + "loc": { + "start": { + "line": 554, + "column": 43 + }, + "end": { + "line": 554, + "column": 50 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18796, + "end": 18801, + "loc": { + "start": { + "line": 554, + "column": 51 + }, + "end": { + "line": 554, + "column": 56 + }, + "identifierName": "theme" + }, + "name": "theme" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 18805, + "end": 18816, + "loc": { + "start": { + "line": 554, + "column": 60 + }, + "end": { + "line": 554, + "column": 71 + }, + "identifierName": "layoutClass" + }, + "name": "layoutClass" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18780, + "end": 18781, + "loc": { + "start": { + "line": 554, + "column": 35 + }, + "end": { + "line": 554, + "column": 36 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18802, + "end": 18803, + "loc": { + "start": { + "line": 554, + "column": 57 + }, + "end": { + "line": 554, + "column": 58 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18817, + "end": 18817, + "loc": { + "start": { + "line": 554, + "column": 72 + }, + "end": { + "line": 554, + "column": 72 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 18677, + "end": 18743, + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 553, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 18827, + "end": 18874, + "loc": { + "start": { + "line": 556, + "column": 4 + }, + "end": { + "line": 558, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18880, + "end": 20997, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 626, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 18880, + "end": 20996, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 626, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18880, + "end": 18919, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 18880, + "end": 18911, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 18880, + "end": 18886, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 10 + }, + "identifierName": "layout" + }, + "name": "layout", + "leadingComments": null + }, + "property": { + "type": "MemberExpression", + "start": 18887, + "end": 18910, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18887, + "end": 18899, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 18887, + "end": 18891, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 18892, + "end": 18899, + "loc": { + "start": { + "line": 559, + "column": 16 + }, + "end": { + "line": 559, + "column": 23 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18900, + "end": 18910, + "loc": { + "start": { + "line": 559, + "column": 24 + }, + "end": { + "line": 559, + "column": 34 + }, + "identifierName": "layoutName" + }, + "name": "layoutName" + }, + "computed": false + }, + "computed": true, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18912, + "end": 18919, + "loc": { + "start": { + "line": 559, + "column": 36 + }, + "end": { + "line": 559, + "column": 43 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 18920, + "end": 20995, + "loc": { + "start": { + "line": 559, + "column": 44 + }, + "end": { + "line": 626, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18921, + "end": 18924, + "loc": { + "start": { + "line": 559, + "column": 45 + }, + "end": { + "line": 559, + "column": 48 + }, + "identifierName": "row" + }, + "name": "row" + }, + { + "type": "Identifier", + "start": 18926, + "end": 18932, + "loc": { + "start": { + "line": 559, + "column": 50 + }, + "end": { + "line": 559, + "column": 56 + }, + "identifierName": "rIndex" + }, + "name": "rIndex" + } + ], + "body": { + "type": "BlockStatement", + "start": 18937, + "end": 20995, + "loc": { + "start": { + "line": 559, + "column": 61 + }, + "end": { + "line": 626, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18946, + "end": 18976, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18950, + "end": 18975, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 18950, + "end": 18958, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 18 + }, + "identifierName": "rowArray" + }, + "name": "rowArray" + }, + "init": { + "type": "CallExpression", + "start": 18961, + "end": 18975, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18961, + "end": 18970, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 18961, + "end": 18964, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 24 + }, + "identifierName": "row" + }, + "name": "row" + }, + "property": { + "type": "Identifier", + "start": 18965, + "end": 18970, + "loc": { + "start": { + "line": 560, + "column": 25 + }, + "end": { + "line": 560, + "column": 30 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18971, + "end": 18974, + "loc": { + "start": { + "line": 560, + "column": 31 + }, + "end": { + "line": 560, + "column": 34 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 18986, + "end": 19029, + "loc": { + "start": { + "line": 562, + "column": 6 + }, + "end": { + "line": 564, + "column": 9 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 19037, + "end": 19080, + "loc": { + "start": { + "line": 565, + "column": 6 + }, + "end": { + "line": 565, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19041, + "end": 19079, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 19041, + "end": 19047, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 16 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 19050, + "end": 19079, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19050, + "end": 19072, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 19050, + "end": 19058, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 27 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 19059, + "end": 19072, + "loc": { + "start": { + "line": 565, + "column": 28 + }, + "end": { + "line": 565, + "column": 41 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19073, + "end": 19078, + "loc": { + "start": { + "line": 565, + "column": 42 + }, + "end": { + "line": 565, + "column": 47 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 18986, + "end": 19029, + "loc": { + "start": { + "line": 562, + "column": 6 + }, + "end": { + "line": 564, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19088, + "end": 19117, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19088, + "end": 19116, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 34 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 19088, + "end": 19104, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 19088, + "end": 19094, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 12 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM" + }, + "property": { + "type": "Identifier", + "start": 19095, + "end": 19104, + "loc": { + "start": { + "line": 566, + "column": 13 + }, + "end": { + "line": 566, + "column": 22 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 19108, + "end": 19116, + "loc": { + "start": { + "line": 566, + "column": 26 + }, + "end": { + "line": 566, + "column": 34 + } + }, + "extra": { + "rawValue": "hg-row", + "raw": "\"hg-row\"" + }, + "value": "hg-row" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 19127, + "end": 19188, + "loc": { + "start": { + "line": 568, + "column": 6 + }, + "end": { + "line": 570, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19196, + "end": 20883, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 620, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 19196, + "end": 20882, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 620, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19196, + "end": 19212, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 19196, + "end": 19204, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 14 + }, + "identifierName": "rowArray" + }, + "name": "rowArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19205, + "end": 19212, + "loc": { + "start": { + "line": 571, + "column": 15 + }, + "end": { + "line": 571, + "column": 22 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 19213, + "end": 20881, + "loc": { + "start": { + "line": 571, + "column": 23 + }, + "end": { + "line": 620, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19214, + "end": 19220, + "loc": { + "start": { + "line": 571, + "column": 24 + }, + "end": { + "line": 571, + "column": 30 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 19222, + "end": 19228, + "loc": { + "start": { + "line": 571, + "column": 32 + }, + "end": { + "line": 571, + "column": 38 + }, + "identifierName": "bIndex" + }, + "name": "bIndex" + } + ], + "body": { + "type": "BlockStatement", + "start": 19233, + "end": 20881, + "loc": { + "start": { + "line": 571, + "column": 43 + }, + "end": { + "line": 620, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 19244, + "end": 19300, + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 64 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19248, + "end": 19299, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 63 + } + }, + "id": { + "type": "Identifier", + "start": 19248, + "end": 19259, + "loc": { + "start": { + "line": 572, "column": 12 }, "end": { - "line": 522, - "column": 57 + "line": 572, + "column": 23 + }, + "identifierName": "fctBtnClass" + }, + "name": "fctBtnClass" + }, + "init": { + "type": "CallExpression", + "start": 19262, + "end": 19299, + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 63 } }, - "id": { - "type": "Identifier", - "start": 18015, - "end": 18031, - "loc": { - "start": { - "line": 522, - "column": 12 - }, - "end": { - "line": 522, - "column": 28 - }, - "identifierName": "buttonThemeClass" - }, - "name": "buttonThemeClass" - }, - "init": { + "callee": { "type": "MemberExpression", - "start": 18034, - "end": 18060, + "start": 19262, + "end": 19291, "loc": { "start": { - "line": 522, - "column": 31 + "line": 572, + "column": 26 }, "end": { - "line": 522, - "column": 57 + "line": 572, + "column": 55 } }, "object": { - "type": "Identifier", - "start": 18034, - "end": 18052, + "type": "MemberExpression", + "start": 19262, + "end": 19276, "loc": { "start": { - "line": 522, - "column": 31 + "line": 572, + "column": 26 }, "end": { - "line": 522, - "column": 49 - }, - "identifierName": "buttonThemesParsed" + "line": 572, + "column": 40 + } }, - "name": "buttonThemesParsed" + "object": { + "type": "ThisExpression", + "start": 19262, + "end": 19266, + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 19267, + "end": 19276, + "loc": { + "start": { + "line": 572, + "column": 31 + }, + "end": { + "line": 572, + "column": 40 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 18053, - "end": 18059, + "start": 19277, + "end": 19291, "loc": { "start": { - "line": 522, - "column": 50 + "line": 572, + "column": 41 }, "end": { - "line": 522, + "line": 572, + "column": 55 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19292, + "end": 19298, + "loc": { + "start": { + "line": 572, "column": 56 }, + "end": { + "line": 572, + "column": 62 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 19310, + "end": 19360, + "loc": { + "start": { + "line": 573, + "column": 8 + }, + "end": { + "line": 573, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19314, + "end": 19359, + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 573, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 19314, + "end": 19330, + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 573, + "column": 28 + }, + "identifierName": "buttonThemeClass" + }, + "name": "buttonThemeClass" + }, + "init": { + "type": "MemberExpression", + "start": 19333, + "end": 19359, + "loc": { + "start": { + "line": 573, + "column": 31 + }, + "end": { + "line": 573, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 19333, + "end": 19351, + "loc": { + "start": { + "line": 573, + "column": 31 + }, + "end": { + "line": 573, + "column": 49 + }, + "identifierName": "buttonThemesParsed" + }, + "name": "buttonThemesParsed" + }, + "property": { + "type": "Identifier", + "start": 19352, + "end": 19358, + "loc": { + "start": { + "line": 573, + "column": 50 + }, + "end": { + "line": 573, + "column": 56 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 19370, + "end": 19487, + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 574, + "column": 125 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19374, + "end": 19486, + "loc": { + "start": { + "line": 574, + "column": 12 + }, + "end": { + "line": 574, + "column": 124 + } + }, + "id": { + "type": "Identifier", + "start": 19374, + "end": 19391, + "loc": { + "start": { + "line": 574, + "column": 12 + }, + "end": { + "line": 574, + "column": 29 + }, + "identifierName": "buttonDisplayName" + }, + "name": "buttonDisplayName" + }, + "init": { + "type": "CallExpression", + "start": 19394, + "end": 19486, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 124 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19394, + "end": 19429, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 19394, + "end": 19408, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 19394, + "end": 19398, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 19399, + "end": 19408, + "loc": { + "start": { + "line": 574, + "column": 37 + }, + "end": { + "line": 574, + "column": 46 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19409, + "end": 19429, + "loc": { + "start": { + "line": 574, + "column": 47 + }, + "end": { + "line": 574, + "column": 67 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19430, + "end": 19436, + "loc": { + "start": { + "line": 574, + "column": 68 + }, + "end": { + "line": 574, + "column": 74 + }, "identifierName": "button" }, "name": "button" }, - "computed": true - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 18071, - "end": 18188, - "loc": { - "start": { - "line": 523, - "column": 8 - }, - "end": { - "line": 523, - "column": 125 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18075, - "end": 18187, - "loc": { - "start": { - "line": 523, - "column": 12 - }, - "end": { - "line": 523, - "column": 124 - } - }, - "id": { - "type": "Identifier", - "start": 18075, - "end": 18092, - "loc": { - "start": { - "line": 523, - "column": 12 - }, - "end": { - "line": 523, - "column": 29 - }, - "identifierName": "buttonDisplayName" - }, - "name": "buttonDisplayName" - }, - "init": { - "type": "CallExpression", - "start": 18095, - "end": 18187, - "loc": { - "start": { - "line": 523, - "column": 32 - }, - "end": { - "line": 523, - "column": 124 - } - }, - "callee": { + { "type": "MemberExpression", - "start": 18095, - "end": 18130, + "start": 19438, + "end": 19458, "loc": { "start": { - "line": 523, - "column": 32 + "line": 574, + "column": 76 }, "end": { - "line": 523, - "column": 67 + "line": 574, + "column": 96 } }, "object": { "type": "MemberExpression", - "start": 18095, - "end": 18109, + "start": 19438, + "end": 19450, "loc": { "start": { - "line": 523, - "column": 32 + "line": 574, + "column": 76 }, "end": { - "line": 523, - "column": 46 + "line": 574, + "column": 88 } }, "object": { "type": "ThisExpression", - "start": 18095, - "end": 18099, + "start": 19438, + "end": 19442, "loc": { "start": { - "line": 523, - "column": 32 - }, - "end": { - "line": 523, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "start": 18100, - "end": 18109, - "loc": { - "start": { - "line": 523, - "column": 37 - }, - "end": { - "line": 523, - "column": 46 - }, - "identifierName": "utilities" - }, - "name": "utilities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18110, - "end": 18130, - "loc": { - "start": { - "line": 523, - "column": 47 - }, - "end": { - "line": 523, - "column": 67 - }, - "identifierName": "getButtonDisplayName" - }, - "name": "getButtonDisplayName" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 18131, - "end": 18137, - "loc": { - "start": { - "line": 523, - "column": 68 - }, - "end": { - "line": 523, - "column": 74 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "MemberExpression", - "start": 18139, - "end": 18159, - "loc": { - "start": { - "line": 523, - "column": 76 - }, - "end": { - "line": 523, - "column": 96 - } - }, - "object": { - "type": "MemberExpression", - "start": 18139, - "end": 18151, - "loc": { - "start": { - "line": 523, + "line": 574, "column": 76 }, "end": { - "line": 523, - "column": 88 + "line": 574, + "column": 80 } - }, - "object": { - "type": "ThisExpression", - "start": 18139, - "end": 18143, - "loc": { - "start": { - "line": 523, - "column": 76 - }, - "end": { - "line": 523, - "column": 80 - } - } - }, - "property": { - "type": "Identifier", - "start": 18144, - "end": 18151, - "loc": { - "start": { - "line": 523, - "column": 81 - }, - "end": { - "line": 523, - "column": 88 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18152, - "end": 18159, - "loc": { - "start": { - "line": 523, - "column": 89 - }, - "end": { - "line": 523, - "column": 96 - }, - "identifierName": "display" - }, - "name": "display" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 18161, - "end": 18186, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 123 } }, - "object": { - "type": "MemberExpression", - "start": 18161, - "end": 18173, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 110 - } - }, - "object": { - "type": "ThisExpression", - "start": 18161, - "end": 18165, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 102 - } - } - }, - "property": { - "type": "Identifier", - "start": 18166, - "end": 18173, - "loc": { - "start": { - "line": 523, - "column": 103 - }, - "end": { - "line": 523, - "column": 110 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, "property": { "type": "Identifier", - "start": 18174, - "end": 18186, + "start": 19443, + "end": 19450, "loc": { "start": { - "line": 523, - "column": 111 + "line": 574, + "column": 81 }, "end": { - "line": 523, - "column": 123 + "line": 574, + "column": 88 }, - "identifierName": "mergeDisplay" + "identifierName": "options" }, - "name": "mergeDisplay" + "name": "options" }, "computed": false - } - ] - } - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, - "loc": { - "start": { - "line": 525, - "column": 8 - }, - "end": { - "line": 527, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 18254, - "end": 18300, - "loc": { - "start": { - "line": 528, - "column": 8 - }, - "end": { - "line": 528, - "column": 54 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18258, - "end": 18299, - "loc": { - "start": { - "line": 528, - "column": 12 - }, - "end": { - "line": 528, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 18258, - "end": 18267, - "loc": { - "start": { - "line": 528, - "column": 12 - }, - "end": { - "line": 528, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 18270, - "end": 18299, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18270, - "end": 18292, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 18270, - "end": 18278, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 32 - }, - "identifierName": "document" - }, - "name": "document" }, "property": { "type": "Identifier", - "start": 18279, - "end": 18292, + "start": 19451, + "end": 19458, "loc": { "start": { - "line": 528, - "column": 33 + "line": 574, + "column": 89 }, "end": { - "line": 528, - "column": 46 + "line": 574, + "column": 96 }, - "identifierName": "createElement" + "identifierName": "display" }, - "name": "createElement" + "name": "display" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18293, - "end": 18298, + { + "type": "MemberExpression", + "start": 19460, + "end": 19485, + "loc": { + "start": { + "line": 574, + "column": 98 + }, + "end": { + "line": 574, + "column": 123 + } + }, + "object": { + "type": "MemberExpression", + "start": 19460, + "end": 19472, "loc": { "start": { - "line": 528, - "column": 47 + "line": 574, + "column": 98 }, "end": { - "line": 528, - "column": 52 + "line": 574, + "column": 110 } }, - "extra": { - "rawValue": "div", - "raw": "'div'" + "object": { + "type": "ThisExpression", + "start": 19460, + "end": 19464, + "loc": { + "start": { + "line": 574, + "column": 98 + }, + "end": { + "line": 574, + "column": 102 + } + } }, - "value": "div" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, - "loc": { - "start": { - "line": 525, - "column": 8 - }, - "end": { - "line": 527, - "column": 11 + "property": { + "type": "Identifier", + "start": 19465, + "end": 19472, + "loc": { + "start": { + "line": 574, + "column": 103 + }, + "end": { + "line": 574, + "column": 110 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19473, + "end": 19485, + "loc": { + "start": { + "line": 574, + "column": 111 + }, + "end": { + "line": 574, + "column": 123 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + }, + "computed": false } - } + ] } - ] - }, - { - "type": "ExpressionStatement", - "start": 18310, - "end": 18407, - "loc": { - "start": { - "line": 529, - "column": 8 - }, - "end": { - "line": 529, - "column": 105 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18310, - "end": 18406, + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating button\r\n ", + "start": 19499, + "end": 19543, "loc": { "start": { - "line": 529, + "line": 576, "column": 8 }, "end": { - "line": 529, - "column": 104 + "line": 578, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 19553, + "end": 19599, + "loc": { + "start": { + "line": 579, + "column": 8 + }, + "end": { + "line": 579, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19557, + "end": 19598, + "loc": { + "start": { + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 53 } }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 18310, - "end": 18329, + "id": { + "type": "Identifier", + "start": 19557, + "end": 19566, "loc": { "start": { - "line": 529, + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 19569, + "end": 19598, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19569, + "end": 19591, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 19569, + "end": 19577, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 32 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 19578, + "end": 19591, + "loc": { + "start": { + "line": 579, + "column": 33 + }, + "end": { + "line": 579, + "column": 46 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19592, + "end": 19597, + "loc": { + "start": { + "line": 579, + "column": 47 + }, + "end": { + "line": 579, + "column": 52 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creating button\r\n ", + "start": 19499, + "end": 19543, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 578, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19609, + "end": 19706, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 105 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19609, + "end": 19705, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 104 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 19609, + "end": 19628, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 19609, + "end": 19618, + "loc": { + "start": { + "line": 580, "column": 8 }, "end": { - "line": 529, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 18310, - "end": 18319, - "loc": { - "start": { - "line": 529, - "column": 8 - }, - "end": { - "line": 529, - "column": 17 - }, - "identifierName": "buttonDOM" + "line": 580, + "column": 17 }, - "name": "buttonDOM" + "identifierName": "buttonDOM" }, - "property": { - "type": "Identifier", - "start": 18320, - "end": 18329, - "loc": { - "start": { - "line": 529, - "column": 18 - }, - "end": { - "line": 529, - "column": 27 - }, - "identifierName": "className" - }, - "name": "className" - }, - "computed": false + "name": "buttonDOM" }, - "right": { - "type": "TemplateLiteral", - "start": 18333, - "end": 18406, + "property": { + "type": "Identifier", + "start": 19619, + "end": 19628, "loc": { "start": { - "line": 529, - "column": 31 + "line": 580, + "column": 18 }, "end": { - "line": 529, - "column": 104 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 18346, - "end": 18357, - "loc": { - "start": { - "line": 529, - "column": 44 - }, - "end": { - "line": 529, - "column": 55 - }, - "identifierName": "fctBtnClass" - }, - "name": "fctBtnClass" + "line": 580, + "column": 27 }, - { - "type": "ConditionalExpression", - "start": 18360, - "end": 18404, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + "right": { + "type": "TemplateLiteral", + "start": 19632, + "end": 19705, + "loc": { + "start": { + "line": 580, + "column": 31 + }, + "end": { + "line": 580, + "column": 104 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 19645, + "end": 19656, + "loc": { + "start": { + "line": 580, + "column": 44 + }, + "end": { + "line": 580, + "column": 55 + }, + "identifierName": "fctBtnClass" + }, + "name": "fctBtnClass" + }, + { + "type": "ConditionalExpression", + "start": 19659, + "end": 19703, + "loc": { + "start": { + "line": 580, + "column": 58 + }, + "end": { + "line": 580, + "column": 102 + } + }, + "test": { + "type": "Identifier", + "start": 19659, + "end": 19675, "loc": { "start": { - "line": 529, + "line": 580, "column": 58 }, "end": { - "line": 529, - "column": 102 + "line": 580, + "column": 74 + }, + "identifierName": "buttonThemeClass" + }, + "name": "buttonThemeClass" + }, + "consequent": { + "type": "BinaryExpression", + "start": 19678, + "end": 19698, + "loc": { + "start": { + "line": 580, + "column": 77 + }, + "end": { + "line": 580, + "column": 97 } }, - "test": { - "type": "Identifier", - "start": 18360, - "end": 18376, + "left": { + "type": "StringLiteral", + "start": 19678, + "end": 19681, "loc": { "start": { - "line": 529, - "column": 58 + "line": 580, + "column": 77 }, "end": { - "line": 529, - "column": 74 + "line": 580, + "column": 80 + } + }, + "extra": { + "rawValue": " ", + "raw": "\" \"" + }, + "value": " " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 19682, + "end": 19698, + "loc": { + "start": { + "line": 580, + "column": 81 + }, + "end": { + "line": 580, + "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" - }, - "consequent": { - "type": "BinaryExpression", - "start": 18379, - "end": 18399, - "loc": { - "start": { - "line": 529, - "column": 77 - }, - "end": { - "line": 529, - "column": 97 - } + } + }, + "alternate": { + "type": "StringLiteral", + "start": 19701, + "end": 19703, + "loc": { + "start": { + "line": 580, + "column": 100 }, - "left": { - "type": "StringLiteral", - "start": 18379, - "end": 18382, - "loc": { - "start": { - "line": 529, - "column": 77 - }, - "end": { - "line": 529, - "column": 80 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 18383, - "end": 18399, - "loc": { - "start": { - "line": 529, - "column": 81 - }, - "end": { - "line": 529, - "column": 97 - }, - "identifierName": "buttonThemeClass" - }, - "name": "buttonThemeClass" + "end": { + "line": 580, + "column": 102 } }, - "alternate": { - "type": "StringLiteral", - "start": 18402, - "end": 18404, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 19633, + "end": 19643, + "loc": { + "start": { + "line": 580, + "column": 32 + }, + "end": { + "line": 580, + "column": 42 + } + }, + "value": { + "raw": "hg-button ", + "cooked": "hg-button " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 19657, + "end": 19657, + "loc": { + "start": { + "line": 580, + "column": 56 + }, + "end": { + "line": 580, + "column": 56 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 19704, + "end": 19704, + "loc": { + "start": { + "line": 580, + "column": 103 + }, + "end": { + "line": 580, + "column": 103 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 19716, + "end": 19775, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 67 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19716, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19716, + "end": 19733, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 19716, + "end": 19725, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 19726, + "end": 19733, + "loc": { + "start": { + "line": 581, + "column": 18 + }, + "end": { + "line": 581, + "column": 25 + }, + "identifierName": "onclick" + }, + "name": "onclick" + }, + "computed": false + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 19736, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 28 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 19742, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19742, + "end": 19766, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 19742, + "end": 19746, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 19747, + "end": 19766, + "loc": { + "start": { + "line": 581, + "column": 39 + }, + "end": { + "line": 581, + "column": 58 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19767, + "end": 19773, + "loc": { + "start": { + "line": 581, + "column": 59 + }, + "end": { + "line": 581, + "column": 65 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 19787, + "end": 19833, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 585, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 19843, + "end": 19888, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 53 + } + }, + "expression": { + "type": "CallExpression", + "start": 19843, + "end": 19887, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19843, + "end": 19865, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 19843, + "end": 19852, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 19853, + "end": 19865, + "loc": { + "start": { + "line": 586, + "column": 18 + }, + "end": { + "line": 586, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19866, + "end": 19878, + "loc": { + "start": { + "line": 586, + "column": 31 + }, + "end": { + "line": 586, + "column": 43 + } + }, + "extra": { + "rawValue": "data-skBtn", + "raw": "\"data-skBtn\"" + }, + "value": "data-skBtn" + }, + { + "type": "Identifier", + "start": 19880, + "end": 19886, + "loc": { + "start": { + "line": 586, + "column": 45 + }, + "end": { + "line": 586, + "column": 51 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 19787, + "end": 19833, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 585, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 19900, + "end": 20055, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 591, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 20065, + "end": 20131, + "loc": { + "start": { + "line": 592, + "column": 8 + }, + "end": { + "line": 592, + "column": 74 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20069, + "end": 20130, + "loc": { + "start": { + "line": 592, + "column": 12 + }, + "end": { + "line": 592, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 20069, + "end": 20078, + "loc": { + "start": { + "line": 592, + "column": 12 + }, + "end": { + "line": 592, + "column": 21 + }, + "identifierName": "buttonUID" + }, + "name": "buttonUID", + "leadingComments": null + }, + "init": { + "type": "TemplateLiteral", + "start": 20081, + "end": 20130, + "loc": { + "start": { + "line": 592, + "column": 24 + }, + "end": { + "line": 592, + "column": 73 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 20084, + "end": 20107, + "loc": { + "start": { + "line": 592, + "column": 27 + }, + "end": { + "line": 592, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 20084, + "end": 20096, "loc": { "start": { - "line": 529, - "column": 100 + "line": 592, + "column": 27 }, "end": { - "line": 529, - "column": 102 + "line": 592, + "column": 39 } }, - "extra": { - "rawValue": "", - "raw": "\"\"" + "object": { + "type": "ThisExpression", + "start": 20084, + "end": 20088, + "loc": { + "start": { + "line": 592, + "column": 27 + }, + "end": { + "line": 592, + "column": 31 + } + } }, - "value": "" - } + "property": { + "type": "Identifier", + "start": 20089, + "end": 20096, + "loc": { + "start": { + "line": 592, + "column": 32 + }, + "end": { + "line": 592, + "column": 39 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20097, + "end": 20107, + "loc": { + "start": { + "line": 592, + "column": 40 + }, + "end": { + "line": 592, + "column": 50 + }, + "identifierName": "layoutName" + }, + "name": "layoutName" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 20112, + "end": 20118, + "loc": { + "start": { + "line": 592, + "column": 55 + }, + "end": { + "line": 592, + "column": 61 + }, + "identifierName": "rIndex" + }, + "name": "rIndex" + }, + { + "type": "Identifier", + "start": 20122, + "end": 20128, + "loc": { + "start": { + "line": 592, + "column": 65 + }, + "end": { + "line": 592, + "column": 71 + }, + "identifierName": "bIndex" + }, + "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", - "start": 18334, - "end": 18344, + "start": 20082, + "end": 20082, "loc": { "start": { - "line": 529, - "column": 32 + "line": 592, + "column": 25 }, "end": { - "line": 529, - "column": 42 - } - }, - "value": { - "raw": "hg-button ", - "cooked": "hg-button " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18358, - "end": 18358, - "loc": { - "start": { - "line": 529, - "column": 56 - }, - "end": { - "line": 529, - "column": 56 + "line": 592, + "column": 25 } }, "value": { @@ -54719,16 +63450,56 @@ }, { "type": "TemplateElement", - "start": 18405, - "end": 18405, + "start": 20108, + "end": 20110, "loc": { "start": { - "line": 529, - "column": 103 + "line": 592, + "column": 51 }, "end": { - "line": 529, - "column": 103 + "line": 592, + "column": 53 + } + }, + "value": { + "raw": "-r", + "cooked": "-r" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 20119, + "end": 20120, + "loc": { + "start": { + "line": 592, + "column": 62 + }, + "end": { + "line": 592, + "column": 63 + } + }, + "value": { + "raw": "b", + "cooked": "b" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 20129, + "end": 20129, + "loc": { + "start": { + "line": 592, + "column": 72 + }, + "end": { + "line": 592, + "column": 72 } }, "value": { @@ -54738,2580 +63509,1957 @@ "tail": true } ] + }, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 19900, + "end": 20055, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 591, + "column": 11 + } } } + ] + }, + { + "type": "ExpressionStatement", + "start": 20141, + "end": 20192, + "loc": { + "start": { + "line": 593, + "column": 8 + }, + "end": { + "line": 593, + "column": 59 + } }, - { - "type": "ExpressionStatement", - "start": 18417, - "end": 18476, + "expression": { + "type": "CallExpression", + "start": 20141, + "end": 20191, "loc": { "start": { - "line": 530, + "line": 593, "column": 8 }, "end": { - "line": 530, - "column": 67 + "line": 593, + "column": 58 } }, - "expression": { - "type": "AssignmentExpression", - "start": 18417, - "end": 18475, + "callee": { + "type": "MemberExpression", + "start": 20141, + "end": 20163, "loc": { "start": { - "line": 530, + "line": 593, "column": 8 }, "end": { - "line": 530, - "column": 66 + "line": 593, + "column": 30 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18417, - "end": 18434, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 18417, - "end": 18426, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 18427, - "end": 18434, - "loc": { - "start": { - "line": 530, - "column": 18 - }, - "end": { - "line": 530, - "column": 25 - }, - "identifierName": "onclick" - }, - "name": "onclick" - }, - "computed": false - }, - "right": { - "type": "ArrowFunctionExpression", - "start": 18437, - "end": 18475, - "loc": { - "start": { - "line": 530, - "column": 28 - }, - "end": { - "line": 530, - "column": 66 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 18443, - "end": 18475, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18443, - "end": 18467, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 18443, - "end": 18447, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 18448, - "end": 18467, - "loc": { - "start": { - "line": 530, - "column": 39 - }, - "end": { - "line": 530, - "column": 58 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 18468, - "end": 18474, - "loc": { - "start": { - "line": 530, - "column": 59 - }, - "end": { - "line": 530, - "column": 65 - }, - "identifierName": "button" - }, - "name": "button" - } - ] - } - } - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 534, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18544, - "end": 18589, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 18544, - "end": 18588, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18544, - "end": 18566, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18544, - "end": 18553, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18554, - "end": 18566, - "loc": { - "start": { - "line": 535, - "column": 18 - }, - "end": { - "line": 535, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18567, - "end": 18579, - "loc": { - "start": { - "line": 535, - "column": 31 - }, - "end": { - "line": 535, - "column": 43 - } - }, - "extra": { - "rawValue": "data-skBtn", - "raw": "\"data-skBtn\"" - }, - "value": "data-skBtn" - }, - { - "type": "Identifier", - "start": 18581, - "end": 18587, - "loc": { - "start": { - "line": 535, - "column": 45 - }, - "end": { - "line": 535, - "column": 51 - }, - "identifierName": "button" - }, - "name": "button" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 534, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 540, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 18766, - "end": 18832, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 74 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18770, - "end": 18831, - "loc": { - "start": { - "line": 541, - "column": 12 - }, - "end": { - "line": 541, - "column": 73 - } - }, - "id": { - "type": "Identifier", - "start": 18770, - "end": 18779, - "loc": { - "start": { - "line": 541, - "column": 12 - }, - "end": { - "line": 541, - "column": 21 - }, - "identifierName": "buttonUID" - }, - "name": "buttonUID", - "leadingComments": null - }, - "init": { - "type": "TemplateLiteral", - "start": 18782, - "end": 18831, - "loc": { - "start": { - "line": 541, - "column": 24 - }, - "end": { - "line": 541, - "column": 73 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 18785, - "end": 18808, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 18785, - "end": 18797, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 18785, - "end": 18789, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 18790, - "end": 18797, - "loc": { - "start": { - "line": 541, - "column": 32 - }, - "end": { - "line": 541, - "column": 39 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18798, - "end": 18808, - "loc": { - "start": { - "line": 541, - "column": 40 - }, - "end": { - "line": 541, - "column": 50 - }, - "identifierName": "layoutName" - }, - "name": "layoutName" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 18813, - "end": 18819, - "loc": { - "start": { - "line": 541, - "column": 55 - }, - "end": { - "line": 541, - "column": 61 - }, - "identifierName": "rIndex" - }, - "name": "rIndex" - }, - { - "type": "Identifier", - "start": 18823, - "end": 18829, - "loc": { - "start": { - "line": 541, - "column": 65 - }, - "end": { - "line": 541, - "column": 71 - }, - "identifierName": "bIndex" - }, - "name": "bIndex" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 18783, - "end": 18783, - "loc": { - "start": { - "line": 541, - "column": 25 - }, - "end": { - "line": 541, - "column": 25 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18809, - "end": 18811, - "loc": { - "start": { - "line": 541, - "column": 51 - }, - "end": { - "line": 541, - "column": 53 - } - }, - "value": { - "raw": "-r", - "cooked": "-r" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18820, - "end": 18821, - "loc": { - "start": { - "line": 541, - "column": 62 - }, - "end": { - "line": 541, - "column": 63 - } - }, - "value": { - "raw": "b", - "cooked": "b" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 18830, - "end": 18830, - "loc": { - "start": { - "line": 541, - "column": 72 - }, - "end": { - "line": 541, - "column": 72 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 540, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18842, - "end": 18893, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 59 - } - }, - "expression": { - "type": "CallExpression", - "start": 18842, - "end": 18892, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18842, - "end": 18864, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18842, - "end": 18851, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 18852, - "end": 18864, - "loc": { - "start": { - "line": 542, - "column": 18 - }, - "end": { - "line": 542, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18865, - "end": 18880, - "loc": { - "start": { - "line": 542, - "column": 31 - }, - "end": { - "line": 542, - "column": 46 - } - }, - "extra": { - "rawValue": "data-skBtnUID", - "raw": "\"data-skBtnUID\"" - }, - "value": "data-skBtnUID" - }, - { - "type": "Identifier", - "start": 18882, - "end": 18891, - "loc": { - "start": { - "line": 542, - "column": 48 - }, - "end": { - "line": 542, - "column": 57 - }, - "identifierName": "buttonUID" - }, - "name": "buttonUID" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 546, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18964, - "end": 19027, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 71 - } - }, - "expression": { - "type": "CallExpression", - "start": 18964, - "end": 19026, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18964, - "end": 18986, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 18964, - "end": 18973, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18974, - "end": 18986, - "loc": { - "start": { - "line": 547, - "column": 18 - }, - "end": { - "line": 547, - "column": 30 - }, - "identifierName": "setAttribute" - }, - "name": "setAttribute" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 18987, - "end": 19006, - "loc": { - "start": { - "line": 547, - "column": 31 - }, - "end": { - "line": 547, - "column": 50 - } - }, - "extra": { - "rawValue": "data-displayLabel", - "raw": "\"data-displayLabel\"" - }, - "value": "data-displayLabel" - }, - { - "type": "Identifier", - "start": 19008, - "end": 19025, - "loc": { - "start": { - "line": 547, - "column": 52 - }, - "end": { - "line": 547, - "column": 69 - }, - "identifierName": "buttonDisplayName" - }, - "name": "buttonDisplayName" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 546, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, - "loc": { - "start": { - "line": 549, - "column": 8 - }, - "end": { - "line": 551, - "column": 11 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 19107, - "end": 19158, - "loc": { - "start": { - "line": 552, - "column": 8 - }, - "end": { - "line": 552, - "column": 59 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 19111, - "end": 19157, - "loc": { - "start": { - "line": 552, - "column": 12 - }, - "end": { - "line": 552, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 19111, - "end": 19124, - "loc": { - "start": { - "line": 552, - "column": 12 - }, - "end": { - "line": 552, - "column": 25 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 19127, - "end": 19157, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19127, - "end": 19149, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 19127, - "end": 19135, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 36 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 19136, - "end": 19149, - "loc": { - "start": { - "line": 552, - "column": 37 - }, - "end": { - "line": 552, - "column": 50 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 19150, - "end": 19156, - "loc": { - "start": { - "line": 552, - "column": 51 - }, - "end": { - "line": 552, - "column": 57 - } - }, - "extra": { - "rawValue": "span", - "raw": "'span'" - }, - "value": "span" - } - ] - }, - "leadingComments": null - } - ], - "kind": "var", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, - "loc": { - "start": { - "line": 549, - "column": 8 - }, - "end": { - "line": 551, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 19168, - "end": 19212, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 19168, - "end": 19211, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19168, - "end": 19191, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 19168, - "end": 19181, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 21 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM" - }, - "property": { - "type": "Identifier", - "start": 19182, - "end": 19191, - "loc": { - "start": { - "line": 553, - "column": 22 - }, - "end": { - "line": 553, - "column": 31 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { + "object": { "type": "Identifier", - "start": 19194, - "end": 19211, + "start": 20141, + "end": 20150, "loc": { "start": { - "line": 553, - "column": 34 + "line": 593, + "column": 8 }, "end": { - "line": 553, - "column": 51 + "line": 593, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 20151, + "end": 20163, + "loc": { + "start": { + "line": 593, + "column": 18 + }, + "end": { + "line": 593, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20164, + "end": 20179, + "loc": { + "start": { + "line": 593, + "column": 31 + }, + "end": { + "line": 593, + "column": 46 + } + }, + "extra": { + "rawValue": "data-skBtnUID", + "raw": "\"data-skBtnUID\"" + }, + "value": "data-skBtnUID" + }, + { + "type": "Identifier", + "start": 20181, + "end": 20190, + "loc": { + "start": { + "line": 593, + "column": 48 + }, + "end": { + "line": 593, + "column": 57 + }, + "identifierName": "buttonUID" + }, + "name": "buttonUID" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 20204, + "end": 20253, + "loc": { + "start": { + "line": 595, + "column": 8 + }, + "end": { + "line": 597, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20263, + "end": 20326, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 20263, + "end": 20325, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20263, + "end": 20285, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 20263, + "end": 20272, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20273, + "end": 20285, + "loc": { + "start": { + "line": 598, + "column": 18 + }, + "end": { + "line": 598, + "column": 30 + }, + "identifierName": "setAttribute" + }, + "name": "setAttribute" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20286, + "end": 20305, + "loc": { + "start": { + "line": 598, + "column": 31 + }, + "end": { + "line": 598, + "column": 50 + } + }, + "extra": { + "rawValue": "data-displayLabel", + "raw": "\"data-displayLabel\"" + }, + "value": "data-displayLabel" + }, + { + "type": "Identifier", + "start": 20307, + "end": 20324, + "loc": { + "start": { + "line": 598, + "column": 52 + }, + "end": { + "line": 598, + "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } - } + ], + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19222, - "end": 19259, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 19222, - "end": 19258, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 20204, + "end": 20253, "loc": { "start": { - "line": 554, + "line": 595, "column": 8 }, "end": { - "line": 554, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19222, - "end": 19243, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 19222, - "end": 19231, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 17 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 19232, - "end": 19243, - "loc": { - "start": { - "line": 554, - "column": 18 - }, - "end": { - "line": 554, - "column": 29 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 19244, - "end": 19257, - "loc": { - "start": { - "line": 554, - "column": 30 - }, - "end": { - "line": 554, - "column": 43 - }, - "identifierName": "buttonSpanDOM" - }, - "name": "buttonSpanDOM" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, - "loc": { - "start": { - "line": 556, - "column": 8 - }, - "end": { - "line": 558, - "column": 11 - } + "line": 597, + "column": 11 } } - ] - }, - { - "type": "IfStatement", - "start": 19334, - "end": 19411, - "loc": { - "start": { - "line": 559, - "column": 8 - }, - "end": { - "line": 560, - "column": 43 - } - }, - "test": { - "type": "UnaryExpression", - "start": 19337, - "end": 19365, + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 20338, + "end": 20396, "loc": { "start": { - "line": 559, - "column": 11 + "line": 600, + "column": 8 }, "end": { - "line": 559, - "column": 39 + "line": 602, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 20406, + "end": 20457, + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 603, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20410, + "end": 20456, + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 58 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 19338, - "end": 19365, + "id": { + "type": "Identifier", + "start": 20410, + "end": 20423, "loc": { "start": { - "line": 559, + "line": 603, "column": 12 }, "end": { - "line": 559, - "column": 39 + "line": 603, + "column": 25 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 20426, + "end": 20456, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20426, + "end": 20448, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 20426, + "end": 20434, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 36 + }, + "identifierName": "document" + }, + "name": "document" + }, + "property": { + "type": "Identifier", + "start": 20435, + "end": 20448, + "loc": { + "start": { + "line": 603, + "column": 37 + }, + "end": { + "line": 603, + "column": 50 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20449, + "end": 20455, + "loc": { + "start": { + "line": 603, + "column": 51 + }, + "end": { + "line": 603, + "column": 57 + } + }, + "extra": { + "rawValue": "span", + "raw": "'span'" + }, + "value": "span" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 20338, + "end": 20396, + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 602, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20467, + "end": 20511, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20467, + "end": 20510, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20467, + "end": 20490, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 20467, + "end": 20480, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 21 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM" + }, + "property": { + "type": "Identifier", + "start": 20481, + "end": 20490, + "loc": { + "start": { + "line": 604, + "column": 22 + }, + "end": { + "line": 604, + "column": 31 + }, + "identifierName": "innerHTML" + }, + "name": "innerHTML" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 20493, + "end": 20510, + "loc": { + "start": { + "line": 604, + "column": 34 + }, + "end": { + "line": 604, + "column": 51 + }, + "identifierName": "buttonDisplayName" + }, + "name": "buttonDisplayName" + } + } + }, + { + "type": "ExpressionStatement", + "start": 20521, + "end": 20558, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 20521, + "end": 20557, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20521, + "end": 20542, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 20521, + "end": 20530, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 20531, + "end": 20542, + "loc": { + "start": { + "line": 605, + "column": 18 + }, + "end": { + "line": 605, + "column": 29 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20543, + "end": 20556, + "loc": { + "start": { + "line": 605, + "column": 30 + }, + "end": { + "line": 605, + "column": 43 + }, + "identifierName": "buttonSpanDOM" + }, + "name": "buttonSpanDOM" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 20570, + "end": 20623, + "loc": { + "start": { + "line": 607, + "column": 8 + }, + "end": { + "line": 609, + "column": 11 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 20633, + "end": 20710, + "loc": { + "start": { + "line": 610, + "column": 8 + }, + "end": { + "line": 611, + "column": 43 + } + }, + "test": { + "type": "UnaryExpression", + "start": 20636, + "end": 20664, + "loc": { + "start": { + "line": 610, + "column": 11 + }, + "end": { + "line": 610, + "column": 39 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 20637, + "end": 20664, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 20637, + "end": 20656, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 20637, + "end": 20641, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20642, + "end": 20656, + "loc": { + "start": { + "line": 610, + "column": 17 + }, + "end": { + "line": 610, + "column": 31 + }, + "identifierName": "buttonElements" + }, + "name": "buttonElements" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20657, + "end": 20663, + "loc": { + "start": { + "line": 610, + "column": 32 + }, + "end": { + "line": 610, + "column": 38 + }, + "identifierName": "button" + }, + "name": "button" + }, + "computed": true, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 20677, + "end": 20710, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20677, + "end": 20709, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20677, + "end": 20704, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 37 } }, "object": { "type": "MemberExpression", - "start": 19338, - "end": 19357, + "start": 20677, + "end": 20696, "loc": { "start": { - "line": 559, - "column": 12 + "line": 611, + "column": 10 }, "end": { - "line": 559, - "column": 31 + "line": 611, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 19338, - "end": 19342, + "start": 20677, + "end": 20681, "loc": { "start": { - "line": 559, - "column": 12 + "line": 611, + "column": 10 }, "end": { - "line": 559, - "column": 16 + "line": 611, + "column": 14 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 19343, - "end": 19357, + "start": 20682, + "end": 20696, "loc": { "start": { - "line": 559, - "column": 17 + "line": 611, + "column": 15 }, "end": { - "line": 559, - "column": 31 + "line": 611, + "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { "type": "Identifier", - "start": 19358, - "end": 19364, + "start": 20697, + "end": 20703, "loc": { "start": { - "line": 559, - "column": 32 + "line": 611, + "column": 30 }, "end": { - "line": 559, - "column": 38 + "line": 611, + "column": 36 }, "identifierName": "button" }, "name": "button" }, - "computed": true, - "leadingComments": null + "computed": true }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "ExpressionStatement", - "start": 19378, - "end": 19411, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 19378, - "end": 19410, + "right": { + "type": "ArrayExpression", + "start": 20707, + "end": 20709, "loc": { "start": { - "line": 560, - "column": 10 + "line": 611, + "column": 40 }, "end": { - "line": 560, + "line": 611, "column": 42 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19378, - "end": 19405, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 19378, - "end": 19397, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 19378, - "end": 19382, - "loc": { - "start": { - "line": 560, - "column": 10 - }, - "end": { - "line": 560, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 19383, - "end": 19397, - "loc": { - "start": { - "line": 560, - "column": 15 - }, - "end": { - "line": 560, - "column": 29 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 19398, - "end": 19404, - "loc": { - "start": { - "line": 560, - "column": 30 - }, - "end": { - "line": 560, - "column": 36 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true - }, - "right": { - "type": "ArrayExpression", - "start": 19408, - "end": 19410, - "loc": { - "start": { - "line": 560, - "column": 40 - }, - "end": { - "line": 560, - "column": 42 - } - }, - "elements": [] - } + "elements": [] } - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, - "loc": { - "start": { - "line": 556, - "column": 8 - }, - "end": { - "line": 558, - "column": 11 - } - } - } - ] + } }, - { - "type": "ExpressionStatement", - "start": 19423, - "end": 19467, - "loc": { - "start": { - "line": 562, - "column": 8 - }, - "end": { - "line": 562, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 19423, - "end": 19466, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 20570, + "end": 20623, "loc": { "start": { - "line": 562, + "line": 607, "column": 8 }, "end": { - "line": 562, - "column": 51 + "line": 609, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20722, + "end": 20766, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 20722, + "end": 20765, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20722, + "end": 20754, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 40 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 19423, - "end": 19455, + "start": 20722, + "end": 20749, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 40 + "line": 613, + "column": 35 } }, "object": { "type": "MemberExpression", - "start": 19423, - "end": 19450, + "start": 20722, + "end": 20741, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 35 + "line": 613, + "column": 27 } }, "object": { - "type": "MemberExpression", - "start": 19423, - "end": 19442, + "type": "ThisExpression", + "start": 20722, + "end": 20726, "loc": { "start": { - "line": 562, + "line": 613, "column": 8 }, "end": { - "line": 562, - "column": 27 + "line": 613, + "column": 12 } - }, - "object": { - "type": "ThisExpression", - "start": 19423, - "end": 19427, - "loc": { - "start": { - "line": 562, - "column": 8 - }, - "end": { - "line": 562, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 19428, - "end": 19442, - "loc": { - "start": { - "line": 562, - "column": 13 - }, - "end": { - "line": 562, - "column": 27 - }, - "identifierName": "buttonElements" - }, - "name": "buttonElements" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19449, + "start": 20727, + "end": 20741, "loc": { "start": { - "line": 562, - "column": 28 + "line": 613, + "column": 13 }, "end": { - "line": 562, - "column": 34 + "line": 613, + "column": 27 }, - "identifierName": "button" + "identifierName": "buttonElements" }, - "name": "button" + "name": "buttonElements" }, - "computed": true + "computed": false }, "property": { "type": "Identifier", - "start": 19451, - "end": 19455, + "start": 20742, + "end": 20748, "loc": { "start": { - "line": 562, - "column": 36 + "line": 613, + "column": 28 }, "end": { - "line": 562, - "column": 40 + "line": 613, + "column": 34 }, - "identifierName": "push" + "identifierName": "button" }, - "name": "push" + "name": "button" }, - "computed": false + "computed": true }, - "arguments": [ - { - "type": "Identifier", - "start": 19456, - "end": 19465, - "loc": { - "start": { - "line": 562, - "column": 41 - }, - "end": { - "line": 562, - "column": 50 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, + "property": { + "type": "Identifier", + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 564, - "column": 8 + "line": 613, + "column": 36 }, "end": { - "line": 566, - "column": 11 - } - } + "line": 613, + "column": 40 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20755, + "end": 20764, + "loc": { + "start": { + "line": 613, + "column": 41 + }, + "end": { + "line": 613, + "column": 50 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" } ] }, - { - "type": "ExpressionStatement", - "start": 19541, - "end": 19571, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 19541, - "end": 19570, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending button to row\r\n ", + "start": 20778, + "end": 20830, "loc": { "start": { - "line": 567, + "line": 615, "column": 8 }, "end": { - "line": 567, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19541, - "end": 19559, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 19541, - "end": 19547, - "loc": { - "start": { - "line": 567, - "column": 8 - }, - "end": { - "line": 567, - "column": 14 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19548, - "end": 19559, - "loc": { - "start": { - "line": 567, - "column": 15 - }, - "end": { - "line": 567, - "column": 26 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 19560, - "end": 19569, - "loc": { - "start": { - "line": 567, - "column": 27 - }, - "end": { - "line": 567, - "column": 36 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, - "loc": { - "start": { - "line": 564, - "column": 8 - }, - "end": { - "line": 566, - "column": 11 - } + "line": 617, + "column": 11 } } - ] - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, - "loc": { - "start": { - "line": 517, - "column": 6 - }, - "end": { - "line": 519, - "column": 9 - } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20840, + "end": 20870, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 20840, + "end": 20869, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20840, + "end": 20858, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 20840, + "end": 20846, + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 618, + "column": 14 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20847, + "end": 20858, + "loc": { + "start": { + "line": 618, + "column": 15 + }, + "end": { + "line": 618, + "column": 26 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 20859, + "end": 20868, + "loc": { + "start": { + "line": 618, + "column": 27 + }, + "end": { + "line": 618, + "column": 36 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending button to row\r\n ", + "start": 20778, + "end": 20830, + "loc": { + "start": { + "line": 615, + "column": 8 + }, + "end": { + "line": 617, + "column": 11 + } + } + } + ] + } + ], + "directives": [] } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, - "loc": { - "start": { - "line": 571, - "column": 6 - }, - "end": { - "line": 573, - "column": 9 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19652, - "end": 19689, - "loc": { - "start": { - "line": 574, - "column": 6 - }, - "end": { - "line": 574, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 19652, - "end": 19688, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 19127, + "end": 19188, "loc": { "start": { - "line": 574, + "line": 568, "column": 6 }, "end": { - "line": 574, - "column": 42 + "line": 570, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending row to keyboard\r\n ", + "start": 20893, + "end": 20943, + "loc": { + "start": { + "line": 622, + "column": 6 + }, + "end": { + "line": 624, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20951, + "end": 20988, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 20951, + "end": 20987, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20951, + "end": 20979, + "loc": { + "start": { + "line": 625, + "column": 6 + }, + "end": { + "line": 625, + "column": 34 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 19652, - "end": 19680, + "start": 20951, + "end": 20967, "loc": { "start": { - "line": 574, + "line": 625, "column": 6 }, "end": { - "line": 574, - "column": 34 + "line": 625, + "column": 22 } }, "object": { - "type": "MemberExpression", - "start": 19652, - "end": 19668, + "type": "ThisExpression", + "start": 20951, + "end": 20955, "loc": { "start": { - "line": 574, + "line": 625, "column": 6 }, "end": { - "line": 574, - "column": 22 + "line": 625, + "column": 10 } }, - "object": { - "type": "ThisExpression", - "start": 19652, - "end": 19656, - "loc": { - "start": { - "line": 574, - "column": 6 - }, - "end": { - "line": 574, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19657, - "end": 19668, - "loc": { - "start": { - "line": 574, - "column": 11 - }, - "end": { - "line": 574, - "column": 22 - }, - "identifierName": "keyboardDOM" - }, - "name": "keyboardDOM" - }, - "computed": false, "leadingComments": null }, "property": { "type": "Identifier", - "start": 19669, - "end": 19680, + "start": 20956, + "end": 20967, "loc": { "start": { - "line": 574, - "column": 23 + "line": 625, + "column": 11 }, "end": { - "line": 574, - "column": 34 + "line": 625, + "column": 22 }, - "identifierName": "appendChild" + "identifierName": "keyboardDOM" }, - "name": "appendChild" + "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "Identifier", - "start": 19681, - "end": 19687, - "loc": { - "start": { - "line": 574, - "column": 35 - }, - "end": { - "line": 574, - "column": 41 - }, - "identifierName": "rowDOM" - }, - "name": "rowDOM" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, + "property": { + "type": "Identifier", + "start": 20968, + "end": 20979, "loc": { "start": { - "line": 571, - "column": 6 + "line": 625, + "column": 23 }, "end": { - "line": 573, - "column": 9 - } + "line": 625, + "column": 34 + }, + "identifierName": "appendChild" + }, + "name": "appendChild" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 20980, + "end": 20986, + "loc": { + "start": { + "line": 625, + "column": 35 + }, + "end": { + "line": 625, + "column": 41 + }, + "identifierName": "rowDOM" + }, + "name": "rowDOM" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Appending row to keyboard\r\n ", + "start": 20893, + "end": 20943, + "loc": { + "start": { + "line": 622, + "column": 6 + }, + "end": { + "line": 624, + "column": 9 } } - ] - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, - "loc": { - "start": { - "line": 505, - "column": 4 - }, - "end": { - "line": 507, - "column": 7 - } + } + ] + } + ], + "directives": [] } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, - "loc": { - "start": { - "line": 577, - "column": 4 - }, - "end": { - "line": 579, - "column": 7 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19749, - "end": 19765, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 19749, - "end": 19764, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 18827, + "end": 18874, "loc": { "start": { - "line": 580, + "line": 556, "column": 4 }, "end": { - "line": 580, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19749, - "end": 19762, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 19749, - "end": 19753, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19754, - "end": 19762, - "loc": { - "start": { - "line": 580, - "column": 9 - }, - "end": { - "line": 580, - "column": 17 - }, - "identifierName": "onRender" - }, - "name": "onRender" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, - "loc": { - "start": { - "line": 577, - "column": 4 - }, - "end": { - "line": 579, - "column": 7 - } + "line": 558, + "column": 7 } } - ] + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onRender\r\n ", + "start": 21005, + "end": 21042, + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 630, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 21048, + "end": 21064, + "loc": { + "start": { + "line": 631, + "column": 4 + }, + "end": { + "line": 631, + "column": 20 + } }, - { - "type": "IfStatement", - "start": 19773, - "end": 19995, + "expression": { + "type": "CallExpression", + "start": 21048, + "end": 21063, "loc": { "start": { - "line": 582, + "line": 631, "column": 4 }, "end": { - "line": 592, - "column": 5 + "line": 631, + "column": 19 } }, - "test": { - "type": "UnaryExpression", - "start": 19776, - "end": 19793, + "callee": { + "type": "MemberExpression", + "start": 21048, + "end": 21061, "loc": { "start": { - "line": 582, - "column": 7 + "line": 631, + "column": 4 }, "end": { - "line": 582, + "line": 631, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 21048, + "end": 21052, + "loc": { + "start": { + "line": 631, + "column": 4 + }, + "end": { + "line": 631, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21053, + "end": 21061, + "loc": { + "start": { + "line": 631, + "column": 9 + }, + "end": { + "line": 631, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onRender\r\n ", + "start": 21005, + "end": 21042, + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 630, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 21072, + "end": 21294, + "loc": { + "start": { + "line": 633, + "column": 4 + }, + "end": { + "line": 643, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 21075, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 7 + }, + "end": { + "line": 633, + "column": 24 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 21076, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 8 + }, + "end": { + "line": 633, "column": 24 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 19777, - "end": 19793, + "object": { + "type": "ThisExpression", + "start": 21076, + "end": 21080, "loc": { "start": { - "line": 582, + "line": 633, "column": 8 }, "end": { - "line": 582, - "column": 24 + "line": 633, + "column": 12 } - }, - "object": { - "type": "ThisExpression", - "start": 19777, - "end": 19781, - "loc": { - "start": { - "line": 582, - "column": 8 - }, - "end": { - "line": 582, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 19782, - "end": 19793, - "loc": { - "start": { - "line": 582, - "column": 13 - }, - "end": { - "line": 582, - "column": 24 - }, - "identifierName": "initialized" - }, - "name": "initialized" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 19794, - "end": 19995, - "loc": { - "start": { - "line": 582, - "column": 25 - }, - "end": { - "line": 592, - "column": 5 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19893, - "end": 19917, + "property": { + "type": "Identifier", + "start": 21081, + "end": 21092, + "loc": { + "start": { + "line": 633, + "column": 13 + }, + "end": { + "line": 633, + "column": 24 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 21093, + "end": 21294, + "loc": { + "start": { + "line": 633, + "column": 25 + }, + "end": { + "line": 643, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21192, + "end": 21216, + "loc": { + "start": { + "line": 637, + "column": 6 + }, + "end": { + "line": 637, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21192, + "end": 21215, "loc": { "start": { - "line": 586, + "line": 637, "column": 6 }, "end": { - "line": 586, - "column": 30 + "line": 637, + "column": 29 } }, - "expression": { - "type": "AssignmentExpression", - "start": 19893, - "end": 19916, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21192, + "end": 21208, "loc": { "start": { - "line": 586, + "line": 637, "column": 6 }, "end": { - "line": 586, + "line": 637, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 21192, + "end": 21196, + "loc": { + "start": { + "line": 637, + "column": 6 + }, + "end": { + "line": 637, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21197, + "end": 21208, + "loc": { + "start": { + "line": 637, + "column": 11 + }, + "end": { + "line": 637, + "column": 22 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 21211, + "end": 21215, + "loc": { + "start": { + "line": 637, + "column": 25 + }, + "end": { + "line": 637, "column": 29 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19893, - "end": 19909, - "loc": { - "start": { - "line": 586, - "column": 6 - }, - "end": { - "line": 586, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 19893, - "end": 19897, - "loc": { - "start": { - "line": 586, - "column": 6 - }, - "end": { - "line": 586, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19898, - "end": 19909, - "loc": { - "start": { - "line": 586, - "column": 11 - }, - "end": { - "line": 586, - "column": 22 - }, - "identifierName": "initialized" - }, - "name": "initialized" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BooleanLiteral", - "start": 19912, - "end": 19916, - "loc": { - "start": { - "line": 586, - "column": 25 - }, - "end": { - "line": 586, - "column": 29 - } - }, - "value": true - }, - "leadingComments": null + "value": true }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 19803, - "end": 19885, - "loc": { - "start": { - "line": 583, - "column": 6 - }, - "end": { - "line": 585, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, - "loc": { - "start": { - "line": 588, - "column": 6 - }, - "end": { - "line": 590, - "column": 9 - } - } - } - ] + "leadingComments": null }, - { - "type": "ExpressionStatement", - "start": 19974, - "end": 19988, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 19974, - "end": 19987, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", + "start": 21102, + "end": 21184, "loc": { "start": { - "line": 591, + "line": 634, "column": 6 }, "end": { - "line": 591, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19974, - "end": 19985, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 17 - } - }, - "object": { - "type": "ThisExpression", - "start": 19974, - "end": 19978, - "loc": { - "start": { - "line": 591, - "column": 6 - }, - "end": { - "line": 591, - "column": 10 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19979, - "end": 19985, - "loc": { - "start": { - "line": 591, - "column": 11 - }, - "end": { - "line": 591, - "column": 17 - }, - "identifierName": "onInit" - }, - "name": "onInit" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, - "loc": { - "start": { - "line": 588, - "column": 6 - }, - "end": { - "line": 590, - "column": 9 - } + "line": 636, + "column": 9 } } - ] - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onInit\r\n ", + "start": 21226, + "end": 21265, + "loc": { + "start": { + "line": 639, + "column": 6 + }, + "end": { + "line": 641, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 21273, + "end": 21287, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 21273, + "end": 21286, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21273, + "end": 21284, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 21273, + "end": 21277, + "loc": { + "start": { + "line": 642, + "column": 6 + }, + "end": { + "line": 642, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21278, + "end": 21284, + "loc": { + "start": { + "line": 642, + "column": 11 + }, + "end": { + "line": 642, + "column": 17 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onInit\r\n ", + "start": 21226, + "end": 21265, + "loc": { + "start": { + "line": 639, + "column": 6 + }, + "end": { + "line": 641, + "column": 9 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "start": 17117, + "end": 17173, "loc": { "start": { - "line": 454, + "line": 505, "column": 2 }, "end": { - "line": 456, + "line": 507, "column": 5 } } @@ -57445,16 +65593,48 @@ }, { "type": "CommentBlock", - "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "value": "*\r\n * Module namespace\r\n ", "start": 4184, - "end": 4843, + "end": 4221, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 79, + "line": 68, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "start": 5152, + "end": 5811, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 104, "column": 7 } } @@ -57462,15 +65642,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, + "start": 5887, + "end": 5996, "loc": { "start": { - "line": 83, + "line": 108, "column": 4 }, "end": { - "line": 85, + "line": 110, "column": 7 } } @@ -57478,15 +65658,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, + "start": 6071, + "end": 6216, "loc": { "start": { - "line": 88, + "line": 113, "column": 4 }, "end": { - "line": 90, + "line": 115, "column": 7 } } @@ -57494,15 +65674,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -57510,15 +65690,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -57526,15 +65706,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -57542,15 +65722,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 117, + "line": 142, "column": 2 }, "end": { - "line": 120, + "line": 145, "column": 5 } } @@ -57558,15 +65738,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, + "start": 7113, + "end": 7162, "loc": { "start": { - "line": 124, + "line": 149, "column": 4 }, "end": { - "line": 126, + "line": 151, "column": 7 } } @@ -57574,15 +65754,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, + "start": 7218, + "end": 7257, "loc": { "start": { - "line": 130, + "line": 155, "column": 4 }, "end": { - "line": 132, + "line": 157, "column": 7 } } @@ -57590,15 +65770,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 6700, - "end": 6777, + "start": 7661, + "end": 7738, "loc": { "start": { - "line": 143, + "line": 168, "column": 6 }, "end": { - "line": 145, + "line": 170, "column": 9 } } @@ -57606,15 +65786,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, + "start": 8020, + "end": 8079, "loc": { "start": { - "line": 155, + "line": 180, "column": 6 }, "end": { - "line": 157, + "line": 182, "column": 9 } } @@ -57622,15 +65802,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, + "start": 8178, + "end": 8219, "loc": { "start": { - "line": 161, + "line": 186, "column": 6 }, "end": { - "line": 163, + "line": 188, "column": 9 } } @@ -57638,59 +65818,11 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, + "start": 8433, + "end": 8530, "loc": { "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, - "loc": { - "start": { - "line": 182, - "column": 2 - }, - "end": { - "line": 185, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, - "loc": { - "start": { - "line": 197, + "line": 198, "column": 2 }, "end": { @@ -57701,16 +65833,64 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, "loc": { "start": { - "line": 204, + "line": 207, + "column": 2 + }, + "end": { + "line": 210, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8906, + "end": 8961, + "loc": { + "start": { + "line": 215, "column": 4 }, "end": { - "line": 206, + "line": 217, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, + "loc": { + "start": { + "line": 222, + "column": 2 + }, + "end": { + "line": 225, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 231, "column": 7 } } @@ -57718,15 +65898,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 213, + "line": 238, "column": 2 }, "end": { - "line": 217, + "line": 242, "column": 5 } } @@ -57734,15 +65914,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, + "start": 9795, + "end": 9850, "loc": { "start": { - "line": 222, + "line": 247, "column": 4 }, "end": { - "line": 224, + "line": 249, "column": 7 } } @@ -57750,15 +65930,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, + "start": 9948, + "end": 10057, "loc": { "start": { - "line": 229, + "line": 254, "column": 2 }, "end": { - "line": 232, + "line": 257, "column": 5 } } @@ -57766,15 +65946,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "start": 10123, + "end": 10249, "loc": { "start": { - "line": 237, + "line": 262, "column": 2 }, "end": { - "line": 240, + "line": 265, "column": 5 } } @@ -57782,15 +65962,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "start": 10393, + "end": 10502, "loc": { "start": { - "line": 247, + "line": 272, "column": 2 }, "end": { - "line": 250, + "line": 275, "column": 5 } } @@ -57798,15 +65978,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, + "start": 10651, + "end": 10856, "loc": { "start": { - "line": 257, + "line": 282, "column": 2 }, "end": { - "line": 260, + "line": 285, "column": 5 } } @@ -57814,15 +65994,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, + "start": 11234, + "end": 11515, "loc": { "start": { - "line": 272, + "line": 297, "column": 2 }, "end": { - "line": 276, + "line": 301, "column": 5 } } @@ -57830,15 +66010,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, + "start": 11842, + "end": 11933, "loc": { "start": { - "line": 288, + "line": 313, "column": 8 }, "end": { - "line": 290, + "line": 315, "column": 11 } } @@ -57846,15 +66026,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, + "start": 12463, + "end": 12538, "loc": { "start": { - "line": 306, + "line": 331, "column": 8 }, "end": { - "line": 308, + "line": 333, "column": 11 } } @@ -57862,15 +66042,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, + "start": 12757, + "end": 13097, "loc": { "start": { - "line": 322, + "line": 347, "column": 2 }, "end": { - "line": 326, + "line": 351, "column": 5 } } @@ -57878,15 +66058,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 12247, - "end": 12327, + "start": 13145, + "end": 13225, "loc": { "start": { - "line": 328, + "line": 353, "column": 4 }, "end": { - "line": 330, + "line": 355, "column": 7 } } @@ -57894,15 +66074,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, + "start": 13354, + "end": 13422, "loc": { "start": { - "line": 337, + "line": 362, "column": 4 }, "end": { - "line": 339, + "line": 364, "column": 7 } } @@ -57910,15 +66090,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 12789, - "end": 12930, + "start": 13687, + "end": 13828, "loc": { "start": { - "line": 345, + "line": 370, "column": 10 }, "end": { - "line": 348, + "line": 373, "column": 13 } } @@ -57926,15 +66106,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, + "start": 14069, + "end": 14166, "loc": { "start": { - "line": 355, + "line": 380, "column": 12 }, "end": { - "line": 357, + "line": 382, "column": 15 } } @@ -57942,15 +66122,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 375, + "line": 400, "column": 2 }, "end": { - "line": 378, + "line": 403, "column": 5 } } @@ -57958,15 +66138,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, + "start": 15004, + "end": 15094, "loc": { "start": { - "line": 394, + "line": 419, "column": 2 }, "end": { - "line": 396, + "line": 421, "column": 5 } } @@ -57974,15 +66154,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "start": 15407, + "end": 15519, "loc": { "start": { - "line": 407, + "line": 432, "column": 2 }, "end": { - "line": 409, + "line": 434, "column": 5 } } @@ -57990,15 +66170,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 14831, - "end": 14979, + "start": 15708, + "end": 15856, "loc": { "start": { - "line": 417, + "line": 442, "column": 6 }, "end": { - "line": 420, + "line": 445, "column": 9 } } @@ -58006,56 +66186,8 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, - "loc": { - "start": { - "line": 429, - "column": 2 - }, - "end": { - "line": 431, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, - "loc": { - "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, - "loc": { - "start": { - "line": 446, - "column": 2 - }, - "end": { - "line": 448, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "start": 16079, + "end": 16199, "loc": { "start": { "line": 454, @@ -58069,16 +66201,112 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Clear keyboard\r\n ", - "start": 15893, - "end": 15928, + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, "loc": { "start": { - "line": 458, + "line": 462, "column": 4 }, "end": { - "line": 460, + "line": 464, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 490, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 17117, + "end": 17173, + "loc": { + "start": { + "line": 505, + "column": 2 + }, + "end": { + "line": 507, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Clear keyboard\r\n ", + "start": 17192, + "end": 17227, + "loc": { + "start": { + "line": 509, + "column": 4 + }, + "end": { + "line": 511, "column": 7 } } @@ -58086,15 +66314,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, + "start": 17438, + "end": 17490, "loc": { "start": { - "line": 466, + "line": 517, "column": 4 }, "end": { - "line": 468, + "line": 519, "column": 7 } } @@ -58102,15 +66330,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 16698, - "end": 16737, + "start": 17997, + "end": 18036, "loc": { "start": { - "line": 483, + "line": 534, "column": 14 }, "end": { - "line": 483, + "line": 534, "column": 53 } } @@ -58118,15 +66346,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 16787, - "end": 16870, + "start": 18086, + "end": 18169, "loc": { "start": { - "line": 485, + "line": 536, "column": 16 }, "end": { - "line": 485, + "line": 536, "column": 99 } } @@ -58134,15 +66362,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, + "start": 18677, + "end": 18743, "loc": { "start": { - "line": 500, + "line": 551, "column": 4 }, "end": { - "line": 502, + "line": 553, "column": 7 } } @@ -58150,15 +66378,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, + "start": 18827, + "end": 18874, "loc": { "start": { - "line": 505, + "line": 556, "column": 4 }, "end": { - "line": 507, + "line": 558, "column": 7 } } @@ -58166,15 +66394,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, + "start": 18986, + "end": 19029, "loc": { "start": { - "line": 511, + "line": 562, "column": 6 }, "end": { - "line": 513, + "line": 564, "column": 9 } } @@ -58182,15 +66410,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, + "start": 19127, + "end": 19188, "loc": { "start": { - "line": 517, + "line": 568, "column": 6 }, "end": { - "line": 519, + "line": 570, "column": 9 } } @@ -58198,15 +66426,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, + "start": 19499, + "end": 19543, "loc": { "start": { - "line": 525, + "line": 576, "column": 8 }, "end": { - "line": 527, + "line": 578, "column": 11 } } @@ -58214,15 +66442,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, + "start": 19787, + "end": 19833, "loc": { "start": { - "line": 532, + "line": 583, "column": 8 }, "end": { - "line": 534, + "line": 585, "column": 11 } } @@ -58230,15 +66458,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, + "start": 19900, + "end": 20055, "loc": { "start": { - "line": 537, + "line": 588, "column": 8 }, "end": { - "line": 540, + "line": 591, "column": 11 } } @@ -58246,15 +66474,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, + "start": 20204, + "end": 20253, "loc": { "start": { - "line": 544, + "line": 595, "column": 8 }, "end": { - "line": 546, + "line": 597, "column": 11 } } @@ -58262,15 +66490,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, + "start": 20338, + "end": 20396, "loc": { "start": { - "line": 549, + "line": 600, "column": 8 }, "end": { - "line": 551, + "line": 602, "column": 11 } } @@ -58278,15 +66506,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, + "start": 20570, + "end": 20623, "loc": { "start": { - "line": 556, + "line": 607, "column": 8 }, "end": { - "line": 558, + "line": 609, "column": 11 } } @@ -58294,15 +66522,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, + "start": 20778, + "end": 20830, "loc": { "start": { - "line": 564, + "line": 615, "column": 8 }, "end": { - "line": 566, + "line": 617, "column": 11 } } @@ -58310,15 +66538,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, + "start": 20893, + "end": 20943, "loc": { "start": { - "line": 571, + "line": 622, "column": 6 }, "end": { - "line": 573, + "line": 624, "column": 9 } } @@ -58326,15 +66554,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, + "start": 21005, + "end": 21042, "loc": { "start": { - "line": 577, + "line": 628, "column": 4 }, "end": { - "line": 579, + "line": 630, "column": 7 } } @@ -58342,15 +66570,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 19803, - "end": 19885, + "start": 21102, + "end": 21184, "loc": { "start": { - "line": 583, + "line": 634, "column": 6 }, "end": { - "line": 585, + "line": 636, "column": 9 } } @@ -58358,15 +66586,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, + "start": 21226, + "end": 21265, "loc": { "start": { - "line": 588, + "line": 639, "column": 6 }, "end": { - "line": 590, + "line": 641, "column": 9 } } @@ -62301,16 +70529,16 @@ }, { "type": "CommentBlock", - "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "value": "*\r\n * Module namespace\r\n ", "start": 4184, - "end": 4843, + "end": 4221, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 79, + "line": 68, "column": 7 } } @@ -62330,15 +70558,15 @@ "updateContext": null }, "value": "this", - "start": 4849, - "end": 4853, + "start": 4227, + "end": 4231, "loc": { "start": { - "line": 80, + "line": 69, "column": 4 }, "end": { - "line": 80, + "line": 69, "column": 8 } } @@ -62356,15 +70584,15 @@ "binop": null, "updateContext": null }, - "start": 4853, - "end": 4854, + "start": 4231, + "end": 4232, "loc": { "start": { - "line": 80, + "line": 69, "column": 8 }, "end": { - "line": 80, + "line": 69, "column": 9 } } @@ -62381,17 +70609,17 @@ "postfix": false, "binop": null }, - "value": "input", - "start": 4854, - "end": 4859, + "value": "modules", + "start": 4232, + "end": 4239, "loc": { "start": { - "line": 80, + "line": 69, "column": 9 }, "end": { - "line": 80, - "column": 14 + "line": 69, + "column": 16 } } }, @@ -62409,16 +70637,16 @@ "updateContext": null }, "value": "=", - "start": 4860, - "end": 4861, + "start": 4240, + "end": 4241, "loc": { "start": { - "line": 80, - "column": 15 + "line": 69, + "column": 17 }, "end": { - "line": 80, - "column": 16 + "line": 69, + "column": 18 } } }, @@ -62434,16 +70662,16 @@ "postfix": false, "binop": null }, - "start": 4862, - "end": 4863, + "start": 4242, + "end": 4243, "loc": { "start": { - "line": 80, - "column": 17 + "line": 69, + "column": 19 }, "end": { - "line": 80, - "column": 18 + "line": 69, + "column": 20 } } }, @@ -62459,16 +70687,16 @@ "postfix": false, "binop": null }, - "start": 4863, - "end": 4864, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 80, - "column": 18 + "line": 69, + "column": 20 }, "end": { - "line": 80, - "column": 19 + "line": 69, + "column": 21 } } }, @@ -62485,16 +70713,32 @@ "binop": null, "updateContext": null }, - "start": 4864, - "end": 4865, + "start": 4244, + "end": 4245, "loc": { "start": { - "line": 80, - "column": 19 + "line": 69, + "column": 21 }, "end": { - "line": 80, - "column": 20 + "line": 69, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 4253, + "end": 4282, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 } } }, @@ -62513,8 +70757,2409 @@ "updateContext": null }, "value": "this", - "start": 4871, - "end": 4875, + "start": 4288, + "end": 4292, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4292, + "end": 4293, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 4293, + "end": 4312, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4313, + "end": 4314, + "loc": { + "start": { + "line": 74, + "column": 29 + }, + "end": { + "line": 74, + "column": 30 + } + } + }, + { + "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": 4315, + "end": 4319, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4319, + "end": 4320, + "loc": { + "start": { + "line": 74, + "column": 35 + }, + "end": { + "line": 74, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 4320, + "end": 4339, + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4339, + "end": 4340, + "loc": { + "start": { + "line": 74, + "column": 55 + }, + "end": { + "line": 74, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4340, + "end": 4344, + "loc": { + "start": { + "line": 74, + "column": 56 + }, + "end": { + "line": 74, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4344, + "end": 4345, + "loc": { + "start": { + "line": 74, + "column": 60 + }, + "end": { + "line": 74, + "column": 61 + } + } + }, + { + "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": 4345, + "end": 4349, + "loc": { + "start": { + "line": 74, + "column": 61 + }, + "end": { + "line": 74, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4349, + "end": 4350, + "loc": { + "start": { + "line": 74, + "column": 65 + }, + "end": { + "line": 74, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4350, + "end": 4351, + "loc": { + "start": { + "line": 74, + "column": 66 + }, + "end": { + "line": 74, + "column": 67 + } + } + }, + { + "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": 4357, + "end": 4361, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4361, + "end": 4362, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 4362, + "end": 4380, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4381, + "end": 4382, + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 29 + } + } + }, + { + "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": 4383, + "end": 4387, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4387, + "end": 4388, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 4388, + "end": 4406, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4406, + "end": 4407, + "loc": { + "start": { + "line": 75, + "column": 53 + }, + "end": { + "line": 75, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4407, + "end": 4411, + "loc": { + "start": { + "line": 75, + "column": 54 + }, + "end": { + "line": 75, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4411, + "end": 4412, + "loc": { + "start": { + "line": 75, + "column": 58 + }, + "end": { + "line": 75, + "column": 59 + } + } + }, + { + "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": 4412, + "end": 4416, + "loc": { + "start": { + "line": 75, + "column": 59 + }, + "end": { + "line": 75, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4416, + "end": 4417, + "loc": { + "start": { + "line": 75, + "column": 63 + }, + "end": { + "line": 75, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4417, + "end": 4418, + "loc": { + "start": { + "line": 75, + "column": 64 + }, + "end": { + "line": 75, + "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": 4424, + "end": 4428, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4428, + "end": 4429, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInput", + "start": 4429, + "end": 4439, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4440, + "end": 4441, + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + { + "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": 4442, + "end": 4446, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4446, + "end": 4447, + "loc": { + "start": { + "line": 76, + "column": 26 + }, + "end": { + "line": 76, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInput", + "start": 4447, + "end": 4457, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4457, + "end": 4458, + "loc": { + "start": { + "line": 76, + "column": 37 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4458, + "end": 4462, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4462, + "end": 4463, + "loc": { + "start": { + "line": 76, + "column": 42 + }, + "end": { + "line": 76, + "column": 43 + } + } + }, + { + "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": 4463, + "end": 4467, + "loc": { + "start": { + "line": 76, + "column": 43 + }, + "end": { + "line": 76, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4467, + "end": 4468, + "loc": { + "start": { + "line": 76, + "column": 47 + }, + "end": { + "line": 76, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4468, + "end": 4469, + "loc": { + "start": { + "line": 76, + "column": 48 + }, + "end": { + "line": 76, + "column": 49 + } + } + }, + { + "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": 4475, + "end": 4479, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4479, + "end": 4480, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getInput", + "start": 4480, + "end": 4488, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4489, + "end": 4490, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 19 + } + } + }, + { + "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": 4491, + "end": 4495, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4495, + "end": 4496, + "loc": { + "start": { + "line": 77, + "column": 24 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getInput", + "start": 4496, + "end": 4504, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4504, + "end": 4505, + "loc": { + "start": { + "line": 77, + "column": 33 + }, + "end": { + "line": 77, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4509, + "end": 4510, + "loc": { + "start": { + "line": 77, + "column": 38 + }, + "end": { + "line": 77, + "column": 39 + } + } + }, + { + "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": 4510, + "end": 4514, + "loc": { + "start": { + "line": 77, + "column": 39 + }, + "end": { + "line": 77, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4514, + "end": 4515, + "loc": { + "start": { + "line": 77, + "column": 43 + }, + "end": { + "line": 77, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4515, + "end": 4516, + "loc": { + "start": { + "line": 77, + "column": 44 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "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": 4522, + "end": 4526, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4526, + "end": 4527, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInput", + "start": 4527, + "end": 4535, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4536, + "end": 4537, + "loc": { + "start": { + "line": 78, + "column": 18 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + { + "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": 4538, + "end": 4542, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4542, + "end": 4543, + "loc": { + "start": { + "line": 78, + "column": 24 + }, + "end": { + "line": 78, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInput", + "start": 4543, + "end": 4551, + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4551, + "end": 4552, + "loc": { + "start": { + "line": 78, + "column": 33 + }, + "end": { + "line": 78, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4552, + "end": 4556, + "loc": { + "start": { + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4556, + "end": 4557, + "loc": { + "start": { + "line": 78, + "column": 38 + }, + "end": { + "line": 78, + "column": 39 + } + } + }, + { + "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": 4557, + "end": 4561, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4561, + "end": 4562, + "loc": { + "start": { + "line": 78, + "column": 43 + }, + "end": { + "line": 78, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4562, + "end": 4563, + "loc": { + "start": { + "line": 78, + "column": 44 + }, + "end": { + "line": 78, + "column": 45 + } + } + }, + { + "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": 4569, + "end": 4573, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4573, + "end": 4574, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "replaceInput", + "start": 4574, + "end": 4586, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4587, + "end": 4588, + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + { + "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": 4589, + "end": 4593, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4593, + "end": 4594, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "replaceInput", + "start": 4594, + "end": 4606, + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4606, + "end": 4607, + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 79, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4607, + "end": 4611, + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4611, + "end": 4612, + "loc": { + "start": { + "line": 79, + "column": 46 + }, + "end": { + "line": 79, + "column": 47 + } + } + }, + { + "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": 4612, + "end": 4616, + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4616, + "end": 4617, + "loc": { + "start": { + "line": 79, + "column": 51 + }, + "end": { + "line": 79, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4617, + "end": 4618, + "loc": { + "start": { + "line": 79, + "column": 52 + }, + "end": { + "line": 79, + "column": 53 + } + } + }, + { + "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": 4624, + "end": 4628, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4628, + "end": 4629, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 4629, + "end": 4634, + "loc": { + "start": { + "line": 80, + "column": 9 + }, + "end": { + "line": 80, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4635, + "end": 4636, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 16 + } + } + }, + { + "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": 4637, + "end": 4641, + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4641, + "end": 4642, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 4642, + "end": 4647, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4647, + "end": 4648, + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4648, + "end": 4652, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4652, + "end": 4653, + "loc": { + "start": { + "line": 80, + "column": 32 + }, + "end": { + "line": 80, + "column": 33 + } + } + }, + { + "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": 4653, + "end": 4657, + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 80, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4657, + "end": 4658, + "loc": { + "start": { + "line": 80, + "column": 37 + }, + "end": { + "line": 80, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4658, + "end": 4659, + "loc": { + "start": { + "line": 80, + "column": 38 + }, + "end": { + "line": 80, + "column": 39 + } + } + }, + { + "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": 4665, + "end": 4669, "loc": { "start": { "line": 81, @@ -62539,8 +73184,8 @@ "binop": null, "updateContext": null }, - "start": 4875, - "end": 4876, + "start": 4669, + "end": 4670, "loc": { "start": { "line": 81, @@ -62564,9 +73209,9 @@ "postfix": false, "binop": null }, - "value": "input", - "start": 4876, - "end": 4881, + "value": "dispatch", + "start": 4670, + "end": 4678, "loc": { "start": { "line": 81, @@ -62574,33 +73219,34 @@ }, "end": { "line": 81, - "column": 14 + "column": 17 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4881, - "end": 4882, + "value": "=", + "start": 4679, + "end": 4680, "loc": { "start": { "line": 81, - "column": 14 + "column": 18 }, "end": { "line": 81, - "column": 15 + "column": 19 } } }, @@ -62619,16 +73265,16 @@ "updateContext": null }, "value": "this", - "start": 4882, - "end": 4886, + "start": 4681, + "end": 4685, "loc": { "start": { "line": 81, - "column": 15 + "column": 20 }, "end": { "line": 81, - "column": 19 + "column": 24 } } }, @@ -62645,16 +73291,16 @@ "binop": null, "updateContext": null }, - "start": 4886, - "end": 4887, + "start": 4685, + "end": 4686, "loc": { "start": { "line": 81, - "column": 19 + "column": 24 }, "end": { "line": 81, - "column": 20 + "column": 25 } } }, @@ -62670,17 +73316,17 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 4887, - "end": 4894, + "value": "dispatch", + "start": 4686, + "end": 4694, "loc": { "start": { "line": 81, - "column": 20 + "column": 25 }, "end": { "line": 81, - "column": 27 + "column": 33 } } }, @@ -62697,16 +73343,16 @@ "binop": null, "updateContext": null }, - "start": 4894, - "end": 4895, + "start": 4694, + "end": 4695, "loc": { "start": { "line": 81, - "column": 27 + "column": 33 }, "end": { "line": 81, - "column": 28 + "column": 34 } } }, @@ -62722,39 +73368,13 @@ "postfix": false, "binop": null }, - "value": "inputName", - "start": 4895, - "end": 4904, + "value": "bind", + "start": 4695, + "end": 4699, "loc": { "start": { "line": 81, - "column": 28 - }, - "end": { - "line": 81, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4904, - "end": 4905, - "loc": { - "start": { - "line": 81, - "column": 37 + "column": 34 }, "end": { "line": 81, @@ -62764,20 +73384,46 @@ }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4699, + "end": 4700, + "loc": { + "start": { + "line": 81, + "column": 38 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4906, - "end": 4907, + "value": "this", + "start": 4700, + "end": 4704, "loc": { "start": { "line": 81, @@ -62785,34 +73431,32 @@ }, "end": { "line": 81, - "column": 40 + "column": 43 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 4908, - "end": 4910, + "start": 4704, + "end": 4705, "loc": { "start": { "line": 81, - "column": 41 + "column": 43 }, "end": { "line": 81, - "column": 43 + "column": 44 } } }, @@ -62829,32 +73473,16 @@ "binop": null, "updateContext": null }, - "start": 4910, - "end": 4911, + "start": 4705, + "end": 4706, "loc": { "start": { - "line": 81, - "column": 43 - }, - "end": { "line": 81, "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 4919, - "end": 5028, - "loc": { - "start": { - "line": 83, - "column": 4 }, "end": { - "line": 85, - "column": 7 + "line": 81, + "column": 45 } } }, @@ -62873,15 +73501,15 @@ "updateContext": null }, "value": "this", - "start": 5034, - "end": 5038, + "start": 4712, + "end": 4716, "loc": { "start": { - "line": 86, + "line": 82, "column": 4 }, "end": { - "line": 86, + "line": 82, "column": 8 } } @@ -62899,15 +73527,15 @@ "binop": null, "updateContext": null }, - "start": 5038, - "end": 5039, + "start": 4716, + "end": 4717, "loc": { "start": { - "line": 86, + "line": 82, "column": 8 }, "end": { - "line": 86, + "line": 82, "column": 9 } } @@ -62924,449 +73552,16 @@ "postfix": false, "binop": null }, - "value": "keyboardDOMClass", - "start": 5039, - "end": 5055, + "value": "addButtonTheme", + "start": 4717, + "end": 4731, "loc": { "start": { - "line": 86, + "line": 82, "column": 9 }, "end": { - "line": 86, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5056, - "end": 5057, - "loc": { - "start": { - "line": 86, - "column": 26 - }, - "end": { - "line": 86, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keyboardDOMQuery", - "start": 5058, - "end": 5074, - "loc": { - "start": { - "line": 86, - "column": 28 - }, - "end": { - "line": 86, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5074, - "end": 5075, - "loc": { - "start": { - "line": 86, - "column": 44 - }, - "end": { - "line": 86, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 5075, - "end": 5080, - "loc": { - "start": { - "line": 86, - "column": 45 - }, - "end": { - "line": 86, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5080, - "end": 5081, - "loc": { - "start": { - "line": 86, - "column": 50 - }, - "end": { - "line": 86, - "column": 51 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": ".", - "start": 5081, - "end": 5084, - "loc": { - "start": { - "line": 86, - "column": 51 - }, - "end": { - "line": 86, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5084, - "end": 5085, - "loc": { - "start": { - "line": 86, - "column": 54 - }, - "end": { - "line": 86, - "column": 55 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5085, - "end": 5086, - "loc": { - "start": { - "line": 86, - "column": 55 - }, - "end": { - "line": 86, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "join", - "start": 5086, - "end": 5090, - "loc": { - "start": { - "line": 86, - "column": 56 - }, - "end": { - "line": 86, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5090, - "end": 5091, - "loc": { - "start": { - "line": 86, - "column": 60 - }, - "end": { - "line": 86, - "column": 61 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 5091, - "end": 5093, - "loc": { - "start": { - "line": 86, - "column": 61 - }, - "end": { - "line": 86, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5093, - "end": 5094, - "loc": { - "start": { - "line": 86, - "column": 63 - }, - "end": { - "line": 86, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5094, - "end": 5095, - "loc": { - "start": { - "line": 86, - "column": 64 - }, - "end": { - "line": 86, - "column": 65 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", - "start": 5103, - "end": 5248, - "loc": { - "start": { - "line": 88, - "column": 4 - }, - "end": { - "line": 90, - "column": 7 - } - } - }, - { - "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": 5254, - "end": 5258, - "loc": { - "start": { - "line": 91, - "column": 4 - }, - "end": { - "line": 91, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5258, - "end": 5259, - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 91, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonElements", - "start": 5259, - "end": 5273, - "loc": { - "start": { - "line": 91, - "column": 9 - }, - "end": { - "line": 91, + "line": 82, "column": 23 } } @@ -63385,15 +73580,3751 @@ "updateContext": null }, "value": "=", - "start": 5274, - "end": 5275, + "start": 4732, + "end": 4733, "loc": { "start": { - "line": 91, + "line": 82, "column": 24 }, "end": { + "line": 82, + "column": 25 + } + } + }, + { + "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": 4734, + "end": 4738, + "loc": { + "start": { + "line": 82, + "column": 26 + }, + "end": { + "line": 82, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4738, + "end": 4739, + "loc": { + "start": { + "line": 82, + "column": 30 + }, + "end": { + "line": 82, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addButtonTheme", + "start": 4739, + "end": 4753, + "loc": { + "start": { + "line": 82, + "column": 31 + }, + "end": { + "line": 82, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4753, + "end": 4754, + "loc": { + "start": { + "line": 82, + "column": 45 + }, + "end": { + "line": 82, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4754, + "end": 4758, + "loc": { + "start": { + "line": 82, + "column": 46 + }, + "end": { + "line": 82, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4758, + "end": 4759, + "loc": { + "start": { + "line": 82, + "column": 50 + }, + "end": { + "line": 82, + "column": 51 + } + } + }, + { + "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": 4759, + "end": 4763, + "loc": { + "start": { + "line": 82, + "column": 51 + }, + "end": { + "line": 82, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4763, + "end": 4764, + "loc": { + "start": { + "line": 82, + "column": 55 + }, + "end": { + "line": 82, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4764, + "end": 4765, + "loc": { + "start": { + "line": 82, + "column": 56 + }, + "end": { + "line": 82, + "column": 57 + } + } + }, + { + "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": 4771, + "end": 4775, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4775, + "end": 4776, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "removeButtonTheme", + "start": 4776, + "end": 4793, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4794, + "end": 4795, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "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": 4796, + "end": 4800, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4800, + "end": 4801, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "removeButtonTheme", + "start": 4801, + "end": 4818, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4818, + "end": 4819, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 83, + "column": 52 + }, + "end": { + "line": 83, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4823, + "end": 4824, + "loc": { + "start": { + "line": 83, + "column": 56 + }, + "end": { + "line": 83, + "column": 57 + } + } + }, + { + "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": 4824, + "end": 4828, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4828, + "end": 4829, + "loc": { + "start": { + "line": 83, + "column": 61 + }, + "end": { + "line": 83, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4829, + "end": 4830, + "loc": { + "start": { + "line": 83, + "column": 62 + }, + "end": { + "line": 83, + "column": 63 + } + } + }, + { + "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": 4836, + "end": 4840, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4840, + "end": 4841, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonElement", + "start": 4841, + "end": 4857, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4858, + "end": 4859, + "loc": { + "start": { + "line": 84, + "column": 26 + }, + "end": { + "line": 84, + "column": 27 + } + } + }, + { + "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": 4860, + "end": 4864, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4864, + "end": 4865, + "loc": { + "start": { + "line": 84, + "column": 32 + }, + "end": { + "line": 84, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonElement", + "start": 4865, + "end": 4881, + "loc": { + "start": { + "line": 84, + "column": 33 + }, + "end": { + "line": 84, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4881, + "end": 4882, + "loc": { + "start": { + "line": 84, + "column": 49 + }, + "end": { + "line": 84, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4882, + "end": 4886, + "loc": { + "start": { + "line": 84, + "column": 50 + }, + "end": { + "line": 84, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4886, + "end": 4887, + "loc": { + "start": { + "line": 84, + "column": 54 + }, + "end": { + "line": 84, + "column": 55 + } + } + }, + { + "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": 4887, + "end": 4891, + "loc": { + "start": { + "line": 84, + "column": 55 + }, + "end": { + "line": 84, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4891, + "end": 4892, + "loc": { + "start": { + "line": 84, + "column": 59 + }, + "end": { + "line": 84, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4892, + "end": 4893, + "loc": { + "start": { + "line": 84, + "column": 60 + }, + "end": { + "line": 84, + "column": 61 + } + } + }, + { + "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": 4899, + "end": 4903, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4903, + "end": 4904, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleCaret", + "start": 4904, + "end": 4915, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4916, + "end": 4917, + "loc": { + "start": { + "line": 85, + "column": 21 + }, + "end": { + "line": 85, + "column": 22 + } + } + }, + { + "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": 4918, + "end": 4922, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4922, + "end": 4923, + "loc": { + "start": { + "line": 85, + "column": 27 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleCaret", + "start": 4923, + "end": 4934, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4934, + "end": 4935, + "loc": { + "start": { + "line": 85, + "column": 39 + }, + "end": { + "line": 85, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4935, + "end": 4939, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4939, + "end": 4940, + "loc": { + "start": { + "line": 85, + "column": 44 + }, + "end": { + "line": 85, + "column": 45 + } + } + }, + { + "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": 4940, + "end": 4944, + "loc": { + "start": { + "line": 85, + "column": 45 + }, + "end": { + "line": 85, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4944, + "end": 4945, + "loc": { + "start": { + "line": 85, + "column": 49 + }, + "end": { + "line": 85, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4945, + "end": 4946, + "loc": { + "start": { + "line": 85, + "column": 50 + }, + "end": { + "line": 85, + "column": 51 + } + } + }, + { + "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": 4952, + "end": 4956, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4956, + "end": 4957, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretEventHandler", + "start": 4957, + "end": 4974, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4975, + "end": 4976, + "loc": { + "start": { + "line": 86, + "column": 27 + }, + "end": { + "line": 86, + "column": 28 + } + } + }, + { + "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": 4977, + "end": 4981, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4981, + "end": 4982, + "loc": { + "start": { + "line": 86, + "column": 33 + }, + "end": { + "line": 86, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretEventHandler", + "start": 4982, + "end": 4999, + "loc": { + "start": { + "line": 86, + "column": 34 + }, + "end": { + "line": 86, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4999, + "end": 5000, + "loc": { + "start": { + "line": 86, + "column": 51 + }, + "end": { + "line": 86, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5000, + "end": 5004, + "loc": { + "start": { + "line": 86, + "column": 52 + }, + "end": { + "line": 86, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5004, + "end": 5005, + "loc": { + "start": { + "line": 86, + "column": 56 + }, + "end": { + "line": 86, + "column": 57 + } + } + }, + { + "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": 5005, + "end": 5009, + "loc": { + "start": { + "line": 86, + "column": 57 + }, + "end": { + "line": 86, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5009, + "end": 5010, + "loc": { + "start": { + "line": 86, + "column": 61 + }, + "end": { + "line": 86, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5010, + "end": 5011, + "loc": { + "start": { + "line": 86, + "column": 62 + }, + "end": { + "line": 86, + "column": 63 + } + } + }, + { + "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": 5017, + "end": 5021, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5021, + "end": 5022, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 5022, + "end": 5028, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5029, + "end": 5030, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 17 + } + } + }, + { + "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": 5031, + "end": 5035, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5035, + "end": 5036, + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 5036, + "end": 5042, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5042, + "end": 5043, + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5043, + "end": 5047, + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5047, + "end": 5048, + "loc": { + "start": { + "line": 87, + "column": 34 + }, + "end": { + "line": 87, + "column": 35 + } + } + }, + { + "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": 5048, + "end": 5052, + "loc": { + "start": { + "line": 87, + "column": 35 + }, + "end": { + "line": 87, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5052, + "end": 5053, + "loc": { + "start": { + "line": 87, + "column": 39 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5053, + "end": 5054, + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + { + "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": 5060, + "end": 5064, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5064, + "end": 5065, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 5065, + "end": 5073, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5074, + "end": 5075, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 19 + } + } + }, + { + "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": 5076, + "end": 5080, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5080, + "end": 5081, + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 5081, + "end": 5089, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5089, + "end": 5090, + "loc": { + "start": { + "line": 88, + "column": 33 + }, + "end": { + "line": 88, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5090, + "end": 5094, + "loc": { + "start": { + "line": 88, + "column": 34 + }, + "end": { + "line": 88, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5094, + "end": 5095, + "loc": { + "start": { + "line": 88, + "column": 38 + }, + "end": { + "line": 88, + "column": 39 + } + } + }, + { + "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": 5095, + "end": 5099, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5099, + "end": 5100, + "loc": { + "start": { + "line": 88, + "column": 43 + }, + "end": { + "line": 88, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5100, + "end": 5101, + "loc": { + "start": { + "line": 88, + "column": 44 + }, + "end": { + "line": 88, + "column": 45 + } + } + }, + { + "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": 5107, + "end": 5111, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5111, + "end": 5112, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 5112, + "end": 5118, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5119, + "end": 5120, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 17 + } + } + }, + { + "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": 5121, + "end": 5125, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5125, + "end": 5126, + "loc": { + "start": { + "line": 89, + "column": 22 + }, + "end": { + "line": 89, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 5126, + "end": 5132, + "loc": { + "start": { + "line": 89, + "column": 23 + }, + "end": { + "line": 89, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5132, + "end": 5133, + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5133, + "end": 5137, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5137, + "end": 5138, + "loc": { + "start": { + "line": 89, + "column": 34 + }, + "end": { + "line": 89, + "column": 35 + } + } + }, + { + "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": 5138, + "end": 5142, + "loc": { + "start": { + "line": 89, + "column": 35 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5142, + "end": 5143, + "loc": { + "start": { + "line": 89, + "column": 39 + }, + "end": { + "line": 89, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5143, + "end": 5144, + "loc": { + "start": { + "line": 89, + "column": 40 + }, + "end": { + "line": 89, + "column": 41 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", + "start": 5152, + "end": 5811, + "loc": { + "start": { "line": 91, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "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": 5817, + "end": 5821, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5821, + "end": 5822, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 5822, + "end": 5827, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5828, + "end": 5829, + "loc": { + "start": { + "line": 105, + "column": 15 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5830, + "end": 5831, + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5831, + "end": 5832, + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5832, + "end": 5833, + "loc": { + "start": { + "line": 105, + "column": 19 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + { + "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": 5839, + "end": 5843, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5843, + "end": 5844, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 5844, + "end": 5849, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5849, + "end": 5850, + "loc": { + "start": { + "line": 106, + "column": 14 + }, + "end": { + "line": 106, + "column": 15 + } + } + }, + { + "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": 5850, + "end": 5854, + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5854, + "end": 5855, + "loc": { + "start": { + "line": 106, + "column": 19 + }, + "end": { + "line": 106, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 5855, + "end": 5862, + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5862, + "end": 5863, + "loc": { + "start": { + "line": 106, + "column": 27 + }, + "end": { + "line": 106, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 5863, + "end": 5872, + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 37 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5872, + "end": 5873, + "loc": { + "start": { + "line": 106, + "column": 37 + }, + "end": { + "line": 106, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5874, + "end": 5875, + "loc": { + "start": { + "line": 106, + "column": 39 + }, + "end": { + "line": 106, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 5876, + "end": 5878, + "loc": { + "start": { + "line": 106, + "column": 41 + }, + "end": { + "line": 106, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5878, + "end": 5879, + "loc": { + "start": { + "line": 106, + "column": 43 + }, + "end": { + "line": 106, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", + "start": 5887, + "end": 5996, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "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": 6002, + "end": 6006, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6006, + "end": 6007, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOMClass", + "start": 6007, + "end": 6023, + "loc": { + "start": { + "line": 111, + "column": 9 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6024, + "end": 6025, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOMQuery", + "start": 6026, + "end": 6042, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6042, + "end": 6043, + "loc": { + "start": { + "line": 111, + "column": 44 + }, + "end": { + "line": 111, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 6043, + "end": 6048, + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6048, + "end": 6049, + "loc": { + "start": { + "line": 111, + "column": 50 + }, + "end": { + "line": 111, + "column": 51 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".", + "start": 6049, + "end": 6052, + "loc": { + "start": { + "line": 111, + "column": 51 + }, + "end": { + "line": 111, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6052, + "end": 6053, + "loc": { + "start": { + "line": 111, + "column": 54 + }, + "end": { + "line": 111, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6053, + "end": 6054, + "loc": { + "start": { + "line": 111, + "column": 55 + }, + "end": { + "line": 111, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "join", + "start": 6054, + "end": 6058, + "loc": { + "start": { + "line": 111, + "column": 56 + }, + "end": { + "line": 111, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6058, + "end": 6059, + "loc": { + "start": { + "line": 111, + "column": 60 + }, + "end": { + "line": 111, + "column": 61 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 6059, + "end": 6061, + "loc": { + "start": { + "line": 111, + "column": 61 + }, + "end": { + "line": 111, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6061, + "end": 6062, + "loc": { + "start": { + "line": 111, + "column": 63 + }, + "end": { + "line": 111, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6062, + "end": 6063, + "loc": { + "start": { + "line": 111, + "column": 64 + }, + "end": { + "line": 111, + "column": 65 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", + "start": 6071, + "end": 6216, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 115, + "column": 7 + } + } + }, + { + "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": 6222, + "end": 6226, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6226, + "end": 6227, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 6227, + "end": 6241, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6242, + "end": 6243, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, "column": 25 } } @@ -63410,15 +77341,15 @@ "postfix": false, "binop": null }, - "start": 5276, - "end": 5277, + "start": 6244, + "end": 6245, "loc": { "start": { - "line": 91, + "line": 116, "column": 26 }, "end": { - "line": 91, + "line": 116, "column": 27 } } @@ -63435,15 +77366,15 @@ "postfix": false, "binop": null }, - "start": 5277, - "end": 5278, + "start": 6245, + "end": 6246, "loc": { "start": { - "line": 91, + "line": 116, "column": 27 }, "end": { - "line": 91, + "line": 116, "column": 28 } } @@ -63461,15 +77392,15 @@ "binop": null, "updateContext": null }, - "start": 5278, - "end": 5279, + "start": 6246, + "end": 6247, "loc": { "start": { - "line": 91, + "line": 116, "column": 28 }, "end": { - "line": 91, + "line": 116, "column": 29 } } @@ -63477,15 +77408,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 5287, - "end": 5326, + "start": 6255, + "end": 6294, "loc": { "start": { - "line": 93, + "line": 118, "column": 4 }, "end": { - "line": 95, + "line": 120, "column": 7 } } @@ -63505,15 +77436,15 @@ "updateContext": null }, "value": "if", - "start": 5332, - "end": 5334, + "start": 6300, + "end": 6302, "loc": { "start": { - "line": 96, + "line": 121, "column": 4 }, "end": { - "line": 96, + "line": 121, "column": 6 } } @@ -63530,15 +77461,15 @@ "postfix": false, "binop": null }, - "start": 5334, - "end": 5335, + "start": 6302, + "end": 6303, "loc": { "start": { - "line": 96, + "line": 121, "column": 6 }, "end": { - "line": 96, + "line": 121, "column": 7 } } @@ -63558,15 +77489,15 @@ "updateContext": null }, "value": "this", - "start": 5335, - "end": 5339, + "start": 6303, + "end": 6307, "loc": { "start": { - "line": 96, + "line": 121, "column": 7 }, "end": { - "line": 96, + "line": 121, "column": 11 } } @@ -63584,15 +77515,15 @@ "binop": null, "updateContext": null }, - "start": 5339, - "end": 5340, + "start": 6307, + "end": 6308, "loc": { "start": { - "line": 96, + "line": 121, "column": 11 }, "end": { - "line": 96, + "line": 121, "column": 12 } } @@ -63610,15 +77541,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 5340, - "end": 5351, + "start": 6308, + "end": 6319, "loc": { "start": { - "line": 96, + "line": 121, "column": 12 }, "end": { - "line": 96, + "line": 121, "column": 23 } } @@ -63635,15 +77566,15 @@ "postfix": false, "binop": null }, - "start": 5351, - "end": 5352, + "start": 6319, + "end": 6320, "loc": { "start": { - "line": 96, + "line": 121, "column": 23 }, "end": { - "line": 96, + "line": 121, "column": 24 } } @@ -63663,15 +77594,15 @@ "updateContext": null }, "value": "this", - "start": 5360, - "end": 5364, + "start": 6328, + "end": 6332, "loc": { "start": { - "line": 97, + "line": 122, "column": 6 }, "end": { - "line": 97, + "line": 122, "column": 10 } } @@ -63689,15 +77620,15 @@ "binop": null, "updateContext": null }, - "start": 5364, - "end": 5365, + "start": 6332, + "end": 6333, "loc": { "start": { - "line": 97, + "line": 122, "column": 10 }, "end": { - "line": 97, + "line": 122, "column": 11 } } @@ -63715,15 +77646,15 @@ "binop": null }, "value": "render", - "start": 5365, - "end": 5371, + "start": 6333, + "end": 6339, "loc": { "start": { - "line": 97, + "line": 122, "column": 11 }, "end": { - "line": 97, + "line": 122, "column": 17 } } @@ -63740,15 +77671,15 @@ "postfix": false, "binop": null }, - "start": 5371, - "end": 5372, + "start": 6339, + "end": 6340, "loc": { "start": { - "line": 97, + "line": 122, "column": 17 }, "end": { - "line": 97, + "line": 122, "column": 18 } } @@ -63765,15 +77696,15 @@ "postfix": false, "binop": null }, - "start": 5372, - "end": 5373, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 97, + "line": 122, "column": 18 }, "end": { - "line": 97, + "line": 122, "column": 19 } } @@ -63791,15 +77722,15 @@ "binop": null, "updateContext": null }, - "start": 5373, - "end": 5374, + "start": 6341, + "end": 6342, "loc": { "start": { - "line": 97, + "line": 122, "column": 19 }, "end": { - "line": 97, + "line": 122, "column": 20 } } @@ -63819,15 +77750,15 @@ "updateContext": null }, "value": "else", - "start": 5380, - "end": 5384, + "start": 6348, + "end": 6352, "loc": { "start": { - "line": 98, + "line": 123, "column": 4 }, "end": { - "line": 98, + "line": 123, "column": 8 } } @@ -63844,15 +77775,15 @@ "postfix": false, "binop": null }, - "start": 5385, - "end": 5386, + "start": 6353, + "end": 6354, "loc": { "start": { - "line": 98, + "line": 123, "column": 9 }, "end": { - "line": 98, + "line": 123, "column": 10 } } @@ -63870,15 +77801,15 @@ "binop": null }, "value": "console", - "start": 5394, - "end": 5401, + "start": 6362, + "end": 6369, "loc": { "start": { - "line": 99, + "line": 124, "column": 6 }, "end": { - "line": 99, + "line": 124, "column": 13 } } @@ -63896,15 +77827,15 @@ "binop": null, "updateContext": null }, - "start": 5401, - "end": 5402, + "start": 6369, + "end": 6370, "loc": { "start": { - "line": 99, + "line": 124, "column": 13 }, "end": { - "line": 99, + "line": 124, "column": 14 } } @@ -63922,15 +77853,15 @@ "binop": null }, "value": "warn", - "start": 5402, - "end": 5406, + "start": 6370, + "end": 6374, "loc": { "start": { - "line": 99, + "line": 124, "column": 14 }, "end": { - "line": 99, + "line": 124, "column": 18 } } @@ -63947,15 +77878,15 @@ "postfix": false, "binop": null }, - "start": 5406, - "end": 5407, + "start": 6374, + "end": 6375, "loc": { "start": { - "line": 99, + "line": 124, "column": 18 }, "end": { - "line": 99, + "line": 124, "column": 19 } } @@ -63972,15 +77903,15 @@ "postfix": false, "binop": null }, - "start": 5407, - "end": 5408, + "start": 6375, + "end": 6376, "loc": { "start": { - "line": 99, + "line": 124, "column": 19 }, "end": { - "line": 99, + "line": 124, "column": 20 } } @@ -63999,15 +77930,15 @@ "updateContext": null }, "value": "\"", - "start": 5408, - "end": 5409, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 99, + "line": 124, "column": 20 }, "end": { - "line": 99, + "line": 124, "column": 21 } } @@ -64024,15 +77955,15 @@ "postfix": false, "binop": null }, - "start": 5409, - "end": 5411, + "start": 6377, + "end": 6379, "loc": { "start": { - "line": 99, + "line": 124, "column": 21 }, "end": { - "line": 99, + "line": 124, "column": 23 } } @@ -64050,15 +77981,15 @@ "binop": null }, "value": "keyboardDOMQuery", - "start": 5411, - "end": 5427, + "start": 6379, + "end": 6395, "loc": { "start": { - "line": 99, + "line": 124, "column": 23 }, "end": { - "line": 99, + "line": 124, "column": 39 } } @@ -64075,15 +78006,15 @@ "postfix": false, "binop": null }, - "start": 5427, - "end": 5428, + "start": 6395, + "end": 6396, "loc": { "start": { - "line": 99, + "line": 124, "column": 39 }, "end": { - "line": 99, + "line": 124, "column": 40 } } @@ -64102,15 +78033,15 @@ "updateContext": null }, "value": "\" was not found in the DOM.", - "start": 5428, - "end": 5455, + "start": 6396, + "end": 6423, "loc": { "start": { - "line": 99, + "line": 124, "column": 40 }, "end": { - "line": 99, + "line": 124, "column": 67 } } @@ -64127,15 +78058,15 @@ "postfix": false, "binop": null }, - "start": 5455, - "end": 5456, + "start": 6423, + "end": 6424, "loc": { "start": { - "line": 99, + "line": 124, "column": 67 }, "end": { - "line": 99, + "line": 124, "column": 68 } } @@ -64152,15 +78083,15 @@ "postfix": false, "binop": null }, - "start": 5456, - "end": 5457, + "start": 6424, + "end": 6425, "loc": { "start": { - "line": 99, + "line": 124, "column": 68 }, "end": { - "line": 99, + "line": 124, "column": 69 } } @@ -64178,15 +78109,15 @@ "binop": null, "updateContext": null }, - "start": 5457, - "end": 5458, + "start": 6425, + "end": 6426, "loc": { "start": { - "line": 99, + "line": 124, "column": 69 }, "end": { - "line": 99, + "line": 124, "column": 70 } } @@ -64206,15 +78137,15 @@ "updateContext": null }, "value": "throw", - "start": 5466, - "end": 5471, + "start": 6434, + "end": 6439, "loc": { "start": { - "line": 100, + "line": 125, "column": 6 }, "end": { - "line": 100, + "line": 125, "column": 11 } } @@ -64234,15 +78165,15 @@ "updateContext": null }, "value": "new", - "start": 5472, - "end": 5475, + "start": 6440, + "end": 6443, "loc": { "start": { - "line": 100, + "line": 125, "column": 12 }, "end": { - "line": 100, + "line": 125, "column": 15 } } @@ -64260,15 +78191,15 @@ "binop": null }, "value": "Error", - "start": 5476, - "end": 5481, + "start": 6444, + "end": 6449, "loc": { "start": { - "line": 100, + "line": 125, "column": 16 }, "end": { - "line": 100, + "line": 125, "column": 21 } } @@ -64285,15 +78216,15 @@ "postfix": false, "binop": null }, - "start": 5481, - "end": 5482, + "start": 6449, + "end": 6450, "loc": { "start": { - "line": 100, + "line": 125, "column": 21 }, "end": { - "line": 100, + "line": 125, "column": 22 } } @@ -64312,15 +78243,15 @@ "updateContext": null }, "value": "KEYBOARD_DOM_ERROR", - "start": 5482, - "end": 5502, + "start": 6450, + "end": 6470, "loc": { "start": { - "line": 100, + "line": 125, "column": 22 }, "end": { - "line": 100, + "line": 125, "column": 42 } } @@ -64337,15 +78268,15 @@ "postfix": false, "binop": null }, - "start": 5502, - "end": 5503, + "start": 6470, + "end": 6471, "loc": { "start": { - "line": 100, + "line": 125, "column": 42 }, "end": { - "line": 100, + "line": 125, "column": 43 } } @@ -64363,15 +78294,15 @@ "binop": null, "updateContext": null }, - "start": 5503, - "end": 5504, + "start": 6471, + "end": 6472, "loc": { "start": { - "line": 100, + "line": 125, "column": 43 }, "end": { - "line": 100, + "line": 125, "column": 44 } } @@ -64388,15 +78319,15 @@ "postfix": false, "binop": null }, - "start": 5510, - "end": 5511, + "start": 6478, + "end": 6479, "loc": { "start": { - "line": 101, + "line": 126, "column": 4 }, "end": { - "line": 101, + "line": 126, "column": 5 } } @@ -64404,15 +78335,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 5519, - "end": 5632, + "start": 6487, + "end": 6600, "loc": { "start": { - "line": 103, + "line": 128, "column": 4 }, "end": { - "line": 106, + "line": 131, "column": 7 } } @@ -64432,15 +78363,15 @@ "updateContext": null }, "value": "if", - "start": 5638, - "end": 5640, + "start": 6606, + "end": 6608, "loc": { "start": { - "line": 107, + "line": 132, "column": 4 }, "end": { - "line": 107, + "line": 132, "column": 6 } } @@ -64457,15 +78388,15 @@ "postfix": false, "binop": null }, - "start": 5640, - "end": 5641, + "start": 6608, + "end": 6609, "loc": { "start": { - "line": 107, + "line": 132, "column": 6 }, "end": { - "line": 107, + "line": 132, "column": 7 } } @@ -64484,15 +78415,15 @@ "updateContext": null }, "value": "!", - "start": 5641, - "end": 5642, + "start": 6609, + "end": 6610, "loc": { "start": { - "line": 107, + "line": 132, "column": 7 }, "end": { - "line": 107, + "line": 132, "column": 8 } } @@ -64510,15 +78441,15 @@ "binop": null }, "value": "window", - "start": 5642, - "end": 5648, + "start": 6610, + "end": 6616, "loc": { "start": { - "line": 107, + "line": 132, "column": 8 }, "end": { - "line": 107, + "line": 132, "column": 14 } } @@ -64536,15 +78467,15 @@ "binop": null, "updateContext": null }, - "start": 5648, - "end": 5649, + "start": 6616, + "end": 6617, "loc": { "start": { - "line": 107, + "line": 132, "column": 14 }, "end": { - "line": 107, + "line": 132, "column": 15 } } @@ -64563,15 +78494,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 5649, - "end": 5674, + "start": 6617, + "end": 6642, "loc": { "start": { - "line": 107, + "line": 132, "column": 15 }, "end": { - "line": 107, + "line": 132, "column": 40 } } @@ -64589,15 +78520,15 @@ "binop": null, "updateContext": null }, - "start": 5674, - "end": 5675, + "start": 6642, + "end": 6643, "loc": { "start": { - "line": 107, + "line": 132, "column": 40 }, "end": { - "line": 107, + "line": 132, "column": 41 } } @@ -64614,15 +78545,15 @@ "postfix": false, "binop": null }, - "start": 5675, - "end": 5676, + "start": 6643, + "end": 6644, "loc": { "start": { - "line": 107, + "line": 132, "column": 41 }, "end": { - "line": 107, + "line": 132, "column": 42 } } @@ -64640,15 +78571,15 @@ "binop": null }, "value": "window", - "start": 5684, - "end": 5690, + "start": 6652, + "end": 6658, "loc": { "start": { - "line": 108, + "line": 133, "column": 6 }, "end": { - "line": 108, + "line": 133, "column": 12 } } @@ -64666,15 +78597,15 @@ "binop": null, "updateContext": null }, - "start": 5690, - "end": 5691, + "start": 6658, + "end": 6659, "loc": { "start": { - "line": 108, + "line": 133, "column": 12 }, "end": { - "line": 108, + "line": 133, "column": 13 } } @@ -64693,15 +78624,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 5691, - "end": 5716, + "start": 6659, + "end": 6684, "loc": { "start": { - "line": 108, + "line": 133, "column": 13 }, "end": { - "line": 108, + "line": 133, "column": 38 } } @@ -64719,15 +78650,15 @@ "binop": null, "updateContext": null }, - "start": 5716, - "end": 5717, + "start": 6684, + "end": 6685, "loc": { "start": { - "line": 108, + "line": 133, "column": 38 }, "end": { - "line": 108, + "line": 133, "column": 39 } } @@ -64746,15 +78677,15 @@ "updateContext": null }, "value": "=", - "start": 5718, - "end": 5719, + "start": 6686, + "end": 6687, "loc": { "start": { - "line": 108, + "line": 133, "column": 40 }, "end": { - "line": 108, + "line": 133, "column": 41 } } @@ -64771,15 +78702,15 @@ "postfix": false, "binop": null }, - "start": 5720, - "end": 5721, + "start": 6688, + "end": 6689, "loc": { "start": { - "line": 108, + "line": 133, "column": 42 }, "end": { - "line": 108, + "line": 133, "column": 43 } } @@ -64796,15 +78727,15 @@ "postfix": false, "binop": null }, - "start": 5721, - "end": 5722, + "start": 6689, + "end": 6690, "loc": { "start": { - "line": 108, + "line": 133, "column": 43 }, "end": { - "line": 108, + "line": 133, "column": 44 } } @@ -64822,15 +78753,15 @@ "binop": null, "updateContext": null }, - "start": 5722, - "end": 5723, + "start": 6690, + "end": 6691, "loc": { "start": { - "line": 108, + "line": 133, "column": 44 }, "end": { - "line": 108, + "line": 133, "column": 45 } } @@ -64848,15 +78779,15 @@ "binop": null }, "value": "window", - "start": 5737, - "end": 5743, + "start": 6705, + "end": 6711, "loc": { "start": { - "line": 110, + "line": 135, "column": 4 }, "end": { - "line": 110, + "line": 135, "column": 10 } } @@ -64874,15 +78805,15 @@ "binop": null, "updateContext": null }, - "start": 5743, - "end": 5744, + "start": 6711, + "end": 6712, "loc": { "start": { - "line": 110, + "line": 135, "column": 10 }, "end": { - "line": 110, + "line": 135, "column": 11 } } @@ -64901,15 +78832,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 5744, - "end": 5769, + "start": 6712, + "end": 6737, "loc": { "start": { - "line": 110, + "line": 135, "column": 11 }, "end": { - "line": 110, + "line": 135, "column": 36 } } @@ -64927,15 +78858,15 @@ "binop": null, "updateContext": null }, - "start": 5769, - "end": 5770, + "start": 6737, + "end": 6738, "loc": { "start": { - "line": 110, + "line": 135, "column": 36 }, "end": { - "line": 110, + "line": 135, "column": 37 } } @@ -64953,15 +78884,15 @@ "binop": null, "updateContext": null }, - "start": 5770, - "end": 5771, + "start": 6738, + "end": 6739, "loc": { "start": { - "line": 110, + "line": 135, "column": 37 }, "end": { - "line": 110, + "line": 135, "column": 38 } } @@ -64981,15 +78912,15 @@ "updateContext": null }, "value": "this", - "start": 5771, - "end": 5775, + "start": 6739, + "end": 6743, "loc": { "start": { - "line": 110, + "line": 135, "column": 38 }, "end": { - "line": 110, + "line": 135, "column": 42 } } @@ -65007,15 +78938,15 @@ "binop": null, "updateContext": null }, - "start": 5775, - "end": 5776, + "start": 6743, + "end": 6744, "loc": { "start": { - "line": 110, + "line": 135, "column": 42 }, "end": { - "line": 110, + "line": 135, "column": 43 } } @@ -65033,15 +78964,15 @@ "binop": null }, "value": "utilities", - "start": 5776, - "end": 5785, + "start": 6744, + "end": 6753, "loc": { "start": { - "line": 110, + "line": 135, "column": 43 }, "end": { - "line": 110, + "line": 135, "column": 52 } } @@ -65059,15 +78990,15 @@ "binop": null, "updateContext": null }, - "start": 5785, - "end": 5786, + "start": 6753, + "end": 6754, "loc": { "start": { - "line": 110, + "line": 135, "column": 52 }, "end": { - "line": 110, + "line": 135, "column": 53 } } @@ -65085,15 +79016,15 @@ "binop": null }, "value": "camelCase", - "start": 5786, - "end": 5795, + "start": 6754, + "end": 6763, "loc": { "start": { - "line": 110, + "line": 135, "column": 53 }, "end": { - "line": 110, + "line": 135, "column": 62 } } @@ -65110,15 +79041,15 @@ "postfix": false, "binop": null }, - "start": 5795, - "end": 5796, + "start": 6763, + "end": 6764, "loc": { "start": { - "line": 110, + "line": 135, "column": 62 }, "end": { - "line": 110, + "line": 135, "column": 63 } } @@ -65138,15 +79069,15 @@ "updateContext": null }, "value": "this", - "start": 5796, - "end": 5800, + "start": 6764, + "end": 6768, "loc": { "start": { - "line": 110, + "line": 135, "column": 63 }, "end": { - "line": 110, + "line": 135, "column": 67 } } @@ -65164,15 +79095,15 @@ "binop": null, "updateContext": null }, - "start": 5800, - "end": 5801, + "start": 6768, + "end": 6769, "loc": { "start": { - "line": 110, + "line": 135, "column": 67 }, "end": { - "line": 110, + "line": 135, "column": 68 } } @@ -65190,15 +79121,15 @@ "binop": null }, "value": "keyboardDOMClass", - "start": 5801, - "end": 5817, + "start": 6769, + "end": 6785, "loc": { "start": { - "line": 110, + "line": 135, "column": 68 }, "end": { - "line": 110, + "line": 135, "column": 84 } } @@ -65215,15 +79146,15 @@ "postfix": false, "binop": null }, - "start": 5817, - "end": 5818, + "start": 6785, + "end": 6786, "loc": { "start": { - "line": 110, + "line": 135, "column": 84 }, "end": { - "line": 110, + "line": 135, "column": 85 } } @@ -65241,15 +79172,15 @@ "binop": null, "updateContext": null }, - "start": 5818, - "end": 5819, + "start": 6786, + "end": 6787, "loc": { "start": { - "line": 110, + "line": 135, "column": 85 }, "end": { - "line": 110, + "line": 135, "column": 86 } } @@ -65268,15 +79199,15 @@ "updateContext": null }, "value": "=", - "start": 5820, - "end": 5821, + "start": 6788, + "end": 6789, "loc": { "start": { - "line": 110, + "line": 135, "column": 87 }, "end": { - "line": 110, + "line": 135, "column": 88 } } @@ -65296,15 +79227,15 @@ "updateContext": null }, "value": "this", - "start": 5822, - "end": 5826, + "start": 6790, + "end": 6794, "loc": { "start": { - "line": 110, + "line": 135, "column": 89 }, "end": { - "line": 110, + "line": 135, "column": 93 } } @@ -65322,15 +79253,15 @@ "binop": null, "updateContext": null }, - "start": 5826, - "end": 5827, + "start": 6794, + "end": 6795, "loc": { "start": { - "line": 110, + "line": 135, "column": 93 }, "end": { - "line": 110, + "line": 135, "column": 94 } } @@ -65338,15 +79269,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 5835, - "end": 5881, + "start": 6803, + "end": 6849, "loc": { "start": { - "line": 112, + "line": 137, "column": 4 }, "end": { - "line": 114, + "line": 139, "column": 7 } } @@ -65366,15 +79297,15 @@ "updateContext": null }, "value": "this", - "start": 5887, - "end": 5891, + "start": 6855, + "end": 6859, "loc": { "start": { - "line": 115, + "line": 140, "column": 4 }, "end": { - "line": 115, + "line": 140, "column": 8 } } @@ -65392,15 +79323,15 @@ "binop": null, "updateContext": null }, - "start": 5891, - "end": 5892, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 115, + "line": 140, "column": 8 }, "end": { - "line": 115, + "line": 140, "column": 9 } } @@ -65418,15 +79349,15 @@ "binop": null }, "value": "physicalKeyboardInterface", - "start": 5892, - "end": 5917, + "start": 6860, + "end": 6885, "loc": { "start": { - "line": 115, + "line": 140, "column": 9 }, "end": { - "line": 115, + "line": 140, "column": 34 } } @@ -65445,15 +79376,15 @@ "updateContext": null }, "value": "=", - "start": 5918, - "end": 5919, + "start": 6886, + "end": 6887, "loc": { "start": { - "line": 115, + "line": 140, "column": 35 }, "end": { - "line": 115, + "line": 140, "column": 36 } } @@ -65473,15 +79404,15 @@ "updateContext": null }, "value": "new", - "start": 5920, - "end": 5923, + "start": 6888, + "end": 6891, "loc": { "start": { - "line": 115, + "line": 140, "column": 37 }, "end": { - "line": 115, + "line": 140, "column": 40 } } @@ -65499,15 +79430,15 @@ "binop": null }, "value": "PhysicalKeyboard", - "start": 5924, - "end": 5940, + "start": 6892, + "end": 6908, "loc": { "start": { - "line": 115, + "line": 140, "column": 41 }, "end": { - "line": 115, + "line": 140, "column": 57 } } @@ -65524,15 +79455,15 @@ "postfix": false, "binop": null }, - "start": 5940, - "end": 5941, + "start": 6908, + "end": 6909, "loc": { "start": { - "line": 115, + "line": 140, "column": 57 }, "end": { - "line": 115, + "line": 140, "column": 58 } } @@ -65552,15 +79483,15 @@ "updateContext": null }, "value": "this", - "start": 5941, - "end": 5945, + "start": 6909, + "end": 6913, "loc": { "start": { - "line": 115, + "line": 140, "column": 58 }, "end": { - "line": 115, + "line": 140, "column": 62 } } @@ -65577,15 +79508,15 @@ "postfix": false, "binop": null }, - "start": 5945, - "end": 5946, + "start": 6913, + "end": 6914, "loc": { "start": { - "line": 115, + "line": 140, "column": 62 }, "end": { - "line": 115, + "line": 140, "column": 63 } } @@ -65603,15 +79534,15 @@ "binop": null, "updateContext": null }, - "start": 5946, - "end": 5947, + "start": 6914, + "end": 6915, "loc": { "start": { - "line": 115, + "line": 140, "column": 63 }, "end": { - "line": 115, + "line": 140, "column": 64 } } @@ -65628,15 +79559,15 @@ "postfix": false, "binop": null }, - "start": 5951, - "end": 5952, + "start": 6919, + "end": 6920, "loc": { "start": { - "line": 116, + "line": 141, "column": 2 }, "end": { - "line": 116, + "line": 141, "column": 3 } } @@ -65644,15 +79575,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", - "start": 5956, - "end": 6068, + "start": 6924, + "end": 7036, "loc": { "start": { - "line": 117, + "line": 142, "column": 2 }, "end": { - "line": 120, + "line": 145, "column": 5 } } @@ -65670,46 +79601,19 @@ "binop": null }, "value": "handleButtonClicked", - "start": 6072, - "end": 6091, + "start": 7040, + "end": 7059, "loc": { "start": { - "line": 121, + "line": 146, "column": 2 }, "end": { - "line": 121, + "line": 146, "column": 21 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6092, - "end": 6093, - "loc": { - "start": { - "line": 121, - "column": 22 - }, - "end": { - "line": 121, - "column": 23 - } - } - }, { "type": { "label": "(", @@ -65722,16 +79626,16 @@ "postfix": false, "binop": null }, - "start": 6094, - "end": 6095, + "start": 7059, + "end": 7060, "loc": { "start": { - "line": 121, - "column": 24 + "line": 146, + "column": 21 }, "end": { - "line": 121, - "column": 25 + "line": 146, + "column": 22 } } }, @@ -65748,16 +79652,16 @@ "binop": null }, "value": "button", - "start": 6095, - "end": 6101, + "start": 7060, + "end": 7066, "loc": { "start": { - "line": 121, - "column": 25 + "line": 146, + "column": 22 }, "end": { - "line": 121, - "column": 31 + "line": 146, + "column": 28 } } }, @@ -65773,42 +79677,16 @@ "postfix": false, "binop": null }, - "start": 6101, - "end": 6102, + "start": 7066, + "end": 7067, "loc": { "start": { - "line": 121, - "column": 31 + "line": 146, + "column": 28 }, "end": { - "line": 121, - "column": 32 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6103, - "end": 6105, - "loc": { - "start": { - "line": 121, - "column": 33 - }, - "end": { - "line": 121, - "column": 35 + "line": 146, + "column": 29 } } }, @@ -65824,16 +79702,16 @@ "postfix": false, "binop": null }, - "start": 6106, - "end": 6107, + "start": 7067, + "end": 7068, "loc": { "start": { - "line": 121, - "column": 36 + "line": 146, + "column": 29 }, "end": { - "line": 121, - "column": 37 + "line": 146, + "column": 30 } } }, @@ -65852,15 +79730,15 @@ "updateContext": null }, "value": "let", - "start": 6113, - "end": 6116, + "start": 7074, + "end": 7077, "loc": { "start": { - "line": 122, + "line": 147, "column": 4 }, "end": { - "line": 122, + "line": 147, "column": 7 } } @@ -65878,15 +79756,15 @@ "binop": null }, "value": "debug", - "start": 6117, - "end": 6122, + "start": 7078, + "end": 7083, "loc": { "start": { - "line": 122, + "line": 147, "column": 8 }, "end": { - "line": 122, + "line": 147, "column": 13 } } @@ -65905,15 +79783,15 @@ "updateContext": null }, "value": "=", - "start": 6123, - "end": 6124, + "start": 7084, + "end": 7085, "loc": { "start": { - "line": 122, + "line": 147, "column": 14 }, "end": { - "line": 122, + "line": 147, "column": 15 } } @@ -65933,15 +79811,15 @@ "updateContext": null }, "value": "this", - "start": 6125, - "end": 6129, + "start": 7086, + "end": 7090, "loc": { "start": { - "line": 122, + "line": 147, "column": 16 }, "end": { - "line": 122, + "line": 147, "column": 20 } } @@ -65959,15 +79837,15 @@ "binop": null, "updateContext": null }, - "start": 6129, - "end": 6130, + "start": 7090, + "end": 7091, "loc": { "start": { - "line": 122, + "line": 147, "column": 20 }, "end": { - "line": 122, + "line": 147, "column": 21 } } @@ -65985,15 +79863,15 @@ "binop": null }, "value": "options", - "start": 6130, - "end": 6137, + "start": 7091, + "end": 7098, "loc": { "start": { - "line": 122, + "line": 147, "column": 21 }, "end": { - "line": 122, + "line": 147, "column": 28 } } @@ -66011,15 +79889,15 @@ "binop": null, "updateContext": null }, - "start": 6137, - "end": 6138, + "start": 7098, + "end": 7099, "loc": { "start": { - "line": 122, + "line": 147, "column": 28 }, "end": { - "line": 122, + "line": 147, "column": 29 } } @@ -66037,15 +79915,15 @@ "binop": null }, "value": "debug", - "start": 6138, - "end": 6143, + "start": 7099, + "end": 7104, "loc": { "start": { - "line": 122, + "line": 147, "column": 29 }, "end": { - "line": 122, + "line": 147, "column": 34 } } @@ -66063,15 +79941,15 @@ "binop": null, "updateContext": null }, - "start": 6143, - "end": 6144, + "start": 7104, + "end": 7105, "loc": { "start": { - "line": 122, + "line": 147, "column": 34 }, "end": { - "line": 122, + "line": 147, "column": 35 } } @@ -66079,15 +79957,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", - "start": 6152, - "end": 6201, + "start": 7113, + "end": 7162, "loc": { "start": { - "line": 124, + "line": 149, "column": 4 }, "end": { - "line": 126, + "line": 151, "column": 7 } } @@ -66107,15 +79985,15 @@ "updateContext": null }, "value": "if", - "start": 6207, - "end": 6209, + "start": 7168, + "end": 7170, "loc": { "start": { - "line": 127, + "line": 152, "column": 4 }, "end": { - "line": 127, + "line": 152, "column": 6 } } @@ -66132,15 +80010,15 @@ "postfix": false, "binop": null }, - "start": 6209, - "end": 6210, + "start": 7170, + "end": 7171, "loc": { "start": { - "line": 127, + "line": 152, "column": 6 }, "end": { - "line": 127, + "line": 152, "column": 7 } } @@ -66158,15 +80036,15 @@ "binop": null }, "value": "button", - "start": 6210, - "end": 6216, + "start": 7171, + "end": 7177, "loc": { "start": { - "line": 127, + "line": 152, "column": 7 }, "end": { - "line": 127, + "line": 152, "column": 13 } } @@ -66185,15 +80063,15 @@ "updateContext": null }, "value": "===", - "start": 6217, - "end": 6220, + "start": 7178, + "end": 7181, "loc": { "start": { - "line": 127, + "line": 152, "column": 14 }, "end": { - "line": 127, + "line": 152, "column": 17 } } @@ -66212,15 +80090,15 @@ "updateContext": null }, "value": "{//}", - "start": 6221, - "end": 6227, + "start": 7182, + "end": 7188, "loc": { "start": { - "line": 127, + "line": 152, "column": 18 }, "end": { - "line": 127, + "line": 152, "column": 24 } } @@ -66237,15 +80115,15 @@ "postfix": false, "binop": null }, - "start": 6227, - "end": 6228, + "start": 7188, + "end": 7189, "loc": { "start": { - "line": 127, + "line": 152, "column": 24 }, "end": { - "line": 127, + "line": 152, "column": 25 } } @@ -66265,15 +80143,15 @@ "updateContext": null }, "value": "return", - "start": 6236, - "end": 6242, + "start": 7197, + "end": 7203, "loc": { "start": { - "line": 128, + "line": 153, "column": 6 }, "end": { - "line": 128, + "line": 153, "column": 12 } } @@ -66293,15 +80171,15 @@ "updateContext": null }, "value": "false", - "start": 6243, - "end": 6248, + "start": 7204, + "end": 7209, "loc": { "start": { - "line": 128, + "line": 153, "column": 13 }, "end": { - "line": 128, + "line": 153, "column": 18 } } @@ -66319,15 +80197,15 @@ "binop": null, "updateContext": null }, - "start": 6248, - "end": 6249, + "start": 7209, + "end": 7210, "loc": { "start": { - "line": 128, + "line": 153, "column": 18 }, "end": { - "line": 128, + "line": 153, "column": 19 } } @@ -66335,15 +80213,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 6257, - "end": 6296, + "start": 7218, + "end": 7257, "loc": { "start": { - "line": 130, + "line": 155, "column": 4 }, "end": { - "line": 132, + "line": 157, "column": 7 } } @@ -66363,15 +80241,15 @@ "updateContext": null }, "value": "if", - "start": 6302, - "end": 6304, + "start": 7263, + "end": 7265, "loc": { "start": { - "line": 133, + "line": 158, "column": 4 }, "end": { - "line": 133, + "line": 158, "column": 6 } } @@ -66388,15 +80266,15 @@ "postfix": false, "binop": null }, - "start": 6304, - "end": 6305, + "start": 7265, + "end": 7266, "loc": { "start": { - "line": 133, + "line": 158, "column": 6 }, "end": { - "line": 133, + "line": 158, "column": 7 } } @@ -66416,15 +80294,15 @@ "updateContext": null }, "value": "typeof", - "start": 6305, - "end": 6311, + "start": 7266, + "end": 7272, "loc": { "start": { - "line": 133, + "line": 158, "column": 7 }, "end": { - "line": 133, + "line": 158, "column": 13 } } @@ -66444,15 +80322,15 @@ "updateContext": null }, "value": "this", - "start": 6312, - "end": 6316, + "start": 7273, + "end": 7277, "loc": { "start": { - "line": 133, + "line": 158, "column": 14 }, "end": { - "line": 133, + "line": 158, "column": 18 } } @@ -66470,15 +80348,15 @@ "binop": null, "updateContext": null }, - "start": 6316, - "end": 6317, + "start": 7277, + "end": 7278, "loc": { "start": { - "line": 133, + "line": 158, "column": 18 }, "end": { - "line": 133, + "line": 158, "column": 19 } } @@ -66496,15 +80374,15 @@ "binop": null }, "value": "options", - "start": 6317, - "end": 6324, + "start": 7278, + "end": 7285, "loc": { "start": { - "line": 133, + "line": 158, "column": 19 }, "end": { - "line": 133, + "line": 158, "column": 26 } } @@ -66522,15 +80400,15 @@ "binop": null, "updateContext": null }, - "start": 6324, - "end": 6325, + "start": 7285, + "end": 7286, "loc": { "start": { - "line": 133, + "line": 158, "column": 26 }, "end": { - "line": 133, + "line": 158, "column": 27 } } @@ -66548,15 +80426,15 @@ "binop": null }, "value": "onKeyPress", - "start": 6325, - "end": 6335, + "start": 7286, + "end": 7296, "loc": { "start": { - "line": 133, + "line": 158, "column": 27 }, "end": { - "line": 133, + "line": 158, "column": 37 } } @@ -66575,15 +80453,15 @@ "updateContext": null }, "value": "===", - "start": 6336, - "end": 6339, + "start": 7297, + "end": 7300, "loc": { "start": { - "line": 133, + "line": 158, "column": 38 }, "end": { - "line": 133, + "line": 158, "column": 41 } } @@ -66602,15 +80480,15 @@ "updateContext": null }, "value": "function", - "start": 6340, - "end": 6350, + "start": 7301, + "end": 7311, "loc": { "start": { - "line": 133, + "line": 158, "column": 42 }, "end": { - "line": 133, + "line": 158, "column": 52 } } @@ -66627,15 +80505,15 @@ "postfix": false, "binop": null }, - "start": 6350, - "end": 6351, + "start": 7311, + "end": 7312, "loc": { "start": { - "line": 133, + "line": 158, "column": 52 }, "end": { - "line": 133, + "line": 158, "column": 53 } } @@ -66655,15 +80533,15 @@ "updateContext": null }, "value": "this", - "start": 6359, - "end": 6363, + "start": 7320, + "end": 7324, "loc": { "start": { - "line": 134, + "line": 159, "column": 6 }, "end": { - "line": 134, + "line": 159, "column": 10 } } @@ -66681,15 +80559,15 @@ "binop": null, "updateContext": null }, - "start": 6363, - "end": 6364, + "start": 7324, + "end": 7325, "loc": { "start": { - "line": 134, + "line": 159, "column": 10 }, "end": { - "line": 134, + "line": 159, "column": 11 } } @@ -66707,15 +80585,15 @@ "binop": null }, "value": "options", - "start": 6364, - "end": 6371, + "start": 7325, + "end": 7332, "loc": { "start": { - "line": 134, + "line": 159, "column": 11 }, "end": { - "line": 134, + "line": 159, "column": 18 } } @@ -66733,15 +80611,15 @@ "binop": null, "updateContext": null }, - "start": 6371, - "end": 6372, + "start": 7332, + "end": 7333, "loc": { "start": { - "line": 134, + "line": 159, "column": 18 }, "end": { - "line": 134, + "line": 159, "column": 19 } } @@ -66759,15 +80637,15 @@ "binop": null }, "value": "onKeyPress", - "start": 6372, - "end": 6382, + "start": 7333, + "end": 7343, "loc": { "start": { - "line": 134, + "line": 159, "column": 19 }, "end": { - "line": 134, + "line": 159, "column": 29 } } @@ -66784,15 +80662,15 @@ "postfix": false, "binop": null }, - "start": 6382, - "end": 6383, + "start": 7343, + "end": 7344, "loc": { "start": { - "line": 134, + "line": 159, "column": 29 }, "end": { - "line": 134, + "line": 159, "column": 30 } } @@ -66810,15 +80688,15 @@ "binop": null }, "value": "button", - "start": 6383, - "end": 6389, + "start": 7344, + "end": 7350, "loc": { "start": { - "line": 134, + "line": 159, "column": 30 }, "end": { - "line": 134, + "line": 159, "column": 36 } } @@ -66835,15 +80713,15 @@ "postfix": false, "binop": null }, - "start": 6389, - "end": 6390, + "start": 7350, + "end": 7351, "loc": { "start": { - "line": 134, + "line": 159, "column": 36 }, "end": { - "line": 134, + "line": 159, "column": 37 } } @@ -66861,15 +80739,15 @@ "binop": null, "updateContext": null }, - "start": 6390, - "end": 6391, + "start": 7351, + "end": 7352, "loc": { "start": { - "line": 134, + "line": 159, "column": 37 }, "end": { - "line": 134, + "line": 159, "column": 38 } } @@ -66889,15 +80767,15 @@ "updateContext": null }, "value": "if", - "start": 6403, - "end": 6405, + "start": 7364, + "end": 7366, "loc": { "start": { - "line": 136, + "line": 161, "column": 4 }, "end": { - "line": 136, + "line": 161, "column": 6 } } @@ -66914,15 +80792,15 @@ "postfix": false, "binop": null }, - "start": 6405, - "end": 6406, + "start": 7366, + "end": 7367, "loc": { "start": { - "line": 136, + "line": 161, "column": 6 }, "end": { - "line": 136, + "line": 161, "column": 7 } } @@ -66941,15 +80819,15 @@ "updateContext": null }, "value": "!", - "start": 6406, - "end": 6407, + "start": 7367, + "end": 7368, "loc": { "start": { - "line": 136, + "line": 161, "column": 7 }, "end": { - "line": 136, + "line": 161, "column": 8 } } @@ -66969,15 +80847,15 @@ "updateContext": null }, "value": "this", - "start": 6407, - "end": 6411, + "start": 7368, + "end": 7372, "loc": { "start": { - "line": 136, + "line": 161, "column": 8 }, "end": { - "line": 136, + "line": 161, "column": 12 } } @@ -66995,15 +80873,15 @@ "binop": null, "updateContext": null }, - "start": 6411, - "end": 6412, + "start": 7372, + "end": 7373, "loc": { "start": { - "line": 136, + "line": 161, "column": 12 }, "end": { - "line": 136, + "line": 161, "column": 13 } } @@ -67021,15 +80899,15 @@ "binop": null }, "value": "input", - "start": 6412, - "end": 6417, + "start": 7373, + "end": 7378, "loc": { "start": { - "line": 136, + "line": 161, "column": 13 }, "end": { - "line": 136, + "line": 161, "column": 18 } } @@ -67047,15 +80925,15 @@ "binop": null, "updateContext": null }, - "start": 6417, - "end": 6418, + "start": 7378, + "end": 7379, "loc": { "start": { - "line": 136, + "line": 161, "column": 18 }, "end": { - "line": 136, + "line": 161, "column": 19 } } @@ -67075,15 +80953,15 @@ "updateContext": null }, "value": "this", - "start": 6418, - "end": 6422, + "start": 7379, + "end": 7383, "loc": { "start": { - "line": 136, + "line": 161, "column": 19 }, "end": { - "line": 136, + "line": 161, "column": 23 } } @@ -67101,15 +80979,15 @@ "binop": null, "updateContext": null }, - "start": 6422, - "end": 6423, + "start": 7383, + "end": 7384, "loc": { "start": { - "line": 136, + "line": 161, "column": 23 }, "end": { - "line": 136, + "line": 161, "column": 24 } } @@ -67127,15 +81005,15 @@ "binop": null }, "value": "options", - "start": 6423, - "end": 6430, + "start": 7384, + "end": 7391, "loc": { "start": { - "line": 136, + "line": 161, "column": 24 }, "end": { - "line": 136, + "line": 161, "column": 31 } } @@ -67153,15 +81031,15 @@ "binop": null, "updateContext": null }, - "start": 6430, - "end": 6431, + "start": 7391, + "end": 7392, "loc": { "start": { - "line": 136, + "line": 161, "column": 31 }, "end": { - "line": 136, + "line": 161, "column": 32 } } @@ -67179,15 +81057,15 @@ "binop": null }, "value": "inputName", - "start": 6431, - "end": 6440, + "start": 7392, + "end": 7401, "loc": { "start": { - "line": 136, + "line": 161, "column": 32 }, "end": { - "line": 136, + "line": 161, "column": 41 } } @@ -67205,15 +81083,15 @@ "binop": null, "updateContext": null }, - "start": 6440, - "end": 6441, + "start": 7401, + "end": 7402, "loc": { "start": { - "line": 136, + "line": 161, "column": 41 }, "end": { - "line": 136, + "line": 161, "column": 42 } } @@ -67230,15 +81108,15 @@ "postfix": false, "binop": null }, - "start": 6441, - "end": 6442, + "start": 7402, + "end": 7403, "loc": { "start": { - "line": 136, + "line": 161, "column": 42 }, "end": { - "line": 136, + "line": 161, "column": 43 } } @@ -67258,15 +81136,15 @@ "updateContext": null }, "value": "this", - "start": 6450, - "end": 6454, + "start": 7411, + "end": 7415, "loc": { "start": { - "line": 137, + "line": 162, "column": 6 }, "end": { - "line": 137, + "line": 162, "column": 10 } } @@ -67284,15 +81162,15 @@ "binop": null, "updateContext": null }, - "start": 6454, - "end": 6455, + "start": 7415, + "end": 7416, "loc": { "start": { - "line": 137, + "line": 162, "column": 10 }, "end": { - "line": 137, + "line": 162, "column": 11 } } @@ -67310,15 +81188,15 @@ "binop": null }, "value": "input", - "start": 6455, - "end": 6460, + "start": 7416, + "end": 7421, "loc": { "start": { - "line": 137, + "line": 162, "column": 11 }, "end": { - "line": 137, + "line": 162, "column": 16 } } @@ -67336,15 +81214,15 @@ "binop": null, "updateContext": null }, - "start": 6460, - "end": 6461, + "start": 7421, + "end": 7422, "loc": { "start": { - "line": 137, + "line": 162, "column": 16 }, "end": { - "line": 137, + "line": 162, "column": 17 } } @@ -67364,15 +81242,15 @@ "updateContext": null }, "value": "this", - "start": 6461, - "end": 6465, + "start": 7422, + "end": 7426, "loc": { "start": { - "line": 137, + "line": 162, "column": 17 }, "end": { - "line": 137, + "line": 162, "column": 21 } } @@ -67390,15 +81268,15 @@ "binop": null, "updateContext": null }, - "start": 6465, - "end": 6466, + "start": 7426, + "end": 7427, "loc": { "start": { - "line": 137, + "line": 162, "column": 21 }, "end": { - "line": 137, + "line": 162, "column": 22 } } @@ -67416,15 +81294,15 @@ "binop": null }, "value": "options", - "start": 6466, - "end": 6473, + "start": 7427, + "end": 7434, "loc": { "start": { - "line": 137, + "line": 162, "column": 22 }, "end": { - "line": 137, + "line": 162, "column": 29 } } @@ -67442,15 +81320,15 @@ "binop": null, "updateContext": null }, - "start": 6473, - "end": 6474, + "start": 7434, + "end": 7435, "loc": { "start": { - "line": 137, + "line": 162, "column": 29 }, "end": { - "line": 137, + "line": 162, "column": 30 } } @@ -67468,15 +81346,15 @@ "binop": null }, "value": "inputName", - "start": 6474, - "end": 6483, + "start": 7435, + "end": 7444, "loc": { "start": { - "line": 137, + "line": 162, "column": 30 }, "end": { - "line": 137, + "line": 162, "column": 39 } } @@ -67494,15 +81372,15 @@ "binop": null, "updateContext": null }, - "start": 6483, - "end": 6484, + "start": 7444, + "end": 7445, "loc": { "start": { - "line": 137, + "line": 162, "column": 39 }, "end": { - "line": 137, + "line": 162, "column": 40 } } @@ -67521,15 +81399,15 @@ "updateContext": null }, "value": "=", - "start": 6485, - "end": 6486, + "start": 7446, + "end": 7447, "loc": { "start": { - "line": 137, + "line": 162, "column": 41 }, "end": { - "line": 137, + "line": 162, "column": 42 } } @@ -67548,15 +81426,15 @@ "updateContext": null }, "value": "", - "start": 6487, - "end": 6489, + "start": 7448, + "end": 7450, "loc": { "start": { - "line": 137, + "line": 162, "column": 43 }, "end": { - "line": 137, + "line": 162, "column": 45 } } @@ -67574,15 +81452,15 @@ "binop": null, "updateContext": null }, - "start": 6489, - "end": 6490, + "start": 7450, + "end": 7451, "loc": { "start": { - "line": 137, + "line": 162, "column": 45 }, "end": { - "line": 137, + "line": 162, "column": 46 } } @@ -67602,15 +81480,15 @@ "updateContext": null }, "value": "let", - "start": 6498, - "end": 6501, + "start": 7459, + "end": 7462, "loc": { "start": { - "line": 139, + "line": 164, "column": 4 }, "end": { - "line": 139, + "line": 164, "column": 7 } } @@ -67628,15 +81506,15 @@ "binop": null }, "value": "updatedInput", - "start": 6502, - "end": 6514, + "start": 7463, + "end": 7475, "loc": { "start": { - "line": 139, + "line": 164, "column": 8 }, "end": { - "line": 139, + "line": 164, "column": 20 } } @@ -67655,15 +81533,15 @@ "updateContext": null }, "value": "=", - "start": 6515, - "end": 6516, + "start": 7476, + "end": 7477, "loc": { "start": { - "line": 139, + "line": 164, "column": 21 }, "end": { - "line": 139, + "line": 164, "column": 22 } } @@ -67683,15 +81561,15 @@ "updateContext": null }, "value": "this", - "start": 6517, - "end": 6521, + "start": 7478, + "end": 7482, "loc": { "start": { - "line": 139, + "line": 164, "column": 23 }, "end": { - "line": 139, + "line": 164, "column": 27 } } @@ -67709,15 +81587,15 @@ "binop": null, "updateContext": null }, - "start": 6521, - "end": 6522, + "start": 7482, + "end": 7483, "loc": { "start": { - "line": 139, + "line": 164, "column": 27 }, "end": { - "line": 139, + "line": 164, "column": 28 } } @@ -67735,15 +81613,15 @@ "binop": null }, "value": "utilities", - "start": 6522, - "end": 6531, + "start": 7483, + "end": 7492, "loc": { "start": { - "line": 139, + "line": 164, "column": 28 }, "end": { - "line": 139, + "line": 164, "column": 37 } } @@ -67761,15 +81639,15 @@ "binop": null, "updateContext": null }, - "start": 6531, - "end": 6532, + "start": 7492, + "end": 7493, "loc": { "start": { - "line": 139, + "line": 164, "column": 37 }, "end": { - "line": 139, + "line": 164, "column": 38 } } @@ -67787,15 +81665,15 @@ "binop": null }, "value": "getUpdatedInput", - "start": 6532, - "end": 6547, + "start": 7493, + "end": 7508, "loc": { "start": { - "line": 139, + "line": 164, "column": 38 }, "end": { - "line": 139, + "line": 164, "column": 53 } } @@ -67812,15 +81690,15 @@ "postfix": false, "binop": null }, - "start": 6547, - "end": 6548, + "start": 7508, + "end": 7509, "loc": { "start": { - "line": 139, + "line": 164, "column": 53 }, "end": { - "line": 139, + "line": 164, "column": 54 } } @@ -67838,15 +81716,15 @@ "binop": null }, "value": "button", - "start": 6548, - "end": 6554, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 139, + "line": 164, "column": 54 }, "end": { - "line": 139, + "line": 164, "column": 60 } } @@ -67864,15 +81742,15 @@ "binop": null, "updateContext": null }, - "start": 6554, - "end": 6555, + "start": 7515, + "end": 7516, "loc": { "start": { - "line": 139, + "line": 164, "column": 60 }, "end": { - "line": 139, + "line": 164, "column": 61 } } @@ -67892,15 +81770,15 @@ "updateContext": null }, "value": "this", - "start": 6556, - "end": 6560, + "start": 7517, + "end": 7521, "loc": { "start": { - "line": 139, + "line": 164, "column": 62 }, "end": { - "line": 139, + "line": 164, "column": 66 } } @@ -67918,15 +81796,15 @@ "binop": null, "updateContext": null }, - "start": 6560, - "end": 6561, + "start": 7521, + "end": 7522, "loc": { "start": { - "line": 139, + "line": 164, "column": 66 }, "end": { - "line": 139, + "line": 164, "column": 67 } } @@ -67944,15 +81822,15 @@ "binop": null }, "value": "input", - "start": 6561, - "end": 6566, + "start": 7522, + "end": 7527, "loc": { "start": { - "line": 139, + "line": 164, "column": 67 }, "end": { - "line": 139, + "line": 164, "column": 72 } } @@ -67970,15 +81848,15 @@ "binop": null, "updateContext": null }, - "start": 6566, - "end": 6567, + "start": 7527, + "end": 7528, "loc": { "start": { - "line": 139, + "line": 164, "column": 72 }, "end": { - "line": 139, + "line": 164, "column": 73 } } @@ -67998,15 +81876,15 @@ "updateContext": null }, "value": "this", - "start": 6567, - "end": 6571, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 139, + "line": 164, "column": 73 }, "end": { - "line": 139, + "line": 164, "column": 77 } } @@ -68024,15 +81902,15 @@ "binop": null, "updateContext": null }, - "start": 6571, - "end": 6572, + "start": 7532, + "end": 7533, "loc": { "start": { - "line": 139, + "line": 164, "column": 77 }, "end": { - "line": 139, + "line": 164, "column": 78 } } @@ -68050,15 +81928,15 @@ "binop": null }, "value": "options", - "start": 6572, - "end": 6579, + "start": 7533, + "end": 7540, "loc": { "start": { - "line": 139, + "line": 164, "column": 78 }, "end": { - "line": 139, + "line": 164, "column": 85 } } @@ -68076,15 +81954,15 @@ "binop": null, "updateContext": null }, - "start": 6579, - "end": 6580, + "start": 7540, + "end": 7541, "loc": { "start": { - "line": 139, + "line": 164, "column": 85 }, "end": { - "line": 139, + "line": 164, "column": 86 } } @@ -68102,15 +81980,15 @@ "binop": null }, "value": "inputName", - "start": 6580, - "end": 6589, + "start": 7541, + "end": 7550, "loc": { "start": { - "line": 139, + "line": 164, "column": 86 }, "end": { - "line": 139, + "line": 164, "column": 95 } } @@ -68128,15 +82006,15 @@ "binop": null, "updateContext": null }, - "start": 6589, - "end": 6590, + "start": 7550, + "end": 7551, "loc": { "start": { - "line": 139, + "line": 164, "column": 95 }, "end": { - "line": 139, + "line": 164, "column": 96 } } @@ -68154,15 +82032,15 @@ "binop": null, "updateContext": null }, - "start": 6590, - "end": 6591, + "start": 7551, + "end": 7552, "loc": { "start": { - "line": 139, + "line": 164, "column": 96 }, "end": { - "line": 139, + "line": 164, "column": 97 } } @@ -68182,15 +82060,15 @@ "updateContext": null }, "value": "this", - "start": 6592, - "end": 6596, + "start": 7553, + "end": 7557, "loc": { "start": { - "line": 139, + "line": 164, "column": 98 }, "end": { - "line": 139, + "line": 164, "column": 102 } } @@ -68208,15 +82086,15 @@ "binop": null, "updateContext": null }, - "start": 6596, - "end": 6597, + "start": 7557, + "end": 7558, "loc": { "start": { - "line": 139, + "line": 164, "column": 102 }, "end": { - "line": 139, + "line": 164, "column": 103 } } @@ -68234,15 +82112,15 @@ "binop": null }, "value": "options", - "start": 6597, - "end": 6604, + "start": 7558, + "end": 7565, "loc": { "start": { - "line": 139, + "line": 164, "column": 103 }, "end": { - "line": 139, + "line": 164, "column": 110 } } @@ -68260,15 +82138,15 @@ "binop": null, "updateContext": null }, - "start": 6604, - "end": 6605, + "start": 7565, + "end": 7566, "loc": { "start": { - "line": 139, + "line": 164, "column": 110 }, "end": { - "line": 139, + "line": 164, "column": 111 } } @@ -68288,15 +82166,15 @@ "updateContext": null }, "value": "this", - "start": 6606, - "end": 6610, + "start": 7567, + "end": 7571, "loc": { "start": { - "line": 139, + "line": 164, "column": 112 }, "end": { - "line": 139, + "line": 164, "column": 116 } } @@ -68314,15 +82192,15 @@ "binop": null, "updateContext": null }, - "start": 6610, - "end": 6611, + "start": 7571, + "end": 7572, "loc": { "start": { - "line": 139, + "line": 164, "column": 116 }, "end": { - "line": 139, + "line": 164, "column": 117 } } @@ -68340,15 +82218,15 @@ "binop": null }, "value": "caretPosition", - "start": 6611, - "end": 6624, + "start": 7572, + "end": 7585, "loc": { "start": { - "line": 139, + "line": 164, "column": 117 }, "end": { - "line": 139, + "line": 164, "column": 130 } } @@ -68365,15 +82243,15 @@ "postfix": false, "binop": null }, - "start": 6624, - "end": 6625, + "start": 7585, + "end": 7586, "loc": { "start": { - "line": 139, + "line": 164, "column": 130 }, "end": { - "line": 139, + "line": 164, "column": 131 } } @@ -68391,15 +82269,15 @@ "binop": null, "updateContext": null }, - "start": 6625, - "end": 6626, + "start": 7586, + "end": 7587, "loc": { "start": { - "line": 139, + "line": 164, "column": 131 }, "end": { - "line": 139, + "line": 164, "column": 132 } } @@ -68419,15 +82297,15 @@ "updateContext": null }, "value": "if", - "start": 6634, - "end": 6636, + "start": 7595, + "end": 7597, "loc": { "start": { - "line": 141, + "line": 166, "column": 4 }, "end": { - "line": 141, + "line": 166, "column": 6 } } @@ -68444,15 +82322,15 @@ "postfix": false, "binop": null }, - "start": 6636, - "end": 6637, + "start": 7597, + "end": 7598, "loc": { "start": { - "line": 141, + "line": 166, "column": 6 }, "end": { - "line": 141, + "line": 166, "column": 7 } } @@ -68472,15 +82350,15 @@ "updateContext": null }, "value": "this", - "start": 6637, - "end": 6641, + "start": 7598, + "end": 7602, "loc": { "start": { - "line": 141, + "line": 166, "column": 7 }, "end": { - "line": 141, + "line": 166, "column": 11 } } @@ -68498,15 +82376,15 @@ "binop": null, "updateContext": null }, - "start": 6641, - "end": 6642, + "start": 7602, + "end": 7603, "loc": { "start": { - "line": 141, + "line": 166, "column": 11 }, "end": { - "line": 141, + "line": 166, "column": 12 } } @@ -68524,15 +82402,15 @@ "binop": null }, "value": "input", - "start": 6642, - "end": 6647, + "start": 7603, + "end": 7608, "loc": { "start": { - "line": 141, + "line": 166, "column": 12 }, "end": { - "line": 141, + "line": 166, "column": 17 } } @@ -68550,15 +82428,15 @@ "binop": null, "updateContext": null }, - "start": 6647, - "end": 6648, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 141, + "line": 166, "column": 17 }, "end": { - "line": 141, + "line": 166, "column": 18 } } @@ -68578,15 +82456,15 @@ "updateContext": null }, "value": "this", - "start": 6648, - "end": 6652, + "start": 7609, + "end": 7613, "loc": { "start": { - "line": 141, + "line": 166, "column": 18 }, "end": { - "line": 141, + "line": 166, "column": 22 } } @@ -68604,15 +82482,15 @@ "binop": null, "updateContext": null }, - "start": 6652, - "end": 6653, + "start": 7613, + "end": 7614, "loc": { "start": { - "line": 141, + "line": 166, "column": 22 }, "end": { - "line": 141, + "line": 166, "column": 23 } } @@ -68630,15 +82508,15 @@ "binop": null }, "value": "options", - "start": 6653, - "end": 6660, + "start": 7614, + "end": 7621, "loc": { "start": { - "line": 141, + "line": 166, "column": 23 }, "end": { - "line": 141, + "line": 166, "column": 30 } } @@ -68656,15 +82534,15 @@ "binop": null, "updateContext": null }, - "start": 6660, - "end": 6661, + "start": 7621, + "end": 7622, "loc": { "start": { - "line": 141, + "line": 166, "column": 30 }, "end": { - "line": 141, + "line": 166, "column": 31 } } @@ -68682,15 +82560,15 @@ "binop": null }, "value": "inputName", - "start": 6661, - "end": 6670, + "start": 7622, + "end": 7631, "loc": { "start": { - "line": 141, + "line": 166, "column": 31 }, "end": { - "line": 141, + "line": 166, "column": 40 } } @@ -68708,15 +82586,15 @@ "binop": null, "updateContext": null }, - "start": 6670, - "end": 6671, + "start": 7631, + "end": 7632, "loc": { "start": { - "line": 141, + "line": 166, "column": 40 }, "end": { - "line": 141, + "line": 166, "column": 41 } } @@ -68735,15 +82613,15 @@ "updateContext": null }, "value": "!==", - "start": 6672, - "end": 6675, + "start": 7633, + "end": 7636, "loc": { "start": { - "line": 141, + "line": 166, "column": 42 }, "end": { - "line": 141, + "line": 166, "column": 45 } } @@ -68761,15 +82639,15 @@ "binop": null }, "value": "updatedInput", - "start": 6676, - "end": 6688, + "start": 7637, + "end": 7649, "loc": { "start": { - "line": 141, + "line": 166, "column": 46 }, "end": { - "line": 141, + "line": 166, "column": 58 } } @@ -68786,15 +82664,15 @@ "postfix": false, "binop": null }, - "start": 6688, - "end": 6689, + "start": 7649, + "end": 7650, "loc": { "start": { - "line": 141, + "line": 166, "column": 58 }, "end": { - "line": 141, + "line": 166, "column": 59 } } @@ -68811,15 +82689,15 @@ "postfix": false, "binop": null }, - "start": 6689, - "end": 6690, + "start": 7650, + "end": 7651, "loc": { "start": { - "line": 141, + "line": 166, "column": 59 }, "end": { - "line": 141, + "line": 166, "column": 60 } } @@ -68827,15 +82705,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 6700, - "end": 6777, + "start": 7661, + "end": 7738, "loc": { "start": { - "line": 143, + "line": 168, "column": 6 }, "end": { - "line": 145, + "line": 170, "column": 9 } } @@ -68855,15 +82733,15 @@ "updateContext": null }, "value": "if", - "start": 6785, - "end": 6787, + "start": 7746, + "end": 7748, "loc": { "start": { - "line": 146, + "line": 171, "column": 6 }, "end": { - "line": 146, + "line": 171, "column": 8 } } @@ -68880,15 +82758,15 @@ "postfix": false, "binop": null }, - "start": 6787, - "end": 6788, + "start": 7748, + "end": 7749, "loc": { "start": { - "line": 146, + "line": 171, "column": 8 }, "end": { - "line": 146, + "line": 171, "column": 9 } } @@ -68908,15 +82786,15 @@ "updateContext": null }, "value": "this", - "start": 6788, - "end": 6792, + "start": 7749, + "end": 7753, "loc": { "start": { - "line": 146, + "line": 171, "column": 9 }, "end": { - "line": 146, + "line": 171, "column": 13 } } @@ -68934,15 +82812,15 @@ "binop": null, "updateContext": null }, - "start": 6792, - "end": 6793, + "start": 7753, + "end": 7754, "loc": { "start": { - "line": 146, + "line": 171, "column": 13 }, "end": { - "line": 146, + "line": 171, "column": 14 } } @@ -68960,15 +82838,15 @@ "binop": null }, "value": "options", - "start": 6793, - "end": 6800, + "start": 7754, + "end": 7761, "loc": { "start": { - "line": 146, + "line": 171, "column": 14 }, "end": { - "line": 146, + "line": 171, "column": 21 } } @@ -68986,15 +82864,15 @@ "binop": null, "updateContext": null }, - "start": 6800, - "end": 6801, + "start": 7761, + "end": 7762, "loc": { "start": { - "line": 146, + "line": 171, "column": 21 }, "end": { - "line": 146, + "line": 171, "column": 22 } } @@ -69012,15 +82890,15 @@ "binop": null }, "value": "maxLength", - "start": 6801, - "end": 6810, + "start": 7762, + "end": 7771, "loc": { "start": { - "line": 146, + "line": 171, "column": 22 }, "end": { - "line": 146, + "line": 171, "column": 31 } } @@ -69039,15 +82917,15 @@ "updateContext": null }, "value": "&&", - "start": 6811, - "end": 6813, + "start": 7772, + "end": 7774, "loc": { "start": { - "line": 146, + "line": 171, "column": 32 }, "end": { - "line": 146, + "line": 171, "column": 34 } } @@ -69067,15 +82945,15 @@ "updateContext": null }, "value": "this", - "start": 6814, - "end": 6818, + "start": 7775, + "end": 7779, "loc": { "start": { - "line": 146, + "line": 171, "column": 35 }, "end": { - "line": 146, + "line": 171, "column": 39 } } @@ -69093,15 +82971,15 @@ "binop": null, "updateContext": null }, - "start": 6818, - "end": 6819, + "start": 7779, + "end": 7780, "loc": { "start": { - "line": 146, + "line": 171, "column": 39 }, "end": { - "line": 146, + "line": 171, "column": 40 } } @@ -69119,15 +82997,15 @@ "binop": null }, "value": "utilities", - "start": 6819, - "end": 6828, + "start": 7780, + "end": 7789, "loc": { "start": { - "line": 146, + "line": 171, "column": 40 }, "end": { - "line": 146, + "line": 171, "column": 49 } } @@ -69145,15 +83023,15 @@ "binop": null, "updateContext": null }, - "start": 6828, - "end": 6829, + "start": 7789, + "end": 7790, "loc": { "start": { - "line": 146, + "line": 171, "column": 49 }, "end": { - "line": 146, + "line": 171, "column": 50 } } @@ -69171,15 +83049,15 @@ "binop": null }, "value": "handleMaxLength", - "start": 6829, - "end": 6844, + "start": 7790, + "end": 7805, "loc": { "start": { - "line": 146, + "line": 171, "column": 50 }, "end": { - "line": 146, + "line": 171, "column": 65 } } @@ -69196,15 +83074,15 @@ "postfix": false, "binop": null }, - "start": 6844, - "end": 6845, + "start": 7805, + "end": 7806, "loc": { "start": { - "line": 146, + "line": 171, "column": 65 }, "end": { - "line": 146, + "line": 171, "column": 66 } } @@ -69224,15 +83102,15 @@ "updateContext": null }, "value": "this", - "start": 6845, - "end": 6849, + "start": 7806, + "end": 7810, "loc": { "start": { - "line": 146, + "line": 171, "column": 66 }, "end": { - "line": 146, + "line": 171, "column": 70 } } @@ -69250,15 +83128,15 @@ "binop": null, "updateContext": null }, - "start": 6849, - "end": 6850, + "start": 7810, + "end": 7811, "loc": { "start": { - "line": 146, + "line": 171, "column": 70 }, "end": { - "line": 146, + "line": 171, "column": 71 } } @@ -69276,15 +83154,15 @@ "binop": null }, "value": "input", - "start": 6850, - "end": 6855, + "start": 7811, + "end": 7816, "loc": { "start": { - "line": 146, + "line": 171, "column": 71 }, "end": { - "line": 146, + "line": 171, "column": 76 } } @@ -69302,15 +83180,15 @@ "binop": null, "updateContext": null }, - "start": 6855, - "end": 6856, + "start": 7816, + "end": 7817, "loc": { "start": { - "line": 146, + "line": 171, "column": 76 }, "end": { - "line": 146, + "line": 171, "column": 77 } } @@ -69330,15 +83208,15 @@ "updateContext": null }, "value": "this", - "start": 6857, - "end": 6861, + "start": 7818, + "end": 7822, "loc": { "start": { - "line": 146, + "line": 171, "column": 78 }, "end": { - "line": 146, + "line": 171, "column": 82 } } @@ -69356,15 +83234,15 @@ "binop": null, "updateContext": null }, - "start": 6861, - "end": 6862, + "start": 7822, + "end": 7823, "loc": { "start": { - "line": 146, + "line": 171, "column": 82 }, "end": { - "line": 146, + "line": 171, "column": 83 } } @@ -69382,15 +83260,15 @@ "binop": null }, "value": "options", - "start": 6862, - "end": 6869, + "start": 7823, + "end": 7830, "loc": { "start": { - "line": 146, + "line": 171, "column": 83 }, "end": { - "line": 146, + "line": 171, "column": 90 } } @@ -69408,15 +83286,15 @@ "binop": null, "updateContext": null }, - "start": 6869, - "end": 6870, + "start": 7830, + "end": 7831, "loc": { "start": { - "line": 146, + "line": 171, "column": 90 }, "end": { - "line": 146, + "line": 171, "column": 91 } } @@ -69434,15 +83312,15 @@ "binop": null }, "value": "updatedInput", - "start": 6871, - "end": 6883, + "start": 7832, + "end": 7844, "loc": { "start": { - "line": 146, + "line": 171, "column": 92 }, "end": { - "line": 146, + "line": 171, "column": 104 } } @@ -69459,3443 +83337,16 @@ "postfix": false, "binop": null }, - "start": 6883, - "end": 6884, - "loc": { - "start": { - "line": 146, - "column": 104 - }, - "end": { - "line": 146, - "column": 105 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6884, - "end": 6885, - "loc": { - "start": { - "line": 146, - "column": 105 - }, - "end": { - "line": 146, - "column": 106 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6885, - "end": 6886, - "loc": { - "start": { - "line": 146, - "column": 106 - }, - "end": { - "line": 146, - "column": 107 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6896, - "end": 6902, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 14 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 6903, - "end": 6908, - "loc": { - "start": { - "line": 147, - "column": 15 - }, - "end": { - "line": 147, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6908, - "end": 6909, - "loc": { - "start": { - "line": 147, - "column": 20 - }, - "end": { - "line": 147, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6917, - "end": 6918, - "loc": { - "start": { - "line": 148, - "column": 6 - }, - "end": { - "line": 148, - "column": 7 - } - } - }, - { - "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": 6928, - "end": 6932, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6932, - "end": 6933, - "loc": { - "start": { - "line": 150, - "column": 10 - }, - "end": { - "line": 150, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 6933, - "end": 6938, - "loc": { - "start": { - "line": 150, - "column": 11 - }, - "end": { - "line": 150, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6938, - "end": 6939, - "loc": { - "start": { - "line": 150, - "column": 16 - }, - "end": { - "line": 150, - "column": 17 - } - } - }, - { - "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": 6939, - "end": 6943, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6943, - "end": 6944, - "loc": { - "start": { - "line": 150, - "column": 21 - }, - "end": { - "line": 150, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 6944, - "end": 6951, - "loc": { - "start": { - "line": 150, - "column": 22 - }, - "end": { - "line": 150, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6951, - "end": 6952, - "loc": { - "start": { - "line": 150, - "column": 29 - }, - "end": { - "line": 150, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 6952, - "end": 6961, - "loc": { - "start": { - "line": 150, - "column": 30 - }, - "end": { - "line": 150, - "column": 39 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6961, - "end": 6962, - "loc": { - "start": { - "line": 150, - "column": 39 - }, - "end": { - "line": 150, - "column": 40 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6963, - "end": 6964, - "loc": { - "start": { - "line": 150, - "column": 41 - }, - "end": { - "line": 150, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "updatedInput", - "start": 6965, - "end": 6977, - "loc": { - "start": { - "line": 150, - "column": 43 - }, - "end": { - "line": 150, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6977, - "end": 6978, - "loc": { - "start": { - "line": 150, - "column": 55 - }, - "end": { - "line": 150, - "column": 56 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6988, - "end": 6990, - "loc": { - "start": { - "line": 152, - "column": 6 - }, - "end": { - "line": 152, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6990, - "end": 6991, - "loc": { - "start": { - "line": 152, - "column": 8 - }, - "end": { - "line": 152, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 6991, - "end": 6996, - "loc": { - "start": { - "line": 152, - "column": 9 - }, - "end": { - "line": 152, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6996, - "end": 6997, - "loc": { - "start": { - "line": 152, - "column": 14 - }, - "end": { - "line": 152, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 7007, - "end": 7014, - "loc": { - "start": { - "line": 153, - "column": 8 - }, - "end": { - "line": 153, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7014, - "end": 7015, - "loc": { - "start": { - "line": 153, - "column": 15 - }, - "end": { - "line": 153, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 7015, - "end": 7018, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7018, - "end": 7019, - "loc": { - "start": { - "line": 153, - "column": 19 - }, - "end": { - "line": 153, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Input changed:", - "start": 7019, - "end": 7035, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7035, - "end": 7036, - "loc": { - "start": { - "line": 153, - "column": 36 - }, - "end": { - "line": 153, - "column": 37 - } - } - }, - { - "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": 7037, - "end": 7041, - "loc": { - "start": { - "line": 153, - "column": 38 - }, - "end": { - "line": 153, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7041, - "end": 7042, - "loc": { - "start": { - "line": 153, - "column": 42 - }, - "end": { - "line": 153, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 7042, - "end": 7047, - "loc": { - "start": { - "line": 153, - "column": 43 - }, - "end": { - "line": 153, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7047, - "end": 7048, - "loc": { - "start": { - "line": 153, - "column": 48 - }, - "end": { - "line": 153, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7048, - "end": 7049, - "loc": { - "start": { - "line": 153, - "column": 49 - }, - "end": { - "line": 153, - "column": 50 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7059, - "end": 7118, - "loc": { - "start": { - "line": 155, - "column": 6 - }, - "end": { - "line": 157, - "column": 9 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 7126, - "end": 7128, - "loc": { - "start": { - "line": 158, - "column": 6 - }, - "end": { - "line": 158, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7128, - "end": 7129, - "loc": { - "start": { - "line": 158, - "column": 8 - }, - "end": { - "line": 158, - "column": 9 - } - } - }, - { - "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": 7129, - "end": 7133, - "loc": { - "start": { - "line": 158, - "column": 9 - }, - "end": { - "line": 158, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7133, - "end": 7134, - "loc": { - "start": { - "line": 158, - "column": 13 - }, - "end": { - "line": 158, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7134, - "end": 7141, - "loc": { - "start": { - "line": 158, - "column": 14 - }, - "end": { - "line": 158, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7141, - "end": 7142, - "loc": { - "start": { - "line": 158, - "column": 21 - }, - "end": { - "line": 158, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "syncInstanceInputs", - "start": 7142, - "end": 7160, - "loc": { - "start": { - "line": 158, - "column": 22 - }, - "end": { - "line": 158, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7160, - "end": 7161, - "loc": { - "start": { - "line": 158, - "column": 40 - }, - "end": { - "line": 158, - "column": 41 - } - } - }, - { - "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": 7171, - "end": 7175, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7175, - "end": 7176, - "loc": { - "start": { - "line": 159, - "column": 12 - }, - "end": { - "line": 159, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "syncInstanceInputs", - "start": 7176, - "end": 7194, - "loc": { - "start": { - "line": 159, - "column": 13 - }, - "end": { - "line": 159, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7194, - "end": 7195, - "loc": { - "start": { - "line": 159, - "column": 31 - }, - "end": { - "line": 159, - "column": 32 - } - } - }, - { - "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": 7195, - "end": 7199, - "loc": { - "start": { - "line": 159, - "column": 32 - }, - "end": { - "line": 159, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7199, - "end": 7200, - "loc": { - "start": { - "line": 159, - "column": 36 - }, - "end": { - "line": 159, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 7200, - "end": 7205, - "loc": { - "start": { - "line": 159, - "column": 37 - }, - "end": { - "line": 159, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7205, - "end": 7206, - "loc": { - "start": { - "line": 159, - "column": 42 - }, - "end": { - "line": 159, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7206, - "end": 7207, - "loc": { - "start": { - "line": 159, - "column": 43 - }, - "end": { - "line": 159, - "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 7217, - "end": 7258, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 163, - "column": 9 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 7266, - "end": 7268, - "loc": { - "start": { - "line": 164, - "column": 6 - }, - "end": { - "line": 164, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7268, - "end": 7269, - "loc": { - "start": { - "line": 164, - "column": 8 - }, - "end": { - "line": 164, - "column": 9 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 7269, - "end": 7275, - "loc": { - "start": { - "line": 164, - "column": 9 - }, - "end": { - "line": 164, - "column": 15 - } - } - }, - { - "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": 7276, - "end": 7280, - "loc": { - "start": { - "line": 164, - "column": 16 - }, - "end": { - "line": 164, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7280, - "end": 7281, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7281, - "end": 7288, - "loc": { - "start": { - "line": 164, - "column": 21 - }, - "end": { - "line": 164, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7288, - "end": 7289, - "loc": { - "start": { - "line": 164, - "column": 28 - }, - "end": { - "line": 164, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onChange", - "start": 7289, - "end": 7297, - "loc": { - "start": { - "line": 164, - "column": 29 - }, - "end": { - "line": 164, - "column": 37 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 7298, - "end": 7301, - "loc": { - "start": { - "line": 164, - "column": 38 - }, - "end": { - "line": 164, - "column": 41 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 7302, - "end": 7312, - "loc": { - "start": { - "line": 164, - "column": 42 - }, - "end": { - "line": 164, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7312, - "end": 7313, - "loc": { - "start": { - "line": 164, - "column": 52 - }, - "end": { - "line": 164, - "column": 53 - } - } - }, - { - "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": 7323, - "end": 7327, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7327, - "end": 7328, - "loc": { - "start": { - "line": 165, - "column": 12 - }, - "end": { - "line": 165, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7328, - "end": 7335, - "loc": { - "start": { - "line": 165, - "column": 13 - }, - "end": { - "line": 165, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7335, - "end": 7336, - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onChange", - "start": 7336, - "end": 7344, - "loc": { - "start": { - "line": 165, - "column": 21 - }, - "end": { - "line": 165, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7344, - "end": 7345, - "loc": { - "start": { - "line": 165, - "column": 29 - }, - "end": { - "line": 165, - "column": 30 - } - } - }, - { - "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": 7345, - "end": 7349, - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7349, - "end": 7350, - "loc": { - "start": { - "line": 165, - "column": 34 - }, - "end": { - "line": 165, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 7350, - "end": 7355, - "loc": { - "start": { - "line": 165, - "column": 35 - }, - "end": { - "line": 165, - "column": 40 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7355, - "end": 7356, - "loc": { - "start": { - "line": 165, - "column": 40 - }, - "end": { - "line": 165, - "column": 41 - } - } - }, - { - "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": 7356, - "end": 7360, - "loc": { - "start": { - "line": 165, - "column": 41 - }, - "end": { - "line": 165, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7360, - "end": 7361, - "loc": { - "start": { - "line": 165, - "column": 45 - }, - "end": { - "line": 165, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7361, - "end": 7368, - "loc": { - "start": { - "line": 165, - "column": 46 - }, - "end": { - "line": 165, - "column": 53 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7368, - "end": 7369, - "loc": { - "start": { - "line": 165, - "column": 53 - }, - "end": { - "line": 165, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7369, - "end": 7378, - "loc": { - "start": { - "line": 165, - "column": 54 - }, - "end": { - "line": 165, - "column": 63 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7378, - "end": 7379, - "loc": { - "start": { - "line": 165, - "column": 63 - }, - "end": { - "line": 165, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7379, - "end": 7380, - "loc": { - "start": { - "line": 165, - "column": 64 - }, - "end": { - "line": 165, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7380, - "end": 7381, - "loc": { - "start": { - "line": 165, - "column": 65 - }, - "end": { - "line": 165, - "column": 66 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7387, - "end": 7388, - "loc": { - "start": { - "line": 166, - "column": 4 - }, - "end": { - "line": 166, - "column": 5 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 7400, - "end": 7402, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 168, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7402, - "end": 7403, - "loc": { - "start": { - "line": 168, - "column": 6 - }, - "end": { - "line": 168, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 7403, - "end": 7408, - "loc": { - "start": { - "line": 168, - "column": 7 - }, - "end": { - "line": 168, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7408, - "end": 7409, - "loc": { - "start": { - "line": 168, - "column": 12 - }, - "end": { - "line": 168, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7409, - "end": 7410, - "loc": { - "start": { - "line": 168, - "column": 13 - }, - "end": { - "line": 168, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 7418, - "end": 7425, - "loc": { - "start": { - "line": 169, - "column": 6 - }, - "end": { - "line": 169, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7425, - "end": 7426, - "loc": { - "start": { - "line": 169, - "column": 13 - }, - "end": { - "line": 169, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 7426, - "end": 7429, - "loc": { - "start": { - "line": 169, - "column": 14 - }, - "end": { - "line": 169, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7429, - "end": 7430, - "loc": { - "start": { - "line": 169, - "column": 17 - }, - "end": { - "line": 169, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Key pressed:", - "start": 7430, - "end": 7444, - "loc": { - "start": { - "line": 169, - "column": 18 - }, - "end": { - "line": 169, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7444, - "end": 7445, - "loc": { - "start": { - "line": 169, - "column": 32 - }, - "end": { - "line": 169, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 7446, - "end": 7452, - "loc": { - "start": { - "line": 169, - "column": 34 - }, - "end": { - "line": 169, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7452, - "end": 7453, - "loc": { - "start": { - "line": 169, - "column": 40 - }, - "end": { - "line": 169, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7453, - "end": 7454, - "loc": { - "start": { - "line": 169, - "column": 41 - }, - "end": { - "line": 169, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7460, - "end": 7461, - "loc": { - "start": { - "line": 170, - "column": 4 - }, - "end": { - "line": 170, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7465, - "end": 7466, - "loc": { - "start": { - "line": 171, - "column": 2 - }, - "end": { - "line": 171, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 7472, - "end": 7569, - "loc": { - "start": { - "line": 173, - "column": 2 - }, - "end": { - "line": 175, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "syncInstanceInputs", - "start": 7573, - "end": 7591, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 176, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7592, - "end": 7593, - "loc": { - "start": { - "line": 176, - "column": 21 - }, - "end": { - "line": 176, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7594, - "end": 7595, - "loc": { - "start": { - "line": 176, - "column": 23 - }, - "end": { - "line": 176, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7595, - "end": 7596, - "loc": { - "start": { - "line": 176, - "column": 24 - }, - "end": { - "line": 176, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7597, - "end": 7599, - "loc": { - "start": { - "line": 176, - "column": 26 - }, - "end": { - "line": 176, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7600, - "end": 7601, - "loc": { - "start": { - "line": 176, - "column": 29 - }, - "end": { - "line": 176, - "column": 30 - } - } - }, - { - "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": 7607, - "end": 7611, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7611, - "end": 7612, - "loc": { - "start": { - "line": 177, - "column": 8 - }, - "end": { - "line": 177, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dispatch", - "start": 7612, - "end": 7620, - "loc": { - "start": { - "line": 177, - "column": 9 - }, - "end": { - "line": 177, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7620, - "end": 7621, - "loc": { - "start": { - "line": 177, - "column": 17 - }, - "end": { - "line": 177, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7621, - "end": 7622, - "loc": { - "start": { - "line": 177, - "column": 18 - }, - "end": { - "line": 177, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instance", - "start": 7622, - "end": 7630, - "loc": { - "start": { - "line": 177, - "column": 19 - }, - "end": { - "line": 177, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7630, - "end": 7631, - "loc": { - "start": { - "line": 177, - "column": 27 - }, - "end": { - "line": 177, - "column": 28 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7632, - "end": 7634, - "loc": { - "start": { - "line": 177, - "column": 29 - }, - "end": { - "line": 177, - "column": 31 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7635, - "end": 7636, - "loc": { - "start": { - "line": 177, - "column": 32 - }, - "end": { - "line": 177, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instance", - "start": 7644, - "end": 7652, - "loc": { - "start": { - "line": 178, - "column": 6 - }, - "end": { - "line": 178, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7652, - "end": 7653, - "loc": { - "start": { - "line": 178, - "column": 14 - }, - "end": { - "line": 178, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "replaceInput", - "start": 7653, - "end": 7665, - "loc": { - "start": { - "line": 178, - "column": 15 - }, - "end": { - "line": 178, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7665, - "end": 7666, - "loc": { - "start": { - "line": 178, - "column": 27 - }, - "end": { - "line": 178, - "column": 28 - } - } - }, - { - "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": 7666, - "end": 7670, - "loc": { - "start": { - "line": 178, - "column": 28 - }, - "end": { - "line": 178, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7670, - "end": 7671, - "loc": { - "start": { - "line": 178, - "column": 32 - }, - "end": { - "line": 178, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 7671, - "end": 7676, - "loc": { - "start": { - "line": 178, - "column": 33 - }, - "end": { - "line": 178, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7676, - "end": 7677, - "loc": { - "start": { - "line": 178, - "column": 38 - }, - "end": { - "line": 178, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7677, - "end": 7678, - "loc": { - "start": { - "line": 178, - "column": 39 - }, - "end": { - "line": 178, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7684, - "end": 7685, - "loc": { - "start": { - "line": 179, - "column": 4 - }, - "end": { - "line": 179, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7685, - "end": 7686, - "loc": { - "start": { - "line": 179, - "column": 5 - }, - "end": { - "line": 179, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7686, - "end": 7687, - "loc": { - "start": { - "line": 179, - "column": 6 - }, - "end": { - "line": 179, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7691, - "end": 7692, - "loc": { - "start": { - "line": 180, - "column": 2 - }, - "end": { - "line": 180, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 7700, - "end": 7818, - "loc": { - "start": { - "line": 182, - "column": 2 - }, - "end": { - "line": 185, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "clearInput", - "start": 7822, - "end": 7832, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 186, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7833, - "end": 7834, - "loc": { - "start": { - "line": 186, - "column": 13 - }, - "end": { - "line": 186, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7835, - "end": 7836, - "loc": { - "start": { - "line": 186, - "column": 15 - }, - "end": { - "line": 186, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7836, + "start": 7844, "end": 7845, "loc": { "start": { - "line": 186, - "column": 16 + "line": 171, + "column": 104 }, "end": { - "line": 186, - "column": 25 + "line": 171, + "column": 105 } } }, @@ -72915,38 +83366,12 @@ "end": 7846, "loc": { "start": { - "line": 186, - "column": 25 + "line": 171, + "column": 105 }, "end": { - "line": 186, - "column": 26 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7847, - "end": 7849, - "loc": { - "start": { - "line": 186, - "column": 27 - }, - "end": { - "line": 186, - "column": 29 + "line": 171, + "column": 106 } } }, @@ -72962,254 +83387,72 @@ "postfix": false, "binop": null }, - "start": 7850, - "end": 7851, + "start": 7846, + "end": 7847, "loc": { "start": { - "line": 186, - "column": 30 + "line": 171, + "column": 106 }, "end": { - "line": 186, - "column": 31 + "line": 171, + "column": 107 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "inputName", + "value": "return", "start": 7857, - "end": 7866, + "end": 7863, "loc": { "start": { - "line": 187, - "column": 4 + "line": 172, + "column": 8 }, "end": { - "line": 187, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7867, - "end": 7868, - "loc": { - "start": { - "line": 187, + "line": 172, "column": 14 - }, - "end": { - "line": 187, + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 7864, + "end": 7869, + "loc": { + "start": { + "line": 172, "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7869, - "end": 7878, - "loc": { - "start": { - "line": 187, - "column": 16 }, "end": { - "line": 187, - "column": 25 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 7879, - "end": 7881, - "loc": { - "start": { - "line": 187, - "column": 26 - }, - "end": { - "line": 187, - "column": 28 - } - } - }, - { - "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": 7882, - "end": 7886, - "loc": { - "start": { - "line": 187, - "column": 29 - }, - "end": { - "line": 187, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7886, - "end": 7887, - "loc": { - "start": { - "line": 187, - "column": 33 - }, - "end": { - "line": 187, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7887, - "end": 7894, - "loc": { - "start": { - "line": 187, - "column": 34 - }, - "end": { - "line": 187, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7894, - "end": 7895, - "loc": { - "start": { - "line": 187, - "column": 41 - }, - "end": { - "line": 187, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7895, - "end": 7904, - "loc": { - "start": { - "line": 187, - "column": 42 - }, - "end": { - "line": 187, - "column": 51 + "line": 172, + "column": 20 } } }, @@ -73226,16 +83469,41 @@ "binop": null, "updateContext": null }, - "start": 7904, - "end": 7905, + "start": 7869, + "end": 7870, "loc": { "start": { - "line": 187, - "column": 51 + "line": 172, + "column": 20 }, "end": { - "line": 187, - "column": 52 + "line": 172, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7878, + "end": 7879, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 7 } } }, @@ -73254,16 +83522,16 @@ "updateContext": null }, "value": "this", - "start": 7911, - "end": 7915, + "start": 7889, + "end": 7893, "loc": { "start": { - "line": 188, - "column": 4 + "line": 175, + "column": 6 }, "end": { - "line": 188, - "column": 8 + "line": 175, + "column": 10 } } }, @@ -73280,16 +83548,16 @@ "binop": null, "updateContext": null }, - "start": 7915, - "end": 7916, + "start": 7893, + "end": 7894, "loc": { "start": { - "line": 188, - "column": 8 + "line": 175, + "column": 10 }, "end": { - "line": 188, - "column": 9 + "line": 175, + "column": 11 } } }, @@ -73306,16 +83574,16 @@ "binop": null }, "value": "input", - "start": 7916, - "end": 7921, + "start": 7894, + "end": 7899, "loc": { "start": { - "line": 188, - "column": 9 + "line": 175, + "column": 11 }, "end": { - "line": 188, - "column": 14 + "line": 175, + "column": 16 } } }, @@ -73332,16 +83600,16 @@ "binop": null, "updateContext": null }, - "start": 7921, - "end": 7922, + "start": 7899, + "end": 7900, "loc": { "start": { - "line": 188, - "column": 14 + "line": 175, + "column": 16 }, "end": { - "line": 188, - "column": 15 + "line": 175, + "column": 17 } } }, @@ -73360,16 +83628,16 @@ "updateContext": null }, "value": "this", - "start": 7922, - "end": 7926, + "start": 7900, + "end": 7904, "loc": { "start": { - "line": 188, - "column": 15 + "line": 175, + "column": 17 }, "end": { - "line": 188, - "column": 19 + "line": 175, + "column": 21 } } }, @@ -73386,16 +83654,16 @@ "binop": null, "updateContext": null }, - "start": 7926, - "end": 7927, + "start": 7904, + "end": 7905, "loc": { "start": { - "line": 188, - "column": 19 + "line": 175, + "column": 21 }, "end": { - "line": 188, - "column": 20 + "line": 175, + "column": 22 } } }, @@ -73412,16 +83680,16 @@ "binop": null }, "value": "options", - "start": 7927, - "end": 7934, + "start": 7905, + "end": 7912, "loc": { "start": { - "line": 188, - "column": 20 + "line": 175, + "column": 22 }, "end": { - "line": 188, - "column": 27 + "line": 175, + "column": 29 } } }, @@ -73438,16 +83706,16 @@ "binop": null, "updateContext": null }, - "start": 7934, - "end": 7935, + "start": 7912, + "end": 7913, "loc": { "start": { - "line": 188, - "column": 27 + "line": 175, + "column": 29 }, "end": { - "line": 188, - "column": 28 + "line": 175, + "column": 30 } } }, @@ -73464,16 +83732,16 @@ "binop": null }, "value": "inputName", - "start": 7935, - "end": 7944, + "start": 7913, + "end": 7922, "loc": { "start": { - "line": 188, - "column": 28 + "line": 175, + "column": 30 }, "end": { - "line": 188, - "column": 37 + "line": 175, + "column": 39 } } }, @@ -73490,16 +83758,16 @@ "binop": null, "updateContext": null }, - "start": 7944, - "end": 7945, + "start": 7922, + "end": 7923, "loc": { "start": { - "line": 188, - "column": 37 + "line": 175, + "column": 39 }, "end": { - "line": 188, - "column": 38 + "line": 175, + "column": 40 } } }, @@ -73517,22 +83785,22 @@ "updateContext": null }, "value": "=", - "start": 7946, - "end": 7947, + "start": 7924, + "end": 7925, "loc": { "start": { - "line": 188, - "column": 39 + "line": 175, + "column": 41 }, "end": { - "line": 188, - "column": 40 + "line": 175, + "column": 42 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73540,20 +83808,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 7948, - "end": 7950, + "value": "updatedInput", + "start": 7926, + "end": 7938, "loc": { "start": { - "line": 188, - "column": 41 + "line": 175, + "column": 43 }, "end": { - "line": 188, - "column": 43 + "line": 175, + "column": 55 } } }, @@ -73570,32 +83837,16 @@ "binop": null, "updateContext": null }, - "start": 7950, - "end": 7951, + "start": 7938, + "end": 7939, "loc": { "start": { - "line": 188, - "column": 43 + "line": 175, + "column": 55 }, "end": { - "line": 188, - "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 7959, - "end": 8014, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 7 + "line": 175, + "column": 56 } } }, @@ -73614,8 +83865,1666 @@ "updateContext": null }, "value": "if", + "start": 7949, + "end": 7951, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7951, + "end": 7952, + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 7952, + "end": 7957, + "loc": { + "start": { + "line": 177, + "column": 9 + }, + "end": { + "line": 177, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7957, + "end": 7958, + "loc": { + "start": { + "line": 177, + "column": 14 + }, + "end": { + "line": 177, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 7968, + "end": 7975, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7975, + "end": 7976, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 7976, + "end": 7979, + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7979, + "end": 7980, + "loc": { + "start": { + "line": 178, + "column": 19 + }, + "end": { + "line": 178, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Input changed:", + "start": 7980, + "end": 7996, + "loc": { + "start": { + "line": 178, + "column": 20 + }, + "end": { + "line": 178, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7996, + "end": 7997, + "loc": { + "start": { + "line": 178, + "column": 36 + }, + "end": { + "line": 178, + "column": 37 + } + } + }, + { + "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": 7998, + "end": 8002, + "loc": { + "start": { + "line": 178, + "column": 38 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8002, + "end": 8003, + "loc": { + "start": { + "line": 178, + "column": 42 + }, + "end": { + "line": 178, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8003, + "end": 8008, + "loc": { + "start": { + "line": 178, + "column": 43 + }, + "end": { + "line": 178, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8008, + "end": 8009, + "loc": { + "start": { + "line": 178, + "column": 48 + }, + "end": { + "line": 178, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8009, + "end": 8010, + "loc": { + "start": { + "line": 178, + "column": 49 + }, + "end": { + "line": 178, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8020, - "end": 8022, + "end": 8079, + "loc": { + "start": { + "line": 180, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8087, + "end": 8089, + "loc": { + "start": { + "line": 183, + "column": 6 + }, + "end": { + "line": 183, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8089, + "end": 8090, + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 9 + } + } + }, + { + "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": 8090, + "end": 8094, + "loc": { + "start": { + "line": 183, + "column": 9 + }, + "end": { + "line": 183, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8094, + "end": 8095, + "loc": { + "start": { + "line": 183, + "column": 13 + }, + "end": { + "line": 183, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8095, + "end": 8102, + "loc": { + "start": { + "line": 183, + "column": 14 + }, + "end": { + "line": 183, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8102, + "end": 8103, + "loc": { + "start": { + "line": 183, + "column": 21 + }, + "end": { + "line": 183, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 8103, + "end": 8121, + "loc": { + "start": { + "line": 183, + "column": 22 + }, + "end": { + "line": 183, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8121, + "end": 8122, + "loc": { + "start": { + "line": 183, + "column": 40 + }, + "end": { + "line": 183, + "column": 41 + } + } + }, + { + "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": 8132, + "end": 8136, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8136, + "end": 8137, + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 8137, + "end": 8155, + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8155, + "end": 8156, + "loc": { + "start": { + "line": 184, + "column": 31 + }, + "end": { + "line": 184, + "column": 32 + } + } + }, + { + "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": 8156, + "end": 8160, + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8160, + "end": 8161, + "loc": { + "start": { + "line": 184, + "column": 36 + }, + "end": { + "line": 184, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8161, + "end": 8166, + "loc": { + "start": { + "line": 184, + "column": 37 + }, + "end": { + "line": 184, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8166, + "end": 8167, + "loc": { + "start": { + "line": 184, + "column": 42 + }, + "end": { + "line": 184, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8167, + "end": 8168, + "loc": { + "start": { + "line": 184, + "column": 43 + }, + "end": { + "line": 184, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8178, + "end": 8219, + "loc": { + "start": { + "line": 186, + "column": 6 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8227, + "end": 8229, + "loc": { + "start": { + "line": 189, + "column": 6 + }, + "end": { + "line": 189, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8229, + "end": 8230, + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 9 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 8230, + "end": 8236, + "loc": { + "start": { + "line": 189, + "column": 9 + }, + "end": { + "line": 189, + "column": 15 + } + } + }, + { + "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": 8237, + "end": 8241, + "loc": { + "start": { + "line": 189, + "column": 16 + }, + "end": { + "line": 189, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8241, + "end": 8242, + "loc": { + "start": { + "line": 189, + "column": 20 + }, + "end": { + "line": 189, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8242, + "end": 8249, + "loc": { + "start": { + "line": 189, + "column": 21 + }, + "end": { + "line": 189, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8249, + "end": 8250, + "loc": { + "start": { + "line": 189, + "column": 28 + }, + "end": { + "line": 189, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 8250, + "end": 8258, + "loc": { + "start": { + "line": 189, + "column": 29 + }, + "end": { + "line": 189, + "column": 37 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 8259, + "end": 8262, + "loc": { + "start": { + "line": 189, + "column": 38 + }, + "end": { + "line": 189, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 8263, + "end": 8273, + "loc": { + "start": { + "line": 189, + "column": 42 + }, + "end": { + "line": 189, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8273, + "end": 8274, + "loc": { + "start": { + "line": 189, + "column": 52 + }, + "end": { + "line": 189, + "column": 53 + } + } + }, + { + "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": 8284, + "end": 8288, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8288, + "end": 8289, + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8289, + "end": 8296, + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8296, + "end": 8297, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 8297, + "end": 8305, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8305, + "end": 8306, + "loc": { + "start": { + "line": 190, + "column": 29 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + { + "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": 8306, + "end": 8310, + "loc": { + "start": { + "line": 190, + "column": 30 + }, + "end": { + "line": 190, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8310, + "end": 8311, + "loc": { + "start": { + "line": 190, + "column": 34 + }, + "end": { + "line": 190, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8311, + "end": 8316, + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 40 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8316, + "end": 8317, + "loc": { + "start": { + "line": 190, + "column": 40 + }, + "end": { + "line": 190, + "column": 41 + } + } + }, + { + "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": 8317, + "end": 8321, + "loc": { + "start": { + "line": 190, + "column": 41 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8321, + "end": 8322, + "loc": { + "start": { + "line": 190, + "column": 45 + }, + "end": { + "line": 190, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8322, + "end": 8329, + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8329, + "end": 8330, + "loc": { + "start": { + "line": 190, + "column": 53 + }, + "end": { + "line": 190, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8330, + "end": 8339, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 63 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8339, + "end": 8340, + "loc": { + "start": { + "line": 190, + "column": 63 + }, + "end": { + "line": 190, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8340, + "end": 8341, + "loc": { + "start": { + "line": 190, + "column": 64 + }, + "end": { + "line": 190, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8341, + "end": 8342, + "loc": { + "start": { + "line": 190, + "column": 65 + }, + "end": { + "line": 190, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8348, + "end": 8349, + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8361, + "end": 8363, "loc": { "start": { "line": 193, @@ -73639,8 +85548,8 @@ "postfix": false, "binop": null }, - "start": 8022, - "end": 8023, + "start": 8363, + "end": 8364, "loc": { "start": { "line": 193, @@ -73654,8 +85563,7 @@ }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73663,127 +85571,22 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8023, - "end": 8027, + "value": "debug", + "start": 8364, + "end": 8369, "loc": { "start": { "line": 193, "column": 7 }, - "end": { - "line": 193, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8027, - "end": 8028, - "loc": { - "start": { - "line": 193, - "column": 11 - }, "end": { "line": 193, "column": 12 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 8028, - "end": 8035, - "loc": { - "start": { - "line": 193, - "column": 12 - }, - "end": { - "line": 193, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8035, - "end": 8036, - "loc": { - "start": { - "line": 193, - "column": 19 - }, - "end": { - "line": 193, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "syncInstanceInputs", - "start": 8036, - "end": 8054, - "loc": { - "start": { - "line": 193, - "column": 20 - }, - "end": { - "line": 193, - "column": 38 - } - } - }, { "type": { "label": ")", @@ -73796,23 +85599,47 @@ "postfix": false, "binop": null }, - "start": 8054, - "end": 8055, + "start": 8369, + "end": 8370, "loc": { "start": { "line": 193, - "column": 38 + "column": 12 }, "end": { "line": 193, - "column": 39 + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8370, + "end": 8371, + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 193, + "column": 14 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73820,12 +85647,11 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8063, - "end": 8067, + "value": "console", + "start": 8379, + "end": 8386, "loc": { "start": { "line": 194, @@ -73833,7 +85659,7 @@ }, "end": { "line": 194, - "column": 10 + "column": 13 } } }, @@ -73850,16 +85676,16 @@ "binop": null, "updateContext": null }, - "start": 8067, - "end": 8068, + "start": 8386, + "end": 8387, "loc": { "start": { "line": 194, - "column": 10 + "column": 13 }, "end": { "line": 194, - "column": 11 + "column": 14 } } }, @@ -73875,17 +85701,17 @@ "postfix": false, "binop": null }, - "value": "syncInstanceInputs", - "start": 8068, - "end": 8086, + "value": "log", + "start": 8387, + "end": 8390, "loc": { "start": { "line": 194, - "column": 11 + "column": 14 }, "end": { "line": 194, - "column": 29 + "column": 17 } } }, @@ -73901,23 +85727,22 @@ "postfix": false, "binop": null }, - "start": 8086, - "end": 8087, + "start": 8390, + "end": 8391, "loc": { "start": { "line": 194, - "column": 29 + "column": 17 }, "end": { "line": 194, - "column": 30 + "column": 18 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73928,24 +85753,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8087, - "end": 8091, + "value": "Key pressed:", + "start": 8391, + "end": 8405, "loc": { "start": { "line": 194, - "column": 30 + "column": 18 }, "end": { "line": 194, - "column": 34 + "column": 32 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -73955,16 +85780,16 @@ "binop": null, "updateContext": null }, - "start": 8091, - "end": 8092, + "start": 8405, + "end": 8406, "loc": { "start": { "line": 194, - "column": 34 + "column": 32 }, "end": { "line": 194, - "column": 35 + "column": 33 } } }, @@ -73980,13 +85805,13 @@ "postfix": false, "binop": null }, - "value": "input", - "start": 8092, - "end": 8097, + "value": "button", + "start": 8407, + "end": 8413, "loc": { "start": { "line": 194, - "column": 35 + "column": 34 }, "end": { "line": 194, @@ -74006,8 +85831,8 @@ "postfix": false, "binop": null }, - "start": 8097, - "end": 8098, + "start": 8413, + "end": 8414, "loc": { "start": { "line": 194, @@ -74032,8 +85857,8 @@ "binop": null, "updateContext": null }, - "start": 8098, - "end": 8099, + "start": 8414, + "end": 8415, "loc": { "start": { "line": 194, @@ -74057,27 +85882,52 @@ "postfix": false, "binop": null }, - "start": 8103, - "end": 8104, + "start": 8421, + "end": 8422, "loc": { "start": { "line": 195, - "column": 2 + "column": 4 }, "end": { "line": 195, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8426, + "end": 8427, + "loc": { + "start": { + "line": 196, + "column": 2 + }, + "end": { + "line": 196, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 8110, - "end": 8272, + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 8433, + "end": 8530, "loc": { "start": { - "line": 197, + "line": 198, "column": 2 }, "end": { @@ -74098,9 +85948,9 @@ "postfix": false, "binop": null }, - "value": "getInput", - "start": 8276, - "end": 8284, + "value": "syncInstanceInputs", + "start": 8534, + "end": 8552, "loc": { "start": { "line": 201, @@ -74108,34 +85958,7 @@ }, "end": { "line": 201, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8285, - "end": 8286, - "loc": { - "start": { - "line": 201, - "column": 11 - }, - "end": { - "line": 201, - "column": 12 + "column": 20 } } }, @@ -74151,42 +85974,16 @@ "postfix": false, "binop": null }, - "start": 8287, - "end": 8288, + "start": 8552, + "end": 8553, "loc": { "start": { "line": 201, - "column": 13 + "column": 20 }, "end": { "line": 201, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 8288, - "end": 8297, - "loc": { - "start": { - "line": 201, - "column": 14 - }, - "end": { - "line": 201, - "column": 23 + "column": 21 } } }, @@ -74202,16 +85999,222 @@ "postfix": false, "binop": null }, - "start": 8297, - "end": 8298, + "start": 8553, + "end": 8554, "loc": { "start": { "line": 201, - "column": 23 + "column": 21 }, "end": { "line": 201, - "column": 24 + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8554, + "end": 8555, + "loc": { + "start": { + "line": 201, + "column": 22 + }, + "end": { + "line": 201, + "column": 23 + } + } + }, + { + "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": 8561, + "end": 8565, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 202, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8565, + "end": 8566, + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dispatch", + "start": 8566, + "end": 8574, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8574, + "end": 8575, + "loc": { + "start": { + "line": 202, + "column": 17 + }, + "end": { + "line": 202, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8575, + "end": 8576, + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instance", + "start": 8576, + "end": 8584, + "loc": { + "start": { + "line": 202, + "column": 19 + }, + "end": { + "line": 202, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8584, + "end": 8585, + "loc": { + "start": { + "line": 202, + "column": 27 + }, + "end": { + "line": 202, + "column": 28 } } }, @@ -74228,16 +86231,16 @@ "binop": null, "updateContext": null }, - "start": 8299, - "end": 8301, + "start": 8586, + "end": 8588, "loc": { "start": { - "line": 201, - "column": 25 + "line": 202, + "column": 29 }, "end": { - "line": 201, - "column": 27 + "line": 202, + "column": 31 } } }, @@ -74253,16 +86256,16 @@ "postfix": false, "binop": null }, - "start": 8302, - "end": 8303, + "start": 8589, + "end": 8590, "loc": { "start": { - "line": 201, - "column": 28 + "line": 202, + "column": 32 }, "end": { - "line": 201, - "column": 29 + "line": 202, + "column": 33 } } }, @@ -74278,43 +86281,42 @@ "postfix": false, "binop": null }, - "value": "inputName", - "start": 8309, - "end": 8318, + "value": "instance", + "start": 8598, + "end": 8606, "loc": { "start": { - "line": 202, - "column": 4 + "line": 203, + "column": 6 }, "end": { - "line": 202, - "column": 13 + "line": 203, + "column": 14 } } }, { "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": 8319, - "end": 8320, + "start": 8606, + "end": 8607, "loc": { "start": { - "line": 202, + "line": 203, "column": 14 }, "end": { - "line": 202, + "line": 203, "column": 15 } } @@ -74331,43 +86333,41 @@ "postfix": false, "binop": null }, - "value": "inputName", - "start": 8321, - "end": 8330, + "value": "replaceInput", + "start": 8607, + "end": 8619, "loc": { "start": { - "line": 202, - "column": 16 + "line": 203, + "column": 15 }, "end": { - "line": 202, - "column": 25 + "line": 203, + "column": 27 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 8331, - "end": 8333, + "start": 8619, + "end": 8620, "loc": { "start": { - "line": 202, - "column": 26 + "line": 203, + "column": 27 }, "end": { - "line": 202, + "line": 203, "column": 28 } } @@ -74387,15 +86387,496 @@ "updateContext": null }, "value": "this", - "start": 8334, - "end": 8338, + "start": 8620, + "end": 8624, "loc": { "start": { - "line": 202, + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8624, + "end": 8625, + "loc": { + "start": { + "line": 203, + "column": 32 + }, + "end": { + "line": 203, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8625, + "end": 8630, + "loc": { + "start": { + "line": 203, + "column": 33 + }, + "end": { + "line": 203, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8630, + "end": 8631, + "loc": { + "start": { + "line": 203, + "column": 38 + }, + "end": { + "line": 203, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8631, + "end": 8632, + "loc": { + "start": { + "line": 203, + "column": 39 + }, + "end": { + "line": 203, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8638, + "end": 8639, + "loc": { + "start": { + "line": 204, + "column": 4 + }, + "end": { + "line": 204, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8639, + "end": 8640, + "loc": { + "start": { + "line": 204, + "column": 5 + }, + "end": { + "line": 204, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8640, + "end": 8641, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8645, + "end": 8646, + "loc": { + "start": { + "line": 205, + "column": 2 + }, + "end": { + "line": 205, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 8654, + "end": 8772, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 210, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInput", + "start": 8776, + "end": 8786, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 211, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8786, + "end": 8787, + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8787, + "end": 8796, + "loc": { + "start": { + "line": 211, + "column": 13 + }, + "end": { + "line": 211, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8796, + "end": 8797, + "loc": { + "start": { + "line": 211, + "column": 22 + }, + "end": { + "line": 211, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8797, + "end": 8798, + "loc": { + "start": { + "line": 211, + "column": 23 + }, + "end": { + "line": 211, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8804, + "end": 8813, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8814, + "end": 8815, + "loc": { + "start": { + "line": 212, + "column": 14 + }, + "end": { + "line": 212, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8816, + "end": 8825, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 25 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 8826, + "end": 8828, + "loc": { + "start": { + "line": 212, + "column": 26 + }, + "end": { + "line": 212, + "column": 28 + } + } + }, + { + "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": 8829, + "end": 8833, + "loc": { + "start": { + "line": 212, "column": 29 }, "end": { - "line": 202, + "line": 212, "column": 33 } } @@ -74413,15 +86894,15 @@ "binop": null, "updateContext": null }, - "start": 8338, - "end": 8339, + "start": 8833, + "end": 8834, "loc": { "start": { - "line": 202, + "line": 212, "column": 33 }, "end": { - "line": 202, + "line": 212, "column": 34 } } @@ -74439,15 +86920,15 @@ "binop": null }, "value": "options", - "start": 8339, - "end": 8346, + "start": 8834, + "end": 8841, "loc": { "start": { - "line": 202, + "line": 212, "column": 34 }, "end": { - "line": 202, + "line": 212, "column": 41 } } @@ -74465,15 +86946,15 @@ "binop": null, "updateContext": null }, - "start": 8346, - "end": 8347, + "start": 8841, + "end": 8842, "loc": { "start": { - "line": 202, + "line": 212, "column": 41 }, "end": { - "line": 202, + "line": 212, "column": 42 } } @@ -74491,15 +86972,15 @@ "binop": null }, "value": "inputName", - "start": 8347, - "end": 8356, + "start": 8842, + "end": 8851, "loc": { "start": { - "line": 202, + "line": 212, "column": 42 }, "end": { - "line": 202, + "line": 212, "column": 51 } } @@ -74517,31 +86998,375 @@ "binop": null, "updateContext": null }, - "start": 8356, - "end": 8357, + "start": 8851, + "end": 8852, "loc": { "start": { - "line": 202, + "line": 212, "column": 51 }, "end": { - "line": 202, + "line": 212, "column": 52 } } }, + { + "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": 8858, + "end": 8862, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8862, + "end": 8863, + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8863, + "end": 8868, + "loc": { + "start": { + "line": 213, + "column": 9 + }, + "end": { + "line": 213, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8868, + "end": 8869, + "loc": { + "start": { + "line": 213, + "column": 14 + }, + "end": { + "line": 213, + "column": 15 + } + } + }, + { + "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": 8869, + "end": 8873, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8873, + "end": 8874, + "loc": { + "start": { + "line": 213, + "column": 19 + }, + "end": { + "line": 213, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8874, + "end": 8881, + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8881, + "end": 8882, + "loc": { + "start": { + "line": 213, + "column": 27 + }, + "end": { + "line": 213, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8882, + "end": 8891, + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 37 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8891, + "end": 8892, + "loc": { + "start": { + "line": 213, + "column": 37 + }, + "end": { + "line": 213, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8893, + "end": 8894, + "loc": { + "start": { + "line": 213, + "column": 39 + }, + "end": { + "line": 213, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 8895, + "end": 8897, + "loc": { + "start": { + "line": 213, + "column": 41 + }, + "end": { + "line": 213, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8897, + "end": 8898, + "loc": { + "start": { + "line": 213, + "column": 43 + }, + "end": { + "line": 213, + "column": 44 + } + } + }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8365, - "end": 8420, + "start": 8906, + "end": 8961, "loc": { "start": { - "line": 204, + "line": 215, "column": 4 }, "end": { - "line": 206, + "line": 217, "column": 7 } } @@ -74561,15 +87386,15 @@ "updateContext": null }, "value": "if", - "start": 8426, - "end": 8428, + "start": 8967, + "end": 8969, "loc": { "start": { - "line": 207, + "line": 218, "column": 4 }, "end": { - "line": 207, + "line": 218, "column": 6 } } @@ -74586,15 +87411,15 @@ "postfix": false, "binop": null }, - "start": 8428, - "end": 8429, + "start": 8969, + "end": 8970, "loc": { "start": { - "line": 207, + "line": 218, "column": 6 }, "end": { - "line": 207, + "line": 218, "column": 7 } } @@ -74614,15 +87439,15 @@ "updateContext": null }, "value": "this", - "start": 8429, - "end": 8433, + "start": 8970, + "end": 8974, "loc": { "start": { - "line": 207, + "line": 218, "column": 7 }, "end": { - "line": 207, + "line": 218, "column": 11 } } @@ -74640,15 +87465,15 @@ "binop": null, "updateContext": null }, - "start": 8433, - "end": 8434, + "start": 8974, + "end": 8975, "loc": { "start": { - "line": 207, + "line": 218, "column": 11 }, "end": { - "line": 207, + "line": 218, "column": 12 } } @@ -74666,15 +87491,15 @@ "binop": null }, "value": "options", - "start": 8434, - "end": 8441, + "start": 8975, + "end": 8982, "loc": { "start": { - "line": 207, + "line": 218, "column": 12 }, "end": { - "line": 207, + "line": 218, "column": 19 } } @@ -74692,15 +87517,15 @@ "binop": null, "updateContext": null }, - "start": 8441, - "end": 8442, + "start": 8982, + "end": 8983, "loc": { "start": { - "line": 207, + "line": 218, "column": 19 }, "end": { - "line": 207, + "line": 218, "column": 20 } } @@ -74718,15 +87543,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8442, - "end": 8460, + "start": 8983, + "end": 9001, "loc": { "start": { - "line": 207, + "line": 218, "column": 20 }, "end": { - "line": 207, + "line": 218, "column": 38 } } @@ -74743,15 +87568,15 @@ "postfix": false, "binop": null }, - "start": 8460, - "end": 8461, + "start": 9001, + "end": 9002, "loc": { "start": { - "line": 207, + "line": 218, "column": 38 }, "end": { - "line": 207, + "line": 218, "column": 39 } } @@ -74771,15 +87596,15 @@ "updateContext": null }, "value": "this", - "start": 8469, - "end": 8473, + "start": 9010, + "end": 9014, "loc": { "start": { - "line": 208, + "line": 219, "column": 6 }, "end": { - "line": 208, + "line": 219, "column": 10 } } @@ -74797,15 +87622,15 @@ "binop": null, "updateContext": null }, - "start": 8473, - "end": 8474, + "start": 9014, + "end": 9015, "loc": { "start": { - "line": 208, + "line": 219, "column": 10 }, "end": { - "line": 208, + "line": 219, "column": 11 } } @@ -74823,15 +87648,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8474, - "end": 8492, + "start": 9015, + "end": 9033, "loc": { "start": { - "line": 208, + "line": 219, "column": 11 }, "end": { - "line": 208, + "line": 219, "column": 29 } } @@ -74848,15 +87673,15 @@ "postfix": false, "binop": null }, - "start": 8492, - "end": 8493, + "start": 9033, + "end": 9034, "loc": { "start": { - "line": 208, + "line": 219, "column": 29 }, "end": { - "line": 208, + "line": 219, "column": 30 } } @@ -74876,15 +87701,15 @@ "updateContext": null }, "value": "this", - "start": 8493, - "end": 8497, + "start": 9034, + "end": 9038, "loc": { "start": { - "line": 208, + "line": 219, "column": 30 }, "end": { - "line": 208, + "line": 219, "column": 34 } } @@ -74902,15 +87727,15 @@ "binop": null, "updateContext": null }, - "start": 8497, - "end": 8498, + "start": 9038, + "end": 9039, "loc": { "start": { - "line": 208, + "line": 219, "column": 34 }, "end": { - "line": 208, + "line": 219, "column": 35 } } @@ -74928,15 +87753,15 @@ "binop": null }, "value": "input", - "start": 8498, - "end": 8503, + "start": 9039, + "end": 9044, "loc": { "start": { - "line": 208, + "line": 219, "column": 35 }, "end": { - "line": 208, + "line": 219, "column": 40 } } @@ -74953,15 +87778,15 @@ "postfix": false, "binop": null }, - "start": 8503, - "end": 8504, + "start": 9044, + "end": 9045, "loc": { "start": { - "line": 208, + "line": 219, "column": 40 }, "end": { - "line": 208, + "line": 219, "column": 41 } } @@ -74979,15 +87804,909 @@ "binop": null, "updateContext": null }, - "start": 8504, - "end": 8505, + "start": 9045, + "end": 9046, "loc": { "start": { - "line": 208, + "line": 219, "column": 41 }, "end": { - "line": 208, + "line": 219, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9050, + "end": 9051, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 220, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", + "start": 9057, + "end": 9219, + "loc": { + "start": { + "line": 222, + "column": 2 + }, + "end": { + "line": 225, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getInput", + "start": 9223, + "end": 9231, + "loc": { + "start": { + "line": 226, + "column": 2 + }, + "end": { + "line": 226, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9231, + "end": 9232, + "loc": { + "start": { + "line": 226, + "column": 10 + }, + "end": { + "line": 226, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9241, + "end": 9242, + "loc": { + "start": { + "line": 226, + "column": 20 + }, + "end": { + "line": 226, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9242, + "end": 9243, + "loc": { + "start": { + "line": 226, + "column": 21 + }, + "end": { + "line": 226, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 9249, + "end": 9258, + "loc": { + "start": { + "line": 227, + "column": 4 + }, + "end": { + "line": 227, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9259, + "end": 9260, + "loc": { + "start": { + "line": 227, + "column": 14 + }, + "end": { + "line": 227, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 9261, + "end": 9270, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 25 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 9271, + "end": 9273, + "loc": { + "start": { + "line": 227, + "column": 26 + }, + "end": { + "line": 227, + "column": 28 + } + } + }, + { + "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": 9274, + "end": 9278, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9278, + "end": 9279, + "loc": { + "start": { + "line": 227, + "column": 33 + }, + "end": { + "line": 227, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 9279, + "end": 9286, + "loc": { + "start": { + "line": 227, + "column": 34 + }, + "end": { + "line": 227, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9286, + "end": 9287, + "loc": { + "start": { + "line": 227, + "column": 41 + }, + "end": { + "line": 227, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 9287, + "end": 9296, + "loc": { + "start": { + "line": 227, + "column": 42 + }, + "end": { + "line": 227, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9296, + "end": 9297, + "loc": { + "start": { + "line": 227, + "column": 51 + }, + "end": { + "line": 227, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 9305, + "end": 9360, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 231, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9366, + "end": 9368, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 232, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9368, + "end": 9369, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 7 + } + } + }, + { + "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": 9369, + "end": 9373, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9373, + "end": 9374, + "loc": { + "start": { + "line": 232, + "column": 11 + }, + "end": { + "line": 232, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 9374, + "end": 9381, + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9381, + "end": 9382, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 9382, + "end": 9400, + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9400, + "end": 9401, + "loc": { + "start": { + "line": 232, + "column": 38 + }, + "end": { + "line": 232, + "column": 39 + } + } + }, + { + "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": 9409, + "end": 9413, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9413, + "end": 9414, + "loc": { + "start": { + "line": 233, + "column": 10 + }, + "end": { + "line": 233, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 9414, + "end": 9432, + "loc": { + "start": { + "line": 233, + "column": 11 + }, + "end": { + "line": 233, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9432, + "end": 9433, + "loc": { + "start": { + "line": 233, + "column": 29 + }, + "end": { + "line": 233, + "column": 30 + } + } + }, + { + "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": 9433, + "end": 9437, + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 233, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9437, + "end": 9438, + "loc": { + "start": { + "line": 233, + "column": 34 + }, + "end": { + "line": 233, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 9438, + "end": 9443, + "loc": { + "start": { + "line": 233, + "column": 35 + }, + "end": { + "line": 233, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9443, + "end": 9444, + "loc": { + "start": { + "line": 233, + "column": 40 + }, + "end": { + "line": 233, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9444, + "end": 9445, + "loc": { + "start": { + "line": 233, + "column": 41 + }, + "end": { + "line": 233, "column": 42 } } @@ -75007,15 +88726,15 @@ "updateContext": null }, "value": "return", - "start": 8513, - "end": 8519, + "start": 9453, + "end": 9459, "loc": { "start": { - "line": 210, + "line": 235, "column": 4 }, "end": { - "line": 210, + "line": 235, "column": 10 } } @@ -75035,15 +88754,15 @@ "updateContext": null }, "value": "this", - "start": 8520, - "end": 8524, + "start": 9460, + "end": 9464, "loc": { "start": { - "line": 210, + "line": 235, "column": 11 }, "end": { - "line": 210, + "line": 235, "column": 15 } } @@ -75061,15 +88780,15 @@ "binop": null, "updateContext": null }, - "start": 8524, - "end": 8525, + "start": 9464, + "end": 9465, "loc": { "start": { - "line": 210, + "line": 235, "column": 15 }, "end": { - "line": 210, + "line": 235, "column": 16 } } @@ -75087,15 +88806,15 @@ "binop": null }, "value": "input", - "start": 8525, - "end": 8530, + "start": 9465, + "end": 9470, "loc": { "start": { - "line": 210, + "line": 235, "column": 16 }, "end": { - "line": 210, + "line": 235, "column": 21 } } @@ -75113,15 +88832,15 @@ "binop": null, "updateContext": null }, - "start": 8530, - "end": 8531, + "start": 9470, + "end": 9471, "loc": { "start": { - "line": 210, + "line": 235, "column": 21 }, "end": { - "line": 210, + "line": 235, "column": 22 } } @@ -75141,15 +88860,15 @@ "updateContext": null }, "value": "this", - "start": 8531, - "end": 8535, + "start": 9471, + "end": 9475, "loc": { "start": { - "line": 210, + "line": 235, "column": 22 }, "end": { - "line": 210, + "line": 235, "column": 26 } } @@ -75167,15 +88886,15 @@ "binop": null, "updateContext": null }, - "start": 8535, - "end": 8536, + "start": 9475, + "end": 9476, "loc": { "start": { - "line": 210, + "line": 235, "column": 26 }, "end": { - "line": 210, + "line": 235, "column": 27 } } @@ -75193,15 +88912,15 @@ "binop": null }, "value": "options", - "start": 8536, - "end": 8543, + "start": 9476, + "end": 9483, "loc": { "start": { - "line": 210, + "line": 235, "column": 27 }, "end": { - "line": 210, + "line": 235, "column": 34 } } @@ -75219,15 +88938,15 @@ "binop": null, "updateContext": null }, - "start": 8543, - "end": 8544, + "start": 9483, + "end": 9484, "loc": { "start": { - "line": 210, + "line": 235, "column": 34 }, "end": { - "line": 210, + "line": 235, "column": 35 } } @@ -75245,15 +88964,15 @@ "binop": null }, "value": "inputName", - "start": 8544, - "end": 8553, + "start": 9484, + "end": 9493, "loc": { "start": { - "line": 210, + "line": 235, "column": 35 }, "end": { - "line": 210, + "line": 235, "column": 44 } } @@ -75271,15 +88990,15 @@ "binop": null, "updateContext": null }, - "start": 8553, - "end": 8554, + "start": 9493, + "end": 9494, "loc": { "start": { - "line": 210, + "line": 235, "column": 44 }, "end": { - "line": 210, + "line": 235, "column": 45 } } @@ -75297,15 +89016,15 @@ "binop": null, "updateContext": null }, - "start": 8554, - "end": 8555, + "start": 9494, + "end": 9495, "loc": { "start": { - "line": 210, + "line": 235, "column": 45 }, "end": { - "line": 210, + "line": 235, "column": 46 } } @@ -75322,15 +89041,15 @@ "postfix": false, "binop": null }, - "start": 8559, - "end": 8560, + "start": 9499, + "end": 9500, "loc": { "start": { - "line": 211, + "line": 236, "column": 2 }, "end": { - "line": 211, + "line": 236, "column": 3 } } @@ -75338,15 +89057,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 8566, - "end": 8726, + "start": 9506, + "end": 9666, "loc": { "start": { - "line": 213, + "line": 238, "column": 2 }, "end": { - "line": 217, + "line": 242, "column": 5 } } @@ -75364,46 +89083,19 @@ "binop": null }, "value": "setInput", - "start": 8730, - "end": 8738, + "start": 9670, + "end": 9678, "loc": { "start": { - "line": 218, + "line": 243, "column": 2 }, "end": { - "line": 218, + "line": 243, "column": 10 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8739, - "end": 8740, - "loc": { - "start": { - "line": 218, - "column": 11 - }, - "end": { - "line": 218, - "column": 12 - } - } - }, { "type": { "label": "(", @@ -75416,16 +89108,16 @@ "postfix": false, "binop": null }, - "start": 8741, - "end": 8742, + "start": 9678, + "end": 9679, "loc": { "start": { - "line": 218, - "column": 13 + "line": 243, + "column": 10 }, "end": { - "line": 218, - "column": 14 + "line": 243, + "column": 11 } } }, @@ -75442,16 +89134,16 @@ "binop": null }, "value": "input", - "start": 8742, - "end": 8747, + "start": 9679, + "end": 9684, "loc": { "start": { - "line": 218, - "column": 14 + "line": 243, + "column": 11 }, "end": { - "line": 218, - "column": 19 + "line": 243, + "column": 16 } } }, @@ -75468,16 +89160,16 @@ "binop": null, "updateContext": null }, - "start": 8747, - "end": 8748, + "start": 9684, + "end": 9685, "loc": { "start": { - "line": 218, - "column": 19 + "line": 243, + "column": 16 }, "end": { - "line": 218, - "column": 20 + "line": 243, + "column": 17 } } }, @@ -75494,16 +89186,16 @@ "binop": null }, "value": "inputName", - "start": 8749, - "end": 8758, + "start": 9686, + "end": 9695, "loc": { "start": { - "line": 218, - "column": 21 + "line": 243, + "column": 18 }, "end": { - "line": 218, - "column": 30 + "line": 243, + "column": 27 } } }, @@ -75519,42 +89211,16 @@ "postfix": false, "binop": null }, - "start": 8758, - "end": 8759, + "start": 9695, + "end": 9696, "loc": { "start": { - "line": 218, - "column": 30 + "line": 243, + "column": 27 }, "end": { - "line": 218, - "column": 31 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8760, - "end": 8762, - "loc": { - "start": { - "line": 218, - "column": 32 - }, - "end": { - "line": 218, - "column": 34 + "line": 243, + "column": 28 } } }, @@ -75570,16 +89236,16 @@ "postfix": false, "binop": null }, - "start": 8763, - "end": 8764, + "start": 9696, + "end": 9697, "loc": { "start": { - "line": 218, - "column": 35 + "line": 243, + "column": 28 }, "end": { - "line": 218, - "column": 36 + "line": 243, + "column": 29 } } }, @@ -75596,15 +89262,15 @@ "binop": null }, "value": "inputName", - "start": 8770, - "end": 8779, + "start": 9703, + "end": 9712, "loc": { "start": { - "line": 219, + "line": 244, "column": 4 }, "end": { - "line": 219, + "line": 244, "column": 13 } } @@ -75623,15 +89289,15 @@ "updateContext": null }, "value": "=", - "start": 8780, - "end": 8781, + "start": 9713, + "end": 9714, "loc": { "start": { - "line": 219, + "line": 244, "column": 14 }, "end": { - "line": 219, + "line": 244, "column": 15 } } @@ -75649,15 +89315,15 @@ "binop": null }, "value": "inputName", - "start": 8782, - "end": 8791, + "start": 9715, + "end": 9724, "loc": { "start": { - "line": 219, + "line": 244, "column": 16 }, "end": { - "line": 219, + "line": 244, "column": 25 } } @@ -75676,15 +89342,15 @@ "updateContext": null }, "value": "||", - "start": 8792, - "end": 8794, + "start": 9725, + "end": 9727, "loc": { "start": { - "line": 219, + "line": 244, "column": 26 }, "end": { - "line": 219, + "line": 244, "column": 28 } } @@ -75704,15 +89370,15 @@ "updateContext": null }, "value": "this", - "start": 8795, - "end": 8799, + "start": 9728, + "end": 9732, "loc": { "start": { - "line": 219, + "line": 244, "column": 29 }, "end": { - "line": 219, + "line": 244, "column": 33 } } @@ -75730,15 +89396,15 @@ "binop": null, "updateContext": null }, - "start": 8799, - "end": 8800, + "start": 9732, + "end": 9733, "loc": { "start": { - "line": 219, + "line": 244, "column": 33 }, "end": { - "line": 219, + "line": 244, "column": 34 } } @@ -75756,15 +89422,15 @@ "binop": null }, "value": "options", - "start": 8800, - "end": 8807, + "start": 9733, + "end": 9740, "loc": { "start": { - "line": 219, + "line": 244, "column": 34 }, "end": { - "line": 219, + "line": 244, "column": 41 } } @@ -75782,15 +89448,15 @@ "binop": null, "updateContext": null }, - "start": 8807, - "end": 8808, + "start": 9740, + "end": 9741, "loc": { "start": { - "line": 219, + "line": 244, "column": 41 }, "end": { - "line": 219, + "line": 244, "column": 42 } } @@ -75808,15 +89474,15 @@ "binop": null }, "value": "inputName", - "start": 8808, - "end": 8817, + "start": 9741, + "end": 9750, "loc": { "start": { - "line": 219, + "line": 244, "column": 42 }, "end": { - "line": 219, + "line": 244, "column": 51 } } @@ -75834,15 +89500,15 @@ "binop": null, "updateContext": null }, - "start": 8817, - "end": 8818, + "start": 9750, + "end": 9751, "loc": { "start": { - "line": 219, + "line": 244, "column": 51 }, "end": { - "line": 219, + "line": 244, "column": 52 } } @@ -75862,15 +89528,15 @@ "updateContext": null }, "value": "this", - "start": 8824, - "end": 8828, + "start": 9757, + "end": 9761, "loc": { "start": { - "line": 220, + "line": 245, "column": 4 }, "end": { - "line": 220, + "line": 245, "column": 8 } } @@ -75888,15 +89554,15 @@ "binop": null, "updateContext": null }, - "start": 8828, - "end": 8829, + "start": 9761, + "end": 9762, "loc": { "start": { - "line": 220, + "line": 245, "column": 8 }, "end": { - "line": 220, + "line": 245, "column": 9 } } @@ -75914,15 +89580,15 @@ "binop": null }, "value": "input", - "start": 8829, - "end": 8834, + "start": 9762, + "end": 9767, "loc": { "start": { - "line": 220, + "line": 245, "column": 9 }, "end": { - "line": 220, + "line": 245, "column": 14 } } @@ -75940,15 +89606,15 @@ "binop": null, "updateContext": null }, - "start": 8834, - "end": 8835, + "start": 9767, + "end": 9768, "loc": { "start": { - "line": 220, + "line": 245, "column": 14 }, "end": { - "line": 220, + "line": 245, "column": 15 } } @@ -75966,15 +89632,15 @@ "binop": null }, "value": "inputName", - "start": 8835, - "end": 8844, + "start": 9768, + "end": 9777, "loc": { "start": { - "line": 220, + "line": 245, "column": 15 }, "end": { - "line": 220, + "line": 245, "column": 24 } } @@ -75992,15 +89658,15 @@ "binop": null, "updateContext": null }, - "start": 8844, - "end": 8845, + "start": 9777, + "end": 9778, "loc": { "start": { - "line": 220, + "line": 245, "column": 24 }, "end": { - "line": 220, + "line": 245, "column": 25 } } @@ -76019,15 +89685,15 @@ "updateContext": null }, "value": "=", - "start": 8846, - "end": 8847, + "start": 9779, + "end": 9780, "loc": { "start": { - "line": 220, + "line": 245, "column": 26 }, "end": { - "line": 220, + "line": 245, "column": 27 } } @@ -76045,15 +89711,15 @@ "binop": null }, "value": "input", - "start": 8848, - "end": 8853, + "start": 9781, + "end": 9786, "loc": { "start": { - "line": 220, + "line": 245, "column": 28 }, "end": { - "line": 220, + "line": 245, "column": 33 } } @@ -76071,15 +89737,15 @@ "binop": null, "updateContext": null }, - "start": 8853, - "end": 8854, + "start": 9786, + "end": 9787, "loc": { "start": { - "line": 220, + "line": 245, "column": 33 }, "end": { - "line": 220, + "line": 245, "column": 34 } } @@ -76087,15 +89753,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8862, - "end": 8917, + "start": 9795, + "end": 9850, "loc": { "start": { - "line": 222, + "line": 247, "column": 4 }, "end": { - "line": 224, + "line": 249, "column": 7 } } @@ -76115,15 +89781,15 @@ "updateContext": null }, "value": "if", - "start": 8923, - "end": 8925, + "start": 9856, + "end": 9858, "loc": { "start": { - "line": 225, + "line": 250, "column": 4 }, "end": { - "line": 225, + "line": 250, "column": 6 } } @@ -76140,15 +89806,15 @@ "postfix": false, "binop": null }, - "start": 8925, - "end": 8926, + "start": 9858, + "end": 9859, "loc": { "start": { - "line": 225, + "line": 250, "column": 6 }, "end": { - "line": 225, + "line": 250, "column": 7 } } @@ -76168,15 +89834,15 @@ "updateContext": null }, "value": "this", - "start": 8926, - "end": 8930, + "start": 9859, + "end": 9863, "loc": { "start": { - "line": 225, + "line": 250, "column": 7 }, "end": { - "line": 225, + "line": 250, "column": 11 } } @@ -76194,15 +89860,15 @@ "binop": null, "updateContext": null }, - "start": 8930, - "end": 8931, + "start": 9863, + "end": 9864, "loc": { "start": { - "line": 225, + "line": 250, "column": 11 }, "end": { - "line": 225, + "line": 250, "column": 12 } } @@ -76220,15 +89886,15 @@ "binop": null }, "value": "options", - "start": 8931, - "end": 8938, + "start": 9864, + "end": 9871, "loc": { "start": { - "line": 225, + "line": 250, "column": 12 }, "end": { - "line": 225, + "line": 250, "column": 19 } } @@ -76246,15 +89912,15 @@ "binop": null, "updateContext": null }, - "start": 8938, - "end": 8939, + "start": 9871, + "end": 9872, "loc": { "start": { - "line": 225, + "line": 250, "column": 19 }, "end": { - "line": 225, + "line": 250, "column": 20 } } @@ -76272,15 +89938,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8939, - "end": 8957, + "start": 9872, + "end": 9890, "loc": { "start": { - "line": 225, + "line": 250, "column": 20 }, "end": { - "line": 225, + "line": 250, "column": 38 } } @@ -76297,15 +89963,15 @@ "postfix": false, "binop": null }, - "start": 8957, - "end": 8958, + "start": 9890, + "end": 9891, "loc": { "start": { - "line": 225, + "line": 250, "column": 38 }, "end": { - "line": 225, + "line": 250, "column": 39 } } @@ -76325,15 +89991,15 @@ "updateContext": null }, "value": "this", - "start": 8966, - "end": 8970, + "start": 9899, + "end": 9903, "loc": { "start": { - "line": 226, + "line": 251, "column": 6 }, "end": { - "line": 226, + "line": 251, "column": 10 } } @@ -76351,15 +90017,15 @@ "binop": null, "updateContext": null }, - "start": 8970, - "end": 8971, + "start": 9903, + "end": 9904, "loc": { "start": { - "line": 226, + "line": 251, "column": 10 }, "end": { - "line": 226, + "line": 251, "column": 11 } } @@ -76377,15 +90043,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8971, - "end": 8989, + "start": 9904, + "end": 9922, "loc": { "start": { - "line": 226, + "line": 251, "column": 11 }, "end": { - "line": 226, + "line": 251, "column": 29 } } @@ -76402,15 +90068,15 @@ "postfix": false, "binop": null }, - "start": 8989, - "end": 8990, + "start": 9922, + "end": 9923, "loc": { "start": { - "line": 226, + "line": 251, "column": 29 }, "end": { - "line": 226, + "line": 251, "column": 30 } } @@ -76430,15 +90096,15 @@ "updateContext": null }, "value": "this", - "start": 8990, - "end": 8994, + "start": 9923, + "end": 9927, "loc": { "start": { - "line": 226, + "line": 251, "column": 30 }, "end": { - "line": 226, + "line": 251, "column": 34 } } @@ -76456,15 +90122,15 @@ "binop": null, "updateContext": null }, - "start": 8994, - "end": 8995, + "start": 9927, + "end": 9928, "loc": { "start": { - "line": 226, + "line": 251, "column": 34 }, "end": { - "line": 226, + "line": 251, "column": 35 } } @@ -76482,15 +90148,15 @@ "binop": null }, "value": "input", - "start": 8995, - "end": 9000, + "start": 9928, + "end": 9933, "loc": { "start": { - "line": 226, + "line": 251, "column": 35 }, "end": { - "line": 226, + "line": 251, "column": 40 } } @@ -76507,15 +90173,15 @@ "postfix": false, "binop": null }, - "start": 9000, - "end": 9001, + "start": 9933, + "end": 9934, "loc": { "start": { - "line": 226, + "line": 251, "column": 40 }, "end": { - "line": 226, + "line": 251, "column": 41 } } @@ -76533,15 +90199,15 @@ "binop": null, "updateContext": null }, - "start": 9001, - "end": 9002, + "start": 9934, + "end": 9935, "loc": { "start": { - "line": 226, + "line": 251, "column": 41 }, "end": { - "line": 226, + "line": 251, "column": 42 } } @@ -76558,15 +90224,15 @@ "postfix": false, "binop": null }, - "start": 9006, - "end": 9007, + "start": 9939, + "end": 9940, "loc": { "start": { - "line": 227, + "line": 252, "column": 2 }, "end": { - "line": 227, + "line": 252, "column": 3 } } @@ -76574,15 +90240,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 9015, - "end": 9124, + "start": 9948, + "end": 10057, "loc": { "start": { - "line": 229, + "line": 254, "column": 2 }, "end": { - "line": 232, + "line": 257, "column": 5 } } @@ -76600,46 +90266,19 @@ "binop": null }, "value": "replaceInput", - "start": 9128, - "end": 9140, + "start": 10061, + "end": 10073, "loc": { "start": { - "line": 233, + "line": 258, "column": 2 }, "end": { - "line": 233, + "line": 258, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9141, - "end": 9142, - "loc": { - "start": { - "line": 233, - "column": 15 - }, - "end": { - "line": 233, - "column": 16 - } - } - }, { "type": { "label": "(", @@ -76652,16 +90291,16 @@ "postfix": false, "binop": null }, - "start": 9143, - "end": 9144, + "start": 10073, + "end": 10074, "loc": { "start": { - "line": 233, - "column": 17 + "line": 258, + "column": 14 }, "end": { - "line": 233, - "column": 18 + "line": 258, + "column": 15 } } }, @@ -76678,16 +90317,16 @@ "binop": null }, "value": "inputObj", - "start": 9144, - "end": 9152, + "start": 10074, + "end": 10082, "loc": { "start": { - "line": 233, - "column": 18 + "line": 258, + "column": 15 }, "end": { - "line": 233, - "column": 26 + "line": 258, + "column": 23 } } }, @@ -76703,42 +90342,16 @@ "postfix": false, "binop": null }, - "start": 9152, - "end": 9153, + "start": 10082, + "end": 10083, "loc": { "start": { - "line": 233, - "column": 26 + "line": 258, + "column": 23 }, "end": { - "line": 233, - "column": 27 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9154, - "end": 9156, - "loc": { - "start": { - "line": 233, - "column": 28 - }, - "end": { - "line": 233, - "column": 30 + "line": 258, + "column": 24 } } }, @@ -76754,16 +90367,16 @@ "postfix": false, "binop": null }, - "start": 9157, - "end": 9158, + "start": 10083, + "end": 10084, "loc": { "start": { - "line": 233, - "column": 31 + "line": 258, + "column": 24 }, "end": { - "line": 233, - "column": 32 + "line": 258, + "column": 25 } } }, @@ -76782,15 +90395,15 @@ "updateContext": null }, "value": "this", - "start": 9164, - "end": 9168, + "start": 10090, + "end": 10094, "loc": { "start": { - "line": 234, + "line": 259, "column": 4 }, "end": { - "line": 234, + "line": 259, "column": 8 } } @@ -76808,15 +90421,15 @@ "binop": null, "updateContext": null }, - "start": 9168, - "end": 9169, + "start": 10094, + "end": 10095, "loc": { "start": { - "line": 234, + "line": 259, "column": 8 }, "end": { - "line": 234, + "line": 259, "column": 9 } } @@ -76834,15 +90447,15 @@ "binop": null }, "value": "input", - "start": 9169, - "end": 9174, + "start": 10095, + "end": 10100, "loc": { "start": { - "line": 234, + "line": 259, "column": 9 }, "end": { - "line": 234, + "line": 259, "column": 14 } } @@ -76861,15 +90474,15 @@ "updateContext": null }, "value": "=", - "start": 9175, - "end": 9176, + "start": 10101, + "end": 10102, "loc": { "start": { - "line": 234, + "line": 259, "column": 15 }, "end": { - "line": 234, + "line": 259, "column": 16 } } @@ -76887,15 +90500,15 @@ "binop": null }, "value": "inputObj", - "start": 9177, - "end": 9185, + "start": 10103, + "end": 10111, "loc": { "start": { - "line": 234, + "line": 259, "column": 17 }, "end": { - "line": 234, + "line": 259, "column": 25 } } @@ -76913,15 +90526,15 @@ "binop": null, "updateContext": null }, - "start": 9185, - "end": 9186, + "start": 10111, + "end": 10112, "loc": { "start": { - "line": 234, + "line": 259, "column": 25 }, "end": { - "line": 234, + "line": 259, "column": 26 } } @@ -76938,15 +90551,15 @@ "postfix": false, "binop": null }, - "start": 9190, - "end": 9191, + "start": 10116, + "end": 10117, "loc": { "start": { - "line": 235, + "line": 260, "column": 2 }, "end": { - "line": 235, + "line": 260, "column": 3 } } @@ -76954,15 +90567,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 9197, - "end": 9323, + "start": 10123, + "end": 10249, "loc": { "start": { - "line": 237, + "line": 262, "column": 2 }, "end": { - "line": 240, + "line": 265, "column": 5 } } @@ -76980,15 +90593,15 @@ "binop": null }, "value": "setOptions", - "start": 9327, - "end": 9337, + "start": 10253, + "end": 10263, "loc": { "start": { - "line": 241, + "line": 266, "column": 2 }, "end": { - "line": 241, + "line": 266, "column": 12 } } @@ -77007,15 +90620,15 @@ "updateContext": null }, "value": "=", - "start": 9338, - "end": 9339, + "start": 10264, + "end": 10265, "loc": { "start": { - "line": 241, + "line": 266, "column": 13 }, "end": { - "line": 241, + "line": 266, "column": 14 } } @@ -77033,15 +90646,15 @@ "binop": null }, "value": "option", - "start": 9340, - "end": 9346, + "start": 10266, + "end": 10272, "loc": { "start": { - "line": 241, + "line": 266, "column": 15 }, "end": { - "line": 241, + "line": 266, "column": 21 } } @@ -77059,15 +90672,15 @@ "binop": null, "updateContext": null }, - "start": 9347, - "end": 9349, + "start": 10273, + "end": 10275, "loc": { "start": { - "line": 241, + "line": 266, "column": 22 }, "end": { - "line": 241, + "line": 266, "column": 24 } } @@ -77084,15 +90697,15 @@ "postfix": false, "binop": null }, - "start": 9350, - "end": 9351, + "start": 10276, + "end": 10277, "loc": { "start": { - "line": 241, + "line": 266, "column": 25 }, "end": { - "line": 241, + "line": 266, "column": 26 } } @@ -77110,15 +90723,15 @@ "binop": null }, "value": "option", - "start": 9357, - "end": 9363, + "start": 10283, + "end": 10289, "loc": { "start": { - "line": 242, + "line": 267, "column": 4 }, "end": { - "line": 242, + "line": 267, "column": 10 } } @@ -77137,15 +90750,15 @@ "updateContext": null }, "value": "=", - "start": 9364, - "end": 9365, + "start": 10290, + "end": 10291, "loc": { "start": { - "line": 242, + "line": 267, "column": 11 }, "end": { - "line": 242, + "line": 267, "column": 12 } } @@ -77163,15 +90776,15 @@ "binop": null }, "value": "option", - "start": 9366, - "end": 9372, + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 242, + "line": 267, "column": 13 }, "end": { - "line": 242, + "line": 267, "column": 19 } } @@ -77190,15 +90803,15 @@ "updateContext": null }, "value": "||", - "start": 9373, - "end": 9375, + "start": 10299, + "end": 10301, "loc": { "start": { - "line": 242, + "line": 267, "column": 20 }, "end": { - "line": 242, + "line": 267, "column": 22 } } @@ -77215,15 +90828,15 @@ "postfix": false, "binop": null }, - "start": 9376, - "end": 9377, + "start": 10302, + "end": 10303, "loc": { "start": { - "line": 242, + "line": 267, "column": 23 }, "end": { - "line": 242, + "line": 267, "column": 24 } } @@ -77240,15 +90853,15 @@ "postfix": false, "binop": null }, - "start": 9377, - "end": 9378, + "start": 10303, + "end": 10304, "loc": { "start": { - "line": 242, + "line": 267, "column": 24 }, "end": { - "line": 242, + "line": 267, "column": 25 } } @@ -77266,15 +90879,15 @@ "binop": null, "updateContext": null }, - "start": 9378, - "end": 9379, + "start": 10304, + "end": 10305, "loc": { "start": { - "line": 242, + "line": 267, "column": 25 }, "end": { - "line": 242, + "line": 267, "column": 26 } } @@ -77294,15 +90907,15 @@ "updateContext": null }, "value": "this", - "start": 9385, - "end": 9389, + "start": 10311, + "end": 10315, "loc": { "start": { - "line": 243, + "line": 268, "column": 4 }, "end": { - "line": 243, + "line": 268, "column": 8 } } @@ -77320,15 +90933,15 @@ "binop": null, "updateContext": null }, - "start": 9389, - "end": 9390, + "start": 10315, + "end": 10316, "loc": { "start": { - "line": 243, + "line": 268, "column": 8 }, "end": { - "line": 243, + "line": 268, "column": 9 } } @@ -77346,15 +90959,15 @@ "binop": null }, "value": "options", - "start": 9390, - "end": 9397, + "start": 10316, + "end": 10323, "loc": { "start": { - "line": 243, + "line": 268, "column": 9 }, "end": { - "line": 243, + "line": 268, "column": 16 } } @@ -77373,15 +90986,15 @@ "updateContext": null }, "value": "=", - "start": 9398, - "end": 9399, + "start": 10324, + "end": 10325, "loc": { "start": { - "line": 243, + "line": 268, "column": 17 }, "end": { - "line": 243, + "line": 268, "column": 18 } } @@ -77399,15 +91012,15 @@ "binop": null }, "value": "Object", - "start": 9400, - "end": 9406, + "start": 10326, + "end": 10332, "loc": { "start": { - "line": 243, + "line": 268, "column": 19 }, "end": { - "line": 243, + "line": 268, "column": 25 } } @@ -77425,15 +91038,15 @@ "binop": null, "updateContext": null }, - "start": 9406, - "end": 9407, + "start": 10332, + "end": 10333, "loc": { "start": { - "line": 243, + "line": 268, "column": 25 }, "end": { - "line": 243, + "line": 268, "column": 26 } } @@ -77451,15 +91064,15 @@ "binop": null }, "value": "assign", - "start": 9407, - "end": 9413, + "start": 10333, + "end": 10339, "loc": { "start": { - "line": 243, + "line": 268, "column": 26 }, "end": { - "line": 243, + "line": 268, "column": 32 } } @@ -77476,15 +91089,15 @@ "postfix": false, "binop": null }, - "start": 9413, - "end": 9414, + "start": 10339, + "end": 10340, "loc": { "start": { - "line": 243, + "line": 268, "column": 32 }, "end": { - "line": 243, + "line": 268, "column": 33 } } @@ -77504,15 +91117,15 @@ "updateContext": null }, "value": "this", - "start": 9414, - "end": 9418, + "start": 10340, + "end": 10344, "loc": { "start": { - "line": 243, + "line": 268, "column": 33 }, "end": { - "line": 243, + "line": 268, "column": 37 } } @@ -77530,15 +91143,15 @@ "binop": null, "updateContext": null }, - "start": 9418, - "end": 9419, + "start": 10344, + "end": 10345, "loc": { "start": { - "line": 243, + "line": 268, "column": 37 }, "end": { - "line": 243, + "line": 268, "column": 38 } } @@ -77556,15 +91169,15 @@ "binop": null }, "value": "options", - "start": 9419, - "end": 9426, + "start": 10345, + "end": 10352, "loc": { "start": { - "line": 243, + "line": 268, "column": 38 }, "end": { - "line": 243, + "line": 268, "column": 45 } } @@ -77582,15 +91195,15 @@ "binop": null, "updateContext": null }, - "start": 9426, - "end": 9427, + "start": 10352, + "end": 10353, "loc": { "start": { - "line": 243, + "line": 268, "column": 45 }, "end": { - "line": 243, + "line": 268, "column": 46 } } @@ -77608,15 +91221,15 @@ "binop": null }, "value": "option", - "start": 9428, - "end": 9434, + "start": 10354, + "end": 10360, "loc": { "start": { - "line": 243, + "line": 268, "column": 47 }, "end": { - "line": 243, + "line": 268, "column": 53 } } @@ -77633,15 +91246,15 @@ "postfix": false, "binop": null }, - "start": 9434, - "end": 9435, + "start": 10360, + "end": 10361, "loc": { "start": { - "line": 243, + "line": 268, "column": 53 }, "end": { - "line": 243, + "line": 268, "column": 54 } } @@ -77659,15 +91272,15 @@ "binop": null, "updateContext": null }, - "start": 9435, - "end": 9436, + "start": 10361, + "end": 10362, "loc": { "start": { - "line": 243, + "line": 268, "column": 54 }, "end": { - "line": 243, + "line": 268, "column": 55 } } @@ -77687,15 +91300,15 @@ "updateContext": null }, "value": "this", - "start": 9442, - "end": 9446, + "start": 10368, + "end": 10372, "loc": { "start": { - "line": 244, + "line": 269, "column": 4 }, "end": { - "line": 244, + "line": 269, "column": 8 } } @@ -77713,15 +91326,15 @@ "binop": null, "updateContext": null }, - "start": 9446, - "end": 9447, + "start": 10372, + "end": 10373, "loc": { "start": { - "line": 244, + "line": 269, "column": 8 }, "end": { - "line": 244, + "line": 269, "column": 9 } } @@ -77739,15 +91352,15 @@ "binop": null }, "value": "render", - "start": 9447, - "end": 9453, + "start": 10373, + "end": 10379, "loc": { "start": { - "line": 244, + "line": 269, "column": 9 }, "end": { - "line": 244, + "line": 269, "column": 15 } } @@ -77764,15 +91377,15 @@ "postfix": false, "binop": null }, - "start": 9453, - "end": 9454, + "start": 10379, + "end": 10380, "loc": { "start": { - "line": 244, + "line": 269, "column": 15 }, "end": { - "line": 244, + "line": 269, "column": 16 } } @@ -77789,15 +91402,15 @@ "postfix": false, "binop": null }, - "start": 9454, - "end": 9455, + "start": 10380, + "end": 10381, "loc": { "start": { - "line": 244, + "line": 269, "column": 16 }, "end": { - "line": 244, + "line": 269, "column": 17 } } @@ -77815,15 +91428,15 @@ "binop": null, "updateContext": null }, - "start": 9455, - "end": 9456, + "start": 10381, + "end": 10382, "loc": { "start": { - "line": 244, + "line": 269, "column": 17 }, "end": { - "line": 244, + "line": 269, "column": 18 } } @@ -77840,15 +91453,15 @@ "postfix": false, "binop": null }, - "start": 9460, - "end": 9461, + "start": 10386, + "end": 10387, "loc": { "start": { - "line": 245, + "line": 270, "column": 2 }, "end": { - "line": 245, + "line": 270, "column": 3 } } @@ -77856,15 +91469,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 9467, - "end": 9576, + "start": 10393, + "end": 10502, "loc": { "start": { - "line": 247, + "line": 272, "column": 2 }, "end": { - "line": 250, + "line": 275, "column": 5 } } @@ -77882,46 +91495,19 @@ "binop": null }, "value": "clear", - "start": 9580, - "end": 9585, + "start": 10506, + "end": 10511, "loc": { "start": { - "line": 251, + "line": 276, "column": 2 }, "end": { - "line": 251, + "line": 276, "column": 7 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9586, - "end": 9587, - "loc": { - "start": { - "line": 251, - "column": 8 - }, - "end": { - "line": 251, - "column": 9 - } - } - }, { "type": { "label": "(", @@ -77934,16 +91520,16 @@ "postfix": false, "binop": null }, - "start": 9588, - "end": 9589, + "start": 10511, + "end": 10512, "loc": { "start": { - "line": 251, - "column": 10 + "line": 276, + "column": 7 }, "end": { - "line": 251, - "column": 11 + "line": 276, + "column": 8 } } }, @@ -77959,42 +91545,16 @@ "postfix": false, "binop": null }, - "start": 9589, - "end": 9590, + "start": 10512, + "end": 10513, "loc": { "start": { - "line": 251, - "column": 11 + "line": 276, + "column": 8 }, "end": { - "line": 251, - "column": 12 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9591, - "end": 9593, - "loc": { - "start": { - "line": 251, - "column": 13 - }, - "end": { - "line": 251, - "column": 15 + "line": 276, + "column": 9 } } }, @@ -78010,16 +91570,16 @@ "postfix": false, "binop": null }, - "start": 9594, - "end": 9595, + "start": 10513, + "end": 10514, "loc": { "start": { - "line": 251, - "column": 16 + "line": 276, + "column": 9 }, "end": { - "line": 251, - "column": 17 + "line": 276, + "column": 10 } } }, @@ -78038,15 +91598,15 @@ "updateContext": null }, "value": "this", - "start": 9601, - "end": 9605, + "start": 10520, + "end": 10524, "loc": { "start": { - "line": 252, + "line": 277, "column": 4 }, "end": { - "line": 252, + "line": 277, "column": 8 } } @@ -78064,15 +91624,15 @@ "binop": null, "updateContext": null }, - "start": 9605, - "end": 9606, + "start": 10524, + "end": 10525, "loc": { "start": { - "line": 252, + "line": 277, "column": 8 }, "end": { - "line": 252, + "line": 277, "column": 9 } } @@ -78090,15 +91650,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 9606, - "end": 9617, + "start": 10525, + "end": 10536, "loc": { "start": { - "line": 252, + "line": 277, "column": 9 }, "end": { - "line": 252, + "line": 277, "column": 20 } } @@ -78116,15 +91676,15 @@ "binop": null, "updateContext": null }, - "start": 9617, - "end": 9618, + "start": 10536, + "end": 10537, "loc": { "start": { - "line": 252, + "line": 277, "column": 20 }, "end": { - "line": 252, + "line": 277, "column": 21 } } @@ -78142,15 +91702,15 @@ "binop": null }, "value": "innerHTML", - "start": 9618, - "end": 9627, + "start": 10537, + "end": 10546, "loc": { "start": { - "line": 252, + "line": 277, "column": 21 }, "end": { - "line": 252, + "line": 277, "column": 30 } } @@ -78169,15 +91729,15 @@ "updateContext": null }, "value": "=", - "start": 9628, - "end": 9629, + "start": 10547, + "end": 10548, "loc": { "start": { - "line": 252, + "line": 277, "column": 31 }, "end": { - "line": 252, + "line": 277, "column": 32 } } @@ -78196,15 +91756,15 @@ "updateContext": null }, "value": "", - "start": 9630, - "end": 9632, + "start": 10549, + "end": 10551, "loc": { "start": { - "line": 252, + "line": 277, "column": 33 }, "end": { - "line": 252, + "line": 277, "column": 35 } } @@ -78222,15 +91782,15 @@ "binop": null, "updateContext": null }, - "start": 9632, - "end": 9633, + "start": 10551, + "end": 10552, "loc": { "start": { - "line": 252, + "line": 277, "column": 35 }, "end": { - "line": 252, + "line": 277, "column": 36 } } @@ -78250,15 +91810,15 @@ "updateContext": null }, "value": "this", - "start": 9639, - "end": 9643, + "start": 10558, + "end": 10562, "loc": { "start": { - "line": 253, + "line": 278, "column": 4 }, "end": { - "line": 253, + "line": 278, "column": 8 } } @@ -78276,15 +91836,15 @@ "binop": null, "updateContext": null }, - "start": 9643, - "end": 9644, + "start": 10562, + "end": 10563, "loc": { "start": { - "line": 253, + "line": 278, "column": 8 }, "end": { - "line": 253, + "line": 278, "column": 9 } } @@ -78302,15 +91862,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 9644, - "end": 9655, + "start": 10563, + "end": 10574, "loc": { "start": { - "line": 253, + "line": 278, "column": 9 }, "end": { - "line": 253, + "line": 278, "column": 20 } } @@ -78328,15 +91888,15 @@ "binop": null, "updateContext": null }, - "start": 9655, - "end": 9656, + "start": 10574, + "end": 10575, "loc": { "start": { - "line": 253, + "line": 278, "column": 20 }, "end": { - "line": 253, + "line": 278, "column": 21 } } @@ -78354,15 +91914,15 @@ "binop": null }, "value": "className", - "start": 9656, - "end": 9665, + "start": 10575, + "end": 10584, "loc": { "start": { - "line": 253, + "line": 278, "column": 21 }, "end": { - "line": 253, + "line": 278, "column": 30 } } @@ -78381,15 +91941,15 @@ "updateContext": null }, "value": "=", - "start": 9666, - "end": 9667, + "start": 10585, + "end": 10586, "loc": { "start": { - "line": 253, + "line": 278, "column": 31 }, "end": { - "line": 253, + "line": 278, "column": 32 } } @@ -78409,15 +91969,15 @@ "updateContext": null }, "value": "this", - "start": 9668, - "end": 9672, + "start": 10587, + "end": 10591, "loc": { "start": { - "line": 253, + "line": 278, "column": 33 }, "end": { - "line": 253, + "line": 278, "column": 37 } } @@ -78435,15 +91995,15 @@ "binop": null, "updateContext": null }, - "start": 9672, - "end": 9673, + "start": 10591, + "end": 10592, "loc": { "start": { - "line": 253, + "line": 278, "column": 37 }, "end": { - "line": 253, + "line": 278, "column": 38 } } @@ -78461,15 +92021,15 @@ "binop": null }, "value": "keyboardDOMClass", - "start": 9673, - "end": 9689, + "start": 10592, + "end": 10608, "loc": { "start": { - "line": 253, + "line": 278, "column": 38 }, "end": { - "line": 253, + "line": 278, "column": 54 } } @@ -78487,15 +92047,15 @@ "binop": null, "updateContext": null }, - "start": 9689, - "end": 9690, + "start": 10608, + "end": 10609, "loc": { "start": { - "line": 253, + "line": 278, "column": 54 }, "end": { - "line": 253, + "line": 278, "column": 55 } } @@ -78515,15 +92075,15 @@ "updateContext": null }, "value": "this", - "start": 9696, - "end": 9700, + "start": 10615, + "end": 10619, "loc": { "start": { - "line": 254, + "line": 279, "column": 4 }, "end": { - "line": 254, + "line": 279, "column": 8 } } @@ -78541,15 +92101,15 @@ "binop": null, "updateContext": null }, - "start": 9700, - "end": 9701, + "start": 10619, + "end": 10620, "loc": { "start": { - "line": 254, + "line": 279, "column": 8 }, "end": { - "line": 254, + "line": 279, "column": 9 } } @@ -78567,15 +92127,15 @@ "binop": null }, "value": "buttonElements", - "start": 9701, - "end": 9715, + "start": 10620, + "end": 10634, "loc": { "start": { - "line": 254, + "line": 279, "column": 9 }, "end": { - "line": 254, + "line": 279, "column": 23 } } @@ -78594,15 +92154,15 @@ "updateContext": null }, "value": "=", - "start": 9716, - "end": 9717, + "start": 10635, + "end": 10636, "loc": { "start": { - "line": 254, + "line": 279, "column": 24 }, "end": { - "line": 254, + "line": 279, "column": 25 } } @@ -78619,15 +92179,15 @@ "postfix": false, "binop": null }, - "start": 9718, - "end": 9719, + "start": 10637, + "end": 10638, "loc": { "start": { - "line": 254, + "line": 279, "column": 26 }, "end": { - "line": 254, + "line": 279, "column": 27 } } @@ -78644,15 +92204,15 @@ "postfix": false, "binop": null }, - "start": 9719, - "end": 9720, + "start": 10638, + "end": 10639, "loc": { "start": { - "line": 254, + "line": 279, "column": 27 }, "end": { - "line": 254, + "line": 279, "column": 28 } } @@ -78670,15 +92230,15 @@ "binop": null, "updateContext": null }, - "start": 9720, - "end": 9721, + "start": 10639, + "end": 10640, "loc": { "start": { - "line": 254, + "line": 279, "column": 28 }, "end": { - "line": 254, + "line": 279, "column": 29 } } @@ -78695,15 +92255,15 @@ "postfix": false, "binop": null }, - "start": 9725, - "end": 9726, + "start": 10644, + "end": 10645, "loc": { "start": { - "line": 255, + "line": 280, "column": 2 }, "end": { - "line": 255, + "line": 280, "column": 3 } } @@ -78711,15 +92271,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 9732, - "end": 9937, + "start": 10651, + "end": 10856, "loc": { "start": { - "line": 257, + "line": 282, "column": 2 }, "end": { - "line": 260, + "line": 285, "column": 5 } } @@ -78737,46 +92297,19 @@ "binop": null }, "value": "dispatch", - "start": 9941, - "end": 9949, + "start": 10860, + "end": 10868, "loc": { "start": { - "line": 261, + "line": 286, "column": 2 }, "end": { - "line": 261, + "line": 286, "column": 10 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9950, - "end": 9951, - "loc": { - "start": { - "line": 261, - "column": 11 - }, - "end": { - "line": 261, - "column": 12 - } - } - }, { "type": { "label": "(", @@ -78789,16 +92322,16 @@ "postfix": false, "binop": null }, - "start": 9952, - "end": 9953, + "start": 10868, + "end": 10869, "loc": { "start": { - "line": 261, - "column": 13 + "line": 286, + "column": 10 }, "end": { - "line": 261, - "column": 14 + "line": 286, + "column": 11 } } }, @@ -78815,16 +92348,16 @@ "binop": null }, "value": "callback", - "start": 9953, - "end": 9961, + "start": 10869, + "end": 10877, "loc": { "start": { - "line": 261, - "column": 14 + "line": 286, + "column": 11 }, "end": { - "line": 261, - "column": 22 + "line": 286, + "column": 19 } } }, @@ -78840,42 +92373,16 @@ "postfix": false, "binop": null }, - "start": 9961, - "end": 9962, + "start": 10877, + "end": 10878, "loc": { "start": { - "line": 261, - "column": 22 + "line": 286, + "column": 19 }, "end": { - "line": 261, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9963, - "end": 9965, - "loc": { - "start": { - "line": 261, - "column": 24 - }, - "end": { - "line": 261, - "column": 26 + "line": 286, + "column": 20 } } }, @@ -78891,16 +92398,16 @@ "postfix": false, "binop": null }, - "start": 9966, - "end": 9967, + "start": 10878, + "end": 10879, "loc": { "start": { - "line": 261, - "column": 27 + "line": 286, + "column": 20 }, "end": { - "line": 261, - "column": 28 + "line": 286, + "column": 21 } } }, @@ -78919,15 +92426,15 @@ "updateContext": null }, "value": "if", - "start": 9973, - "end": 9975, + "start": 10885, + "end": 10887, "loc": { "start": { - "line": 262, + "line": 287, "column": 4 }, "end": { - "line": 262, + "line": 287, "column": 6 } } @@ -78944,15 +92451,15 @@ "postfix": false, "binop": null }, - "start": 9975, - "end": 9976, + "start": 10887, + "end": 10888, "loc": { "start": { - "line": 262, + "line": 287, "column": 6 }, "end": { - "line": 262, + "line": 287, "column": 7 } } @@ -78971,15 +92478,15 @@ "updateContext": null }, "value": "!", - "start": 9976, - "end": 9977, + "start": 10888, + "end": 10889, "loc": { "start": { - "line": 262, + "line": 287, "column": 7 }, "end": { - "line": 262, + "line": 287, "column": 8 } } @@ -78997,15 +92504,15 @@ "binop": null }, "value": "window", - "start": 9977, - "end": 9983, + "start": 10889, + "end": 10895, "loc": { "start": { - "line": 262, + "line": 287, "column": 8 }, "end": { - "line": 262, + "line": 287, "column": 14 } } @@ -79023,15 +92530,15 @@ "binop": null, "updateContext": null }, - "start": 9983, - "end": 9984, + "start": 10895, + "end": 10896, "loc": { "start": { - "line": 262, + "line": 287, "column": 14 }, "end": { - "line": 262, + "line": 287, "column": 15 } } @@ -79050,15 +92557,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 9984, - "end": 10009, + "start": 10896, + "end": 10921, "loc": { "start": { - "line": 262, + "line": 287, "column": 15 }, "end": { - "line": 262, + "line": 287, "column": 40 } } @@ -79076,15 +92583,15 @@ "binop": null, "updateContext": null }, - "start": 10009, - "end": 10010, + "start": 10921, + "end": 10922, "loc": { "start": { - "line": 262, + "line": 287, "column": 40 }, "end": { - "line": 262, + "line": 287, "column": 41 } } @@ -79101,15 +92608,15 @@ "postfix": false, "binop": null }, - "start": 10010, - "end": 10011, + "start": 10922, + "end": 10923, "loc": { "start": { - "line": 262, + "line": 287, "column": 41 }, "end": { - "line": 262, + "line": 287, "column": 42 } } @@ -79126,15 +92633,15 @@ "postfix": false, "binop": null }, - "start": 10011, - "end": 10012, + "start": 10923, + "end": 10924, "loc": { "start": { - "line": 262, + "line": 287, "column": 42 }, "end": { - "line": 262, + "line": 287, "column": 43 } } @@ -79152,15 +92659,15 @@ "binop": null }, "value": "console", - "start": 10020, - "end": 10027, + "start": 10932, + "end": 10939, "loc": { "start": { - "line": 263, + "line": 288, "column": 6 }, "end": { - "line": 263, + "line": 288, "column": 13 } } @@ -79178,15 +92685,15 @@ "binop": null, "updateContext": null }, - "start": 10027, - "end": 10028, + "start": 10939, + "end": 10940, "loc": { "start": { - "line": 263, + "line": 288, "column": 13 }, "end": { - "line": 263, + "line": 288, "column": 14 } } @@ -79204,15 +92711,15 @@ "binop": null }, "value": "warn", - "start": 10028, - "end": 10032, + "start": 10940, + "end": 10944, "loc": { "start": { - "line": 263, + "line": 288, "column": 14 }, "end": { - "line": 263, + "line": 288, "column": 18 } } @@ -79229,15 +92736,15 @@ "postfix": false, "binop": null }, - "start": 10032, - "end": 10033, + "start": 10944, + "end": 10945, "loc": { "start": { - "line": 263, + "line": 288, "column": 18 }, "end": { - "line": 263, + "line": 288, "column": 19 } } @@ -79254,15 +92761,15 @@ "postfix": false, "binop": null }, - "start": 10033, - "end": 10034, + "start": 10945, + "end": 10946, "loc": { "start": { - "line": 263, + "line": 288, "column": 19 }, "end": { - "line": 263, + "line": 288, "column": 20 } } @@ -79281,15 +92788,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", - "start": 10034, - "end": 10100, + "start": 10946, + "end": 11012, "loc": { "start": { - "line": 263, + "line": 288, "column": 20 }, "end": { - "line": 263, + "line": 288, "column": 86 } } @@ -79306,15 +92813,15 @@ "postfix": false, "binop": null }, - "start": 10100, - "end": 10101, + "start": 11012, + "end": 11013, "loc": { "start": { - "line": 263, + "line": 288, "column": 86 }, "end": { - "line": 263, + "line": 288, "column": 87 } } @@ -79331,15 +92838,15 @@ "postfix": false, "binop": null }, - "start": 10101, - "end": 10102, + "start": 11013, + "end": 11014, "loc": { "start": { - "line": 263, + "line": 288, "column": 87 }, "end": { - "line": 263, + "line": 288, "column": 88 } } @@ -79357,15 +92864,15 @@ "binop": null, "updateContext": null }, - "start": 10102, - "end": 10103, + "start": 11014, + "end": 11015, "loc": { "start": { - "line": 263, + "line": 288, "column": 88 }, "end": { - "line": 263, + "line": 288, "column": 89 } } @@ -79385,15 +92892,15 @@ "updateContext": null }, "value": "throw", - "start": 10111, - "end": 10116, + "start": 11023, + "end": 11028, "loc": { "start": { - "line": 264, + "line": 289, "column": 6 }, "end": { - "line": 264, + "line": 289, "column": 11 } } @@ -79413,15 +92920,15 @@ "updateContext": null }, "value": "new", - "start": 10117, - "end": 10120, + "start": 11029, + "end": 11032, "loc": { "start": { - "line": 264, + "line": 289, "column": 12 }, "end": { - "line": 264, + "line": 289, "column": 15 } } @@ -79439,15 +92946,15 @@ "binop": null }, "value": "Error", - "start": 10121, - "end": 10126, + "start": 11033, + "end": 11038, "loc": { "start": { - "line": 264, + "line": 289, "column": 16 }, "end": { - "line": 264, + "line": 289, "column": 21 } } @@ -79464,15 +92971,15 @@ "postfix": false, "binop": null }, - "start": 10126, - "end": 10127, + "start": 11038, + "end": 11039, "loc": { "start": { - "line": 264, + "line": 289, "column": 21 }, "end": { - "line": 264, + "line": 289, "column": 22 } } @@ -79491,15 +92998,15 @@ "updateContext": null }, "value": "INSTANCES_VAR_ERROR", - "start": 10127, - "end": 10148, + "start": 11039, + "end": 11060, "loc": { "start": { - "line": 264, + "line": 289, "column": 22 }, "end": { - "line": 264, + "line": 289, "column": 43 } } @@ -79516,15 +93023,15 @@ "postfix": false, "binop": null }, - "start": 10148, - "end": 10149, + "start": 11060, + "end": 11061, "loc": { "start": { - "line": 264, + "line": 289, "column": 43 }, "end": { - "line": 264, + "line": 289, "column": 44 } } @@ -79542,15 +93049,15 @@ "binop": null, "updateContext": null }, - "start": 10149, - "end": 10150, + "start": 11061, + "end": 11062, "loc": { "start": { - "line": 264, + "line": 289, "column": 44 }, "end": { - "line": 264, + "line": 289, "column": 45 } } @@ -79567,15 +93074,15 @@ "postfix": false, "binop": null }, - "start": 10156, - "end": 10157, + "start": 11068, + "end": 11069, "loc": { "start": { - "line": 265, + "line": 290, "column": 4 }, "end": { - "line": 265, + "line": 290, "column": 5 } } @@ -79595,15 +93102,15 @@ "updateContext": null }, "value": "return", - "start": 10169, - "end": 10175, + "start": 11081, + "end": 11087, "loc": { "start": { - "line": 267, + "line": 292, "column": 4 }, "end": { - "line": 267, + "line": 292, "column": 10 } } @@ -79621,15 +93128,15 @@ "binop": null }, "value": "Object", - "start": 10176, - "end": 10182, + "start": 11088, + "end": 11094, "loc": { "start": { - "line": 267, + "line": 292, "column": 11 }, "end": { - "line": 267, + "line": 292, "column": 17 } } @@ -79647,15 +93154,15 @@ "binop": null, "updateContext": null }, - "start": 10182, - "end": 10183, + "start": 11094, + "end": 11095, "loc": { "start": { - "line": 267, + "line": 292, "column": 17 }, "end": { - "line": 267, + "line": 292, "column": 18 } } @@ -79673,2885 +93180,16 @@ "binop": null }, "value": "keys", - "start": 10183, - "end": 10187, - "loc": { - "start": { - "line": 267, - "column": 18 - }, - "end": { - "line": 267, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10187, - "end": 10188, - "loc": { - "start": { - "line": 267, - "column": 22 - }, - "end": { - "line": 267, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 10188, - "end": 10194, - "loc": { - "start": { - "line": 267, - "column": 23 - }, - "end": { - "line": 267, - "column": 29 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10194, - "end": 10195, - "loc": { - "start": { - "line": 267, - "column": 29 - }, - "end": { - "line": 267, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "SimpleKeyboardInstances", - "start": 10195, - "end": 10220, - "loc": { - "start": { - "line": 267, - "column": 30 - }, - "end": { - "line": 267, - "column": 55 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10220, - "end": 10221, - "loc": { - "start": { - "line": 267, - "column": 55 - }, - "end": { - "line": 267, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10221, - "end": 10222, - "loc": { - "start": { - "line": 267, - "column": 56 - }, - "end": { - "line": 267, - "column": 57 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10222, - "end": 10223, - "loc": { - "start": { - "line": 267, - "column": 57 - }, - "end": { - "line": 267, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 10223, - "end": 10230, - "loc": { - "start": { - "line": 267, - "column": 58 - }, - "end": { - "line": 267, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10230, - "end": 10231, - "loc": { - "start": { - "line": 267, - "column": 65 - }, - "end": { - "line": 267, - "column": 66 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10231, - "end": 10232, - "loc": { - "start": { - "line": 267, - "column": 66 - }, - "end": { - "line": 267, - "column": 67 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 10232, - "end": 10235, - "loc": { - "start": { - "line": 267, - "column": 67 - }, - "end": { - "line": 267, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10235, - "end": 10236, - "loc": { - "start": { - "line": 267, - "column": 70 - }, - "end": { - "line": 267, - "column": 71 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10237, - "end": 10239, - "loc": { - "start": { - "line": 267, - "column": 72 - }, - "end": { - "line": 267, - "column": 74 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10240, - "end": 10241, - "loc": { - "start": { - "line": 267, - "column": 75 - }, - "end": { - "line": 267, - "column": 76 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callback", - "start": 10249, - "end": 10257, - "loc": { - "start": { - "line": 268, - "column": 6 - }, - "end": { - "line": 268, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10257, - "end": 10258, - "loc": { - "start": { - "line": 268, - "column": 14 - }, - "end": { - "line": 268, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 10258, - "end": 10264, - "loc": { - "start": { - "line": 268, - "column": 15 - }, - "end": { - "line": 268, - "column": 21 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10264, - "end": 10265, - "loc": { - "start": { - "line": 268, - "column": 21 - }, - "end": { - "line": 268, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "SimpleKeyboardInstances", - "start": 10265, - "end": 10290, - "loc": { - "start": { - "line": 268, - "column": 22 - }, - "end": { - "line": 268, - "column": 47 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10290, - "end": 10291, - "loc": { - "start": { - "line": 268, - "column": 47 - }, - "end": { - "line": 268, - "column": 48 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10291, - "end": 10292, - "loc": { - "start": { - "line": 268, - "column": 48 - }, - "end": { - "line": 268, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 10292, - "end": 10295, - "loc": { - "start": { - "line": 268, - "column": 49 - }, - "end": { - "line": 268, - "column": 52 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10295, - "end": 10296, - "loc": { - "start": { - "line": 268, - "column": 52 - }, - "end": { - "line": 268, - "column": 53 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10296, - "end": 10297, - "loc": { - "start": { - "line": 268, - "column": 53 - }, - "end": { - "line": 268, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 10298, - "end": 10301, - "loc": { - "start": { - "line": 268, - "column": 55 - }, - "end": { - "line": 268, - "column": 58 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10301, - "end": 10302, - "loc": { - "start": { - "line": 268, - "column": 58 - }, - "end": { - "line": 268, - "column": 59 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10302, - "end": 10303, - "loc": { - "start": { - "line": 268, - "column": 59 - }, - "end": { - "line": 268, - "column": 60 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10309, - "end": 10310, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10310, - "end": 10311, - "loc": { - "start": { - "line": 269, - "column": 5 - }, - "end": { - "line": 269, - "column": 6 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10315, - "end": 10316, - "loc": { - "start": { - "line": 270, - "column": 2 - }, - "end": { - "line": 270, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 10322, - "end": 10603, - "loc": { - "start": { - "line": 272, - "column": 2 - }, - "end": { - "line": 276, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addButtonTheme", - "start": 10607, - "end": 10621, - "loc": { - "start": { - "line": 277, - "column": 2 - }, - "end": { - "line": 277, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10622, - "end": 10623, - "loc": { - "start": { - "line": 277, - "column": 17 - }, - "end": { - "line": 277, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10624, - "end": 10625, - "loc": { - "start": { - "line": 277, - "column": 19 - }, - "end": { - "line": 277, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 10625, - "end": 10632, - "loc": { - "start": { - "line": 277, - "column": 20 - }, - "end": { - "line": 277, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10632, - "end": 10633, - "loc": { - "start": { - "line": 277, - "column": 27 - }, - "end": { - "line": 277, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 10634, - "end": 10643, - "loc": { - "start": { - "line": 277, - "column": 29 - }, - "end": { - "line": 277, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10643, - "end": 10644, - "loc": { - "start": { - "line": 277, - "column": 38 - }, - "end": { - "line": 277, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10645, - "end": 10647, - "loc": { - "start": { - "line": 277, - "column": 40 - }, - "end": { - "line": 277, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10648, - "end": 10649, - "loc": { - "start": { - "line": 277, - "column": 43 - }, - "end": { - "line": 277, - "column": 44 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 10655, - "end": 10657, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 278, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10657, - "end": 10658, - "loc": { - "start": { - "line": 278, - "column": 6 - }, - "end": { - "line": 278, - "column": 7 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 10658, - "end": 10659, - "loc": { - "start": { - "line": 278, - "column": 7 - }, - "end": { - "line": 278, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 10659, - "end": 10668, - "loc": { - "start": { - "line": 278, - "column": 8 - }, - "end": { - "line": 278, - "column": 17 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 10669, - "end": 10671, - "loc": { - "start": { - "line": 278, - "column": 18 - }, - "end": { - "line": 278, - "column": 20 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 10672, - "end": 10673, - "loc": { - "start": { - "line": 278, - "column": 21 - }, - "end": { - "line": 278, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 10673, - "end": 10680, - "loc": { - "start": { - "line": 278, - "column": 22 - }, - "end": { - "line": 278, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10680, - "end": 10681, - "loc": { - "start": { - "line": 278, - "column": 29 - }, - "end": { - "line": 278, - "column": 30 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 10689, - "end": 10695, - "loc": { - "start": { - "line": 279, - "column": 6 - }, - "end": { - "line": 279, - "column": 12 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 10696, - "end": 10701, - "loc": { - "start": { - "line": 279, - "column": 13 - }, - "end": { - "line": 279, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10701, - "end": 10702, - "loc": { - "start": { - "line": 279, - "column": 18 - }, - "end": { - "line": 279, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 10710, - "end": 10717, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10717, - "end": 10718, - "loc": { - "start": { - "line": 281, - "column": 11 - }, - "end": { - "line": 281, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 10718, - "end": 10723, - "loc": { - "start": { - "line": 281, - "column": 12 - }, - "end": { - "line": 281, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10723, - "end": 10724, - "loc": { - "start": { - "line": 281, - "column": 17 - }, - "end": { - "line": 281, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 10724, - "end": 10727, - "loc": { - "start": { - "line": 281, - "column": 18 - }, - "end": { - "line": 281, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10727, - "end": 10728, - "loc": { - "start": { - "line": 281, - "column": 21 - }, - "end": { - "line": 281, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10728, - "end": 10729, - "loc": { - "start": { - "line": 281, - "column": 22 - }, - "end": { - "line": 281, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 10729, - "end": 10736, - "loc": { - "start": { - "line": 281, - "column": 23 - }, - "end": { - "line": 281, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10736, - "end": 10737, - "loc": { - "start": { - "line": 281, - "column": 30 - }, - "end": { - "line": 281, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 10737, - "end": 10743, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 281, - "column": 37 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10744, - "end": 10746, - "loc": { - "start": { - "line": 281, - "column": 38 - }, - "end": { - "line": 281, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10747, - "end": 10748, - "loc": { - "start": { - "line": 281, - "column": 41 - }, - "end": { - "line": 281, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 10756, - "end": 10765, - "loc": { - "start": { - "line": 282, - "column": 6 - }, - "end": { - "line": 282, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10765, - "end": 10766, - "loc": { - "start": { - "line": 282, - "column": 15 - }, - "end": { - "line": 282, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 10766, - "end": 10771, - "loc": { - "start": { - "line": 282, - "column": 16 - }, - "end": { - "line": 282, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10771, - "end": 10772, - "loc": { - "start": { - "line": 282, - "column": 21 - }, - "end": { - "line": 282, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 10772, - "end": 10775, - "loc": { - "start": { - "line": 282, - "column": 22 - }, - "end": { - "line": 282, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10775, - "end": 10776, - "loc": { - "start": { - "line": 282, - "column": 25 - }, - "end": { - "line": 282, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10776, - "end": 10777, - "loc": { - "start": { - "line": 282, - "column": 26 - }, - "end": { - "line": 282, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 10777, - "end": 10784, - "loc": { - "start": { - "line": 282, - "column": 27 - }, - "end": { - "line": 282, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10784, - "end": 10785, - "loc": { - "start": { - "line": 282, - "column": 34 - }, - "end": { - "line": 282, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameItem", - "start": 10785, - "end": 10798, - "loc": { - "start": { - "line": 282, - "column": 35 - }, - "end": { - "line": 282, - "column": 48 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10799, - "end": 10801, - "loc": { - "start": { - "line": 282, - "column": 49 - }, - "end": { - "line": 282, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10802, - "end": 10803, - "loc": { - "start": { - "line": 282, - "column": 52 - }, - "end": { - "line": 282, - "column": 53 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 10813, - "end": 10815, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 283, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10815, - "end": 10816, - "loc": { - "start": { - "line": 283, - "column": 10 - }, - "end": { - "line": 283, - "column": 11 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 10816, - "end": 10817, - "loc": { - "start": { - "line": 283, - "column": 11 - }, - "end": { - "line": 283, - "column": 12 - } - } - }, - { - "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": 10817, - "end": 10821, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10821, - "end": 10822, - "loc": { - "start": { - "line": 283, - "column": 16 - }, - "end": { - "line": 283, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 10822, - "end": 10829, - "loc": { - "start": { - "line": 283, - "column": 17 - }, - "end": { - "line": 283, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10829, - "end": 10830, - "loc": { - "start": { - "line": 283, - "column": 24 - }, - "end": { - "line": 283, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 10830, - "end": 10841, - "loc": { - "start": { - "line": 283, - "column": 25 - }, - "end": { - "line": 283, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10841, - "end": 10842, - "loc": { - "start": { - "line": 283, - "column": 36 - }, - "end": { - "line": 283, - "column": 37 - } - } - }, - { - "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": 10854, - "end": 10858, - "loc": { - "start": { - "line": 284, - "column": 10 - }, - "end": { - "line": 284, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10858, - "end": 10859, - "loc": { - "start": { - "line": 284, - "column": 14 - }, - "end": { - "line": 284, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 10859, - "end": 10866, - "loc": { - "start": { - "line": 284, - "column": 15 - }, - "end": { - "line": 284, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10866, - "end": 10867, - "loc": { - "start": { - "line": 284, - "column": 22 - }, - "end": { - "line": 284, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 10867, - "end": 10878, - "loc": { - "start": { - "line": 284, - "column": 23 - }, - "end": { - "line": 284, - "column": 34 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10879, - "end": 10880, - "loc": { - "start": { - "line": 284, - "column": 35 - }, - "end": { - "line": 284, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10881, - "end": 10882, - "loc": { - "start": { - "line": 284, - "column": 37 - }, - "end": { - "line": 284, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10882, - "end": 10883, - "loc": { - "start": { - "line": 284, - "column": 38 - }, - "end": { - "line": 284, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10883, - "end": 10884, - "loc": { - "start": { - "line": 284, - "column": 39 - }, - "end": { - "line": 284, - "column": 40 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 10896, - "end": 10899, - "loc": { - "start": { - "line": 286, - "column": 8 - }, - "end": { - "line": 286, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameFound", - "start": 10900, - "end": 10914, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10915, - "end": 10916, - "loc": { - "start": { - "line": 286, - "column": 27 - }, - "end": { - "line": 286, - "column": 28 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 10917, - "end": 10922, - "loc": { - "start": { - "line": 286, - "column": 29 - }, - "end": { - "line": 286, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10922, - "end": 10923, - "loc": { - "start": { - "line": 286, - "column": 34 - }, - "end": { - "line": 286, - "column": 35 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 10937, - "end": 11028, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 290, - "column": 11 - } - } - }, - { - "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": 11038, - "end": 11042, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11042, - "end": 11043, - "loc": { - "start": { - "line": 291, - "column": 12 - }, - "end": { - "line": 291, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 11043, - "end": 11050, - "loc": { - "start": { - "line": 291, - "column": 13 - }, - "end": { - "line": 291, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11050, - "end": 11051, - "loc": { - "start": { - "line": 291, - "column": 20 - }, - "end": { - "line": 291, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11051, - "end": 11062, - "loc": { - "start": { - "line": 291, - "column": 21 - }, - "end": { - "line": 291, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11062, - "end": 11063, - "loc": { - "start": { - "line": 291, - "column": 32 - }, - "end": { - "line": 291, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "map", - "start": 11063, - "end": 11066, - "loc": { - "start": { - "line": 291, - "column": 33 - }, - "end": { - "line": 291, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11066, - "end": 11067, - "loc": { - "start": { - "line": 291, - "column": 36 - }, - "end": { - "line": 291, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11067, - "end": 11078, - "loc": { - "start": { - "line": 291, - "column": 37 - }, - "end": { - "line": 291, - "column": 48 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11079, - "end": 11081, - "loc": { - "start": { - "line": 291, - "column": 49 - }, - "end": { - "line": 291, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11082, - "end": 11083, - "loc": { - "start": { - "line": 291, - "column": 52 - }, - "end": { - "line": 291, - "column": 53 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11097, + "start": 11095, "end": 11099, "loc": { "start": { - "line": 293, - "column": 10 + "line": 292, + "column": 18 }, "end": { - "line": 293, - "column": 12 + "line": 292, + "column": 22 } } }, @@ -82571,12 +93209,12 @@ "end": 11100, "loc": { "start": { - "line": 293, - "column": 12 + "line": 292, + "column": 22 }, "end": { - "line": 293, - "column": 13 + "line": 292, + "column": 23 } } }, @@ -82592,3548 +93230,20 @@ "postfix": false, "binop": null }, - "value": "buttonTheme", + "value": "window", "start": 11100, - "end": 11111, + "end": 11106, "loc": { "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11111, - "end": 11112, - "loc": { - "start": { - "line": 293, - "column": 24 - }, - "end": { - "line": 293, - "column": 25 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 11112, - "end": 11117, - "loc": { - "start": { - "line": 293, - "column": 25 - }, - "end": { - "line": 293, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11117, - "end": 11118, - "loc": { - "start": { - "line": 293, - "column": 30 - }, - "end": { - "line": 293, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 11118, - "end": 11123, - "loc": { - "start": { - "line": 293, - "column": 31 - }, - "end": { - "line": 293, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11123, - "end": 11124, - "loc": { - "start": { - "line": 293, - "column": 36 - }, - "end": { - "line": 293, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 11124, - "end": 11127, - "loc": { - "start": { - "line": 293, - "column": 37 - }, - "end": { - "line": 293, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11127, - "end": 11128, - "loc": { - "start": { - "line": 293, - "column": 40 - }, - "end": { - "line": 293, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11128, - "end": 11129, - "loc": { - "start": { - "line": 293, - "column": 41 - }, - "end": { - "line": 293, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 11129, - "end": 11137, - "loc": { - "start": { - "line": 293, - "column": 42 - }, - "end": { - "line": 293, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11137, - "end": 11138, - "loc": { - "start": { - "line": 293, - "column": 50 - }, - "end": { - "line": 293, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameItem", - "start": 11138, - "end": 11151, - "loc": { - "start": { - "line": 293, - "column": 51 - }, - "end": { - "line": 293, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11151, - "end": 11152, - "loc": { - "start": { - "line": 293, - "column": 64 - }, - "end": { - "line": 293, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11152, - "end": 11153, - "loc": { - "start": { - "line": 293, - "column": 65 - }, - "end": { - "line": 293, - "column": 66 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11153, - "end": 11154, - "loc": { - "start": { - "line": 293, - "column": 66 - }, - "end": { - "line": 293, - "column": 67 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameFound", - "start": 11168, - "end": 11182, - "loc": { - "start": { - "line": 294, - "column": 12 - }, - "end": { - "line": 294, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11183, - "end": 11184, - "loc": { - "start": { - "line": 294, - "column": 27 - }, - "end": { - "line": 294, - "column": 28 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 11185, - "end": 11189, - "loc": { - "start": { - "line": 294, - "column": 29 - }, - "end": { - "line": 294, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11189, - "end": 11190, - "loc": { - "start": { - "line": 294, - "column": 33 - }, - "end": { - "line": 294, - "column": 34 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 11218, - "end": 11221, - "loc": { - "start": { - "line": 296, - "column": 12 - }, - "end": { - "line": 296, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 11222, - "end": 11238, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 32 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11239, - "end": 11240, - "loc": { - "start": { - "line": 296, - "column": 33 - }, - "end": { - "line": 296, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11241, - "end": 11252, - "loc": { - "start": { - "line": 296, - "column": 35 - }, - "end": { - "line": 296, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11252, - "end": 11253, - "loc": { - "start": { - "line": 296, - "column": 46 - }, - "end": { - "line": 296, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 11253, - "end": 11260, - "loc": { - "start": { - "line": 296, - "column": 47 - }, - "end": { - "line": 296, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11260, - "end": 11261, - "loc": { - "start": { - "line": 296, - "column": 54 - }, - "end": { - "line": 296, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 11261, - "end": 11266, - "loc": { - "start": { - "line": 296, - "column": 55 - }, - "end": { - "line": 296, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11266, - "end": 11267, - "loc": { - "start": { - "line": 296, - "column": 60 - }, - "end": { - "line": 296, - "column": 61 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 11267, - "end": 11270, - "loc": { - "start": { - "line": 296, - "column": 61 - }, - "end": { - "line": 296, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11270, - "end": 11271, - "loc": { - "start": { - "line": 296, - "column": 64 - }, - "end": { - "line": 296, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11271, - "end": 11272, - "loc": { - "start": { - "line": 296, - "column": 65 - }, - "end": { - "line": 296, - "column": 66 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11286, - "end": 11288, - "loc": { - "start": { - "line": 297, - "column": 12 - }, - "end": { - "line": 297, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11288, - "end": 11289, - "loc": { - "start": { - "line": 297, - "column": 14 - }, - "end": { - "line": 297, - "column": 15 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 11289, - "end": 11290, - "loc": { - "start": { - "line": 297, - "column": 15 - }, - "end": { - "line": 297, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 11290, - "end": 11306, - "loc": { - "start": { - "line": 297, - "column": 16 - }, - "end": { - "line": 297, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11306, - "end": 11307, - "loc": { - "start": { - "line": 297, - "column": 32 - }, - "end": { - "line": 297, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 11307, - "end": 11315, - "loc": { - "start": { - "line": 297, - "column": 33 - }, - "end": { - "line": 297, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11315, - "end": 11316, - "loc": { - "start": { - "line": 297, - "column": 41 - }, - "end": { - "line": 297, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 11316, - "end": 11322, - "loc": { - "start": { - "line": 297, - "column": 42 - }, - "end": { - "line": 297, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11322, - "end": 11323, - "loc": { - "start": { - "line": 297, - "column": 48 - }, - "end": { - "line": 297, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11323, - "end": 11324, - "loc": { - "start": { - "line": 297, - "column": 49 - }, - "end": { - "line": 297, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11324, - "end": 11325, - "loc": { - "start": { - "line": 297, - "column": 50 - }, - "end": { - "line": 297, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameFound", - "start": 11341, - "end": 11355, - "loc": { - "start": { - "line": 298, - "column": 14 - }, - "end": { - "line": 298, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11356, - "end": 11357, - "loc": { - "start": { - "line": 298, - "column": 29 - }, - "end": { - "line": 298, - "column": 30 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 11358, - "end": 11362, - "loc": { - "start": { - "line": 298, - "column": 31 - }, - "end": { - "line": 298, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11362, - "end": 11363, - "loc": { - "start": { - "line": 298, - "column": 35 - }, - "end": { - "line": 298, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 11379, - "end": 11395, - "loc": { - "start": { - "line": 299, - "column": 14 - }, - "end": { - "line": 299, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11395, - "end": 11396, - "loc": { - "start": { - "line": 299, - "column": 30 - }, - "end": { - "line": 299, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 11396, - "end": 11400, - "loc": { - "start": { - "line": 299, - "column": 31 - }, - "end": { - "line": 299, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11400, - "end": 11401, - "loc": { - "start": { - "line": 299, - "column": 35 - }, - "end": { - "line": 299, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 11401, - "end": 11407, - "loc": { - "start": { - "line": 299, - "column": 36 - }, - "end": { - "line": 299, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11407, - "end": 11408, - "loc": { - "start": { - "line": 299, - "column": 42 - }, - "end": { - "line": 299, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11408, - "end": 11409, - "loc": { - "start": { - "line": 299, - "column": 43 - }, - "end": { - "line": 299, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11425, - "end": 11436, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11436, - "end": 11437, - "loc": { - "start": { - "line": 300, - "column": 25 - }, - "end": { - "line": 300, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 11437, - "end": 11444, - "loc": { - "start": { - "line": 300, - "column": 26 - }, - "end": { - "line": 300, - "column": 33 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11445, - "end": 11446, - "loc": { - "start": { - "line": 300, - "column": 34 - }, - "end": { - "line": 300, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 11447, - "end": 11463, - "loc": { - "start": { - "line": 300, - "column": 36 - }, - "end": { - "line": 300, - "column": 52 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11463, - "end": 11464, - "loc": { - "start": { - "line": 300, - "column": 52 - }, - "end": { - "line": 300, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "join", - "start": 11464, - "end": 11468, - "loc": { - "start": { - "line": 300, - "column": 53 - }, - "end": { - "line": 300, - "column": 57 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11468, - "end": 11469, - "loc": { - "start": { - "line": 300, - "column": 57 - }, - "end": { - "line": 300, - "column": 58 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 11469, - "end": 11472, - "loc": { - "start": { - "line": 300, - "column": 58 - }, - "end": { - "line": 300, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11472, - "end": 11473, - "loc": { - "start": { - "line": 300, - "column": 61 - }, - "end": { - "line": 300, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11473, - "end": 11474, - "loc": { - "start": { - "line": 300, - "column": 62 - }, - "end": { - "line": 300, - "column": 63 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11488, - "end": 11489, - "loc": { - "start": { - "line": 301, - "column": 12 - }, - "end": { - "line": 301, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11501, - "end": 11502, - "loc": { - "start": { - "line": 302, - "column": 10 - }, - "end": { - "line": 302, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 11514, - "end": 11520, - "loc": { - "start": { - "line": 303, - "column": 10 - }, - "end": { - "line": 303, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11521, - "end": 11532, - "loc": { - "start": { - "line": 303, - "column": 17 - }, - "end": { - "line": 303, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11532, - "end": 11533, - "loc": { - "start": { - "line": 303, - "column": 28 - }, - "end": { - "line": 303, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11543, - "end": 11544, - "loc": { - "start": { - "line": 304, - "column": 8 - }, - "end": { - "line": 304, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11544, - "end": 11545, - "loc": { - "start": { - "line": 304, - "column": 9 - }, - "end": { - "line": 304, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11545, - "end": 11546, - "loc": { - "start": { - "line": 304, - "column": 10 - }, - "end": { - "line": 304, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 11558, - "end": 11633, - "loc": { - "start": { - "line": 306, - "column": 8 - }, - "end": { - "line": 308, - "column": 11 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11643, - "end": 11645, - "loc": { - "start": { - "line": 309, - "column": 8 - }, - "end": { - "line": 309, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11645, - "end": 11646, - "loc": { - "start": { - "line": 309, - "column": 10 - }, - "end": { - "line": 309, - "column": 11 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 11646, - "end": 11647, - "loc": { - "start": { - "line": 309, - "column": 11 - }, - "end": { - "line": 309, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameFound", - "start": 11647, - "end": 11661, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11661, - "end": 11662, - "loc": { - "start": { - "line": 309, - "column": 26 - }, - "end": { - "line": 309, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11662, - "end": 11663, - "loc": { - "start": { - "line": 309, - "column": 27 - }, - "end": { - "line": 309, - "column": 28 - } - } - }, - { - "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": 11675, - "end": 11679, - "loc": { - "start": { - "line": 310, - "column": 10 - }, - "end": { - "line": 310, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11679, - "end": 11680, - "loc": { - "start": { - "line": 310, - "column": 14 - }, - "end": { - "line": 310, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 11680, - "end": 11687, - "loc": { - "start": { - "line": 310, - "column": 15 - }, - "end": { - "line": 310, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11687, - "end": 11688, - "loc": { - "start": { - "line": 310, - "column": 22 - }, - "end": { - "line": 310, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 11688, - "end": 11699, - "loc": { - "start": { - "line": 310, + "line": 292, "column": 23 }, "end": { - "line": 310, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11699, - "end": 11700, - "loc": { - "start": { - "line": 310, - "column": 34 - }, - "end": { - "line": 310, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 11700, - "end": 11704, - "loc": { - "start": { - "line": 310, - "column": 35 - }, - "end": { - "line": 310, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11704, - "end": 11705, - "loc": { - "start": { - "line": 310, - "column": 39 - }, - "end": { - "line": 310, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11705, - "end": 11706, - "loc": { - "start": { - "line": 310, - "column": 40 - }, - "end": { - "line": 310, - "column": 41 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 11720, - "end": 11725, - "loc": { - "start": { - "line": 311, - "column": 12 - }, - "end": { - "line": 311, - "column": 17 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11725, - "end": 11726, - "loc": { - "start": { - "line": 311, - "column": 17 - }, - "end": { - "line": 311, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameItem", - "start": 11727, - "end": 11740, - "loc": { - "start": { - "line": 311, - "column": 19 - }, - "end": { - "line": 311, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11740, - "end": 11741, - "loc": { - "start": { - "line": 311, - "column": 32 - }, - "end": { - "line": 311, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 11755, - "end": 11762, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 19 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11762, - "end": 11763, - "loc": { - "start": { - "line": 312, - "column": 19 - }, - "end": { - "line": 312, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 11764, - "end": 11771, - "loc": { - "start": { - "line": 312, - "column": 21 - }, - "end": { - "line": 312, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11783, - "end": 11784, - "loc": { - "start": { - "line": 313, - "column": 10 - }, - "end": { - "line": 313, - "column": 11 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11784, - "end": 11785, - "loc": { - "start": { - "line": 313, - "column": 11 - }, - "end": { - "line": 313, - "column": 12 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11785, - "end": 11786, - "loc": { - "start": { - "line": 313, - "column": 12 - }, - "end": { - "line": 313, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11796, - "end": 11797, - "loc": { - "start": { - "line": 314, - "column": 8 - }, - "end": { - "line": 314, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11807, - "end": 11808, - "loc": { - "start": { - "line": 316, - "column": 6 - }, - "end": { - "line": 316, - "column": 7 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11808, - "end": 11809, - "loc": { - "start": { - "line": 316, - "column": 7 - }, - "end": { - "line": 316, - "column": 8 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11809, - "end": 11810, - "loc": { - "start": { - "line": 316, - "column": 8 - }, - "end": { - "line": 316, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11816, - "end": 11817, - "loc": { - "start": { - "line": 317, - "column": 4 - }, - "end": { - "line": 317, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11817, - "end": 11818, - "loc": { - "start": { - "line": 317, - "column": 5 - }, - "end": { - "line": 317, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11818, - "end": 11819, - "loc": { - "start": { - "line": 317, - "column": 6 - }, - "end": { - "line": 317, - "column": 7 - } - } - }, - { - "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": 11827, - "end": 11831, - "loc": { - "start": { - "line": 319, - "column": 4 - }, - "end": { - "line": 319, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11831, - "end": 11832, - "loc": { - "start": { - "line": 319, - "column": 8 - }, - "end": { - "line": 319, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "render", - "start": 11832, - "end": 11838, - "loc": { - "start": { - "line": 319, - "column": 9 - }, - "end": { - "line": 319, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11838, - "end": 11839, - "loc": { - "start": { - "line": 319, - "column": 15 - }, - "end": { - "line": 319, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11839, - "end": 11840, - "loc": { - "start": { - "line": 319, - "column": 16 - }, - "end": { - "line": 319, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11840, - "end": 11841, - "loc": { - "start": { - "line": 319, - "column": 17 - }, - "end": { - "line": 319, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11845, - "end": 11846, - "loc": { - "start": { - "line": 320, - "column": 2 - }, - "end": { - "line": 320, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 11852, - "end": 12192, - "loc": { - "start": { - "line": 322, - "column": 2 - }, - "end": { - "line": 326, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "removeButtonTheme", - "start": 12196, - "end": 12213, - "loc": { - "start": { - "line": 327, - "column": 2 - }, - "end": { - "line": 327, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 12214, - "end": 12215, - "loc": { - "start": { - "line": 327, - "column": 20 - }, - "end": { - "line": 327, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12216, - "end": 12217, - "loc": { - "start": { - "line": 327, - "column": 22 - }, - "end": { - "line": 327, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 12217, - "end": 12224, - "loc": { - "start": { - "line": 327, - "column": 23 - }, - "end": { - "line": 327, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12224, - "end": 12225, - "loc": { - "start": { - "line": 327, - "column": 30 - }, - "end": { - "line": 327, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 12226, - "end": 12235, - "loc": { - "start": { - "line": 327, - "column": 32 - }, - "end": { - "line": 327, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12235, - "end": 12236, - "loc": { - "start": { - "line": 327, - "column": 41 - }, - "end": { - "line": 327, - "column": 42 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12237, - "end": 12239, - "loc": { - "start": { - "line": 327, - "column": 43 - }, - "end": { - "line": 327, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12240, - "end": 12241, - "loc": { - "start": { - "line": 327, - "column": 46 - }, - "end": { - "line": 327, - "column": 47 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 12247, - "end": 12327, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 330, - "column": 7 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 12333, - "end": 12335, - "loc": { - "start": { - "line": 331, - "column": 4 - }, - "end": { - "line": 331, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12335, - "end": 12336, - "loc": { - "start": { - "line": 331, - "column": 6 - }, - "end": { - "line": 331, - "column": 7 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 12336, - "end": 12337, - "loc": { - "start": { - "line": 331, - "column": 7 - }, - "end": { - "line": 331, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 12337, - "end": 12344, - "loc": { - "start": { - "line": 331, - "column": 8 - }, - "end": { - "line": 331, - "column": 15 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 12345, - "end": 12347, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 18 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 12348, - "end": 12349, - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 12349, - "end": 12358, - "loc": { - "start": { - "line": 331, - "column": 20 - }, - "end": { - "line": 331, + "line": 292, "column": 29 } } }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12358, - "end": 12359, - "loc": { - "start": { - "line": 331, - "column": 29 - }, - "end": { - "line": 331, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12359, - "end": 12360, - "loc": { - "start": { - "line": 331, - "column": 30 - }, - "end": { - "line": 331, - "column": 31 - } - } - }, - { - "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": 12368, - "end": 12372, - "loc": { - "start": { - "line": 332, - "column": 6 - }, - "end": { - "line": 332, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12372, - "end": 12373, - "loc": { - "start": { - "line": 332, - "column": 10 - }, - "end": { - "line": 332, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 12373, - "end": 12380, - "loc": { - "start": { - "line": 332, - "column": 11 - }, - "end": { - "line": 332, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12380, - "end": 12381, - "loc": { - "start": { - "line": 332, - "column": 18 - }, - "end": { - "line": 332, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 12381, - "end": 12392, - "loc": { - "start": { - "line": 332, - "column": 19 - }, - "end": { - "line": 332, - "column": 30 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 12393, - "end": 12394, - "loc": { - "start": { - "line": 332, - "column": 31 - }, - "end": { - "line": 332, - "column": 32 - } - } - }, { "type": { "label": "[", @@ -86147,16 +93257,43 @@ "binop": null, "updateContext": null }, - "start": 12395, - "end": 12396, + "start": 11106, + "end": 11107, "loc": { "start": { - "line": 332, - "column": 33 + "line": 292, + "column": 29 }, "end": { - "line": 332, - "column": 34 + "line": 292, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SimpleKeyboardInstances", + "start": 11107, + "end": 11132, + "loc": { + "start": { + "line": 292, + "column": 30 + }, + "end": { + "line": 292, + "column": 55 } } }, @@ -86173,70 +93310,41 @@ "binop": null, "updateContext": null }, - "start": 12396, - "end": 12397, + "start": 11132, + "end": 11133, "loc": { "start": { - "line": 332, - "column": 34 + "line": 292, + "column": 55 }, "end": { - "line": 332, - "column": 35 + "line": 292, + "column": 56 } } }, { "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": 12397, - "end": 12398, + "start": 11133, + "end": 11134, "loc": { "start": { - "line": 332, - "column": 35 + "line": 292, + "column": 56 }, "end": { - "line": 332, - "column": 36 - } - } - }, - { - "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": 12406, - "end": 12410, - "loc": { - "start": { - "line": 333, - "column": 6 - }, - "end": { - "line": 333, - "column": 10 + "line": 292, + "column": 57 } } }, @@ -86253,16 +93361,16 @@ "binop": null, "updateContext": null }, - "start": 12410, - "end": 12411, + "start": 11134, + "end": 11135, "loc": { "start": { - "line": 333, - "column": 10 + "line": 292, + "column": 57 }, "end": { - "line": 333, - "column": 11 + "line": 292, + "column": 58 } } }, @@ -86278,17 +93386,17 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 12411, - "end": 12417, + "value": "forEach", + "start": 11135, + "end": 11142, "loc": { "start": { - "line": 333, - "column": 11 + "line": 292, + "column": 58 }, "end": { - "line": 333, - "column": 17 + "line": 292, + "column": 65 } } }, @@ -86304,16 +93412,67 @@ "postfix": false, "binop": null }, - "start": 12417, - "end": 12418, + "start": 11142, + "end": 11143, "loc": { "start": { - "line": 333, - "column": 17 + "line": 292, + "column": 65 }, "end": { - "line": 333, - "column": 18 + "line": 292, + "column": 66 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11143, + "end": 11144, + "loc": { + "start": { + "line": 292, + "column": 66 + }, + "end": { + "line": 292, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 11144, + "end": 11147, + "loc": { + "start": { + "line": 292, + "column": 67 + }, + "end": { + "line": 292, + "column": 70 } } }, @@ -86329,16 +93488,378 @@ "postfix": false, "binop": null }, - "start": 12418, - "end": 12419, + "start": 11147, + "end": 11148, "loc": { "start": { - "line": 333, - "column": 18 + "line": 292, + "column": 70 }, "end": { - "line": 333, - "column": 19 + "line": 292, + "column": 71 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11149, + "end": 11151, + "loc": { + "start": { + "line": 292, + "column": 72 + }, + "end": { + "line": 292, + "column": 74 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11152, + "end": 11153, + "loc": { + "start": { + "line": 292, + "column": 75 + }, + "end": { + "line": 292, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 11161, + "end": 11169, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11169, + "end": 11170, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "window", + "start": 11170, + "end": 11176, + "loc": { + "start": { + "line": 293, + "column": 15 + }, + "end": { + "line": 293, + "column": 21 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11176, + "end": 11177, + "loc": { + "start": { + "line": 293, + "column": 21 + }, + "end": { + "line": 293, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SimpleKeyboardInstances", + "start": 11177, + "end": 11202, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 47 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11202, + "end": 11203, + "loc": { + "start": { + "line": 293, + "column": 47 + }, + "end": { + "line": 293, + "column": 48 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11203, + "end": 11204, + "loc": { + "start": { + "line": 293, + "column": 48 + }, + "end": { + "line": 293, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 11204, + "end": 11207, + "loc": { + "start": { + "line": 293, + "column": 49 + }, + "end": { + "line": 293, + "column": 52 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11207, + "end": 11208, + "loc": { + "start": { + "line": 293, + "column": 52 + }, + "end": { + "line": 293, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11208, + "end": 11209, + "loc": { + "start": { + "line": 293, + "column": 53 + }, + "end": { + "line": 293, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 11210, + "end": 11213, + "loc": { + "start": { + "line": 293, + "column": 55 + }, + "end": { + "line": 293, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11213, + "end": 11214, + "loc": { + "start": { + "line": 293, + "column": 58 + }, + "end": { + "line": 293, + "column": 59 } } }, @@ -86355,19 +93876,500 @@ "binop": null, "updateContext": null }, - "start": 12419, - "end": 12420, + "start": 11214, + "end": 11215, "loc": { "start": { - "line": 333, - "column": 19 + "line": 293, + "column": 59 }, "end": { - "line": 333, + "line": 293, + "column": 60 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11221, + "end": 11222, + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 294, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11222, + "end": 11223, + "loc": { + "start": { + "line": 294, + "column": 5 + }, + "end": { + "line": 294, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11227, + "end": 11228, + "loc": { + "start": { + "line": 295, + "column": 2 + }, + "end": { + "line": 295, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 11234, + "end": 11515, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 301, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addButtonTheme", + "start": 11519, + "end": 11533, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11533, + "end": 11534, + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 11534, + "end": 11541, + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11541, + "end": 11542, + "loc": { + "start": { + "line": 302, + "column": 24 + }, + "end": { + "line": 302, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 11543, + "end": 11552, + "loc": { + "start": { + "line": 302, + "column": 26 + }, + "end": { + "line": 302, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11552, + "end": 11553, + "loc": { + "start": { + "line": 302, + "column": 35 + }, + "end": { + "line": 302, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11553, + "end": 11554, + "loc": { + "start": { + "line": 302, + "column": 36 + }, + "end": { + "line": 302, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 11560, + "end": 11562, + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 303, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11562, + "end": 11563, + "loc": { + "start": { + "line": 303, + "column": 6 + }, + "end": { + "line": 303, + "column": 7 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 11563, + "end": 11564, + "loc": { + "start": { + "line": 303, + "column": 7 + }, + "end": { + "line": 303, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 11564, + "end": 11573, + "loc": { + "start": { + "line": 303, + "column": 8 + }, + "end": { + "line": 303, + "column": 17 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 11574, + "end": 11576, + "loc": { + "start": { + "line": 303, + "column": 18 + }, + "end": { + "line": 303, "column": 20 } } }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 11577, + "end": 11578, + "loc": { + "start": { + "line": 303, + "column": 21 + }, + "end": { + "line": 303, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 11578, + "end": 11585, + "loc": { + "start": { + "line": 303, + "column": 22 + }, + "end": { + "line": 303, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11585, + "end": 11586, + "loc": { + "start": { + "line": 303, + "column": 29 + }, + "end": { + "line": 303, + "column": 30 + } + } + }, { "type": { "label": "return", @@ -86383,15 +94385,15 @@ "updateContext": null }, "value": "return", - "start": 12428, - "end": 12434, + "start": 11594, + "end": 11600, "loc": { "start": { - "line": 334, + "line": 304, "column": 6 }, "end": { - "line": 334, + "line": 304, "column": 12 } } @@ -86411,15 +94413,15 @@ "updateContext": null }, "value": "false", - "start": 12435, - "end": 12440, + "start": 11601, + "end": 11606, "loc": { "start": { - "line": 334, + "line": 304, "column": 13 }, "end": { - "line": 334, + "line": 304, "column": 18 } } @@ -86437,19 +94439,3266 @@ "binop": null, "updateContext": null }, - "start": 12440, - "end": 12441, + "start": 11606, + "end": 11607, "loc": { "start": { - "line": 334, + "line": 304, "column": 18 }, "end": { - "line": 334, + "line": 304, "column": 19 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 11615, + "end": 11622, + "loc": { + "start": { + "line": 306, + "column": 4 + }, + "end": { + "line": 306, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11622, + "end": 11623, + "loc": { + "start": { + "line": 306, + "column": 11 + }, + "end": { + "line": 306, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 11623, + "end": 11628, + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11628, + "end": 11629, + "loc": { + "start": { + "line": 306, + "column": 17 + }, + "end": { + "line": 306, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 11629, + "end": 11632, + "loc": { + "start": { + "line": 306, + "column": 18 + }, + "end": { + "line": 306, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11632, + "end": 11633, + "loc": { + "start": { + "line": 306, + "column": 21 + }, + "end": { + "line": 306, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11633, + "end": 11634, + "loc": { + "start": { + "line": 306, + "column": 22 + }, + "end": { + "line": 306, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 11634, + "end": 11641, + "loc": { + "start": { + "line": 306, + "column": 23 + }, + "end": { + "line": 306, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11641, + "end": 11642, + "loc": { + "start": { + "line": 306, + "column": 30 + }, + "end": { + "line": 306, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 11642, + "end": 11648, + "loc": { + "start": { + "line": 306, + "column": 31 + }, + "end": { + "line": 306, + "column": 37 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11649, + "end": 11651, + "loc": { + "start": { + "line": 306, + "column": 38 + }, + "end": { + "line": 306, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11652, + "end": 11653, + "loc": { + "start": { + "line": 306, + "column": 41 + }, + "end": { + "line": 306, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 11661, + "end": 11670, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 307, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11670, + "end": 11671, + "loc": { + "start": { + "line": 307, + "column": 15 + }, + "end": { + "line": 307, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 11671, + "end": 11676, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11676, + "end": 11677, + "loc": { + "start": { + "line": 307, + "column": 21 + }, + "end": { + "line": 307, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 11677, + "end": 11680, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11680, + "end": 11681, + "loc": { + "start": { + "line": 307, + "column": 25 + }, + "end": { + "line": 307, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11681, + "end": 11682, + "loc": { + "start": { + "line": 307, + "column": 26 + }, + "end": { + "line": 307, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 11682, + "end": 11689, + "loc": { + "start": { + "line": 307, + "column": 27 + }, + "end": { + "line": 307, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11689, + "end": 11690, + "loc": { + "start": { + "line": 307, + "column": 34 + }, + "end": { + "line": 307, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 11690, + "end": 11703, + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 307, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11704, + "end": 11706, + "loc": { + "start": { + "line": 307, + "column": 49 + }, + "end": { + "line": 307, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11707, + "end": 11708, + "loc": { + "start": { + "line": 307, + "column": 52 + }, + "end": { + "line": 307, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 11718, + "end": 11720, + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11720, + "end": 11721, + "loc": { + "start": { + "line": 308, + "column": 10 + }, + "end": { + "line": 308, + "column": 11 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 11721, + "end": 11722, + "loc": { + "start": { + "line": 308, + "column": 11 + }, + "end": { + "line": 308, + "column": 12 + } + } + }, + { + "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": 11722, + "end": 11726, + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11726, + "end": 11727, + "loc": { + "start": { + "line": 308, + "column": 16 + }, + "end": { + "line": 308, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 11727, + "end": 11734, + "loc": { + "start": { + "line": 308, + "column": 17 + }, + "end": { + "line": 308, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11734, + "end": 11735, + "loc": { + "start": { + "line": 308, + "column": 24 + }, + "end": { + "line": 308, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 11735, + "end": 11746, + "loc": { + "start": { + "line": 308, + "column": 25 + }, + "end": { + "line": 308, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11746, + "end": 11747, + "loc": { + "start": { + "line": 308, + "column": 36 + }, + "end": { + "line": 308, + "column": 37 + } + } + }, + { + "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": 11759, + "end": 11763, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11763, + "end": 11764, + "loc": { + "start": { + "line": 309, + "column": 14 + }, + "end": { + "line": 309, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 11764, + "end": 11771, + "loc": { + "start": { + "line": 309, + "column": 15 + }, + "end": { + "line": 309, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11771, + "end": 11772, + "loc": { + "start": { + "line": 309, + "column": 22 + }, + "end": { + "line": 309, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 11772, + "end": 11783, + "loc": { + "start": { + "line": 309, + "column": 23 + }, + "end": { + "line": 309, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11784, + "end": 11785, + "loc": { + "start": { + "line": 309, + "column": 35 + }, + "end": { + "line": 309, + "column": 36 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11786, + "end": 11787, + "loc": { + "start": { + "line": 309, + "column": 37 + }, + "end": { + "line": 309, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11787, + "end": 11788, + "loc": { + "start": { + "line": 309, + "column": 38 + }, + "end": { + "line": 309, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11788, + "end": 11789, + "loc": { + "start": { + "line": 309, + "column": 39 + }, + "end": { + "line": 309, + "column": 40 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 11801, + "end": 11804, + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 11805, + "end": 11819, + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11820, + "end": 11821, + "loc": { + "start": { + "line": 311, + "column": 27 + }, + "end": { + "line": 311, + "column": 28 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 11822, + "end": 11827, + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11827, + "end": 11828, + "loc": { + "start": { + "line": 311, + "column": 34 + }, + "end": { + "line": 311, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 11842, + "end": 11933, + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 315, + "column": 11 + } + } + }, + { + "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": 11943, + "end": 11947, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11947, + "end": 11948, + "loc": { + "start": { + "line": 316, + "column": 12 + }, + "end": { + "line": 316, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 11948, + "end": 11955, + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11955, + "end": 11956, + "loc": { + "start": { + "line": 316, + "column": 20 + }, + "end": { + "line": 316, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 11956, + "end": 11967, + "loc": { + "start": { + "line": 316, + "column": 21 + }, + "end": { + "line": 316, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11967, + "end": 11968, + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 11968, + "end": 11971, + "loc": { + "start": { + "line": 316, + "column": 33 + }, + "end": { + "line": 316, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11971, + "end": 11972, + "loc": { + "start": { + "line": 316, + "column": 36 + }, + "end": { + "line": 316, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 11972, + "end": 11983, + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 316, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11984, + "end": 11986, + "loc": { + "start": { + "line": 316, + "column": 49 + }, + "end": { + "line": 316, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11987, + "end": 11988, + "loc": { + "start": { + "line": 316, + "column": 52 + }, + "end": { + "line": 316, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 12002, + "end": 12004, + "loc": { + "start": { + "line": 318, + "column": 10 + }, + "end": { + "line": 318, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12004, + "end": 12005, + "loc": { + "start": { + "line": 318, + "column": 12 + }, + "end": { + "line": 318, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 12005, + "end": 12016, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12016, + "end": 12017, + "loc": { + "start": { + "line": 318, + "column": 24 + }, + "end": { + "line": 318, + "column": 25 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 12017, + "end": 12022, + "loc": { + "start": { + "line": 318, + "column": 25 + }, + "end": { + "line": 318, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12022, + "end": 12023, + "loc": { + "start": { + "line": 318, + "column": 30 + }, + "end": { + "line": 318, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 12023, + "end": 12028, + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12028, + "end": 12029, + "loc": { + "start": { + "line": 318, + "column": 36 + }, + "end": { + "line": 318, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 12029, + "end": 12032, + "loc": { + "start": { + "line": 318, + "column": 37 + }, + "end": { + "line": 318, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12032, + "end": 12033, + "loc": { + "start": { + "line": 318, + "column": 40 + }, + "end": { + "line": 318, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12033, + "end": 12034, + "loc": { + "start": { + "line": 318, + "column": 41 + }, + "end": { + "line": 318, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 12034, + "end": 12042, + "loc": { + "start": { + "line": 318, + "column": 42 + }, + "end": { + "line": 318, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12042, + "end": 12043, + "loc": { + "start": { + "line": 318, + "column": 50 + }, + "end": { + "line": 318, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 12043, + "end": 12056, + "loc": { + "start": { + "line": 318, + "column": 51 + }, + "end": { + "line": 318, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12056, + "end": 12057, + "loc": { + "start": { + "line": 318, + "column": 64 + }, + "end": { + "line": 318, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12057, + "end": 12058, + "loc": { + "start": { + "line": 318, + "column": 65 + }, + "end": { + "line": 318, + "column": 66 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12058, + "end": 12059, + "loc": { + "start": { + "line": 318, + "column": 66 + }, + "end": { + "line": 318, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 12073, + "end": 12087, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12088, + "end": 12089, + "loc": { + "start": { + "line": 319, + "column": 27 + }, + "end": { + "line": 319, + "column": 28 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 12090, + "end": 12094, + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12094, + "end": 12095, + "loc": { + "start": { + "line": 319, + "column": 33 + }, + "end": { + "line": 319, + "column": 34 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 12123, + "end": 12126, + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 12127, + "end": 12143, + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12144, + "end": 12145, + "loc": { + "start": { + "line": 321, + "column": 33 + }, + "end": { + "line": 321, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 12146, + "end": 12157, + "loc": { + "start": { + "line": 321, + "column": 35 + }, + "end": { + "line": 321, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12157, + "end": 12158, + "loc": { + "start": { + "line": 321, + "column": 46 + }, + "end": { + "line": 321, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 12158, + "end": 12165, + "loc": { + "start": { + "line": 321, + "column": 47 + }, + "end": { + "line": 321, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12165, + "end": 12166, + "loc": { + "start": { + "line": 321, + "column": 54 + }, + "end": { + "line": 321, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 12166, + "end": 12171, + "loc": { + "start": { + "line": 321, + "column": 55 + }, + "end": { + "line": 321, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12171, + "end": 12172, + "loc": { + "start": { + "line": 321, + "column": 60 + }, + "end": { + "line": 321, + "column": 61 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 12172, + "end": 12175, + "loc": { + "start": { + "line": 321, + "column": 61 + }, + "end": { + "line": 321, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12175, + "end": 12176, + "loc": { + "start": { + "line": 321, + "column": 64 + }, + "end": { + "line": 321, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12176, + "end": 12177, + "loc": { + "start": { + "line": 321, + "column": 65 + }, + "end": { + "line": 321, + "column": 66 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 12191, + "end": 12193, + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 322, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12193, + "end": 12194, + "loc": { + "start": { + "line": 322, + "column": 14 + }, + "end": { + "line": 322, + "column": 15 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 12194, + "end": 12195, + "loc": { + "start": { + "line": 322, + "column": 15 + }, + "end": { + "line": 322, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 12195, + "end": 12211, + "loc": { + "start": { + "line": 322, + "column": 16 + }, + "end": { + "line": 322, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12211, + "end": 12212, + "loc": { + "start": { + "line": 322, + "column": 32 + }, + "end": { + "line": 322, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 12212, + "end": 12220, + "loc": { + "start": { + "line": 322, + "column": 33 + }, + "end": { + "line": 322, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12220, + "end": 12221, + "loc": { + "start": { + "line": 322, + "column": 41 + }, + "end": { + "line": 322, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 12221, + "end": 12227, + "loc": { + "start": { + "line": 322, + "column": 42 + }, + "end": { + "line": 322, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12227, + "end": 12228, + "loc": { + "start": { + "line": 322, + "column": 48 + }, + "end": { + "line": 322, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12228, + "end": 12229, + "loc": { + "start": { + "line": 322, + "column": 49 + }, + "end": { + "line": 322, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12229, + "end": 12230, + "loc": { + "start": { + "line": 322, + "column": 50 + }, + "end": { + "line": 322, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 12246, + "end": 12260, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12261, + "end": 12262, + "loc": { + "start": { + "line": 323, + "column": 29 + }, + "end": { + "line": 323, + "column": 30 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 12263, + "end": 12267, + "loc": { + "start": { + "line": 323, + "column": 31 + }, + "end": { + "line": 323, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12267, + "end": 12268, + "loc": { + "start": { + "line": 323, + "column": 35 + }, + "end": { + "line": 323, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 12284, + "end": 12300, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12300, + "end": 12301, + "loc": { + "start": { + "line": 324, + "column": 30 + }, + "end": { + "line": 324, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 12301, + "end": 12305, + "loc": { + "start": { + "line": 324, + "column": 31 + }, + "end": { + "line": 324, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12305, + "end": 12306, + "loc": { + "start": { + "line": 324, + "column": 35 + }, + "end": { + "line": 324, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 12306, + "end": 12312, + "loc": { + "start": { + "line": 324, + "column": 36 + }, + "end": { + "line": 324, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12312, + "end": 12313, + "loc": { + "start": { + "line": 324, + "column": 42 + }, + "end": { + "line": 324, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12313, + "end": 12314, + "loc": { + "start": { + "line": 324, + "column": 43 + }, + "end": { + "line": 324, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 12330, + "end": 12341, + "loc": { + "start": { + "line": 325, + "column": 14 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12341, + "end": 12342, + "loc": { + "start": { + "line": 325, + "column": 25 + }, + "end": { + "line": 325, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 12342, + "end": 12349, + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12350, + "end": 12351, + "loc": { + "start": { + "line": 325, + "column": 34 + }, + "end": { + "line": 325, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 12352, + "end": 12368, + "loc": { + "start": { + "line": 325, + "column": 36 + }, + "end": { + "line": 325, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12368, + "end": 12369, + "loc": { + "start": { + "line": 325, + "column": 52 + }, + "end": { + "line": 325, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "join", + "start": 12369, + "end": 12373, + "loc": { + "start": { + "line": 325, + "column": 53 + }, + "end": { + "line": 325, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12373, + "end": 12374, + "loc": { + "start": { + "line": 325, + "column": 57 + }, + "end": { + "line": 325, + "column": 58 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 12374, + "end": 12377, + "loc": { + "start": { + "line": 325, + "column": 58 + }, + "end": { + "line": 325, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12377, + "end": 12378, + "loc": { + "start": { + "line": 325, + "column": 61 + }, + "end": { + "line": 325, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12378, + "end": 12379, + "loc": { + "start": { + "line": 325, + "column": 62 + }, + "end": { + "line": 325, + "column": 63 + } + } + }, { "type": { "label": "}", @@ -86462,31 +97711,1431 @@ "postfix": false, "binop": null }, - "start": 12447, - "end": 12448, + "start": 12393, + "end": 12394, "loc": { "start": { - "line": 335, - "column": 4 + "line": 326, + "column": 12 }, "end": { - "line": 335, - "column": 5 + "line": 326, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12406, + "end": 12407, + "loc": { + "start": { + "line": 327, + "column": 10 + }, + "end": { + "line": 327, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 12419, + "end": 12425, + "loc": { + "start": { + "line": 328, + "column": 10 + }, + "end": { + "line": 328, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 12426, + "end": 12437, + "loc": { + "start": { + "line": 328, + "column": 17 + }, + "end": { + "line": 328, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12437, + "end": 12438, + "loc": { + "start": { + "line": 328, + "column": 28 + }, + "end": { + "line": 328, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12448, + "end": 12449, + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12449, + "end": 12450, + "loc": { + "start": { + "line": 329, + "column": 9 + }, + "end": { + "line": 329, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12450, + "end": 12451, + "loc": { + "start": { + "line": 329, + "column": 10 + }, + "end": { + "line": 329, + "column": 11 } } }, { "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 12456, - "end": 12524, + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 12463, + "end": 12538, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 333, + "column": 11 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 12548, + "end": 12550, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 334, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12550, + "end": 12551, + "loc": { + "start": { + "line": 334, + "column": 10 + }, + "end": { + "line": 334, + "column": 11 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 12551, + "end": 12552, + "loc": { + "start": { + "line": 334, + "column": 11 + }, + "end": { + "line": 334, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 12552, + "end": 12566, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12566, + "end": 12567, + "loc": { + "start": { + "line": 334, + "column": 26 + }, + "end": { + "line": 334, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12567, + "end": 12568, + "loc": { + "start": { + "line": 334, + "column": 27 + }, + "end": { + "line": 334, + "column": 28 + } + } + }, + { + "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": 12580, + "end": 12584, + "loc": { + "start": { + "line": 335, + "column": 10 + }, + "end": { + "line": 335, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12584, + "end": 12585, + "loc": { + "start": { + "line": 335, + "column": 14 + }, + "end": { + "line": 335, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 12585, + "end": 12592, + "loc": { + "start": { + "line": 335, + "column": 15 + }, + "end": { + "line": 335, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12592, + "end": 12593, + "loc": { + "start": { + "line": 335, + "column": 22 + }, + "end": { + "line": 335, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 12593, + "end": 12604, + "loc": { + "start": { + "line": 335, + "column": 23 + }, + "end": { + "line": 335, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12604, + "end": 12605, + "loc": { + "start": { + "line": 335, + "column": 34 + }, + "end": { + "line": 335, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 12605, + "end": 12609, + "loc": { + "start": { + "line": 335, + "column": 35 + }, + "end": { + "line": 335, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12609, + "end": 12610, + "loc": { + "start": { + "line": 335, + "column": 39 + }, + "end": { + "line": 335, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12610, + "end": 12611, + "loc": { + "start": { + "line": 335, + "column": 40 + }, + "end": { + "line": 335, + "column": 41 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 12625, + "end": 12630, + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12630, + "end": 12631, + "loc": { + "start": { + "line": 336, + "column": 17 + }, + "end": { + "line": 336, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 12632, + "end": 12645, + "loc": { + "start": { + "line": 336, + "column": 19 + }, + "end": { + "line": 336, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12645, + "end": 12646, + "loc": { + "start": { + "line": 336, + "column": 32 + }, + "end": { + "line": 336, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 12660, + "end": 12667, "loc": { "start": { "line": 337, - "column": 4 + "column": 12 + }, + "end": { + "line": 337, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12667, + "end": 12668, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 337, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 12669, + "end": 12676, + "loc": { + "start": { + "line": 337, + "column": 21 + }, + "end": { + "line": 337, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12688, + "end": 12689, + "loc": { + "start": { + "line": 338, + "column": 10 + }, + "end": { + "line": 338, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12689, + "end": 12690, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12690, + "end": 12691, + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12701, + "end": 12702, + "loc": { + "start": { + "line": 339, + "column": 8 }, "end": { "line": 339, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12712, + "end": 12713, + "loc": { + "start": { + "line": 341, + "column": 6 + }, + "end": { + "line": 341, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12713, + "end": 12714, + "loc": { + "start": { + "line": 341, + "column": 7 + }, + "end": { + "line": 341, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12714, + "end": 12715, + "loc": { + "start": { + "line": 341, + "column": 8 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12721, + "end": 12722, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12722, + "end": 12723, + "loc": { + "start": { + "line": 342, + "column": 5 + }, + "end": { + "line": 342, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12723, + "end": 12724, + "loc": { + "start": { + "line": 342, + "column": 6 + }, + "end": { + "line": 342, + "column": 7 + } + } + }, + { + "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": 12732, + "end": 12736, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12736, + "end": 12737, + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 12737, + "end": 12743, + "loc": { + "start": { + "line": 344, + "column": 9 + }, + "end": { + "line": 344, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12743, + "end": 12744, + "loc": { + "start": { + "line": 344, + "column": 15 + }, + "end": { + "line": 344, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12744, + "end": 12745, + "loc": { + "start": { + "line": 344, + "column": 16 + }, + "end": { + "line": 344, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12745, + "end": 12746, + "loc": { + "start": { + "line": 344, + "column": 17 + }, + "end": { + "line": 344, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12750, + "end": 12751, + "loc": { + "start": { + "line": 345, + "column": 2 + }, + "end": { + "line": 345, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", + "start": 12757, + "end": 13097, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 351, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "removeButtonTheme", + "start": 13101, + "end": 13118, + "loc": { + "start": { + "line": 352, + "column": 2 + }, + "end": { + "line": 352, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13118, + "end": 13119, + "loc": { + "start": { + "line": 352, + "column": 19 + }, + "end": { + "line": 352, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13119, + "end": 13126, + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13126, + "end": 13127, + "loc": { + "start": { + "line": 352, + "column": 27 + }, + "end": { + "line": 352, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13128, + "end": 13137, + "loc": { + "start": { + "line": 352, + "column": 29 + }, + "end": { + "line": 352, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13137, + "end": 13138, + "loc": { + "start": { + "line": 352, + "column": 38 + }, + "end": { + "line": 352, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13138, + "end": 13139, + "loc": { + "start": { + "line": 352, + "column": 39 + }, + "end": { + "line": 352, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", + "start": 13145, + "end": 13225, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 355, "column": 7 } } @@ -86506,15 +99155,15 @@ "updateContext": null }, "value": "if", - "start": 12530, - "end": 12532, + "start": 13231, + "end": 13233, "loc": { "start": { - "line": 340, + "line": 356, "column": 4 }, "end": { - "line": 340, + "line": 356, "column": 6 } } @@ -86531,15 +99180,767 @@ "postfix": false, "binop": null }, - "start": 12532, - "end": 12533, + "start": 13233, + "end": 13234, "loc": { "start": { - "line": 340, + "line": 356, "column": 6 }, "end": { - "line": 340, + "line": 356, + "column": 7 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 13234, + "end": 13235, + "loc": { + "start": { + "line": 356, + "column": 7 + }, + "end": { + "line": 356, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13235, + "end": 13242, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 15 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 13243, + "end": 13245, + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 18 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 13246, + "end": 13247, + "loc": { + "start": { + "line": 356, + "column": 19 + }, + "end": { + "line": 356, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13247, + "end": 13256, + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13256, + "end": 13257, + "loc": { + "start": { + "line": 356, + "column": 29 + }, + "end": { + "line": 356, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13257, + "end": 13258, + "loc": { + "start": { + "line": 356, + "column": 30 + }, + "end": { + "line": 356, + "column": 31 + } + } + }, + { + "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": 13266, + "end": 13270, + "loc": { + "start": { + "line": 357, + "column": 6 + }, + "end": { + "line": 357, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13270, + "end": 13271, + "loc": { + "start": { + "line": 357, + "column": 10 + }, + "end": { + "line": 357, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 13271, + "end": 13278, + "loc": { + "start": { + "line": 357, + "column": 11 + }, + "end": { + "line": 357, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13278, + "end": 13279, + "loc": { + "start": { + "line": 357, + "column": 18 + }, + "end": { + "line": 357, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13279, + "end": 13290, + "loc": { + "start": { + "line": 357, + "column": 19 + }, + "end": { + "line": 357, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13291, + "end": 13292, + "loc": { + "start": { + "line": 357, + "column": 31 + }, + "end": { + "line": 357, + "column": 32 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13293, + "end": 13294, + "loc": { + "start": { + "line": 357, + "column": 33 + }, + "end": { + "line": 357, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13294, + "end": 13295, + "loc": { + "start": { + "line": 357, + "column": 34 + }, + "end": { + "line": 357, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13295, + "end": 13296, + "loc": { + "start": { + "line": 357, + "column": 35 + }, + "end": { + "line": 357, + "column": 36 + } + } + }, + { + "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": 13304, + "end": 13308, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13308, + "end": 13309, + "loc": { + "start": { + "line": 358, + "column": 10 + }, + "end": { + "line": 358, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 13309, + "end": 13315, + "loc": { + "start": { + "line": 358, + "column": 11 + }, + "end": { + "line": 358, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13315, + "end": 13316, + "loc": { + "start": { + "line": 358, + "column": 17 + }, + "end": { + "line": 358, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13316, + "end": 13317, + "loc": { + "start": { + "line": 358, + "column": 18 + }, + "end": { + "line": 358, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13317, + "end": 13318, + "loc": { + "start": { + "line": 358, + "column": 19 + }, + "end": { + "line": 358, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 13326, + "end": 13332, + "loc": { + "start": { + "line": 359, + "column": 6 + }, + "end": { + "line": 359, + "column": 12 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 13333, + "end": 13338, + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13338, + "end": 13339, + "loc": { + "start": { + "line": 359, + "column": 18 + }, + "end": { + "line": 359, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13345, + "end": 13346, + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 360, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 13354, + "end": 13422, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 13428, + "end": 13430, + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 365, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13430, + "end": 13431, + "loc": { + "start": { + "line": 365, + "column": 6 + }, + "end": { + "line": 365, "column": 7 } } @@ -86557,15 +99958,15 @@ "binop": null }, "value": "buttons", - "start": 12533, - "end": 12540, + "start": 13431, + "end": 13438, "loc": { "start": { - "line": 340, + "line": 365, "column": 7 }, "end": { - "line": 340, + "line": 365, "column": 14 } } @@ -86584,15 +99985,15 @@ "updateContext": null }, "value": "&&", - "start": 12541, - "end": 12543, + "start": 13439, + "end": 13441, "loc": { "start": { - "line": 340, + "line": 365, "column": 15 }, "end": { - "line": 340, + "line": 365, "column": 17 } } @@ -86610,15 +100011,15 @@ "binop": null }, "value": "Array", - "start": 12544, - "end": 12549, + "start": 13442, + "end": 13447, "loc": { "start": { - "line": 340, + "line": 365, "column": 18 }, "end": { - "line": 340, + "line": 365, "column": 23 } } @@ -86636,15 +100037,15 @@ "binop": null, "updateContext": null }, - "start": 12549, - "end": 12550, + "start": 13447, + "end": 13448, "loc": { "start": { - "line": 340, + "line": 365, "column": 23 }, "end": { - "line": 340, + "line": 365, "column": 24 } } @@ -86662,15 +100063,15 @@ "binop": null }, "value": "isArray", - "start": 12550, - "end": 12557, + "start": 13448, + "end": 13455, "loc": { "start": { - "line": 340, + "line": 365, "column": 24 }, "end": { - "line": 340, + "line": 365, "column": 31 } } @@ -86687,15 +100088,15 @@ "postfix": false, "binop": null }, - "start": 12557, - "end": 12558, + "start": 13455, + "end": 13456, "loc": { "start": { - "line": 340, + "line": 365, "column": 31 }, "end": { - "line": 340, + "line": 365, "column": 32 } } @@ -86715,15 +100116,15 @@ "updateContext": null }, "value": "this", - "start": 12558, - "end": 12562, + "start": 13456, + "end": 13460, "loc": { "start": { - "line": 340, + "line": 365, "column": 32 }, "end": { - "line": 340, + "line": 365, "column": 36 } } @@ -86741,15 +100142,15 @@ "binop": null, "updateContext": null }, - "start": 12562, - "end": 12563, + "start": 13460, + "end": 13461, "loc": { "start": { - "line": 340, + "line": 365, "column": 36 }, "end": { - "line": 340, + "line": 365, "column": 37 } } @@ -86767,15 +100168,15 @@ "binop": null }, "value": "options", - "start": 12563, - "end": 12570, + "start": 13461, + "end": 13468, "loc": { "start": { - "line": 340, + "line": 365, "column": 37 }, "end": { - "line": 340, + "line": 365, "column": 44 } } @@ -86793,15 +100194,15 @@ "binop": null, "updateContext": null }, - "start": 12570, - "end": 12571, + "start": 13468, + "end": 13469, "loc": { "start": { - "line": 340, + "line": 365, "column": 44 }, "end": { - "line": 340, + "line": 365, "column": 45 } } @@ -86819,15 +100220,15 @@ "binop": null }, "value": "buttonTheme", - "start": 12571, - "end": 12582, + "start": 13469, + "end": 13480, "loc": { "start": { - "line": 340, + "line": 365, "column": 45 }, "end": { - "line": 340, + "line": 365, "column": 56 } } @@ -86844,15 +100245,15 @@ "postfix": false, "binop": null }, - "start": 12582, - "end": 12583, + "start": 13480, + "end": 13481, "loc": { "start": { - "line": 340, + "line": 365, "column": 56 }, "end": { - "line": 340, + "line": 365, "column": 57 } } @@ -86871,15 +100272,15 @@ "updateContext": null }, "value": "&&", - "start": 12584, - "end": 12586, + "start": 13482, + "end": 13484, "loc": { "start": { - "line": 340, + "line": 365, "column": 58 }, "end": { - "line": 340, + "line": 365, "column": 60 } } @@ -86899,15 +100300,15 @@ "updateContext": null }, "value": "this", - "start": 12587, - "end": 12591, + "start": 13485, + "end": 13489, "loc": { "start": { - "line": 340, + "line": 365, "column": 61 }, "end": { - "line": 340, + "line": 365, "column": 65 } } @@ -86925,15 +100326,15 @@ "binop": null, "updateContext": null }, - "start": 12591, - "end": 12592, + "start": 13489, + "end": 13490, "loc": { "start": { - "line": 340, + "line": 365, "column": 65 }, "end": { - "line": 340, + "line": 365, "column": 66 } } @@ -86951,15 +100352,15 @@ "binop": null }, "value": "options", - "start": 12592, - "end": 12599, + "start": 13490, + "end": 13497, "loc": { "start": { - "line": 340, + "line": 365, "column": 66 }, "end": { - "line": 340, + "line": 365, "column": 73 } } @@ -86977,15 +100378,15 @@ "binop": null, "updateContext": null }, - "start": 12599, - "end": 12600, + "start": 13497, + "end": 13498, "loc": { "start": { - "line": 340, + "line": 365, "column": 73 }, "end": { - "line": 340, + "line": 365, "column": 74 } } @@ -87003,15 +100404,15 @@ "binop": null }, "value": "buttonTheme", - "start": 12600, - "end": 12611, + "start": 13498, + "end": 13509, "loc": { "start": { - "line": 340, + "line": 365, "column": 74 }, "end": { - "line": 340, + "line": 365, "column": 85 } } @@ -87029,15 +100430,15 @@ "binop": null, "updateContext": null }, - "start": 12611, - "end": 12612, + "start": 13509, + "end": 13510, "loc": { "start": { - "line": 340, + "line": 365, "column": 85 }, "end": { - "line": 340, + "line": 365, "column": 86 } } @@ -87055,15 +100456,15 @@ "binop": null }, "value": "length", - "start": 12612, - "end": 12618, + "start": 13510, + "end": 13516, "loc": { "start": { - "line": 340, + "line": 365, "column": 86 }, "end": { - "line": 340, + "line": 365, "column": 92 } } @@ -87080,15 +100481,15 @@ "postfix": false, "binop": null }, - "start": 12618, - "end": 12619, + "start": 13516, + "end": 13517, "loc": { "start": { - "line": 340, + "line": 365, "column": 92 }, "end": { - "line": 340, + "line": 365, "column": 93 } } @@ -87105,15 +100506,15 @@ "postfix": false, "binop": null }, - "start": 12619, - "end": 12620, + "start": 13517, + "end": 13518, "loc": { "start": { - "line": 340, + "line": 365, "column": 93 }, "end": { - "line": 340, + "line": 365, "column": 94 } } @@ -87133,15 +100534,15 @@ "updateContext": null }, "value": "let", - "start": 12628, - "end": 12631, + "start": 13526, + "end": 13529, "loc": { "start": { - "line": 341, + "line": 366, "column": 6 }, "end": { - "line": 341, + "line": 366, "column": 9 } } @@ -87159,15 +100560,15 @@ "binop": null }, "value": "buttonArray", - "start": 12632, - "end": 12643, + "start": 13530, + "end": 13541, "loc": { "start": { - "line": 341, + "line": 366, "column": 10 }, "end": { - "line": 341, + "line": 366, "column": 21 } } @@ -87186,15 +100587,15 @@ "updateContext": null }, "value": "=", - "start": 12644, - "end": 12645, + "start": 13542, + "end": 13543, "loc": { "start": { - "line": 341, + "line": 366, "column": 22 }, "end": { - "line": 341, + "line": 366, "column": 23 } } @@ -87212,15 +100613,15 @@ "binop": null }, "value": "buttons", - "start": 12646, - "end": 12653, + "start": 13544, + "end": 13551, "loc": { "start": { - "line": 341, + "line": 366, "column": 24 }, "end": { - "line": 341, + "line": 366, "column": 31 } } @@ -87238,15 +100639,15 @@ "binop": null, "updateContext": null }, - "start": 12653, - "end": 12654, + "start": 13551, + "end": 13552, "loc": { "start": { - "line": 341, + "line": 366, "column": 31 }, "end": { - "line": 341, + "line": 366, "column": 32 } } @@ -87264,15 +100665,15 @@ "binop": null }, "value": "split", - "start": 12654, - "end": 12659, + "start": 13552, + "end": 13557, "loc": { "start": { - "line": 341, + "line": 366, "column": 32 }, "end": { - "line": 341, + "line": 366, "column": 37 } } @@ -87289,15 +100690,15 @@ "postfix": false, "binop": null }, - "start": 12659, - "end": 12660, + "start": 13557, + "end": 13558, "loc": { "start": { - "line": 341, + "line": 366, "column": 37 }, "end": { - "line": 341, + "line": 366, "column": 38 } } @@ -87316,15 +100717,15 @@ "updateContext": null }, "value": " ", - "start": 12660, - "end": 12663, + "start": 13558, + "end": 13561, "loc": { "start": { - "line": 341, + "line": 366, "column": 38 }, "end": { - "line": 341, + "line": 366, "column": 41 } } @@ -87341,15 +100742,15 @@ "postfix": false, "binop": null }, - "start": 12663, - "end": 12664, + "start": 13561, + "end": 13562, "loc": { "start": { - "line": 341, + "line": 366, "column": 41 }, "end": { - "line": 341, + "line": 366, "column": 42 } } @@ -87367,15 +100768,15 @@ "binop": null, "updateContext": null }, - "start": 12664, - "end": 12665, + "start": 13562, + "end": 13563, "loc": { "start": { - "line": 341, + "line": 366, "column": 42 }, "end": { - "line": 341, + "line": 366, "column": 43 } } @@ -87393,15 +100794,15 @@ "binop": null }, "value": "buttonArray", - "start": 12673, - "end": 12684, + "start": 13571, + "end": 13582, "loc": { "start": { - "line": 342, + "line": 367, "column": 6 }, "end": { - "line": 342, + "line": 367, "column": 17 } } @@ -87419,15 +100820,15 @@ "binop": null, "updateContext": null }, - "start": 12684, - "end": 12685, + "start": 13582, + "end": 13583, "loc": { "start": { - "line": 342, + "line": 367, "column": 17 }, "end": { - "line": 342, + "line": 367, "column": 18 } } @@ -87445,15 +100846,15 @@ "binop": null }, "value": "forEach", - "start": 12685, - "end": 12692, + "start": 13583, + "end": 13590, "loc": { "start": { - "line": 342, + "line": 367, "column": 18 }, "end": { - "line": 342, + "line": 367, "column": 25 } } @@ -87470,15 +100871,15 @@ "postfix": false, "binop": null }, - "start": 12692, - "end": 12693, + "start": 13590, + "end": 13591, "loc": { "start": { - "line": 342, + "line": 367, "column": 25 }, "end": { - "line": 342, + "line": 367, "column": 26 } } @@ -87495,15 +100896,15 @@ "postfix": false, "binop": null }, - "start": 12693, - "end": 12694, + "start": 13591, + "end": 13592, "loc": { "start": { - "line": 342, + "line": 367, "column": 26 }, "end": { - "line": 342, + "line": 367, "column": 27 } } @@ -87521,15 +100922,15 @@ "binop": null }, "value": "button", - "start": 12694, - "end": 12700, + "start": 13592, + "end": 13598, "loc": { "start": { - "line": 342, + "line": 367, "column": 27 }, "end": { - "line": 342, + "line": 367, "column": 33 } } @@ -87547,15 +100948,15 @@ "binop": null, "updateContext": null }, - "start": 12700, - "end": 12701, + "start": 13598, + "end": 13599, "loc": { "start": { - "line": 342, + "line": 367, "column": 33 }, "end": { - "line": 342, + "line": 367, "column": 34 } } @@ -87573,15 +100974,15 @@ "binop": null }, "value": "key", - "start": 12702, - "end": 12705, + "start": 13600, + "end": 13603, "loc": { "start": { - "line": 342, + "line": 367, "column": 35 }, "end": { - "line": 342, + "line": 367, "column": 38 } } @@ -87598,15 +100999,15 @@ "postfix": false, "binop": null }, - "start": 12705, - "end": 12706, + "start": 13603, + "end": 13604, "loc": { "start": { - "line": 342, + "line": 367, "column": 38 }, "end": { - "line": 342, + "line": 367, "column": 39 } } @@ -87624,15 +101025,15 @@ "binop": null, "updateContext": null }, - "start": 12707, - "end": 12709, + "start": 13605, + "end": 13607, "loc": { "start": { - "line": 342, + "line": 367, "column": 40 }, "end": { - "line": 342, + "line": 367, "column": 42 } } @@ -87649,15 +101050,15 @@ "postfix": false, "binop": null }, - "start": 12710, - "end": 12711, + "start": 13608, + "end": 13609, "loc": { "start": { - "line": 342, + "line": 367, "column": 43 }, "end": { - "line": 342, + "line": 367, "column": 44 } } @@ -87677,15 +101078,15 @@ "updateContext": null }, "value": "this", - "start": 12721, - "end": 12725, + "start": 13619, + "end": 13623, "loc": { "start": { - "line": 343, + "line": 368, "column": 8 }, "end": { - "line": 343, + "line": 368, "column": 12 } } @@ -87703,15 +101104,15 @@ "binop": null, "updateContext": null }, - "start": 12725, - "end": 12726, + "start": 13623, + "end": 13624, "loc": { "start": { - "line": 343, + "line": 368, "column": 12 }, "end": { - "line": 343, + "line": 368, "column": 13 } } @@ -87729,15 +101130,15 @@ "binop": null }, "value": "options", - "start": 12726, - "end": 12733, + "start": 13624, + "end": 13631, "loc": { "start": { - "line": 343, + "line": 368, "column": 13 }, "end": { - "line": 343, + "line": 368, "column": 20 } } @@ -87755,15 +101156,15 @@ "binop": null, "updateContext": null }, - "start": 12733, - "end": 12734, + "start": 13631, + "end": 13632, "loc": { "start": { - "line": 343, + "line": 368, "column": 20 }, "end": { - "line": 343, + "line": 368, "column": 21 } } @@ -87781,15 +101182,15 @@ "binop": null }, "value": "buttonTheme", - "start": 12734, - "end": 12745, + "start": 13632, + "end": 13643, "loc": { "start": { - "line": 343, + "line": 368, "column": 21 }, "end": { - "line": 343, + "line": 368, "column": 32 } } @@ -87807,15 +101208,15 @@ "binop": null, "updateContext": null }, - "start": 12745, - "end": 12746, + "start": 13643, + "end": 13644, "loc": { "start": { - "line": 343, + "line": 368, "column": 32 }, "end": { - "line": 343, + "line": 368, "column": 33 } } @@ -87833,15 +101234,15 @@ "binop": null }, "value": "map", - "start": 12746, - "end": 12749, + "start": 13644, + "end": 13647, "loc": { "start": { - "line": 343, + "line": 368, "column": 33 }, "end": { - "line": 343, + "line": 368, "column": 36 } } @@ -87858,15 +101259,15 @@ "postfix": false, "binop": null }, - "start": 12749, - "end": 12750, + "start": 13647, + "end": 13648, "loc": { "start": { - "line": 343, + "line": 368, "column": 36 }, "end": { - "line": 343, + "line": 368, "column": 37 } } @@ -87883,15 +101284,15 @@ "postfix": false, "binop": null }, - "start": 12750, - "end": 12751, + "start": 13648, + "end": 13649, "loc": { "start": { - "line": 343, + "line": 368, "column": 37 }, "end": { - "line": 343, + "line": 368, "column": 38 } } @@ -87909,15 +101310,15 @@ "binop": null }, "value": "buttonTheme", - "start": 12751, - "end": 12762, + "start": 13649, + "end": 13660, "loc": { "start": { - "line": 343, + "line": 368, "column": 38 }, "end": { - "line": 343, + "line": 368, "column": 49 } } @@ -87935,15 +101336,15 @@ "binop": null, "updateContext": null }, - "start": 12762, - "end": 12763, + "start": 13660, + "end": 13661, "loc": { "start": { - "line": 343, + "line": 368, "column": 49 }, "end": { - "line": 343, + "line": 368, "column": 50 } } @@ -87961,15 +101362,15 @@ "binop": null }, "value": "index", - "start": 12764, - "end": 12769, + "start": 13662, + "end": 13667, "loc": { "start": { - "line": 343, + "line": 368, "column": 51 }, "end": { - "line": 343, + "line": 368, "column": 56 } } @@ -87986,15 +101387,15 @@ "postfix": false, "binop": null }, - "start": 12769, - "end": 12770, + "start": 13667, + "end": 13668, "loc": { "start": { - "line": 343, + "line": 368, "column": 56 }, "end": { - "line": 343, + "line": 368, "column": 57 } } @@ -88012,15 +101413,15 @@ "binop": null, "updateContext": null }, - "start": 12771, - "end": 12773, + "start": 13669, + "end": 13671, "loc": { "start": { - "line": 343, + "line": 368, "column": 58 }, "end": { - "line": 343, + "line": 368, "column": 60 } } @@ -88037,15 +101438,15 @@ "postfix": false, "binop": null }, - "start": 12774, - "end": 12775, + "start": 13672, + "end": 13673, "loc": { "start": { - "line": 343, + "line": 368, "column": 61 }, "end": { - "line": 343, + "line": 368, "column": 62 } } @@ -88053,15 +101454,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 12789, - "end": 12930, + "start": 13687, + "end": 13828, "loc": { "start": { - "line": 345, + "line": 370, "column": 10 }, "end": { - "line": 348, + "line": 373, "column": 13 } } @@ -88081,15 +101482,15 @@ "updateContext": null }, "value": "if", - "start": 12942, - "end": 12944, + "start": 13840, + "end": 13842, "loc": { "start": { - "line": 349, + "line": 374, "column": 10 }, "end": { - "line": 349, + "line": 374, "column": 12 } } @@ -88106,15 +101507,15 @@ "postfix": false, "binop": null }, - "start": 12944, - "end": 12945, + "start": 13842, + "end": 13843, "loc": { "start": { - "line": 349, + "line": 374, "column": 12 }, "end": { - "line": 349, + "line": 374, "column": 13 } } @@ -88131,15 +101532,15 @@ "postfix": false, "binop": null }, - "start": 12959, - "end": 12960, + "start": 13857, + "end": 13858, "loc": { "start": { - "line": 350, + "line": 375, "column": 12 }, "end": { - "line": 350, + "line": 375, "column": 13 } } @@ -88157,15 +101558,15 @@ "binop": null }, "value": "className", - "start": 12960, - "end": 12969, + "start": 13858, + "end": 13867, "loc": { "start": { - "line": 350, + "line": 375, "column": 13 }, "end": { - "line": 350, + "line": 375, "column": 22 } } @@ -88184,15 +101585,15 @@ "updateContext": null }, "value": "&&", - "start": 12970, - "end": 12972, + "start": 13868, + "end": 13870, "loc": { "start": { - "line": 350, + "line": 375, "column": 23 }, "end": { - "line": 350, + "line": 375, "column": 25 } } @@ -88210,15 +101611,15 @@ "binop": null }, "value": "className", - "start": 12973, - "end": 12982, + "start": 13871, + "end": 13880, "loc": { "start": { - "line": 350, + "line": 375, "column": 26 }, "end": { - "line": 350, + "line": 375, "column": 35 } } @@ -88236,15 +101637,15 @@ "binop": null, "updateContext": null }, - "start": 12982, - "end": 12983, + "start": 13880, + "end": 13881, "loc": { "start": { - "line": 350, + "line": 375, "column": 35 }, "end": { - "line": 350, + "line": 375, "column": 36 } } @@ -88262,15 +101663,15 @@ "binop": null }, "value": "includes", - "start": 12983, - "end": 12991, + "start": 13881, + "end": 13889, "loc": { "start": { - "line": 350, + "line": 375, "column": 36 }, "end": { - "line": 350, + "line": 375, "column": 44 } } @@ -88287,15 +101688,15 @@ "postfix": false, "binop": null }, - "start": 12991, - "end": 12992, + "start": 13889, + "end": 13890, "loc": { "start": { - "line": 350, + "line": 375, "column": 44 }, "end": { - "line": 350, + "line": 375, "column": 45 } } @@ -88313,15 +101714,15 @@ "binop": null }, "value": "buttonTheme", - "start": 12992, - "end": 13003, + "start": 13890, + "end": 13901, "loc": { "start": { - "line": 350, + "line": 375, "column": 45 }, "end": { - "line": 350, + "line": 375, "column": 56 } } @@ -88339,15 +101740,15 @@ "binop": null, "updateContext": null }, - "start": 13003, - "end": 13004, + "start": 13901, + "end": 13902, "loc": { "start": { - "line": 350, + "line": 375, "column": 56 }, "end": { - "line": 350, + "line": 375, "column": 57 } } @@ -88367,15 +101768,15 @@ "updateContext": null }, "value": "class", - "start": 13004, - "end": 13009, + "start": 13902, + "end": 13907, "loc": { "start": { - "line": 350, + "line": 375, "column": 57 }, "end": { - "line": 350, + "line": 375, "column": 62 } } @@ -88392,15 +101793,15 @@ "postfix": false, "binop": null }, - "start": 13009, - "end": 13010, + "start": 13907, + "end": 13908, "loc": { "start": { - "line": 350, + "line": 375, "column": 62 }, "end": { - "line": 350, + "line": 375, "column": 63 } } @@ -88417,15 +101818,15 @@ "postfix": false, "binop": null }, - "start": 13010, - "end": 13011, + "start": 13908, + "end": 13909, "loc": { "start": { - "line": 350, + "line": 375, "column": 63 }, "end": { - "line": 350, + "line": 375, "column": 64 } } @@ -88444,15 +101845,15 @@ "updateContext": null }, "value": "||", - "start": 13012, - "end": 13014, + "start": 13910, + "end": 13912, "loc": { "start": { - "line": 350, + "line": 375, "column": 65 }, "end": { - "line": 350, + "line": 375, "column": 67 } } @@ -88471,15 +101872,15 @@ "updateContext": null }, "value": "!", - "start": 13028, - "end": 13029, + "start": 13926, + "end": 13927, "loc": { "start": { - "line": 351, + "line": 376, "column": 12 }, "end": { - "line": 351, + "line": 376, "column": 13 } } @@ -88497,15 +101898,15 @@ "binop": null }, "value": "className", - "start": 13029, - "end": 13038, + "start": 13927, + "end": 13936, "loc": { "start": { - "line": 351, + "line": 376, "column": 13 }, "end": { - "line": 351, + "line": 376, "column": 22 } } @@ -88522,15 +101923,15 @@ "postfix": false, "binop": null }, - "start": 13050, - "end": 13051, + "start": 13948, + "end": 13949, "loc": { "start": { - "line": 352, + "line": 377, "column": 10 }, "end": { - "line": 352, + "line": 377, "column": 11 } } @@ -88547,15 +101948,15 @@ "postfix": false, "binop": null }, - "start": 13051, - "end": 13052, + "start": 13949, + "end": 13950, "loc": { "start": { - "line": 352, + "line": 377, "column": 11 }, "end": { - "line": 352, + "line": 377, "column": 12 } } @@ -88575,15 +101976,15 @@ "updateContext": null }, "value": "let", - "start": 13066, - "end": 13069, + "start": 13964, + "end": 13967, "loc": { "start": { - "line": 353, + "line": 378, "column": 12 }, "end": { - "line": 353, + "line": 378, "column": 15 } } @@ -88601,15 +102002,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 13070, - "end": 13089, + "start": 13968, + "end": 13987, "loc": { "start": { - "line": 353, + "line": 378, "column": 16 }, "end": { - "line": 353, + "line": 378, "column": 35 } } @@ -88628,15 +102029,15 @@ "updateContext": null }, "value": "=", - "start": 13090, - "end": 13091, + "start": 13988, + "end": 13989, "loc": { "start": { - "line": 353, + "line": 378, "column": 36 }, "end": { - "line": 353, + "line": 378, "column": 37 } } @@ -88654,15 +102055,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13092, - "end": 13103, + "start": 13990, + "end": 14001, "loc": { "start": { - "line": 353, + "line": 378, "column": 38 }, "end": { - "line": 353, + "line": 378, "column": 49 } } @@ -88680,15 +102081,15 @@ "binop": null, "updateContext": null }, - "start": 13103, - "end": 13104, + "start": 14001, + "end": 14002, "loc": { "start": { - "line": 353, + "line": 378, "column": 49 }, "end": { - "line": 353, + "line": 378, "column": 50 } } @@ -88706,15 +102107,15 @@ "binop": null }, "value": "buttons", - "start": 13104, - "end": 13111, + "start": 14002, + "end": 14009, "loc": { "start": { - "line": 353, + "line": 378, "column": 50 }, "end": { - "line": 353, + "line": 378, "column": 57 } } @@ -88732,15 +102133,15 @@ "binop": null, "updateContext": null }, - "start": 13111, - "end": 13112, + "start": 14009, + "end": 14010, "loc": { "start": { - "line": 353, + "line": 378, "column": 57 }, "end": { - "line": 353, + "line": 378, "column": 58 } } @@ -88758,15 +102159,15 @@ "binop": null }, "value": "split", - "start": 13112, - "end": 13117, + "start": 14010, + "end": 14015, "loc": { "start": { - "line": 353, + "line": 378, "column": 58 }, "end": { - "line": 353, + "line": 378, "column": 63 } } @@ -88783,15 +102184,15 @@ "postfix": false, "binop": null }, - "start": 13117, - "end": 13118, + "start": 14015, + "end": 14016, "loc": { "start": { - "line": 353, + "line": 378, "column": 63 }, "end": { - "line": 353, + "line": 378, "column": 64 } } @@ -88810,15 +102211,15 @@ "updateContext": null }, "value": " ", - "start": 13118, - "end": 13121, + "start": 14016, + "end": 14019, "loc": { "start": { - "line": 353, + "line": 378, "column": 64 }, "end": { - "line": 353, + "line": 378, "column": 67 } } @@ -88835,15 +102236,15 @@ "postfix": false, "binop": null }, - "start": 13121, - "end": 13122, + "start": 14019, + "end": 14020, "loc": { "start": { - "line": 353, + "line": 378, "column": 67 }, "end": { - "line": 353, + "line": 378, "column": 68 } } @@ -88861,15 +102262,15 @@ "binop": null, "updateContext": null }, - "start": 13122, - "end": 13123, + "start": 14020, + "end": 14021, "loc": { "start": { - "line": 353, + "line": 378, "column": 68 }, "end": { - "line": 353, + "line": 378, "column": 69 } } @@ -88887,15 +102288,15 @@ "binop": null }, "value": "filter", - "start": 13123, - "end": 13129, + "start": 14021, + "end": 14027, "loc": { "start": { - "line": 353, + "line": 378, "column": 69 }, "end": { - "line": 353, + "line": 378, "column": 75 } } @@ -88912,15 +102313,15 @@ "postfix": false, "binop": null }, - "start": 13129, - "end": 13130, + "start": 14027, + "end": 14028, "loc": { "start": { - "line": 353, + "line": 378, "column": 75 }, "end": { - "line": 353, + "line": 378, "column": 76 } } @@ -88938,15 +102339,15 @@ "binop": null }, "value": "item", - "start": 13130, - "end": 13134, + "start": 14028, + "end": 14032, "loc": { "start": { - "line": 353, + "line": 378, "column": 76 }, "end": { - "line": 353, + "line": 378, "column": 80 } } @@ -88964,15 +102365,15 @@ "binop": null, "updateContext": null }, - "start": 13135, - "end": 13137, + "start": 14033, + "end": 14035, "loc": { "start": { - "line": 353, + "line": 378, "column": 81 }, "end": { - "line": 353, + "line": 378, "column": 83 } } @@ -88990,15 +102391,15 @@ "binop": null }, "value": "item", - "start": 13138, - "end": 13142, + "start": 14036, + "end": 14040, "loc": { "start": { - "line": 353, + "line": 378, "column": 84 }, "end": { - "line": 353, + "line": 378, "column": 88 } } @@ -89017,15 +102418,15 @@ "updateContext": null }, "value": "!==", - "start": 13143, - "end": 13146, + "start": 14041, + "end": 14044, "loc": { "start": { - "line": 353, + "line": 378, "column": 89 }, "end": { - "line": 353, + "line": 378, "column": 92 } } @@ -89043,15 +102444,15 @@ "binop": null }, "value": "button", - "start": 13147, - "end": 13153, + "start": 14045, + "end": 14051, "loc": { "start": { - "line": 353, + "line": 378, "column": 93 }, "end": { - "line": 353, + "line": 378, "column": 99 } } @@ -89068,15 +102469,15 @@ "postfix": false, "binop": null }, - "start": 13153, - "end": 13154, + "start": 14051, + "end": 14052, "loc": { "start": { - "line": 353, + "line": 378, "column": 99 }, "end": { - "line": 353, + "line": 378, "column": 100 } } @@ -89094,15 +102495,15 @@ "binop": null, "updateContext": null }, - "start": 13154, - "end": 13155, + "start": 14052, + "end": 14053, "loc": { "start": { - "line": 353, + "line": 378, "column": 100 }, "end": { - "line": 353, + "line": 378, "column": 101 } } @@ -89110,15 +102511,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 13171, - "end": 13268, + "start": 14069, + "end": 14166, "loc": { "start": { - "line": 355, + "line": 380, "column": 12 }, "end": { - "line": 357, + "line": 382, "column": 15 } } @@ -89138,15 +102539,15 @@ "updateContext": null }, "value": "if", - "start": 13282, - "end": 13284, + "start": 14180, + "end": 14182, "loc": { "start": { - "line": 358, + "line": 383, "column": 12 }, "end": { - "line": 358, + "line": 383, "column": 14 } } @@ -89163,15 +102564,15 @@ "postfix": false, "binop": null }, - "start": 13284, - "end": 13285, + "start": 14182, + "end": 14183, "loc": { "start": { - "line": 358, + "line": 383, "column": 14 }, "end": { - "line": 358, + "line": 383, "column": 15 } } @@ -89189,15 +102590,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 13285, - "end": 13304, + "start": 14183, + "end": 14202, "loc": { "start": { - "line": 358, + "line": 383, "column": 15 }, "end": { - "line": 358, + "line": 383, "column": 34 } } @@ -89215,15 +102616,15 @@ "binop": null, "updateContext": null }, - "start": 13304, - "end": 13305, + "start": 14202, + "end": 14203, "loc": { "start": { - "line": 358, + "line": 383, "column": 34 }, "end": { - "line": 358, + "line": 383, "column": 35 } } @@ -89241,15 +102642,15 @@ "binop": null }, "value": "length", - "start": 13305, - "end": 13311, + "start": 14203, + "end": 14209, "loc": { "start": { - "line": 358, + "line": 383, "column": 35 }, "end": { - "line": 358, + "line": 383, "column": 41 } } @@ -89266,15 +102667,15 @@ "postfix": false, "binop": null }, - "start": 13311, - "end": 13312, + "start": 14209, + "end": 14210, "loc": { "start": { - "line": 358, + "line": 383, "column": 41 }, "end": { - "line": 358, + "line": 383, "column": 42 } } @@ -89291,15 +102692,15 @@ "postfix": false, "binop": null }, - "start": 13312, - "end": 13313, + "start": 14210, + "end": 14211, "loc": { "start": { - "line": 358, + "line": 383, "column": 42 }, "end": { - "line": 358, + "line": 383, "column": 43 } } @@ -89317,15 +102718,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13329, - "end": 13340, + "start": 14227, + "end": 14238, "loc": { "start": { - "line": 359, + "line": 384, "column": 14 }, "end": { - "line": 359, + "line": 384, "column": 25 } } @@ -89343,15 +102744,15 @@ "binop": null, "updateContext": null }, - "start": 13340, - "end": 13341, + "start": 14238, + "end": 14239, "loc": { "start": { - "line": 359, + "line": 384, "column": 25 }, "end": { - "line": 359, + "line": 384, "column": 26 } } @@ -89369,15 +102770,15 @@ "binop": null }, "value": "buttons", - "start": 13341, - "end": 13348, + "start": 14239, + "end": 14246, "loc": { "start": { - "line": 359, + "line": 384, "column": 26 }, "end": { - "line": 359, + "line": 384, "column": 33 } } @@ -89396,15 +102797,15 @@ "updateContext": null }, "value": "=", - "start": 13349, - "end": 13350, + "start": 14247, + "end": 14248, "loc": { "start": { - "line": 359, + "line": 384, "column": 34 }, "end": { - "line": 359, + "line": 384, "column": 35 } } @@ -89422,15 +102823,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 13351, - "end": 13370, + "start": 14249, + "end": 14268, "loc": { "start": { - "line": 359, + "line": 384, "column": 36 }, "end": { - "line": 359, + "line": 384, "column": 55 } } @@ -89448,15 +102849,15 @@ "binop": null, "updateContext": null }, - "start": 13370, - "end": 13371, + "start": 14268, + "end": 14269, "loc": { "start": { - "line": 359, + "line": 384, "column": 55 }, "end": { - "line": 359, + "line": 384, "column": 56 } } @@ -89474,15 +102875,15 @@ "binop": null }, "value": "join", - "start": 13371, - "end": 13375, + "start": 14269, + "end": 14273, "loc": { "start": { - "line": 359, + "line": 384, "column": 56 }, "end": { - "line": 359, + "line": 384, "column": 60 } } @@ -89499,15 +102900,15 @@ "postfix": false, "binop": null }, - "start": 13375, - "end": 13376, + "start": 14273, + "end": 14274, "loc": { "start": { - "line": 359, + "line": 384, "column": 60 }, "end": { - "line": 359, + "line": 384, "column": 61 } } @@ -89526,15 +102927,15 @@ "updateContext": null }, "value": " ", - "start": 13376, - "end": 13379, + "start": 14274, + "end": 14277, "loc": { "start": { - "line": 359, + "line": 384, "column": 61 }, "end": { - "line": 359, + "line": 384, "column": 64 } } @@ -89551,15 +102952,15 @@ "postfix": false, "binop": null }, - "start": 13379, - "end": 13380, + "start": 14277, + "end": 14278, "loc": { "start": { - "line": 359, + "line": 384, "column": 64 }, "end": { - "line": 359, + "line": 384, "column": 65 } } @@ -89577,15 +102978,15 @@ "binop": null, "updateContext": null }, - "start": 13380, - "end": 13381, + "start": 14278, + "end": 14279, "loc": { "start": { - "line": 359, + "line": 384, "column": 65 }, "end": { - "line": 359, + "line": 384, "column": 66 } } @@ -89602,15 +103003,15 @@ "postfix": false, "binop": null }, - "start": 13395, - "end": 13396, + "start": 14293, + "end": 14294, "loc": { "start": { - "line": 360, + "line": 385, "column": 12 }, "end": { - "line": 360, + "line": 385, "column": 13 } } @@ -89630,15 +103031,15 @@ "updateContext": null }, "value": "else", - "start": 13397, - "end": 13401, + "start": 14295, + "end": 14299, "loc": { "start": { - "line": 360, + "line": 385, "column": 14 }, "end": { - "line": 360, + "line": 385, "column": 18 } } @@ -89655,15 +103056,15 @@ "postfix": false, "binop": null }, - "start": 13402, - "end": 13403, + "start": 14300, + "end": 14301, "loc": { "start": { - "line": 360, + "line": 385, "column": 19 }, "end": { - "line": 360, + "line": 385, "column": 20 } } @@ -89683,15 +103084,15 @@ "updateContext": null }, "value": "this", - "start": 13419, - "end": 13423, + "start": 14317, + "end": 14321, "loc": { "start": { - "line": 361, + "line": 386, "column": 14 }, "end": { - "line": 361, + "line": 386, "column": 18 } } @@ -89709,15 +103110,15 @@ "binop": null, "updateContext": null }, - "start": 13423, - "end": 13424, + "start": 14321, + "end": 14322, "loc": { "start": { - "line": 361, + "line": 386, "column": 18 }, "end": { - "line": 361, + "line": 386, "column": 19 } } @@ -89735,15 +103136,15 @@ "binop": null }, "value": "options", - "start": 13424, - "end": 13431, + "start": 14322, + "end": 14329, "loc": { "start": { - "line": 361, + "line": 386, "column": 19 }, "end": { - "line": 361, + "line": 386, "column": 26 } } @@ -89761,15 +103162,15 @@ "binop": null, "updateContext": null }, - "start": 13431, - "end": 13432, + "start": 14329, + "end": 14330, "loc": { "start": { - "line": 361, + "line": 386, "column": 26 }, "end": { - "line": 361, + "line": 386, "column": 27 } } @@ -89787,15 +103188,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13432, - "end": 13443, + "start": 14330, + "end": 14341, "loc": { "start": { - "line": 361, + "line": 386, "column": 27 }, "end": { - "line": 361, + "line": 386, "column": 38 } } @@ -89813,15 +103214,15 @@ "binop": null, "updateContext": null }, - "start": 13443, - "end": 13444, + "start": 14341, + "end": 14342, "loc": { "start": { - "line": 361, + "line": 386, "column": 38 }, "end": { - "line": 361, + "line": 386, "column": 39 } } @@ -89839,15 +103240,15 @@ "binop": null }, "value": "splice", - "start": 13444, - "end": 13450, + "start": 14342, + "end": 14348, "loc": { "start": { - "line": 361, + "line": 386, "column": 39 }, "end": { - "line": 361, + "line": 386, "column": 45 } } @@ -89864,15 +103265,15 @@ "postfix": false, "binop": null }, - "start": 13450, - "end": 13451, + "start": 14348, + "end": 14349, "loc": { "start": { - "line": 361, + "line": 386, "column": 45 }, "end": { - "line": 361, + "line": 386, "column": 46 } } @@ -89890,15 +103291,15 @@ "binop": null }, "value": "index", - "start": 13451, - "end": 13456, + "start": 14349, + "end": 14354, "loc": { "start": { - "line": 361, + "line": 386, "column": 46 }, "end": { - "line": 361, + "line": 386, "column": 51 } } @@ -89916,15 +103317,15 @@ "binop": null, "updateContext": null }, - "start": 13456, - "end": 13457, + "start": 14354, + "end": 14355, "loc": { "start": { - "line": 361, + "line": 386, "column": 51 }, "end": { - "line": 361, + "line": 386, "column": 52 } } @@ -89943,15 +103344,15 @@ "updateContext": null }, "value": 1, - "start": 13458, - "end": 13459, + "start": 14356, + "end": 14357, "loc": { "start": { - "line": 361, + "line": 386, "column": 53 }, "end": { - "line": 361, + "line": 386, "column": 54 } } @@ -89968,15 +103369,15 @@ "postfix": false, "binop": null }, - "start": 13459, - "end": 13460, + "start": 14357, + "end": 14358, "loc": { "start": { - "line": 361, + "line": 386, "column": 54 }, "end": { - "line": 361, + "line": 386, "column": 55 } } @@ -89994,15 +103395,15 @@ "binop": null, "updateContext": null }, - "start": 13460, - "end": 13461, + "start": 14358, + "end": 14359, "loc": { "start": { - "line": 361, + "line": 386, "column": 55 }, "end": { - "line": 361, + "line": 386, "column": 56 } } @@ -90020,15 +103421,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13477, - "end": 13488, + "start": 14375, + "end": 14386, "loc": { "start": { - "line": 362, + "line": 387, "column": 14 }, "end": { - "line": 362, + "line": 387, "column": 25 } } @@ -90047,15 +103448,15 @@ "updateContext": null }, "value": "=", - "start": 13489, - "end": 13490, + "start": 14387, + "end": 14388, "loc": { "start": { - "line": 362, + "line": 387, "column": 26 }, "end": { - "line": 362, + "line": 387, "column": 27 } } @@ -90075,15 +103476,15 @@ "updateContext": null }, "value": "null", - "start": 13491, - "end": 13495, + "start": 14389, + "end": 14393, "loc": { "start": { - "line": 362, + "line": 387, "column": 28 }, "end": { - "line": 362, + "line": 387, "column": 32 } } @@ -90101,15 +103502,15 @@ "binop": null, "updateContext": null }, - "start": 13495, - "end": 13496, + "start": 14393, + "end": 14394, "loc": { "start": { - "line": 362, + "line": 387, "column": 32 }, "end": { - "line": 362, + "line": 387, "column": 33 } } @@ -90126,15 +103527,15 @@ "postfix": false, "binop": null }, - "start": 13510, - "end": 13511, + "start": 14408, + "end": 14409, "loc": { "start": { - "line": 363, + "line": 388, "column": 12 }, "end": { - "line": 363, + "line": 388, "column": 13 } } @@ -90151,15 +103552,15 @@ "postfix": false, "binop": null }, - "start": 13526, - "end": 13527, + "start": 14424, + "end": 14425, "loc": { "start": { - "line": 365, + "line": 390, "column": 10 }, "end": { - "line": 365, + "line": 390, "column": 11 } } @@ -90179,15 +103580,15 @@ "updateContext": null }, "value": "return", - "start": 13541, - "end": 13547, + "start": 14439, + "end": 14445, "loc": { "start": { - "line": 367, + "line": 392, "column": 10 }, "end": { - "line": 367, + "line": 392, "column": 16 } } @@ -90205,15 +103606,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13548, - "end": 13559, + "start": 14446, + "end": 14457, "loc": { "start": { - "line": 367, + "line": 392, "column": 17 }, "end": { - "line": 367, + "line": 392, "column": 28 } } @@ -90231,15 +103632,15 @@ "binop": null, "updateContext": null }, - "start": 13559, - "end": 13560, + "start": 14457, + "end": 14458, "loc": { "start": { - "line": 367, + "line": 392, "column": 28 }, "end": { - "line": 367, + "line": 392, "column": 29 } } @@ -90256,15 +103657,15 @@ "postfix": false, "binop": null }, - "start": 13570, - "end": 13571, + "start": 14468, + "end": 14469, "loc": { "start": { - "line": 368, + "line": 393, "column": 8 }, "end": { - "line": 368, + "line": 393, "column": 9 } } @@ -90281,15 +103682,15 @@ "postfix": false, "binop": null }, - "start": 13571, - "end": 13572, + "start": 14469, + "end": 14470, "loc": { "start": { - "line": 368, + "line": 393, "column": 9 }, "end": { - "line": 368, + "line": 393, "column": 10 } } @@ -90307,15 +103708,15 @@ "binop": null, "updateContext": null }, - "start": 13572, - "end": 13573, + "start": 14470, + "end": 14471, "loc": { "start": { - "line": 368, + "line": 393, "column": 10 }, "end": { - "line": 368, + "line": 393, "column": 11 } } @@ -90332,15 +103733,15 @@ "postfix": false, "binop": null }, - "start": 13581, - "end": 13582, + "start": 14479, + "end": 14480, "loc": { "start": { - "line": 369, + "line": 394, "column": 6 }, "end": { - "line": 369, + "line": 394, "column": 7 } } @@ -90357,15 +103758,15 @@ "postfix": false, "binop": null }, - "start": 13582, - "end": 13583, + "start": 14480, + "end": 14481, "loc": { "start": { - "line": 369, + "line": 394, "column": 7 }, "end": { - "line": 369, + "line": 394, "column": 8 } } @@ -90383,15 +103784,15 @@ "binop": null, "updateContext": null }, - "start": 13583, - "end": 13584, + "start": 14481, + "end": 14482, "loc": { "start": { - "line": 369, + "line": 394, "column": 8 }, "end": { - "line": 369, + "line": 394, "column": 9 } } @@ -90411,15 +103812,15 @@ "updateContext": null }, "value": "this", - "start": 13594, - "end": 13598, + "start": 14492, + "end": 14496, "loc": { "start": { - "line": 371, + "line": 396, "column": 6 }, "end": { - "line": 371, + "line": 396, "column": 10 } } @@ -90437,15 +103838,15 @@ "binop": null, "updateContext": null }, - "start": 13598, - "end": 13599, + "start": 14496, + "end": 14497, "loc": { "start": { - "line": 371, + "line": 396, "column": 10 }, "end": { - "line": 371, + "line": 396, "column": 11 } } @@ -90463,15 +103864,15 @@ "binop": null }, "value": "render", - "start": 13599, - "end": 13605, + "start": 14497, + "end": 14503, "loc": { "start": { - "line": 371, + "line": 396, "column": 11 }, "end": { - "line": 371, + "line": 396, "column": 17 } } @@ -90488,15 +103889,15 @@ "postfix": false, "binop": null }, - "start": 13605, - "end": 13606, + "start": 14503, + "end": 14504, "loc": { "start": { - "line": 371, + "line": 396, "column": 17 }, "end": { - "line": 371, + "line": 396, "column": 18 } } @@ -90513,15 +103914,15 @@ "postfix": false, "binop": null }, - "start": 13606, - "end": 13607, + "start": 14504, + "end": 14505, "loc": { "start": { - "line": 371, + "line": 396, "column": 18 }, "end": { - "line": 371, + "line": 396, "column": 19 } } @@ -90539,15 +103940,15 @@ "binop": null, "updateContext": null }, - "start": 13607, - "end": 13608, + "start": 14505, + "end": 14506, "loc": { "start": { - "line": 371, + "line": 396, "column": 19 }, "end": { - "line": 371, + "line": 396, "column": 20 } } @@ -90564,15 +103965,15 @@ "postfix": false, "binop": null }, - "start": 13614, - "end": 13615, + "start": 14512, + "end": 14513, "loc": { "start": { - "line": 372, + "line": 397, "column": 4 }, "end": { - "line": 372, + "line": 397, "column": 5 } } @@ -90589,15 +103990,15 @@ "postfix": false, "binop": null }, - "start": 13619, - "end": 13620, + "start": 14517, + "end": 14518, "loc": { "start": { - "line": 373, + "line": 398, "column": 2 }, "end": { - "line": 373, + "line": 398, "column": 3 } } @@ -90605,15 +104006,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 13626, - "end": 13829, + "start": 14524, + "end": 14727, "loc": { "start": { - "line": 375, + "line": 400, "column": 2 }, "end": { - "line": 378, + "line": 403, "column": 5 } } @@ -90631,46 +104032,19 @@ "binop": null }, "value": "getButtonElement", - "start": 13833, - "end": 13849, + "start": 14731, + "end": 14747, "loc": { "start": { - "line": 379, + "line": 404, "column": 2 }, "end": { - "line": 379, + "line": 404, "column": 18 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13850, - "end": 13851, - "loc": { - "start": { - "line": 379, - "column": 19 - }, - "end": { - "line": 379, - "column": 20 - } - } - }, { "type": { "label": "(", @@ -90683,16 +104057,16 @@ "postfix": false, "binop": null }, - "start": 13852, - "end": 13853, + "start": 14747, + "end": 14748, "loc": { "start": { - "line": 379, - "column": 21 + "line": 404, + "column": 18 }, "end": { - "line": 379, - "column": 22 + "line": 404, + "column": 19 } } }, @@ -90709,16 +104083,16 @@ "binop": null }, "value": "button", - "start": 13853, - "end": 13859, + "start": 14748, + "end": 14754, "loc": { "start": { - "line": 379, - "column": 22 + "line": 404, + "column": 19 }, "end": { - "line": 379, - "column": 28 + "line": 404, + "column": 25 } } }, @@ -90734,42 +104108,16 @@ "postfix": false, "binop": null }, - "start": 13859, - "end": 13860, + "start": 14754, + "end": 14755, "loc": { "start": { - "line": 379, - "column": 28 + "line": 404, + "column": 25 }, "end": { - "line": 379, - "column": 29 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13861, - "end": 13863, - "loc": { - "start": { - "line": 379, - "column": 30 - }, - "end": { - "line": 379, - "column": 32 + "line": 404, + "column": 26 } } }, @@ -90785,16 +104133,16 @@ "postfix": false, "binop": null }, - "start": 13864, - "end": 13865, + "start": 14755, + "end": 14756, "loc": { "start": { - "line": 379, - "column": 33 + "line": 404, + "column": 26 }, "end": { - "line": 379, - "column": 34 + "line": 404, + "column": 27 } } }, @@ -90813,15 +104161,15 @@ "updateContext": null }, "value": "let", - "start": 13871, - "end": 13874, + "start": 14762, + "end": 14765, "loc": { "start": { - "line": 380, + "line": 405, "column": 4 }, "end": { - "line": 380, + "line": 405, "column": 7 } } @@ -90839,15 +104187,15 @@ "binop": null }, "value": "output", - "start": 13875, - "end": 13881, + "start": 14766, + "end": 14772, "loc": { "start": { - "line": 380, + "line": 405, "column": 8 }, "end": { - "line": 380, + "line": 405, "column": 14 } } @@ -90865,15 +104213,15 @@ "binop": null, "updateContext": null }, - "start": 13881, - "end": 13882, + "start": 14772, + "end": 14773, "loc": { "start": { - "line": 380, + "line": 405, "column": 14 }, "end": { - "line": 380, + "line": 405, "column": 15 } } @@ -90893,15 +104241,15 @@ "updateContext": null }, "value": "let", - "start": 13890, - "end": 13893, + "start": 14781, + "end": 14784, "loc": { "start": { - "line": 382, + "line": 407, "column": 4 }, "end": { - "line": 382, + "line": 407, "column": 7 } } @@ -90919,15 +104267,15 @@ "binop": null }, "value": "buttonArr", - "start": 13894, - "end": 13903, + "start": 14785, + "end": 14794, "loc": { "start": { - "line": 382, + "line": 407, "column": 8 }, "end": { - "line": 382, + "line": 407, "column": 17 } } @@ -90946,15 +104294,15 @@ "updateContext": null }, "value": "=", - "start": 13904, - "end": 13905, + "start": 14795, + "end": 14796, "loc": { "start": { - "line": 382, + "line": 407, "column": 18 }, "end": { - "line": 382, + "line": 407, "column": 19 } } @@ -90974,15 +104322,15 @@ "updateContext": null }, "value": "this", - "start": 13906, - "end": 13910, + "start": 14797, + "end": 14801, "loc": { "start": { - "line": 382, + "line": 407, "column": 20 }, "end": { - "line": 382, + "line": 407, "column": 24 } } @@ -91000,15 +104348,15 @@ "binop": null, "updateContext": null }, - "start": 13910, - "end": 13911, + "start": 14801, + "end": 14802, "loc": { "start": { - "line": 382, + "line": 407, "column": 24 }, "end": { - "line": 382, + "line": 407, "column": 25 } } @@ -91026,15 +104374,15 @@ "binop": null }, "value": "buttonElements", - "start": 13911, - "end": 13925, + "start": 14802, + "end": 14816, "loc": { "start": { - "line": 382, + "line": 407, "column": 25 }, "end": { - "line": 382, + "line": 407, "column": 39 } } @@ -91052,15 +104400,15 @@ "binop": null, "updateContext": null }, - "start": 13925, - "end": 13926, + "start": 14816, + "end": 14817, "loc": { "start": { - "line": 382, + "line": 407, "column": 39 }, "end": { - "line": 382, + "line": 407, "column": 40 } } @@ -91078,15 +104426,15 @@ "binop": null }, "value": "button", - "start": 13926, - "end": 13932, + "start": 14817, + "end": 14823, "loc": { "start": { - "line": 382, + "line": 407, "column": 40 }, "end": { - "line": 382, + "line": 407, "column": 46 } } @@ -91104,15 +104452,15 @@ "binop": null, "updateContext": null }, - "start": 13932, - "end": 13933, + "start": 14823, + "end": 14824, "loc": { "start": { - "line": 382, + "line": 407, "column": 46 }, "end": { - "line": 382, + "line": 407, "column": 47 } } @@ -91130,15 +104478,15 @@ "binop": null, "updateContext": null }, - "start": 13933, - "end": 13934, + "start": 14824, + "end": 14825, "loc": { "start": { - "line": 382, + "line": 407, "column": 47 }, "end": { - "line": 382, + "line": 407, "column": 48 } } @@ -91158,15 +104506,15 @@ "updateContext": null }, "value": "if", - "start": 13940, - "end": 13942, + "start": 14831, + "end": 14833, "loc": { "start": { - "line": 383, + "line": 408, "column": 4 }, "end": { - "line": 383, + "line": 408, "column": 6 } } @@ -91183,15 +104531,15 @@ "postfix": false, "binop": null }, - "start": 13942, - "end": 13943, + "start": 14833, + "end": 14834, "loc": { "start": { - "line": 383, + "line": 408, "column": 6 }, "end": { - "line": 383, + "line": 408, "column": 7 } } @@ -91209,15 +104557,15 @@ "binop": null }, "value": "buttonArr", - "start": 13943, - "end": 13952, + "start": 14834, + "end": 14843, "loc": { "start": { - "line": 383, + "line": 408, "column": 7 }, "end": { - "line": 383, + "line": 408, "column": 16 } } @@ -91234,15 +104582,15 @@ "postfix": false, "binop": null }, - "start": 13952, - "end": 13953, + "start": 14843, + "end": 14844, "loc": { "start": { - "line": 383, + "line": 408, "column": 16 }, "end": { - "line": 383, + "line": 408, "column": 17 } } @@ -91259,15 +104607,15 @@ "postfix": false, "binop": null }, - "start": 13953, - "end": 13954, + "start": 14844, + "end": 14845, "loc": { "start": { - "line": 383, + "line": 408, "column": 17 }, "end": { - "line": 383, + "line": 408, "column": 18 } } @@ -91287,15 +104635,15 @@ "updateContext": null }, "value": "if", - "start": 13962, - "end": 13964, + "start": 14853, + "end": 14855, "loc": { "start": { - "line": 384, + "line": 409, "column": 6 }, "end": { - "line": 384, + "line": 409, "column": 8 } } @@ -91312,15 +104660,15 @@ "postfix": false, "binop": null }, - "start": 13964, - "end": 13965, + "start": 14855, + "end": 14856, "loc": { "start": { - "line": 384, + "line": 409, "column": 8 }, "end": { - "line": 384, + "line": 409, "column": 9 } } @@ -91338,15 +104686,15 @@ "binop": null }, "value": "buttonArr", - "start": 13965, - "end": 13974, + "start": 14856, + "end": 14865, "loc": { "start": { - "line": 384, + "line": 409, "column": 9 }, "end": { - "line": 384, + "line": 409, "column": 18 } } @@ -91364,15 +104712,15 @@ "binop": null, "updateContext": null }, - "start": 13974, - "end": 13975, + "start": 14865, + "end": 14866, "loc": { "start": { - "line": 384, + "line": 409, "column": 18 }, "end": { - "line": 384, + "line": 409, "column": 19 } } @@ -91390,15 +104738,15 @@ "binop": null }, "value": "length", - "start": 13975, - "end": 13981, + "start": 14866, + "end": 14872, "loc": { "start": { - "line": 384, + "line": 409, "column": 19 }, "end": { - "line": 384, + "line": 409, "column": 25 } } @@ -91417,15 +104765,15 @@ "updateContext": null }, "value": ">", - "start": 13982, - "end": 13983, + "start": 14873, + "end": 14874, "loc": { "start": { - "line": 384, + "line": 409, "column": 26 }, "end": { - "line": 384, + "line": 409, "column": 27 } } @@ -91444,15 +104792,15 @@ "updateContext": null }, "value": 1, - "start": 13984, - "end": 13985, + "start": 14875, + "end": 14876, "loc": { "start": { - "line": 384, + "line": 409, "column": 28 }, "end": { - "line": 384, + "line": 409, "column": 29 } } @@ -91469,15 +104817,15 @@ "postfix": false, "binop": null }, - "start": 13985, - "end": 13986, + "start": 14876, + "end": 14877, "loc": { "start": { - "line": 384, + "line": 409, "column": 29 }, "end": { - "line": 384, + "line": 409, "column": 30 } } @@ -91494,15 +104842,15 @@ "postfix": false, "binop": null }, - "start": 13986, - "end": 13987, + "start": 14877, + "end": 14878, "loc": { "start": { - "line": 384, + "line": 409, "column": 30 }, "end": { - "line": 384, + "line": 409, "column": 31 } } @@ -91520,15 +104868,15 @@ "binop": null }, "value": "output", - "start": 13997, - "end": 14003, + "start": 14888, + "end": 14894, "loc": { "start": { - "line": 385, + "line": 410, "column": 8 }, "end": { - "line": 385, + "line": 410, "column": 14 } } @@ -91547,15 +104895,15 @@ "updateContext": null }, "value": "=", - "start": 14004, - "end": 14005, + "start": 14895, + "end": 14896, "loc": { "start": { - "line": 385, + "line": 410, "column": 15 }, "end": { - "line": 385, + "line": 410, "column": 16 } } @@ -91573,15 +104921,15 @@ "binop": null }, "value": "buttonArr", - "start": 14006, - "end": 14015, + "start": 14897, + "end": 14906, "loc": { "start": { - "line": 385, + "line": 410, "column": 17 }, "end": { - "line": 385, + "line": 410, "column": 26 } } @@ -91599,15 +104947,15 @@ "binop": null, "updateContext": null }, - "start": 14015, - "end": 14016, + "start": 14906, + "end": 14907, "loc": { "start": { - "line": 385, + "line": 410, "column": 26 }, "end": { - "line": 385, + "line": 410, "column": 27 } } @@ -91624,15 +104972,15 @@ "postfix": false, "binop": null }, - "start": 14024, - "end": 14025, + "start": 14915, + "end": 14916, "loc": { "start": { - "line": 386, + "line": 411, "column": 6 }, "end": { - "line": 386, + "line": 411, "column": 7 } } @@ -91652,15 +105000,15 @@ "updateContext": null }, "value": "else", - "start": 14026, - "end": 14030, + "start": 14917, + "end": 14921, "loc": { "start": { - "line": 386, + "line": 411, "column": 8 }, "end": { - "line": 386, + "line": 411, "column": 12 } } @@ -91677,15 +105025,15 @@ "postfix": false, "binop": null }, - "start": 14031, - "end": 14032, + "start": 14922, + "end": 14923, "loc": { "start": { - "line": 386, + "line": 411, "column": 13 }, "end": { - "line": 386, + "line": 411, "column": 14 } } @@ -91703,15 +105051,15 @@ "binop": null }, "value": "output", - "start": 14042, - "end": 14048, + "start": 14933, + "end": 14939, "loc": { "start": { - "line": 387, + "line": 412, "column": 8 }, "end": { - "line": 387, + "line": 412, "column": 14 } } @@ -91730,15 +105078,15 @@ "updateContext": null }, "value": "=", - "start": 14049, - "end": 14050, + "start": 14940, + "end": 14941, "loc": { "start": { - "line": 387, + "line": 412, "column": 15 }, "end": { - "line": 387, + "line": 412, "column": 16 } } @@ -91756,15 +105104,15 @@ "binop": null }, "value": "buttonArr", - "start": 14051, - "end": 14060, + "start": 14942, + "end": 14951, "loc": { "start": { - "line": 387, + "line": 412, "column": 17 }, "end": { - "line": 387, + "line": 412, "column": 26 } } @@ -91782,15 +105130,15 @@ "binop": null, "updateContext": null }, - "start": 14060, - "end": 14061, + "start": 14951, + "end": 14952, "loc": { "start": { - "line": 387, + "line": 412, "column": 26 }, "end": { - "line": 387, + "line": 412, "column": 27 } } @@ -91809,15 +105157,15 @@ "updateContext": null }, "value": 0, - "start": 14061, - "end": 14062, + "start": 14952, + "end": 14953, "loc": { "start": { - "line": 387, + "line": 412, "column": 27 }, "end": { - "line": 387, + "line": 412, "column": 28 } } @@ -91835,15 +105183,15 @@ "binop": null, "updateContext": null }, - "start": 14062, - "end": 14063, + "start": 14953, + "end": 14954, "loc": { "start": { - "line": 387, + "line": 412, "column": 28 }, "end": { - "line": 387, + "line": 412, "column": 29 } } @@ -91861,15 +105209,15 @@ "binop": null, "updateContext": null }, - "start": 14063, - "end": 14064, + "start": 14954, + "end": 14955, "loc": { "start": { - "line": 387, + "line": 412, "column": 29 }, "end": { - "line": 387, + "line": 412, "column": 30 } } @@ -91886,15 +105234,15 @@ "postfix": false, "binop": null }, - "start": 14072, - "end": 14073, + "start": 14963, + "end": 14964, "loc": { "start": { - "line": 388, + "line": 413, "column": 6 }, "end": { - "line": 388, + "line": 413, "column": 7 } } @@ -91911,15 +105259,15 @@ "postfix": false, "binop": null }, - "start": 14079, - "end": 14080, + "start": 14970, + "end": 14971, "loc": { "start": { - "line": 389, + "line": 414, "column": 4 }, "end": { - "line": 389, + "line": 414, "column": 5 } } @@ -91939,15 +105287,15 @@ "updateContext": null }, "value": "return", - "start": 14088, - "end": 14094, + "start": 14979, + "end": 14985, "loc": { "start": { - "line": 391, + "line": 416, "column": 4 }, "end": { - "line": 391, + "line": 416, "column": 10 } } @@ -91965,15 +105313,15 @@ "binop": null }, "value": "output", - "start": 14095, - "end": 14101, + "start": 14986, + "end": 14992, "loc": { "start": { - "line": 391, + "line": 416, "column": 11 }, "end": { - "line": 391, + "line": 416, "column": 17 } } @@ -91991,15 +105339,15 @@ "binop": null, "updateContext": null }, - "start": 14101, - "end": 14102, + "start": 14992, + "end": 14993, "loc": { "start": { - "line": 391, + "line": 416, "column": 17 }, "end": { - "line": 391, + "line": 416, "column": 18 } } @@ -92016,15 +105364,15 @@ "postfix": false, "binop": null }, - "start": 14106, - "end": 14107, + "start": 14997, + "end": 14998, "loc": { "start": { - "line": 392, + "line": 417, "column": 2 }, "end": { - "line": 392, + "line": 417, "column": 3 } } @@ -92032,15 +105380,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 14113, - "end": 14203, + "start": 15004, + "end": 15094, "loc": { "start": { - "line": 394, + "line": 419, "column": 2 }, "end": { - "line": 396, + "line": 421, "column": 5 } } @@ -92058,46 +105406,19 @@ "binop": null }, "value": "handleCaret", - "start": 14207, - "end": 14218, + "start": 15098, + "end": 15109, "loc": { "start": { - "line": 397, + "line": 422, "column": 2 }, "end": { - "line": 397, + "line": 422, "column": 13 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14219, - "end": 14220, - "loc": { - "start": { - "line": 397, - "column": 14 - }, - "end": { - "line": 397, - "column": 15 - } - } - }, { "type": { "label": "(", @@ -92110,16 +105431,16 @@ "postfix": false, "binop": null }, - "start": 14221, - "end": 14222, + "start": 15109, + "end": 15110, "loc": { "start": { - "line": 397, - "column": 16 + "line": 422, + "column": 13 }, "end": { - "line": 397, - "column": 17 + "line": 422, + "column": 14 } } }, @@ -92135,42 +105456,16 @@ "postfix": false, "binop": null }, - "start": 14222, - "end": 14223, + "start": 15110, + "end": 15111, "loc": { "start": { - "line": 397, - "column": 17 + "line": 422, + "column": 14 }, "end": { - "line": 397, - "column": 18 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14224, - "end": 14226, - "loc": { - "start": { - "line": 397, - "column": 19 - }, - "end": { - "line": 397, - "column": 21 + "line": 422, + "column": 15 } } }, @@ -92186,16 +105481,16 @@ "postfix": false, "binop": null }, - "start": 14227, - "end": 14228, + "start": 15111, + "end": 15112, "loc": { "start": { - "line": 397, - "column": 22 + "line": 422, + "column": 15 }, "end": { - "line": 397, - "column": 23 + "line": 422, + "column": 16 } } }, @@ -92214,15 +105509,15 @@ "updateContext": null }, "value": "if", - "start": 14234, - "end": 14236, + "start": 15118, + "end": 15120, "loc": { "start": { - "line": 398, + "line": 423, "column": 4 }, "end": { - "line": 398, + "line": 423, "column": 6 } } @@ -92239,15 +105534,15 @@ "postfix": false, "binop": null }, - "start": 14236, - "end": 14237, + "start": 15120, + "end": 15121, "loc": { "start": { - "line": 398, + "line": 423, "column": 6 }, "end": { - "line": 398, + "line": 423, "column": 7 } } @@ -92267,15 +105562,15 @@ "updateContext": null }, "value": "this", - "start": 14237, - "end": 14241, + "start": 15121, + "end": 15125, "loc": { "start": { - "line": 398, + "line": 423, "column": 7 }, "end": { - "line": 398, + "line": 423, "column": 11 } } @@ -92293,15 +105588,15 @@ "binop": null, "updateContext": null }, - "start": 14241, - "end": 14242, + "start": 15125, + "end": 15126, "loc": { "start": { - "line": 398, + "line": 423, "column": 11 }, "end": { - "line": 398, + "line": 423, "column": 12 } } @@ -92319,15 +105614,15 @@ "binop": null }, "value": "options", - "start": 14242, - "end": 14249, + "start": 15126, + "end": 15133, "loc": { "start": { - "line": 398, + "line": 423, "column": 12 }, "end": { - "line": 398, + "line": 423, "column": 19 } } @@ -92345,15 +105640,15 @@ "binop": null, "updateContext": null }, - "start": 14249, - "end": 14250, + "start": 15133, + "end": 15134, "loc": { "start": { - "line": 398, + "line": 423, "column": 19 }, "end": { - "line": 398, + "line": 423, "column": 20 } } @@ -92371,15 +105666,15 @@ "binop": null }, "value": "debug", - "start": 14250, - "end": 14255, + "start": 15134, + "end": 15139, "loc": { "start": { - "line": 398, + "line": 423, "column": 20 }, "end": { - "line": 398, + "line": 423, "column": 25 } } @@ -92396,15 +105691,15 @@ "postfix": false, "binop": null }, - "start": 14255, - "end": 14256, + "start": 15139, + "end": 15140, "loc": { "start": { - "line": 398, + "line": 423, "column": 25 }, "end": { - "line": 398, + "line": 423, "column": 26 } } @@ -92421,15 +105716,15 @@ "postfix": false, "binop": null }, - "start": 14256, - "end": 14257, + "start": 15140, + "end": 15141, "loc": { "start": { - "line": 398, + "line": 423, "column": 26 }, "end": { - "line": 398, + "line": 423, "column": 27 } } @@ -92447,15 +105742,15 @@ "binop": null }, "value": "console", - "start": 14265, - "end": 14272, + "start": 15149, + "end": 15156, "loc": { "start": { - "line": 399, + "line": 424, "column": 6 }, "end": { - "line": 399, + "line": 424, "column": 13 } } @@ -92473,15 +105768,15 @@ "binop": null, "updateContext": null }, - "start": 14272, - "end": 14273, + "start": 15156, + "end": 15157, "loc": { "start": { - "line": 399, + "line": 424, "column": 13 }, "end": { - "line": 399, + "line": 424, "column": 14 } } @@ -92499,15 +105794,15 @@ "binop": null }, "value": "log", - "start": 14273, - "end": 14276, + "start": 15157, + "end": 15160, "loc": { "start": { - "line": 399, + "line": 424, "column": 14 }, "end": { - "line": 399, + "line": 424, "column": 17 } } @@ -92524,15 +105819,15 @@ "postfix": false, "binop": null }, - "start": 14276, - "end": 14277, + "start": 15160, + "end": 15161, "loc": { "start": { - "line": 399, + "line": 424, "column": 17 }, "end": { - "line": 399, + "line": 424, "column": 18 } } @@ -92551,15 +105846,15 @@ "updateContext": null }, "value": "Caret handling started", - "start": 14277, - "end": 14301, + "start": 15161, + "end": 15185, "loc": { "start": { - "line": 399, + "line": 424, "column": 18 }, "end": { - "line": 399, + "line": 424, "column": 42 } } @@ -92576,15 +105871,15 @@ "postfix": false, "binop": null }, - "start": 14301, - "end": 14302, + "start": 15185, + "end": 15186, "loc": { "start": { - "line": 399, + "line": 424, "column": 42 }, "end": { - "line": 399, + "line": 424, "column": 43 } } @@ -92602,15 +105897,15 @@ "binop": null, "updateContext": null }, - "start": 14302, - "end": 14303, + "start": 15186, + "end": 15187, "loc": { "start": { - "line": 399, + "line": 424, "column": 43 }, "end": { - "line": 399, + "line": 424, "column": 44 } } @@ -92627,15 +105922,15 @@ "postfix": false, "binop": null }, - "start": 14309, - "end": 14310, + "start": 15193, + "end": 15194, "loc": { "start": { - "line": 400, + "line": 425, "column": 4 }, "end": { - "line": 400, + "line": 425, "column": 5 } } @@ -92653,15 +105948,15 @@ "binop": null }, "value": "document", - "start": 14318, - "end": 14326, + "start": 15202, + "end": 15210, "loc": { "start": { - "line": 402, + "line": 427, "column": 4 }, "end": { - "line": 402, + "line": 427, "column": 12 } } @@ -92679,15 +105974,15 @@ "binop": null, "updateContext": null }, - "start": 14326, - "end": 14327, + "start": 15210, + "end": 15211, "loc": { "start": { - "line": 402, + "line": 427, "column": 12 }, "end": { - "line": 402, + "line": 427, "column": 13 } } @@ -92705,15 +106000,15 @@ "binop": null }, "value": "addEventListener", - "start": 14327, - "end": 14343, + "start": 15211, + "end": 15227, "loc": { "start": { - "line": 402, + "line": 427, "column": 13 }, "end": { - "line": 402, + "line": 427, "column": 29 } } @@ -92730,15 +106025,15 @@ "postfix": false, "binop": null }, - "start": 14343, - "end": 14344, + "start": 15227, + "end": 15228, "loc": { "start": { - "line": 402, + "line": 427, "column": 29 }, "end": { - "line": 402, + "line": 427, "column": 30 } } @@ -92757,15 +106052,15 @@ "updateContext": null }, "value": "keyup", - "start": 14344, - "end": 14351, + "start": 15228, + "end": 15235, "loc": { "start": { - "line": 402, + "line": 427, "column": 30 }, "end": { - "line": 402, + "line": 427, "column": 37 } } @@ -92783,15 +106078,15 @@ "binop": null, "updateContext": null }, - "start": 14351, - "end": 14352, + "start": 15235, + "end": 15236, "loc": { "start": { - "line": 402, + "line": 427, "column": 37 }, "end": { - "line": 402, + "line": 427, "column": 38 } } @@ -92811,15 +106106,15 @@ "updateContext": null }, "value": "this", - "start": 14353, - "end": 14357, + "start": 15237, + "end": 15241, "loc": { "start": { - "line": 402, + "line": 427, "column": 39 }, "end": { - "line": 402, + "line": 427, "column": 43 } } @@ -92837,15 +106132,15 @@ "binop": null, "updateContext": null }, - "start": 14357, - "end": 14358, + "start": 15241, + "end": 15242, "loc": { "start": { - "line": 402, + "line": 427, "column": 43 }, "end": { - "line": 402, + "line": 427, "column": 44 } } @@ -92863,15 +106158,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 14358, - "end": 14375, + "start": 15242, + "end": 15259, "loc": { "start": { - "line": 402, + "line": 427, "column": 44 }, "end": { - "line": 402, + "line": 427, "column": 61 } } @@ -92888,15 +106183,15 @@ "postfix": false, "binop": null }, - "start": 14375, - "end": 14376, + "start": 15259, + "end": 15260, "loc": { "start": { - "line": 402, + "line": 427, "column": 61 }, "end": { - "line": 402, + "line": 427, "column": 62 } } @@ -92914,15 +106209,15 @@ "binop": null, "updateContext": null }, - "start": 14376, - "end": 14377, + "start": 15260, + "end": 15261, "loc": { "start": { - "line": 402, + "line": 427, "column": 62 }, "end": { - "line": 402, + "line": 427, "column": 63 } } @@ -92940,15 +106235,15 @@ "binop": null }, "value": "document", - "start": 14383, - "end": 14391, + "start": 15267, + "end": 15275, "loc": { "start": { - "line": 403, + "line": 428, "column": 4 }, "end": { - "line": 403, + "line": 428, "column": 12 } } @@ -92966,15 +106261,15 @@ "binop": null, "updateContext": null }, - "start": 14391, - "end": 14392, + "start": 15275, + "end": 15276, "loc": { "start": { - "line": 403, + "line": 428, "column": 12 }, "end": { - "line": 403, + "line": 428, "column": 13 } } @@ -92992,15 +106287,15 @@ "binop": null }, "value": "addEventListener", - "start": 14392, - "end": 14408, + "start": 15276, + "end": 15292, "loc": { "start": { - "line": 403, + "line": 428, "column": 13 }, "end": { - "line": 403, + "line": 428, "column": 29 } } @@ -93017,15 +106312,15 @@ "postfix": false, "binop": null }, - "start": 14408, - "end": 14409, + "start": 15292, + "end": 15293, "loc": { "start": { - "line": 403, + "line": 428, "column": 29 }, "end": { - "line": 403, + "line": 428, "column": 30 } } @@ -93044,15 +106339,15 @@ "updateContext": null }, "value": "mouseup", - "start": 14409, - "end": 14418, + "start": 15293, + "end": 15302, "loc": { "start": { - "line": 403, + "line": 428, "column": 30 }, "end": { - "line": 403, + "line": 428, "column": 39 } } @@ -93070,15 +106365,15 @@ "binop": null, "updateContext": null }, - "start": 14418, - "end": 14419, + "start": 15302, + "end": 15303, "loc": { "start": { - "line": 403, + "line": 428, "column": 39 }, "end": { - "line": 403, + "line": 428, "column": 40 } } @@ -93098,15 +106393,15 @@ "updateContext": null }, "value": "this", - "start": 14420, - "end": 14424, + "start": 15304, + "end": 15308, "loc": { "start": { - "line": 403, + "line": 428, "column": 41 }, "end": { - "line": 403, + "line": 428, "column": 45 } } @@ -93124,15 +106419,15 @@ "binop": null, "updateContext": null }, - "start": 14424, - "end": 14425, + "start": 15308, + "end": 15309, "loc": { "start": { - "line": 403, + "line": 428, "column": 45 }, "end": { - "line": 403, + "line": 428, "column": 46 } } @@ -93150,15 +106445,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 14425, - "end": 14442, + "start": 15309, + "end": 15326, "loc": { "start": { - "line": 403, + "line": 428, "column": 46 }, "end": { - "line": 403, + "line": 428, "column": 63 } } @@ -93175,15 +106470,15 @@ "postfix": false, "binop": null }, - "start": 14442, - "end": 14443, + "start": 15326, + "end": 15327, "loc": { "start": { - "line": 403, + "line": 428, "column": 63 }, "end": { - "line": 403, + "line": 428, "column": 64 } } @@ -93201,15 +106496,15 @@ "binop": null, "updateContext": null }, - "start": 14443, - "end": 14444, + "start": 15327, + "end": 15328, "loc": { "start": { - "line": 403, + "line": 428, "column": 64 }, "end": { - "line": 403, + "line": 428, "column": 65 } } @@ -93227,15 +106522,15 @@ "binop": null }, "value": "document", - "start": 14450, - "end": 14458, + "start": 15334, + "end": 15342, "loc": { "start": { - "line": 404, + "line": 429, "column": 4 }, "end": { - "line": 404, + "line": 429, "column": 12 } } @@ -93253,15 +106548,15 @@ "binop": null, "updateContext": null }, - "start": 14458, - "end": 14459, + "start": 15342, + "end": 15343, "loc": { "start": { - "line": 404, + "line": 429, "column": 12 }, "end": { - "line": 404, + "line": 429, "column": 13 } } @@ -93279,15 +106574,15 @@ "binop": null }, "value": "addEventListener", - "start": 14459, - "end": 14475, + "start": 15343, + "end": 15359, "loc": { "start": { - "line": 404, + "line": 429, "column": 13 }, "end": { - "line": 404, + "line": 429, "column": 29 } } @@ -93304,15 +106599,15 @@ "postfix": false, "binop": null }, - "start": 14475, - "end": 14476, + "start": 15359, + "end": 15360, "loc": { "start": { - "line": 404, + "line": 429, "column": 29 }, "end": { - "line": 404, + "line": 429, "column": 30 } } @@ -93331,15 +106626,15 @@ "updateContext": null }, "value": "touchend", - "start": 14476, - "end": 14486, + "start": 15360, + "end": 15370, "loc": { "start": { - "line": 404, + "line": 429, "column": 30 }, "end": { - "line": 404, + "line": 429, "column": 40 } } @@ -93357,15 +106652,15 @@ "binop": null, "updateContext": null }, - "start": 14486, - "end": 14487, + "start": 15370, + "end": 15371, "loc": { "start": { - "line": 404, + "line": 429, "column": 40 }, "end": { - "line": 404, + "line": 429, "column": 41 } } @@ -93385,15 +106680,15 @@ "updateContext": null }, "value": "this", - "start": 14488, - "end": 14492, + "start": 15372, + "end": 15376, "loc": { "start": { - "line": 404, + "line": 429, "column": 42 }, "end": { - "line": 404, + "line": 429, "column": 46 } } @@ -93411,15 +106706,15 @@ "binop": null, "updateContext": null }, - "start": 14492, - "end": 14493, + "start": 15376, + "end": 15377, "loc": { "start": { - "line": 404, + "line": 429, "column": 46 }, "end": { - "line": 404, + "line": 429, "column": 47 } } @@ -93437,15 +106732,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 14493, - "end": 14510, + "start": 15377, + "end": 15394, "loc": { "start": { - "line": 404, + "line": 429, "column": 47 }, "end": { - "line": 404, + "line": 429, "column": 64 } } @@ -93462,15 +106757,15 @@ "postfix": false, "binop": null }, - "start": 14510, - "end": 14511, + "start": 15394, + "end": 15395, "loc": { "start": { - "line": 404, + "line": 429, "column": 64 }, "end": { - "line": 404, + "line": 429, "column": 65 } } @@ -93488,15 +106783,15 @@ "binop": null, "updateContext": null }, - "start": 14511, - "end": 14512, + "start": 15395, + "end": 15396, "loc": { "start": { - "line": 404, + "line": 429, "column": 65 }, "end": { - "line": 404, + "line": 429, "column": 66 } } @@ -93513,15 +106808,15 @@ "postfix": false, "binop": null }, - "start": 14516, - "end": 14517, + "start": 15400, + "end": 15401, "loc": { "start": { - "line": 405, + "line": 430, "column": 2 }, "end": { - "line": 405, + "line": 430, "column": 3 } } @@ -93529,15 +106824,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 14523, - "end": 14635, + "start": 15407, + "end": 15519, "loc": { "start": { - "line": 407, + "line": 432, "column": 2 }, "end": { - "line": 409, + "line": 434, "column": 5 } } @@ -93555,46 +106850,19 @@ "binop": null }, "value": "caretEventHandler", - "start": 14639, - "end": 14656, + "start": 15523, + "end": 15540, "loc": { "start": { - "line": 410, + "line": 435, "column": 2 }, "end": { - "line": 410, + "line": 435, "column": 19 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14657, - "end": 14658, - "loc": { - "start": { - "line": 410, - "column": 20 - }, - "end": { - "line": 410, - "column": 21 - } - } - }, { "type": { "label": "(", @@ -93607,16 +106875,16 @@ "postfix": false, "binop": null }, - "start": 14659, - "end": 14660, + "start": 15540, + "end": 15541, "loc": { "start": { - "line": 410, - "column": 22 + "line": 435, + "column": 19 }, "end": { - "line": 410, - "column": 23 + "line": 435, + "column": 20 } } }, @@ -93633,16 +106901,16 @@ "binop": null }, "value": "event", - "start": 14660, - "end": 14665, + "start": 15541, + "end": 15546, "loc": { "start": { - "line": 410, - "column": 23 + "line": 435, + "column": 20 }, "end": { - "line": 410, - "column": 28 + "line": 435, + "column": 25 } } }, @@ -93658,42 +106926,16 @@ "postfix": false, "binop": null }, - "start": 14665, - "end": 14666, + "start": 15546, + "end": 15547, "loc": { "start": { - "line": 410, - "column": 28 + "line": 435, + "column": 25 }, "end": { - "line": 410, - "column": 29 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14667, - "end": 14669, - "loc": { - "start": { - "line": 410, - "column": 30 - }, - "end": { - "line": 410, - "column": 32 + "line": 435, + "column": 26 } } }, @@ -93709,16 +106951,16 @@ "postfix": false, "binop": null }, - "start": 14670, - "end": 14671, + "start": 15547, + "end": 15548, "loc": { "start": { - "line": 410, - "column": 33 + "line": 435, + "column": 26 }, "end": { - "line": 410, - "column": 34 + "line": 435, + "column": 27 } } }, @@ -93737,15 +106979,15 @@ "updateContext": null }, "value": "let", - "start": 14677, - "end": 14680, + "start": 15554, + "end": 15557, "loc": { "start": { - "line": 411, + "line": 436, "column": 4 }, "end": { - "line": 411, + "line": 436, "column": 7 } } @@ -93763,15 +107005,15 @@ "binop": null }, "value": "targetTagName", - "start": 14681, - "end": 14694, + "start": 15558, + "end": 15571, "loc": { "start": { - "line": 411, + "line": 436, "column": 8 }, "end": { - "line": 411, + "line": 436, "column": 21 } } @@ -93790,15 +107032,15 @@ "updateContext": null }, "value": "=", - "start": 14695, - "end": 14696, + "start": 15572, + "end": 15573, "loc": { "start": { - "line": 411, + "line": 436, "column": 22 }, "end": { - "line": 411, + "line": 436, "column": 23 } } @@ -93816,15 +107058,15 @@ "binop": null }, "value": "event", - "start": 14697, - "end": 14702, + "start": 15574, + "end": 15579, "loc": { "start": { - "line": 411, + "line": 436, "column": 24 }, "end": { - "line": 411, + "line": 436, "column": 29 } } @@ -93842,15 +107084,15 @@ "binop": null, "updateContext": null }, - "start": 14702, - "end": 14703, + "start": 15579, + "end": 15580, "loc": { "start": { - "line": 411, + "line": 436, "column": 29 }, "end": { - "line": 411, + "line": 436, "column": 30 } } @@ -93868,15 +107110,15 @@ "binop": null }, "value": "target", - "start": 14703, - "end": 14709, + "start": 15580, + "end": 15586, "loc": { "start": { - "line": 411, + "line": 436, "column": 30 }, "end": { - "line": 411, + "line": 436, "column": 36 } } @@ -93894,15 +107136,15 @@ "binop": null, "updateContext": null }, - "start": 14709, - "end": 14710, + "start": 15586, + "end": 15587, "loc": { "start": { - "line": 411, + "line": 436, "column": 36 }, "end": { - "line": 411, + "line": 436, "column": 37 } } @@ -93920,15 +107162,15 @@ "binop": null }, "value": "tagName", - "start": 14710, - "end": 14717, + "start": 15587, + "end": 15594, "loc": { "start": { - "line": 411, + "line": 436, "column": 37 }, "end": { - "line": 411, + "line": 436, "column": 44 } } @@ -93946,15 +107188,15 @@ "binop": null, "updateContext": null }, - "start": 14717, - "end": 14718, + "start": 15594, + "end": 15595, "loc": { "start": { - "line": 411, + "line": 436, "column": 44 }, "end": { - "line": 411, + "line": 436, "column": 45 } } @@ -93972,15 +107214,15 @@ "binop": null }, "value": "toLowerCase", - "start": 14718, - "end": 14729, + "start": 15595, + "end": 15606, "loc": { "start": { - "line": 411, + "line": 436, "column": 45 }, "end": { - "line": 411, + "line": 436, "column": 56 } } @@ -93997,15 +107239,15 @@ "postfix": false, "binop": null }, - "start": 14729, - "end": 14730, + "start": 15606, + "end": 15607, "loc": { "start": { - "line": 411, + "line": 436, "column": 56 }, "end": { - "line": 411, + "line": 436, "column": 57 } } @@ -94022,15 +107264,15 @@ "postfix": false, "binop": null }, - "start": 14730, - "end": 14731, + "start": 15607, + "end": 15608, "loc": { "start": { - "line": 411, + "line": 436, "column": 57 }, "end": { - "line": 411, + "line": 436, "column": 58 } } @@ -94048,15 +107290,15 @@ "binop": null, "updateContext": null }, - "start": 14731, - "end": 14732, + "start": 15608, + "end": 15609, "loc": { "start": { - "line": 411, + "line": 436, "column": 58 }, "end": { - "line": 411, + "line": 436, "column": 59 } } @@ -94076,15 +107318,15 @@ "updateContext": null }, "value": "if", - "start": 14740, - "end": 14742, + "start": 15617, + "end": 15619, "loc": { "start": { - "line": 413, + "line": 438, "column": 4 }, "end": { - "line": 413, + "line": 438, "column": 6 } } @@ -94101,15 +107343,15 @@ "postfix": false, "binop": null }, - "start": 14742, - "end": 14743, + "start": 15619, + "end": 15620, "loc": { "start": { - "line": 413, + "line": 438, "column": 6 }, "end": { - "line": 413, + "line": 438, "column": 7 } } @@ -94127,15 +107369,15 @@ "binop": null }, "value": "targetTagName", - "start": 14751, - "end": 14764, + "start": 15628, + "end": 15641, "loc": { "start": { - "line": 414, + "line": 439, "column": 6 }, "end": { - "line": 414, + "line": 439, "column": 19 } } @@ -94154,15 +107396,15 @@ "updateContext": null }, "value": "===", - "start": 14765, - "end": 14768, + "start": 15642, + "end": 15645, "loc": { "start": { - "line": 414, + "line": 439, "column": 20 }, "end": { - "line": 414, + "line": 439, "column": 23 } } @@ -94181,15 +107423,15 @@ "updateContext": null }, "value": "textarea", - "start": 14769, - "end": 14779, + "start": 15646, + "end": 15656, "loc": { "start": { - "line": 414, + "line": 439, "column": 24 }, "end": { - "line": 414, + "line": 439, "column": 34 } } @@ -94208,15 +107450,15 @@ "updateContext": null }, "value": "||", - "start": 14780, - "end": 14782, + "start": 15657, + "end": 15659, "loc": { "start": { - "line": 414, + "line": 439, "column": 35 }, "end": { - "line": 414, + "line": 439, "column": 37 } } @@ -94234,15 +107476,15 @@ "binop": null }, "value": "targetTagName", - "start": 14790, - "end": 14803, + "start": 15667, + "end": 15680, "loc": { "start": { - "line": 415, + "line": 440, "column": 6 }, "end": { - "line": 415, + "line": 440, "column": 19 } } @@ -94261,15 +107503,15 @@ "updateContext": null }, "value": "===", - "start": 14804, - "end": 14807, + "start": 15681, + "end": 15684, "loc": { "start": { - "line": 415, + "line": 440, "column": 20 }, "end": { - "line": 415, + "line": 440, "column": 23 } } @@ -94288,15 +107530,15 @@ "updateContext": null }, "value": "input", - "start": 14808, - "end": 14815, + "start": 15685, + "end": 15692, "loc": { "start": { - "line": 415, + "line": 440, "column": 24 }, "end": { - "line": 415, + "line": 440, "column": 31 } } @@ -94313,15 +107555,15 @@ "postfix": false, "binop": null }, - "start": 14821, - "end": 14822, + "start": 15698, + "end": 15699, "loc": { "start": { - "line": 416, + "line": 441, "column": 4 }, "end": { - "line": 416, + "line": 441, "column": 5 } } @@ -94338,15 +107580,15 @@ "postfix": false, "binop": null }, - "start": 14822, - "end": 14823, + "start": 15699, + "end": 15700, "loc": { "start": { - "line": 416, + "line": 441, "column": 5 }, "end": { - "line": 416, + "line": 441, "column": 6 } } @@ -94354,15 +107596,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 14831, - "end": 14979, + "start": 15708, + "end": 15856, "loc": { "start": { - "line": 417, + "line": 442, "column": 6 }, "end": { - "line": 420, + "line": 445, "column": 9 } } @@ -94382,15 +107624,15 @@ "updateContext": null }, "value": "this", - "start": 14987, - "end": 14991, + "start": 15864, + "end": 15868, "loc": { "start": { - "line": 421, + "line": 446, "column": 6 }, "end": { - "line": 421, + "line": 446, "column": 10 } } @@ -94408,15 +107650,15 @@ "binop": null, "updateContext": null }, - "start": 14991, - "end": 14992, + "start": 15868, + "end": 15869, "loc": { "start": { - "line": 421, + "line": 446, "column": 10 }, "end": { - "line": 421, + "line": 446, "column": 11 } } @@ -94434,15 +107676,15 @@ "binop": null }, "value": "caretPosition", - "start": 14992, - "end": 15005, + "start": 15869, + "end": 15882, "loc": { "start": { - "line": 421, + "line": 446, "column": 11 }, "end": { - "line": 421, + "line": 446, "column": 24 } } @@ -94461,15 +107703,15 @@ "updateContext": null }, "value": "=", - "start": 15006, - "end": 15007, + "start": 15883, + "end": 15884, "loc": { "start": { - "line": 421, + "line": 446, "column": 25 }, "end": { - "line": 421, + "line": 446, "column": 26 } } @@ -94487,15 +107729,15 @@ "binop": null }, "value": "event", - "start": 15008, - "end": 15013, + "start": 15885, + "end": 15890, "loc": { "start": { - "line": 421, + "line": 446, "column": 27 }, "end": { - "line": 421, + "line": 446, "column": 32 } } @@ -94513,15 +107755,15 @@ "binop": null, "updateContext": null }, - "start": 15013, - "end": 15014, + "start": 15890, + "end": 15891, "loc": { "start": { - "line": 421, + "line": 446, "column": 32 }, "end": { - "line": 421, + "line": 446, "column": 33 } } @@ -94539,15 +107781,15 @@ "binop": null }, "value": "target", - "start": 15014, - "end": 15020, + "start": 15891, + "end": 15897, "loc": { "start": { - "line": 421, + "line": 446, "column": 33 }, "end": { - "line": 421, + "line": 446, "column": 39 } } @@ -94565,15 +107807,15 @@ "binop": null, "updateContext": null }, - "start": 15020, - "end": 15021, + "start": 15897, + "end": 15898, "loc": { "start": { - "line": 421, + "line": 446, "column": 39 }, "end": { - "line": 421, + "line": 446, "column": 40 } } @@ -94591,15 +107833,15 @@ "binop": null }, "value": "selectionStart", - "start": 15021, - "end": 15035, + "start": 15898, + "end": 15912, "loc": { "start": { - "line": 421, + "line": 446, "column": 40 }, "end": { - "line": 421, + "line": 446, "column": 54 } } @@ -94617,15 +107859,15 @@ "binop": null, "updateContext": null }, - "start": 15035, - "end": 15036, + "start": 15912, + "end": 15913, "loc": { "start": { - "line": 421, + "line": 446, "column": 54 }, "end": { - "line": 421, + "line": 446, "column": 55 } } @@ -94645,15 +107887,15 @@ "updateContext": null }, "value": "if", - "start": 15046, - "end": 15048, + "start": 15923, + "end": 15925, "loc": { "start": { - "line": 423, + "line": 448, "column": 6 }, "end": { - "line": 423, + "line": 448, "column": 8 } } @@ -94670,15 +107912,15 @@ "postfix": false, "binop": null }, - "start": 15048, - "end": 15049, + "start": 15925, + "end": 15926, "loc": { "start": { - "line": 423, + "line": 448, "column": 8 }, "end": { - "line": 423, + "line": 448, "column": 9 } } @@ -94698,15 +107940,15 @@ "updateContext": null }, "value": "this", - "start": 15049, - "end": 15053, + "start": 15926, + "end": 15930, "loc": { "start": { - "line": 423, + "line": 448, "column": 9 }, "end": { - "line": 423, + "line": 448, "column": 13 } } @@ -94724,15 +107966,15 @@ "binop": null, "updateContext": null }, - "start": 15053, - "end": 15054, + "start": 15930, + "end": 15931, "loc": { "start": { - "line": 423, + "line": 448, "column": 13 }, "end": { - "line": 423, + "line": 448, "column": 14 } } @@ -94750,15 +107992,15 @@ "binop": null }, "value": "options", - "start": 15054, - "end": 15061, + "start": 15931, + "end": 15938, "loc": { "start": { - "line": 423, + "line": 448, "column": 14 }, "end": { - "line": 423, + "line": 448, "column": 21 } } @@ -94776,15 +108018,15 @@ "binop": null, "updateContext": null }, - "start": 15061, - "end": 15062, + "start": 15938, + "end": 15939, "loc": { "start": { - "line": 423, + "line": 448, "column": 21 }, "end": { - "line": 423, + "line": 448, "column": 22 } } @@ -94802,15 +108044,15 @@ "binop": null }, "value": "debug", - "start": 15062, - "end": 15067, + "start": 15939, + "end": 15944, "loc": { "start": { - "line": 423, + "line": 448, "column": 22 }, "end": { - "line": 423, + "line": 448, "column": 27 } } @@ -94827,15 +108069,15 @@ "postfix": false, "binop": null }, - "start": 15067, - "end": 15068, + "start": 15944, + "end": 15945, "loc": { "start": { - "line": 423, + "line": 448, "column": 27 }, "end": { - "line": 423, + "line": 448, "column": 28 } } @@ -94852,15 +108094,15 @@ "postfix": false, "binop": null }, - "start": 15068, - "end": 15069, + "start": 15945, + "end": 15946, "loc": { "start": { - "line": 423, + "line": 448, "column": 28 }, "end": { - "line": 423, + "line": 448, "column": 29 } } @@ -94878,15 +108120,15 @@ "binop": null }, "value": "console", - "start": 15079, - "end": 15086, + "start": 15956, + "end": 15963, "loc": { "start": { - "line": 424, + "line": 449, "column": 8 }, "end": { - "line": 424, + "line": 449, "column": 15 } } @@ -94904,15 +108146,15 @@ "binop": null, "updateContext": null }, - "start": 15086, - "end": 15087, + "start": 15963, + "end": 15964, "loc": { "start": { - "line": 424, + "line": 449, "column": 15 }, "end": { - "line": 424, + "line": 449, "column": 16 } } @@ -94930,15 +108172,15 @@ "binop": null }, "value": "log", - "start": 15087, - "end": 15090, + "start": 15964, + "end": 15967, "loc": { "start": { - "line": 424, + "line": 449, "column": 16 }, "end": { - "line": 424, + "line": 449, "column": 19 } } @@ -94955,15 +108197,15 @@ "postfix": false, "binop": null }, - "start": 15090, - "end": 15091, + "start": 15967, + "end": 15968, "loc": { "start": { - "line": 424, + "line": 449, "column": 19 }, "end": { - "line": 424, + "line": 449, "column": 20 } } @@ -94982,15 +108224,15 @@ "updateContext": null }, "value": "Caret at: ", - "start": 15091, - "end": 15103, + "start": 15968, + "end": 15980, "loc": { "start": { - "line": 424, + "line": 449, "column": 20 }, "end": { - "line": 424, + "line": 449, "column": 32 } } @@ -95008,15 +108250,15 @@ "binop": null, "updateContext": null }, - "start": 15103, - "end": 15104, + "start": 15980, + "end": 15981, "loc": { "start": { - "line": 424, + "line": 449, "column": 32 }, "end": { - "line": 424, + "line": 449, "column": 33 } } @@ -95034,15 +108276,15 @@ "binop": null }, "value": "event", - "start": 15105, - "end": 15110, + "start": 15982, + "end": 15987, "loc": { "start": { - "line": 424, + "line": 449, "column": 34 }, "end": { - "line": 424, + "line": 449, "column": 39 } } @@ -95060,15 +108302,15 @@ "binop": null, "updateContext": null }, - "start": 15110, - "end": 15111, + "start": 15987, + "end": 15988, "loc": { "start": { - "line": 424, + "line": 449, "column": 39 }, "end": { - "line": 424, + "line": 449, "column": 40 } } @@ -95086,15 +108328,15 @@ "binop": null }, "value": "target", - "start": 15111, - "end": 15117, + "start": 15988, + "end": 15994, "loc": { "start": { - "line": 424, + "line": 449, "column": 40 }, "end": { - "line": 424, + "line": 449, "column": 46 } } @@ -95112,15 +108354,15 @@ "binop": null, "updateContext": null }, - "start": 15117, - "end": 15118, + "start": 15994, + "end": 15995, "loc": { "start": { - "line": 424, + "line": 449, "column": 46 }, "end": { - "line": 424, + "line": 449, "column": 47 } } @@ -95138,15 +108380,15 @@ "binop": null }, "value": "selectionStart", - "start": 15118, - "end": 15132, + "start": 15995, + "end": 16009, "loc": { "start": { - "line": 424, + "line": 449, "column": 47 }, "end": { - "line": 424, + "line": 449, "column": 61 } } @@ -95164,15 +108406,15 @@ "binop": null, "updateContext": null }, - "start": 15132, - "end": 15133, + "start": 16009, + "end": 16010, "loc": { "start": { - "line": 424, + "line": 449, "column": 61 }, "end": { - "line": 424, + "line": 449, "column": 62 } } @@ -95190,15 +108432,15 @@ "binop": null }, "value": "event", - "start": 15134, - "end": 15139, + "start": 16011, + "end": 16016, "loc": { "start": { - "line": 424, + "line": 449, "column": 63 }, "end": { - "line": 424, + "line": 449, "column": 68 } } @@ -95216,15 +108458,15 @@ "binop": null, "updateContext": null }, - "start": 15139, - "end": 15140, + "start": 16016, + "end": 16017, "loc": { "start": { - "line": 424, + "line": 449, "column": 68 }, "end": { - "line": 424, + "line": 449, "column": 69 } } @@ -95242,15 +108484,15 @@ "binop": null }, "value": "target", - "start": 15140, - "end": 15146, + "start": 16017, + "end": 16023, "loc": { "start": { - "line": 424, + "line": 449, "column": 69 }, "end": { - "line": 424, + "line": 449, "column": 75 } } @@ -95268,15 +108510,15 @@ "binop": null, "updateContext": null }, - "start": 15146, - "end": 15147, + "start": 16023, + "end": 16024, "loc": { "start": { - "line": 424, + "line": 449, "column": 75 }, "end": { - "line": 424, + "line": 449, "column": 76 } } @@ -95294,15 +108536,15 @@ "binop": null }, "value": "tagName", - "start": 15147, - "end": 15154, + "start": 16024, + "end": 16031, "loc": { "start": { - "line": 424, + "line": 449, "column": 76 }, "end": { - "line": 424, + "line": 449, "column": 83 } } @@ -95320,15 +108562,15 @@ "binop": null, "updateContext": null }, - "start": 15154, - "end": 15155, + "start": 16031, + "end": 16032, "loc": { "start": { - "line": 424, + "line": 449, "column": 83 }, "end": { - "line": 424, + "line": 449, "column": 84 } } @@ -95346,15 +108588,15 @@ "binop": null }, "value": "toLowerCase", - "start": 15155, - "end": 15166, + "start": 16032, + "end": 16043, "loc": { "start": { - "line": 424, + "line": 449, "column": 84 }, "end": { - "line": 424, + "line": 449, "column": 95 } } @@ -95371,15 +108613,15 @@ "postfix": false, "binop": null }, - "start": 15166, - "end": 15167, + "start": 16043, + "end": 16044, "loc": { "start": { - "line": 424, + "line": 449, "column": 95 }, "end": { - "line": 424, + "line": 449, "column": 96 } } @@ -95396,15 +108638,15 @@ "postfix": false, "binop": null }, - "start": 15167, - "end": 15168, + "start": 16044, + "end": 16045, "loc": { "start": { - "line": 424, + "line": 449, "column": 96 }, "end": { - "line": 424, + "line": 449, "column": 97 } } @@ -95421,15 +108663,15 @@ "postfix": false, "binop": null }, - "start": 15168, - "end": 15169, + "start": 16045, + "end": 16046, "loc": { "start": { - "line": 424, + "line": 449, "column": 97 }, "end": { - "line": 424, + "line": 449, "column": 98 } } @@ -95447,15 +108689,15 @@ "binop": null, "updateContext": null }, - "start": 15169, - "end": 15170, + "start": 16046, + "end": 16047, "loc": { "start": { - "line": 424, + "line": 449, "column": 98 }, "end": { - "line": 424, + "line": 449, "column": 99 } } @@ -95472,15 +108714,15 @@ "postfix": false, "binop": null }, - "start": 15178, - "end": 15179, + "start": 16055, + "end": 16056, "loc": { "start": { - "line": 425, + "line": 450, "column": 6 }, "end": { - "line": 425, + "line": 450, "column": 7 } } @@ -95497,15 +108739,15 @@ "postfix": false, "binop": null }, - "start": 15190, - "end": 15191, + "start": 16067, + "end": 16068, "loc": { "start": { - "line": 426, + "line": 451, "column": 4 }, "end": { - "line": 426, + "line": 451, "column": 5 } } @@ -95522,15 +108764,15 @@ "postfix": false, "binop": null }, - "start": 15195, - "end": 15196, + "start": 16072, + "end": 16073, "loc": { "start": { - "line": 427, + "line": 452, "column": 2 }, "end": { - "line": 427, + "line": 452, "column": 3 } } @@ -95538,2011 +108780,8 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 15202, - "end": 15322, - "loc": { - "start": { - "line": 429, - "column": 2 - }, - "end": { - "line": 431, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onInit", - "start": 15326, - "end": 15332, - "loc": { - "start": { - "line": 432, - "column": 2 - }, - "end": { - "line": 432, - "column": 8 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15333, - "end": 15334, - "loc": { - "start": { - "line": 432, - "column": 9 - }, - "end": { - "line": 432, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15335, - "end": 15336, - "loc": { - "start": { - "line": 432, - "column": 11 - }, - "end": { - "line": 432, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15336, - "end": 15337, - "loc": { - "start": { - "line": 432, - "column": 12 - }, - "end": { - "line": 432, - "column": 13 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15338, - "end": 15340, - "loc": { - "start": { - "line": 432, - "column": 14 - }, - "end": { - "line": 432, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15341, - "end": 15342, - "loc": { - "start": { - "line": 432, - "column": 17 - }, - "end": { - "line": 432, - "column": 18 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 15348, - "end": 15350, - "loc": { - "start": { - "line": 433, - "column": 4 - }, - "end": { - "line": 433, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15350, - "end": 15351, - "loc": { - "start": { - "line": 433, - "column": 6 - }, - "end": { - "line": 433, - "column": 7 - } - } - }, - { - "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": 15351, - "end": 15355, - "loc": { - "start": { - "line": 433, - "column": 7 - }, - "end": { - "line": 433, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15355, - "end": 15356, - "loc": { - "start": { - "line": 433, - "column": 11 - }, - "end": { - "line": 433, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15356, - "end": 15363, - "loc": { - "start": { - "line": 433, - "column": 12 - }, - "end": { - "line": 433, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15363, - "end": 15364, - "loc": { - "start": { - "line": 433, - "column": 19 - }, - "end": { - "line": 433, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 15364, - "end": 15369, - "loc": { - "start": { - "line": 433, - "column": 20 - }, - "end": { - "line": 433, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15369, - "end": 15370, - "loc": { - "start": { - "line": 433, - "column": 25 - }, - "end": { - "line": 433, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15370, - "end": 15371, - "loc": { - "start": { - "line": 433, - "column": 26 - }, - "end": { - "line": 433, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 15379, - "end": 15386, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15386, - "end": 15387, - "loc": { - "start": { - "line": 434, - "column": 13 - }, - "end": { - "line": 434, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 15387, - "end": 15390, - "loc": { - "start": { - "line": 434, - "column": 14 - }, - "end": { - "line": 434, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15390, - "end": 15391, - "loc": { - "start": { - "line": 434, - "column": 17 - }, - "end": { - "line": 434, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Initialized", - "start": 15391, - "end": 15404, - "loc": { - "start": { - "line": 434, - "column": 18 - }, - "end": { - "line": 434, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15404, - "end": 15405, - "loc": { - "start": { - "line": 434, - "column": 31 - }, - "end": { - "line": 434, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15405, - "end": 15406, - "loc": { - "start": { - "line": 434, - "column": 32 - }, - "end": { - "line": 434, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15412, - "end": 15413, - "loc": { - "start": { - "line": 435, - "column": 4 - }, - "end": { - "line": 435, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Caret handling\r\n ", - "start": 15421, - "end": 15456, - "loc": { - "start": { - "line": 437, - "column": 4 - }, - "end": { - "line": 439, - "column": 7 - } - } - }, - { - "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": 15462, - "end": 15466, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15466, - "end": 15467, - "loc": { - "start": { - "line": 440, - "column": 8 - }, - "end": { - "line": 440, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleCaret", - "start": 15467, - "end": 15478, - "loc": { - "start": { - "line": 440, - "column": 9 - }, - "end": { - "line": 440, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15478, - "end": 15479, - "loc": { - "start": { - "line": 440, - "column": 20 - }, - "end": { - "line": 440, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15479, - "end": 15480, - "loc": { - "start": { - "line": 440, - "column": 21 - }, - "end": { - "line": 440, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15480, - "end": 15481, - "loc": { - "start": { - "line": 440, - "column": 22 - }, - "end": { - "line": 440, - "column": 23 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 15489, - "end": 15491, - "loc": { - "start": { - "line": 442, - "column": 4 - }, - "end": { - "line": 442, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15491, - "end": 15492, - "loc": { - "start": { - "line": 442, - "column": 6 - }, - "end": { - "line": 442, - "column": 7 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 15492, - "end": 15498, - "loc": { - "start": { - "line": 442, - "column": 7 - }, - "end": { - "line": 442, - "column": 13 - } - } - }, - { - "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": 15499, - "end": 15503, - "loc": { - "start": { - "line": 442, - "column": 14 - }, - "end": { - "line": 442, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15503, - "end": 15504, - "loc": { - "start": { - "line": 442, - "column": 18 - }, - "end": { - "line": 442, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15504, - "end": 15511, - "loc": { - "start": { - "line": 442, - "column": 19 - }, - "end": { - "line": 442, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15511, - "end": 15512, - "loc": { - "start": { - "line": 442, - "column": 26 - }, - "end": { - "line": 442, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onInit", - "start": 15512, - "end": 15518, - "loc": { - "start": { - "line": 442, - "column": 27 - }, - "end": { - "line": 442, - "column": 33 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 15519, - "end": 15522, - "loc": { - "start": { - "line": 442, - "column": 34 - }, - "end": { - "line": 442, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 15523, - "end": 15533, - "loc": { - "start": { - "line": 442, - "column": 38 - }, - "end": { - "line": 442, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15533, - "end": 15534, - "loc": { - "start": { - "line": 442, - "column": 48 - }, - "end": { - "line": 442, - "column": 49 - } - } - }, - { - "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": 15542, - "end": 15546, - "loc": { - "start": { - "line": 443, - "column": 6 - }, - "end": { - "line": 443, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15546, - "end": 15547, - "loc": { - "start": { - "line": 443, - "column": 10 - }, - "end": { - "line": 443, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15547, - "end": 15554, - "loc": { - "start": { - "line": 443, - "column": 11 - }, - "end": { - "line": 443, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15554, - "end": 15555, - "loc": { - "start": { - "line": 443, - "column": 18 - }, - "end": { - "line": 443, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onInit", - "start": 15555, - "end": 15561, - "loc": { - "start": { - "line": 443, - "column": 19 - }, - "end": { - "line": 443, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15561, - "end": 15562, - "loc": { - "start": { - "line": 443, - "column": 25 - }, - "end": { - "line": 443, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15562, - "end": 15563, - "loc": { - "start": { - "line": 443, - "column": 26 - }, - "end": { - "line": 443, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15563, - "end": 15564, - "loc": { - "start": { - "line": 443, - "column": 27 - }, - "end": { - "line": 443, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15568, - "end": 15569, - "loc": { - "start": { - "line": 444, - "column": 2 - }, - "end": { - "line": 444, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 15575, - "end": 15693, - "loc": { - "start": { - "line": 446, - "column": 2 - }, - "end": { - "line": 448, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onRender", - "start": 15697, - "end": 15705, - "loc": { - "start": { - "line": 449, - "column": 2 - }, - "end": { - "line": 449, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15706, - "end": 15707, - "loc": { - "start": { - "line": 449, - "column": 11 - }, - "end": { - "line": 449, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15708, - "end": 15709, - "loc": { - "start": { - "line": 449, - "column": 13 - }, - "end": { - "line": 449, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15709, - "end": 15710, - "loc": { - "start": { - "line": 449, - "column": 14 - }, - "end": { - "line": 449, - "column": 15 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15711, - "end": 15713, - "loc": { - "start": { - "line": 449, - "column": 16 - }, - "end": { - "line": 449, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15714, - "end": 15715, - "loc": { - "start": { - "line": 449, - "column": 19 - }, - "end": { - "line": 449, - "column": 20 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 15721, - "end": 15723, - "loc": { - "start": { - "line": 450, - "column": 4 - }, - "end": { - "line": 450, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15723, - "end": 15724, - "loc": { - "start": { - "line": 450, - "column": 6 - }, - "end": { - "line": 450, - "column": 7 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 15724, - "end": 15730, - "loc": { - "start": { - "line": 450, - "column": 7 - }, - "end": { - "line": 450, - "column": 13 - } - } - }, - { - "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": 15731, - "end": 15735, - "loc": { - "start": { - "line": 450, - "column": 14 - }, - "end": { - "line": 450, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15735, - "end": 15736, - "loc": { - "start": { - "line": 450, - "column": 18 - }, - "end": { - "line": 450, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15736, - "end": 15743, - "loc": { - "start": { - "line": 450, - "column": 19 - }, - "end": { - "line": 450, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15743, - "end": 15744, - "loc": { - "start": { - "line": 450, - "column": 26 - }, - "end": { - "line": 450, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onRender", - "start": 15744, - "end": 15752, - "loc": { - "start": { - "line": 450, - "column": 27 - }, - "end": { - "line": 450, - "column": 35 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 15753, - "end": 15756, - "loc": { - "start": { - "line": 450, - "column": 36 - }, - "end": { - "line": 450, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 15757, - "end": 15767, - "loc": { - "start": { - "line": 450, - "column": 40 - }, - "end": { - "line": 450, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15767, - "end": 15768, - "loc": { - "start": { - "line": 450, - "column": 50 - }, - "end": { - "line": 450, - "column": 51 - } - } - }, - { - "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": 15776, - "end": 15780, - "loc": { - "start": { - "line": 451, - "column": 6 - }, - "end": { - "line": 451, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15780, - "end": 15781, - "loc": { - "start": { - "line": 451, - "column": 10 - }, - "end": { - "line": 451, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15781, - "end": 15788, - "loc": { - "start": { - "line": 451, - "column": 11 - }, - "end": { - "line": 451, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15788, - "end": 15789, - "loc": { - "start": { - "line": 451, - "column": 18 - }, - "end": { - "line": 451, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onRender", - "start": 15789, - "end": 15797, - "loc": { - "start": { - "line": 451, - "column": 19 - }, - "end": { - "line": 451, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15797, - "end": 15798, - "loc": { - "start": { - "line": 451, - "column": 27 - }, - "end": { - "line": 451, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15798, - "end": 15799, - "loc": { - "start": { - "line": 451, - "column": 28 - }, - "end": { - "line": 451, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15799, - "end": 15800, - "loc": { - "start": { - "line": 451, - "column": 29 - }, - "end": { - "line": 451, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15804, - "end": 15805, - "loc": { - "start": { - "line": 452, - "column": 2 - }, - "end": { - "line": 452, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 15811, - "end": 15867, + "start": 16079, + "end": 16199, "loc": { "start": { "line": 454, @@ -97566,9 +108805,9 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 15871, - "end": 15877, + "value": "onInit", + "start": 16203, + "end": 16209, "loc": { "start": { "line": 457, @@ -97580,33 +108819,6 @@ } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15878, - "end": 15879, - "loc": { - "start": { - "line": 457, - "column": 9 - }, - "end": { - "line": 457, - "column": 10 - } - } - }, { "type": { "label": "(", @@ -97619,16 +108831,16 @@ "postfix": false, "binop": null }, - "start": 15880, - "end": 15881, + "start": 16209, + "end": 16210, "loc": { "start": { "line": 457, - "column": 11 + "column": 8 }, "end": { "line": 457, - "column": 12 + "column": 9 } } }, @@ -97644,42 +108856,16 @@ "postfix": false, "binop": null }, - "start": 15881, - "end": 15882, + "start": 16210, + "end": 16211, "loc": { "start": { "line": 457, - "column": 12 + "column": 9 }, "end": { "line": 457, - "column": 13 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15883, - "end": 15885, - "loc": { - "start": { - "line": 457, - "column": 14 - }, - "end": { - "line": 457, - "column": 16 + "column": 10 } } }, @@ -97695,66 +108881,23 @@ "postfix": false, "binop": null }, - "start": 15886, - "end": 15887, + "start": 16211, + "end": 16212, "loc": { "start": { "line": 457, - "column": 17 + "column": 10 }, "end": { "line": 457, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Clear keyboard\r\n ", - "start": 15893, - "end": 15928, - "loc": { - "start": { - "line": 458, - "column": 4 - }, - "end": { - "line": 460, - "column": 7 + "column": 11 } } }, { "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": 15934, - "end": 15938, - "loc": { - "start": { - "line": 461, - "column": 4 - }, - "end": { - "line": 461, - "column": 8 - } - } - }, - { - "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -97765,42 +108908,17 @@ "binop": null, "updateContext": null }, - "start": 15938, - "end": 15939, + "value": "if", + "start": 16218, + "end": 16220, "loc": { "start": { - "line": 461, - "column": 8 + "line": 458, + "column": 4 }, "end": { - "line": 461, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "clear", - "start": 15939, - "end": 15944, - "loc": { - "start": { - "line": 461, - "column": 9 - }, - "end": { - "line": 461, - "column": 14 + "line": 458, + "column": 6 } } }, @@ -97816,151 +108934,19 @@ "postfix": false, "binop": null }, - "start": 15944, - "end": 15945, + "start": 16220, + "end": 16221, "loc": { "start": { - "line": 461, - "column": 14 + "line": 458, + "column": 6 }, "end": { - "line": 461, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15945, - "end": 15946, - "loc": { - "start": { - "line": 461, - "column": 15 - }, - "end": { - "line": 461, - "column": 16 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15946, - "end": 15947, - "loc": { - "start": { - "line": 461, - "column": 16 - }, - "end": { - "line": 461, - "column": 17 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 15955, - "end": 15958, - "loc": { - "start": { - "line": 463, - "column": 4 - }, - "end": { - "line": 463, + "line": 458, "column": 7 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layoutClass", - "start": 15959, - "end": 15970, - "loc": { - "start": { - "line": 463, - "column": 8 - }, - "end": { - "line": 463, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15971, - "end": 15972, - "loc": { - "start": { - "line": 463, - "column": 20 - }, - "end": { - "line": 463, - "column": 21 - } - } - }, { "type": { "label": "this", @@ -97976,16 +108962,16 @@ "updateContext": null }, "value": "this", - "start": 15973, - "end": 15977, + "start": 16221, + "end": 16225, "loc": { "start": { - "line": 463, - "column": 22 + "line": 458, + "column": 7 }, "end": { - "line": 463, - "column": 26 + "line": 458, + "column": 11 } } }, @@ -98002,16 +108988,16 @@ "binop": null, "updateContext": null }, - "start": 15977, - "end": 15978, + "start": 16225, + "end": 16226, "loc": { "start": { - "line": 463, - "column": 26 + "line": 458, + "column": 11 }, "end": { - "line": 463, - "column": 27 + "line": 458, + "column": 12 } } }, @@ -98028,16 +109014,16 @@ "binop": null }, "value": "options", - "start": 15978, - "end": 15985, + "start": 16226, + "end": 16233, "loc": { "start": { - "line": 463, - "column": 27 + "line": 458, + "column": 12 }, "end": { - "line": 463, - "column": 34 + "line": 458, + "column": 19 } } }, @@ -98054,16 +109040,16 @@ "binop": null, "updateContext": null }, - "start": 15985, - "end": 15986, + "start": 16233, + "end": 16234, "loc": { "start": { - "line": 463, - "column": 34 + "line": 458, + "column": 19 }, "end": { - "line": 463, - "column": 35 + "line": 458, + "column": 20 } } }, @@ -98079,24 +109065,100 @@ "postfix": false, "binop": null }, - "value": "layout", - "start": 15986, - "end": 15992, + "value": "debug", + "start": 16234, + "end": 16239, "loc": { "start": { - "line": 463, - "column": 35 + "line": 458, + "column": 20 }, "end": { - "line": 463, - "column": 41 + "line": 458, + "column": 25 } } }, { "type": { - "label": "?", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16239, + "end": 16240, + "loc": { + "start": { + "line": 458, + "column": 25 + }, + "end": { + "line": 458, + "column": 26 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16240, + "end": 16241, + "loc": { + "start": { + "line": 458, + "column": 26 + }, + "end": { + "line": 458, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 16249, + "end": 16256, + "loc": { + "start": { + "line": 459, + "column": 6 + }, + "end": { + "line": 459, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -98106,16 +109168,67 @@ "binop": null, "updateContext": null }, - "start": 15993, - "end": 15994, + "start": 16256, + "end": 16257, "loc": { "start": { - "line": 463, - "column": 42 + "line": 459, + "column": 13 }, "end": { - "line": 463, - "column": 43 + "line": 459, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 16257, + "end": 16260, + "loc": { + "start": { + "line": 459, + "column": 14 + }, + "end": { + "line": 459, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16260, + "end": 16261, + "loc": { + "start": { + "line": 459, + "column": 17 + }, + "end": { + "line": 459, + "column": 18 } } }, @@ -98132,1268 +109245,25 @@ "binop": null, "updateContext": null }, - "value": "hg-layout-custom", - "start": 15995, - "end": 16013, - "loc": { - "start": { - "line": 463, - "column": 44 - }, - "end": { - "line": 463, - "column": 62 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16014, - "end": 16015, - "loc": { - "start": { - "line": 463, - "column": 63 - }, - "end": { - "line": 463, - "column": 64 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16016, - "end": 16017, - "loc": { - "start": { - "line": 463, - "column": 65 - }, - "end": { - "line": 463, - "column": 66 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "hg-layout-", - "start": 16017, - "end": 16027, - "loc": { - "start": { - "line": 463, - "column": 66 - }, - "end": { - "line": 463, - "column": 76 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16027, - "end": 16029, - "loc": { - "start": { - "line": 463, - "column": 76 - }, - "end": { - "line": 463, - "column": 78 - } - } - }, - { - "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": 16029, - "end": 16033, - "loc": { - "start": { - "line": 463, - "column": 78 - }, - "end": { - "line": 463, - "column": 82 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16033, - "end": 16034, - "loc": { - "start": { - "line": 463, - "column": 82 - }, - "end": { - "line": 463, - "column": 83 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 16034, - "end": 16041, - "loc": { - "start": { - "line": 463, - "column": 83 - }, - "end": { - "line": 463, - "column": 90 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16041, - "end": 16042, - "loc": { - "start": { - "line": 463, - "column": 90 - }, - "end": { - "line": 463, - "column": 91 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layoutName", - "start": 16042, - "end": 16052, - "loc": { - "start": { - "line": 463, - "column": 91 - }, - "end": { - "line": 463, - "column": 101 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16052, - "end": 16053, - "loc": { - "start": { - "line": 463, - "column": 101 - }, - "end": { - "line": 463, - "column": 102 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 16053, - "end": 16053, - "loc": { - "start": { - "line": 463, - "column": 102 - }, - "end": { - "line": 463, - "column": 102 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16053, - "end": 16054, - "loc": { - "start": { - "line": 463, - "column": 102 - }, - "end": { - "line": 463, - "column": 103 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16054, - "end": 16055, - "loc": { - "start": { - "line": 463, - "column": 103 - }, - "end": { - "line": 463, - "column": 104 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 16061, - "end": 16064, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 464, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layout", - "start": 16065, - "end": 16071, - "loc": { - "start": { - "line": 464, - "column": 8 - }, - "end": { - "line": 464, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16072, - "end": 16073, - "loc": { - "start": { - "line": 464, - "column": 15 - }, - "end": { - "line": 464, - "column": 16 - } - } - }, - { - "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": 16074, - "end": 16078, - "loc": { - "start": { - "line": 464, - "column": 17 - }, - "end": { - "line": 464, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16078, - "end": 16079, - "loc": { - "start": { - "line": 464, - "column": 21 - }, - "end": { - "line": 464, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 16079, - "end": 16086, - "loc": { - "start": { - "line": 464, - "column": 22 - }, - "end": { - "line": 464, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16086, - "end": 16087, - "loc": { - "start": { - "line": 464, - "column": 29 - }, - "end": { - "line": 464, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layout", - "start": 16087, - "end": 16093, - "loc": { - "start": { - "line": 464, - "column": 30 - }, - "end": { - "line": 464, - "column": 36 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 16094, - "end": 16096, - "loc": { - "start": { - "line": 464, - "column": 37 - }, - "end": { - "line": 464, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "KeyboardLayout", - "start": 16097, - "end": 16111, - "loc": { - "start": { - "line": 464, - "column": 40 - }, - "end": { - "line": 464, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16111, - "end": 16112, - "loc": { - "start": { - "line": 464, - "column": 54 - }, - "end": { - "line": 464, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDefaultLayout", - "start": 16112, - "end": 16128, - "loc": { - "start": { - "line": 464, - "column": 55 - }, - "end": { - "line": 464, - "column": 71 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16128, - "end": 16129, - "loc": { - "start": { - "line": 464, - "column": 71 - }, - "end": { - "line": 464, - "column": 72 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16129, - "end": 16130, - "loc": { - "start": { - "line": 464, - "column": 72 - }, - "end": { - "line": 464, - "column": 73 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16130, - "end": 16131, - "loc": { - "start": { - "line": 464, - "column": 73 - }, - "end": { - "line": 464, - "column": 74 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 16139, - "end": 16191, - "loc": { - "start": { - "line": 466, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 16197, - "end": 16200, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 469, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 16201, - "end": 16219, - "loc": { - "start": { - "line": 469, - "column": 8 - }, - "end": { - "line": 469, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16220, - "end": 16221, - "loc": { - "start": { - "line": 469, - "column": 27 - }, - "end": { - "line": 469, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16222, - "end": 16223, - "loc": { - "start": { - "line": 469, - "column": 29 - }, - "end": { - "line": 469, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16223, - "end": 16224, - "loc": { - "start": { - "line": 469, - "column": 30 - }, - "end": { - "line": 469, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16224, - "end": 16225, - "loc": { - "start": { - "line": 469, - "column": 31 - }, - "end": { - "line": 469, - "column": 32 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16231, - "end": 16233, - "loc": { - "start": { - "line": 470, - "column": 4 - }, - "end": { - "line": 470, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16233, - "end": 16234, - "loc": { - "start": { - "line": 470, - "column": 6 - }, - "end": { - "line": 470, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 16234, - "end": 16239, - "loc": { - "start": { - "line": 470, - "column": 7 - }, - "end": { - "line": 470, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16239, - "end": 16240, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 16240, - "end": 16247, - "loc": { - "start": { - "line": 470, - "column": 13 - }, - "end": { - "line": 470, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16247, - "end": 16248, - "loc": { - "start": { - "line": 470, - "column": 20 - }, - "end": { - "line": 470, - "column": 21 - } - } - }, - { - "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": 16248, - "end": 16252, - "loc": { - "start": { - "line": 470, - "column": 21 - }, - "end": { - "line": 470, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16252, - "end": 16253, - "loc": { - "start": { - "line": 470, - "column": 25 - }, - "end": { - "line": 470, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 16253, - "end": 16260, - "loc": { - "start": { - "line": 470, - "column": 26 - }, - "end": { - "line": 470, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16260, - "end": 16261, - "loc": { - "start": { - "line": 470, - "column": 33 - }, - "end": { - "line": 470, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", + "value": "Initialized", "start": 16261, - "end": 16272, - "loc": { - "start": { - "line": 470, - "column": 34 - }, - "end": { - "line": 470, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16272, - "end": 16273, - "loc": { - "start": { - "line": 470, - "column": 45 - }, - "end": { - "line": 470, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16273, "end": 16274, "loc": { "start": { - "line": 470, - "column": 46 + "line": 459, + "column": 18 }, "end": { - "line": 470, - "column": 47 + "line": 459, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99405,12 +109275,79 @@ "end": 16275, "loc": { "start": { - "line": 470, - "column": 47 + "line": 459, + "column": 31 }, "end": { - "line": 470, - "column": 48 + "line": 459, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16275, + "end": 16276, + "loc": { + "start": { + "line": 459, + "column": 32 + }, + "end": { + "line": 459, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16282, + "end": 16283, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 460, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 16291, + "end": 16326, + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 464, + "column": 7 } } }, @@ -99429,16 +109366,16 @@ "updateContext": null }, "value": "this", - "start": 16283, - "end": 16287, + "start": 16332, + "end": 16336, "loc": { "start": { - "line": 471, - "column": 6 + "line": 465, + "column": 4 }, "end": { - "line": 471, - "column": 10 + "line": 465, + "column": 8 } } }, @@ -99455,301 +109392,16 @@ "binop": null, "updateContext": null }, - "start": 16287, - "end": 16288, + "start": 16336, + "end": 16337, "loc": { "start": { - "line": 471, - "column": 10 - }, - "end": { - "line": 471, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 16288, - "end": 16295, - "loc": { - "start": { - "line": 471, - "column": 11 - }, - "end": { - "line": 471, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16295, - "end": 16296, - "loc": { - "start": { - "line": 471, - "column": 18 - }, - "end": { - "line": 471, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 16296, - "end": 16307, - "loc": { - "start": { - "line": 471, - "column": 19 - }, - "end": { - "line": 471, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16307, - "end": 16308, - "loc": { - "start": { - "line": 471, - "column": 30 - }, - "end": { - "line": 471, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 16308, - "end": 16315, - "loc": { - "start": { - "line": 471, - "column": 31 - }, - "end": { - "line": 471, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16315, - "end": 16316, - "loc": { - "start": { - "line": 471, - "column": 38 - }, - "end": { - "line": 471, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 16316, - "end": 16324, - "loc": { - "start": { - "line": 471, - "column": 39 - }, - "end": { - "line": 471, - "column": 47 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16325, - "end": 16327, - "loc": { - "start": { - "line": 471, - "column": 48 - }, - "end": { - "line": 471, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16328, - "end": 16329, - "loc": { - "start": { - "line": 471, - "column": 51 - }, - "end": { - "line": 471, - "column": 52 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16339, - "end": 16341, - "loc": { - "start": { - "line": 472, + "line": 465, "column": 8 }, "end": { - "line": 472, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16341, - "end": 16342, - "loc": { - "start": { - "line": 472, - "column": 10 - }, - "end": { - "line": 472, - "column": 11 + "line": 465, + "column": 9 } } }, @@ -99765,23 +109417,48 @@ "postfix": false, "binop": null }, - "value": "themeObj", - "start": 16342, - "end": 16350, + "value": "handleCaret", + "start": 16337, + "end": 16348, "loc": { "start": { - "line": 472, - "column": 11 + "line": 465, + "column": 9 }, "end": { - "line": 472, - "column": 19 + "line": 465, + "column": 20 } } }, { "type": { - "label": ".", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16348, + "end": 16349, + "loc": { + "start": { + "line": 465, + "column": 20 + }, + "end": { + "line": 465, + "column": 21 + } + } + }, + { + "type": { + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -99789,6 +109466,31 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 16349, + "end": 16350, + "loc": { + "start": { + "line": 465, + "column": 21 + }, + "end": { + "line": 465, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, @@ -99796,275 +109498,12 @@ "end": 16351, "loc": { "start": { - "line": 472, - "column": 19 + "line": 465, + "column": 22 }, "end": { - "line": 472, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 16351, - "end": 16358, - "loc": { - "start": { - "line": 472, - "column": 20 - }, - "end": { - "line": 472, - "column": 27 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 16359, - "end": 16361, - "loc": { - "start": { - "line": 472, - "column": 28 - }, - "end": { - "line": 472, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 16362, - "end": 16370, - "loc": { - "start": { - "line": 472, - "column": 31 - }, - "end": { - "line": 472, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16370, - "end": 16371, - "loc": { - "start": { - "line": 472, - "column": 39 - }, - "end": { - "line": 472, - "column": 40 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 16371, - "end": 16376, - "loc": { - "start": { - "line": 472, - "column": 40 - }, - "end": { - "line": 472, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16376, - "end": 16377, - "loc": { - "start": { - "line": 472, - "column": 45 - }, - "end": { - "line": 472, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16377, - "end": 16378, - "loc": { - "start": { - "line": 472, - "column": 46 - }, - "end": { - "line": 472, - "column": 47 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 16390, - "end": 16393, - "loc": { - "start": { - "line": 473, - "column": 10 - }, - "end": { - "line": 473, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButtons", - "start": 16394, - "end": 16406, - "loc": { - "start": { - "line": 473, - "column": 14 - }, - "end": { - "line": 473, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16406, - "end": 16407, - "loc": { - "start": { - "line": 473, - "column": 26 - }, - "end": { - "line": 473, - "column": 27 + "line": 465, + "column": 23 } } }, @@ -100083,16 +109522,16 @@ "updateContext": null }, "value": "if", - "start": 16421, - "end": 16423, + "start": 16359, + "end": 16361, "loc": { "start": { - "line": 475, - "column": 10 + "line": 467, + "column": 4 }, "end": { - "line": 475, - "column": 12 + "line": 467, + "column": 6 } } }, @@ -100108,16 +109547,16 @@ "postfix": false, "binop": null }, - "start": 16423, - "end": 16424, + "start": 16361, + "end": 16362, "loc": { "start": { - "line": 475, - "column": 12 + "line": 467, + "column": 6 }, "end": { - "line": 475, - "column": 13 + "line": 467, + "column": 7 } } }, @@ -100136,1270 +109575,16 @@ "updateContext": null }, "value": "typeof", - "start": 16424, - "end": 16430, + "start": 16362, + "end": 16368, "loc": { "start": { - "line": 475, + "line": 467, + "column": 7 + }, + "end": { + "line": 467, "column": 13 - }, - "end": { - "line": 475, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 16431, - "end": 16439, - "loc": { - "start": { - "line": 475, - "column": 20 - }, - "end": { - "line": 475, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16439, - "end": 16440, - "loc": { - "start": { - "line": 475, - "column": 28 - }, - "end": { - "line": 475, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 16440, - "end": 16447, - "loc": { - "start": { - "line": 475, - "column": 29 - }, - "end": { - "line": 475, - "column": 36 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 16448, - "end": 16451, - "loc": { - "start": { - "line": 475, - "column": 37 - }, - "end": { - "line": 475, - "column": 40 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 16452, - "end": 16460, - "loc": { - "start": { - "line": 475, - "column": 41 - }, - "end": { - "line": 475, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16460, - "end": 16461, - "loc": { - "start": { - "line": 475, - "column": 49 - }, - "end": { - "line": 475, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16461, - "end": 16462, - "loc": { - "start": { - "line": 475, - "column": 50 - }, - "end": { - "line": 475, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButtons", - "start": 16476, - "end": 16488, - "loc": { - "start": { - "line": 476, - "column": 12 - }, - "end": { - "line": 476, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16489, - "end": 16490, - "loc": { - "start": { - "line": 476, - "column": 25 - }, - "end": { - "line": 476, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 16491, - "end": 16499, - "loc": { - "start": { - "line": 476, - "column": 27 - }, - "end": { - "line": 476, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16499, - "end": 16500, - "loc": { - "start": { - "line": 476, - "column": 35 - }, - "end": { - "line": 476, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 16500, - "end": 16507, - "loc": { - "start": { - "line": 476, - "column": 36 - }, - "end": { - "line": 476, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16507, - "end": 16508, - "loc": { - "start": { - "line": 476, - "column": 43 - }, - "end": { - "line": 476, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 16508, - "end": 16513, - "loc": { - "start": { - "line": 476, - "column": 44 - }, - "end": { - "line": 476, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16513, - "end": 16514, - "loc": { - "start": { - "line": 476, - "column": 49 - }, - "end": { - "line": 476, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 16514, - "end": 16517, - "loc": { - "start": { - "line": 476, - "column": 50 - }, - "end": { - "line": 476, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16517, - "end": 16518, - "loc": { - "start": { - "line": 476, - "column": 53 - }, - "end": { - "line": 476, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16518, - "end": 16519, - "loc": { - "start": { - "line": 476, - "column": 54 - }, - "end": { - "line": 476, - "column": 55 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16531, - "end": 16532, - "loc": { - "start": { - "line": 477, - "column": 10 - }, - "end": { - "line": 477, - "column": 11 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16546, - "end": 16548, - "loc": { - "start": { - "line": 479, - "column": 10 - }, - "end": { - "line": 479, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16548, - "end": 16549, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButtons", - "start": 16549, - "end": 16561, - "loc": { - "start": { - "line": 479, - "column": 13 - }, - "end": { - "line": 479, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16561, - "end": 16562, - "loc": { - "start": { - "line": 479, - "column": 25 - }, - "end": { - "line": 479, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16562, - "end": 16563, - "loc": { - "start": { - "line": 479, - "column": 26 - }, - "end": { - "line": 479, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButtons", - "start": 16577, - "end": 16589, - "loc": { - "start": { - "line": 480, - "column": 12 - }, - "end": { - "line": 480, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16589, - "end": 16590, - "loc": { - "start": { - "line": 480, - "column": 24 - }, - "end": { - "line": 480, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 16590, - "end": 16597, - "loc": { - "start": { - "line": 480, - "column": 25 - }, - "end": { - "line": 480, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16597, - "end": 16598, - "loc": { - "start": { - "line": 480, - "column": 32 - }, - "end": { - "line": 480, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButton", - "start": 16598, - "end": 16609, - "loc": { - "start": { - "line": 480, - "column": 33 - }, - "end": { - "line": 480, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16610, - "end": 16612, - "loc": { - "start": { - "line": 480, - "column": 45 - }, - "end": { - "line": 480, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16613, - "end": 16614, - "loc": { - "start": { - "line": 480, - "column": 48 - }, - "end": { - "line": 480, - "column": 49 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 16630, - "end": 16633, - "loc": { - "start": { - "line": 481, - "column": 14 - }, - "end": { - "line": 481, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 16634, - "end": 16645, - "loc": { - "start": { - "line": 481, - "column": 18 - }, - "end": { - "line": 481, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16646, - "end": 16647, - "loc": { - "start": { - "line": 481, - "column": 30 - }, - "end": { - "line": 481, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 16648, - "end": 16666, - "loc": { - "start": { - "line": 481, - "column": 32 - }, - "end": { - "line": 481, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16666, - "end": 16667, - "loc": { - "start": { - "line": 481, - "column": 50 - }, - "end": { - "line": 481, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButton", - "start": 16667, - "end": 16678, - "loc": { - "start": { - "line": 481, - "column": 51 - }, - "end": { - "line": 481, - "column": 62 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16678, - "end": 16679, - "loc": { - "start": { - "line": 481, - "column": 62 - }, - "end": { - "line": 481, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16679, - "end": 16680, - "loc": { - "start": { - "line": 481, - "column": 63 - }, - "end": { - "line": 481, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 16698, - "end": 16737, - "loc": { - "start": { - "line": 483, - "column": 14 - }, - "end": { - "line": 483, - "column": 53 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16753, - "end": 16755, - "loc": { - "start": { - "line": 484, - "column": 14 - }, - "end": { - "line": 484, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16755, - "end": 16756, - "loc": { - "start": { - "line": 484, - "column": 16 - }, - "end": { - "line": 484, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 16756, - "end": 16767, - "loc": { - "start": { - "line": 484, - "column": 17 - }, - "end": { - "line": 484, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16767, - "end": 16768, - "loc": { - "start": { - "line": 484, - "column": 28 - }, - "end": { - "line": 484, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16768, - "end": 16769, - "loc": { - "start": { - "line": 484, - "column": 29 - }, - "end": { - "line": 484, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 16787, - "end": 16870, - "loc": { - "start": { - "line": 485, - "column": 16 - }, - "end": { - "line": 485, - "column": 99 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16888, - "end": 16890, - "loc": { - "start": { - "line": 486, - "column": 16 - }, - "end": { - "line": 486, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16890, - "end": 16891, - "loc": { - "start": { - "line": 486, - "column": 18 - }, - "end": { - "line": 486, - "column": 19 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 16891, - "end": 16892, - "loc": { - "start": { - "line": 486, - "column": 19 - }, - "end": { - "line": 486, - "column": 20 } } }, @@ -101418,16 +109603,16 @@ "updateContext": null }, "value": "this", - "start": 16892, - "end": 16896, + "start": 16369, + "end": 16373, "loc": { "start": { - "line": 486, - "column": 20 + "line": 467, + "column": 14 }, "end": { - "line": 486, - "column": 24 + "line": 467, + "column": 18 } } }, @@ -101444,16 +109629,16 @@ "binop": null, "updateContext": null }, - "start": 16896, - "end": 16897, + "start": 16373, + "end": 16374, "loc": { "start": { - "line": 486, - "column": 24 + "line": 467, + "column": 18 }, "end": { - "line": 486, - "column": 25 + "line": 467, + "column": 19 } } }, @@ -101469,17 +109654,17 @@ "postfix": false, "binop": null }, - "value": "utilities", - "start": 16897, - "end": 16906, + "value": "options", + "start": 16374, + "end": 16381, "loc": { "start": { - "line": 486, - "column": 25 + "line": 467, + "column": 19 }, "end": { - "line": 486, - "column": 34 + "line": 467, + "column": 26 } } }, @@ -101496,170 +109681,69 @@ "binop": null, "updateContext": null }, - "start": 16906, - "end": 16907, + "start": 16381, + "end": 16382, "loc": { "start": { - "line": 486, + "line": 467, + "column": 26 + }, + "end": { + "line": 467, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 16382, + "end": 16388, + "loc": { + "start": { + "line": 467, + "column": 27 + }, + "end": { + "line": 467, + "column": 33 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 16389, + "end": 16392, + "loc": { + "start": { + "line": 467, "column": 34 }, "end": { - "line": 486, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "countInArray", - "start": 16907, - "end": 16919, - "loc": { - "start": { - "line": 486, - "column": 35 - }, - "end": { - "line": 486, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16919, - "end": 16920, - "loc": { - "start": { - "line": 486, - "column": 47 - }, - "end": { - "line": 486, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 16920, - "end": 16931, - "loc": { - "start": { - "line": 486, - "column": 48 - }, - "end": { - "line": 486, - "column": 59 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16931, - "end": 16932, - "loc": { - "start": { - "line": 486, - "column": 59 - }, - "end": { - "line": 486, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 16932, - "end": 16937, - "loc": { - "start": { - "line": 486, - "column": 60 - }, - "end": { - "line": 486, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16937, - "end": 16938, - "loc": { - "start": { - "line": 486, - "column": 65 - }, - "end": { - "line": 486, - "column": 66 + "line": 467, + "column": 37 } } }, @@ -101676,17 +109760,17 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 16938, - "end": 16941, + "value": "function", + "start": 16393, + "end": 16403, "loc": { "start": { - "line": 486, - "column": 66 + "line": 467, + "column": 38 }, "end": { - "line": 486, - "column": 69 + "line": 467, + "column": 48 } } }, @@ -101702,16 +109786,1011 @@ "postfix": false, "binop": null }, - "start": 16941, - "end": 16942, + "start": 16403, + "end": 16404, "loc": { "start": { - "line": 486, - "column": 69 + "line": 467, + "column": 48 }, "end": { - "line": 486, - "column": 70 + "line": 467, + "column": 49 + } + } + }, + { + "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": 16412, + "end": 16416, + "loc": { + "start": { + "line": 468, + "column": 6 + }, + "end": { + "line": 468, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16416, + "end": 16417, + "loc": { + "start": { + "line": 468, + "column": 10 + }, + "end": { + "line": 468, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 16417, + "end": 16424, + "loc": { + "start": { + "line": 468, + "column": 11 + }, + "end": { + "line": 468, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16424, + "end": 16425, + "loc": { + "start": { + "line": 468, + "column": 18 + }, + "end": { + "line": 468, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 16425, + "end": 16431, + "loc": { + "start": { + "line": 468, + "column": 19 + }, + "end": { + "line": 468, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16431, + "end": 16432, + "loc": { + "start": { + "line": 468, + "column": 25 + }, + "end": { + "line": 468, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16432, + "end": 16433, + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 468, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16433, + "end": 16434, + "loc": { + "start": { + "line": 468, + "column": 27 + }, + "end": { + "line": 468, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16438, + "end": 16439, + "loc": { + "start": { + "line": 469, + "column": 2 + }, + "end": { + "line": 469, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", + "start": 16445, + "end": 16563, + "loc": { + "start": { + "line": 471, + "column": 2 + }, + "end": { + "line": 473, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 16567, + "end": 16575, + "loc": { + "start": { + "line": 474, + "column": 2 + }, + "end": { + "line": 474, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16575, + "end": 16576, + "loc": { + "start": { + "line": 474, + "column": 10 + }, + "end": { + "line": 474, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16576, + "end": 16577, + "loc": { + "start": { + "line": 474, + "column": 11 + }, + "end": { + "line": 474, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16577, + "end": 16578, + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 13 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 16584, + "end": 16586, + "loc": { + "start": { + "line": 475, + "column": 4 + }, + "end": { + "line": 475, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16586, + "end": 16587, + "loc": { + "start": { + "line": 475, + "column": 6 + }, + "end": { + "line": 475, + "column": 7 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 16587, + "end": 16593, + "loc": { + "start": { + "line": 475, + "column": 7 + }, + "end": { + "line": 475, + "column": 13 + } + } + }, + { + "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": 16594, + "end": 16598, + "loc": { + "start": { + "line": 475, + "column": 14 + }, + "end": { + "line": 475, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16598, + "end": 16599, + "loc": { + "start": { + "line": 475, + "column": 18 + }, + "end": { + "line": 475, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 16599, + "end": 16606, + "loc": { + "start": { + "line": 475, + "column": 19 + }, + "end": { + "line": 475, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16606, + "end": 16607, + "loc": { + "start": { + "line": 475, + "column": 26 + }, + "end": { + "line": 475, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 16607, + "end": 16615, + "loc": { + "start": { + "line": 475, + "column": 27 + }, + "end": { + "line": 475, + "column": 35 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 16616, + "end": 16619, + "loc": { + "start": { + "line": 475, + "column": 36 + }, + "end": { + "line": 475, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 16620, + "end": 16630, + "loc": { + "start": { + "line": 475, + "column": 40 + }, + "end": { + "line": 475, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16630, + "end": 16631, + "loc": { + "start": { + "line": 475, + "column": 50 + }, + "end": { + "line": 475, + "column": 51 + } + } + }, + { + "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": 16639, + "end": 16643, + "loc": { + "start": { + "line": 476, + "column": 6 + }, + "end": { + "line": 476, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16643, + "end": 16644, + "loc": { + "start": { + "line": 476, + "column": 10 + }, + "end": { + "line": 476, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 16644, + "end": 16651, + "loc": { + "start": { + "line": 476, + "column": 11 + }, + "end": { + "line": 476, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16651, + "end": 16652, + "loc": { + "start": { + "line": 476, + "column": 18 + }, + "end": { + "line": 476, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 16652, + "end": 16660, + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16660, + "end": 16661, + "loc": { + "start": { + "line": 476, + "column": 27 + }, + "end": { + "line": 476, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16661, + "end": 16662, + "loc": { + "start": { + "line": 476, + "column": 28 + }, + "end": { + "line": 476, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16662, + "end": 16663, + "loc": { + "start": { + "line": 476, + "column": 29 + }, + "end": { + "line": 476, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16667, + "end": 16668, + "loc": { + "start": { + "line": 477, + "column": 2 + }, + "end": { + "line": 477, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 16674, + "end": 16706, + "loc": { + "start": { + "line": 479, + "column": 2 + }, + "end": { + "line": 481, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerModule", + "start": 16710, + "end": 16724, + "loc": { + "start": { + "line": 482, + "column": 2 + }, + "end": { + "line": 482, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16725, + "end": 16726, + "loc": { + "start": { + "line": 482, + "column": 17 + }, + "end": { + "line": 482, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16727, + "end": 16728, + "loc": { + "start": { + "line": 482, + "column": 19 + }, + "end": { + "line": 482, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 16728, + "end": 16732, + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 24 } } }, @@ -101728,16 +110807,16 @@ "binop": null, "updateContext": null }, - "start": 16942, - "end": 16943, + "start": 16732, + "end": 16733, "loc": { "start": { - "line": 486, - "column": 70 + "line": 482, + "column": 24 }, "end": { - "line": 486, - "column": 71 + "line": 482, + "column": 25 } } }, @@ -101753,17 +110832,121 @@ "postfix": false, "binop": null }, - "value": "themeObj", - "start": 16944, - "end": 16952, + "value": "initCallback", + "start": 16734, + "end": 16746, "loc": { "start": { - "line": 486, - "column": 72 + "line": 482, + "column": 26 }, "end": { - "line": 486, - "column": 80 + "line": 482, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16746, + "end": 16747, + "loc": { + "start": { + "line": 482, + "column": 38 + }, + "end": { + "line": 482, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16748, + "end": 16750, + "loc": { + "start": { + "line": 482, + "column": 40 + }, + "end": { + "line": 482, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16751, + "end": 16752, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 44 + } + } + }, + { + "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": 16758, + "end": 16762, + "loc": { + "start": { + "line": 483, + "column": 4 + }, + "end": { + "line": 483, + "column": 8 } } }, @@ -101780,119 +110963,16 @@ "binop": null, "updateContext": null }, - "start": 16952, - "end": 16953, + "start": 16762, + "end": 16763, "loc": { "start": { - "line": 486, - "column": 80 + "line": 483, + "column": 8 }, "end": { - "line": 486, - "column": 81 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 16953, - "end": 16958, - "loc": { - "start": { - "line": 486, - "column": 81 - }, - "end": { - "line": 486, - "column": 86 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16958, - "end": 16959, - "loc": { - "start": { - "line": 486, - "column": 86 - }, - "end": { - "line": 486, - "column": 87 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16959, - "end": 16960, - "loc": { - "start": { - "line": 486, - "column": 87 - }, - "end": { - "line": 486, - "column": 88 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16960, - "end": 16961, - "loc": { - "start": { - "line": 486, - "column": 88 - }, - "end": { - "line": 486, - "column": 89 + "line": 483, + "column": 9 } } }, @@ -101908,17 +110988,17 @@ "postfix": false, "binop": null }, - "value": "buttonThemesParsed", - "start": 16981, - "end": 16999, + "value": "modules", + "start": 16763, + "end": 16770, "loc": { "start": { - "line": 487, - "column": 18 + "line": 483, + "column": 9 }, "end": { - "line": 487, - "column": 36 + "line": 483, + "column": 16 } } }, @@ -101935,16 +111015,16 @@ "binop": null, "updateContext": null }, - "start": 16999, - "end": 17000, + "start": 16770, + "end": 16771, "loc": { "start": { - "line": 487, - "column": 36 + "line": 483, + "column": 16 }, "end": { - "line": 487, - "column": 37 + "line": 483, + "column": 17 } } }, @@ -101960,17 +111040,17 @@ "postfix": false, "binop": null }, - "value": "themeButton", - "start": 17000, - "end": 17011, + "value": "name", + "start": 16771, + "end": 16775, "loc": { "start": { - "line": 487, - "column": 37 + "line": 483, + "column": 17 }, "end": { - "line": 487, - "column": 48 + "line": 483, + "column": 21 } } }, @@ -101987,16 +111067,16 @@ "binop": null, "updateContext": null }, - "start": 17011, - "end": 17012, + "start": 16775, + "end": 16776, "loc": { "start": { - "line": 487, - "column": 48 + "line": 483, + "column": 21 }, "end": { - "line": 487, - "column": 49 + "line": 483, + "column": 22 } } }, @@ -102014,74 +111094,22 @@ "updateContext": null }, "value": "=", - "start": 17013, - "end": 17014, + "start": 16777, + "end": 16778, "loc": { "start": { - "line": 487, - "column": 50 + "line": 483, + "column": 23 }, "end": { - "line": 487, - "column": 51 + "line": 483, + "column": 24 } } }, { "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17015, - "end": 17016, - "loc": { - "start": { - "line": 487, - "column": 52 - }, - "end": { - "line": 487, - "column": 53 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 17016, - "end": 17016, - "loc": { - "start": { - "line": 487, - "column": 53 - }, - "end": { - "line": 487, - "column": 53 - } - } - }, - { - "type": { - "label": "${", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -102091,42 +111119,16 @@ "postfix": false, "binop": null }, - "start": 17016, - "end": 17018, + "start": 16779, + "end": 16780, "loc": { "start": { - "line": 487, - "column": 53 + "line": 483, + "column": 25 }, "end": { - "line": 487, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 17018, - "end": 17029, - "loc": { - "start": { - "line": 487, - "column": 55 - }, - "end": { - "line": 487, - "column": 66 + "line": 483, + "column": 26 } } }, @@ -102142,225 +111144,16 @@ "postfix": false, "binop": null }, - "start": 17029, - "end": 17030, + "start": 16780, + "end": 16781, "loc": { "start": { - "line": 487, - "column": 66 + "line": 483, + "column": 26 }, "end": { - "line": 487, - "column": 67 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 17030, - "end": 17031, - "loc": { - "start": { - "line": 487, - "column": 67 - }, - "end": { - "line": 487, - "column": 68 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17031, - "end": 17033, - "loc": { - "start": { - "line": 487, - "column": 68 - }, - "end": { - "line": 487, - "column": 70 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 17033, - "end": 17041, - "loc": { - "start": { - "line": 487, - "column": 70 - }, - "end": { - "line": 487, - "column": 78 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17041, - "end": 17042, - "loc": { - "start": { - "line": 487, - "column": 78 - }, - "end": { - "line": 487, - "column": 79 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 17042, - "end": 17047, - "loc": { - "start": { - "line": 487, - "column": 79 - }, - "end": { - "line": 487, - "column": 84 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17047, - "end": 17048, - "loc": { - "start": { - "line": 487, - "column": 84 - }, - "end": { - "line": 487, - "column": 85 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 17048, - "end": 17048, - "loc": { - "start": { - "line": 487, - "column": 85 - }, - "end": { - "line": 487, - "column": 85 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17048, - "end": 17049, - "loc": { - "start": { - "line": 487, - "column": 85 - }, - "end": { - "line": 487, - "column": 86 + "line": 483, + "column": 27 } } }, @@ -102377,24 +111170,24 @@ "binop": null, "updateContext": null }, - "start": 17049, - "end": 17050, + "start": 16781, + "end": 16782, "loc": { "start": { - "line": 487, - "column": 86 + "line": 483, + "column": 27 }, "end": { - "line": 487, - "column": 87 + "line": 483, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102402,75 +111195,23 @@ "postfix": false, "binop": null }, - "start": 17068, - "end": 17069, + "value": "initCallback", + "start": 16790, + "end": 16802, "loc": { "start": { - "line": 488, + "line": 485, + "column": 4 + }, + "end": { + "line": 485, "column": 16 - }, - "end": { - "line": 488, - "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17085, - "end": 17086, - "loc": { - "start": { - "line": 489, - "column": 14 - }, - "end": { - "line": 489, - "column": 15 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 17087, - "end": 17091, - "loc": { - "start": { - "line": 489, - "column": 16 - }, - "end": { - "line": 489, - "column": 20 - } - } - }, - { - "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -102480,15 +111221,69 @@ "postfix": false, "binop": null }, - "start": 17092, - "end": 17093, + "start": 16802, + "end": 16803, "loc": { "start": { - "line": 489, + "line": 485, + "column": 16 + }, + "end": { + "line": 485, + "column": 17 + } + } + }, + { + "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": 16803, + "end": 16807, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16807, + "end": 16808, + "loc": { + "start": { + "line": 485, "column": 21 }, "end": { - "line": 489, + "line": 485, "column": 22 } } @@ -102505,17 +111300,17 @@ "postfix": false, "binop": null }, - "value": "buttonThemesParsed", - "start": 17111, - "end": 17129, + "value": "modules", + "start": 16808, + "end": 16815, "loc": { "start": { - "line": 490, - "column": 16 + "line": 485, + "column": 22 }, "end": { - "line": 490, - "column": 34 + "line": 485, + "column": 29 } } }, @@ -102532,16 +111327,16 @@ "binop": null, "updateContext": null }, - "start": 17129, - "end": 17130, + "start": 16815, + "end": 16816, "loc": { "start": { - "line": 490, - "column": 34 + "line": 485, + "column": 29 }, "end": { - "line": 490, - "column": 35 + "line": 485, + "column": 30 } } }, @@ -102557,17 +111352,17 @@ "postfix": false, "binop": null }, - "value": "themeButton", - "start": 17130, - "end": 17141, + "value": "name", + "start": 16816, + "end": 16820, "loc": { "start": { - "line": 490, - "column": 35 + "line": 485, + "column": 30 }, "end": { - "line": 490, - "column": 46 + "line": 485, + "column": 34 } } }, @@ -102584,16 +111379,134 @@ "binop": null, "updateContext": null }, - "start": 17141, - "end": 17142, + "start": 16820, + "end": 16821, "loc": { "start": { - "line": 490, - "column": 46 + "line": 485, + "column": 34 + }, + "end": { + "line": 485, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16821, + "end": 16822, + "loc": { + "start": { + "line": 485, + "column": 35 + }, + "end": { + "line": 485, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16822, + "end": 16823, + "loc": { + "start": { + "line": 485, + "column": 36 + }, + "end": { + "line": 485, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16827, + "end": 16828, + "loc": { + "start": { + "line": 486, + "column": 2 + }, + "end": { + "line": 486, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 16834, + "end": 16866, + "loc": { + "start": { + "line": 488, + "column": 2 }, "end": { "line": 490, - "column": 47 + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getModuleProp", + "start": 16870, + "end": 16883, + "loc": { + "start": { + "line": 491, + "column": 2 + }, + "end": { + "line": 491, + "column": 15 } } }, @@ -102611,16 +111524,41 @@ "updateContext": null }, "value": "=", - "start": 17143, - "end": 17144, + "start": 16884, + "end": 16885, "loc": { "start": { - "line": 490, - "column": 48 + "line": 491, + "column": 16 }, "end": { - "line": 490, - "column": 49 + "line": 491, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16886, + "end": 16887, + "loc": { + "start": { + "line": 491, + "column": 18 + }, + "end": { + "line": 491, + "column": 19 } } }, @@ -102636,17 +111574,253 @@ "postfix": false, "binop": null }, - "value": "themeObj", - "start": 17145, - "end": 17153, + "value": "name", + "start": 16887, + "end": 16891, "loc": { "start": { - "line": 490, - "column": 50 + "line": 491, + "column": 19 }, "end": { - "line": 490, - "column": 58 + "line": 491, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16891, + "end": 16892, + "loc": { + "start": { + "line": 491, + "column": 23 + }, + "end": { + "line": 491, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 16893, + "end": 16897, + "loc": { + "start": { + "line": 491, + "column": 25 + }, + "end": { + "line": 491, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16897, + "end": 16898, + "loc": { + "start": { + "line": 491, + "column": 29 + }, + "end": { + "line": 491, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16899, + "end": 16901, + "loc": { + "start": { + "line": 491, + "column": 31 + }, + "end": { + "line": 491, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16902, + "end": 16903, + "loc": { + "start": { + "line": 491, + "column": 34 + }, + "end": { + "line": 491, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 16909, + "end": 16911, + "loc": { + "start": { + "line": 492, + "column": 4 + }, + "end": { + "line": 492, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16911, + "end": 16912, + "loc": { + "start": { + "line": 492, + "column": 6 + }, + "end": { + "line": 492, + "column": 7 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 16912, + "end": 16913, + "loc": { + "start": { + "line": 492, + "column": 7 + }, + "end": { + "line": 492, + "column": 8 + } + } + }, + { + "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": 16913, + "end": 16917, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 12 } } }, @@ -102663,112 +111837,8 @@ "binop": null, "updateContext": null }, - "start": 17153, - "end": 17154, - "loc": { - "start": { - "line": 490, - "column": 58 - }, - "end": { - "line": 490, - "column": 59 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 17154, - "end": 17159, - "loc": { - "start": { - "line": 490, - "column": 59 - }, - "end": { - "line": 490, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17159, - "end": 17160, - "loc": { - "start": { - "line": 490, - "column": 64 - }, - "end": { - "line": 490, - "column": 65 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17176, - "end": 17177, - "loc": { - "start": { - "line": 491, - "column": 14 - }, - "end": { - "line": 491, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17191, - "end": 17192, + "start": 16917, + "end": 16918, "loc": { "start": { "line": 492, @@ -102780,6 +111850,110 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 16918, + "end": 16925, + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16925, + "end": 16926, + "loc": { + "start": { + "line": 492, + "column": 20 + }, + "end": { + "line": 492, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 16926, + "end": 16930, + "loc": { + "start": { + "line": 492, + "column": 21 + }, + "end": { + "line": 492, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16930, + "end": 16931, + "loc": { + "start": { + "line": 492, + "column": 25 + }, + "end": { + "line": 492, + "column": 26 + } + } + }, { "type": { "label": ")", @@ -102792,16 +111966,72 @@ "postfix": false, "binop": null }, - "start": 17192, - "end": 17193, + "start": 16931, + "end": 16932, "loc": { "start": { "line": 492, - "column": 13 + "column": 26 }, "end": { "line": 492, - "column": 14 + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 16940, + "end": 16946, + "loc": { + "start": { + "line": 493, + "column": 6 + }, + "end": { + "line": 493, + "column": 12 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 16947, + "end": 16952, + "loc": { + "start": { + "line": 493, + "column": 13 + }, + "end": { + "line": 493, + "column": 18 } } }, @@ -102818,73 +112048,23 @@ "binop": null, "updateContext": null }, - "start": 17193, - "end": 17194, - "loc": { - "start": { - "line": 492, - "column": 14 - }, - "end": { - "line": 492, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17206, - "end": 17207, + "start": 16952, + "end": 16953, "loc": { "start": { "line": 493, - "column": 10 + "column": 18 }, "end": { "line": 493, - "column": 11 + "column": 19 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17217, - "end": 17218, - "loc": { - "start": { - "line": 494, - "column": 8 - }, - "end": { - "line": 494, - "column": 9 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -102895,41 +112075,70 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 17219, - "end": 17223, + "value": "return", + "start": 16965, + "end": 16971, "loc": { "start": { - "line": 494, - "column": 10 + "line": 495, + "column": 4 }, "end": { - "line": 494, - "column": 14 + "line": 495, + "column": 10 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 17224, - "end": 17225, + "value": "this", + "start": 16972, + "end": 16976, "loc": { "start": { - "line": 494, + "line": 495, + "column": 11 + }, + "end": { + "line": 495, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16976, + "end": 16977, + "loc": { + "start": { + "line": 495, "column": 15 }, "end": { - "line": 494, + "line": 495, "column": 16 } } @@ -102946,16 +112155,447 @@ "postfix": false, "binop": null }, - "value": "console", - "start": 17237, - "end": 17244, + "value": "modules", + "start": 16977, + "end": 16984, "loc": { "start": { "line": 495, - "column": 10 + "column": 16 }, "end": { "line": 495, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16984, + "end": 16985, + "loc": { + "start": { + "line": 495, + "column": 23 + }, + "end": { + "line": 495, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 16985, + "end": 16989, + "loc": { + "start": { + "line": 495, + "column": 24 + }, + "end": { + "line": 495, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16989, + "end": 16990, + "loc": { + "start": { + "line": 495, + "column": 28 + }, + "end": { + "line": 495, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16990, + "end": 16991, + "loc": { + "start": { + "line": 495, + "column": 29 + }, + "end": { + "line": 495, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 16991, + "end": 16995, + "loc": { + "start": { + "line": 495, + "column": 30 + }, + "end": { + "line": 495, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16995, + "end": 16996, + "loc": { + "start": { + "line": 495, + "column": 34 + }, + "end": { + "line": 495, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16996, + "end": 16997, + "loc": { + "start": { + "line": 495, + "column": 35 + }, + "end": { + "line": 495, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17001, + "end": 17002, + "loc": { + "start": { + "line": 496, + "column": 2 + }, + "end": { + "line": 496, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 17008, + "end": 17039, + "loc": { + "start": { + "line": 498, + "column": 2 + }, + "end": { + "line": 500, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getModulesList", + "start": 17043, + "end": 17057, + "loc": { + "start": { + "line": 501, + "column": 2 + }, + "end": { + "line": 501, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 17058, + "end": 17059, + "loc": { + "start": { + "line": 501, + "column": 17 + }, + "end": { + "line": 501, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17060, + "end": 17061, + "loc": { + "start": { + "line": 501, + "column": 19 + }, + "end": { + "line": 501, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17061, + "end": 17062, + "loc": { + "start": { + "line": 501, + "column": 20 + }, + "end": { + "line": 501, + "column": 21 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17063, + "end": 17065, + "loc": { + "start": { + "line": 501, + "column": 22 + }, + "end": { + "line": 501, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17066, + "end": 17067, + "loc": { + "start": { + "line": 501, + "column": 25 + }, + "end": { + "line": 501, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 17073, + "end": 17079, + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 502, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 17080, + "end": 17086, + "loc": { + "start": { + "line": 502, + "column": 11 + }, + "end": { + "line": 502, "column": 17 } } @@ -102973,15 +112613,15 @@ "binop": null, "updateContext": null }, - "start": 17244, - "end": 17245, + "start": 17086, + "end": 17087, "loc": { "start": { - "line": 495, + "line": 502, "column": 17 }, "end": { - "line": 495, + "line": 502, "column": 18 } } @@ -102998,16 +112638,16 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 17245, - "end": 17249, + "value": "keys", + "start": 17087, + "end": 17091, "loc": { "start": { - "line": 495, + "line": 502, "column": 18 }, "end": { - "line": 495, + "line": 502, "column": 22 } } @@ -103024,19 +112664,756 @@ "postfix": false, "binop": null }, - "start": 17249, - "end": 17250, + "start": 17091, + "end": 17092, "loc": { "start": { - "line": 495, + "line": 502, "column": 22 }, "end": { - "line": 495, + "line": 502, "column": 23 } } }, + { + "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": 17092, + "end": 17096, + "loc": { + "start": { + "line": 502, + "column": 23 + }, + "end": { + "line": 502, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17096, + "end": 17097, + "loc": { + "start": { + "line": 502, + "column": 27 + }, + "end": { + "line": 502, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 17097, + "end": 17104, + "loc": { + "start": { + "line": 502, + "column": 28 + }, + "end": { + "line": 502, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17104, + "end": 17105, + "loc": { + "start": { + "line": 502, + "column": 35 + }, + "end": { + "line": 502, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17105, + "end": 17106, + "loc": { + "start": { + "line": 502, + "column": 36 + }, + "end": { + "line": 502, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17110, + "end": 17111, + "loc": { + "start": { + "line": 503, + "column": 2 + }, + "end": { + "line": 503, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 17117, + "end": 17173, + "loc": { + "start": { + "line": 505, + "column": 2 + }, + "end": { + "line": 507, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 17177, + "end": 17183, + "loc": { + "start": { + "line": 508, + "column": 2 + }, + "end": { + "line": 508, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17183, + "end": 17184, + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17184, + "end": 17185, + "loc": { + "start": { + "line": 508, + "column": 9 + }, + "end": { + "line": 508, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17185, + "end": 17186, + "loc": { + "start": { + "line": 508, + "column": 10 + }, + "end": { + "line": 508, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Clear keyboard\r\n ", + "start": 17192, + "end": 17227, + "loc": { + "start": { + "line": 509, + "column": 4 + }, + "end": { + "line": 511, + "column": 7 + } + } + }, + { + "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": 17233, + "end": 17237, + "loc": { + "start": { + "line": 512, + "column": 4 + }, + "end": { + "line": 512, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17237, + "end": 17238, + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 17238, + "end": 17243, + "loc": { + "start": { + "line": 512, + "column": 9 + }, + "end": { + "line": 512, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17243, + "end": 17244, + "loc": { + "start": { + "line": 512, + "column": 14 + }, + "end": { + "line": 512, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17244, + "end": 17245, + "loc": { + "start": { + "line": 512, + "column": 15 + }, + "end": { + "line": 512, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17245, + "end": 17246, + "loc": { + "start": { + "line": 512, + "column": 16 + }, + "end": { + "line": 512, + "column": 17 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 17254, + "end": 17257, + "loc": { + "start": { + "line": 514, + "column": 4 + }, + "end": { + "line": 514, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutClass", + "start": 17258, + "end": 17269, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 17270, + "end": 17271, + "loc": { + "start": { + "line": 514, + "column": 20 + }, + "end": { + "line": 514, + "column": 21 + } + } + }, + { + "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": 17272, + "end": 17276, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17276, + "end": 17277, + "loc": { + "start": { + "line": 514, + "column": 26 + }, + "end": { + "line": 514, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17277, + "end": 17284, + "loc": { + "start": { + "line": 514, + "column": 27 + }, + "end": { + "line": 514, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17284, + "end": 17285, + "loc": { + "start": { + "line": 514, + "column": 34 + }, + "end": { + "line": 514, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 17285, + "end": 17291, + "loc": { + "start": { + "line": 514, + "column": 35 + }, + "end": { + "line": 514, + "column": 41 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17292, + "end": 17293, + "loc": { + "start": { + "line": 514, + "column": 42 + }, + "end": { + "line": 514, + "column": 43 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "hg-layout-custom", + "start": 17294, + "end": 17312, + "loc": { + "start": { + "line": 514, + "column": 44 + }, + "end": { + "line": 514, + "column": 62 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17313, + "end": 17314, + "loc": { + "start": { + "line": 514, + "column": 63 + }, + "end": { + "line": 514, + "column": 64 + } + } + }, { "type": { "label": "`", @@ -103049,16 +113426,16 @@ "postfix": false, "binop": null }, - "start": 17250, - "end": 17251, + "start": 17315, + "end": 17316, "loc": { "start": { - "line": 495, - "column": 23 + "line": 514, + "column": 65 }, "end": { - "line": 495, - "column": 24 + "line": 514, + "column": 66 } } }, @@ -103075,23 +113452,102 @@ "binop": null, "updateContext": null }, - "value": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", - "start": 17251, - "end": 17339, + "value": "hg-layout-", + "start": 17316, + "end": 17326, "loc": { "start": { - "line": 495, - "column": 24 + "line": 514, + "column": 66 }, "end": { - "line": 495, - "column": 112 + "line": 514, + "column": 76 } } }, { "type": { - "label": "`", + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17326, + "end": 17328, + "loc": { + "start": { + "line": 514, + "column": 76 + }, + "end": { + "line": 514, + "column": 78 + } + } + }, + { + "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": 17328, + "end": 17332, + "loc": { + "start": { + "line": 514, + "column": 78 + }, + "end": { + "line": 514, + "column": 82 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17332, + "end": 17333, + "loc": { + "start": { + "line": 514, + "column": 82 + }, + "end": { + "line": 514, + "column": 83 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -103101,22 +113557,23 @@ "postfix": false, "binop": null }, - "start": 17339, + "value": "options", + "start": 17333, "end": 17340, "loc": { "start": { - "line": 495, - "column": 112 + "line": 514, + "column": 83 }, "end": { - "line": 495, - "column": 113 + "line": 514, + "column": 90 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -103124,18 +113581,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, "start": 17340, "end": 17341, "loc": { "start": { - "line": 495, - "column": 113 + "line": 514, + "column": 90 }, "end": { - "line": 495, - "column": 114 + "line": 514, + "column": 91 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 17341, + "end": 17351, + "loc": { + "start": { + "line": 514, + "column": 91 + }, + "end": { + "line": 514, + "column": 101 } } }, @@ -103155,625 +113639,12 @@ "end": 17352, "loc": { "start": { - "line": 496, - "column": 8 + "line": 514, + "column": 101 }, "end": { - "line": 496, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17360, - "end": 17361, - "loc": { - "start": { - "line": 497, - "column": 6 - }, - "end": { - "line": 497, - "column": 7 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17361, - "end": 17362, - "loc": { - "start": { - "line": 497, - "column": 7 - }, - "end": { - "line": 497, - "column": 8 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17362, - "end": 17363, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 497, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17369, - "end": 17370, - "loc": { - "start": { - "line": 498, - "column": 4 - }, - "end": { - "line": 498, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 17378, - "end": 17444, - "loc": { - "start": { - "line": 500, - "column": 4 - }, - "end": { - "line": 502, - "column": 7 - } - } - }, - { - "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": 17450, - "end": 17454, - "loc": { - "start": { - "line": 503, - "column": 4 - }, - "end": { - "line": 503, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17454, - "end": 17455, - "loc": { - "start": { - "line": 503, - "column": 8 - }, - "end": { - "line": 503, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keyboardDOM", - "start": 17455, - "end": 17466, - "loc": { - "start": { - "line": 503, - "column": 9 - }, - "end": { - "line": 503, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17466, - "end": 17467, - "loc": { - "start": { - "line": 503, - "column": 20 - }, - "end": { - "line": 503, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 17467, - "end": 17476, - "loc": { - "start": { - "line": 503, - "column": 21 - }, - "end": { - "line": 503, - "column": 30 - } - } - }, - { - "type": { - "label": "_=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "+=", - "start": 17477, - "end": 17479, - "loc": { - "start": { - "line": 503, - "column": 31 - }, - "end": { - "line": 503, - "column": 33 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17480, - "end": 17481, - "loc": { - "start": { - "line": 503, - "column": 34 - }, - "end": { - "line": 503, - "column": 35 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 17481, - "end": 17482, - "loc": { - "start": { - "line": 503, - "column": 35 - }, - "end": { - "line": 503, - "column": 36 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17482, - "end": 17484, - "loc": { - "start": { - "line": 503, - "column": 36 - }, - "end": { - "line": 503, - "column": 38 - } - } - }, - { - "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": 17484, - "end": 17488, - "loc": { - "start": { - "line": 503, - "column": 38 - }, - "end": { - "line": 503, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17488, - "end": 17489, - "loc": { - "start": { - "line": 503, - "column": 42 - }, - "end": { - "line": 503, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 17489, - "end": 17496, - "loc": { - "start": { - "line": 503, - "column": 43 - }, - "end": { - "line": 503, - "column": 50 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17496, - "end": 17497, - "loc": { - "start": { - "line": 503, - "column": 50 - }, - "end": { - "line": 503, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "theme", - "start": 17497, - "end": 17502, - "loc": { - "start": { - "line": 503, - "column": 51 - }, - "end": { - "line": 503, - "column": 56 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17502, - "end": 17503, - "loc": { - "start": { - "line": 503, - "column": 56 - }, - "end": { - "line": 503, - "column": 57 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 17503, - "end": 17504, - "loc": { - "start": { - "line": 503, - "column": 57 - }, - "end": { - "line": 503, - "column": 58 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17504, - "end": 17506, - "loc": { - "start": { - "line": 503, - "column": 58 - }, - "end": { - "line": 503, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layoutClass", - "start": 17506, - "end": 17517, - "loc": { - "start": { - "line": 503, - "column": 60 - }, - "end": { - "line": 503, - "column": 71 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17517, - "end": 17518, - "loc": { - "start": { - "line": 503, - "column": 71 - }, - "end": { - "line": 503, - "column": 72 + "line": 514, + "column": 102 } } }, @@ -103791,16 +113662,16 @@ "updateContext": null }, "value": "", - "start": 17518, - "end": 17518, + "start": 17352, + "end": 17352, "loc": { "start": { - "line": 503, - "column": 72 + "line": 514, + "column": 102 }, "end": { - "line": 503, - "column": 72 + "line": 514, + "column": 102 } } }, @@ -103816,16 +113687,16 @@ "postfix": false, "binop": null }, - "start": 17518, - "end": 17519, + "start": 17352, + "end": 17353, "loc": { "start": { - "line": 503, - "column": 72 + "line": 514, + "column": 102 }, "end": { - "line": 503, - "column": 73 + "line": 514, + "column": 103 } } }, @@ -103842,498 +113713,16 @@ "binop": null, "updateContext": null }, - "start": 17519, - "end": 17520, + "start": 17353, + "end": 17354, "loc": { "start": { - "line": 503, - "column": 73 + "line": 514, + "column": 103 }, "end": { - "line": 503, - "column": 74 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 17528, - "end": 17575, - "loc": { - "start": { - "line": 505, - "column": 4 - }, - "end": { - "line": 507, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layout", - "start": 17581, - "end": 17587, - "loc": { - "start": { - "line": 508, - "column": 4 - }, - "end": { - "line": 508, - "column": 10 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17587, - "end": 17588, - "loc": { - "start": { - "line": 508, - "column": 10 - }, - "end": { - "line": 508, - "column": 11 - } - } - }, - { - "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": 17588, - "end": 17592, - "loc": { - "start": { - "line": 508, - "column": 11 - }, - "end": { - "line": 508, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17592, - "end": 17593, - "loc": { - "start": { - "line": 508, - "column": 15 - }, - "end": { - "line": 508, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 17593, - "end": 17600, - "loc": { - "start": { - "line": 508, - "column": 16 - }, - "end": { - "line": 508, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17600, - "end": 17601, - "loc": { - "start": { - "line": 508, - "column": 23 - }, - "end": { - "line": 508, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layoutName", - "start": 17601, - "end": 17611, - "loc": { - "start": { - "line": 508, - "column": 24 - }, - "end": { - "line": 508, - "column": 34 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17611, - "end": 17612, - "loc": { - "start": { - "line": 508, - "column": 34 - }, - "end": { - "line": 508, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17612, - "end": 17613, - "loc": { - "start": { - "line": 508, - "column": 35 - }, - "end": { - "line": 508, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 17613, - "end": 17620, - "loc": { - "start": { - "line": 508, - "column": 36 - }, - "end": { - "line": 508, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17620, - "end": 17621, - "loc": { - "start": { - "line": 508, - "column": 43 - }, - "end": { - "line": 508, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17621, - "end": 17622, - "loc": { - "start": { - "line": 508, - "column": 44 - }, - "end": { - "line": 508, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "row", - "start": 17622, - "end": 17625, - "loc": { - "start": { - "line": 508, - "column": 45 - }, - "end": { - "line": 508, - "column": 48 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17625, - "end": 17626, - "loc": { - "start": { - "line": 508, - "column": 48 - }, - "end": { - "line": 508, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rIndex", - "start": 17627, - "end": 17633, - "loc": { - "start": { - "line": 508, - "column": 50 - }, - "end": { - "line": 508, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17633, - "end": 17634, - "loc": { - "start": { - "line": 508, - "column": 56 - }, - "end": { - "line": 508, - "column": 57 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17635, - "end": 17637, - "loc": { - "start": { - "line": 508, - "column": 58 - }, - "end": { - "line": 508, - "column": 60 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17638, - "end": 17639, - "loc": { - "start": { - "line": 508, - "column": 61 - }, - "end": { - "line": 508, - "column": 62 + "line": 514, + "column": 104 } } }, @@ -104352,16 +113741,16 @@ "updateContext": null }, "value": "let", - "start": 17647, - "end": 17650, + "start": 17360, + "end": 17363, "loc": { "start": { - "line": 509, - "column": 6 + "line": 515, + "column": 4 }, "end": { - "line": 509, - "column": 9 + "line": 515, + "column": 7 } } }, @@ -104377,17 +113766,17 @@ "postfix": false, "binop": null }, - "value": "rowArray", - "start": 17651, - "end": 17659, + "value": "layout", + "start": 17364, + "end": 17370, "loc": { "start": { - "line": 509, - "column": 10 + "line": 515, + "column": 8 }, "end": { - "line": 509, - "column": 18 + "line": 515, + "column": 14 } } }, @@ -104405,22 +113794,23 @@ "updateContext": null }, "value": "=", - "start": 17660, - "end": 17661, + "start": 17371, + "end": 17372, "loc": { "start": { - "line": 509, - "column": 19 + "line": 515, + "column": 15 }, "end": { - "line": 509, - "column": 20 + "line": 515, + "column": 16 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104428,19 +113818,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "row", - "start": 17662, - "end": 17665, + "value": "this", + "start": 17373, + "end": 17377, "loc": { "start": { - "line": 509, - "column": 21 + "line": 515, + "column": 17 }, "end": { - "line": 509, - "column": 24 + "line": 515, + "column": 21 } } }, @@ -104457,16 +113848,16 @@ "binop": null, "updateContext": null }, - "start": 17665, - "end": 17666, + "start": 17377, + "end": 17378, "loc": { "start": { - "line": 509, - "column": 24 + "line": 515, + "column": 21 }, "end": { - "line": 509, - "column": 25 + "line": 515, + "column": 22 } } }, @@ -104482,20 +113873,177 @@ "postfix": false, "binop": null }, - "value": "split", - "start": 17666, - "end": 17671, + "value": "options", + "start": 17378, + "end": 17385, "loc": { "start": { - "line": 509, - "column": 25 + "line": 515, + "column": 22 }, "end": { - "line": 509, + "line": 515, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17385, + "end": 17386, + "loc": { + "start": { + "line": 515, + "column": 29 + }, + "end": { + "line": 515, "column": 30 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 17386, + "end": 17392, + "loc": { + "start": { + "line": 515, + "column": 30 + }, + "end": { + "line": 515, + "column": 36 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 17393, + "end": 17395, + "loc": { + "start": { + "line": 515, + "column": 37 + }, + "end": { + "line": 515, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "KeyboardLayout", + "start": 17396, + "end": 17410, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17410, + "end": 17411, + "loc": { + "start": { + "line": 515, + "column": 54 + }, + "end": { + "line": 515, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDefaultLayout", + "start": 17411, + "end": 17427, + "loc": { + "start": { + "line": 515, + "column": 55 + }, + "end": { + "line": 515, + "column": 71 + } + } + }, { "type": { "label": "(", @@ -104508,22 +114056,403 @@ "postfix": false, "binop": null }, - "start": 17671, - "end": 17672, + "start": 17427, + "end": 17428, "loc": { "start": { - "line": 509, + "line": 515, + "column": 71 + }, + "end": { + "line": 515, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17428, + "end": 17429, + "loc": { + "start": { + "line": 515, + "column": 72 + }, + "end": { + "line": 515, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17429, + "end": 17430, + "loc": { + "start": { + "line": 515, + "column": 73 + }, + "end": { + "line": 515, + "column": 74 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 17438, + "end": 17490, + "loc": { + "start": { + "line": 517, + "column": 4 + }, + "end": { + "line": 519, + "column": 7 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 17496, + "end": 17499, + "loc": { + "start": { + "line": 520, + "column": 4 + }, + "end": { + "line": 520, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 17500, + "end": 17518, + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 17519, + "end": 17520, + "loc": { + "start": { + "line": 520, + "column": 27 + }, + "end": { + "line": 520, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17521, + "end": 17522, + "loc": { + "start": { + "line": 520, + "column": 29 + }, + "end": { + "line": 520, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17522, + "end": 17523, + "loc": { + "start": { + "line": 520, "column": 30 }, "end": { - "line": 509, + "line": 520, "column": 31 } } }, { "type": { - "label": "string", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17523, + "end": 17524, + "loc": { + "start": { + "line": 520, + "column": 31 + }, + "end": { + "line": 520, + "column": 32 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 17530, + "end": 17532, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 521, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17532, + "end": 17533, + "loc": { + "start": { + "line": 521, + "column": 6 + }, + "end": { + "line": 521, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 17533, + "end": 17538, + "loc": { + "start": { + "line": 521, + "column": 7 + }, + "end": { + "line": 521, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17538, + "end": 17539, + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 17539, + "end": 17546, + "loc": { + "start": { + "line": 521, + "column": 13 + }, + "end": { + "line": 521, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17546, + "end": 17547, + "loc": { + "start": { + "line": 521, + "column": 20 + }, + "end": { + "line": 521, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104534,17 +114463,720 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 17672, - "end": 17675, + "value": "this", + "start": 17547, + "end": 17551, "loc": { "start": { - "line": 509, + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17551, + "end": 17552, + "loc": { + "start": { + "line": 521, + "column": 25 + }, + "end": { + "line": 521, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17552, + "end": 17559, + "loc": { + "start": { + "line": 521, + "column": 26 + }, + "end": { + "line": 521, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17559, + "end": 17560, + "loc": { + "start": { + "line": 521, + "column": 33 + }, + "end": { + "line": 521, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 17560, + "end": 17571, + "loc": { + "start": { + "line": 521, + "column": 34 + }, + "end": { + "line": 521, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17571, + "end": 17572, + "loc": { + "start": { + "line": 521, + "column": 45 + }, + "end": { + "line": 521, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17572, + "end": 17573, + "loc": { + "start": { + "line": 521, + "column": 46 + }, + "end": { + "line": 521, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17573, + "end": 17574, + "loc": { + "start": { + "line": 521, + "column": 47 + }, + "end": { + "line": 521, + "column": 48 + } + } + }, + { + "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": 17582, + "end": 17586, + "loc": { + "start": { + "line": 522, + "column": 6 + }, + "end": { + "line": 522, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17586, + "end": 17587, + "loc": { + "start": { + "line": 522, + "column": 10 + }, + "end": { + "line": 522, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17587, + "end": 17594, + "loc": { + "start": { + "line": 522, + "column": 11 + }, + "end": { + "line": 522, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17594, + "end": 17595, + "loc": { + "start": { + "line": 522, + "column": 18 + }, + "end": { + "line": 522, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 17595, + "end": 17606, + "loc": { + "start": { + "line": 522, + "column": 19 + }, + "end": { + "line": 522, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17606, + "end": 17607, + "loc": { + "start": { + "line": 522, + "column": 30 + }, + "end": { + "line": 522, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 17607, + "end": 17614, + "loc": { + "start": { + "line": 522, "column": 31 }, "end": { - "line": 509, - "column": 34 + "line": 522, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17614, + "end": 17615, + "loc": { + "start": { + "line": 522, + "column": 38 + }, + "end": { + "line": 522, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 17615, + "end": 17623, + "loc": { + "start": { + "line": 522, + "column": 39 + }, + "end": { + "line": 522, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17624, + "end": 17626, + "loc": { + "start": { + "line": 522, + "column": 48 + }, + "end": { + "line": 522, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17627, + "end": 17628, + "loc": { + "start": { + "line": 522, + "column": 51 + }, + "end": { + "line": 522, + "column": 52 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 17638, + "end": 17640, + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17640, + "end": 17641, + "loc": { + "start": { + "line": 523, + "column": 10 + }, + "end": { + "line": 523, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 17641, + "end": 17649, + "loc": { + "start": { + "line": 523, + "column": 11 + }, + "end": { + "line": 523, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17649, + "end": 17650, + "loc": { + "start": { + "line": 523, + "column": 19 + }, + "end": { + "line": 523, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 17650, + "end": 17657, + "loc": { + "start": { + "line": 523, + "column": 20 + }, + "end": { + "line": 523, + "column": 27 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 17658, + "end": 17660, + "loc": { + "start": { + "line": 523, + "column": 28 + }, + "end": { + "line": 523, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 17661, + "end": 17669, + "loc": { + "start": { + "line": 523, + "column": 31 + }, + "end": { + "line": 523, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17669, + "end": 17670, + "loc": { + "start": { + "line": 523, + "column": 39 + }, + "end": { + "line": 523, + "column": 40 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 17670, + "end": 17675, + "loc": { + "start": { + "line": 523, + "column": 40 + }, + "end": { + "line": 523, + "column": 45 } } }, @@ -104564,12 +115196,91 @@ "end": 17676, "loc": { "start": { - "line": 509, - "column": 34 + "line": 523, + "column": 45 }, "end": { - "line": 509, - "column": 35 + "line": 523, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17676, + "end": 17677, + "loc": { + "start": { + "line": 523, + "column": 46 + }, + "end": { + "line": 523, + "column": 47 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 17689, + "end": 17692, + "loc": { + "start": { + "line": 524, + "column": 10 + }, + "end": { + "line": 524, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 17693, + "end": 17705, + "loc": { + "start": { + "line": 524, + "column": 14 + }, + "end": { + "line": 524, + "column": 26 } } }, @@ -104586,39 +115297,23 @@ "binop": null, "updateContext": null }, - "start": 17676, - "end": 17677, + "start": 17705, + "end": 17706, "loc": { "start": { - "line": 509, - "column": 35 + "line": 524, + "column": 26 }, "end": { - "line": 509, - "column": 36 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 17687, - "end": 17730, - "loc": { - "start": { - "line": 511, - "column": 6 - }, - "end": { - "line": 513, - "column": 9 + "line": 524, + "column": 27 } } }, { "type": { - "label": "var", - "keyword": "var", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -104629,17 +115324,70 @@ "binop": null, "updateContext": null }, - "value": "var", - "start": 17738, - "end": 17741, + "value": "if", + "start": 17720, + "end": 17722, "loc": { "start": { - "line": 514, - "column": 6 + "line": 526, + "column": 10 }, "end": { - "line": 514, - "column": 9 + "line": 526, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17722, + "end": 17723, + "loc": { + "start": { + "line": 526, + "column": 12 + }, + "end": { + "line": 526, + "column": 13 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 17723, + "end": 17729, + "loc": { + "start": { + "line": 526, + "column": 13 + }, + "end": { + "line": 526, + "column": 19 } } }, @@ -104655,17 +115403,199 @@ "postfix": false, "binop": null }, - "value": "rowDOM", - "start": 17742, - "end": 17748, + "value": "themeObj", + "start": 17730, + "end": 17738, "loc": { "start": { - "line": 514, - "column": 10 + "line": 526, + "column": 20 }, "end": { - "line": 514, - "column": 16 + "line": 526, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17738, + "end": 17739, + "loc": { + "start": { + "line": 526, + "column": 28 + }, + "end": { + "line": 526, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 17739, + "end": 17746, + "loc": { + "start": { + "line": 526, + "column": 29 + }, + "end": { + "line": 526, + "column": 36 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 17747, + "end": 17750, + "loc": { + "start": { + "line": 526, + "column": 37 + }, + "end": { + "line": 526, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "string", + "start": 17751, + "end": 17759, + "loc": { + "start": { + "line": 526, + "column": 41 + }, + "end": { + "line": 526, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17759, + "end": 17760, + "loc": { + "start": { + "line": 526, + "column": 49 + }, + "end": { + "line": 526, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17760, + "end": 17761, + "loc": { + "start": { + "line": 526, + "column": 50 + }, + "end": { + "line": 526, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 17775, + "end": 17787, + "loc": { + "start": { + "line": 527, + "column": 12 + }, + "end": { + "line": 527, + "column": 24 } } }, @@ -104683,16 +115613,16 @@ "updateContext": null }, "value": "=", - "start": 17749, - "end": 17750, + "start": 17788, + "end": 17789, "loc": { "start": { - "line": 514, - "column": 17 + "line": 527, + "column": 25 }, "end": { - "line": 514, - "column": 18 + "line": 527, + "column": 26 } } }, @@ -104708,17 +115638,17 @@ "postfix": false, "binop": null }, - "value": "document", - "start": 17751, - "end": 17759, + "value": "themeObj", + "start": 17790, + "end": 17798, "loc": { "start": { - "line": 514, - "column": 19 + "line": 527, + "column": 27 }, "end": { - "line": 514, - "column": 27 + "line": 527, + "column": 35 } } }, @@ -104735,16 +115665,16 @@ "binop": null, "updateContext": null }, - "start": 17759, - "end": 17760, + "start": 17798, + "end": 17799, "loc": { "start": { - "line": 514, - "column": 27 + "line": 527, + "column": 35 }, "end": { - "line": 514, - "column": 28 + "line": 527, + "column": 36 } } }, @@ -104760,17 +115690,69 @@ "postfix": false, "binop": null }, - "value": "createElement", - "start": 17760, - "end": 17773, + "value": "buttons", + "start": 17799, + "end": 17806, "loc": { "start": { - "line": 514, - "column": 28 + "line": 527, + "column": 36 }, "end": { - "line": 514, - "column": 41 + "line": 527, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17806, + "end": 17807, + "loc": { + "start": { + "line": 527, + "column": 43 + }, + "end": { + "line": 527, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 17807, + "end": 17812, + "loc": { + "start": { + "line": 527, + "column": 44 + }, + "end": { + "line": 527, + "column": 49 } } }, @@ -104786,16 +115768,16 @@ "postfix": false, "binop": null }, - "start": 17773, - "end": 17774, + "start": 17812, + "end": 17813, "loc": { "start": { - "line": 514, - "column": 41 + "line": 527, + "column": 49 }, "end": { - "line": 514, - "column": 42 + "line": 527, + "column": 50 } } }, @@ -104812,17 +115794,17 @@ "binop": null, "updateContext": null }, - "value": "div", - "start": 17774, - "end": 17779, + "value": " ", + "start": 17813, + "end": 17816, "loc": { "start": { - "line": 514, - "column": 42 + "line": 527, + "column": 50 }, "end": { - "line": 514, - "column": 47 + "line": 527, + "column": 53 } } }, @@ -104838,174 +115820,16 @@ "postfix": false, "binop": null }, - "start": 17779, - "end": 17780, - "loc": { - "start": { - "line": 514, - "column": 47 - }, - "end": { - "line": 514, - "column": 48 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17780, - "end": 17781, - "loc": { - "start": { - "line": 514, - "column": 48 - }, - "end": { - "line": 514, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rowDOM", - "start": 17789, - "end": 17795, - "loc": { - "start": { - "line": 515, - "column": 6 - }, - "end": { - "line": 515, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17795, - "end": 17796, - "loc": { - "start": { - "line": 515, - "column": 12 - }, - "end": { - "line": 515, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 17796, - "end": 17805, - "loc": { - "start": { - "line": 515, - "column": 13 - }, - "end": { - "line": 515, - "column": 22 - } - } - }, - { - "type": { - "label": "_=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "+=", - "start": 17806, - "end": 17808, - "loc": { - "start": { - "line": 515, - "column": 23 - }, - "end": { - "line": 515, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "hg-row", - "start": 17809, + "start": 17816, "end": 17817, "loc": { "start": { - "line": 515, - "column": 26 + "line": 527, + "column": 53 }, "end": { - "line": 515, - "column": 34 + "line": 527, + "column": 54 } } }, @@ -105026,1952 +115850,11 @@ "end": 17818, "loc": { "start": { - "line": 515, - "column": 34 - }, - "end": { - "line": 515, - "column": 35 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 17828, - "end": 17889, - "loc": { - "start": { - "line": 517, - "column": 6 - }, - "end": { - "line": 519, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rowArray", - "start": 17897, - "end": 17905, - "loc": { - "start": { - "line": 520, - "column": 6 - }, - "end": { - "line": 520, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17905, - "end": 17906, - "loc": { - "start": { - "line": 520, - "column": 14 - }, - "end": { - "line": 520, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 17906, - "end": 17913, - "loc": { - "start": { - "line": 520, - "column": 15 - }, - "end": { - "line": 520, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17913, - "end": 17914, - "loc": { - "start": { - "line": 520, - "column": 22 - }, - "end": { - "line": 520, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17914, - "end": 17915, - "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": "button", - "start": 17915, - "end": 17921, - "loc": { - "start": { - "line": 520, - "column": 24 - }, - "end": { - "line": 520, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17921, - "end": 17922, - "loc": { - "start": { - "line": 520, - "column": 30 - }, - "end": { - "line": 520, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bIndex", - "start": 17923, - "end": 17929, - "loc": { - "start": { - "line": 520, - "column": 32 - }, - "end": { - "line": 520, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17929, - "end": 17930, - "loc": { - "start": { - "line": 520, - "column": 38 - }, - "end": { - "line": 520, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17931, - "end": 17933, - "loc": { - "start": { - "line": 520, - "column": 40 - }, - "end": { - "line": 520, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17934, - "end": 17935, - "loc": { - "start": { - "line": 520, - "column": 43 - }, - "end": { - "line": 520, - "column": 44 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 17945, - "end": 17948, - "loc": { - "start": { - "line": 521, - "column": 8 - }, - "end": { - "line": 521, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fctBtnClass", - "start": 17949, - "end": 17960, - "loc": { - "start": { - "line": 521, - "column": 12 - }, - "end": { - "line": 521, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17961, - "end": 17962, - "loc": { - "start": { - "line": 521, - "column": 24 - }, - "end": { - "line": 521, - "column": 25 - } - } - }, - { - "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": 17963, - "end": 17967, - "loc": { - "start": { - "line": 521, - "column": 26 - }, - "end": { - "line": 521, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17967, - "end": 17968, - "loc": { - "start": { - "line": 521, - "column": 30 - }, - "end": { - "line": 521, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utilities", - "start": 17968, - "end": 17977, - "loc": { - "start": { - "line": 521, - "column": 31 - }, - "end": { - "line": 521, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17977, - "end": 17978, - "loc": { - "start": { - "line": 521, - "column": 40 - }, - "end": { - "line": 521, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getButtonClass", - "start": 17978, - "end": 17992, - "loc": { - "start": { - "line": 521, - "column": 41 - }, - "end": { - "line": 521, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17992, - "end": 17993, - "loc": { - "start": { - "line": 521, - "column": 55 - }, - "end": { - "line": 521, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 17993, - "end": 17999, - "loc": { - "start": { - "line": 521, - "column": 56 - }, - "end": { - "line": 521, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17999, - "end": 18000, - "loc": { - "start": { - "line": 521, - "column": 62 - }, - "end": { - "line": 521, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18000, - "end": 18001, - "loc": { - "start": { - "line": 521, - "column": 63 - }, - "end": { - "line": 521, - "column": 64 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 18011, - "end": 18014, - "loc": { - "start": { - "line": 522, - "column": 8 - }, - "end": { - "line": 522, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 18015, - "end": 18031, - "loc": { - "start": { - "line": 522, - "column": 12 - }, - "end": { - "line": 522, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18032, - "end": 18033, - "loc": { - "start": { - "line": 522, - "column": 29 - }, - "end": { - "line": 522, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 18034, - "end": 18052, - "loc": { - "start": { - "line": 522, - "column": 31 - }, - "end": { - "line": 522, - "column": 49 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18052, - "end": 18053, - "loc": { - "start": { - "line": 522, - "column": 49 - }, - "end": { - "line": 522, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 18053, - "end": 18059, - "loc": { - "start": { - "line": 522, - "column": 50 - }, - "end": { - "line": 522, - "column": 56 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18059, - "end": 18060, - "loc": { - "start": { - "line": 522, - "column": 56 - }, - "end": { - "line": 522, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18060, - "end": 18061, - "loc": { - "start": { - "line": 522, - "column": 57 - }, - "end": { - "line": 522, - "column": 58 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 18071, - "end": 18074, - "loc": { - "start": { - "line": 523, - "column": 8 - }, - "end": { - "line": 523, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDisplayName", - "start": 18075, - "end": 18092, - "loc": { - "start": { - "line": 523, - "column": 12 - }, - "end": { - "line": 523, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18093, - "end": 18094, - "loc": { - "start": { - "line": 523, - "column": 30 - }, - "end": { - "line": 523, - "column": 31 - } - } - }, - { - "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": 18095, - "end": 18099, - "loc": { - "start": { - "line": 523, - "column": 32 - }, - "end": { - "line": 523, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18099, - "end": 18100, - "loc": { - "start": { - "line": 523, - "column": 36 - }, - "end": { - "line": 523, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utilities", - "start": 18100, - "end": 18109, - "loc": { - "start": { - "line": 523, - "column": 37 - }, - "end": { - "line": 523, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18109, - "end": 18110, - "loc": { - "start": { - "line": 523, - "column": 46 - }, - "end": { - "line": 523, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getButtonDisplayName", - "start": 18110, - "end": 18130, - "loc": { - "start": { - "line": 523, - "column": 47 - }, - "end": { - "line": 523, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18130, - "end": 18131, - "loc": { - "start": { - "line": 523, - "column": 67 - }, - "end": { - "line": 523, - "column": 68 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 18131, - "end": 18137, - "loc": { - "start": { - "line": 523, - "column": 68 - }, - "end": { - "line": 523, - "column": 74 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18137, - "end": 18138, - "loc": { - "start": { - "line": 523, - "column": 74 - }, - "end": { - "line": 523, - "column": 75 - } - } - }, - { - "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": 18139, - "end": 18143, - "loc": { - "start": { - "line": 523, - "column": 76 - }, - "end": { - "line": 523, - "column": 80 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18143, - "end": 18144, - "loc": { - "start": { - "line": 523, - "column": 80 - }, - "end": { - "line": 523, - "column": 81 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18144, - "end": 18151, - "loc": { - "start": { - "line": 523, - "column": 81 - }, - "end": { - "line": 523, - "column": 88 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18151, - "end": 18152, - "loc": { - "start": { - "line": 523, - "column": 88 - }, - "end": { - "line": 523, - "column": 89 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "display", - "start": 18152, - "end": 18159, - "loc": { - "start": { - "line": 523, - "column": 89 - }, - "end": { - "line": 523, - "column": 96 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18159, - "end": 18160, - "loc": { - "start": { - "line": 523, - "column": 96 - }, - "end": { - "line": 523, - "column": 97 - } - } - }, - { - "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": 18161, - "end": 18165, - "loc": { - "start": { - "line": 523, - "column": 98 - }, - "end": { - "line": 523, - "column": 102 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18165, - "end": 18166, - "loc": { - "start": { - "line": 523, - "column": 102 - }, - "end": { - "line": 523, - "column": 103 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18166, - "end": 18173, - "loc": { - "start": { - "line": 523, - "column": 103 - }, - "end": { - "line": 523, - "column": 110 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18173, - "end": 18174, - "loc": { - "start": { - "line": 523, - "column": 110 - }, - "end": { - "line": 523, - "column": 111 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "mergeDisplay", - "start": 18174, - "end": 18186, - "loc": { - "start": { - "line": 523, - "column": 111 - }, - "end": { - "line": 523, - "column": 123 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18186, - "end": 18187, - "loc": { - "start": { - "line": 523, - "column": 123 - }, - "end": { - "line": 523, - "column": 124 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18187, - "end": 18188, - "loc": { - "start": { - "line": 523, - "column": 124 - }, - "end": { - "line": 523, - "column": 125 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 18200, - "end": 18244, - "loc": { - "start": { - "line": 525, - "column": 8 + "line": 527, + "column": 54 }, "end": { "line": 527, - "column": 11 - } - } - }, - { - "type": { - "label": "var", - "keyword": "var", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "var", - "start": 18254, - "end": 18257, - "loc": { - "start": { - "line": 528, - "column": 8 - }, - "end": { - "line": 528, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18258, - "end": 18267, - "loc": { - "start": { - "line": 528, - "column": 12 - }, - "end": { - "line": 528, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18268, - "end": 18269, - "loc": { - "start": { - "line": 528, - "column": 22 - }, - "end": { - "line": 528, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 18270, - "end": 18278, - "loc": { - "start": { - "line": 528, - "column": 24 - }, - "end": { - "line": 528, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18278, - "end": 18279, - "loc": { - "start": { - "line": 528, - "column": 32 - }, - "end": { - "line": 528, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createElement", - "start": 18279, - "end": 18292, - "loc": { - "start": { - "line": 528, - "column": 33 - }, - "end": { - "line": 528, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18292, - "end": 18293, - "loc": { - "start": { - "line": 528, - "column": 46 - }, - "end": { - "line": 528, - "column": 47 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "div", - "start": 18293, - "end": 18298, - "loc": { - "start": { - "line": 528, - "column": 47 - }, - "end": { - "line": 528, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18298, - "end": 18299, - "loc": { - "start": { - "line": 528, - "column": 52 - }, - "end": { - "line": 528, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18299, - "end": 18300, - "loc": { - "start": { - "line": 528, - "column": 53 - }, - "end": { - "line": 528, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18310, - "end": 18319, - "loc": { - "start": { - "line": 529, - "column": 8 - }, - "end": { - "line": 529, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18319, - "end": 18320, - "loc": { - "start": { - "line": 529, - "column": 17 - }, - "end": { - "line": 529, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 18320, - "end": 18329, - "loc": { - "start": { - "line": 529, - "column": 18 - }, - "end": { - "line": 529, - "column": 27 - } - } - }, - { - "type": { - "label": "_=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "+=", - "start": 18330, - "end": 18332, - "loc": { - "start": { - "line": 529, - "column": 28 - }, - "end": { - "line": 529, - "column": 30 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18333, - "end": 18334, - "loc": { - "start": { - "line": 529, - "column": 31 - }, - "end": { - "line": 529, - "column": 32 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "hg-button ", - "start": 18334, - "end": 18344, - "loc": { - "start": { - "line": 529, - "column": 32 - }, - "end": { - "line": 529, - "column": 42 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18344, - "end": 18346, - "loc": { - "start": { - "line": 529, - "column": 42 - }, - "end": { - "line": 529, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fctBtnClass", - "start": 18346, - "end": 18357, - "loc": { - "start": { - "line": 529, - "column": 44 - }, - "end": { - "line": 529, "column": 55 } } @@ -106988,2695 +115871,15 @@ "postfix": false, "binop": null }, - "start": 18357, - "end": 18358, + "start": 17830, + "end": 17831, "loc": { "start": { - "line": 529, - "column": 55 + "line": 528, + "column": 10 }, "end": { - "line": 529, - "column": 56 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 18358, - "end": 18358, - "loc": { - "start": { - "line": 529, - "column": 56 - }, - "end": { - "line": 529, - "column": 56 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18358, - "end": 18360, - "loc": { - "start": { - "line": 529, - "column": 56 - }, - "end": { - "line": 529, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 18360, - "end": 18376, - "loc": { - "start": { - "line": 529, - "column": 58 - }, - "end": { - "line": 529, - "column": 74 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18377, - "end": 18378, - "loc": { - "start": { - "line": 529, - "column": 75 - }, - "end": { - "line": 529, - "column": 76 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 18379, - "end": 18382, - "loc": { - "start": { - "line": 529, - "column": 77 - }, - "end": { - "line": 529, - "column": 80 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 18382, - "end": 18383, - "loc": { - "start": { - "line": 529, - "column": 80 - }, - "end": { - "line": 529, - "column": 81 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 18383, - "end": 18399, - "loc": { - "start": { - "line": 529, - "column": 81 - }, - "end": { - "line": 529, - "column": 97 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18400, - "end": 18401, - "loc": { - "start": { - "line": 529, - "column": 98 - }, - "end": { - "line": 529, - "column": 99 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 18402, - "end": 18404, - "loc": { - "start": { - "line": 529, - "column": 100 - }, - "end": { - "line": 529, - "column": 102 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18404, - "end": 18405, - "loc": { - "start": { - "line": 529, - "column": 102 - }, - "end": { - "line": 529, - "column": 103 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 18405, - "end": 18405, - "loc": { - "start": { - "line": 529, - "column": 103 - }, - "end": { - "line": 529, - "column": 103 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18405, - "end": 18406, - "loc": { - "start": { - "line": 529, - "column": 103 - }, - "end": { - "line": 529, - "column": 104 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18406, - "end": 18407, - "loc": { - "start": { - "line": 529, - "column": 104 - }, - "end": { - "line": 529, - "column": 105 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18417, - "end": 18426, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18426, - "end": 18427, - "loc": { - "start": { - "line": 530, - "column": 17 - }, - "end": { - "line": 530, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onclick", - "start": 18427, - "end": 18434, - "loc": { - "start": { - "line": 530, - "column": 18 - }, - "end": { - "line": 530, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18435, - "end": 18436, - "loc": { - "start": { - "line": 530, - "column": 26 - }, - "end": { - "line": 530, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18437, - "end": 18438, - "loc": { - "start": { - "line": 530, - "column": 28 - }, - "end": { - "line": 530, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18438, - "end": 18439, - "loc": { - "start": { - "line": 530, - "column": 29 - }, - "end": { - "line": 530, - "column": 30 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18440, - "end": 18442, - "loc": { - "start": { - "line": 530, - "column": 31 - }, - "end": { - "line": 530, - "column": 33 - } - } - }, - { - "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": 18443, - "end": 18447, - "loc": { - "start": { - "line": 530, - "column": 34 - }, - "end": { - "line": 530, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18447, - "end": 18448, - "loc": { - "start": { - "line": 530, - "column": 38 - }, - "end": { - "line": 530, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleButtonClicked", - "start": 18448, - "end": 18467, - "loc": { - "start": { - "line": 530, - "column": 39 - }, - "end": { - "line": 530, - "column": 58 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18467, - "end": 18468, - "loc": { - "start": { - "line": 530, - "column": 58 - }, - "end": { - "line": 530, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 18468, - "end": 18474, - "loc": { - "start": { - "line": 530, - "column": 59 - }, - "end": { - "line": 530, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18474, - "end": 18475, - "loc": { - "start": { - "line": 530, - "column": 65 - }, - "end": { - "line": 530, - "column": 66 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18475, - "end": 18476, - "loc": { - "start": { - "line": 530, - "column": 66 - }, - "end": { - "line": 530, - "column": 67 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 18488, - "end": 18534, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 534, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18544, - "end": 18553, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18553, - "end": 18554, - "loc": { - "start": { - "line": 535, - "column": 17 - }, - "end": { - "line": 535, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 18554, - "end": 18566, - "loc": { - "start": { - "line": 535, - "column": 18 - }, - "end": { - "line": 535, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18566, - "end": 18567, - "loc": { - "start": { - "line": 535, - "column": 30 - }, - "end": { - "line": 535, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "data-skBtn", - "start": 18567, - "end": 18579, - "loc": { - "start": { - "line": 535, - "column": 31 - }, - "end": { - "line": 535, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18579, - "end": 18580, - "loc": { - "start": { - "line": 535, - "column": 43 - }, - "end": { - "line": 535, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 18581, - "end": 18587, - "loc": { - "start": { - "line": 535, - "column": 45 - }, - "end": { - "line": 535, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18587, - "end": 18588, - "loc": { - "start": { - "line": 535, - "column": 51 - }, - "end": { - "line": 535, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18588, - "end": 18589, - "loc": { - "start": { - "line": 535, - "column": 52 - }, - "end": { - "line": 535, - "column": 53 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 18601, - "end": 18756, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 540, - "column": 11 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 18766, - "end": 18769, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonUID", - "start": 18770, - "end": 18779, - "loc": { - "start": { - "line": 541, - "column": 12 - }, - "end": { - "line": 541, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18780, - "end": 18781, - "loc": { - "start": { - "line": 541, - "column": 22 - }, - "end": { - "line": 541, - "column": 23 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18782, - "end": 18783, - "loc": { - "start": { - "line": 541, - "column": 24 - }, - "end": { - "line": 541, - "column": 25 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 18783, - "end": 18783, - "loc": { - "start": { - "line": 541, - "column": 25 - }, - "end": { - "line": 541, - "column": 25 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18783, - "end": 18785, - "loc": { - "start": { - "line": 541, - "column": 25 - }, - "end": { - "line": 541, - "column": 27 - } - } - }, - { - "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": 18785, - "end": 18789, - "loc": { - "start": { - "line": 541, - "column": 27 - }, - "end": { - "line": 541, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18789, - "end": 18790, - "loc": { - "start": { - "line": 541, - "column": 31 - }, - "end": { - "line": 541, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18790, - "end": 18797, - "loc": { - "start": { - "line": 541, - "column": 32 - }, - "end": { - "line": 541, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18797, - "end": 18798, - "loc": { - "start": { - "line": 541, - "column": 39 - }, - "end": { - "line": 541, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layoutName", - "start": 18798, - "end": 18808, - "loc": { - "start": { - "line": 541, - "column": 40 - }, - "end": { - "line": 541, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18808, - "end": 18809, - "loc": { - "start": { - "line": 541, - "column": 50 - }, - "end": { - "line": 541, - "column": 51 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "-r", - "start": 18809, - "end": 18811, - "loc": { - "start": { - "line": 541, - "column": 51 - }, - "end": { - "line": 541, - "column": 53 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18811, - "end": 18813, - "loc": { - "start": { - "line": 541, - "column": 53 - }, - "end": { - "line": 541, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rIndex", - "start": 18813, - "end": 18819, - "loc": { - "start": { - "line": 541, - "column": 55 - }, - "end": { - "line": 541, - "column": 61 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18819, - "end": 18820, - "loc": { - "start": { - "line": 541, - "column": 61 - }, - "end": { - "line": 541, - "column": 62 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "b", - "start": 18820, - "end": 18821, - "loc": { - "start": { - "line": 541, - "column": 62 - }, - "end": { - "line": 541, - "column": 63 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18821, - "end": 18823, - "loc": { - "start": { - "line": 541, - "column": 63 - }, - "end": { - "line": 541, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bIndex", - "start": 18823, - "end": 18829, - "loc": { - "start": { - "line": 541, - "column": 65 - }, - "end": { - "line": 541, - "column": 71 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18829, - "end": 18830, - "loc": { - "start": { - "line": 541, - "column": 71 - }, - "end": { - "line": 541, - "column": 72 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 18830, - "end": 18830, - "loc": { - "start": { - "line": 541, - "column": 72 - }, - "end": { - "line": 541, - "column": 72 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18830, - "end": 18831, - "loc": { - "start": { - "line": 541, - "column": 72 - }, - "end": { - "line": 541, - "column": 73 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18831, - "end": 18832, - "loc": { - "start": { - "line": 541, - "column": 73 - }, - "end": { - "line": 541, - "column": 74 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18842, - "end": 18851, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18851, - "end": 18852, - "loc": { - "start": { - "line": 542, - "column": 17 - }, - "end": { - "line": 542, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 18852, - "end": 18864, - "loc": { - "start": { - "line": 542, - "column": 18 - }, - "end": { - "line": 542, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18864, - "end": 18865, - "loc": { - "start": { - "line": 542, - "column": 30 - }, - "end": { - "line": 542, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "data-skBtnUID", - "start": 18865, - "end": 18880, - "loc": { - "start": { - "line": 542, - "column": 31 - }, - "end": { - "line": 542, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18880, - "end": 18881, - "loc": { - "start": { - "line": 542, - "column": 46 - }, - "end": { - "line": 542, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonUID", - "start": 18882, - "end": 18891, - "loc": { - "start": { - "line": 542, - "column": 48 - }, - "end": { - "line": 542, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18891, - "end": 18892, - "loc": { - "start": { - "line": 542, - "column": 57 - }, - "end": { - "line": 542, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18892, - "end": 18893, - "loc": { - "start": { - "line": 542, - "column": 58 - }, - "end": { - "line": 542, - "column": 59 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 18905, - "end": 18954, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 546, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 18964, - "end": 18973, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18973, - "end": 18974, - "loc": { - "start": { - "line": 547, - "column": 17 - }, - "end": { - "line": 547, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 18974, - "end": 18986, - "loc": { - "start": { - "line": 547, - "column": 18 - }, - "end": { - "line": 547, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18986, - "end": 18987, - "loc": { - "start": { - "line": 547, - "column": 30 - }, - "end": { - "line": 547, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "data-displayLabel", - "start": 18987, - "end": 19006, - "loc": { - "start": { - "line": 547, - "column": 31 - }, - "end": { - "line": 547, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19006, - "end": 19007, - "loc": { - "start": { - "line": 547, - "column": 50 - }, - "end": { - "line": 547, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDisplayName", - "start": 19008, - "end": 19025, - "loc": { - "start": { - "line": 547, - "column": 52 - }, - "end": { - "line": 547, - "column": 69 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19025, - "end": 19026, - "loc": { - "start": { - "line": 547, - "column": 69 - }, - "end": { - "line": 547, - "column": 70 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19026, - "end": 19027, - "loc": { - "start": { - "line": 547, - "column": 70 - }, - "end": { - "line": 547, - "column": 71 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 19039, - "end": 19097, - "loc": { - "start": { - "line": 549, - "column": 8 - }, - "end": { - "line": 551, - "column": 11 - } - } - }, - { - "type": { - "label": "var", - "keyword": "var", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "var", - "start": 19107, - "end": 19110, - "loc": { - "start": { - "line": 552, - "column": 8 - }, - "end": { - "line": 552, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonSpanDOM", - "start": 19111, - "end": 19124, - "loc": { - "start": { - "line": 552, - "column": 12 - }, - "end": { - "line": 552, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 19125, - "end": 19126, - "loc": { - "start": { - "line": 552, - "column": 26 - }, - "end": { - "line": 552, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 19127, - "end": 19135, - "loc": { - "start": { - "line": 552, - "column": 28 - }, - "end": { - "line": 552, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19135, - "end": 19136, - "loc": { - "start": { - "line": 552, - "column": 36 - }, - "end": { - "line": 552, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createElement", - "start": 19136, - "end": 19149, - "loc": { - "start": { - "line": 552, - "column": 37 - }, - "end": { - "line": 552, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19149, - "end": 19150, - "loc": { - "start": { - "line": 552, - "column": 50 - }, - "end": { - "line": 552, - "column": 51 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "span", - "start": 19150, - "end": 19156, - "loc": { - "start": { - "line": 552, - "column": 51 - }, - "end": { - "line": 552, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19156, - "end": 19157, - "loc": { - "start": { - "line": 552, - "column": 57 - }, - "end": { - "line": 552, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19157, - "end": 19158, - "loc": { - "start": { - "line": 552, - "column": 58 - }, - "end": { - "line": 552, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonSpanDOM", - "start": 19168, - "end": 19181, - "loc": { - "start": { - "line": 553, - "column": 8 - }, - "end": { - "line": 553, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19181, - "end": 19182, - "loc": { - "start": { - "line": 553, - "column": 21 - }, - "end": { - "line": 553, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "innerHTML", - "start": 19182, - "end": 19191, - "loc": { - "start": { - "line": 553, - "column": 22 - }, - "end": { - "line": 553, - "column": 31 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 19192, - "end": 19193, - "loc": { - "start": { - "line": 553, - "column": 32 - }, - "end": { - "line": 553, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDisplayName", - "start": 19194, - "end": 19211, - "loc": { - "start": { - "line": 553, - "column": 34 - }, - "end": { - "line": 553, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19211, - "end": 19212, - "loc": { - "start": { - "line": 553, - "column": 51 - }, - "end": { - "line": 553, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 19222, - "end": 19231, - "loc": { - "start": { - "line": 554, - "column": 8 - }, - "end": { - "line": 554, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19231, - "end": 19232, - "loc": { - "start": { - "line": 554, - "column": 17 - }, - "end": { - "line": 554, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "appendChild", - "start": 19232, - "end": 19243, - "loc": { - "start": { - "line": 554, - "column": 18 - }, - "end": { - "line": 554, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19243, - "end": 19244, - "loc": { - "start": { - "line": 554, - "column": 29 - }, - "end": { - "line": 554, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonSpanDOM", - "start": 19244, - "end": 19257, - "loc": { - "start": { - "line": 554, - "column": 30 - }, - "end": { - "line": 554, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19257, - "end": 19258, - "loc": { - "start": { - "line": 554, - "column": 43 - }, - "end": { - "line": 554, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19258, - "end": 19259, - "loc": { - "start": { - "line": 554, - "column": 44 - }, - "end": { - "line": 554, - "column": 45 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 19271, - "end": 19324, - "loc": { - "start": { - "line": 556, - "column": 8 - }, - "end": { - "line": 558, + "line": 528, "column": 11 } } @@ -109696,16 +115899,16 @@ "updateContext": null }, "value": "if", - "start": 19334, - "end": 19336, + "start": 17845, + "end": 17847, "loc": { "start": { - "line": 559, - "column": 8 + "line": 530, + "column": 10 }, "end": { - "line": 559, - "column": 10 + "line": 530, + "column": 12 } } }, @@ -109721,97 +115924,16 @@ "postfix": false, "binop": null }, - "start": 19336, - "end": 19337, + "start": 17847, + "end": 17848, "loc": { "start": { - "line": 559, - "column": 10 - }, - "end": { - "line": 559, - "column": 11 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 19337, - "end": 19338, - "loc": { - "start": { - "line": 559, - "column": 11 - }, - "end": { - "line": 559, - "column": 12 - } - } - }, - { - "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": 19338, - "end": 19342, - "loc": { - "start": { - "line": 559, + "line": 530, "column": 12 }, "end": { - "line": 559, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19342, - "end": 19343, - "loc": { - "start": { - "line": 559, - "column": 16 - }, - "end": { - "line": 559, - "column": 17 + "line": 530, + "column": 13 } } }, @@ -109827,95 +115949,17 @@ "postfix": false, "binop": null }, - "value": "buttonElements", - "start": 19343, - "end": 19357, + "value": "themeButtons", + "start": 17848, + "end": 17860, "loc": { "start": { - "line": 559, - "column": 17 + "line": 530, + "column": 13 }, "end": { - "line": 559, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19357, - "end": 19358, - "loc": { - "start": { - "line": 559, - "column": 31 - }, - "end": { - "line": 559, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 19358, - "end": 19364, - "loc": { - "start": { - "line": 559, - "column": 32 - }, - "end": { - "line": 559, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19364, - "end": 19365, - "loc": { - "start": { - "line": 559, - "column": 38 - }, - "end": { - "line": 559, - "column": 39 + "line": 530, + "column": 25 } } }, @@ -109931,23 +115975,47 @@ "postfix": false, "binop": null }, - "start": 19365, - "end": 19366, + "start": 17860, + "end": 17861, "loc": { "start": { - "line": 559, - "column": 39 + "line": 530, + "column": 25 }, "end": { - "line": 559, - "column": 40 + "line": 530, + "column": 26 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17861, + "end": 17862, + "loc": { + "start": { + "line": 530, + "column": 26 + }, + "end": { + "line": 530, + "column": 27 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109955,20 +116023,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 19378, - "end": 19382, + "value": "themeButtons", + "start": 17876, + "end": 17888, "loc": { "start": { - "line": 560, - "column": 10 + "line": 531, + "column": 12 }, "end": { - "line": 560, - "column": 14 + "line": 531, + "column": 24 } } }, @@ -109985,16 +116052,16 @@ "binop": null, "updateContext": null }, - "start": 19382, - "end": 19383, + "start": 17888, + "end": 17889, "loc": { "start": { - "line": 560, - "column": 14 + "line": 531, + "column": 24 }, "end": { - "line": 560, - "column": 15 + "line": 531, + "column": 25 } } }, @@ -110010,23 +116077,23 @@ "postfix": false, "binop": null }, - "value": "buttonElements", - "start": 19383, - "end": 19397, + "value": "forEach", + "start": 17889, + "end": 17896, "loc": { "start": { - "line": 560, - "column": 15 + "line": 531, + "column": 25 }, "end": { - "line": 560, - "column": 29 + "line": 531, + "column": 32 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -110034,26 +116101,77 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 17896, + "end": 17897, + "loc": { + "start": { + "line": 531, + "column": 32 + }, + "end": { + "line": 531, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 17897, + "end": 17908, + "loc": { + "start": { + "line": 531, + "column": 33 + }, + "end": { + "line": 531, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 19397, - "end": 19398, + "start": 17909, + "end": 17911, "loc": { "start": { - "line": 560, - "column": 29 + "line": 531, + "column": 45 }, "end": { - "line": 560, - "column": 30 + "line": 531, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -110062,23 +116180,23 @@ "postfix": false, "binop": null }, - "value": "button", - "start": 19398, - "end": 19404, + "start": 17912, + "end": 17913, "loc": { "start": { - "line": 560, - "column": 30 + "line": 531, + "column": 48 }, "end": { - "line": 560, - "column": 36 + "line": 531, + "column": 49 } } }, { "type": { - "label": "]", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -110089,16 +116207,43 @@ "binop": null, "updateContext": null }, - "start": 19404, - "end": 19405, + "value": "let", + "start": 17929, + "end": 17932, "loc": { "start": { - "line": 560, - "column": 36 + "line": 532, + "column": 14 }, "end": { - "line": 560, - "column": 37 + "line": 532, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 17933, + "end": 17944, + "loc": { + "start": { + "line": 532, + "column": 18 + }, + "end": { + "line": 532, + "column": 29 } } }, @@ -110116,16 +116261,42 @@ "updateContext": null }, "value": "=", - "start": 19406, - "end": 19407, + "start": 17945, + "end": 17946, "loc": { "start": { - "line": 560, - "column": 38 + "line": 532, + "column": 30 }, "end": { - "line": 560, - "column": 39 + "line": 532, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 17947, + "end": 17965, + "loc": { + "start": { + "line": 532, + "column": 32 + }, + "end": { + "line": 532, + "column": 50 } } }, @@ -110142,16 +116313,42 @@ "binop": null, "updateContext": null }, - "start": 19408, - "end": 19409, + "start": 17965, + "end": 17966, "loc": { "start": { - "line": 560, - "column": 40 + "line": 532, + "column": 50 }, "end": { - "line": 560, - "column": 41 + "line": 532, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 17966, + "end": 17977, + "loc": { + "start": { + "line": 532, + "column": 51 + }, + "end": { + "line": 532, + "column": 62 } } }, @@ -110168,16 +116365,16 @@ "binop": null, "updateContext": null }, - "start": 19409, - "end": 19410, + "start": 17977, + "end": 17978, "loc": { "start": { - "line": 560, - "column": 41 + "line": 532, + "column": 62 }, "end": { - "line": 560, - "column": 42 + "line": 532, + "column": 63 } } }, @@ -110194,16 +116391,257 @@ "binop": null, "updateContext": null }, - "start": 19410, - "end": 19411, + "start": 17978, + "end": 17979, "loc": { "start": { - "line": 560, - "column": 42 + "line": 532, + "column": 63 }, "end": { - "line": 560, - "column": 43 + "line": 532, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 17997, + "end": 18036, + "loc": { + "start": { + "line": 534, + "column": 14 + }, + "end": { + "line": 534, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 18052, + "end": 18054, + "loc": { + "start": { + "line": 535, + "column": 14 + }, + "end": { + "line": 535, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18054, + "end": 18055, + "loc": { + "start": { + "line": 535, + "column": 16 + }, + "end": { + "line": 535, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 18055, + "end": 18066, + "loc": { + "start": { + "line": 535, + "column": 17 + }, + "end": { + "line": 535, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18066, + "end": 18067, + "loc": { + "start": { + "line": 535, + "column": 28 + }, + "end": { + "line": 535, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18067, + "end": 18068, + "loc": { + "start": { + "line": 535, + "column": 29 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", + "start": 18086, + "end": 18169, + "loc": { + "start": { + "line": 536, + "column": 16 + }, + "end": { + "line": 536, + "column": 99 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 18187, + "end": 18189, + "loc": { + "start": { + "line": 537, + "column": 16 + }, + "end": { + "line": 537, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18189, + "end": 18190, + "loc": { + "start": { + "line": 537, + "column": 18 + }, + "end": { + "line": 537, + "column": 19 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 18190, + "end": 18191, + "loc": { + "start": { + "line": 537, + "column": 19 + }, + "end": { + "line": 537, + "column": 20 } } }, @@ -110222,16 +116660,16 @@ "updateContext": null }, "value": "this", - "start": 19423, - "end": 19427, + "start": 18191, + "end": 18195, "loc": { "start": { - "line": 562, - "column": 8 + "line": 537, + "column": 20 }, "end": { - "line": 562, - "column": 12 + "line": 537, + "column": 24 } } }, @@ -110248,16 +116686,16 @@ "binop": null, "updateContext": null }, - "start": 19427, - "end": 19428, + "start": 18195, + "end": 18196, "loc": { "start": { - "line": 562, - "column": 12 + "line": 537, + "column": 24 }, "end": { - "line": 562, - "column": 13 + "line": 537, + "column": 25 } } }, @@ -110273,17 +116711,456 @@ "postfix": false, "binop": null }, - "value": "buttonElements", - "start": 19428, - "end": 19442, + "value": "utilities", + "start": 18196, + "end": 18205, "loc": { "start": { - "line": 562, - "column": 13 + "line": 537, + "column": 25 }, "end": { - "line": 562, - "column": 27 + "line": 537, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18205, + "end": 18206, + "loc": { + "start": { + "line": 537, + "column": 34 + }, + "end": { + "line": 537, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "countInArray", + "start": 18206, + "end": 18218, + "loc": { + "start": { + "line": 537, + "column": 35 + }, + "end": { + "line": 537, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18218, + "end": 18219, + "loc": { + "start": { + "line": 537, + "column": 47 + }, + "end": { + "line": 537, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 18219, + "end": 18230, + "loc": { + "start": { + "line": 537, + "column": 48 + }, + "end": { + "line": 537, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18230, + "end": 18231, + "loc": { + "start": { + "line": 537, + "column": 59 + }, + "end": { + "line": 537, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 18231, + "end": 18236, + "loc": { + "start": { + "line": 537, + "column": 60 + }, + "end": { + "line": 537, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18236, + "end": 18237, + "loc": { + "start": { + "line": 537, + "column": 65 + }, + "end": { + "line": 537, + "column": 66 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 18237, + "end": 18240, + "loc": { + "start": { + "line": 537, + "column": 66 + }, + "end": { + "line": 537, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18240, + "end": 18241, + "loc": { + "start": { + "line": 537, + "column": 69 + }, + "end": { + "line": 537, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18241, + "end": 18242, + "loc": { + "start": { + "line": 537, + "column": 70 + }, + "end": { + "line": 537, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 18243, + "end": 18251, + "loc": { + "start": { + "line": 537, + "column": 72 + }, + "end": { + "line": 537, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18251, + "end": 18252, + "loc": { + "start": { + "line": 537, + "column": 80 + }, + "end": { + "line": 537, + "column": 81 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 18252, + "end": 18257, + "loc": { + "start": { + "line": 537, + "column": 81 + }, + "end": { + "line": 537, + "column": 86 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18257, + "end": 18258, + "loc": { + "start": { + "line": 537, + "column": 86 + }, + "end": { + "line": 537, + "column": 87 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18258, + "end": 18259, + "loc": { + "start": { + "line": 537, + "column": 87 + }, + "end": { + "line": 537, + "column": 88 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18259, + "end": 18260, + "loc": { + "start": { + "line": 537, + "column": 88 + }, + "end": { + "line": 537, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 18280, + "end": 18298, + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 36 } } }, @@ -110300,16 +117177,16 @@ "binop": null, "updateContext": null }, - "start": 19442, - "end": 19443, + "start": 18298, + "end": 18299, "loc": { "start": { - "line": 562, - "column": 27 + "line": 538, + "column": 36 }, "end": { - "line": 562, - "column": 28 + "line": 538, + "column": 37 } } }, @@ -110325,16 +117202,2097 @@ "postfix": false, "binop": null }, - "value": "button", - "start": 19443, - "end": 19449, + "value": "themeButton", + "start": 18299, + "end": 18310, "loc": { "start": { - "line": 562, - "column": 28 + "line": 538, + "column": 37 }, "end": { - "line": 562, + "line": 538, + "column": 48 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18310, + "end": 18311, + "loc": { + "start": { + "line": 538, + "column": 48 + }, + "end": { + "line": 538, + "column": 49 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18312, + "end": 18313, + "loc": { + "start": { + "line": 538, + "column": 50 + }, + "end": { + "line": 538, + "column": 51 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18314, + "end": 18315, + "loc": { + "start": { + "line": 538, + "column": 52 + }, + "end": { + "line": 538, + "column": 53 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 18315, + "end": 18315, + "loc": { + "start": { + "line": 538, + "column": 53 + }, + "end": { + "line": 538, + "column": 53 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18315, + "end": 18317, + "loc": { + "start": { + "line": 538, + "column": 53 + }, + "end": { + "line": 538, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 18317, + "end": 18328, + "loc": { + "start": { + "line": 538, + "column": 55 + }, + "end": { + "line": 538, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18328, + "end": 18329, + "loc": { + "start": { + "line": 538, + "column": 66 + }, + "end": { + "line": 538, + "column": 67 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 18329, + "end": 18330, + "loc": { + "start": { + "line": 538, + "column": 67 + }, + "end": { + "line": 538, + "column": 68 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18330, + "end": 18332, + "loc": { + "start": { + "line": 538, + "column": 68 + }, + "end": { + "line": 538, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 18332, + "end": 18340, + "loc": { + "start": { + "line": 538, + "column": 70 + }, + "end": { + "line": 538, + "column": 78 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18340, + "end": 18341, + "loc": { + "start": { + "line": 538, + "column": 78 + }, + "end": { + "line": 538, + "column": 79 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 18341, + "end": 18346, + "loc": { + "start": { + "line": 538, + "column": 79 + }, + "end": { + "line": 538, + "column": 84 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18346, + "end": 18347, + "loc": { + "start": { + "line": 538, + "column": 84 + }, + "end": { + "line": 538, + "column": 85 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 18347, + "end": 18347, + "loc": { + "start": { + "line": 538, + "column": 85 + }, + "end": { + "line": 538, + "column": 85 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18347, + "end": 18348, + "loc": { + "start": { + "line": 538, + "column": 85 + }, + "end": { + "line": 538, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18348, + "end": 18349, + "loc": { + "start": { + "line": 538, + "column": 86 + }, + "end": { + "line": 538, + "column": 87 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18367, + "end": 18368, + "loc": { + "start": { + "line": 539, + "column": 16 + }, + "end": { + "line": 539, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18384, + "end": 18385, + "loc": { + "start": { + "line": 540, + "column": 14 + }, + "end": { + "line": 540, + "column": 15 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 18386, + "end": 18390, + "loc": { + "start": { + "line": 540, + "column": 16 + }, + "end": { + "line": 540, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18391, + "end": 18392, + "loc": { + "start": { + "line": 540, + "column": 21 + }, + "end": { + "line": 540, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 18410, + "end": 18428, + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 34 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18428, + "end": 18429, + "loc": { + "start": { + "line": 541, + "column": 34 + }, + "end": { + "line": 541, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 18429, + "end": 18440, + "loc": { + "start": { + "line": 541, + "column": 35 + }, + "end": { + "line": 541, + "column": 46 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18440, + "end": 18441, + "loc": { + "start": { + "line": 541, + "column": 46 + }, + "end": { + "line": 541, + "column": 47 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18442, + "end": 18443, + "loc": { + "start": { + "line": 541, + "column": 48 + }, + "end": { + "line": 541, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 18444, + "end": 18452, + "loc": { + "start": { + "line": 541, + "column": 50 + }, + "end": { + "line": 541, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18452, + "end": 18453, + "loc": { + "start": { + "line": 541, + "column": 58 + }, + "end": { + "line": 541, + "column": 59 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 18453, + "end": 18458, + "loc": { + "start": { + "line": 541, + "column": 59 + }, + "end": { + "line": 541, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18458, + "end": 18459, + "loc": { + "start": { + "line": 541, + "column": 64 + }, + "end": { + "line": 541, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18475, + "end": 18476, + "loc": { + "start": { + "line": 542, + "column": 14 + }, + "end": { + "line": 542, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18490, + "end": 18491, + "loc": { + "start": { + "line": 543, + "column": 12 + }, + "end": { + "line": 543, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18491, + "end": 18492, + "loc": { + "start": { + "line": 543, + "column": 13 + }, + "end": { + "line": 543, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18492, + "end": 18493, + "loc": { + "start": { + "line": 543, + "column": 14 + }, + "end": { + "line": 543, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18505, + "end": 18506, + "loc": { + "start": { + "line": 544, + "column": 10 + }, + "end": { + "line": 544, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18516, + "end": 18517, + "loc": { + "start": { + "line": 545, + "column": 8 + }, + "end": { + "line": 545, + "column": 9 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 18518, + "end": 18522, + "loc": { + "start": { + "line": 545, + "column": 10 + }, + "end": { + "line": 545, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18523, + "end": 18524, + "loc": { + "start": { + "line": 545, + "column": 15 + }, + "end": { + "line": 545, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 18536, + "end": 18543, + "loc": { + "start": { + "line": 546, + "column": 10 + }, + "end": { + "line": 546, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18543, + "end": 18544, + "loc": { + "start": { + "line": 546, + "column": 17 + }, + "end": { + "line": 546, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "warn", + "start": 18544, + "end": 18548, + "loc": { + "start": { + "line": 546, + "column": 18 + }, + "end": { + "line": 546, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18548, + "end": 18549, + "loc": { + "start": { + "line": 546, + "column": 22 + }, + "end": { + "line": 546, + "column": 23 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18549, + "end": 18550, + "loc": { + "start": { + "line": 546, + "column": 23 + }, + "end": { + "line": 546, + "column": 24 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", + "start": 18550, + "end": 18638, + "loc": { + "start": { + "line": 546, + "column": 24 + }, + "end": { + "line": 546, + "column": 112 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18638, + "end": 18639, + "loc": { + "start": { + "line": 546, + "column": 112 + }, + "end": { + "line": 546, + "column": 113 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18639, + "end": 18640, + "loc": { + "start": { + "line": 546, + "column": 113 + }, + "end": { + "line": 546, + "column": 114 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18650, + "end": 18651, + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18659, + "end": 18660, + "loc": { + "start": { + "line": 548, + "column": 6 + }, + "end": { + "line": 548, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18660, + "end": 18661, + "loc": { + "start": { + "line": 548, + "column": 7 + }, + "end": { + "line": 548, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18661, + "end": 18662, + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 548, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18668, + "end": 18669, + "loc": { + "start": { + "line": 549, + "column": 4 + }, + "end": { + "line": 549, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 18677, + "end": 18743, + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 553, + "column": 7 + } + } + }, + { + "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": 18749, + "end": 18753, + "loc": { + "start": { + "line": 554, + "column": 4 + }, + "end": { + "line": 554, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18753, + "end": 18754, + "loc": { + "start": { + "line": 554, + "column": 8 + }, + "end": { + "line": 554, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOM", + "start": 18754, + "end": 18765, + "loc": { + "start": { + "line": 554, + "column": 9 + }, + "end": { + "line": 554, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18765, + "end": 18766, + "loc": { + "start": { + "line": 554, + "column": 20 + }, + "end": { + "line": 554, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 18766, + "end": 18775, + "loc": { + "start": { + "line": 554, + "column": 21 + }, + "end": { + "line": 554, + "column": 30 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 18776, + "end": 18778, + "loc": { + "start": { + "line": 554, + "column": 31 + }, + "end": { + "line": 554, + "column": 33 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18779, + "end": 18780, + "loc": { + "start": { + "line": 554, + "column": 34 + }, + "end": { + "line": 554, + "column": 35 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 18780, + "end": 18781, + "loc": { + "start": { + "line": 554, + "column": 35 + }, + "end": { + "line": 554, + "column": 36 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18781, + "end": 18783, + "loc": { + "start": { + "line": 554, + "column": 36 + }, + "end": { + "line": 554, + "column": 38 + } + } + }, + { + "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": 18783, + "end": 18787, + "loc": { + "start": { + "line": 554, + "column": 38 + }, + "end": { + "line": 554, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18787, + "end": 18788, + "loc": { + "start": { + "line": 554, + "column": 42 + }, + "end": { + "line": 554, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 18788, + "end": 18795, + "loc": { + "start": { + "line": 554, + "column": 43 + }, + "end": { + "line": 554, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18795, + "end": 18796, + "loc": { + "start": { + "line": 554, + "column": 50 + }, + "end": { + "line": 554, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "theme", + "start": 18796, + "end": 18801, + "loc": { + "start": { + "line": 554, + "column": 51 + }, + "end": { + "line": 554, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18801, + "end": 18802, + "loc": { + "start": { + "line": 554, + "column": 56 + }, + "end": { + "line": 554, + "column": 57 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 18802, + "end": 18803, + "loc": { + "start": { + "line": 554, + "column": 57 + }, + "end": { + "line": 554, + "column": 58 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18803, + "end": 18805, + "loc": { + "start": { + "line": 554, + "column": 58 + }, + "end": { + "line": 554, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutClass", + "start": 18805, + "end": 18816, + "loc": { + "start": { + "line": 554, + "column": 60 + }, + "end": { + "line": 554, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18816, + "end": 18817, + "loc": { + "start": { + "line": 554, + "column": 71 + }, + "end": { + "line": 554, + "column": 72 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 18817, + "end": 18817, + "loc": { + "start": { + "line": 554, + "column": 72 + }, + "end": { + "line": 554, + "column": 72 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18817, + "end": 18818, + "loc": { + "start": { + "line": 554, + "column": 72 + }, + "end": { + "line": 554, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18818, + "end": 18819, + "loc": { + "start": { + "line": 554, + "column": 73 + }, + "end": { + "line": 554, + "column": 74 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 18827, + "end": 18874, + "loc": { + "start": { + "line": 556, + "column": 4 + }, + "end": { + "line": 558, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 18880, + "end": 18886, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 10 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18886, + "end": 18887, + "loc": { + "start": { + "line": 559, + "column": 10 + }, + "end": { + "line": 559, + "column": 11 + } + } + }, + { + "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": 18887, + "end": 18891, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18891, + "end": 18892, + "loc": { + "start": { + "line": 559, + "column": 15 + }, + "end": { + "line": 559, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 18892, + "end": 18899, + "loc": { + "start": { + "line": 559, + "column": 16 + }, + "end": { + "line": 559, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18899, + "end": 18900, + "loc": { + "start": { + "line": 559, + "column": 23 + }, + "end": { + "line": 559, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 18900, + "end": 18910, + "loc": { + "start": { + "line": 559, + "column": 24 + }, + "end": { + "line": 559, "column": 34 } } @@ -110352,19 +119310,2167 @@ "binop": null, "updateContext": null }, - "start": 19449, - "end": 19450, + "start": 18910, + "end": 18911, "loc": { "start": { - "line": 562, + "line": 559, "column": 34 }, "end": { - "line": 562, + "line": 559, "column": 35 } } }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18911, + "end": 18912, + "loc": { + "start": { + "line": 559, + "column": 35 + }, + "end": { + "line": 559, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 18912, + "end": 18919, + "loc": { + "start": { + "line": 559, + "column": 36 + }, + "end": { + "line": 559, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18919, + "end": 18920, + "loc": { + "start": { + "line": 559, + "column": 43 + }, + "end": { + "line": 559, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18920, + "end": 18921, + "loc": { + "start": { + "line": 559, + "column": 44 + }, + "end": { + "line": 559, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "row", + "start": 18921, + "end": 18924, + "loc": { + "start": { + "line": 559, + "column": 45 + }, + "end": { + "line": 559, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18924, + "end": 18925, + "loc": { + "start": { + "line": 559, + "column": 48 + }, + "end": { + "line": 559, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rIndex", + "start": 18926, + "end": 18932, + "loc": { + "start": { + "line": 559, + "column": 50 + }, + "end": { + "line": 559, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18932, + "end": 18933, + "loc": { + "start": { + "line": 559, + "column": 56 + }, + "end": { + "line": 559, + "column": 57 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18934, + "end": 18936, + "loc": { + "start": { + "line": 559, + "column": 58 + }, + "end": { + "line": 559, + "column": 60 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18937, + "end": 18938, + "loc": { + "start": { + "line": 559, + "column": 61 + }, + "end": { + "line": 559, + "column": 62 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 18946, + "end": 18949, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowArray", + "start": 18950, + "end": 18958, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18959, + "end": 18960, + "loc": { + "start": { + "line": 560, + "column": 19 + }, + "end": { + "line": 560, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "row", + "start": 18961, + "end": 18964, + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18964, + "end": 18965, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 18965, + "end": 18970, + "loc": { + "start": { + "line": 560, + "column": 25 + }, + "end": { + "line": 560, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18970, + "end": 18971, + "loc": { + "start": { + "line": 560, + "column": 30 + }, + "end": { + "line": 560, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 18971, + "end": 18974, + "loc": { + "start": { + "line": 560, + "column": 31 + }, + "end": { + "line": 560, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18974, + "end": 18975, + "loc": { + "start": { + "line": 560, + "column": 34 + }, + "end": { + "line": 560, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18975, + "end": 18976, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 560, + "column": 36 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 18986, + "end": 19029, + "loc": { + "start": { + "line": 562, + "column": 6 + }, + "end": { + "line": 564, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 19037, + "end": 19040, + "loc": { + "start": { + "line": 565, + "column": 6 + }, + "end": { + "line": 565, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowDOM", + "start": 19041, + "end": 19047, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19048, + "end": 19049, + "loc": { + "start": { + "line": 565, + "column": 17 + }, + "end": { + "line": 565, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 19050, + "end": 19058, + "loc": { + "start": { + "line": 565, + "column": 19 + }, + "end": { + "line": 565, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19058, + "end": 19059, + "loc": { + "start": { + "line": 565, + "column": 27 + }, + "end": { + "line": 565, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 19059, + "end": 19072, + "loc": { + "start": { + "line": 565, + "column": 28 + }, + "end": { + "line": 565, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19072, + "end": 19073, + "loc": { + "start": { + "line": 565, + "column": 41 + }, + "end": { + "line": 565, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 19073, + "end": 19078, + "loc": { + "start": { + "line": 565, + "column": 42 + }, + "end": { + "line": 565, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19078, + "end": 19079, + "loc": { + "start": { + "line": 565, + "column": 47 + }, + "end": { + "line": 565, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19079, + "end": 19080, + "loc": { + "start": { + "line": 565, + "column": 48 + }, + "end": { + "line": 565, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowDOM", + "start": 19088, + "end": 19094, + "loc": { + "start": { + "line": 566, + "column": 6 + }, + "end": { + "line": 566, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19094, + "end": 19095, + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 19095, + "end": 19104, + "loc": { + "start": { + "line": 566, + "column": 13 + }, + "end": { + "line": 566, + "column": 22 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 19105, + "end": 19107, + "loc": { + "start": { + "line": 566, + "column": 23 + }, + "end": { + "line": 566, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "hg-row", + "start": 19108, + "end": 19116, + "loc": { + "start": { + "line": 566, + "column": 26 + }, + "end": { + "line": 566, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19116, + "end": 19117, + "loc": { + "start": { + "line": 566, + "column": 34 + }, + "end": { + "line": 566, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 19127, + "end": 19188, + "loc": { + "start": { + "line": 568, + "column": 6 + }, + "end": { + "line": 570, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowArray", + "start": 19196, + "end": 19204, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19204, + "end": 19205, + "loc": { + "start": { + "line": 571, + "column": 14 + }, + "end": { + "line": 571, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 19205, + "end": 19212, + "loc": { + "start": { + "line": 571, + "column": 15 + }, + "end": { + "line": 571, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19212, + "end": 19213, + "loc": { + "start": { + "line": 571, + "column": 22 + }, + "end": { + "line": 571, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19213, + "end": 19214, + "loc": { + "start": { + "line": 571, + "column": 23 + }, + "end": { + "line": 571, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19214, + "end": 19220, + "loc": { + "start": { + "line": 571, + "column": 24 + }, + "end": { + "line": 571, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19220, + "end": 19221, + "loc": { + "start": { + "line": 571, + "column": 30 + }, + "end": { + "line": 571, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bIndex", + "start": 19222, + "end": 19228, + "loc": { + "start": { + "line": 571, + "column": 32 + }, + "end": { + "line": 571, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19228, + "end": 19229, + "loc": { + "start": { + "line": 571, + "column": 38 + }, + "end": { + "line": 571, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19230, + "end": 19232, + "loc": { + "start": { + "line": 571, + "column": 40 + }, + "end": { + "line": 571, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19233, + "end": 19234, + "loc": { + "start": { + "line": 571, + "column": 43 + }, + "end": { + "line": 571, + "column": 44 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 19244, + "end": 19247, + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fctBtnClass", + "start": 19248, + "end": 19259, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19260, + "end": 19261, + "loc": { + "start": { + "line": 572, + "column": 24 + }, + "end": { + "line": 572, + "column": 25 + } + } + }, + { + "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": 19262, + "end": 19266, + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19266, + "end": 19267, + "loc": { + "start": { + "line": 572, + "column": 30 + }, + "end": { + "line": 572, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 19267, + "end": 19276, + "loc": { + "start": { + "line": 572, + "column": 31 + }, + "end": { + "line": 572, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19276, + "end": 19277, + "loc": { + "start": { + "line": 572, + "column": 40 + }, + "end": { + "line": 572, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonClass", + "start": 19277, + "end": 19291, + "loc": { + "start": { + "line": 572, + "column": 41 + }, + "end": { + "line": 572, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19291, + "end": 19292, + "loc": { + "start": { + "line": 572, + "column": 55 + }, + "end": { + "line": 572, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19292, + "end": 19298, + "loc": { + "start": { + "line": 572, + "column": 56 + }, + "end": { + "line": 572, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19298, + "end": 19299, + "loc": { + "start": { + "line": 572, + "column": 62 + }, + "end": { + "line": 572, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19299, + "end": 19300, + "loc": { + "start": { + "line": 572, + "column": 63 + }, + "end": { + "line": 572, + "column": 64 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 19310, + "end": 19313, + "loc": { + "start": { + "line": 573, + "column": 8 + }, + "end": { + "line": 573, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 19314, + "end": 19330, + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 573, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19331, + "end": 19332, + "loc": { + "start": { + "line": 573, + "column": 29 + }, + "end": { + "line": 573, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 19333, + "end": 19351, + "loc": { + "start": { + "line": 573, + "column": 31 + }, + "end": { + "line": 573, + "column": 49 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19351, + "end": 19352, + "loc": { + "start": { + "line": 573, + "column": 49 + }, + "end": { + "line": 573, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19352, + "end": 19358, + "loc": { + "start": { + "line": 573, + "column": 50 + }, + "end": { + "line": 573, + "column": 56 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19358, + "end": 19359, + "loc": { + "start": { + "line": 573, + "column": 56 + }, + "end": { + "line": 573, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19359, + "end": 19360, + "loc": { + "start": { + "line": 573, + "column": 57 + }, + "end": { + "line": 573, + "column": 58 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 19370, + "end": 19373, + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 574, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDisplayName", + "start": 19374, + "end": 19391, + "loc": { + "start": { + "line": 574, + "column": 12 + }, + "end": { + "line": 574, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19392, + "end": 19393, + "loc": { + "start": { + "line": 574, + "column": 30 + }, + "end": { + "line": 574, + "column": 31 + } + } + }, + { + "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": 19394, + "end": 19398, + "loc": { + "start": { + "line": 574, + "column": 32 + }, + "end": { + "line": 574, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19398, + "end": 19399, + "loc": { + "start": { + "line": 574, + "column": 36 + }, + "end": { + "line": 574, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 19399, + "end": 19408, + "loc": { + "start": { + "line": 574, + "column": 37 + }, + "end": { + "line": 574, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19408, + "end": 19409, + "loc": { + "start": { + "line": 574, + "column": 46 + }, + "end": { + "line": 574, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonDisplayName", + "start": 19409, + "end": 19429, + "loc": { + "start": { + "line": 574, + "column": 47 + }, + "end": { + "line": 574, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19429, + "end": 19430, + "loc": { + "start": { + "line": 574, + "column": 67 + }, + "end": { + "line": 574, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19430, + "end": 19436, + "loc": { + "start": { + "line": 574, + "column": 68 + }, + "end": { + "line": 574, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19436, + "end": 19437, + "loc": { + "start": { + "line": 574, + "column": 74 + }, + "end": { + "line": 574, + "column": 75 + } + } + }, + { + "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": 19438, + "end": 19442, + "loc": { + "start": { + "line": 574, + "column": 76 + }, + "end": { + "line": 574, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19442, + "end": 19443, + "loc": { + "start": { + "line": 574, + "column": 80 + }, + "end": { + "line": 574, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19443, + "end": 19450, + "loc": { + "start": { + "line": 574, + "column": 81 + }, + "end": { + "line": 574, + "column": 88 + } + } + }, { "type": { "label": ".", @@ -110382,11 +121488,4147 @@ "end": 19451, "loc": { "start": { - "line": 562, + "line": 574, + "column": 88 + }, + "end": { + "line": 574, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "display", + "start": 19451, + "end": 19458, + "loc": { + "start": { + "line": 574, + "column": 89 + }, + "end": { + "line": 574, + "column": 96 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19458, + "end": 19459, + "loc": { + "start": { + "line": 574, + "column": 96 + }, + "end": { + "line": 574, + "column": 97 + } + } + }, + { + "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": 19460, + "end": 19464, + "loc": { + "start": { + "line": 574, + "column": 98 + }, + "end": { + "line": 574, + "column": 102 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19464, + "end": 19465, + "loc": { + "start": { + "line": 574, + "column": 102 + }, + "end": { + "line": 574, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19465, + "end": 19472, + "loc": { + "start": { + "line": 574, + "column": 103 + }, + "end": { + "line": 574, + "column": 110 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19472, + "end": 19473, + "loc": { + "start": { + "line": 574, + "column": 110 + }, + "end": { + "line": 574, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mergeDisplay", + "start": 19473, + "end": 19485, + "loc": { + "start": { + "line": 574, + "column": 111 + }, + "end": { + "line": 574, + "column": 123 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19485, + "end": 19486, + "loc": { + "start": { + "line": 574, + "column": 123 + }, + "end": { + "line": 574, + "column": 124 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19486, + "end": 19487, + "loc": { + "start": { + "line": 574, + "column": 124 + }, + "end": { + "line": 574, + "column": 125 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creating button\r\n ", + "start": 19499, + "end": 19543, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 578, + "column": 11 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 19553, + "end": 19556, + "loc": { + "start": { + "line": 579, + "column": 8 + }, + "end": { + "line": 579, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 19557, + "end": 19566, + "loc": { + "start": { + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19567, + "end": 19568, + "loc": { + "start": { + "line": 579, + "column": 22 + }, + "end": { + "line": 579, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 19569, + "end": 19577, + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19577, + "end": 19578, + "loc": { + "start": { + "line": 579, + "column": 32 + }, + "end": { + "line": 579, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 19578, + "end": 19591, + "loc": { + "start": { + "line": 579, + "column": 33 + }, + "end": { + "line": 579, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19591, + "end": 19592, + "loc": { + "start": { + "line": 579, + "column": 46 + }, + "end": { + "line": 579, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 19592, + "end": 19597, + "loc": { + "start": { + "line": 579, + "column": 47 + }, + "end": { + "line": 579, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19597, + "end": 19598, + "loc": { + "start": { + "line": 579, + "column": 52 + }, + "end": { + "line": 579, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19598, + "end": 19599, + "loc": { + "start": { + "line": 579, + "column": 53 + }, + "end": { + "line": 579, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 19609, + "end": 19618, + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19618, + "end": 19619, + "loc": { + "start": { + "line": 580, + "column": 17 + }, + "end": { + "line": 580, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 19619, + "end": 19628, + "loc": { + "start": { + "line": 580, + "column": 18 + }, + "end": { + "line": 580, + "column": 27 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 19629, + "end": 19631, + "loc": { + "start": { + "line": 580, + "column": 28 + }, + "end": { + "line": 580, + "column": 30 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19632, + "end": 19633, + "loc": { + "start": { + "line": 580, + "column": 31 + }, + "end": { + "line": 580, + "column": 32 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "hg-button ", + "start": 19633, + "end": 19643, + "loc": { + "start": { + "line": 580, + "column": 32 + }, + "end": { + "line": 580, + "column": 42 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19643, + "end": 19645, + "loc": { + "start": { + "line": 580, + "column": 42 + }, + "end": { + "line": 580, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fctBtnClass", + "start": 19645, + "end": 19656, + "loc": { + "start": { + "line": 580, + "column": 44 + }, + "end": { + "line": 580, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19656, + "end": 19657, + "loc": { + "start": { + "line": 580, + "column": 55 + }, + "end": { + "line": 580, + "column": 56 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 19657, + "end": 19657, + "loc": { + "start": { + "line": 580, + "column": 56 + }, + "end": { + "line": 580, + "column": 56 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19657, + "end": 19659, + "loc": { + "start": { + "line": 580, + "column": 56 + }, + "end": { + "line": 580, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 19659, + "end": 19675, + "loc": { + "start": { + "line": 580, + "column": 58 + }, + "end": { + "line": 580, + "column": 74 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19676, + "end": 19677, + "loc": { + "start": { + "line": 580, + "column": 75 + }, + "end": { + "line": 580, + "column": 76 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 19678, + "end": 19681, + "loc": { + "start": { + "line": 580, + "column": 77 + }, + "end": { + "line": 580, + "column": 80 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 19681, + "end": 19682, + "loc": { + "start": { + "line": 580, + "column": 80 + }, + "end": { + "line": 580, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 19682, + "end": 19698, + "loc": { + "start": { + "line": 580, + "column": 81 + }, + "end": { + "line": 580, + "column": 97 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19699, + "end": 19700, + "loc": { + "start": { + "line": 580, + "column": 98 + }, + "end": { + "line": 580, + "column": 99 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 19701, + "end": 19703, + "loc": { + "start": { + "line": 580, + "column": 100 + }, + "end": { + "line": 580, + "column": 102 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19703, + "end": 19704, + "loc": { + "start": { + "line": 580, + "column": 102 + }, + "end": { + "line": 580, + "column": 103 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 19704, + "end": 19704, + "loc": { + "start": { + "line": 580, + "column": 103 + }, + "end": { + "line": 580, + "column": 103 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19704, + "end": 19705, + "loc": { + "start": { + "line": 580, + "column": 103 + }, + "end": { + "line": 580, + "column": 104 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19705, + "end": 19706, + "loc": { + "start": { + "line": 580, + "column": 104 + }, + "end": { + "line": 580, + "column": 105 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 19716, + "end": 19725, + "loc": { + "start": { + "line": 581, + "column": 8 + }, + "end": { + "line": 581, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19725, + "end": 19726, + "loc": { + "start": { + "line": 581, + "column": 17 + }, + "end": { + "line": 581, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onclick", + "start": 19726, + "end": 19733, + "loc": { + "start": { + "line": 581, + "column": 18 + }, + "end": { + "line": 581, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19734, + "end": 19735, + "loc": { + "start": { + "line": 581, + "column": 26 + }, + "end": { + "line": 581, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19736, + "end": 19737, + "loc": { + "start": { + "line": 581, + "column": 28 + }, + "end": { + "line": 581, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19737, + "end": 19738, + "loc": { + "start": { + "line": 581, + "column": 29 + }, + "end": { + "line": 581, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19739, + "end": 19741, + "loc": { + "start": { + "line": 581, + "column": 31 + }, + "end": { + "line": 581, + "column": 33 + } + } + }, + { + "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": 19742, + "end": 19746, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19746, + "end": 19747, + "loc": { + "start": { + "line": 581, + "column": 38 + }, + "end": { + "line": 581, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 19747, + "end": 19766, + "loc": { + "start": { + "line": 581, + "column": 39 + }, + "end": { + "line": 581, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19766, + "end": 19767, + "loc": { + "start": { + "line": 581, + "column": 58 + }, + "end": { + "line": 581, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19767, + "end": 19773, + "loc": { + "start": { + "line": 581, + "column": 59 + }, + "end": { + "line": 581, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19773, + "end": 19774, + "loc": { + "start": { + "line": 581, + "column": 65 + }, + "end": { + "line": 581, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19774, + "end": 19775, + "loc": { + "start": { + "line": 581, + "column": 66 + }, + "end": { + "line": 581, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 19787, + "end": 19833, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 585, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 19843, + "end": 19852, + "loc": { + "start": { + "line": 586, + "column": 8 + }, + "end": { + "line": 586, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19852, + "end": 19853, + "loc": { + "start": { + "line": 586, + "column": 17 + }, + "end": { + "line": 586, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 19853, + "end": 19865, + "loc": { + "start": { + "line": 586, + "column": 18 + }, + "end": { + "line": 586, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19865, + "end": 19866, + "loc": { + "start": { + "line": 586, + "column": 30 + }, + "end": { + "line": 586, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-skBtn", + "start": 19866, + "end": 19878, + "loc": { + "start": { + "line": 586, + "column": 31 + }, + "end": { + "line": 586, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19878, + "end": 19879, + "loc": { + "start": { + "line": 586, + "column": 43 + }, + "end": { + "line": 586, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 19880, + "end": 19886, + "loc": { + "start": { + "line": 586, + "column": 45 + }, + "end": { + "line": 586, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19886, + "end": 19887, + "loc": { + "start": { + "line": 586, + "column": 51 + }, + "end": { + "line": 586, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19887, + "end": 19888, + "loc": { + "start": { + "line": 586, + "column": 52 + }, + "end": { + "line": 586, + "column": 53 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 19900, + "end": 20055, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 591, + "column": 11 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 20065, + "end": 20068, + "loc": { + "start": { + "line": 592, + "column": 8 + }, + "end": { + "line": 592, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonUID", + "start": 20069, + "end": 20078, + "loc": { + "start": { + "line": 592, + "column": 12 + }, + "end": { + "line": 592, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20079, + "end": 20080, + "loc": { + "start": { + "line": 592, + "column": 22 + }, + "end": { + "line": 592, + "column": 23 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20081, + "end": 20082, + "loc": { + "start": { + "line": 592, + "column": 24 + }, + "end": { + "line": 592, + "column": 25 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 20082, + "end": 20082, + "loc": { + "start": { + "line": 592, + "column": 25 + }, + "end": { + "line": 592, + "column": 25 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20082, + "end": 20084, + "loc": { + "start": { + "line": 592, + "column": 25 + }, + "end": { + "line": 592, + "column": 27 + } + } + }, + { + "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": 20084, + "end": 20088, + "loc": { + "start": { + "line": 592, + "column": 27 + }, + "end": { + "line": 592, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20088, + "end": 20089, + "loc": { + "start": { + "line": 592, + "column": 31 + }, + "end": { + "line": 592, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 20089, + "end": 20096, + "loc": { + "start": { + "line": 592, + "column": 32 + }, + "end": { + "line": 592, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20096, + "end": 20097, + "loc": { + "start": { + "line": 592, + "column": 39 + }, + "end": { + "line": 592, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 20097, + "end": 20107, + "loc": { + "start": { + "line": 592, + "column": 40 + }, + "end": { + "line": 592, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20107, + "end": 20108, + "loc": { + "start": { + "line": 592, + "column": 50 + }, + "end": { + "line": 592, + "column": 51 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-r", + "start": 20108, + "end": 20110, + "loc": { + "start": { + "line": 592, + "column": 51 + }, + "end": { + "line": 592, + "column": 53 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20110, + "end": 20112, + "loc": { + "start": { + "line": 592, + "column": 53 + }, + "end": { + "line": 592, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rIndex", + "start": 20112, + "end": 20118, + "loc": { + "start": { + "line": 592, + "column": 55 + }, + "end": { + "line": 592, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20118, + "end": 20119, + "loc": { + "start": { + "line": 592, + "column": 61 + }, + "end": { + "line": 592, + "column": 62 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "b", + "start": 20119, + "end": 20120, + "loc": { + "start": { + "line": 592, + "column": 62 + }, + "end": { + "line": 592, + "column": 63 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20120, + "end": 20122, + "loc": { + "start": { + "line": 592, + "column": 63 + }, + "end": { + "line": 592, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bIndex", + "start": 20122, + "end": 20128, + "loc": { + "start": { + "line": 592, + "column": 65 + }, + "end": { + "line": 592, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20128, + "end": 20129, + "loc": { + "start": { + "line": 592, + "column": 71 + }, + "end": { + "line": 592, + "column": 72 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 20129, + "end": 20129, + "loc": { + "start": { + "line": 592, + "column": 72 + }, + "end": { + "line": 592, + "column": 72 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20129, + "end": 20130, + "loc": { + "start": { + "line": 592, + "column": 72 + }, + "end": { + "line": 592, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20130, + "end": 20131, + "loc": { + "start": { + "line": 592, + "column": 73 + }, + "end": { + "line": 592, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 20141, + "end": 20150, + "loc": { + "start": { + "line": 593, + "column": 8 + }, + "end": { + "line": 593, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20150, + "end": 20151, + "loc": { + "start": { + "line": 593, + "column": 17 + }, + "end": { + "line": 593, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 20151, + "end": 20163, + "loc": { + "start": { + "line": 593, + "column": 18 + }, + "end": { + "line": 593, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20163, + "end": 20164, + "loc": { + "start": { + "line": 593, + "column": 30 + }, + "end": { + "line": 593, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-skBtnUID", + "start": 20164, + "end": 20179, + "loc": { + "start": { + "line": 593, + "column": 31 + }, + "end": { + "line": 593, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20179, + "end": 20180, + "loc": { + "start": { + "line": 593, + "column": 46 + }, + "end": { + "line": 593, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonUID", + "start": 20181, + "end": 20190, + "loc": { + "start": { + "line": 593, + "column": 48 + }, + "end": { + "line": 593, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20190, + "end": 20191, + "loc": { + "start": { + "line": 593, + "column": 57 + }, + "end": { + "line": 593, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20191, + "end": 20192, + "loc": { + "start": { + "line": 593, + "column": 58 + }, + "end": { + "line": 593, + "column": 59 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 20204, + "end": 20253, + "loc": { + "start": { + "line": 595, + "column": 8 + }, + "end": { + "line": 597, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 20263, + "end": 20272, + "loc": { + "start": { + "line": 598, + "column": 8 + }, + "end": { + "line": 598, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20272, + "end": 20273, + "loc": { + "start": { + "line": 598, + "column": 17 + }, + "end": { + "line": 598, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 20273, + "end": 20285, + "loc": { + "start": { + "line": 598, + "column": 18 + }, + "end": { + "line": 598, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20285, + "end": 20286, + "loc": { + "start": { + "line": 598, + "column": 30 + }, + "end": { + "line": 598, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-displayLabel", + "start": 20286, + "end": 20305, + "loc": { + "start": { + "line": 598, + "column": 31 + }, + "end": { + "line": 598, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20305, + "end": 20306, + "loc": { + "start": { + "line": 598, + "column": 50 + }, + "end": { + "line": 598, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDisplayName", + "start": 20307, + "end": 20324, + "loc": { + "start": { + "line": 598, + "column": 52 + }, + "end": { + "line": 598, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20324, + "end": 20325, + "loc": { + "start": { + "line": 598, + "column": 69 + }, + "end": { + "line": 598, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20325, + "end": 20326, + "loc": { + "start": { + "line": 598, + "column": 70 + }, + "end": { + "line": 598, + "column": 71 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 20338, + "end": 20396, + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 602, + "column": 11 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 20406, + "end": 20409, + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 603, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonSpanDOM", + "start": 20410, + "end": 20423, + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20424, + "end": 20425, + "loc": { + "start": { + "line": 603, + "column": 26 + }, + "end": { + "line": 603, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 20426, + "end": 20434, + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20434, + "end": 20435, + "loc": { + "start": { + "line": 603, + "column": 36 + }, + "end": { + "line": 603, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 20435, + "end": 20448, + "loc": { + "start": { + "line": 603, + "column": 37 + }, + "end": { + "line": 603, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20448, + "end": 20449, + "loc": { + "start": { + "line": 603, + "column": 50 + }, + "end": { + "line": 603, + "column": 51 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "span", + "start": 20449, + "end": 20455, + "loc": { + "start": { + "line": 603, + "column": 51 + }, + "end": { + "line": 603, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20455, + "end": 20456, + "loc": { + "start": { + "line": 603, + "column": 57 + }, + "end": { + "line": 603, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20456, + "end": 20457, + "loc": { + "start": { + "line": 603, + "column": 58 + }, + "end": { + "line": 603, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonSpanDOM", + "start": 20467, + "end": 20480, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20480, + "end": 20481, + "loc": { + "start": { + "line": 604, + "column": 21 + }, + "end": { + "line": 604, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerHTML", + "start": 20481, + "end": 20490, + "loc": { + "start": { + "line": 604, + "column": 22 + }, + "end": { + "line": 604, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20491, + "end": 20492, + "loc": { + "start": { + "line": 604, + "column": 32 + }, + "end": { + "line": 604, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDisplayName", + "start": 20493, + "end": 20510, + "loc": { + "start": { + "line": 604, + "column": 34 + }, + "end": { + "line": 604, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20510, + "end": 20511, + "loc": { + "start": { + "line": 604, + "column": 51 + }, + "end": { + "line": 604, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 20521, + "end": 20530, + "loc": { + "start": { + "line": 605, + "column": 8 + }, + "end": { + "line": 605, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20530, + "end": 20531, + "loc": { + "start": { + "line": 605, + "column": 17 + }, + "end": { + "line": 605, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "appendChild", + "start": 20531, + "end": 20542, + "loc": { + "start": { + "line": 605, + "column": 18 + }, + "end": { + "line": 605, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20542, + "end": 20543, + "loc": { + "start": { + "line": 605, + "column": 29 + }, + "end": { + "line": 605, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonSpanDOM", + "start": 20543, + "end": 20556, + "loc": { + "start": { + "line": 605, + "column": 30 + }, + "end": { + "line": 605, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20556, + "end": 20557, + "loc": { + "start": { + "line": 605, + "column": 43 + }, + "end": { + "line": 605, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20557, + "end": 20558, + "loc": { + "start": { + "line": 605, + "column": 44 + }, + "end": { + "line": 605, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 20570, + "end": 20623, + "loc": { + "start": { + "line": 607, + "column": 8 + }, + "end": { + "line": 609, + "column": 11 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 20633, + "end": 20635, + "loc": { + "start": { + "line": 610, + "column": 8 + }, + "end": { + "line": 610, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20635, + "end": 20636, + "loc": { + "start": { + "line": 610, + "column": 10 + }, + "end": { + "line": 610, + "column": 11 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 20636, + "end": 20637, + "loc": { + "start": { + "line": 610, + "column": 11 + }, + "end": { + "line": 610, + "column": 12 + } + } + }, + { + "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": 20637, + "end": 20641, + "loc": { + "start": { + "line": 610, + "column": 12 + }, + "end": { + "line": 610, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20641, + "end": 20642, + "loc": { + "start": { + "line": 610, + "column": 16 + }, + "end": { + "line": 610, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 20642, + "end": 20656, + "loc": { + "start": { + "line": 610, + "column": 17 + }, + "end": { + "line": 610, + "column": 31 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20656, + "end": 20657, + "loc": { + "start": { + "line": 610, + "column": 31 + }, + "end": { + "line": 610, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 20657, + "end": 20663, + "loc": { + "start": { + "line": 610, + "column": 32 + }, + "end": { + "line": 610, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20663, + "end": 20664, + "loc": { + "start": { + "line": 610, + "column": 38 + }, + "end": { + "line": 610, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20664, + "end": 20665, + "loc": { + "start": { + "line": 610, + "column": 39 + }, + "end": { + "line": 610, + "column": 40 + } + } + }, + { + "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": 20677, + "end": 20681, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20681, + "end": 20682, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 611, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 20682, + "end": 20696, + "loc": { + "start": { + "line": 611, + "column": 15 + }, + "end": { + "line": 611, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20696, + "end": 20697, + "loc": { + "start": { + "line": 611, + "column": 29 + }, + "end": { + "line": 611, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 20697, + "end": 20703, + "loc": { + "start": { + "line": 611, + "column": 30 + }, + "end": { + "line": 611, + "column": 36 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20703, + "end": 20704, + "loc": { + "start": { + "line": 611, + "column": 36 + }, + "end": { + "line": 611, + "column": 37 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20705, + "end": 20706, + "loc": { + "start": { + "line": 611, + "column": 38 + }, + "end": { + "line": 611, + "column": 39 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20707, + "end": 20708, + "loc": { + "start": { + "line": 611, + "column": 40 + }, + "end": { + "line": 611, + "column": 41 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20708, + "end": 20709, + "loc": { + "start": { + "line": 611, + "column": 41 + }, + "end": { + "line": 611, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20709, + "end": 20710, + "loc": { + "start": { + "line": 611, + "column": 42 + }, + "end": { + "line": 611, + "column": 43 + } + } + }, + { + "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": 20722, + "end": 20726, + "loc": { + "start": { + "line": 613, + "column": 8 + }, + "end": { + "line": 613, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20726, + "end": 20727, + "loc": { + "start": { + "line": 613, + "column": 12 + }, + "end": { + "line": 613, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 20727, + "end": 20741, + "loc": { + "start": { + "line": 613, + "column": 13 + }, + "end": { + "line": 613, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20741, + "end": 20742, + "loc": { + "start": { + "line": 613, + "column": 27 + }, + "end": { + "line": 613, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 20742, + "end": 20748, + "loc": { + "start": { + "line": 613, + "column": 28 + }, + "end": { + "line": 613, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20748, + "end": 20749, + "loc": { + "start": { + "line": 613, + "column": 34 + }, + "end": { + "line": 613, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20749, + "end": 20750, + "loc": { + "start": { + "line": 613, "column": 35 }, "end": { - "line": 562, + "line": 613, "column": 36 } } @@ -110404,15 +125646,15 @@ "binop": null }, "value": "push", - "start": 19451, - "end": 19455, + "start": 20750, + "end": 20754, "loc": { "start": { - "line": 562, + "line": 613, "column": 36 }, "end": { - "line": 562, + "line": 613, "column": 40 } } @@ -110429,15 +125671,15 @@ "postfix": false, "binop": null }, - "start": 19455, - "end": 19456, + "start": 20754, + "end": 20755, "loc": { "start": { - "line": 562, + "line": 613, "column": 40 }, "end": { - "line": 562, + "line": 613, "column": 41 } } @@ -110455,15 +125697,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19456, - "end": 19465, + "start": 20755, + "end": 20764, "loc": { "start": { - "line": 562, + "line": 613, "column": 41 }, "end": { - "line": 562, + "line": 613, "column": 50 } } @@ -110480,15 +125722,15 @@ "postfix": false, "binop": null }, - "start": 19465, - "end": 19466, + "start": 20764, + "end": 20765, "loc": { "start": { - "line": 562, + "line": 613, "column": 50 }, "end": { - "line": 562, + "line": 613, "column": 51 } } @@ -110506,15 +125748,15 @@ "binop": null, "updateContext": null }, - "start": 19466, - "end": 19467, + "start": 20765, + "end": 20766, "loc": { "start": { - "line": 562, + "line": 613, "column": 51 }, "end": { - "line": 562, + "line": 613, "column": 52 } } @@ -110522,15 +125764,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 19479, - "end": 19531, + "start": 20778, + "end": 20830, "loc": { "start": { - "line": 564, + "line": 615, "column": 8 }, "end": { - "line": 566, + "line": 617, "column": 11 } } @@ -110548,15 +125790,15 @@ "binop": null }, "value": "rowDOM", - "start": 19541, - "end": 19547, + "start": 20840, + "end": 20846, "loc": { "start": { - "line": 567, + "line": 618, "column": 8 }, "end": { - "line": 567, + "line": 618, "column": 14 } } @@ -110574,15 +125816,15 @@ "binop": null, "updateContext": null }, - "start": 19547, - "end": 19548, + "start": 20846, + "end": 20847, "loc": { "start": { - "line": 567, + "line": 618, "column": 14 }, "end": { - "line": 567, + "line": 618, "column": 15 } } @@ -110600,15 +125842,15 @@ "binop": null }, "value": "appendChild", - "start": 19548, - "end": 19559, + "start": 20847, + "end": 20858, "loc": { "start": { - "line": 567, + "line": 618, "column": 15 }, "end": { - "line": 567, + "line": 618, "column": 26 } } @@ -110625,15 +125867,15 @@ "postfix": false, "binop": null }, - "start": 19559, - "end": 19560, + "start": 20858, + "end": 20859, "loc": { "start": { - "line": 567, + "line": 618, "column": 26 }, "end": { - "line": 567, + "line": 618, "column": 27 } } @@ -110651,15 +125893,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19560, - "end": 19569, + "start": 20859, + "end": 20868, "loc": { "start": { - "line": 567, + "line": 618, "column": 27 }, "end": { - "line": 567, + "line": 618, "column": 36 } } @@ -110676,15 +125918,15 @@ "postfix": false, "binop": null }, - "start": 19569, - "end": 19570, + "start": 20868, + "end": 20869, "loc": { "start": { - "line": 567, + "line": 618, "column": 36 }, "end": { - "line": 567, + "line": 618, "column": 37 } } @@ -110702,15 +125944,15 @@ "binop": null, "updateContext": null }, - "start": 19570, - "end": 19571, + "start": 20869, + "end": 20870, "loc": { "start": { - "line": 567, + "line": 618, "column": 37 }, "end": { - "line": 567, + "line": 618, "column": 38 } } @@ -110727,15 +125969,15 @@ "postfix": false, "binop": null }, - "start": 19581, - "end": 19582, + "start": 20880, + "end": 20881, "loc": { "start": { - "line": 569, + "line": 620, "column": 6 }, "end": { - "line": 569, + "line": 620, "column": 7 } } @@ -110752,15 +125994,15 @@ "postfix": false, "binop": null }, - "start": 19582, - "end": 19583, + "start": 20881, + "end": 20882, "loc": { "start": { - "line": 569, + "line": 620, "column": 7 }, "end": { - "line": 569, + "line": 620, "column": 8 } } @@ -110778,15 +126020,15 @@ "binop": null, "updateContext": null }, - "start": 19583, - "end": 19584, + "start": 20882, + "end": 20883, "loc": { "start": { - "line": 569, + "line": 620, "column": 8 }, "end": { - "line": 569, + "line": 620, "column": 9 } } @@ -110794,15 +126036,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 19594, - "end": 19644, + "start": 20893, + "end": 20943, "loc": { "start": { - "line": 571, + "line": 622, "column": 6 }, "end": { - "line": 573, + "line": 624, "column": 9 } } @@ -110822,15 +126064,15 @@ "updateContext": null }, "value": "this", - "start": 19652, - "end": 19656, + "start": 20951, + "end": 20955, "loc": { "start": { - "line": 574, + "line": 625, "column": 6 }, "end": { - "line": 574, + "line": 625, "column": 10 } } @@ -110848,15 +126090,15 @@ "binop": null, "updateContext": null }, - "start": 19656, - "end": 19657, + "start": 20955, + "end": 20956, "loc": { "start": { - "line": 574, + "line": 625, "column": 10 }, "end": { - "line": 574, + "line": 625, "column": 11 } } @@ -110874,15 +126116,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 19657, - "end": 19668, + "start": 20956, + "end": 20967, "loc": { "start": { - "line": 574, + "line": 625, "column": 11 }, "end": { - "line": 574, + "line": 625, "column": 22 } } @@ -110900,15 +126142,15 @@ "binop": null, "updateContext": null }, - "start": 19668, - "end": 19669, + "start": 20967, + "end": 20968, "loc": { "start": { - "line": 574, + "line": 625, "column": 22 }, "end": { - "line": 574, + "line": 625, "column": 23 } } @@ -110926,15 +126168,15 @@ "binop": null }, "value": "appendChild", - "start": 19669, - "end": 19680, + "start": 20968, + "end": 20979, "loc": { "start": { - "line": 574, + "line": 625, "column": 23 }, "end": { - "line": 574, + "line": 625, "column": 34 } } @@ -110951,15 +126193,15 @@ "postfix": false, "binop": null }, - "start": 19680, - "end": 19681, + "start": 20979, + "end": 20980, "loc": { "start": { - "line": 574, + "line": 625, "column": 34 }, "end": { - "line": 574, + "line": 625, "column": 35 } } @@ -110977,15 +126219,15 @@ "binop": null }, "value": "rowDOM", - "start": 19681, - "end": 19687, + "start": 20980, + "end": 20986, "loc": { "start": { - "line": 574, + "line": 625, "column": 35 }, "end": { - "line": 574, + "line": 625, "column": 41 } } @@ -111002,15 +126244,15 @@ "postfix": false, "binop": null }, - "start": 19687, - "end": 19688, + "start": 20986, + "end": 20987, "loc": { "start": { - "line": 574, + "line": 625, "column": 41 }, "end": { - "line": 574, + "line": 625, "column": 42 } } @@ -111028,15 +126270,15 @@ "binop": null, "updateContext": null }, - "start": 19688, - "end": 19689, + "start": 20987, + "end": 20988, "loc": { "start": { - "line": 574, + "line": 625, "column": 42 }, "end": { - "line": 574, + "line": 625, "column": 43 } } @@ -111053,15 +126295,15 @@ "postfix": false, "binop": null }, - "start": 19695, - "end": 19696, + "start": 20994, + "end": 20995, "loc": { "start": { - "line": 575, + "line": 626, "column": 4 }, "end": { - "line": 575, + "line": 626, "column": 5 } } @@ -111078,15 +126320,15 @@ "postfix": false, "binop": null }, - "start": 19696, - "end": 19697, + "start": 20995, + "end": 20996, "loc": { "start": { - "line": 575, + "line": 626, "column": 5 }, "end": { - "line": 575, + "line": 626, "column": 6 } } @@ -111104,15 +126346,15 @@ "binop": null, "updateContext": null }, - "start": 19697, - "end": 19698, + "start": 20996, + "end": 20997, "loc": { "start": { - "line": 575, + "line": 626, "column": 6 }, "end": { - "line": 575, + "line": 626, "column": 7 } } @@ -111120,15 +126362,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 19706, - "end": 19743, + "start": 21005, + "end": 21042, "loc": { "start": { - "line": 577, + "line": 628, "column": 4 }, "end": { - "line": 579, + "line": 630, "column": 7 } } @@ -111148,15 +126390,15 @@ "updateContext": null }, "value": "this", - "start": 19749, - "end": 19753, + "start": 21048, + "end": 21052, "loc": { "start": { - "line": 580, + "line": 631, "column": 4 }, "end": { - "line": 580, + "line": 631, "column": 8 } } @@ -111174,15 +126416,15 @@ "binop": null, "updateContext": null }, - "start": 19753, - "end": 19754, + "start": 21052, + "end": 21053, "loc": { "start": { - "line": 580, + "line": 631, "column": 8 }, "end": { - "line": 580, + "line": 631, "column": 9 } } @@ -111200,15 +126442,15 @@ "binop": null }, "value": "onRender", - "start": 19754, - "end": 19762, + "start": 21053, + "end": 21061, "loc": { "start": { - "line": 580, + "line": 631, "column": 9 }, "end": { - "line": 580, + "line": 631, "column": 17 } } @@ -111225,15 +126467,15 @@ "postfix": false, "binop": null }, - "start": 19762, - "end": 19763, + "start": 21061, + "end": 21062, "loc": { "start": { - "line": 580, + "line": 631, "column": 17 }, "end": { - "line": 580, + "line": 631, "column": 18 } } @@ -111250,15 +126492,15 @@ "postfix": false, "binop": null }, - "start": 19763, - "end": 19764, + "start": 21062, + "end": 21063, "loc": { "start": { - "line": 580, + "line": 631, "column": 18 }, "end": { - "line": 580, + "line": 631, "column": 19 } } @@ -111276,15 +126518,15 @@ "binop": null, "updateContext": null }, - "start": 19764, - "end": 19765, + "start": 21063, + "end": 21064, "loc": { "start": { - "line": 580, + "line": 631, "column": 19 }, "end": { - "line": 580, + "line": 631, "column": 20 } } @@ -111304,15 +126546,15 @@ "updateContext": null }, "value": "if", - "start": 19773, - "end": 19775, + "start": 21072, + "end": 21074, "loc": { "start": { - "line": 582, + "line": 633, "column": 4 }, "end": { - "line": 582, + "line": 633, "column": 6 } } @@ -111329,15 +126571,15 @@ "postfix": false, "binop": null }, - "start": 19775, - "end": 19776, + "start": 21074, + "end": 21075, "loc": { "start": { - "line": 582, + "line": 633, "column": 6 }, "end": { - "line": 582, + "line": 633, "column": 7 } } @@ -111356,15 +126598,15 @@ "updateContext": null }, "value": "!", - "start": 19776, - "end": 19777, + "start": 21075, + "end": 21076, "loc": { "start": { - "line": 582, + "line": 633, "column": 7 }, "end": { - "line": 582, + "line": 633, "column": 8 } } @@ -111384,15 +126626,15 @@ "updateContext": null }, "value": "this", - "start": 19777, - "end": 19781, + "start": 21076, + "end": 21080, "loc": { "start": { - "line": 582, + "line": 633, "column": 8 }, "end": { - "line": 582, + "line": 633, "column": 12 } } @@ -111410,15 +126652,15 @@ "binop": null, "updateContext": null }, - "start": 19781, - "end": 19782, + "start": 21080, + "end": 21081, "loc": { "start": { - "line": 582, + "line": 633, "column": 12 }, "end": { - "line": 582, + "line": 633, "column": 13 } } @@ -111436,15 +126678,15 @@ "binop": null }, "value": "initialized", - "start": 19782, - "end": 19793, + "start": 21081, + "end": 21092, "loc": { "start": { - "line": 582, + "line": 633, "column": 13 }, "end": { - "line": 582, + "line": 633, "column": 24 } } @@ -111461,15 +126703,15 @@ "postfix": false, "binop": null }, - "start": 19793, - "end": 19794, + "start": 21092, + "end": 21093, "loc": { "start": { - "line": 582, + "line": 633, "column": 24 }, "end": { - "line": 582, + "line": 633, "column": 25 } } @@ -111486,15 +126728,15 @@ "postfix": false, "binop": null }, - "start": 19794, - "end": 19795, + "start": 21093, + "end": 21094, "loc": { "start": { - "line": 582, + "line": 633, "column": 25 }, "end": { - "line": 582, + "line": 633, "column": 26 } } @@ -111502,15 +126744,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 19803, - "end": 19885, + "start": 21102, + "end": 21184, "loc": { "start": { - "line": 583, + "line": 634, "column": 6 }, "end": { - "line": 585, + "line": 636, "column": 9 } } @@ -111530,15 +126772,15 @@ "updateContext": null }, "value": "this", - "start": 19893, - "end": 19897, + "start": 21192, + "end": 21196, "loc": { "start": { - "line": 586, + "line": 637, "column": 6 }, "end": { - "line": 586, + "line": 637, "column": 10 } } @@ -111556,15 +126798,15 @@ "binop": null, "updateContext": null }, - "start": 19897, - "end": 19898, + "start": 21196, + "end": 21197, "loc": { "start": { - "line": 586, + "line": 637, "column": 10 }, "end": { - "line": 586, + "line": 637, "column": 11 } } @@ -111582,15 +126824,15 @@ "binop": null }, "value": "initialized", - "start": 19898, - "end": 19909, + "start": 21197, + "end": 21208, "loc": { "start": { - "line": 586, + "line": 637, "column": 11 }, "end": { - "line": 586, + "line": 637, "column": 22 } } @@ -111609,15 +126851,15 @@ "updateContext": null }, "value": "=", - "start": 19910, - "end": 19911, + "start": 21209, + "end": 21210, "loc": { "start": { - "line": 586, + "line": 637, "column": 23 }, "end": { - "line": 586, + "line": 637, "column": 24 } } @@ -111637,15 +126879,15 @@ "updateContext": null }, "value": "true", - "start": 19912, - "end": 19916, + "start": 21211, + "end": 21215, "loc": { "start": { - "line": 586, + "line": 637, "column": 25 }, "end": { - "line": 586, + "line": 637, "column": 29 } } @@ -111663,15 +126905,15 @@ "binop": null, "updateContext": null }, - "start": 19916, - "end": 19917, + "start": 21215, + "end": 21216, "loc": { "start": { - "line": 586, + "line": 637, "column": 29 }, "end": { - "line": 586, + "line": 637, "column": 30 } } @@ -111679,15 +126921,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 19927, - "end": 19966, + "start": 21226, + "end": 21265, "loc": { "start": { - "line": 588, + "line": 639, "column": 6 }, "end": { - "line": 590, + "line": 641, "column": 9 } } @@ -111707,15 +126949,15 @@ "updateContext": null }, "value": "this", - "start": 19974, - "end": 19978, + "start": 21273, + "end": 21277, "loc": { "start": { - "line": 591, + "line": 642, "column": 6 }, "end": { - "line": 591, + "line": 642, "column": 10 } } @@ -111733,15 +126975,15 @@ "binop": null, "updateContext": null }, - "start": 19978, - "end": 19979, + "start": 21277, + "end": 21278, "loc": { "start": { - "line": 591, + "line": 642, "column": 10 }, "end": { - "line": 591, + "line": 642, "column": 11 } } @@ -111759,15 +127001,15 @@ "binop": null }, "value": "onInit", - "start": 19979, - "end": 19985, + "start": 21278, + "end": 21284, "loc": { "start": { - "line": 591, + "line": 642, "column": 11 }, "end": { - "line": 591, + "line": 642, "column": 17 } } @@ -111784,15 +127026,15 @@ "postfix": false, "binop": null }, - "start": 19985, - "end": 19986, + "start": 21284, + "end": 21285, "loc": { "start": { - "line": 591, + "line": 642, "column": 17 }, "end": { - "line": 591, + "line": 642, "column": 18 } } @@ -111809,15 +127051,15 @@ "postfix": false, "binop": null }, - "start": 19986, - "end": 19987, + "start": 21285, + "end": 21286, "loc": { "start": { - "line": 591, + "line": 642, "column": 18 }, "end": { - "line": 591, + "line": 642, "column": 19 } } @@ -111835,15 +127077,15 @@ "binop": null, "updateContext": null }, - "start": 19987, - "end": 19988, + "start": 21286, + "end": 21287, "loc": { "start": { - "line": 591, + "line": 642, "column": 19 }, "end": { - "line": 591, + "line": 642, "column": 20 } } @@ -111860,15 +127102,15 @@ "postfix": false, "binop": null }, - "start": 19994, - "end": 19995, + "start": 21293, + "end": 21294, "loc": { "start": { - "line": 592, + "line": 643, "column": 4 }, "end": { - "line": 592, + "line": 643, "column": 5 } } @@ -111885,15 +127127,15 @@ "postfix": false, "binop": null }, - "start": 19999, - "end": 20000, + "start": 21298, + "end": 21299, "loc": { "start": { - "line": 593, + "line": 644, "column": 2 }, "end": { - "line": 593, + "line": 644, "column": 3 } } @@ -111910,15 +127152,15 @@ "postfix": false, "binop": null }, - "start": 20002, - "end": 20003, + "start": 21301, + "end": 21302, "loc": { "start": { - "line": 594, + "line": 645, "column": 0 }, "end": { - "line": 594, + "line": 645, "column": 1 } } @@ -111938,15 +127180,15 @@ "updateContext": null }, "value": "export", - "start": 20007, - "end": 20013, + "start": 21306, + "end": 21312, "loc": { "start": { - "line": 596, + "line": 647, "column": 0 }, "end": { - "line": 596, + "line": 647, "column": 6 } } @@ -111966,15 +127208,15 @@ "updateContext": null }, "value": "default", - "start": 20014, - "end": 20021, + "start": 21313, + "end": 21320, "loc": { "start": { - "line": 596, + "line": 647, "column": 7 }, "end": { - "line": 596, + "line": 647, "column": 14 } } @@ -111992,15 +127234,15 @@ "binop": null }, "value": "SimpleKeyboard", - "start": 20022, - "end": 20036, + "start": 21321, + "end": 21335, "loc": { "start": { - "line": 596, + "line": 647, "column": 15 }, "end": { - "line": 596, + "line": 647, "column": 29 } } @@ -112018,15 +127260,15 @@ "binop": null, "updateContext": null }, - "start": 20036, - "end": 20037, + "start": 21335, + "end": 21336, "loc": { "start": { - "line": 596, + "line": 647, "column": 29 }, "end": { - "line": 596, + "line": 647, "column": 30 } } @@ -112044,15 +127286,15 @@ "binop": null, "updateContext": null }, - "start": 20039, - "end": 20039, + "start": 21338, + "end": 21338, "loc": { "start": { - "line": 597, + "line": 648, "column": 0 }, "end": { - "line": 597, + "line": 648, "column": 0 } } diff --git a/docs/ast/source/lib/services/KeyboardLayout.js.json b/docs/ast/source/lib/services/KeyboardLayout.js.json index ca806f70..7f8d6d2c 100644 --- a/docs/ast/source/lib/services/KeyboardLayout.js.json +++ b/docs/ast/source/lib/services/KeyboardLayout.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 755, + "end": 746, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 30 } }, "program": { "type": "Program", "start": 0, - "end": 755, + "end": 746, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 30 } }, @@ -31,14 +31,14 @@ { "type": "Identifier", "start": 38, - "end": 721, + "end": 712, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 1 } }, @@ -64,29 +64,29 @@ "body": { "type": "ClassBody", "start": 59, - "end": 721, + "end": 712, "loc": { "start": { "line": 4, "column": 21 }, "end": { - "line": 28, + "line": 27, "column": 1 } }, "body": [ { - "type": "ClassProperty", - "start": 175, - "end": 718, + "type": "ClassMethod", + "start": 173, + "end": 709, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 27, + "line": 26, "column": 3 } }, @@ -94,414 +94,400 @@ "computed": false, "key": { "type": "Identifier", - "start": 182, - "end": 198, + "start": 180, + "end": 196, "loc": { "start": { - "line": 10, + "line": 9, "column": 9 }, "end": { - "line": 10, + "line": 9, "column": 25 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, - "value": { - "type": "ArrowFunctionExpression", - "start": 201, - "end": 718, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 198, + "end": 709, "loc": { "start": { - "line": 10, - "column": 28 + "line": 9, + "column": 27 }, "end": { - "line": 27, + "line": 26, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 207, - "end": 718, - "loc": { - "start": { - "line": 10, - "column": 34 + "body": [ + { + "type": "ReturnStatement", + "start": 205, + "end": 703, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } }, - "end": { - "line": 27, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 214, - "end": 712, + "argument": { + "type": "ObjectExpression", + "start": 212, + "end": 703, "loc": { "start": { - "line": 11, - "column": 4 + "line": 10, + "column": 11 }, "end": { - "line": 26, + "line": 25, "column": 5 } }, - "argument": { - "type": "ObjectExpression", - "start": 221, - "end": 712, - "loc": { - "start": { - "line": 11, - "column": 11 + "properties": [ + { + "type": "ObjectProperty", + "start": 221, + "end": 456, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 17, + "column": 7 + } }, - "end": { - "line": 26, - "column": 5 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 230, - "end": 465, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 221, + "end": 230, "loc": { "start": { - "line": 12, + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 15 + } + }, + "extra": { + "rawValue": "default", + "raw": "'default'" + }, + "value": "default" + }, + "value": { + "type": "ArrayExpression", + "start": 232, + "end": 456, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 17, + "column": 7 + } + }, + "elements": [ + { + "type": "StringLiteral", + "start": 243, + "end": 277, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 42 + } + }, + "extra": { + "rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", + "raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'" + }, + "value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}" + }, + { + "type": "StringLiteral", + "start": 288, + "end": 322, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 42 + } + }, + "extra": { + "rawValue": "{tab} q w e r t y u i o p [ ] \\", + "raw": "'{tab} q w e r t y u i o p [ ] \\\\'" + }, + "value": "{tab} q w e r t y u i o p [ ] \\" + }, + { + "type": "StringLiteral", + "start": 333, + "end": 372, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 47 + } + }, + "extra": { + "rawValue": "{lock} a s d f g h j k l ; ' {enter}", + "raw": "'{lock} a s d f g h j k l ; \\' {enter}'" + }, + "value": "{lock} a s d f g h j k l ; ' {enter}" + }, + { + "type": "StringLiteral", + "start": 383, + "end": 420, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 45 + } + }, + "extra": { + "rawValue": "{shift} z x c v b n m , . / {shift}", + "raw": "'{shift} z x c v b n m , . / {shift}'" + }, + "value": "{shift} z x c v b n m , . / {shift}" + }, + { + "type": "StringLiteral", + "start": 431, + "end": 447, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "extra": { + "rawValue": ".com @ {space}", + "raw": "'.com @ {space}'" + }, + "value": ".com @ {space}" + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 465, + "end": 696, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 465, + "end": 472, + "loc": { + "start": { + "line": 18, "column": 6 }, "end": { "line": 18, - "column": 7 + "column": 13 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 230, - "end": 239, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 15 - } - }, - "extra": { - "rawValue": "default", - "raw": "'default'" - }, - "value": "default" + "extra": { + "rawValue": "shift", + "raw": "'shift'" }, - "value": { - "type": "ArrayExpression", - "start": 241, - "end": 465, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "elements": [ - { - "type": "StringLiteral", - "start": 252, - "end": 286, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "extra": { - "rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", - "raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'" - }, - "value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}" - }, - { - "type": "StringLiteral", - "start": 297, - "end": 331, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "extra": { - "rawValue": "{tab} q w e r t y u i o p [ ] \\", - "raw": "'{tab} q w e r t y u i o p [ ] \\\\'" - }, - "value": "{tab} q w e r t y u i o p [ ] \\" - }, - { - "type": "StringLiteral", - "start": 342, - "end": 381, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 47 - } - }, - "extra": { - "rawValue": "{lock} a s d f g h j k l ; ' {enter}", - "raw": "'{lock} a s d f g h j k l ; \\' {enter}'" - }, - "value": "{lock} a s d f g h j k l ; ' {enter}" - }, - { - "type": "StringLiteral", - "start": 392, - "end": 429, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 45 - } - }, - "extra": { - "rawValue": "{shift} z x c v b n m , . / {shift}", - "raw": "'{shift} z x c v b n m , . / {shift}'" - }, - "value": "{shift} z x c v b n m , . / {shift}" - }, - { - "type": "StringLiteral", - "start": 440, - "end": 456, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 24 - } - }, - "extra": { - "rawValue": ".com @ {space}", - "raw": "'.com @ {space}'" - }, - "value": ".com @ {space}" - } - ] - } + "value": "shift" }, - { - "type": "ObjectProperty", + "value": { + "type": "ArrayExpression", "start": 474, - "end": 705, + "end": 696, "loc": { "start": { - "line": 19, - "column": 6 + "line": 18, + "column": 15 }, "end": { - "line": 25, + "line": 24, "column": 7 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 474, - "end": 481, - "loc": { - "start": { - "line": 19, - "column": 6 + "elements": [ + { + "type": "StringLiteral", + "start": 485, + "end": 519, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 42 + } }, - "end": { - "line": 19, - "column": 13 - } + "extra": { + "rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}", + "raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'" + }, + "value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}" }, - "extra": { - "rawValue": "shift", - "raw": "'shift'" + { + "type": "StringLiteral", + "start": 530, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 41 + } + }, + "extra": { + "rawValue": "{tab} Q W E R T Y U I O P { } |", + "raw": "'{tab} Q W E R T Y U I O P { } |'" + }, + "value": "{tab} Q W E R T Y U I O P { } |" }, - "value": "shift" - }, - "value": { - "type": "ArrayExpression", - "start": 483, - "end": 705, - "loc": { - "start": { - "line": 19, - "column": 15 + { + "type": "StringLiteral", + "start": 574, + "end": 612, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 46 + } }, - "end": { - "line": 25, - "column": 7 - } + "extra": { + "rawValue": "{lock} A S D F G H J K L : \" {enter}", + "raw": "'{lock} A S D F G H J K L : \" {enter}'" + }, + "value": "{lock} A S D F G H J K L : \" {enter}" }, - "elements": [ - { - "type": "StringLiteral", - "start": 494, - "end": 528, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 42 - } + { + "type": "StringLiteral", + "start": 623, + "end": 660, + "loc": { + "start": { + "line": 22, + "column": 8 }, - "extra": { - "rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}", - "raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'" - }, - "value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}" + "end": { + "line": 22, + "column": 45 + } }, - { - "type": "StringLiteral", - "start": 539, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 41 - } - }, - "extra": { - "rawValue": "{tab} Q W E R T Y U I O P { } |", - "raw": "'{tab} Q W E R T Y U I O P { } |'" - }, - "value": "{tab} Q W E R T Y U I O P { } |" + "extra": { + "rawValue": "{shift} Z X C V B N M < > ? {shift}", + "raw": "'{shift} Z X C V B N M < > ? {shift}'" }, - { - "type": "StringLiteral", - "start": 583, - "end": 621, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 46 - } + "value": "{shift} Z X C V B N M < > ? {shift}" + }, + { + "type": "StringLiteral", + "start": 671, + "end": 687, + "loc": { + "start": { + "line": 23, + "column": 8 }, - "extra": { - "rawValue": "{lock} A S D F G H J K L : \" {enter}", - "raw": "'{lock} A S D F G H J K L : \" {enter}'" - }, - "value": "{lock} A S D F G H J K L : \" {enter}" + "end": { + "line": 23, + "column": 24 + } }, - { - "type": "StringLiteral", - "start": 632, - "end": 669, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 45 - } - }, - "extra": { - "rawValue": "{shift} Z X C V B N M < > ? {shift}", - "raw": "'{shift} Z X C V B N M < > ? {shift}'" - }, - "value": "{shift} Z X C V B N M < > ? {shift}" + "extra": { + "rawValue": ".com @ {space}", + "raw": "'.com @ {space}'" }, - { - "type": "StringLiteral", - "start": 680, - "end": 696, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 24 - } - }, - "extra": { - "rawValue": ".com @ {space}", - "raw": "'.com @ {space}'" - }, - "value": ".com @ {space}" - } - ] - } + "value": ".com @ {space}" + } + ] } - ] - } + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ", - "start": 66, - "end": 171, + "start": 64, + "end": 169, "loc": { "start": { - "line": 6, + "line": 5, "column": 2 }, "end": { - "line": 9, + "line": 8, "column": 5 } } @@ -516,29 +502,29 @@ }, { "type": "Identifier", - "start": 725, - "end": 755, + "start": 716, + "end": 746, "loc": { "start": { - "line": 30, + "line": 29, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 30 } }, "declaration": { "type": "Identifier", - "start": 740, - "end": 754, + "start": 731, + "end": 745, "loc": { "start": { - "line": 30, + "line": 29, "column": 15 }, "end": { - "line": 30, + "line": 29, "column": 29 }, "identifierName": "KeyboardLayout" @@ -551,29 +537,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 725, - "end": 755, + "start": 716, + "end": 746, "loc": { "start": { - "line": 30, + "line": 29, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 38, - "end": 721, + "end": 712, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 1 } }, @@ -599,29 +585,29 @@ "body": { "type": "ClassBody", "start": 59, - "end": 721, + "end": 712, "loc": { "start": { "line": 4, "column": 21 }, "end": { - "line": 28, + "line": 27, "column": 1 } }, "body": [ { - "type": "ClassProperty", - "start": 175, - "end": 718, + "type": "ClassMethod", + "start": 173, + "end": 709, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 27, + "line": 26, "column": 3 } }, @@ -629,414 +615,400 @@ "computed": false, "key": { "type": "Identifier", - "start": 182, - "end": 198, + "start": 180, + "end": 196, "loc": { "start": { - "line": 10, + "line": 9, "column": 9 }, "end": { - "line": 10, + "line": 9, "column": 25 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, - "value": { - "type": "ArrowFunctionExpression", - "start": 201, - "end": 718, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 198, + "end": 709, "loc": { "start": { - "line": 10, - "column": 28 + "line": 9, + "column": 27 }, "end": { - "line": 27, + "line": 26, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 207, - "end": 718, - "loc": { - "start": { - "line": 10, - "column": 34 + "body": [ + { + "type": "ReturnStatement", + "start": 205, + "end": 703, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } }, - "end": { - "line": 27, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 214, - "end": 712, + "argument": { + "type": "ObjectExpression", + "start": 212, + "end": 703, "loc": { "start": { - "line": 11, - "column": 4 + "line": 10, + "column": 11 }, "end": { - "line": 26, + "line": 25, "column": 5 } }, - "argument": { - "type": "ObjectExpression", - "start": 221, - "end": 712, - "loc": { - "start": { - "line": 11, - "column": 11 + "properties": [ + { + "type": "ObjectProperty", + "start": 221, + "end": 456, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 17, + "column": 7 + } }, - "end": { - "line": 26, - "column": 5 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 230, - "end": 465, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 221, + "end": 230, "loc": { "start": { - "line": 12, + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 15 + } + }, + "extra": { + "rawValue": "default", + "raw": "'default'" + }, + "value": "default" + }, + "value": { + "type": "ArrayExpression", + "start": 232, + "end": 456, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 17, + "column": 7 + } + }, + "elements": [ + { + "type": "StringLiteral", + "start": 243, + "end": 277, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 42 + } + }, + "extra": { + "rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", + "raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'" + }, + "value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}" + }, + { + "type": "StringLiteral", + "start": 288, + "end": 322, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 42 + } + }, + "extra": { + "rawValue": "{tab} q w e r t y u i o p [ ] \\", + "raw": "'{tab} q w e r t y u i o p [ ] \\\\'" + }, + "value": "{tab} q w e r t y u i o p [ ] \\" + }, + { + "type": "StringLiteral", + "start": 333, + "end": 372, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 47 + } + }, + "extra": { + "rawValue": "{lock} a s d f g h j k l ; ' {enter}", + "raw": "'{lock} a s d f g h j k l ; \\' {enter}'" + }, + "value": "{lock} a s d f g h j k l ; ' {enter}" + }, + { + "type": "StringLiteral", + "start": 383, + "end": 420, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 45 + } + }, + "extra": { + "rawValue": "{shift} z x c v b n m , . / {shift}", + "raw": "'{shift} z x c v b n m , . / {shift}'" + }, + "value": "{shift} z x c v b n m , . / {shift}" + }, + { + "type": "StringLiteral", + "start": 431, + "end": 447, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "extra": { + "rawValue": ".com @ {space}", + "raw": "'.com @ {space}'" + }, + "value": ".com @ {space}" + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 465, + "end": 696, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 465, + "end": 472, + "loc": { + "start": { + "line": 18, "column": 6 }, "end": { "line": 18, - "column": 7 + "column": 13 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 230, - "end": 239, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 15 - } - }, - "extra": { - "rawValue": "default", - "raw": "'default'" - }, - "value": "default" + "extra": { + "rawValue": "shift", + "raw": "'shift'" }, - "value": { - "type": "ArrayExpression", - "start": 241, - "end": 465, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "elements": [ - { - "type": "StringLiteral", - "start": 252, - "end": 286, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "extra": { - "rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", - "raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'" - }, - "value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}" - }, - { - "type": "StringLiteral", - "start": 297, - "end": 331, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "extra": { - "rawValue": "{tab} q w e r t y u i o p [ ] \\", - "raw": "'{tab} q w e r t y u i o p [ ] \\\\'" - }, - "value": "{tab} q w e r t y u i o p [ ] \\" - }, - { - "type": "StringLiteral", - "start": 342, - "end": 381, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 47 - } - }, - "extra": { - "rawValue": "{lock} a s d f g h j k l ; ' {enter}", - "raw": "'{lock} a s d f g h j k l ; \\' {enter}'" - }, - "value": "{lock} a s d f g h j k l ; ' {enter}" - }, - { - "type": "StringLiteral", - "start": 392, - "end": 429, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 45 - } - }, - "extra": { - "rawValue": "{shift} z x c v b n m , . / {shift}", - "raw": "'{shift} z x c v b n m , . / {shift}'" - }, - "value": "{shift} z x c v b n m , . / {shift}" - }, - { - "type": "StringLiteral", - "start": 440, - "end": 456, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 24 - } - }, - "extra": { - "rawValue": ".com @ {space}", - "raw": "'.com @ {space}'" - }, - "value": ".com @ {space}" - } - ] - } + "value": "shift" }, - { - "type": "ObjectProperty", + "value": { + "type": "ArrayExpression", "start": 474, - "end": 705, + "end": 696, "loc": { "start": { - "line": 19, - "column": 6 + "line": 18, + "column": 15 }, "end": { - "line": 25, + "line": 24, "column": 7 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 474, - "end": 481, - "loc": { - "start": { - "line": 19, - "column": 6 + "elements": [ + { + "type": "StringLiteral", + "start": 485, + "end": 519, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 42 + } }, - "end": { - "line": 19, - "column": 13 - } + "extra": { + "rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}", + "raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'" + }, + "value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}" }, - "extra": { - "rawValue": "shift", - "raw": "'shift'" + { + "type": "StringLiteral", + "start": 530, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 41 + } + }, + "extra": { + "rawValue": "{tab} Q W E R T Y U I O P { } |", + "raw": "'{tab} Q W E R T Y U I O P { } |'" + }, + "value": "{tab} Q W E R T Y U I O P { } |" }, - "value": "shift" - }, - "value": { - "type": "ArrayExpression", - "start": 483, - "end": 705, - "loc": { - "start": { - "line": 19, - "column": 15 + { + "type": "StringLiteral", + "start": 574, + "end": 612, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 46 + } }, - "end": { - "line": 25, - "column": 7 - } + "extra": { + "rawValue": "{lock} A S D F G H J K L : \" {enter}", + "raw": "'{lock} A S D F G H J K L : \" {enter}'" + }, + "value": "{lock} A S D F G H J K L : \" {enter}" }, - "elements": [ - { - "type": "StringLiteral", - "start": 494, - "end": 528, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 42 - } + { + "type": "StringLiteral", + "start": 623, + "end": 660, + "loc": { + "start": { + "line": 22, + "column": 8 }, - "extra": { - "rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}", - "raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'" - }, - "value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}" + "end": { + "line": 22, + "column": 45 + } }, - { - "type": "StringLiteral", - "start": 539, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 41 - } - }, - "extra": { - "rawValue": "{tab} Q W E R T Y U I O P { } |", - "raw": "'{tab} Q W E R T Y U I O P { } |'" - }, - "value": "{tab} Q W E R T Y U I O P { } |" + "extra": { + "rawValue": "{shift} Z X C V B N M < > ? {shift}", + "raw": "'{shift} Z X C V B N M < > ? {shift}'" }, - { - "type": "StringLiteral", - "start": 583, - "end": 621, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 46 - } + "value": "{shift} Z X C V B N M < > ? {shift}" + }, + { + "type": "StringLiteral", + "start": 671, + "end": 687, + "loc": { + "start": { + "line": 23, + "column": 8 }, - "extra": { - "rawValue": "{lock} A S D F G H J K L : \" {enter}", - "raw": "'{lock} A S D F G H J K L : \" {enter}'" - }, - "value": "{lock} A S D F G H J K L : \" {enter}" + "end": { + "line": 23, + "column": 24 + } }, - { - "type": "StringLiteral", - "start": 632, - "end": 669, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 45 - } - }, - "extra": { - "rawValue": "{shift} Z X C V B N M < > ? {shift}", - "raw": "'{shift} Z X C V B N M < > ? {shift}'" - }, - "value": "{shift} Z X C V B N M < > ? {shift}" + "extra": { + "rawValue": ".com @ {space}", + "raw": "'.com @ {space}'" }, - { - "type": "StringLiteral", - "start": 680, - "end": 696, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 24 - } - }, - "extra": { - "rawValue": ".com @ {space}", - "raw": "'.com @ {space}'" - }, - "value": ".com @ {space}" - } - ] - } + "value": ".com @ {space}" + } + ] } - ] - } + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ", - "start": 66, - "end": 171, + "start": 64, + "end": 169, "loc": { "start": { - "line": 6, + "line": 5, "column": 2 }, "end": { - "line": 9, + "line": 8, "column": 5 } } @@ -1091,15 +1063,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ", - "start": 66, - "end": 171, + "start": 64, + "end": 169, "loc": { "start": { - "line": 6, + "line": 5, "column": 2 }, "end": { - "line": 9, + "line": 8, "column": 5 } } @@ -1204,15 +1176,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ", - "start": 66, - "end": 171, + "start": 64, + "end": 169, "loc": { "start": { - "line": 6, + "line": 5, "column": 2 }, "end": { - "line": 9, + "line": 8, "column": 5 } } @@ -1230,15 +1202,15 @@ "binop": null }, "value": "static", - "start": 175, - "end": 181, + "start": 173, + "end": 179, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 10, + "line": 9, "column": 8 } } @@ -1256,46 +1228,19 @@ "binop": null }, "value": "getDefaultLayout", - "start": 182, - "end": 198, + "start": 180, + "end": 196, "loc": { "start": { - "line": 10, + "line": 9, "column": 9 }, "end": { - "line": 10, + "line": 9, "column": 25 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 199, - "end": 200, - "loc": { - "start": { - "line": 10, - "column": 26 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, { "type": { "label": "(", @@ -1308,16 +1253,16 @@ "postfix": false, "binop": null }, - "start": 201, - "end": 202, + "start": 196, + "end": 197, "loc": { "start": { - "line": 10, - "column": 28 + "line": 9, + "column": 25 }, "end": { - "line": 10, - "column": 29 + "line": 9, + "column": 26 } } }, @@ -1333,42 +1278,16 @@ "postfix": false, "binop": null }, - "start": 202, - "end": 203, + "start": 197, + "end": 198, "loc": { "start": { - "line": 10, - "column": 29 + "line": 9, + "column": 26 }, "end": { - "line": 10, - "column": 30 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 204, - "end": 206, - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 + "line": 9, + "column": 27 } } }, @@ -1384,16 +1303,16 @@ "postfix": false, "binop": null }, - "start": 207, - "end": 208, + "start": 198, + "end": 199, "loc": { "start": { - "line": 10, - "column": 34 + "line": 9, + "column": 27 }, "end": { - "line": 10, - "column": 35 + "line": 9, + "column": 28 } } }, @@ -1412,15 +1331,15 @@ "updateContext": null }, "value": "return", - "start": 214, - "end": 220, + "start": 205, + "end": 211, "loc": { "start": { - "line": 11, + "line": 10, "column": 4 }, "end": { - "line": 11, + "line": 10, "column": 10 } } @@ -1437,15 +1356,15 @@ "postfix": false, "binop": null }, - "start": 221, - "end": 222, + "start": 212, + "end": 213, "loc": { "start": { - "line": 11, + "line": 10, "column": 11 }, "end": { - "line": 11, + "line": 10, "column": 12 } } @@ -1464,15 +1383,15 @@ "updateContext": null }, "value": "default", - "start": 230, - "end": 239, + "start": 221, + "end": 230, "loc": { "start": { - "line": 12, + "line": 11, "column": 6 }, "end": { - "line": 12, + "line": 11, "column": 15 } } @@ -1490,15 +1409,15 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 230, + "end": 231, "loc": { "start": { - "line": 12, + "line": 11, "column": 15 }, "end": { - "line": 12, + "line": 11, "column": 16 } } @@ -1516,15 +1435,15 @@ "binop": null, "updateContext": null }, - "start": 241, - "end": 242, + "start": 232, + "end": 233, "loc": { "start": { - "line": 12, + "line": 11, "column": 17 }, "end": { - "line": 12, + "line": 11, "column": 18 } } @@ -1543,15 +1462,15 @@ "updateContext": null }, "value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", - "start": 252, - "end": 286, + "start": 243, + "end": 277, "loc": { "start": { - "line": 13, + "line": 12, "column": 8 }, "end": { - "line": 13, + "line": 12, "column": 42 } } @@ -1569,15 +1488,15 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 277, + "end": 278, "loc": { "start": { - "line": 13, + "line": 12, "column": 42 }, "end": { - "line": 13, + "line": 12, "column": 43 } } @@ -1596,15 +1515,15 @@ "updateContext": null }, "value": "{tab} q w e r t y u i o p [ ] \\", - "start": 297, - "end": 331, + "start": 288, + "end": 322, "loc": { "start": { - "line": 14, + "line": 13, "column": 8 }, "end": { - "line": 14, + "line": 13, "column": 42 } } @@ -1622,15 +1541,15 @@ "binop": null, "updateContext": null }, - "start": 331, - "end": 332, + "start": 322, + "end": 323, "loc": { "start": { - "line": 14, + "line": 13, "column": 42 }, "end": { - "line": 14, + "line": 13, "column": 43 } } @@ -1649,15 +1568,15 @@ "updateContext": null }, "value": "{lock} a s d f g h j k l ; ' {enter}", - "start": 342, - "end": 381, + "start": 333, + "end": 372, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, + "line": 14, "column": 47 } } @@ -1675,15 +1594,15 @@ "binop": null, "updateContext": null }, - "start": 381, - "end": 382, + "start": 372, + "end": 373, "loc": { "start": { - "line": 15, + "line": 14, "column": 47 }, "end": { - "line": 15, + "line": 14, "column": 48 } } @@ -1702,15 +1621,15 @@ "updateContext": null }, "value": "{shift} z x c v b n m , . / {shift}", - "start": 392, - "end": 429, + "start": 383, + "end": 420, "loc": { "start": { - "line": 16, + "line": 15, "column": 8 }, "end": { - "line": 16, + "line": 15, "column": 45 } } @@ -1728,15 +1647,15 @@ "binop": null, "updateContext": null }, - "start": 429, - "end": 430, + "start": 420, + "end": 421, "loc": { "start": { - "line": 16, + "line": 15, "column": 45 }, "end": { - "line": 16, + "line": 15, "column": 46 } } @@ -1755,15 +1674,15 @@ "updateContext": null }, "value": ".com @ {space}", - "start": 440, - "end": 456, + "start": 431, + "end": 447, "loc": { "start": { - "line": 17, + "line": 16, "column": 8 }, "end": { - "line": 17, + "line": 16, "column": 24 } } @@ -1781,15 +1700,15 @@ "binop": null, "updateContext": null }, - "start": 464, - "end": 465, + "start": 455, + "end": 456, "loc": { "start": { - "line": 18, + "line": 17, "column": 6 }, "end": { - "line": 18, + "line": 17, "column": 7 } } @@ -1807,15 +1726,15 @@ "binop": null, "updateContext": null }, - "start": 465, - "end": 466, + "start": 456, + "end": 457, "loc": { "start": { - "line": 18, + "line": 17, "column": 7 }, "end": { - "line": 18, + "line": 17, "column": 8 } } @@ -1834,15 +1753,15 @@ "updateContext": null }, "value": "shift", - "start": 474, - "end": 481, + "start": 465, + "end": 472, "loc": { "start": { - "line": 19, + "line": 18, "column": 6 }, "end": { - "line": 19, + "line": 18, "column": 13 } } @@ -1860,15 +1779,15 @@ "binop": null, "updateContext": null }, - "start": 481, - "end": 482, + "start": 472, + "end": 473, "loc": { "start": { - "line": 19, + "line": 18, "column": 13 }, "end": { - "line": 19, + "line": 18, "column": 14 } } @@ -1886,15 +1805,15 @@ "binop": null, "updateContext": null }, - "start": 483, - "end": 484, + "start": 474, + "end": 475, "loc": { "start": { - "line": 19, + "line": 18, "column": 15 }, "end": { - "line": 19, + "line": 18, "column": 16 } } @@ -1913,15 +1832,15 @@ "updateContext": null }, "value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}", - "start": 494, - "end": 528, + "start": 485, + "end": 519, "loc": { "start": { - "line": 20, + "line": 19, "column": 8 }, "end": { - "line": 20, + "line": 19, "column": 42 } } @@ -1939,15 +1858,15 @@ "binop": null, "updateContext": null }, - "start": 528, - "end": 529, + "start": 519, + "end": 520, "loc": { "start": { - "line": 20, + "line": 19, "column": 42 }, "end": { - "line": 20, + "line": 19, "column": 43 } } @@ -1966,15 +1885,15 @@ "updateContext": null }, "value": "{tab} Q W E R T Y U I O P { } |", - "start": 539, - "end": 572, + "start": 530, + "end": 563, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, + "line": 20, "column": 41 } } @@ -1992,15 +1911,15 @@ "binop": null, "updateContext": null }, - "start": 572, - "end": 573, + "start": 563, + "end": 564, "loc": { "start": { - "line": 21, + "line": 20, "column": 41 }, "end": { - "line": 21, + "line": 20, "column": 42 } } @@ -2019,15 +1938,15 @@ "updateContext": null }, "value": "{lock} A S D F G H J K L : \" {enter}", - "start": 583, - "end": 621, + "start": 574, + "end": 612, "loc": { "start": { - "line": 22, + "line": 21, "column": 8 }, "end": { - "line": 22, + "line": 21, "column": 46 } } @@ -2045,15 +1964,15 @@ "binop": null, "updateContext": null }, - "start": 621, - "end": 622, + "start": 612, + "end": 613, "loc": { "start": { - "line": 22, + "line": 21, "column": 46 }, "end": { - "line": 22, + "line": 21, "column": 47 } } @@ -2072,15 +1991,15 @@ "updateContext": null }, "value": "{shift} Z X C V B N M < > ? {shift}", - "start": 632, - "end": 669, + "start": 623, + "end": 660, "loc": { "start": { - "line": 23, + "line": 22, "column": 8 }, "end": { - "line": 23, + "line": 22, "column": 45 } } @@ -2098,15 +2017,15 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 660, + "end": 661, "loc": { "start": { - "line": 23, + "line": 22, "column": 45 }, "end": { - "line": 23, + "line": 22, "column": 46 } } @@ -2125,15 +2044,15 @@ "updateContext": null }, "value": ".com @ {space}", - "start": 680, - "end": 696, + "start": 671, + "end": 687, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, + "line": 23, "column": 24 } } @@ -2151,19 +2070,69 @@ "binop": null, "updateContext": null }, - "start": 704, - "end": 705, + "start": 695, + "end": 696, "loc": { "start": { - "line": 25, + "line": 24, "column": 6 }, "end": { - "line": 25, + "line": 24, "column": 7 } } }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 702, + "end": 703, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 708, + "end": 709, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, { "type": { "label": "}", @@ -2178,63 +2147,13 @@ }, "start": 711, "end": 712, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 717, - "end": 718, "loc": { "start": { "line": 27, - "column": 2 - }, - "end": { - "line": 27, - "column": 3 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 720, - "end": 721, - "loc": { - "start": { - "line": 28, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 1 } } @@ -2254,15 +2173,15 @@ "updateContext": null }, "value": "export", - "start": 725, - "end": 731, + "start": 716, + "end": 722, "loc": { "start": { - "line": 30, + "line": 29, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 6 } } @@ -2282,15 +2201,15 @@ "updateContext": null }, "value": "default", - "start": 732, - "end": 739, + "start": 723, + "end": 730, "loc": { "start": { - "line": 30, + "line": 29, "column": 7 }, "end": { - "line": 30, + "line": 29, "column": 14 } } @@ -2308,15 +2227,15 @@ "binop": null }, "value": "KeyboardLayout", - "start": 740, - "end": 754, + "start": 731, + "end": 745, "loc": { "start": { - "line": 30, + "line": 29, "column": 15 }, "end": { - "line": 30, + "line": 29, "column": 29 } } @@ -2334,15 +2253,15 @@ "binop": null, "updateContext": null }, - "start": 754, - "end": 755, + "start": 745, + "end": 746, "loc": { "start": { - "line": 30, + "line": 29, "column": 29 }, "end": { - "line": 30, + "line": 29, "column": 30 } } @@ -2360,15 +2279,15 @@ "binop": null, "updateContext": null }, - "start": 755, - "end": 755, + "start": 746, + "end": 746, "loc": { "start": { - "line": 30, + "line": 29, "column": 30 }, "end": { - "line": 30, + "line": 29, "column": 30 } } diff --git a/docs/ast/source/lib/services/PhysicalKeyboard.js.json b/docs/ast/source/lib/services/PhysicalKeyboard.js.json index 5b07c02a..1a608f50 100644 --- a/docs/ast/source/lib/services/PhysicalKeyboard.js.json +++ b/docs/ast/source/lib/services/PhysicalKeyboard.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2651, + "end": 2879, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 88, + "line": 97, "column": 32 } }, "program": { "type": "Program", "start": 0, - "end": 2651, + "end": 2879, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 88, + "line": 97, "column": 32 } }, @@ -31,14 +31,14 @@ { "type": "Identifier", "start": 40, - "end": 2615, + "end": 2843, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 86, + "line": 95, "column": 1 } }, @@ -64,14 +64,14 @@ "body": { "type": "ClassBody", "start": 63, - "end": 2615, + "end": 2843, "loc": { "start": { "line": 4, "column": 23 }, "end": { - "line": 86, + "line": 95, "column": 1 } }, @@ -79,14 +79,14 @@ { "type": "ClassMethod", "start": 140, - "end": 344, + "end": 586, "loc": { "start": { "line": 8, "column": 2 }, "end": { - "line": 15, + "line": 24, "column": 3 } }, @@ -137,14 +137,14 @@ "body": { "type": "BlockStatement", "start": 175, - "end": 344, + "end": 586, "loc": { "start": { "line": 8, "column": 37 }, "end": { - "line": 15, + "line": 24, "column": 3 } }, @@ -264,86 +264,548 @@ } } } - ] - }, - { - "type": "ExpressionStatement", - "start": 311, - "end": 339, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 32 - } - }, - "expression": { - "type": "CallExpression", - "start": 311, - "end": 338, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", "start": 311, - "end": 336, + "end": 340, "loc": { "start": { "line": 14, "column": 4 }, "end": { - "line": 14, + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 346, + "end": 411, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 346, + "end": 410, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 346, + "end": 371, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 311, - "end": 315, + "start": 346, + "end": 350, "loc": { "start": { - "line": 14, + "line": 17, "column": 4 }, "end": { - "line": 14, + "line": 17, "column": 8 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 316, - "end": 336, + "start": 351, + "end": 371, "loc": { "start": { - "line": 14, + "line": 17, "column": 9 }, "end": { - "line": 14, + "line": 17, "column": 29 }, "identifierName": "initKeyboardListener" }, "name": "initKeyboardListener" }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 374, + "end": 410, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 374, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 374, + "end": 399, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 374, + "end": 378, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 379, + "end": 399, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 57 + }, + "identifierName": "initKeyboardListener" + }, + "name": "initKeyboardListener" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 400, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 62 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 405, + "end": 409, + "loc": { + "start": { + "line": 17, + "column": 63 + }, + "end": { + "line": 17, + "column": 67 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 311, + "end": 340, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 417, + "end": 494, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 417, + "end": 493, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 417, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 417, + "end": 421, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 422, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 35 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, "computed": false }, - "arguments": [] - } + "right": { + "type": "CallExpression", + "start": 451, + "end": 493, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 451, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 451, + "end": 482, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 69 + } + }, + "object": { + "type": "ThisExpression", + "start": 451, + "end": 455, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "start": 456, + "end": 482, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 69 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 483, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 70 + }, + "end": { + "line": 18, + "column": 74 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 488, + "end": 492, + "loc": { + "start": { + "line": 18, + "column": 75 + }, + "end": { + "line": 18, + "column": 79 + } + } + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 553, + "end": 581, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 553, + "end": 580, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 553, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 558, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 29 + }, + "identifierName": "initKeyboardListener" + }, + "name": "initKeyboardListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ] } ], "directives": [], @@ -371,15 +833,15 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes key event listeners\r\n ", - "start": 350, - "end": 398, + "start": 592, + "end": 640, "loc": { "start": { - "line": 17, + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 28, "column": 5 } } @@ -387,16 +849,16 @@ ] }, { - "type": "ClassProperty", - "start": 402, - "end": 1718, + "type": "ClassMethod", + "start": 644, + "end": 1953, "loc": { "start": { - "line": 20, + "line": 29, "column": 2 }, "end": { - "line": 51, + "line": 60, "column": 3 } }, @@ -404,15 +866,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 402, - "end": 422, + "start": 644, + "end": 664, "loc": { "start": { - "line": 20, + "line": 29, "column": 2 }, "end": { - "line": 20, + "line": 29, "column": 22 }, "identifierName": "initKeyboardListener" @@ -420,2540 +882,1024 @@ "name": "initKeyboardListener", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 425, - "end": 1718, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 666, + "end": 1953, "loc": { "start": { - "line": 20, - "column": 25 + "line": 29, + "column": 24 }, "end": { - "line": 51, + "line": 60, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 431, - "end": 1718, - "loc": { - "start": { - "line": 20, - "column": 31 + "body": [ + { + "type": "ExpressionStatement", + "start": 712, + "end": 1408, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 44, + "column": 7 + } }, - "end": { - "line": 51, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 477, - "end": 1173, + "expression": { + "type": "CallExpression", + "start": 712, + "end": 1407, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 35, - "column": 7 + "line": 44, + "column": 6 } }, - "expression": { - "type": "CallExpression", - "start": 477, - "end": 1172, + "callee": { + "type": "MemberExpression", + "start": 712, + "end": 737, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 35, - "column": 6 + "line": 31, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 477, - "end": 502, + "object": { + "type": "Identifier", + "start": 712, + "end": 720, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 22, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 477, - "end": 485, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 12 - }, - "identifierName": "document" + "line": 31, + "column": 12 }, - "name": "document", - "leadingComments": null + "identifierName": "document" }, - "property": { - "type": "Identifier", - "start": 486, - "end": 502, - "loc": { - "start": { - "line": 22, - "column": 13 - }, - "end": { - "line": 22, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false, + "name": "document", "leadingComments": null }, - "arguments": [ - { - "type": "StringLiteral", - "start": 503, - "end": 512, - "loc": { - "start": { - "line": 22, - "column": 30 - }, - "end": { - "line": 22, - "column": 39 - } + "property": { + "type": "Identifier", + "start": 721, + "end": 737, + "loc": { + "start": { + "line": 31, + "column": 13 }, - "extra": { - "rawValue": "keydown", - "raw": "\"keydown\"" + "end": { + "line": 31, + "column": 29 }, - "value": "keydown" + "identifierName": "addEventListener" }, - { - "type": "ArrowFunctionExpression", - "start": 514, - "end": 1171, + "name": "addEventListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 738, + "end": 747, + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 39 + } + }, + "extra": { + "rawValue": "keydown", + "raw": "\"keydown\"" + }, + "value": "keydown" + }, + { + "type": "ArrowFunctionExpression", + "start": 749, + "end": 1406, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 44, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 750, + "end": 755, + "loc": { + "start": { + "line": 31, + "column": 42 + }, + "end": { + "line": 31, + "column": 47 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 760, + "end": 1406, "loc": { "start": { - "line": 22, - "column": 41 + "line": 31, + "column": 52 }, "end": { - "line": 35, + "line": 44, "column": 5 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 515, - "end": 520, + "type": "IfStatement", + "start": 769, + "end": 1399, "loc": { "start": { - "line": 22, - "column": 42 + "line": 32, + "column": 6 }, "end": { - "line": 22, - "column": 47 - }, - "identifierName": "event" + "line": 43, + "column": 7 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 525, - "end": 1171, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 35, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 534, - "end": 1164, + "test": { + "type": "MemberExpression", + "start": 772, + "end": 833, "loc": { "start": { - "line": 23, - "column": 6 + "line": 32, + "column": 9 }, "end": { - "line": 34, - "column": 7 + "line": 32, + "column": 70 } }, - "test": { + "object": { "type": "MemberExpression", - "start": 537, - "end": 598, + "start": 772, + "end": 807, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 70 + "line": 32, + "column": 44 } }, "object": { "type": "MemberExpression", - "start": 537, - "end": 572, + "start": 772, + "end": 799, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 44 + "line": 32, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 537, - "end": 564, + "type": "ThisExpression", + "start": 772, + "end": 776, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 36 + "line": 32, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 537, - "end": 541, - "loc": { - "start": { - "line": 23, - "column": 9 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 542, - "end": 564, - "loc": { - "start": { - "line": 23, - "column": 14 - }, - "end": { - "line": 23, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 565, - "end": 572, + "start": 777, + "end": 799, "loc": { "start": { - "line": 23, - "column": 37 + "line": 32, + "column": 14 }, "end": { - "line": 23, - "column": 44 + "line": 32, + "column": 36 }, - "identifierName": "options" + "identifierName": "simpleKeyboardInstance" }, - "name": "options" + "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", - "start": 573, - "end": 598, + "start": 800, + "end": 807, "loc": { "start": { - "line": 23, - "column": 45 + "line": 32, + "column": 37 }, "end": { - "line": 23, - "column": 70 + "line": 32, + "column": 44 }, - "identifierName": "physicalKeyboardHighlight" + "identifierName": "options" }, - "name": "physicalKeyboardHighlight" + "name": "options" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 599, - "end": 1164, + "property": { + "type": "Identifier", + "start": 808, + "end": 833, "loc": { "start": { - "line": 23, - "column": 71 + "line": 32, + "column": 45 }, "end": { - "line": 34, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 610, - "end": 669, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 67 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 614, - "end": 668, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 66 - } - }, - "id": { - "type": "Identifier", - "start": 614, - "end": 627, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 25 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - }, - "init": { - "type": "CallExpression", - "start": 630, - "end": 668, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 630, - "end": 661, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 59 - } - }, - "object": { - "type": "ThisExpression", - "start": 630, - "end": 634, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 635, - "end": 661, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 59 - }, - "identifierName": "getSimpleKeyboardLayoutKey" - }, - "name": "getSimpleKeyboardLayoutKey" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 662, - "end": 667, - "loc": { - "start": { - "line": 24, - "column": 60 - }, - "end": { - "line": 24, - "column": 65 - }, - "identifierName": "event" - }, - "name": "event" - } - ] - } - } - ], - "kind": "let" + "line": 32, + "column": 70 }, - { - "type": "ExpressionStatement", - "start": 681, - "end": 1155, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 33, - "column": 11 - } + "identifierName": "physicalKeyboardHighlight" + }, + "name": "physicalKeyboardHighlight" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 834, + "end": 1399, + "loc": { + "start": { + "line": 32, + "column": 71 + }, + "end": { + "line": 43, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 845, + "end": 904, + "loc": { + "start": { + "line": 33, + "column": 8 }, - "expression": { - "type": "CallExpression", - "start": 681, - "end": 1154, + "end": { + "line": 33, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 849, + "end": 903, "loc": { "start": { - "line": 26, - "column": 8 + "line": 33, + "column": 12 }, "end": { "line": 33, - "column": 10 + "column": 66 } }, - "callee": { - "type": "MemberExpression", - "start": 681, - "end": 717, + "id": { + "type": "Identifier", + "start": 849, + "end": 862, "loc": { "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 681, - "end": 708, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 681, - "end": 685, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 686, - "end": 708, - "loc": { - "start": { - "line": 26, - "column": 13 - }, - "end": { - "line": 26, - "column": 35 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 709, - "end": 717, - "loc": { - "start": { - "line": 26, - "column": 36 - }, - "end": { - "line": 26, - "column": 44 - }, - "identifierName": "dispatch" - }, - "name": "dispatch" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 718, - "end": 1153, - "loc": { - "start": { - "line": 26, - "column": 45 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 718, - "end": 726, - "loc": { - "start": { - "line": 26, - "column": 45 - }, - "end": { - "line": 26, - "column": 53 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 730, - "end": 1153, - "loc": { - "start": { - "line": 26, - "column": 57 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 743, - "end": 851, - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 118 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 747, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "id": { - "type": "Identifier", - "start": 747, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 23 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "init": { - "type": "LogicalExpression", - "start": 759, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "left": { - "type": "CallExpression", - "start": 759, - "end": 799, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 759, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 759, - "end": 767, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 34 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 768, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 51 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 785, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 52 - }, - "end": { - "line": 27, - "column": 65 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ] - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 803, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "callee": { - "type": "MemberExpression", - "start": 803, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 95 - } - }, - "object": { - "type": "Identifier", - "start": 803, - "end": 811, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 78 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 812, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 79 - }, - "end": { - "line": 27, - "column": 95 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 829, - "end": 849, - "loc": { - "start": { - "line": 27, - "column": 96 - }, - "end": { - "line": 27, - "column": 116 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 833, - "end": 846, - "loc": { - "start": { - "line": 27, - "column": 100 - }, - "end": { - "line": 27, - "column": 113 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 27, - "column": 97 - }, - "end": { - "line": 27, - "column": 98 - } - }, - "value": { - "raw": "{", - "cooked": "{" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 847, - "end": 848, - "loc": { - "start": { - "line": 27, - "column": 114 - }, - "end": { - "line": 27, - "column": 115 - } - }, - "value": { - "raw": "}", - "cooked": "}" - }, - "tail": true - } - ] - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 865, - "end": 1142, - "loc": { - "start": { - "line": 29, - "column": 10 - }, - "end": { - "line": 32, - "column": 11 - } - }, - "test": { - "type": "Identifier", - "start": 868, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 22 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "consequent": { - "type": "BlockStatement", - "start": 878, - "end": 1142, - "loc": { - "start": { - "line": 29, - "column": 23 - }, - "end": { - "line": 32, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 893, - "end": 1009, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 128 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 893, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 893, - "end": 924, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 893, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 893, - "end": 902, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 903, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 27 - }, - "identifierName": "style" - }, - "name": "style" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 909, - "end": 924, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 30, - "column": 43 - }, - "identifierName": "backgroundColor" - }, - "name": "backgroundColor" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 927, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "left": { - "type": "MemberExpression", - "start": 927, - "end": 995, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 114 - } - }, - "object": { - "type": "MemberExpression", - "start": 927, - "end": 962, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 81 - } - }, - "object": { - "type": "MemberExpression", - "start": 927, - "end": 954, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 73 - } - }, - "object": { - "type": "ThisExpression", - "start": 927, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - "property": { - "type": "Identifier", - "start": 932, - "end": 954, - "loc": { - "start": { - "line": 30, - "column": 51 - }, - "end": { - "line": 30, - "column": 73 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 955, - "end": 962, - "loc": { - "start": { - "line": 30, - "column": 74 - }, - "end": { - "line": 30, - "column": 81 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 963, - "end": 995, - "loc": { - "start": { - "line": 30, - "column": 82 - }, - "end": { - "line": 30, - "column": 114 - }, - "identifierName": "physicalKeyboardHighlightBgColor" - }, - "name": "physicalKeyboardHighlightBgColor" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "StringLiteral", - "start": 999, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 118 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "extra": { - "rawValue": "#9ab4d0", - "raw": "\"#9ab4d0\"" - }, - "value": "#9ab4d0" - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 1023, - "end": 1129, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 118 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1023, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1023, - "end": 1044, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 1023, - "end": 1038, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 1023, - "end": 1032, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 1033, - "end": 1038, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "style" - }, - "name": "style" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1039, - "end": 1044, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 33 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 1047, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "left": { - "type": "MemberExpression", - "start": 1047, - "end": 1117, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 106 - } - }, - "object": { - "type": "MemberExpression", - "start": 1047, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 71 - } - }, - "object": { - "type": "MemberExpression", - "start": 1047, - "end": 1074, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 1047, - "end": 1051, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 40 - } - } - }, - "property": { - "type": "Identifier", - "start": 1052, - "end": 1074, - "loc": { - "start": { - "line": 31, - "column": 41 - }, - "end": { - "line": 31, - "column": 63 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1075, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 64 - }, - "end": { - "line": 31, - "column": 71 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1083, - "end": 1117, - "loc": { - "start": { - "line": 31, - "column": 72 - }, - "end": { - "line": 31, - "column": 106 - }, - "identifierName": "physicalKeyboardHighlightTextColor" - }, - "name": "physicalKeyboardHighlightTextColor" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "StringLiteral", - "start": 1121, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 110 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "extra": { - "rawValue": "white", - "raw": "\"white\"" - }, - "value": "white" - } - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Adding button style on keydown", - "start": 438, - "end": 471, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 37 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 37, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1220, - "end": 1713, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 50, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1220, - "end": 1712, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1220, - "end": 1245, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 1220, - "end": 1228, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1229, - "end": 1245, - "loc": { - "start": { - "line": 38, - "column": 13 - }, - "end": { - "line": 38, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1246, - "end": 1253, - "loc": { - "start": { - "line": 38, - "column": 30 - }, - "end": { - "line": 38, - "column": 37 - } - }, - "extra": { - "rawValue": "keyup", - "raw": "\"keyup\"" - }, - "value": "keyup" - }, - { - "type": "ArrowFunctionExpression", - "start": 1255, - "end": 1711, - "loc": { - "start": { - "line": 38, - "column": 39 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1256, - "end": 1261, - "loc": { - "start": { - "line": 38, - "column": 40 - }, - "end": { - "line": 38, - "column": 45 - }, - "identifierName": "event" - }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 1266, - "end": 1711, - "loc": { - "start": { - "line": 38, - "column": 50 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1275, - "end": 1704, - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 49, - "column": 7 - } - }, - "test": { - "type": "MemberExpression", - "start": 1278, - "end": 1339, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 70 - } - }, - "object": { - "type": "MemberExpression", - "start": 1278, - "end": 1313, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 1278, - "end": 1305, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 1278, - "end": 1282, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 1283, - "end": 1305, - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1306, - "end": 1313, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 44 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1314, - "end": 1339, - "loc": { - "start": { - "line": 39, - "column": 45 - }, - "end": { - "line": 39, - "column": 70 - }, - "identifierName": "physicalKeyboardHighlight" - }, - "name": "physicalKeyboardHighlight" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 1340, - "end": 1704, - "loc": { - "start": { - "line": 39, - "column": 71 - }, - "end": { - "line": 49, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1351, - "end": 1410, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 67 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1355, - "end": 1409, - "loc": { - "start": { - "line": 40, + "line": 33, "column": 12 }, "end": { - "line": 40, + "line": 33, + "column": 25 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + }, + "init": { + "type": "CallExpression", + "start": 865, + "end": 903, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, "column": 66 } }, - "id": { - "type": "Identifier", - "start": 1355, - "end": 1368, + "callee": { + "type": "MemberExpression", + "start": 865, + "end": 896, "loc": { "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 25 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - }, - "init": { - "type": "CallExpression", - "start": 1371, - "end": 1409, - "loc": { - "start": { - "line": 40, + "line": 33, "column": 28 }, "end": { - "line": 40, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1371, - "end": 1402, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 59 - } - }, - "object": { - "type": "ThisExpression", - "start": 1371, - "end": 1375, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 1376, - "end": 1402, - "loc": { - "start": { - "line": 40, - "column": 33 - }, - "end": { - "line": 40, - "column": 59 - }, - "identifierName": "getSimpleKeyboardLayoutKey" - }, - "name": "getSimpleKeyboardLayoutKey" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1403, - "end": 1408, - "loc": { - "start": { - "line": 40, - "column": 60 - }, - "end": { - "line": 40, - "column": 65 - }, - "identifierName": "event" - }, - "name": "event" - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1422, - "end": 1695, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 48, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 1422, - "end": 1694, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 48, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1422, - "end": 1458, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 1422, - "end": 1449, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 35 + "line": 33, + "column": 59 } }, "object": { "type": "ThisExpression", - "start": 1422, - "end": 1426, + "start": 865, + "end": 869, "loc": { "start": { - "line": 42, - "column": 8 + "line": 33, + "column": 28 }, "end": { - "line": 42, - "column": 12 + "line": 33, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 1427, - "end": 1449, + "start": 870, + "end": 896, "loc": { "start": { - "line": 42, - "column": 13 + "line": 33, + "column": 33 }, "end": { - "line": 42, - "column": 35 + "line": 33, + "column": 59 }, - "identifierName": "simpleKeyboardInstance" + "identifierName": "getSimpleKeyboardLayoutKey" }, - "name": "simpleKeyboardInstance" + "name": "getSimpleKeyboardLayoutKey" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1450, - "end": 1458, + "arguments": [ + { + "type": "Identifier", + "start": 897, + "end": 902, + "loc": { + "start": { + "line": 33, + "column": 60 + }, + "end": { + "line": 33, + "column": 65 + }, + "identifierName": "event" + }, + "name": "event" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 916, + "end": 1390, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 916, + "end": 1389, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 42, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 916, + "end": 952, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 916, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 916, + "end": 920, "loc": { "start": { - "line": 42, - "column": 36 + "line": 35, + "column": 8 }, "end": { - "line": 42, - "column": 44 + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 921, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 13 }, - "identifierName": "dispatch" + "end": { + "line": 35, + "column": 35 + }, + "identifierName": "simpleKeyboardInstance" }, - "name": "dispatch" + "name": "simpleKeyboardInstance" }, "computed": false }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1459, - "end": 1693, + "property": { + "type": "Identifier", + "start": 944, + "end": 952, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 35, + "column": 44 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 953, + "end": 1388, + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 42, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 953, + "end": 961, + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 35, + "column": 53 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 965, + "end": 1388, "loc": { "start": { - "line": 42, - "column": 45 + "line": 35, + "column": 57 }, "end": { - "line": 48, + "line": 42, "column": 9 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 1459, - "end": 1467, + "type": "VariableDeclaration", + "start": 978, + "end": 1086, "loc": { "start": { - "line": 42, - "column": 45 + "line": 36, + "column": 10 }, "end": { - "line": 42, - "column": 53 - }, - "identifierName": "instance" + "line": 36, + "column": 118 + } }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 1471, - "end": 1693, - "loc": { - "start": { - "line": 42, - "column": 57 - }, - "end": { - "line": 48, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1484, - "end": 1592, - "loc": { - "start": { - "line": 43, - "column": 10 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 982, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 117 + } }, - "end": { - "line": 43, - "column": 118 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1488, - "end": 1591, + "id": { + "type": "Identifier", + "start": 982, + "end": 991, "loc": { "start": { - "line": 43, + "line": 36, "column": 14 }, "end": { - "line": 43, + "line": 36, + "column": 23 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "init": { + "type": "LogicalExpression", + "start": 994, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, "column": 117 } }, - "id": { - "type": "Identifier", - "start": 1488, - "end": 1497, + "left": { + "type": "CallExpression", + "start": 994, + "end": 1034, "loc": { "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 23 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "init": { - "type": "LogicalExpression", - "start": 1500, - "end": 1591, - "loc": { - "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 117 + "line": 36, + "column": 66 } }, - "left": { - "type": "CallExpression", - "start": 1500, - "end": 1540, + "callee": { + "type": "MemberExpression", + "start": 994, + "end": 1019, "loc": { "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 66 + "line": 36, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 1500, - "end": 1525, + "object": { + "type": "Identifier", + "start": 994, + "end": 1002, "loc": { "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 1500, - "end": 1508, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 34 - }, - "identifierName": "instance" + "line": 36, + "column": 34 }, - "name": "instance" + "identifierName": "instance" }, - "property": { - "type": "Identifier", - "start": 1509, - "end": 1525, - "loc": { - "start": { - "line": 43, - "column": 35 - }, - "end": { - "line": 43, - "column": 51 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false + "name": "instance" }, - "arguments": [ - { - "type": "Identifier", - "start": 1526, - "end": 1539, - "loc": { - "start": { - "line": 43, - "column": 52 - }, - "end": { - "line": 43, - "column": 65 - }, - "identifierName": "buttonPressed" + "property": { + "type": "Identifier", + "start": 1003, + "end": 1019, + "loc": { + "start": { + "line": 36, + "column": 35 }, - "name": "buttonPressed" - } - ] + "end": { + "line": 36, + "column": 51 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 1544, - "end": 1591, + "arguments": [ + { + "type": "Identifier", + "start": 1020, + "end": 1033, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 65 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 1038, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 70 + }, + "end": { + "line": 36, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1038, + "end": 1063, "loc": { "start": { - "line": 43, + "line": 36, "column": 70 }, "end": { - "line": 43, - "column": 117 + "line": 36, + "column": 95 } }, - "callee": { - "type": "MemberExpression", - "start": 1544, - "end": 1569, + "object": { + "type": "Identifier", + "start": 1038, + "end": 1046, "loc": { "start": { - "line": 43, + "line": 36, "column": 70 }, "end": { - "line": 43, + "line": 36, + "column": 78 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1047, + "end": 1063, + "loc": { + "start": { + "line": 36, + "column": 79 + }, + "end": { + "line": 36, "column": 95 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1064, + "end": 1084, + "loc": { + "start": { + "line": 36, + "column": 96 + }, + "end": { + "line": 36, + "column": 116 } }, - "object": { - "type": "Identifier", - "start": 1544, - "end": 1552, - "loc": { - "start": { - "line": 43, - "column": 70 + "expressions": [ + { + "type": "Identifier", + "start": 1068, + "end": 1081, + "loc": { + "start": { + "line": 36, + "column": 100 + }, + "end": { + "line": 36, + "column": 113 + }, + "identifierName": "buttonPressed" }, - "end": { - "line": 43, - "column": 78 + "name": "buttonPressed" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 98 + } }, - "identifierName": "instance" + "value": { + "raw": "{", + "cooked": "{" + }, + "tail": false }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 1553, - "end": 1569, - "loc": { - "start": { - "line": 43, - "column": 79 + { + "type": "TemplateElement", + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 36, + "column": 114 + }, + "end": { + "line": 36, + "column": 115 + } }, - "end": { - "line": 43, - "column": 95 + "value": { + "raw": "}", + "cooked": "}" }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 1570, - "end": 1590, - "loc": { - "start": { - "line": 43, - "column": 96 - }, - "end": { - "line": 43, - "column": 116 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 1574, - "end": 1587, - "loc": { - "start": { - "line": 43, - "column": 100 - }, - "end": { - "line": 43, - "column": 113 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1571, - "end": 1572, - "loc": { - "start": { - "line": 43, - "column": 97 - }, - "end": { - "line": 43, - "column": 98 - } - }, - "value": { - "raw": "{", - "cooked": "{" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1588, - "end": 1589, - "loc": { - "start": { - "line": 43, - "column": 114 - }, - "end": { - "line": 43, - "column": 115 - } - }, - "value": { - "raw": "}", - "cooked": "}" - }, - "tail": true - } - ] - } - ] - } + "tail": true + } + ] + } + ] } } - ], - "kind": "let" + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1100, + "end": 1377, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 41, + "column": 11 + } }, - { - "type": "IfStatement", - "start": 1606, - "end": 1682, + "test": { + "type": "Identifier", + "start": 1103, + "end": 1112, "loc": { "start": { - "line": 45, - "column": 10 + "line": 38, + "column": 13 }, "end": { - "line": 47, + "line": 38, + "column": 22 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "consequent": { + "type": "BlockStatement", + "start": 1113, + "end": 1377, + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 41, "column": 11 } }, - "test": { - "type": "Identifier", - "start": 1609, - "end": 1618, - "loc": { - "start": { - "line": 45, - "column": 13 + "body": [ + { + "type": "ExpressionStatement", + "start": 1128, + "end": 1244, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 128 + } }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "consequent": { - "type": "BlockStatement", - "start": 1619, - "end": 1682, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 47, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1634, - "end": 1669, + "expression": { + "type": "AssignmentExpression", + "start": 1128, + "end": 1243, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 47 + "line": 39, + "column": 127 } }, - "expression": { - "type": "CallExpression", - "start": 1634, - "end": 1668, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1128, + "end": 1159, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 46 + "line": 39, + "column": 43 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 1634, - "end": 1659, + "start": 1128, + "end": 1143, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 37 + "line": 39, + "column": 27 } }, "object": { "type": "Identifier", - "start": 1634, - "end": 1643, + "start": 1128, + "end": 1137, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, + "line": 39, "column": 21 }, "identifierName": "buttonDOM" @@ -2962,109 +1908,1610 @@ }, "property": { "type": "Identifier", - "start": 1644, - "end": 1659, + "start": 1138, + "end": 1143, "loc": { "start": { - "line": 46, + "line": 39, "column": 22 }, "end": { - "line": 46, - "column": 37 + "line": 39, + "column": 27 }, - "identifierName": "removeAttribute" + "identifierName": "style" }, - "name": "removeAttribute" + "name": "style" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1660, - "end": 1667, + "property": { + "type": "Identifier", + "start": 1144, + "end": 1159, + "loc": { + "start": { + "line": 39, + "column": 28 + }, + "end": { + "line": 39, + "column": 43 + }, + "identifierName": "backgroundColor" + }, + "name": "backgroundColor" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 1162, + "end": 1243, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 127 + } + }, + "left": { + "type": "MemberExpression", + "start": 1162, + "end": 1230, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 114 + } + }, + "object": { + "type": "MemberExpression", + "start": 1162, + "end": 1197, "loc": { "start": { - "line": 46, - "column": 38 + "line": 39, + "column": 46 }, "end": { - "line": 46, - "column": 45 + "line": 39, + "column": 81 } }, - "extra": { - "rawValue": "style", - "raw": "\"style\"" + "object": { + "type": "MemberExpression", + "start": 1162, + "end": 1189, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 73 + } + }, + "object": { + "type": "ThisExpression", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 1167, + "end": 1189, + "loc": { + "start": { + "line": 39, + "column": 51 + }, + "end": { + "line": 39, + "column": 73 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false }, - "value": "style" - } - ] + "property": { + "type": "Identifier", + "start": 1190, + "end": 1197, + "loc": { + "start": { + "line": 39, + "column": 74 + }, + "end": { + "line": 39, + "column": 81 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1198, + "end": 1230, + "loc": { + "start": { + "line": 39, + "column": 82 + }, + "end": { + "line": 39, + "column": 114 + }, + "identifierName": "physicalKeyboardHighlightBgColor" + }, + "name": "physicalKeyboardHighlightBgColor" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "StringLiteral", + "start": 1234, + "end": 1243, + "loc": { + "start": { + "line": 39, + "column": 118 + }, + "end": { + "line": 39, + "column": 127 + } + }, + "extra": { + "rawValue": "#9ab4d0", + "raw": "\"#9ab4d0\"" + }, + "value": "#9ab4d0" + } } } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + }, + { + "type": "ExpressionStatement", + "start": 1258, + "end": 1364, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 118 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1258, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1258, + "end": 1279, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1258, + "end": 1273, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1258, + "end": 1267, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 1268, + "end": 1273, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 27 + }, + "identifierName": "style" + }, + "name": "style" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1274, + "end": 1279, + "loc": { + "start": { + "line": 40, + "column": 28 + }, + "end": { + "line": 40, + "column": 33 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 1282, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "left": { + "type": "MemberExpression", + "start": 1282, + "end": 1352, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 106 + } + }, + "object": { + "type": "MemberExpression", + "start": 1282, + "end": 1317, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 71 + } + }, + "object": { + "type": "MemberExpression", + "start": 1282, + "end": 1309, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 1282, + "end": 1286, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 1287, + "end": 1309, + "loc": { + "start": { + "line": 40, + "column": 41 + }, + "end": { + "line": 40, + "column": 63 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1310, + "end": 1317, + "loc": { + "start": { + "line": 40, + "column": 64 + }, + "end": { + "line": 40, + "column": 71 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1318, + "end": 1352, + "loc": { + "start": { + "line": 40, + "column": 72 + }, + "end": { + "line": 40, + "column": 106 + }, + "identifierName": "physicalKeyboardHighlightTextColor" + }, + "name": "physicalKeyboardHighlightTextColor" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "StringLiteral", + "start": 1356, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 110 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "extra": { + "rawValue": "white", + "raw": "\"white\"" + }, + "value": "white" + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } - ] - } + } + ] } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } - ], - "leadingComments": null + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Adding button style on keydown", + "start": 673, + "end": 706, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 37 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Removing button style on keyup", + "start": 1416, + "end": 1449, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1455, + "end": 1948, + "loc": { + "start": { + "line": 47, + "column": 4 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, + "end": { + "line": 59, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 1455, + "end": 1947, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 59, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1455, + "end": 1480, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1455, + "end": 1463, "loc": { "start": { - "line": 37, + "line": 47, "column": 4 }, "end": { - "line": 37, + "line": 47, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1464, + "end": 1480, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1481, + "end": 1488, + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, "column": 37 } + }, + "extra": { + "rawValue": "keyup", + "raw": "\"keyup\"" + }, + "value": "keyup" + }, + { + "type": "ArrowFunctionExpression", + "start": 1490, + "end": 1946, + "loc": { + "start": { + "line": 47, + "column": 39 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1491, + "end": 1496, + "loc": { + "start": { + "line": 47, + "column": 40 + }, + "end": { + "line": 47, + "column": 45 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 1501, + "end": 1946, + "loc": { + "start": { + "line": 47, + "column": 50 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1510, + "end": 1939, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 58, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 1513, + "end": 1574, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 1513, + "end": 1548, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 1513, + "end": 1540, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 1513, + "end": 1517, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1518, + "end": 1540, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 36 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1541, + "end": 1548, + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 44 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1549, + "end": 1574, + "loc": { + "start": { + "line": 48, + "column": 45 + }, + "end": { + "line": 48, + "column": 70 + }, + "identifierName": "physicalKeyboardHighlight" + }, + "name": "physicalKeyboardHighlight" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1575, + "end": 1939, + "loc": { + "start": { + "line": 48, + "column": 71 + }, + "end": { + "line": 58, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1586, + "end": 1645, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1590, + "end": 1644, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 66 + } + }, + "id": { + "type": "Identifier", + "start": 1590, + "end": 1603, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 25 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + }, + "init": { + "type": "CallExpression", + "start": 1606, + "end": 1644, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1606, + "end": 1637, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 59 + } + }, + "object": { + "type": "ThisExpression", + "start": 1606, + "end": 1610, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1611, + "end": 1637, + "loc": { + "start": { + "line": 49, + "column": 33 + }, + "end": { + "line": 49, + "column": 59 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1638, + "end": 1643, + "loc": { + "start": { + "line": 49, + "column": 60 + }, + "end": { + "line": 49, + "column": 65 + }, + "identifierName": "event" + }, + "name": "event" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 1657, + "end": 1930, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 57, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1657, + "end": 1929, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 57, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1657, + "end": 1693, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 1657, + "end": 1684, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 1657, + "end": 1661, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1662, + "end": 1684, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 35 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1685, + "end": 1693, + "loc": { + "start": { + "line": 51, + "column": 36 + }, + "end": { + "line": 51, + "column": 44 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1694, + "end": 1928, + "loc": { + "start": { + "line": 51, + "column": 45 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1694, + "end": 1702, + "loc": { + "start": { + "line": 51, + "column": 45 + }, + "end": { + "line": 51, + "column": 53 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 1706, + "end": 1928, + "loc": { + "start": { + "line": 51, + "column": 57 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1719, + "end": 1827, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 118 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1723, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "id": { + "type": "Identifier", + "start": 1723, + "end": 1732, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 23 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "init": { + "type": "LogicalExpression", + "start": 1735, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "left": { + "type": "CallExpression", + "start": 1735, + "end": 1775, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1735, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 1735, + "end": 1743, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 34 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1744, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 51 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1761, + "end": 1774, + "loc": { + "start": { + "line": 52, + "column": 52 + }, + "end": { + "line": 52, + "column": 65 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 1779, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1779, + "end": 1804, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 95 + } + }, + "object": { + "type": "Identifier", + "start": 1779, + "end": 1787, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 78 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1788, + "end": 1804, + "loc": { + "start": { + "line": 52, + "column": 79 + }, + "end": { + "line": 52, + "column": 95 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1805, + "end": 1825, + "loc": { + "start": { + "line": 52, + "column": 96 + }, + "end": { + "line": 52, + "column": 116 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1809, + "end": 1822, + "loc": { + "start": { + "line": 52, + "column": 100 + }, + "end": { + "line": 52, + "column": 113 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1806, + "end": 1807, + "loc": { + "start": { + "line": 52, + "column": 97 + }, + "end": { + "line": 52, + "column": 98 + } + }, + "value": { + "raw": "{", + "cooked": "{" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1823, + "end": 1824, + "loc": { + "start": { + "line": 52, + "column": 114 + }, + "end": { + "line": 52, + "column": 115 + } + }, + "value": { + "raw": "}", + "cooked": "}" + }, + "tail": true + } + ] + } + ] + } + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1841, + "end": 1917, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 56, + "column": 11 + } + }, + "test": { + "type": "Identifier", + "start": 1844, + "end": 1853, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 22 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "consequent": { + "type": "BlockStatement", + "start": 1854, + "end": 1917, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 56, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1869, + "end": 1904, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 1869, + "end": 1903, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1869, + "end": 1894, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1869, + "end": 1878, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 1879, + "end": 1894, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 37 + }, + "identifierName": "removeAttribute" + }, + "name": "removeAttribute" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1895, + "end": 1902, + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 45 + } + }, + "extra": { + "rawValue": "style", + "raw": "\"style\"" + }, + "value": "style" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } } - ] - } - ], - "directives": [], - "trailingComments": null - }, + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Removing button style on keyup", + "start": 1416, + "end": 1449, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 37 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes key event listeners\r\n ", - "start": 350, - "end": 398, + "start": 592, + "end": 640, "loc": { "start": { - "line": 17, + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 28, "column": 5 } } @@ -3074,15 +3521,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -3090,16 +3537,16 @@ ] }, { - "type": "ClassProperty", - "start": 1875, - "end": 2612, + "type": "ClassMethod", + "start": 2110, + "end": 2840, "loc": { "start": { - "line": 57, + "line": 66, "column": 2 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, @@ -3107,15 +3554,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1875, - "end": 1901, + "start": 2110, + "end": 2136, "loc": { "start": { - "line": 57, + "line": 66, "column": 2 }, "end": { - "line": 57, + "line": 66, "column": 28 }, "identifierName": "getSimpleKeyboardLayoutKey" @@ -3123,503 +3570,247 @@ "name": "getSimpleKeyboardLayoutKey", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 1904, - "end": 2612, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2137, + "end": 2142, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 34 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 2143, + "end": 2840, "loc": { "start": { - "line": 57, - "column": 31 + "line": 66, + "column": 35 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 1905, - "end": 1910, + "type": "VariableDeclaration", + "start": 2150, + "end": 2161, "loc": { "start": { - "line": 57, - "column": 32 + "line": 67, + "column": 4 }, "end": { - "line": 57, - "column": 37 - }, - "identifierName": "event" + "line": 67, + "column": 15 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 1915, - "end": 2612, - "loc": { - "start": { - "line": 57, - "column": 42 - }, - "end": { - "line": 85, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1922, - "end": 1933, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1926, - "end": 1932, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 1926, - "end": 1932, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 1941, - "end": 2302, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 72, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 1952, - "end": 2218, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2154, + "end": 2160, "loc": { "start": { - "line": 61, - "column": 6 + "line": 67, + "column": 8 }, "end": { "line": 67, - "column": 33 + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 2154, + "end": 2160, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 2169, + "end": 2530, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2180, + "end": 2446, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 76, + "column": 33 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2180, + "end": 2408, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 75, + "column": 32 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2180, + "start": 2180, + "end": 2371, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 66, - "column": 32 + "line": 74, + "column": 36 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2143, + "start": 2180, + "end": 2330, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 65, - "column": 36 + "line": 73, + "column": 38 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2102, + "start": 2180, + "end": 2287, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 64, - "column": 38 + "line": 72, + "column": 34 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2059, + "start": 2180, + "end": 2248, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 71, "column": 34 } }, "left": { - "type": "LogicalExpression", - "start": 1952, - "end": 2020, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 62, - "column": 34 - } - }, - "left": { - "type": "CallExpression", - "start": 1952, - "end": 1981, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1952, - "end": 1971, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 1952, - "end": 1962, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 16 - } - }, - "object": { - "type": "Identifier", - "start": 1952, - "end": 1957, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 11 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 1958, - "end": 1962, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 16 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1963, - "end": 1971, - "loc": { - "start": { - "line": 61, - "column": 17 - }, - "end": { - "line": 61, - "column": 25 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1972, - "end": 1980, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 34 - } - }, - "extra": { - "rawValue": "Numpad", - "raw": "\"Numpad\"" - }, - "value": "Numpad" - } - ] - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 1992, - "end": 2020, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1992, - "end": 2011, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 1992, - "end": 2002, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 16 - } - }, - "object": { - "type": "Identifier", - "start": 1992, - "end": 1997, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 11 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 1998, - "end": 2002, - "loc": { - "start": { - "line": 62, - "column": 12 - }, - "end": { - "line": 62, - "column": 16 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2003, - "end": 2011, - "loc": { - "start": { - "line": 62, - "column": 17 - }, - "end": { - "line": 62, - "column": 25 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2012, - "end": 2019, - "loc": { - "start": { - "line": 62, - "column": 26 - }, - "end": { - "line": 62, - "column": 33 - } - }, - "extra": { - "rawValue": "Shift", - "raw": "\"Shift\"" - }, - "value": "Shift" - } - ] - } - }, - "operator": "||", - "right": { "type": "CallExpression", - "start": 2031, - "end": 2059, + "start": 2180, + "end": 2209, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, - "column": 34 + "line": 70, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 2031, - "end": 2050, + "start": 2180, + "end": 2199, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2031, - "end": 2041, + "start": 2180, + "end": 2190, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 16 } }, "object": { "type": "Identifier", - "start": 2031, - "end": 2036, + "start": 2180, + "end": 2185, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 11 }, "identifierName": "event" @@ -3628,15 +3819,15 @@ }, "property": { "type": "Identifier", - "start": 2037, - "end": 2041, + "start": 2186, + "end": 2190, "loc": { "start": { - "line": 63, + "line": 70, "column": 12 }, "end": { - "line": 63, + "line": 70, "column": 16 }, "identifierName": "code" @@ -3647,15 +3838,15 @@ }, "property": { "type": "Identifier", - "start": 2042, - "end": 2050, + "start": 2191, + "end": 2199, "loc": { "start": { - "line": 63, + "line": 70, "column": 17 }, "end": { - "line": 63, + "line": 70, "column": 25 }, "identifierName": "includes" @@ -3667,23 +3858,144 @@ "arguments": [ { "type": "StringLiteral", - "start": 2051, - "end": 2058, + "start": 2200, + "end": 2208, "loc": { "start": { - "line": 63, + "line": 70, "column": 26 }, "end": { - "line": 63, + "line": 70, + "column": 34 + } + }, + "extra": { + "rawValue": "Numpad", + "raw": "\"Numpad\"" + }, + "value": "Numpad" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 2220, + "end": 2248, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2220, + "end": 2239, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 2220, + "end": 2230, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2220, + "end": 2225, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 11 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2226, + "end": 2230, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 16 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2231, + "end": 2239, + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 25 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2240, + "end": 2247, + "loc": { + "start": { + "line": 71, + "column": 26 + }, + "end": { + "line": 71, "column": 33 } }, "extra": { - "rawValue": "Space", - "raw": "\"Space\"" + "rawValue": "Shift", + "raw": "\"Shift\"" }, - "value": "Space" + "value": "Shift" } ] } @@ -3691,57 +4003,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2070, - "end": 2102, + "start": 2259, + "end": 2287, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, - "column": 38 + "line": 72, + "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 2070, - "end": 2089, + "start": 2259, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2070, - "end": 2080, + "start": 2259, + "end": 2269, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 16 } }, "object": { "type": "Identifier", - "start": 2070, - "end": 2075, + "start": 2259, + "end": 2264, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 11 }, "identifierName": "event" @@ -3750,15 +4062,15 @@ }, "property": { "type": "Identifier", - "start": 2076, - "end": 2080, + "start": 2265, + "end": 2269, "loc": { "start": { - "line": 64, + "line": 72, "column": 12 }, "end": { - "line": 64, + "line": 72, "column": 16 }, "identifierName": "code" @@ -3769,15 +4081,15 @@ }, "property": { "type": "Identifier", - "start": 2081, - "end": 2089, + "start": 2270, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 72, "column": 17 }, "end": { - "line": 64, + "line": 72, "column": 25 }, "identifierName": "includes" @@ -3789,23 +4101,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2090, - "end": 2101, + "start": 2279, + "end": 2286, "loc": { "start": { - "line": 64, + "line": 72, "column": 26 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 33 } }, "extra": { - "rawValue": "Backspace", - "raw": "\"Backspace\"" + "rawValue": "Space", + "raw": "\"Space\"" }, - "value": "Backspace" + "value": "Space" } ] } @@ -3813,57 +4125,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2113, - "end": 2143, + "start": 2298, + "end": 2330, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, - "column": 36 + "line": 73, + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2113, - "end": 2132, + "start": 2298, + "end": 2317, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2113, - "end": 2123, + "start": 2298, + "end": 2308, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 16 } }, "object": { "type": "Identifier", - "start": 2113, - "end": 2118, + "start": 2298, + "end": 2303, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 11 }, "identifierName": "event" @@ -3872,15 +4184,15 @@ }, "property": { "type": "Identifier", - "start": 2119, - "end": 2123, + "start": 2304, + "end": 2308, "loc": { "start": { - "line": 65, + "line": 73, "column": 12 }, "end": { - "line": 65, + "line": 73, "column": 16 }, "identifierName": "code" @@ -3891,15 +4203,15 @@ }, "property": { "type": "Identifier", - "start": 2124, - "end": 2132, + "start": 2309, + "end": 2317, "loc": { "start": { - "line": 65, + "line": 73, "column": 17 }, "end": { - "line": 65, + "line": 73, "column": 25 }, "identifierName": "includes" @@ -3911,23 +4223,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2133, - "end": 2142, + "start": 2318, + "end": 2329, "loc": { "start": { - "line": 65, + "line": 73, "column": 26 }, "end": { - "line": 65, - "column": 35 + "line": 73, + "column": 37 } }, "extra": { - "rawValue": "Control", - "raw": "\"Control\"" + "rawValue": "Backspace", + "raw": "\"Backspace\"" }, - "value": "Control" + "value": "Backspace" } ] } @@ -3935,57 +4247,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2154, - "end": 2180, + "start": 2341, + "end": 2371, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, - "column": 32 + "line": 74, + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2154, - "end": 2173, + "start": 2341, + "end": 2360, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2154, - "end": 2164, + "start": 2341, + "end": 2351, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 16 } }, "object": { "type": "Identifier", - "start": 2154, - "end": 2159, + "start": 2341, + "end": 2346, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 11 }, "identifierName": "event" @@ -3994,15 +4306,15 @@ }, "property": { "type": "Identifier", - "start": 2160, - "end": 2164, + "start": 2347, + "end": 2351, "loc": { "start": { - "line": 66, + "line": 74, "column": 12 }, "end": { - "line": 66, + "line": 74, "column": 16 }, "identifierName": "code" @@ -4013,15 +4325,15 @@ }, "property": { "type": "Identifier", - "start": 2165, - "end": 2173, + "start": 2352, + "end": 2360, "loc": { "start": { - "line": 66, + "line": 74, "column": 17 }, "end": { - "line": 66, + "line": 74, "column": 25 }, "identifierName": "includes" @@ -4033,23 +4345,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2174, - "end": 2179, + "start": 2361, + "end": 2370, "loc": { "start": { - "line": 66, + "line": 74, "column": 26 }, "end": { - "line": 66, - "column": 31 + "line": 74, + "column": 35 } }, "extra": { - "rawValue": "Alt", - "raw": "\"Alt\"" + "rawValue": "Control", + "raw": "\"Control\"" }, - "value": "Alt" + "value": "Control" } ] } @@ -4057,57 +4369,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2191, - "end": 2218, + "start": 2382, + "end": 2408, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, - "column": 33 + "line": 75, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 2191, - "end": 2210, + "start": 2382, + "end": 2401, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2191, - "end": 2201, + "start": 2382, + "end": 2392, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 16 } }, "object": { "type": "Identifier", - "start": 2191, - "end": 2196, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 11 }, "identifierName": "event" @@ -4116,15 +4428,15 @@ }, "property": { "type": "Identifier", - "start": 2197, - "end": 2201, + "start": 2388, + "end": 2392, "loc": { "start": { - "line": 67, + "line": 75, "column": 12 }, "end": { - "line": 67, + "line": 75, "column": 16 }, "identifierName": "code" @@ -4135,15 +4447,15 @@ }, "property": { "type": "Identifier", - "start": 2202, - "end": 2210, + "start": 2393, + "end": 2401, "loc": { "start": { - "line": 67, + "line": 75, "column": 17 }, "end": { - "line": 67, + "line": 75, "column": 25 }, "identifierName": "includes" @@ -4155,311 +4467,168 @@ "arguments": [ { "type": "StringLiteral", - "start": 2211, - "end": 2217, + "start": 2402, + "end": 2407, "loc": { "start": { - "line": 67, + "line": 75, "column": 26 }, "end": { - "line": 67, - "column": 32 + "line": 75, + "column": 31 } }, "extra": { - "rawValue": "Meta", - "raw": "\"Meta\"" + "rawValue": "Alt", + "raw": "\"Alt\"" }, - "value": "Meta" + "value": "Alt" } ] } }, - "consequent": { - "type": "BlockStatement", - "start": 2225, - "end": 2261, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 2419, + "end": 2446, "loc": { "start": { - "line": 68, - "column": 5 - }, - "end": { - "line": 70, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2234, - "end": 2254, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2234, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2234, - "end": 2240, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 2243, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 15 - }, - "end": { - "line": 69, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 2243, - "end": 2248, - "loc": { - "start": { - "line": 69, - "column": 15 - }, - "end": { - "line": 69, - "column": 20 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2249, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 21 - }, - "end": { - "line": 69, - "column": 25 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2267, - "end": 2302, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 72, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2276, - "end": 2295, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 25 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2276, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 24 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2276, - "end": 2282, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 2285, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 2285, - "end": 2290, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 20 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2291, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 21 - }, - "end": { - "line": 71, - "column": 24 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": false - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 76, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 2385, - "end": 2585, - "loc": { - "start": { - "line": 77, - "column": 4 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 2397, - "end": 2531, - "loc": { - "start": { - "line": 78, + "line": 76, "column": 6 }, "end": { - "line": 79, - "column": 98 + "line": 76, + "column": 33 } }, - "left": { - "type": "BinaryExpression", - "start": 2397, - "end": 2428, + "callee": { + "type": "MemberExpression", + "start": 2419, + "end": 2438, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 2419, + "end": 2429, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2419, + "end": 2424, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 11 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 16 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2430, + "end": 2438, + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 25 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2439, + "end": 2445, + "loc": { + "start": { + "line": 76, + "column": 26 + }, + "end": { + "line": 76, + "column": 32 + } + }, + "extra": { + "rawValue": "Meta", + "raw": "\"Meta\"" + }, + "value": "Meta" + } + ] + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2453, + "end": 2489, + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 79, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2462, + "end": 2482, "loc": { "start": { "line": 78, @@ -4467,13 +4636,13 @@ }, "end": { "line": 78, - "column": 37 + "column": 26 } }, - "left": { - "type": "Identifier", - "start": 2397, - "end": 2403, + "expression": { + "type": "AssignmentExpression", + "start": 2462, + "end": 2481, "loc": { "start": { "line": 78, @@ -4481,477 +4650,430 @@ }, "end": { "line": 78, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output", - "leadingComments": null - }, - "operator": "!==", - "right": { - "type": "CallExpression", - "start": 2408, - "end": 2428, - "loc": { - "start": { - "line": 78, - "column": 17 - }, - "end": { - "line": 78, - "column": 37 + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 2408, - "end": 2426, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2462, + "end": 2468, "loc": { "start": { "line": 78, - "column": 17 + "column": 6 }, "end": { "line": 78, - "column": 35 + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 2471, + "end": 2481, + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "column": 25 } }, "object": { "type": "Identifier", - "start": 2408, - "end": 2414, + "start": 2471, + "end": 2476, "loc": { "start": { "line": 78, - "column": 17 + "column": 15 }, "end": { "line": 78, - "column": 23 + "column": 20 }, - "identifierName": "output" + "identifierName": "event" }, - "name": "output" + "name": "event" }, "property": { "type": "Identifier", - "start": 2415, - "end": 2426, - "loc": { - "start": { - "line": 78, - "column": 24 - }, - "end": { - "line": 78, - "column": 35 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "operator": "||", - "right": { - "type": "LogicalExpression", - "start": 2440, - "end": 2530, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 97 - } - }, - "left": { - "type": "LogicalExpression", - "start": 2440, - "end": 2504, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 71 - } - }, - "left": { - "type": "BinaryExpression", - "start": 2440, - "end": 2461, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 28 - } - }, - "left": { - "type": "MemberExpression", - "start": 2440, - "end": 2453, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 20 - } - }, - "object": { - "type": "MemberExpression", - "start": 2440, - "end": 2450, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 2440, - "end": 2445, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 12 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2446, - "end": 2450, - "loc": { - "start": { - "line": 79, - "column": 13 - }, - "end": { - "line": 79, - "column": 17 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 2451, - "end": 2452, - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 19 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 2458, - "end": 2461, - "loc": { - "start": { - "line": 79, - "column": 25 - }, - "end": { - "line": 79, - "column": 28 - } - }, - "extra": { - "rawValue": "F", - "raw": "\"F\"" - }, - "value": "F" - } - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 2465, - "end": 2504, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2465, + "start": 2477, "end": 2481, "loc": { "start": { - "line": 79, - "column": 32 + "line": 78, + "column": 21 }, "end": { - "line": 79, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 2465, - "end": 2471, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 38 - }, - "identifierName": "Number" + "line": 78, + "column": 25 }, - "name": "Number" + "identifierName": "code" }, - "property": { - "type": "Identifier", - "start": 2472, - "end": 2481, - "loc": { - "start": { - "line": 79, - "column": 39 - }, - "end": { - "line": 79, - "column": 48 - }, - "identifierName": "isInteger" - }, - "name": "isInteger" - }, - "computed": false + "name": "code" }, - "arguments": [ - { - "type": "CallExpression", - "start": 2482, - "end": 2503, - "loc": { - "start": { - "line": 79, - "column": 49 - }, - "end": { - "line": 79, - "column": 70 - } - }, - "callee": { - "type": "Identifier", - "start": 2482, - "end": 2488, - "loc": { - "start": { - "line": 79, - "column": 49 - }, - "end": { - "line": 79, - "column": 55 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2489, - "end": 2502, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 69 - } - }, - "object": { - "type": "MemberExpression", - "start": 2489, - "end": 2499, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 2489, - "end": 2494, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 61 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2495, - "end": 2499, - "loc": { - "start": { - "line": 79, - "column": 62 - }, - "end": { - "line": 79, - "column": 66 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 2500, - "end": 2501, - "loc": { - "start": { - "line": 79, - "column": 67 - }, - "end": { - "line": 79, - "column": 68 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - } - ] - } - ] + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2495, + "end": 2530, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2504, + "end": 2523, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 25 } }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 2508, - "end": 2530, + "expression": { + "type": "AssignmentExpression", + "start": 2504, + "end": 2522, "loc": { "start": { - "line": 79, - "column": 75 + "line": 80, + "column": 6 }, "end": { - "line": 79, - "column": 97 + "line": 80, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2504, + "end": 2510, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 2513, + "end": 2522, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2513, + "end": 2518, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 20 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2519, + "end": 2522, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 24 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": false + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", + "start": 2538, + "end": 2607, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2613, + "end": 2813, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2625, + "end": 2759, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 88, + "column": 98 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2625, + "end": 2656, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 37 + } + }, + "left": { + "type": "Identifier", + "start": 2625, + "end": 2631, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output", + "leadingComments": null + }, + "operator": "!==", + "right": { + "type": "CallExpression", + "start": 2636, + "end": 2656, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2636, + "end": 2654, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2636, + "end": 2642, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 23 + }, + "identifierName": "output" + }, + "name": "output" + }, + "property": { + "type": "Identifier", + "start": 2643, + "end": 2654, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 35 + }, + "identifierName": "toUpperCase" + }, + "name": "toUpperCase" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "operator": "||", + "right": { + "type": "LogicalExpression", + "start": 2668, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2668, + "end": 2732, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 71 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2668, + "end": 2689, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 28 } }, "left": { "type": "MemberExpression", - "start": 2508, - "end": 2525, + "start": 2668, + "end": 2681, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 92 + "line": 88, + "column": 20 } }, "object": { "type": "MemberExpression", - "start": 2508, - "end": 2518, + "start": 2668, + "end": 2678, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 85 + "line": 88, + "column": 17 } }, "object": { "type": "Identifier", - "start": 2508, - "end": 2513, + "start": 2668, + "end": 2673, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 80 + "line": 88, + "column": 12 }, "identifierName": "event" }, @@ -4959,16 +5081,16 @@ }, "property": { "type": "Identifier", - "start": 2514, - "end": 2518, + "start": 2674, + "end": 2678, "loc": { "start": { - "line": 79, - "column": 81 + "line": 88, + "column": 13 }, "end": { - "line": 79, - "column": 85 + "line": 88, + "column": 17 }, "identifierName": "code" }, @@ -4977,254 +5099,565 @@ "computed": false }, "property": { - "type": "Identifier", - "start": 2519, - "end": 2525, + "type": "NumericLiteral", + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 79, - "column": 86 + "line": 88, + "column": 18 }, "end": { - "line": 79, - "column": 92 - }, - "identifierName": "length" + "line": 88, + "column": 19 + } }, - "name": "length" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, - "computed": false + "computed": true }, - "operator": "<=", + "operator": "===", "right": { - "type": "NumericLiteral", - "start": 2529, - "end": 2530, + "type": "StringLiteral", + "start": 2686, + "end": 2689, "loc": { "start": { - "line": 79, - "column": 96 + "line": 88, + "column": 25 }, "end": { - "line": 79, - "column": 97 + "line": 88, + "column": 28 } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": "F", + "raw": "\"F\"" }, - "value": 3 + "value": "F" } }, - "extra": { - "parenthesized": true, - "parenStart": 2439 - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 2539, - "end": 2585, - "loc": { - "start": { - "line": 80, - "column": 6 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2548, - "end": 2578, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2693, + "end": 2732, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 36 + "line": 88, + "column": 71 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2548, - "end": 2577, + "callee": { + "type": "MemberExpression", + "start": 2693, + "end": 2709, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 35 + "line": 88, + "column": 48 } }, - "operator": "=", - "left": { + "object": { "type": "Identifier", - "start": 2548, - "end": 2554, + "start": 2693, + "end": 2699, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 12 + "line": 88, + "column": 38 }, - "identifierName": "output" + "identifierName": "Number" }, - "name": "output" + "name": "Number" }, - "right": { - "type": "CallExpression", - "start": 2557, - "end": 2577, + "property": { + "type": "Identifier", + "start": 2700, + "end": 2709, "loc": { "start": { - "line": 81, - "column": 15 + "line": 88, + "column": 39 }, "end": { - "line": 81, - "column": 35 + "line": 88, + "column": 48 + }, + "identifierName": "isInteger" + }, + "name": "isInteger" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2710, + "end": 2731, + "loc": { + "start": { + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 70 } }, "callee": { - "type": "MemberExpression", - "start": 2557, - "end": 2575, + "type": "Identifier", + "start": 2710, + "end": 2716, "loc": { "start": { - "line": 81, + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 55 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2717, + "end": 2730, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 69 + } + }, + "object": { + "type": "MemberExpression", + "start": 2717, + "end": 2727, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 2717, + "end": 2722, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 61 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2723, + "end": 2727, + "loc": { + "start": { + "line": 88, + "column": 62 + }, + "end": { + "line": 88, + "column": 66 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 2728, + "end": 2729, + "loc": { + "start": { + "line": 88, + "column": 67 + }, + "end": { + "line": 88, + "column": 68 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + ] + } + ] + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 2736, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "left": { + "type": "MemberExpression", + "start": 2736, + "end": 2753, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 92 + } + }, + "object": { + "type": "MemberExpression", + "start": 2736, + "end": 2746, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 2736, + "end": 2741, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 80 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 88, + "column": 81 + }, + "end": { + "line": 88, + "column": 85 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2747, + "end": 2753, + "loc": { + "start": { + "line": 88, + "column": 86 + }, + "end": { + "line": 88, + "column": 92 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 96 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + }, + "extra": { + "parenthesized": true, + "parenStart": 2667 + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2767, + "end": 2813, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2776, + "end": 2806, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2776, + "end": 2805, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2776, + "end": 2782, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 2785, + "end": 2805, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2785, + "end": 2803, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 2785, + "end": 2791, + "loc": { + "start": { + "line": 90, "column": 15 }, "end": { - "line": 81, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2557, - "end": 2563, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 21 - }, - "identifierName": "output" + "line": 90, + "column": 21 }, - "name": "output" + "identifierName": "output" }, - "property": { - "type": "Identifier", - "start": 2564, - "end": 2575, - "loc": { - "start": { - "line": 81, - "column": 22 - }, - "end": { - "line": 81, - "column": 33 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false + "name": "output" }, - "arguments": [] - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 76, - "column": 7 + "property": { + "type": "Identifier", + "start": 2792, + "end": 2803, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 33 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] } } } - ] + ], + "directives": [] }, - { - "type": "ReturnStatement", - "start": 2593, - "end": 2607, - "loc": { - "start": { - "line": 84, - "column": 4 - }, - "end": { - "line": 84, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 2600, - "end": 2606, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", + "start": 2538, + "end": 2607, "loc": { "start": { - "line": 84, - "column": 11 + "line": 83, + "column": 4 }, "end": { - "line": 84, - "column": 17 - }, - "identifierName": "output" - }, - "name": "output" + "line": 85, + "column": 7 + } + } } + ] + }, + { + "type": "ReturnStatement", + "start": 2821, + "end": 2835, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 2828, + "end": 2834, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 17 + }, + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -5239,29 +5672,29 @@ }, { "type": "Identifier", - "start": 2619, - "end": 2651, + "start": 2847, + "end": 2879, "loc": { "start": { - "line": 88, + "line": 97, "column": 0 }, "end": { - "line": 88, + "line": 97, "column": 32 } }, "declaration": { "type": "Identifier", - "start": 2634, - "end": 2650, + "start": 2862, + "end": 2878, "loc": { "start": { - "line": 88, + "line": 97, "column": 15 }, "end": { - "line": 88, + "line": 97, "column": 31 }, "identifierName": "PhysicalKeyboard" @@ -5274,29 +5707,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 2619, - "end": 2651, + "start": 2847, + "end": 2879, "loc": { "start": { - "line": 88, + "line": 97, "column": 0 }, "end": { - "line": 88, + "line": 97, "column": 32 } }, "declaration": { "type": "ClassDeclaration", "start": 40, - "end": 2615, + "end": 2843, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 86, + "line": 95, "column": 1 } }, @@ -5322,14 +5755,14 @@ "body": { "type": "ClassBody", "start": 63, - "end": 2615, + "end": 2843, "loc": { "start": { "line": 4, "column": 23 }, "end": { - "line": 86, + "line": 95, "column": 1 } }, @@ -5337,14 +5770,14 @@ { "type": "ClassMethod", "start": 140, - "end": 344, + "end": 586, "loc": { "start": { "line": 8, "column": 2 }, "end": { - "line": 15, + "line": 24, "column": 3 } }, @@ -5395,14 +5828,14 @@ "body": { "type": "BlockStatement", "start": 175, - "end": 344, + "end": 586, "loc": { "start": { "line": 8, "column": 37 }, "end": { - "line": 15, + "line": 24, "column": 3 } }, @@ -5522,86 +5955,548 @@ } } } - ] - }, - { - "type": "ExpressionStatement", - "start": 311, - "end": 339, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 32 - } - }, - "expression": { - "type": "CallExpression", - "start": 311, - "end": 338, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", "start": 311, - "end": 336, + "end": 340, "loc": { "start": { "line": 14, "column": 4 }, "end": { - "line": 14, + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 346, + "end": 411, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 346, + "end": 410, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 346, + "end": 371, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 311, - "end": 315, + "start": 346, + "end": 350, "loc": { "start": { - "line": 14, + "line": 17, "column": 4 }, "end": { - "line": 14, + "line": 17, "column": 8 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 316, - "end": 336, + "start": 351, + "end": 371, "loc": { "start": { - "line": 14, + "line": 17, "column": 9 }, "end": { - "line": 14, + "line": 17, "column": 29 }, "identifierName": "initKeyboardListener" }, "name": "initKeyboardListener" }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 374, + "end": 410, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 374, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 374, + "end": 399, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 374, + "end": 378, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 379, + "end": 399, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 57 + }, + "identifierName": "initKeyboardListener" + }, + "name": "initKeyboardListener" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 400, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 62 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 405, + "end": 409, + "loc": { + "start": { + "line": 17, + "column": 63 + }, + "end": { + "line": 17, + "column": 67 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 311, + "end": 340, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 417, + "end": 494, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 417, + "end": 493, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 417, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 417, + "end": 421, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 422, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 35 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, "computed": false }, - "arguments": [] - } + "right": { + "type": "CallExpression", + "start": 451, + "end": 493, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 451, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 451, + "end": 482, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 69 + } + }, + "object": { + "type": "ThisExpression", + "start": 451, + "end": 455, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "start": 456, + "end": 482, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 69 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 483, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 70 + }, + "end": { + "line": 18, + "column": 74 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 488, + "end": 492, + "loc": { + "start": { + "line": 18, + "column": 75 + }, + "end": { + "line": 18, + "column": 79 + } + } + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 553, + "end": 581, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 553, + "end": 580, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 553, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 558, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 29 + }, + "identifierName": "initKeyboardListener" + }, + "name": "initKeyboardListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ] } ], "directives": [], @@ -5629,15 +6524,15 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes key event listeners\r\n ", - "start": 350, - "end": 398, + "start": 592, + "end": 640, "loc": { "start": { - "line": 17, + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 28, "column": 5 } } @@ -5645,16 +6540,16 @@ ] }, { - "type": "ClassProperty", - "start": 402, - "end": 1718, + "type": "ClassMethod", + "start": 644, + "end": 1953, "loc": { "start": { - "line": 20, + "line": 29, "column": 2 }, "end": { - "line": 51, + "line": 60, "column": 3 } }, @@ -5662,15 +6557,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 402, - "end": 422, + "start": 644, + "end": 664, "loc": { "start": { - "line": 20, + "line": 29, "column": 2 }, "end": { - "line": 20, + "line": 29, "column": 22 }, "identifierName": "initKeyboardListener" @@ -5678,2540 +6573,1024 @@ "name": "initKeyboardListener", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 425, - "end": 1718, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 666, + "end": 1953, "loc": { "start": { - "line": 20, - "column": 25 + "line": 29, + "column": 24 }, "end": { - "line": 51, + "line": 60, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 431, - "end": 1718, - "loc": { - "start": { - "line": 20, - "column": 31 + "body": [ + { + "type": "ExpressionStatement", + "start": 712, + "end": 1408, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 44, + "column": 7 + } }, - "end": { - "line": 51, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 477, - "end": 1173, + "expression": { + "type": "CallExpression", + "start": 712, + "end": 1407, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 35, - "column": 7 + "line": 44, + "column": 6 } }, - "expression": { - "type": "CallExpression", - "start": 477, - "end": 1172, + "callee": { + "type": "MemberExpression", + "start": 712, + "end": 737, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 35, - "column": 6 + "line": 31, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 477, - "end": 502, + "object": { + "type": "Identifier", + "start": 712, + "end": 720, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 22, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 477, - "end": 485, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 12 - }, - "identifierName": "document" + "line": 31, + "column": 12 }, - "name": "document", - "leadingComments": null + "identifierName": "document" }, - "property": { - "type": "Identifier", - "start": 486, - "end": 502, - "loc": { - "start": { - "line": 22, - "column": 13 - }, - "end": { - "line": 22, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false, + "name": "document", "leadingComments": null }, - "arguments": [ - { - "type": "StringLiteral", - "start": 503, - "end": 512, - "loc": { - "start": { - "line": 22, - "column": 30 - }, - "end": { - "line": 22, - "column": 39 - } + "property": { + "type": "Identifier", + "start": 721, + "end": 737, + "loc": { + "start": { + "line": 31, + "column": 13 }, - "extra": { - "rawValue": "keydown", - "raw": "\"keydown\"" + "end": { + "line": 31, + "column": 29 }, - "value": "keydown" + "identifierName": "addEventListener" }, - { - "type": "ArrowFunctionExpression", - "start": 514, - "end": 1171, + "name": "addEventListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 738, + "end": 747, + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 39 + } + }, + "extra": { + "rawValue": "keydown", + "raw": "\"keydown\"" + }, + "value": "keydown" + }, + { + "type": "ArrowFunctionExpression", + "start": 749, + "end": 1406, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 44, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 750, + "end": 755, + "loc": { + "start": { + "line": 31, + "column": 42 + }, + "end": { + "line": 31, + "column": 47 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 760, + "end": 1406, "loc": { "start": { - "line": 22, - "column": 41 + "line": 31, + "column": 52 }, "end": { - "line": 35, + "line": 44, "column": 5 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 515, - "end": 520, + "type": "IfStatement", + "start": 769, + "end": 1399, "loc": { "start": { - "line": 22, - "column": 42 + "line": 32, + "column": 6 }, "end": { - "line": 22, - "column": 47 - }, - "identifierName": "event" + "line": 43, + "column": 7 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 525, - "end": 1171, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 35, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 534, - "end": 1164, + "test": { + "type": "MemberExpression", + "start": 772, + "end": 833, "loc": { "start": { - "line": 23, - "column": 6 + "line": 32, + "column": 9 }, "end": { - "line": 34, - "column": 7 + "line": 32, + "column": 70 } }, - "test": { + "object": { "type": "MemberExpression", - "start": 537, - "end": 598, + "start": 772, + "end": 807, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 70 + "line": 32, + "column": 44 } }, "object": { "type": "MemberExpression", - "start": 537, - "end": 572, + "start": 772, + "end": 799, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 44 + "line": 32, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 537, - "end": 564, + "type": "ThisExpression", + "start": 772, + "end": 776, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, - "column": 36 + "line": 32, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 537, - "end": 541, - "loc": { - "start": { - "line": 23, - "column": 9 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 542, - "end": 564, - "loc": { - "start": { - "line": 23, - "column": 14 - }, - "end": { - "line": 23, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 565, - "end": 572, + "start": 777, + "end": 799, "loc": { "start": { - "line": 23, - "column": 37 + "line": 32, + "column": 14 }, "end": { - "line": 23, - "column": 44 + "line": 32, + "column": 36 }, - "identifierName": "options" + "identifierName": "simpleKeyboardInstance" }, - "name": "options" + "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", - "start": 573, - "end": 598, + "start": 800, + "end": 807, "loc": { "start": { - "line": 23, - "column": 45 + "line": 32, + "column": 37 }, "end": { - "line": 23, - "column": 70 + "line": 32, + "column": 44 }, - "identifierName": "physicalKeyboardHighlight" + "identifierName": "options" }, - "name": "physicalKeyboardHighlight" + "name": "options" }, "computed": false }, - "consequent": { - "type": "BlockStatement", - "start": 599, - "end": 1164, + "property": { + "type": "Identifier", + "start": 808, + "end": 833, "loc": { "start": { - "line": 23, - "column": 71 + "line": 32, + "column": 45 }, "end": { - "line": 34, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 610, - "end": 669, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 67 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 614, - "end": 668, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 66 - } - }, - "id": { - "type": "Identifier", - "start": 614, - "end": 627, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 25 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - }, - "init": { - "type": "CallExpression", - "start": 630, - "end": 668, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 630, - "end": 661, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 59 - } - }, - "object": { - "type": "ThisExpression", - "start": 630, - "end": 634, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 635, - "end": 661, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 59 - }, - "identifierName": "getSimpleKeyboardLayoutKey" - }, - "name": "getSimpleKeyboardLayoutKey" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 662, - "end": 667, - "loc": { - "start": { - "line": 24, - "column": 60 - }, - "end": { - "line": 24, - "column": 65 - }, - "identifierName": "event" - }, - "name": "event" - } - ] - } - } - ], - "kind": "let" + "line": 32, + "column": 70 }, - { - "type": "ExpressionStatement", - "start": 681, - "end": 1155, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 33, - "column": 11 - } + "identifierName": "physicalKeyboardHighlight" + }, + "name": "physicalKeyboardHighlight" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 834, + "end": 1399, + "loc": { + "start": { + "line": 32, + "column": 71 + }, + "end": { + "line": 43, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 845, + "end": 904, + "loc": { + "start": { + "line": 33, + "column": 8 }, - "expression": { - "type": "CallExpression", - "start": 681, - "end": 1154, + "end": { + "line": 33, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 849, + "end": 903, "loc": { "start": { - "line": 26, - "column": 8 + "line": 33, + "column": 12 }, "end": { "line": 33, - "column": 10 + "column": 66 } }, - "callee": { - "type": "MemberExpression", - "start": 681, - "end": 717, + "id": { + "type": "Identifier", + "start": 849, + "end": 862, "loc": { "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 681, - "end": 708, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 681, - "end": 685, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 686, - "end": 708, - "loc": { - "start": { - "line": 26, - "column": 13 - }, - "end": { - "line": 26, - "column": 35 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 709, - "end": 717, - "loc": { - "start": { - "line": 26, - "column": 36 - }, - "end": { - "line": 26, - "column": 44 - }, - "identifierName": "dispatch" - }, - "name": "dispatch" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 718, - "end": 1153, - "loc": { - "start": { - "line": 26, - "column": 45 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 718, - "end": 726, - "loc": { - "start": { - "line": 26, - "column": 45 - }, - "end": { - "line": 26, - "column": 53 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 730, - "end": 1153, - "loc": { - "start": { - "line": 26, - "column": 57 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 743, - "end": 851, - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 118 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 747, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "id": { - "type": "Identifier", - "start": 747, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 23 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "init": { - "type": "LogicalExpression", - "start": 759, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "left": { - "type": "CallExpression", - "start": 759, - "end": 799, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 759, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 759, - "end": 767, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 34 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 768, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 51 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 785, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 52 - }, - "end": { - "line": 27, - "column": 65 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ] - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 803, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 117 - } - }, - "callee": { - "type": "MemberExpression", - "start": 803, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 95 - } - }, - "object": { - "type": "Identifier", - "start": 803, - "end": 811, - "loc": { - "start": { - "line": 27, - "column": 70 - }, - "end": { - "line": 27, - "column": 78 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 812, - "end": 828, - "loc": { - "start": { - "line": 27, - "column": 79 - }, - "end": { - "line": 27, - "column": 95 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 829, - "end": 849, - "loc": { - "start": { - "line": 27, - "column": 96 - }, - "end": { - "line": 27, - "column": 116 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 833, - "end": 846, - "loc": { - "start": { - "line": 27, - "column": 100 - }, - "end": { - "line": 27, - "column": 113 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 27, - "column": 97 - }, - "end": { - "line": 27, - "column": 98 - } - }, - "value": { - "raw": "{", - "cooked": "{" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 847, - "end": 848, - "loc": { - "start": { - "line": 27, - "column": 114 - }, - "end": { - "line": 27, - "column": 115 - } - }, - "value": { - "raw": "}", - "cooked": "}" - }, - "tail": true - } - ] - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 865, - "end": 1142, - "loc": { - "start": { - "line": 29, - "column": 10 - }, - "end": { - "line": 32, - "column": 11 - } - }, - "test": { - "type": "Identifier", - "start": 868, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 22 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "consequent": { - "type": "BlockStatement", - "start": 878, - "end": 1142, - "loc": { - "start": { - "line": 29, - "column": 23 - }, - "end": { - "line": 32, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 893, - "end": 1009, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 128 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 893, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 893, - "end": 924, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 893, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 893, - "end": 902, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 903, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 27 - }, - "identifierName": "style" - }, - "name": "style" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 909, - "end": 924, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 30, - "column": 43 - }, - "identifierName": "backgroundColor" - }, - "name": "backgroundColor" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 927, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "left": { - "type": "MemberExpression", - "start": 927, - "end": 995, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 114 - } - }, - "object": { - "type": "MemberExpression", - "start": 927, - "end": 962, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 81 - } - }, - "object": { - "type": "MemberExpression", - "start": 927, - "end": 954, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 73 - } - }, - "object": { - "type": "ThisExpression", - "start": 927, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - "property": { - "type": "Identifier", - "start": 932, - "end": 954, - "loc": { - "start": { - "line": 30, - "column": 51 - }, - "end": { - "line": 30, - "column": 73 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 955, - "end": 962, - "loc": { - "start": { - "line": 30, - "column": 74 - }, - "end": { - "line": 30, - "column": 81 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 963, - "end": 995, - "loc": { - "start": { - "line": 30, - "column": 82 - }, - "end": { - "line": 30, - "column": 114 - }, - "identifierName": "physicalKeyboardHighlightBgColor" - }, - "name": "physicalKeyboardHighlightBgColor" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "StringLiteral", - "start": 999, - "end": 1008, - "loc": { - "start": { - "line": 30, - "column": 118 - }, - "end": { - "line": 30, - "column": 127 - } - }, - "extra": { - "rawValue": "#9ab4d0", - "raw": "\"#9ab4d0\"" - }, - "value": "#9ab4d0" - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 1023, - "end": 1129, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 118 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1023, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1023, - "end": 1044, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 1023, - "end": 1038, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 1023, - "end": 1032, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "property": { - "type": "Identifier", - "start": 1033, - "end": 1038, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "style" - }, - "name": "style" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1039, - "end": 1044, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 33 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 1047, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "left": { - "type": "MemberExpression", - "start": 1047, - "end": 1117, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 106 - } - }, - "object": { - "type": "MemberExpression", - "start": 1047, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 71 - } - }, - "object": { - "type": "MemberExpression", - "start": 1047, - "end": 1074, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 63 - } - }, - "object": { - "type": "ThisExpression", - "start": 1047, - "end": 1051, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 40 - } - } - }, - "property": { - "type": "Identifier", - "start": 1052, - "end": 1074, - "loc": { - "start": { - "line": 31, - "column": 41 - }, - "end": { - "line": 31, - "column": 63 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1075, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 64 - }, - "end": { - "line": 31, - "column": 71 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1083, - "end": 1117, - "loc": { - "start": { - "line": 31, - "column": 72 - }, - "end": { - "line": 31, - "column": 106 - }, - "identifierName": "physicalKeyboardHighlightTextColor" - }, - "name": "physicalKeyboardHighlightTextColor" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "StringLiteral", - "start": 1121, - "end": 1128, - "loc": { - "start": { - "line": 31, - "column": 110 - }, - "end": { - "line": 31, - "column": 117 - } - }, - "extra": { - "rawValue": "white", - "raw": "\"white\"" - }, - "value": "white" - } - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Adding button style on keydown", - "start": 438, - "end": 471, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 37 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 37, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1220, - "end": 1713, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 50, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1220, - "end": 1712, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1220, - "end": 1245, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 1220, - "end": 1228, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 12 - }, - "identifierName": "document" - }, - "name": "document", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1229, - "end": 1245, - "loc": { - "start": { - "line": 38, - "column": 13 - }, - "end": { - "line": 38, - "column": 29 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1246, - "end": 1253, - "loc": { - "start": { - "line": 38, - "column": 30 - }, - "end": { - "line": 38, - "column": 37 - } - }, - "extra": { - "rawValue": "keyup", - "raw": "\"keyup\"" - }, - "value": "keyup" - }, - { - "type": "ArrowFunctionExpression", - "start": 1255, - "end": 1711, - "loc": { - "start": { - "line": 38, - "column": 39 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1256, - "end": 1261, - "loc": { - "start": { - "line": 38, - "column": 40 - }, - "end": { - "line": 38, - "column": 45 - }, - "identifierName": "event" - }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 1266, - "end": 1711, - "loc": { - "start": { - "line": 38, - "column": 50 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1275, - "end": 1704, - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 49, - "column": 7 - } - }, - "test": { - "type": "MemberExpression", - "start": 1278, - "end": 1339, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 70 - } - }, - "object": { - "type": "MemberExpression", - "start": 1278, - "end": 1313, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 1278, - "end": 1305, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 1278, - "end": 1282, - "loc": { - "start": { - "line": 39, - "column": 9 - }, - "end": { - "line": 39, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 1283, - "end": 1305, - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1306, - "end": 1313, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 44 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1314, - "end": 1339, - "loc": { - "start": { - "line": 39, - "column": 45 - }, - "end": { - "line": 39, - "column": 70 - }, - "identifierName": "physicalKeyboardHighlight" - }, - "name": "physicalKeyboardHighlight" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 1340, - "end": 1704, - "loc": { - "start": { - "line": 39, - "column": 71 - }, - "end": { - "line": 49, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1351, - "end": 1410, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 67 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1355, - "end": 1409, - "loc": { - "start": { - "line": 40, + "line": 33, "column": 12 }, "end": { - "line": 40, + "line": 33, + "column": 25 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + }, + "init": { + "type": "CallExpression", + "start": 865, + "end": 903, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, "column": 66 } }, - "id": { - "type": "Identifier", - "start": 1355, - "end": 1368, + "callee": { + "type": "MemberExpression", + "start": 865, + "end": 896, "loc": { "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 25 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - }, - "init": { - "type": "CallExpression", - "start": 1371, - "end": 1409, - "loc": { - "start": { - "line": 40, + "line": 33, "column": 28 }, "end": { - "line": 40, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1371, - "end": 1402, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 59 - } - }, - "object": { - "type": "ThisExpression", - "start": 1371, - "end": 1375, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 1376, - "end": 1402, - "loc": { - "start": { - "line": 40, - "column": 33 - }, - "end": { - "line": 40, - "column": 59 - }, - "identifierName": "getSimpleKeyboardLayoutKey" - }, - "name": "getSimpleKeyboardLayoutKey" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1403, - "end": 1408, - "loc": { - "start": { - "line": 40, - "column": 60 - }, - "end": { - "line": 40, - "column": 65 - }, - "identifierName": "event" - }, - "name": "event" - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1422, - "end": 1695, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 48, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 1422, - "end": 1694, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 48, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1422, - "end": 1458, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 1422, - "end": 1449, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 35 + "line": 33, + "column": 59 } }, "object": { "type": "ThisExpression", - "start": 1422, - "end": 1426, + "start": 865, + "end": 869, "loc": { "start": { - "line": 42, - "column": 8 + "line": 33, + "column": 28 }, "end": { - "line": 42, - "column": 12 + "line": 33, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 1427, - "end": 1449, + "start": 870, + "end": 896, "loc": { "start": { - "line": 42, - "column": 13 + "line": 33, + "column": 33 }, "end": { - "line": 42, - "column": 35 + "line": 33, + "column": 59 }, - "identifierName": "simpleKeyboardInstance" + "identifierName": "getSimpleKeyboardLayoutKey" }, - "name": "simpleKeyboardInstance" + "name": "getSimpleKeyboardLayoutKey" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1450, - "end": 1458, + "arguments": [ + { + "type": "Identifier", + "start": 897, + "end": 902, + "loc": { + "start": { + "line": 33, + "column": 60 + }, + "end": { + "line": 33, + "column": 65 + }, + "identifierName": "event" + }, + "name": "event" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 916, + "end": 1390, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 916, + "end": 1389, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 42, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 916, + "end": 952, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 916, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 916, + "end": 920, "loc": { "start": { - "line": 42, - "column": 36 + "line": 35, + "column": 8 }, "end": { - "line": 42, - "column": 44 + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 921, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 13 }, - "identifierName": "dispatch" + "end": { + "line": 35, + "column": 35 + }, + "identifierName": "simpleKeyboardInstance" }, - "name": "dispatch" + "name": "simpleKeyboardInstance" }, "computed": false }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1459, - "end": 1693, + "property": { + "type": "Identifier", + "start": 944, + "end": 952, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 35, + "column": 44 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 953, + "end": 1388, + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 42, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 953, + "end": 961, + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 35, + "column": 53 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 965, + "end": 1388, "loc": { "start": { - "line": 42, - "column": 45 + "line": 35, + "column": 57 }, "end": { - "line": 48, + "line": 42, "column": 9 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 1459, - "end": 1467, + "type": "VariableDeclaration", + "start": 978, + "end": 1086, "loc": { "start": { - "line": 42, - "column": 45 + "line": 36, + "column": 10 }, "end": { - "line": 42, - "column": 53 - }, - "identifierName": "instance" + "line": 36, + "column": 118 + } }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 1471, - "end": 1693, - "loc": { - "start": { - "line": 42, - "column": 57 - }, - "end": { - "line": 48, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1484, - "end": 1592, - "loc": { - "start": { - "line": 43, - "column": 10 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 982, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 117 + } }, - "end": { - "line": 43, - "column": 118 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1488, - "end": 1591, + "id": { + "type": "Identifier", + "start": 982, + "end": 991, "loc": { "start": { - "line": 43, + "line": 36, "column": 14 }, "end": { - "line": 43, + "line": 36, + "column": 23 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "init": { + "type": "LogicalExpression", + "start": 994, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, "column": 117 } }, - "id": { - "type": "Identifier", - "start": 1488, - "end": 1497, + "left": { + "type": "CallExpression", + "start": 994, + "end": 1034, "loc": { "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 23 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "init": { - "type": "LogicalExpression", - "start": 1500, - "end": 1591, - "loc": { - "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 117 + "line": 36, + "column": 66 } }, - "left": { - "type": "CallExpression", - "start": 1500, - "end": 1540, + "callee": { + "type": "MemberExpression", + "start": 994, + "end": 1019, "loc": { "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 66 + "line": 36, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 1500, - "end": 1525, + "object": { + "type": "Identifier", + "start": 994, + "end": 1002, "loc": { "start": { - "line": 43, + "line": 36, "column": 26 }, "end": { - "line": 43, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 1500, - "end": 1508, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 34 - }, - "identifierName": "instance" + "line": 36, + "column": 34 }, - "name": "instance" + "identifierName": "instance" }, - "property": { - "type": "Identifier", - "start": 1509, - "end": 1525, - "loc": { - "start": { - "line": 43, - "column": 35 - }, - "end": { - "line": 43, - "column": 51 - }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false + "name": "instance" }, - "arguments": [ - { - "type": "Identifier", - "start": 1526, - "end": 1539, - "loc": { - "start": { - "line": 43, - "column": 52 - }, - "end": { - "line": 43, - "column": 65 - }, - "identifierName": "buttonPressed" + "property": { + "type": "Identifier", + "start": 1003, + "end": 1019, + "loc": { + "start": { + "line": 36, + "column": 35 }, - "name": "buttonPressed" - } - ] + "end": { + "line": 36, + "column": 51 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 1544, - "end": 1591, + "arguments": [ + { + "type": "Identifier", + "start": 1020, + "end": 1033, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 65 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 1038, + "end": 1085, + "loc": { + "start": { + "line": 36, + "column": 70 + }, + "end": { + "line": 36, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1038, + "end": 1063, "loc": { "start": { - "line": 43, + "line": 36, "column": 70 }, "end": { - "line": 43, - "column": 117 + "line": 36, + "column": 95 } }, - "callee": { - "type": "MemberExpression", - "start": 1544, - "end": 1569, + "object": { + "type": "Identifier", + "start": 1038, + "end": 1046, "loc": { "start": { - "line": 43, + "line": 36, "column": 70 }, "end": { - "line": 43, + "line": 36, + "column": 78 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1047, + "end": 1063, + "loc": { + "start": { + "line": 36, + "column": 79 + }, + "end": { + "line": 36, "column": 95 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1064, + "end": 1084, + "loc": { + "start": { + "line": 36, + "column": 96 + }, + "end": { + "line": 36, + "column": 116 } }, - "object": { - "type": "Identifier", - "start": 1544, - "end": 1552, - "loc": { - "start": { - "line": 43, - "column": 70 + "expressions": [ + { + "type": "Identifier", + "start": 1068, + "end": 1081, + "loc": { + "start": { + "line": 36, + "column": 100 + }, + "end": { + "line": 36, + "column": 113 + }, + "identifierName": "buttonPressed" }, - "end": { - "line": 43, - "column": 78 + "name": "buttonPressed" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 98 + } }, - "identifierName": "instance" + "value": { + "raw": "{", + "cooked": "{" + }, + "tail": false }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 1553, - "end": 1569, - "loc": { - "start": { - "line": 43, - "column": 79 + { + "type": "TemplateElement", + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 36, + "column": 114 + }, + "end": { + "line": 36, + "column": 115 + } }, - "end": { - "line": 43, - "column": 95 + "value": { + "raw": "}", + "cooked": "}" }, - "identifierName": "getButtonElement" - }, - "name": "getButtonElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 1570, - "end": 1590, - "loc": { - "start": { - "line": 43, - "column": 96 - }, - "end": { - "line": 43, - "column": 116 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 1574, - "end": 1587, - "loc": { - "start": { - "line": 43, - "column": 100 - }, - "end": { - "line": 43, - "column": 113 - }, - "identifierName": "buttonPressed" - }, - "name": "buttonPressed" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1571, - "end": 1572, - "loc": { - "start": { - "line": 43, - "column": 97 - }, - "end": { - "line": 43, - "column": 98 - } - }, - "value": { - "raw": "{", - "cooked": "{" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1588, - "end": 1589, - "loc": { - "start": { - "line": 43, - "column": 114 - }, - "end": { - "line": 43, - "column": 115 - } - }, - "value": { - "raw": "}", - "cooked": "}" - }, - "tail": true - } - ] - } - ] - } + "tail": true + } + ] + } + ] } } - ], - "kind": "let" + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1100, + "end": 1377, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 41, + "column": 11 + } }, - { - "type": "IfStatement", - "start": 1606, - "end": 1682, + "test": { + "type": "Identifier", + "start": 1103, + "end": 1112, "loc": { "start": { - "line": 45, - "column": 10 + "line": 38, + "column": 13 }, "end": { - "line": 47, + "line": 38, + "column": 22 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "consequent": { + "type": "BlockStatement", + "start": 1113, + "end": 1377, + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 41, "column": 11 } }, - "test": { - "type": "Identifier", - "start": 1609, - "end": 1618, - "loc": { - "start": { - "line": 45, - "column": 13 + "body": [ + { + "type": "ExpressionStatement", + "start": 1128, + "end": 1244, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 128 + } }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "buttonDOM" - }, - "name": "buttonDOM" - }, - "consequent": { - "type": "BlockStatement", - "start": 1619, - "end": 1682, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 47, - "column": 11 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1634, - "end": 1669, + "expression": { + "type": "AssignmentExpression", + "start": 1128, + "end": 1243, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 47 + "line": 39, + "column": 127 } }, - "expression": { - "type": "CallExpression", - "start": 1634, - "end": 1668, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1128, + "end": 1159, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 46 + "line": 39, + "column": 43 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 1634, - "end": 1659, + "start": 1128, + "end": 1143, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, - "column": 37 + "line": 39, + "column": 27 } }, "object": { "type": "Identifier", - "start": 1634, - "end": 1643, + "start": 1128, + "end": 1137, "loc": { "start": { - "line": 46, + "line": 39, "column": 12 }, "end": { - "line": 46, + "line": 39, "column": 21 }, "identifierName": "buttonDOM" @@ -8220,109 +7599,1610 @@ }, "property": { "type": "Identifier", - "start": 1644, - "end": 1659, + "start": 1138, + "end": 1143, "loc": { "start": { - "line": 46, + "line": 39, "column": 22 }, "end": { - "line": 46, - "column": 37 + "line": 39, + "column": 27 }, - "identifierName": "removeAttribute" + "identifierName": "style" }, - "name": "removeAttribute" + "name": "style" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1660, - "end": 1667, + "property": { + "type": "Identifier", + "start": 1144, + "end": 1159, + "loc": { + "start": { + "line": 39, + "column": 28 + }, + "end": { + "line": 39, + "column": 43 + }, + "identifierName": "backgroundColor" + }, + "name": "backgroundColor" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 1162, + "end": 1243, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 127 + } + }, + "left": { + "type": "MemberExpression", + "start": 1162, + "end": 1230, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 114 + } + }, + "object": { + "type": "MemberExpression", + "start": 1162, + "end": 1197, "loc": { "start": { - "line": 46, - "column": 38 + "line": 39, + "column": 46 }, "end": { - "line": 46, - "column": 45 + "line": 39, + "column": 81 } }, - "extra": { - "rawValue": "style", - "raw": "\"style\"" + "object": { + "type": "MemberExpression", + "start": 1162, + "end": 1189, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 73 + } + }, + "object": { + "type": "ThisExpression", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 1167, + "end": 1189, + "loc": { + "start": { + "line": 39, + "column": 51 + }, + "end": { + "line": 39, + "column": 73 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false }, - "value": "style" - } - ] + "property": { + "type": "Identifier", + "start": 1190, + "end": 1197, + "loc": { + "start": { + "line": 39, + "column": 74 + }, + "end": { + "line": 39, + "column": 81 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1198, + "end": 1230, + "loc": { + "start": { + "line": 39, + "column": 82 + }, + "end": { + "line": 39, + "column": 114 + }, + "identifierName": "physicalKeyboardHighlightBgColor" + }, + "name": "physicalKeyboardHighlightBgColor" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "StringLiteral", + "start": 1234, + "end": 1243, + "loc": { + "start": { + "line": 39, + "column": 118 + }, + "end": { + "line": 39, + "column": 127 + } + }, + "extra": { + "rawValue": "#9ab4d0", + "raw": "\"#9ab4d0\"" + }, + "value": "#9ab4d0" + } } } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + }, + { + "type": "ExpressionStatement", + "start": 1258, + "end": 1364, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 118 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1258, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1258, + "end": 1279, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1258, + "end": 1273, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1258, + "end": 1267, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 1268, + "end": 1273, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 27 + }, + "identifierName": "style" + }, + "name": "style" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1274, + "end": 1279, + "loc": { + "start": { + "line": 40, + "column": 28 + }, + "end": { + "line": 40, + "column": 33 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 1282, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "left": { + "type": "MemberExpression", + "start": 1282, + "end": 1352, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 106 + } + }, + "object": { + "type": "MemberExpression", + "start": 1282, + "end": 1317, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 71 + } + }, + "object": { + "type": "MemberExpression", + "start": 1282, + "end": 1309, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 1282, + "end": 1286, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 1287, + "end": 1309, + "loc": { + "start": { + "line": 40, + "column": 41 + }, + "end": { + "line": 40, + "column": 63 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1310, + "end": 1317, + "loc": { + "start": { + "line": 40, + "column": 64 + }, + "end": { + "line": 40, + "column": 71 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1318, + "end": 1352, + "loc": { + "start": { + "line": 40, + "column": 72 + }, + "end": { + "line": 40, + "column": 106 + }, + "identifierName": "physicalKeyboardHighlightTextColor" + }, + "name": "physicalKeyboardHighlightTextColor" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "StringLiteral", + "start": 1356, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 110 + }, + "end": { + "line": 40, + "column": 117 + } + }, + "extra": { + "rawValue": "white", + "raw": "\"white\"" + }, + "value": "white" + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } - ] - } + } + ] } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } - ], - "leadingComments": null + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Adding button style on keydown", + "start": 673, + "end": 706, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 37 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Removing button style on keyup", + "start": 1416, + "end": 1449, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1455, + "end": 1948, + "loc": { + "start": { + "line": 47, + "column": 4 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, + "end": { + "line": 59, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 1455, + "end": 1947, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 59, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1455, + "end": 1480, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1455, + "end": 1463, "loc": { "start": { - "line": 37, + "line": 47, "column": 4 }, "end": { - "line": 37, + "line": 47, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1464, + "end": 1480, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 29 + }, + "identifierName": "addEventListener" + }, + "name": "addEventListener" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1481, + "end": 1488, + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, "column": 37 } + }, + "extra": { + "rawValue": "keyup", + "raw": "\"keyup\"" + }, + "value": "keyup" + }, + { + "type": "ArrowFunctionExpression", + "start": 1490, + "end": 1946, + "loc": { + "start": { + "line": 47, + "column": 39 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1491, + "end": 1496, + "loc": { + "start": { + "line": 47, + "column": 40 + }, + "end": { + "line": 47, + "column": 45 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 1501, + "end": 1946, + "loc": { + "start": { + "line": 47, + "column": 50 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1510, + "end": 1939, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 58, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 1513, + "end": 1574, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 1513, + "end": 1548, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 1513, + "end": 1540, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 1513, + "end": 1517, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1518, + "end": 1540, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 36 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1541, + "end": 1548, + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 44 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1549, + "end": 1574, + "loc": { + "start": { + "line": 48, + "column": 45 + }, + "end": { + "line": 48, + "column": 70 + }, + "identifierName": "physicalKeyboardHighlight" + }, + "name": "physicalKeyboardHighlight" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1575, + "end": 1939, + "loc": { + "start": { + "line": 48, + "column": 71 + }, + "end": { + "line": 58, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1586, + "end": 1645, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1590, + "end": 1644, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 66 + } + }, + "id": { + "type": "Identifier", + "start": 1590, + "end": 1603, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 25 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + }, + "init": { + "type": "CallExpression", + "start": 1606, + "end": 1644, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1606, + "end": 1637, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 59 + } + }, + "object": { + "type": "ThisExpression", + "start": 1606, + "end": 1610, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1611, + "end": 1637, + "loc": { + "start": { + "line": 49, + "column": 33 + }, + "end": { + "line": 49, + "column": 59 + }, + "identifierName": "getSimpleKeyboardLayoutKey" + }, + "name": "getSimpleKeyboardLayoutKey" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1638, + "end": 1643, + "loc": { + "start": { + "line": 49, + "column": 60 + }, + "end": { + "line": 49, + "column": 65 + }, + "identifierName": "event" + }, + "name": "event" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 1657, + "end": 1930, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 57, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1657, + "end": 1929, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 57, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1657, + "end": 1693, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 1657, + "end": 1684, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 1657, + "end": 1661, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1662, + "end": 1684, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 35 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1685, + "end": 1693, + "loc": { + "start": { + "line": 51, + "column": 36 + }, + "end": { + "line": 51, + "column": 44 + }, + "identifierName": "dispatch" + }, + "name": "dispatch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1694, + "end": 1928, + "loc": { + "start": { + "line": 51, + "column": 45 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1694, + "end": 1702, + "loc": { + "start": { + "line": 51, + "column": 45 + }, + "end": { + "line": 51, + "column": 53 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 1706, + "end": 1928, + "loc": { + "start": { + "line": 51, + "column": 57 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1719, + "end": 1827, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 118 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1723, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "id": { + "type": "Identifier", + "start": 1723, + "end": 1732, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 23 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "init": { + "type": "LogicalExpression", + "start": 1735, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "left": { + "type": "CallExpression", + "start": 1735, + "end": 1775, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1735, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 1735, + "end": 1743, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 34 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1744, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 51 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1761, + "end": 1774, + "loc": { + "start": { + "line": 52, + "column": 52 + }, + "end": { + "line": 52, + "column": 65 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 1779, + "end": 1826, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1779, + "end": 1804, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 95 + } + }, + "object": { + "type": "Identifier", + "start": 1779, + "end": 1787, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 78 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "property": { + "type": "Identifier", + "start": 1788, + "end": 1804, + "loc": { + "start": { + "line": 52, + "column": 79 + }, + "end": { + "line": 52, + "column": 95 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1805, + "end": 1825, + "loc": { + "start": { + "line": 52, + "column": 96 + }, + "end": { + "line": 52, + "column": 116 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1809, + "end": 1822, + "loc": { + "start": { + "line": 52, + "column": 100 + }, + "end": { + "line": 52, + "column": 113 + }, + "identifierName": "buttonPressed" + }, + "name": "buttonPressed" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1806, + "end": 1807, + "loc": { + "start": { + "line": 52, + "column": 97 + }, + "end": { + "line": 52, + "column": 98 + } + }, + "value": { + "raw": "{", + "cooked": "{" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1823, + "end": 1824, + "loc": { + "start": { + "line": 52, + "column": 114 + }, + "end": { + "line": 52, + "column": 115 + } + }, + "value": { + "raw": "}", + "cooked": "}" + }, + "tail": true + } + ] + } + ] + } + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1841, + "end": 1917, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 56, + "column": 11 + } + }, + "test": { + "type": "Identifier", + "start": 1844, + "end": 1853, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 22 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "consequent": { + "type": "BlockStatement", + "start": 1854, + "end": 1917, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 56, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1869, + "end": 1904, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 1869, + "end": 1903, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1869, + "end": 1894, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1869, + "end": 1878, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 21 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 1879, + "end": 1894, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 37 + }, + "identifierName": "removeAttribute" + }, + "name": "removeAttribute" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1895, + "end": 1902, + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 45 + } + }, + "extra": { + "rawValue": "style", + "raw": "\"style\"" + }, + "value": "style" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } } - ] - } - ], - "directives": [], - "trailingComments": null - }, + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Removing button style on keyup", + "start": 1416, + "end": 1449, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 37 + } + } + } + ] + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes key event listeners\r\n ", - "start": 350, - "end": 398, + "start": 592, + "end": 640, "loc": { "start": { - "line": 17, + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 28, "column": 5 } } @@ -8332,15 +9212,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -8348,16 +9228,16 @@ ] }, { - "type": "ClassProperty", - "start": 1875, - "end": 2612, + "type": "ClassMethod", + "start": 2110, + "end": 2840, "loc": { "start": { - "line": 57, + "line": 66, "column": 2 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, @@ -8365,15 +9245,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1875, - "end": 1901, + "start": 2110, + "end": 2136, "loc": { "start": { - "line": 57, + "line": 66, "column": 2 }, "end": { - "line": 57, + "line": 66, "column": 28 }, "identifierName": "getSimpleKeyboardLayoutKey" @@ -8381,503 +9261,247 @@ "name": "getSimpleKeyboardLayoutKey", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 1904, - "end": 2612, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2137, + "end": 2142, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 34 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 2143, + "end": 2840, "loc": { "start": { - "line": 57, - "column": 31 + "line": 66, + "column": 35 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 1905, - "end": 1910, + "type": "VariableDeclaration", + "start": 2150, + "end": 2161, "loc": { "start": { - "line": 57, - "column": 32 + "line": 67, + "column": 4 }, "end": { - "line": 57, - "column": 37 - }, - "identifierName": "event" + "line": 67, + "column": 15 + } }, - "name": "event" - } - ], - "body": { - "type": "BlockStatement", - "start": 1915, - "end": 2612, - "loc": { - "start": { - "line": 57, - "column": 42 - }, - "end": { - "line": 85, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1922, - "end": 1933, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1926, - "end": 1932, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 1926, - "end": 1932, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - }, - "identifierName": "output" - }, - "name": "output" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 1941, - "end": 2302, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 72, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 1952, - "end": 2218, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2154, + "end": 2160, "loc": { "start": { - "line": 61, - "column": 6 + "line": 67, + "column": 8 }, "end": { "line": 67, - "column": 33 + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 2154, + "end": 2160, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 2169, + "end": 2530, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2180, + "end": 2446, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 76, + "column": 33 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2180, + "end": 2408, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 75, + "column": 32 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2180, + "start": 2180, + "end": 2371, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 66, - "column": 32 + "line": 74, + "column": 36 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2143, + "start": 2180, + "end": 2330, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 65, - "column": 36 + "line": 73, + "column": 38 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2102, + "start": 2180, + "end": 2287, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 64, - "column": 38 + "line": 72, + "column": 34 } }, "left": { "type": "LogicalExpression", - "start": 1952, - "end": 2059, + "start": 2180, + "end": 2248, "loc": { "start": { - "line": 61, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 71, "column": 34 } }, "left": { - "type": "LogicalExpression", - "start": 1952, - "end": 2020, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 62, - "column": 34 - } - }, - "left": { - "type": "CallExpression", - "start": 1952, - "end": 1981, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1952, - "end": 1971, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 1952, - "end": 1962, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 16 - } - }, - "object": { - "type": "Identifier", - "start": 1952, - "end": 1957, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 11 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 1958, - "end": 1962, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 16 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1963, - "end": 1971, - "loc": { - "start": { - "line": 61, - "column": 17 - }, - "end": { - "line": 61, - "column": 25 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1972, - "end": 1980, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 34 - } - }, - "extra": { - "rawValue": "Numpad", - "raw": "\"Numpad\"" - }, - "value": "Numpad" - } - ] - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 1992, - "end": 2020, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1992, - "end": 2011, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 1992, - "end": 2002, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 16 - } - }, - "object": { - "type": "Identifier", - "start": 1992, - "end": 1997, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 11 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 1998, - "end": 2002, - "loc": { - "start": { - "line": 62, - "column": 12 - }, - "end": { - "line": 62, - "column": 16 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2003, - "end": 2011, - "loc": { - "start": { - "line": 62, - "column": 17 - }, - "end": { - "line": 62, - "column": 25 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2012, - "end": 2019, - "loc": { - "start": { - "line": 62, - "column": 26 - }, - "end": { - "line": 62, - "column": 33 - } - }, - "extra": { - "rawValue": "Shift", - "raw": "\"Shift\"" - }, - "value": "Shift" - } - ] - } - }, - "operator": "||", - "right": { "type": "CallExpression", - "start": 2031, - "end": 2059, + "start": 2180, + "end": 2209, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, - "column": 34 + "line": 70, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 2031, - "end": 2050, + "start": 2180, + "end": 2199, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2031, - "end": 2041, + "start": 2180, + "end": 2190, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 16 } }, "object": { "type": "Identifier", - "start": 2031, - "end": 2036, + "start": 2180, + "end": 2185, "loc": { "start": { - "line": 63, + "line": 70, "column": 6 }, "end": { - "line": 63, + "line": 70, "column": 11 }, "identifierName": "event" @@ -8886,15 +9510,15 @@ }, "property": { "type": "Identifier", - "start": 2037, - "end": 2041, + "start": 2186, + "end": 2190, "loc": { "start": { - "line": 63, + "line": 70, "column": 12 }, "end": { - "line": 63, + "line": 70, "column": 16 }, "identifierName": "code" @@ -8905,15 +9529,15 @@ }, "property": { "type": "Identifier", - "start": 2042, - "end": 2050, + "start": 2191, + "end": 2199, "loc": { "start": { - "line": 63, + "line": 70, "column": 17 }, "end": { - "line": 63, + "line": 70, "column": 25 }, "identifierName": "includes" @@ -8925,23 +9549,144 @@ "arguments": [ { "type": "StringLiteral", - "start": 2051, - "end": 2058, + "start": 2200, + "end": 2208, "loc": { "start": { - "line": 63, + "line": 70, "column": 26 }, "end": { - "line": 63, + "line": 70, + "column": 34 + } + }, + "extra": { + "rawValue": "Numpad", + "raw": "\"Numpad\"" + }, + "value": "Numpad" + } + ] + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 2220, + "end": 2248, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2220, + "end": 2239, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 2220, + "end": 2230, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2220, + "end": 2225, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 11 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2226, + "end": 2230, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 16 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2231, + "end": 2239, + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 25 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2240, + "end": 2247, + "loc": { + "start": { + "line": 71, + "column": 26 + }, + "end": { + "line": 71, "column": 33 } }, "extra": { - "rawValue": "Space", - "raw": "\"Space\"" + "rawValue": "Shift", + "raw": "\"Shift\"" }, - "value": "Space" + "value": "Shift" } ] } @@ -8949,57 +9694,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2070, - "end": 2102, + "start": 2259, + "end": 2287, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, - "column": 38 + "line": 72, + "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 2070, - "end": 2089, + "start": 2259, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2070, - "end": 2080, + "start": 2259, + "end": 2269, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 16 } }, "object": { "type": "Identifier", - "start": 2070, - "end": 2075, + "start": 2259, + "end": 2264, "loc": { "start": { - "line": 64, + "line": 72, "column": 6 }, "end": { - "line": 64, + "line": 72, "column": 11 }, "identifierName": "event" @@ -9008,15 +9753,15 @@ }, "property": { "type": "Identifier", - "start": 2076, - "end": 2080, + "start": 2265, + "end": 2269, "loc": { "start": { - "line": 64, + "line": 72, "column": 12 }, "end": { - "line": 64, + "line": 72, "column": 16 }, "identifierName": "code" @@ -9027,15 +9772,15 @@ }, "property": { "type": "Identifier", - "start": 2081, - "end": 2089, + "start": 2270, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 72, "column": 17 }, "end": { - "line": 64, + "line": 72, "column": 25 }, "identifierName": "includes" @@ -9047,23 +9792,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2090, - "end": 2101, + "start": 2279, + "end": 2286, "loc": { "start": { - "line": 64, + "line": 72, "column": 26 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 33 } }, "extra": { - "rawValue": "Backspace", - "raw": "\"Backspace\"" + "rawValue": "Space", + "raw": "\"Space\"" }, - "value": "Backspace" + "value": "Space" } ] } @@ -9071,57 +9816,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2113, - "end": 2143, + "start": 2298, + "end": 2330, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, - "column": 36 + "line": 73, + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2113, - "end": 2132, + "start": 2298, + "end": 2317, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2113, - "end": 2123, + "start": 2298, + "end": 2308, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 16 } }, "object": { "type": "Identifier", - "start": 2113, - "end": 2118, + "start": 2298, + "end": 2303, "loc": { "start": { - "line": 65, + "line": 73, "column": 6 }, "end": { - "line": 65, + "line": 73, "column": 11 }, "identifierName": "event" @@ -9130,15 +9875,15 @@ }, "property": { "type": "Identifier", - "start": 2119, - "end": 2123, + "start": 2304, + "end": 2308, "loc": { "start": { - "line": 65, + "line": 73, "column": 12 }, "end": { - "line": 65, + "line": 73, "column": 16 }, "identifierName": "code" @@ -9149,15 +9894,15 @@ }, "property": { "type": "Identifier", - "start": 2124, - "end": 2132, + "start": 2309, + "end": 2317, "loc": { "start": { - "line": 65, + "line": 73, "column": 17 }, "end": { - "line": 65, + "line": 73, "column": 25 }, "identifierName": "includes" @@ -9169,23 +9914,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2133, - "end": 2142, + "start": 2318, + "end": 2329, "loc": { "start": { - "line": 65, + "line": 73, "column": 26 }, "end": { - "line": 65, - "column": 35 + "line": 73, + "column": 37 } }, "extra": { - "rawValue": "Control", - "raw": "\"Control\"" + "rawValue": "Backspace", + "raw": "\"Backspace\"" }, - "value": "Control" + "value": "Backspace" } ] } @@ -9193,57 +9938,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2154, - "end": 2180, + "start": 2341, + "end": 2371, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, - "column": 32 + "line": 74, + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2154, - "end": 2173, + "start": 2341, + "end": 2360, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2154, - "end": 2164, + "start": 2341, + "end": 2351, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 16 } }, "object": { "type": "Identifier", - "start": 2154, - "end": 2159, + "start": 2341, + "end": 2346, "loc": { "start": { - "line": 66, + "line": 74, "column": 6 }, "end": { - "line": 66, + "line": 74, "column": 11 }, "identifierName": "event" @@ -9252,15 +9997,15 @@ }, "property": { "type": "Identifier", - "start": 2160, - "end": 2164, + "start": 2347, + "end": 2351, "loc": { "start": { - "line": 66, + "line": 74, "column": 12 }, "end": { - "line": 66, + "line": 74, "column": 16 }, "identifierName": "code" @@ -9271,15 +10016,15 @@ }, "property": { "type": "Identifier", - "start": 2165, - "end": 2173, + "start": 2352, + "end": 2360, "loc": { "start": { - "line": 66, + "line": 74, "column": 17 }, "end": { - "line": 66, + "line": 74, "column": 25 }, "identifierName": "includes" @@ -9291,23 +10036,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 2174, - "end": 2179, + "start": 2361, + "end": 2370, "loc": { "start": { - "line": 66, + "line": 74, "column": 26 }, "end": { - "line": 66, - "column": 31 + "line": 74, + "column": 35 } }, "extra": { - "rawValue": "Alt", - "raw": "\"Alt\"" + "rawValue": "Control", + "raw": "\"Control\"" }, - "value": "Alt" + "value": "Control" } ] } @@ -9315,57 +10060,57 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 2191, - "end": 2218, + "start": 2382, + "end": 2408, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, - "column": 33 + "line": 75, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 2191, - "end": 2210, + "start": 2382, + "end": 2401, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2191, - "end": 2201, + "start": 2382, + "end": 2392, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 16 } }, "object": { "type": "Identifier", - "start": 2191, - "end": 2196, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 67, + "line": 75, "column": 6 }, "end": { - "line": 67, + "line": 75, "column": 11 }, "identifierName": "event" @@ -9374,15 +10119,15 @@ }, "property": { "type": "Identifier", - "start": 2197, - "end": 2201, + "start": 2388, + "end": 2392, "loc": { "start": { - "line": 67, + "line": 75, "column": 12 }, "end": { - "line": 67, + "line": 75, "column": 16 }, "identifierName": "code" @@ -9393,15 +10138,15 @@ }, "property": { "type": "Identifier", - "start": 2202, - "end": 2210, + "start": 2393, + "end": 2401, "loc": { "start": { - "line": 67, + "line": 75, "column": 17 }, "end": { - "line": 67, + "line": 75, "column": 25 }, "identifierName": "includes" @@ -9413,311 +10158,168 @@ "arguments": [ { "type": "StringLiteral", - "start": 2211, - "end": 2217, + "start": 2402, + "end": 2407, "loc": { "start": { - "line": 67, + "line": 75, "column": 26 }, "end": { - "line": 67, - "column": 32 + "line": 75, + "column": 31 } }, "extra": { - "rawValue": "Meta", - "raw": "\"Meta\"" + "rawValue": "Alt", + "raw": "\"Alt\"" }, - "value": "Meta" + "value": "Alt" } ] } }, - "consequent": { - "type": "BlockStatement", - "start": 2225, - "end": 2261, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 2419, + "end": 2446, "loc": { "start": { - "line": 68, - "column": 5 - }, - "end": { - "line": 70, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2234, - "end": 2254, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2234, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2234, - "end": 2240, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 2243, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 15 - }, - "end": { - "line": 69, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 2243, - "end": 2248, - "loc": { - "start": { - "line": 69, - "column": 15 - }, - "end": { - "line": 69, - "column": 20 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2249, - "end": 2253, - "loc": { - "start": { - "line": 69, - "column": 21 - }, - "end": { - "line": 69, - "column": 25 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2267, - "end": 2302, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 72, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2276, - "end": 2295, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 25 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2276, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 24 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2276, - "end": 2282, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "MemberExpression", - "start": 2285, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 2285, - "end": 2290, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 20 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2291, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 21 - }, - "end": { - "line": 71, - "column": 24 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": false - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 76, - "column": 7 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 2385, - "end": 2585, - "loc": { - "start": { - "line": 77, - "column": 4 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 2397, - "end": 2531, - "loc": { - "start": { - "line": 78, + "line": 76, "column": 6 }, "end": { - "line": 79, - "column": 98 + "line": 76, + "column": 33 } }, - "left": { - "type": "BinaryExpression", - "start": 2397, - "end": 2428, + "callee": { + "type": "MemberExpression", + "start": 2419, + "end": 2438, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 2419, + "end": 2429, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2419, + "end": 2424, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 11 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 16 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2430, + "end": 2438, + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 25 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2439, + "end": 2445, + "loc": { + "start": { + "line": 76, + "column": 26 + }, + "end": { + "line": 76, + "column": 32 + } + }, + "extra": { + "rawValue": "Meta", + "raw": "\"Meta\"" + }, + "value": "Meta" + } + ] + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2453, + "end": 2489, + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 79, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2462, + "end": 2482, "loc": { "start": { "line": 78, @@ -9725,13 +10327,13 @@ }, "end": { "line": 78, - "column": 37 + "column": 26 } }, - "left": { - "type": "Identifier", - "start": 2397, - "end": 2403, + "expression": { + "type": "AssignmentExpression", + "start": 2462, + "end": 2481, "loc": { "start": { "line": 78, @@ -9739,477 +10341,430 @@ }, "end": { "line": 78, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output", - "leadingComments": null - }, - "operator": "!==", - "right": { - "type": "CallExpression", - "start": 2408, - "end": 2428, - "loc": { - "start": { - "line": 78, - "column": 17 - }, - "end": { - "line": 78, - "column": 37 + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 2408, - "end": 2426, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2462, + "end": 2468, "loc": { "start": { "line": 78, - "column": 17 + "column": 6 }, "end": { "line": 78, - "column": 35 + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 2471, + "end": 2481, + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "column": 25 } }, "object": { "type": "Identifier", - "start": 2408, - "end": 2414, + "start": 2471, + "end": 2476, "loc": { "start": { "line": 78, - "column": 17 + "column": 15 }, "end": { "line": 78, - "column": 23 + "column": 20 }, - "identifierName": "output" + "identifierName": "event" }, - "name": "output" + "name": "event" }, "property": { "type": "Identifier", - "start": 2415, - "end": 2426, - "loc": { - "start": { - "line": 78, - "column": 24 - }, - "end": { - "line": 78, - "column": 35 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "operator": "||", - "right": { - "type": "LogicalExpression", - "start": 2440, - "end": 2530, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 97 - } - }, - "left": { - "type": "LogicalExpression", - "start": 2440, - "end": 2504, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 71 - } - }, - "left": { - "type": "BinaryExpression", - "start": 2440, - "end": 2461, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 28 - } - }, - "left": { - "type": "MemberExpression", - "start": 2440, - "end": 2453, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 20 - } - }, - "object": { - "type": "MemberExpression", - "start": 2440, - "end": 2450, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 2440, - "end": 2445, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 12 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2446, - "end": 2450, - "loc": { - "start": { - "line": 79, - "column": 13 - }, - "end": { - "line": 79, - "column": 17 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 2451, - "end": 2452, - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 19 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 2458, - "end": 2461, - "loc": { - "start": { - "line": 79, - "column": 25 - }, - "end": { - "line": 79, - "column": 28 - } - }, - "extra": { - "rawValue": "F", - "raw": "\"F\"" - }, - "value": "F" - } - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 2465, - "end": 2504, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2465, + "start": 2477, "end": 2481, "loc": { "start": { - "line": 79, - "column": 32 + "line": 78, + "column": 21 }, "end": { - "line": 79, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 2465, - "end": 2471, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 38 - }, - "identifierName": "Number" + "line": 78, + "column": 25 }, - "name": "Number" + "identifierName": "code" }, - "property": { - "type": "Identifier", - "start": 2472, - "end": 2481, - "loc": { - "start": { - "line": 79, - "column": 39 - }, - "end": { - "line": 79, - "column": 48 - }, - "identifierName": "isInteger" - }, - "name": "isInteger" - }, - "computed": false + "name": "code" }, - "arguments": [ - { - "type": "CallExpression", - "start": 2482, - "end": 2503, - "loc": { - "start": { - "line": 79, - "column": 49 - }, - "end": { - "line": 79, - "column": 70 - } - }, - "callee": { - "type": "Identifier", - "start": 2482, - "end": 2488, - "loc": { - "start": { - "line": 79, - "column": 49 - }, - "end": { - "line": 79, - "column": 55 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2489, - "end": 2502, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 69 - } - }, - "object": { - "type": "MemberExpression", - "start": 2489, - "end": 2499, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 2489, - "end": 2494, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 61 - }, - "identifierName": "event" - }, - "name": "event" - }, - "property": { - "type": "Identifier", - "start": 2495, - "end": 2499, - "loc": { - "start": { - "line": 79, - "column": 62 - }, - "end": { - "line": 79, - "column": 66 - }, - "identifierName": "code" - }, - "name": "code" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 2500, - "end": 2501, - "loc": { - "start": { - "line": 79, - "column": 67 - }, - "end": { - "line": 79, - "column": 68 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - } - ] - } - ] + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2495, + "end": 2530, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2504, + "end": 2523, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 25 } }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 2508, - "end": 2530, + "expression": { + "type": "AssignmentExpression", + "start": 2504, + "end": 2522, "loc": { "start": { - "line": 79, - "column": 75 + "line": 80, + "column": 6 }, "end": { - "line": 79, - "column": 97 + "line": 80, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2504, + "end": 2510, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "MemberExpression", + "start": 2513, + "end": 2522, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2513, + "end": 2518, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 20 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2519, + "end": 2522, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 24 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": false + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", + "start": 2538, + "end": 2607, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2613, + "end": 2813, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2625, + "end": 2759, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 88, + "column": 98 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2625, + "end": 2656, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 37 + } + }, + "left": { + "type": "Identifier", + "start": 2625, + "end": 2631, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output", + "leadingComments": null + }, + "operator": "!==", + "right": { + "type": "CallExpression", + "start": 2636, + "end": 2656, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2636, + "end": 2654, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2636, + "end": 2642, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 23 + }, + "identifierName": "output" + }, + "name": "output" + }, + "property": { + "type": "Identifier", + "start": 2643, + "end": 2654, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 35 + }, + "identifierName": "toUpperCase" + }, + "name": "toUpperCase" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "operator": "||", + "right": { + "type": "LogicalExpression", + "start": 2668, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2668, + "end": 2732, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 71 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2668, + "end": 2689, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 28 } }, "left": { "type": "MemberExpression", - "start": 2508, - "end": 2525, + "start": 2668, + "end": 2681, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 92 + "line": 88, + "column": 20 } }, "object": { "type": "MemberExpression", - "start": 2508, - "end": 2518, + "start": 2668, + "end": 2678, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 85 + "line": 88, + "column": 17 } }, "object": { "type": "Identifier", - "start": 2508, - "end": 2513, + "start": 2668, + "end": 2673, "loc": { "start": { - "line": 79, - "column": 75 + "line": 88, + "column": 7 }, "end": { - "line": 79, - "column": 80 + "line": 88, + "column": 12 }, "identifierName": "event" }, @@ -10217,16 +10772,16 @@ }, "property": { "type": "Identifier", - "start": 2514, - "end": 2518, + "start": 2674, + "end": 2678, "loc": { "start": { - "line": 79, - "column": 81 + "line": 88, + "column": 13 }, "end": { - "line": 79, - "column": 85 + "line": 88, + "column": 17 }, "identifierName": "code" }, @@ -10235,254 +10790,565 @@ "computed": false }, "property": { - "type": "Identifier", - "start": 2519, - "end": 2525, + "type": "NumericLiteral", + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 79, - "column": 86 + "line": 88, + "column": 18 }, "end": { - "line": 79, - "column": 92 - }, - "identifierName": "length" + "line": 88, + "column": 19 + } }, - "name": "length" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, - "computed": false + "computed": true }, - "operator": "<=", + "operator": "===", "right": { - "type": "NumericLiteral", - "start": 2529, - "end": 2530, + "type": "StringLiteral", + "start": 2686, + "end": 2689, "loc": { "start": { - "line": 79, - "column": 96 + "line": 88, + "column": 25 }, "end": { - "line": 79, - "column": 97 + "line": 88, + "column": 28 } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": "F", + "raw": "\"F\"" }, - "value": 3 + "value": "F" } }, - "extra": { - "parenthesized": true, - "parenStart": 2439 - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 2539, - "end": 2585, - "loc": { - "start": { - "line": 80, - "column": 6 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2548, - "end": 2578, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2693, + "end": 2732, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 36 + "line": 88, + "column": 71 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2548, - "end": 2577, + "callee": { + "type": "MemberExpression", + "start": 2693, + "end": 2709, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 35 + "line": 88, + "column": 48 } }, - "operator": "=", - "left": { + "object": { "type": "Identifier", - "start": 2548, - "end": 2554, + "start": 2693, + "end": 2699, "loc": { "start": { - "line": 81, - "column": 6 + "line": 88, + "column": 32 }, "end": { - "line": 81, - "column": 12 + "line": 88, + "column": 38 }, - "identifierName": "output" + "identifierName": "Number" }, - "name": "output" + "name": "Number" }, - "right": { - "type": "CallExpression", - "start": 2557, - "end": 2577, + "property": { + "type": "Identifier", + "start": 2700, + "end": 2709, "loc": { "start": { - "line": 81, - "column": 15 + "line": 88, + "column": 39 }, "end": { - "line": 81, - "column": 35 + "line": 88, + "column": 48 + }, + "identifierName": "isInteger" + }, + "name": "isInteger" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2710, + "end": 2731, + "loc": { + "start": { + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 70 } }, "callee": { - "type": "MemberExpression", - "start": 2557, - "end": 2575, + "type": "Identifier", + "start": 2710, + "end": 2716, "loc": { "start": { - "line": 81, + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 55 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2717, + "end": 2730, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 69 + } + }, + "object": { + "type": "MemberExpression", + "start": 2717, + "end": 2727, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 2717, + "end": 2722, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 61 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2723, + "end": 2727, + "loc": { + "start": { + "line": 88, + "column": 62 + }, + "end": { + "line": 88, + "column": 66 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 2728, + "end": 2729, + "loc": { + "start": { + "line": 88, + "column": 67 + }, + "end": { + "line": 88, + "column": 68 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + ] + } + ] + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 2736, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "left": { + "type": "MemberExpression", + "start": 2736, + "end": 2753, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 92 + } + }, + "object": { + "type": "MemberExpression", + "start": 2736, + "end": 2746, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 2736, + "end": 2741, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 80 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 88, + "column": 81 + }, + "end": { + "line": 88, + "column": 85 + }, + "identifierName": "code" + }, + "name": "code" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2747, + "end": 2753, + "loc": { + "start": { + "line": 88, + "column": 86 + }, + "end": { + "line": 88, + "column": 92 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 88, + "column": 96 + }, + "end": { + "line": 88, + "column": 97 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + }, + "extra": { + "parenthesized": true, + "parenStart": 2667 + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2767, + "end": 2813, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2776, + "end": 2806, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2776, + "end": 2805, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2776, + "end": 2782, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 2785, + "end": 2805, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2785, + "end": 2803, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 2785, + "end": 2791, + "loc": { + "start": { + "line": 90, "column": 15 }, "end": { - "line": 81, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2557, - "end": 2563, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 21 - }, - "identifierName": "output" + "line": 90, + "column": 21 }, - "name": "output" + "identifierName": "output" }, - "property": { - "type": "Identifier", - "start": 2564, - "end": 2575, - "loc": { - "start": { - "line": 81, - "column": 22 - }, - "end": { - "line": 81, - "column": 33 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false + "name": "output" }, - "arguments": [] - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 76, - "column": 7 + "property": { + "type": "Identifier", + "start": 2792, + "end": 2803, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 33 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] } } } - ] + ], + "directives": [] }, - { - "type": "ReturnStatement", - "start": 2593, - "end": 2607, - "loc": { - "start": { - "line": 84, - "column": 4 - }, - "end": { - "line": 84, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 2600, - "end": 2606, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", + "start": 2538, + "end": 2607, "loc": { "start": { - "line": 84, - "column": 11 + "line": 83, + "column": 4 }, "end": { - "line": 84, - "column": 17 - }, - "identifierName": "output" - }, - "name": "output" + "line": 85, + "column": 7 + } + } } + ] + }, + { + "type": "ReturnStatement", + "start": 2821, + "end": 2835, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 2828, + "end": 2834, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 17 + }, + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -10568,16 +11434,48 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Initializes key event listeners\r\n ", - "start": 350, - "end": 398, + "value": "*\r\n * Bindings\r\n ", + "start": 311, + "end": 340, "loc": { "start": { - "line": 17, + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initializes key event listeners\r\n ", + "start": 592, + "end": 640, + "loc": { + "start": { + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 28, "column": 5 } } @@ -10585,15 +11483,15 @@ { "type": "CommentLine", "value": " Adding button style on keydown", - "start": 438, - "end": 471, + "start": 673, + "end": 706, "loc": { "start": { - "line": 21, + "line": 30, "column": 4 }, "end": { - "line": 21, + "line": 30, "column": 37 } } @@ -10601,15 +11499,15 @@ { "type": "CommentLine", "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, + "start": 1416, + "end": 1449, "loc": { "start": { - "line": 37, + "line": 46, "column": 4 }, "end": { - "line": 37, + "line": 46, "column": 37 } } @@ -10617,15 +11515,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -10633,15 +11531,15 @@ { "type": "CommentBlock", "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, + "start": 2538, + "end": 2607, "loc": { "start": { - "line": 74, + "line": 83, "column": 4 }, "end": { - "line": 76, + "line": 85, "column": 7 } } @@ -11061,6 +11959,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 311, + "end": 340, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "this", @@ -11076,15 +11990,15 @@ "updateContext": null }, "value": "this", - "start": 311, - "end": 315, + "start": 346, + "end": 350, "loc": { "start": { - "line": 14, + "line": 17, "column": 4 }, "end": { - "line": 14, + "line": 17, "column": 8 } } @@ -11102,159 +12016,16 @@ "binop": null, "updateContext": null }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initKeyboardListener", - "start": 316, - "end": 336, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 337, - "end": 338, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 14, - "column": 31 - }, - "end": { - "line": 14, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 343, - "end": 344, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 15, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Initializes key event listeners\r\n ", "start": 350, - "end": 398, + "end": 351, "loc": { "start": { "line": 17, - "column": 2 + "column": 8 }, "end": { - "line": 19, - "column": 5 + "line": 17, + "column": 9 } } }, @@ -11271,16 +12042,16 @@ "binop": null }, "value": "initKeyboardListener", - "start": 402, - "end": 422, + "start": 351, + "end": 371, "loc": { "start": { - "line": 20, - "column": 2 + "line": 17, + "column": 9 }, "end": { - "line": 20, - "column": 22 + "line": 17, + "column": 29 } } }, @@ -11298,16 +12069,148 @@ "updateContext": null }, "value": "=", - "start": 423, - "end": 424, + "start": 372, + "end": 373, "loc": { "start": { - "line": 20, - "column": 23 + "line": 17, + "column": 30 }, "end": { - "line": 20, - "column": 24 + "line": 17, + "column": 31 + } + } + }, + { + "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": 374, + "end": 378, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 378, + "end": 379, + "loc": { + "start": { + "line": 17, + "column": 36 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initKeyboardListener", + "start": 379, + "end": 399, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 17, + "column": 57 + }, + "end": { + "line": 17, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 400, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 62 } } }, @@ -11323,16 +12226,44 @@ "postfix": false, "binop": null }, - "start": 425, - "end": 426, + "start": 404, + "end": 405, "loc": { "start": { - "line": 20, - "column": 25 + "line": 17, + "column": 62 }, "end": { - "line": 20, - "column": 26 + "line": 17, + "column": 63 + } + } + }, + { + "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": 405, + "end": 409, + "loc": { + "start": { + "line": 17, + "column": 63 + }, + "end": { + "line": 17, + "column": 67 } } }, @@ -11348,22 +12279,22 @@ "postfix": false, "binop": null }, - "start": 426, - "end": 427, + "start": 409, + "end": 410, "loc": { "start": { - "line": 20, - "column": 26 + "line": 17, + "column": 67 }, "end": { - "line": 20, - "column": 27 + "line": 17, + "column": 68 } } }, { "type": { - "label": "=>", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11374,19 +12305,651 @@ "binop": null, "updateContext": null }, - "start": 428, - "end": 430, + "start": 410, + "end": 411, + "loc": { + "start": { + "line": 17, + "column": 68 + }, + "end": { + "line": 17, + "column": 69 + } + } + }, + { + "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": 417, + "end": 421, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 421, + "end": 422, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getSimpleKeyboardLayoutKey", + "start": 422, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 18, + "column": 36 + }, + "end": { + "line": 18, + "column": 37 + } + } + }, + { + "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": 451, + "end": 455, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 455, + "end": 456, + "loc": { + "start": { + "line": 18, + "column": 42 + }, + "end": { + "line": 18, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getSimpleKeyboardLayoutKey", + "start": 456, + "end": 482, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 69 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 482, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 69 + }, + "end": { + "line": 18, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 483, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 70 + }, + "end": { + "line": 18, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 487, + "end": 488, + "loc": { + "start": { + "line": 18, + "column": 74 + }, + "end": { + "line": 18, + "column": 75 + } + } + }, + { + "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": 488, + "end": 492, + "loc": { + "start": { + "line": 18, + "column": 75 + }, + "end": { + "line": 18, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 18, + "column": 79 + }, + "end": { + "line": 18, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 493, + "end": 494, + "loc": { + "start": { + "line": 18, + "column": 80 + }, + "end": { + "line": 18, + "column": 81 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initialize key listeners\r\n ", + "start": 502, + "end": 547, "loc": { "start": { "line": 20, - "column": 28 + "column": 4 }, "end": { - "line": 20, + "line": 22, + "column": 7 + } + } + }, + { + "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": 553, + "end": 557, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 557, + "end": 558, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initKeyboardListener", + "start": 558, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 578, + "end": 579, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, "column": 30 } } }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 580, + "end": 581, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 585, + "end": 586, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initializes key event listeners\r\n ", + "start": 592, + "end": 640, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initKeyboardListener", + "start": 644, + "end": 664, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 664, + "end": 665, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, { "type": { "label": "{", @@ -11399,31 +12962,31 @@ "postfix": false, "binop": null }, - "start": 431, - "end": 432, + "start": 666, + "end": 667, "loc": { "start": { - "line": 20, - "column": 31 + "line": 29, + "column": 24 }, "end": { - "line": 20, - "column": 32 + "line": 29, + "column": 25 } } }, { "type": "CommentLine", "value": " Adding button style on keydown", - "start": 438, - "end": 471, + "start": 673, + "end": 706, "loc": { "start": { - "line": 21, + "line": 30, "column": 4 }, "end": { - "line": 21, + "line": 30, "column": 37 } } @@ -11441,15 +13004,15 @@ "binop": null }, "value": "document", - "start": 477, - "end": 485, + "start": 712, + "end": 720, "loc": { "start": { - "line": 22, + "line": 31, "column": 4 }, "end": { - "line": 22, + "line": 31, "column": 12 } } @@ -11467,15 +13030,15 @@ "binop": null, "updateContext": null }, - "start": 485, - "end": 486, + "start": 720, + "end": 721, "loc": { "start": { - "line": 22, + "line": 31, "column": 12 }, "end": { - "line": 22, + "line": 31, "column": 13 } } @@ -11493,15 +13056,15 @@ "binop": null }, "value": "addEventListener", - "start": 486, - "end": 502, + "start": 721, + "end": 737, "loc": { "start": { - "line": 22, + "line": 31, "column": 13 }, "end": { - "line": 22, + "line": 31, "column": 29 } } @@ -11518,15 +13081,15 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 737, + "end": 738, "loc": { "start": { - "line": 22, + "line": 31, "column": 29 }, "end": { - "line": 22, + "line": 31, "column": 30 } } @@ -11545,15 +13108,15 @@ "updateContext": null }, "value": "keydown", - "start": 503, - "end": 512, + "start": 738, + "end": 747, "loc": { "start": { - "line": 22, + "line": 31, "column": 30 }, "end": { - "line": 22, + "line": 31, "column": 39 } } @@ -11571,15 +13134,15 @@ "binop": null, "updateContext": null }, - "start": 512, - "end": 513, + "start": 747, + "end": 748, "loc": { "start": { - "line": 22, + "line": 31, "column": 39 }, "end": { - "line": 22, + "line": 31, "column": 40 } } @@ -11596,15 +13159,15 @@ "postfix": false, "binop": null }, - "start": 514, - "end": 515, + "start": 749, + "end": 750, "loc": { "start": { - "line": 22, + "line": 31, "column": 41 }, "end": { - "line": 22, + "line": 31, "column": 42 } } @@ -11622,15 +13185,15 @@ "binop": null }, "value": "event", - "start": 515, - "end": 520, + "start": 750, + "end": 755, "loc": { "start": { - "line": 22, + "line": 31, "column": 42 }, "end": { - "line": 22, + "line": 31, "column": 47 } } @@ -11647,15 +13210,15 @@ "postfix": false, "binop": null }, - "start": 520, - "end": 521, + "start": 755, + "end": 756, "loc": { "start": { - "line": 22, + "line": 31, "column": 47 }, "end": { - "line": 22, + "line": 31, "column": 48 } } @@ -11673,15 +13236,15 @@ "binop": null, "updateContext": null }, - "start": 522, - "end": 524, + "start": 757, + "end": 759, "loc": { "start": { - "line": 22, + "line": 31, "column": 49 }, "end": { - "line": 22, + "line": 31, "column": 51 } } @@ -11698,15 +13261,15 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 526, + "start": 760, + "end": 761, "loc": { "start": { - "line": 22, + "line": 31, "column": 52 }, "end": { - "line": 22, + "line": 31, "column": 53 } } @@ -11726,15 +13289,15 @@ "updateContext": null }, "value": "if", - "start": 534, - "end": 536, + "start": 769, + "end": 771, "loc": { "start": { - "line": 23, + "line": 32, "column": 6 }, "end": { - "line": 23, + "line": 32, "column": 8 } } @@ -11751,15 +13314,15 @@ "postfix": false, "binop": null }, - "start": 536, - "end": 537, + "start": 771, + "end": 772, "loc": { "start": { - "line": 23, + "line": 32, "column": 8 }, "end": { - "line": 23, + "line": 32, "column": 9 } } @@ -11779,15 +13342,15 @@ "updateContext": null }, "value": "this", - "start": 537, - "end": 541, + "start": 772, + "end": 776, "loc": { "start": { - "line": 23, + "line": 32, "column": 9 }, "end": { - "line": 23, + "line": 32, "column": 13 } } @@ -11805,15 +13368,15 @@ "binop": null, "updateContext": null }, - "start": 541, - "end": 542, + "start": 776, + "end": 777, "loc": { "start": { - "line": 23, + "line": 32, "column": 13 }, "end": { - "line": 23, + "line": 32, "column": 14 } } @@ -11831,15 +13394,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 542, - "end": 564, + "start": 777, + "end": 799, "loc": { "start": { - "line": 23, + "line": 32, "column": 14 }, "end": { - "line": 23, + "line": 32, "column": 36 } } @@ -11857,15 +13420,15 @@ "binop": null, "updateContext": null }, - "start": 564, - "end": 565, + "start": 799, + "end": 800, "loc": { "start": { - "line": 23, + "line": 32, "column": 36 }, "end": { - "line": 23, + "line": 32, "column": 37 } } @@ -11883,15 +13446,15 @@ "binop": null }, "value": "options", - "start": 565, - "end": 572, + "start": 800, + "end": 807, "loc": { "start": { - "line": 23, + "line": 32, "column": 37 }, "end": { - "line": 23, + "line": 32, "column": 44 } } @@ -11909,15 +13472,15 @@ "binop": null, "updateContext": null }, - "start": 572, - "end": 573, + "start": 807, + "end": 808, "loc": { "start": { - "line": 23, + "line": 32, "column": 44 }, "end": { - "line": 23, + "line": 32, "column": 45 } } @@ -11935,15 +13498,15 @@ "binop": null }, "value": "physicalKeyboardHighlight", - "start": 573, - "end": 598, + "start": 808, + "end": 833, "loc": { "start": { - "line": 23, + "line": 32, "column": 45 }, "end": { - "line": 23, + "line": 32, "column": 70 } } @@ -11960,15 +13523,15 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 833, + "end": 834, "loc": { "start": { - "line": 23, + "line": 32, "column": 70 }, "end": { - "line": 23, + "line": 32, "column": 71 } } @@ -11985,15 +13548,15 @@ "postfix": false, "binop": null }, - "start": 599, - "end": 600, + "start": 834, + "end": 835, "loc": { "start": { - "line": 23, + "line": 32, "column": 71 }, "end": { - "line": 23, + "line": 32, "column": 72 } } @@ -12013,15 +13576,15 @@ "updateContext": null }, "value": "let", - "start": 610, - "end": 613, + "start": 845, + "end": 848, "loc": { "start": { - "line": 24, + "line": 33, "column": 8 }, "end": { - "line": 24, + "line": 33, "column": 11 } } @@ -12039,15 +13602,15 @@ "binop": null }, "value": "buttonPressed", - "start": 614, - "end": 627, + "start": 849, + "end": 862, "loc": { "start": { - "line": 24, + "line": 33, "column": 12 }, "end": { - "line": 24, + "line": 33, "column": 25 } } @@ -12066,15 +13629,15 @@ "updateContext": null }, "value": "=", - "start": 628, - "end": 629, + "start": 863, + "end": 864, "loc": { "start": { - "line": 24, + "line": 33, "column": 26 }, "end": { - "line": 24, + "line": 33, "column": 27 } } @@ -12094,15 +13657,15 @@ "updateContext": null }, "value": "this", - "start": 630, - "end": 634, + "start": 865, + "end": 869, "loc": { "start": { - "line": 24, + "line": 33, "column": 28 }, "end": { - "line": 24, + "line": 33, "column": 32 } } @@ -12120,15 +13683,15 @@ "binop": null, "updateContext": null }, - "start": 634, - "end": 635, + "start": 869, + "end": 870, "loc": { "start": { - "line": 24, + "line": 33, "column": 32 }, "end": { - "line": 24, + "line": 33, "column": 33 } } @@ -12146,15 +13709,15 @@ "binop": null }, "value": "getSimpleKeyboardLayoutKey", - "start": 635, - "end": 661, + "start": 870, + "end": 896, "loc": { "start": { - "line": 24, + "line": 33, "column": 33 }, "end": { - "line": 24, + "line": 33, "column": 59 } } @@ -12171,15 +13734,15 @@ "postfix": false, "binop": null }, - "start": 661, - "end": 662, + "start": 896, + "end": 897, "loc": { "start": { - "line": 24, + "line": 33, "column": 59 }, "end": { - "line": 24, + "line": 33, "column": 60 } } @@ -12197,15 +13760,15 @@ "binop": null }, "value": "event", - "start": 662, - "end": 667, + "start": 897, + "end": 902, "loc": { "start": { - "line": 24, + "line": 33, "column": 60 }, "end": { - "line": 24, + "line": 33, "column": 65 } } @@ -12222,15 +13785,15 @@ "postfix": false, "binop": null }, - "start": 667, - "end": 668, + "start": 902, + "end": 903, "loc": { "start": { - "line": 24, + "line": 33, "column": 65 }, "end": { - "line": 24, + "line": 33, "column": 66 } } @@ -12248,15 +13811,15 @@ "binop": null, "updateContext": null }, - "start": 668, - "end": 669, + "start": 903, + "end": 904, "loc": { "start": { - "line": 24, + "line": 33, "column": 66 }, "end": { - "line": 24, + "line": 33, "column": 67 } } @@ -12276,15 +13839,15 @@ "updateContext": null }, "value": "this", - "start": 681, - "end": 685, + "start": 916, + "end": 920, "loc": { "start": { - "line": 26, + "line": 35, "column": 8 }, "end": { - "line": 26, + "line": 35, "column": 12 } } @@ -12302,15 +13865,15 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 920, + "end": 921, "loc": { "start": { - "line": 26, + "line": 35, "column": 12 }, "end": { - "line": 26, + "line": 35, "column": 13 } } @@ -12328,15 +13891,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 686, - "end": 708, + "start": 921, + "end": 943, "loc": { "start": { - "line": 26, + "line": 35, "column": 13 }, "end": { - "line": 26, + "line": 35, "column": 35 } } @@ -12354,15 +13917,15 @@ "binop": null, "updateContext": null }, - "start": 708, - "end": 709, + "start": 943, + "end": 944, "loc": { "start": { - "line": 26, + "line": 35, "column": 35 }, "end": { - "line": 26, + "line": 35, "column": 36 } } @@ -12380,15 +13943,15 @@ "binop": null }, "value": "dispatch", - "start": 709, - "end": 717, + "start": 944, + "end": 952, "loc": { "start": { - "line": 26, + "line": 35, "column": 36 }, "end": { - "line": 26, + "line": 35, "column": 44 } } @@ -12405,15 +13968,15 @@ "postfix": false, "binop": null }, - "start": 717, - "end": 718, + "start": 952, + "end": 953, "loc": { "start": { - "line": 26, + "line": 35, "column": 44 }, "end": { - "line": 26, + "line": 35, "column": 45 } } @@ -12431,15 +13994,15 @@ "binop": null }, "value": "instance", - "start": 718, - "end": 726, + "start": 953, + "end": 961, "loc": { "start": { - "line": 26, + "line": 35, "column": 45 }, "end": { - "line": 26, + "line": 35, "column": 53 } } @@ -12457,15 +14020,15 @@ "binop": null, "updateContext": null }, - "start": 727, - "end": 729, + "start": 962, + "end": 964, "loc": { "start": { - "line": 26, + "line": 35, "column": 54 }, "end": { - "line": 26, + "line": 35, "column": 56 } } @@ -12482,15 +14045,15 @@ "postfix": false, "binop": null }, - "start": 730, - "end": 731, + "start": 965, + "end": 966, "loc": { "start": { - "line": 26, + "line": 35, "column": 57 }, "end": { - "line": 26, + "line": 35, "column": 58 } } @@ -12510,15 +14073,15 @@ "updateContext": null }, "value": "let", - "start": 743, - "end": 746, + "start": 978, + "end": 981, "loc": { "start": { - "line": 27, + "line": 36, "column": 10 }, "end": { - "line": 27, + "line": 36, "column": 13 } } @@ -12536,15 +14099,15 @@ "binop": null }, "value": "buttonDOM", - "start": 747, - "end": 756, + "start": 982, + "end": 991, "loc": { "start": { - "line": 27, + "line": 36, "column": 14 }, "end": { - "line": 27, + "line": 36, "column": 23 } } @@ -12563,15 +14126,15 @@ "updateContext": null }, "value": "=", - "start": 757, - "end": 758, + "start": 992, + "end": 993, "loc": { "start": { - "line": 27, + "line": 36, "column": 24 }, "end": { - "line": 27, + "line": 36, "column": 25 } } @@ -12589,15 +14152,15 @@ "binop": null }, "value": "instance", - "start": 759, - "end": 767, + "start": 994, + "end": 1002, "loc": { "start": { - "line": 27, + "line": 36, "column": 26 }, "end": { - "line": 27, + "line": 36, "column": 34 } } @@ -12615,15 +14178,15 @@ "binop": null, "updateContext": null }, - "start": 767, - "end": 768, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 27, + "line": 36, "column": 34 }, "end": { - "line": 27, + "line": 36, "column": 35 } } @@ -12641,15 +14204,15 @@ "binop": null }, "value": "getButtonElement", - "start": 768, - "end": 784, + "start": 1003, + "end": 1019, "loc": { "start": { - "line": 27, + "line": 36, "column": 35 }, "end": { - "line": 27, + "line": 36, "column": 51 } } @@ -12666,15 +14229,15 @@ "postfix": false, "binop": null }, - "start": 784, - "end": 785, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 27, + "line": 36, "column": 51 }, "end": { - "line": 27, + "line": 36, "column": 52 } } @@ -12692,15 +14255,15 @@ "binop": null }, "value": "buttonPressed", - "start": 785, - "end": 798, + "start": 1020, + "end": 1033, "loc": { "start": { - "line": 27, + "line": 36, "column": 52 }, "end": { - "line": 27, + "line": 36, "column": 65 } } @@ -12717,15 +14280,15 @@ "postfix": false, "binop": null }, - "start": 798, - "end": 799, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 27, + "line": 36, "column": 65 }, "end": { - "line": 27, + "line": 36, "column": 66 } } @@ -12744,15 +14307,15 @@ "updateContext": null }, "value": "||", - "start": 800, - "end": 802, + "start": 1035, + "end": 1037, "loc": { "start": { - "line": 27, + "line": 36, "column": 67 }, "end": { - "line": 27, + "line": 36, "column": 69 } } @@ -12770,15 +14333,15 @@ "binop": null }, "value": "instance", - "start": 803, - "end": 811, + "start": 1038, + "end": 1046, "loc": { "start": { - "line": 27, + "line": 36, "column": 70 }, "end": { - "line": 27, + "line": 36, "column": 78 } } @@ -12796,15 +14359,15 @@ "binop": null, "updateContext": null }, - "start": 811, - "end": 812, + "start": 1046, + "end": 1047, "loc": { "start": { - "line": 27, + "line": 36, "column": 78 }, "end": { - "line": 27, + "line": 36, "column": 79 } } @@ -12822,15 +14385,15 @@ "binop": null }, "value": "getButtonElement", - "start": 812, - "end": 828, + "start": 1047, + "end": 1063, "loc": { "start": { - "line": 27, + "line": 36, "column": 79 }, "end": { - "line": 27, + "line": 36, "column": 95 } } @@ -12847,15 +14410,15 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 1063, + "end": 1064, "loc": { "start": { - "line": 27, + "line": 36, "column": 95 }, "end": { - "line": 27, + "line": 36, "column": 96 } } @@ -12872,15 +14435,15 @@ "postfix": false, "binop": null }, - "start": 829, - "end": 830, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 27, + "line": 36, "column": 96 }, "end": { - "line": 27, + "line": 36, "column": 97 } } @@ -12899,15 +14462,15 @@ "updateContext": null }, "value": "{", - "start": 830, - "end": 831, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 27, + "line": 36, "column": 97 }, "end": { - "line": 27, + "line": 36, "column": 98 } } @@ -12924,15 +14487,15 @@ "postfix": false, "binop": null }, - "start": 831, - "end": 833, + "start": 1066, + "end": 1068, "loc": { "start": { - "line": 27, + "line": 36, "column": 98 }, "end": { - "line": 27, + "line": 36, "column": 100 } } @@ -12950,15 +14513,15 @@ "binop": null }, "value": "buttonPressed", - "start": 833, - "end": 846, + "start": 1068, + "end": 1081, "loc": { "start": { - "line": 27, + "line": 36, "column": 100 }, "end": { - "line": 27, + "line": 36, "column": 113 } } @@ -12975,15 +14538,15 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 1081, + "end": 1082, "loc": { "start": { - "line": 27, + "line": 36, "column": 113 }, "end": { - "line": 27, + "line": 36, "column": 114 } } @@ -13002,15 +14565,15 @@ "updateContext": null }, "value": "}", - "start": 847, - "end": 848, + "start": 1082, + "end": 1083, "loc": { "start": { - "line": 27, + "line": 36, "column": 114 }, "end": { - "line": 27, + "line": 36, "column": 115 } } @@ -13027,15 +14590,15 @@ "postfix": false, "binop": null }, - "start": 848, - "end": 849, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 27, + "line": 36, "column": 115 }, "end": { - "line": 27, + "line": 36, "column": 116 } } @@ -13052,15 +14615,15 @@ "postfix": false, "binop": null }, - "start": 849, - "end": 850, + "start": 1084, + "end": 1085, "loc": { "start": { - "line": 27, + "line": 36, "column": 116 }, "end": { - "line": 27, + "line": 36, "column": 117 } } @@ -13078,15 +14641,15 @@ "binop": null, "updateContext": null }, - "start": 850, - "end": 851, + "start": 1085, + "end": 1086, "loc": { "start": { - "line": 27, + "line": 36, "column": 117 }, "end": { - "line": 27, + "line": 36, "column": 118 } } @@ -13106,15 +14669,15 @@ "updateContext": null }, "value": "if", - "start": 865, - "end": 867, + "start": 1100, + "end": 1102, "loc": { "start": { - "line": 29, + "line": 38, "column": 10 }, "end": { - "line": 29, + "line": 38, "column": 12 } } @@ -13131,15 +14694,15 @@ "postfix": false, "binop": null }, - "start": 867, - "end": 868, + "start": 1102, + "end": 1103, "loc": { "start": { - "line": 29, + "line": 38, "column": 12 }, "end": { - "line": 29, + "line": 38, "column": 13 } } @@ -13157,15 +14720,15 @@ "binop": null }, "value": "buttonDOM", - "start": 868, - "end": 877, + "start": 1103, + "end": 1112, "loc": { "start": { - "line": 29, + "line": 38, "column": 13 }, "end": { - "line": 29, + "line": 38, "column": 22 } } @@ -13182,15 +14745,15 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 1112, + "end": 1113, "loc": { "start": { - "line": 29, + "line": 38, "column": 22 }, "end": { - "line": 29, + "line": 38, "column": 23 } } @@ -13207,15 +14770,15 @@ "postfix": false, "binop": null }, - "start": 878, - "end": 879, + "start": 1113, + "end": 1114, "loc": { "start": { - "line": 29, + "line": 38, "column": 23 }, "end": { - "line": 29, + "line": 38, "column": 24 } } @@ -13233,15 +14796,15 @@ "binop": null }, "value": "buttonDOM", - "start": 893, - "end": 902, + "start": 1128, + "end": 1137, "loc": { "start": { - "line": 30, + "line": 39, "column": 12 }, "end": { - "line": 30, + "line": 39, "column": 21 } } @@ -13259,15 +14822,15 @@ "binop": null, "updateContext": null }, - "start": 902, - "end": 903, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 30, + "line": 39, "column": 21 }, "end": { - "line": 30, + "line": 39, "column": 22 } } @@ -13285,15 +14848,15 @@ "binop": null }, "value": "style", - "start": 903, - "end": 908, + "start": 1138, + "end": 1143, "loc": { "start": { - "line": 30, + "line": 39, "column": 22 }, "end": { - "line": 30, + "line": 39, "column": 27 } } @@ -13311,15 +14874,15 @@ "binop": null, "updateContext": null }, - "start": 908, - "end": 909, + "start": 1143, + "end": 1144, "loc": { "start": { - "line": 30, + "line": 39, "column": 27 }, "end": { - "line": 30, + "line": 39, "column": 28 } } @@ -13337,15 +14900,15 @@ "binop": null }, "value": "backgroundColor", - "start": 909, - "end": 924, + "start": 1144, + "end": 1159, "loc": { "start": { - "line": 30, + "line": 39, "column": 28 }, "end": { - "line": 30, + "line": 39, "column": 43 } } @@ -13364,15 +14927,15 @@ "updateContext": null }, "value": "=", - "start": 925, - "end": 926, + "start": 1160, + "end": 1161, "loc": { "start": { - "line": 30, + "line": 39, "column": 44 }, "end": { - "line": 30, + "line": 39, "column": 45 } } @@ -13392,15 +14955,15 @@ "updateContext": null }, "value": "this", - "start": 927, - "end": 931, + "start": 1162, + "end": 1166, "loc": { "start": { - "line": 30, + "line": 39, "column": 46 }, "end": { - "line": 30, + "line": 39, "column": 50 } } @@ -13418,15 +14981,15 @@ "binop": null, "updateContext": null }, - "start": 931, - "end": 932, + "start": 1166, + "end": 1167, "loc": { "start": { - "line": 30, + "line": 39, "column": 50 }, "end": { - "line": 30, + "line": 39, "column": 51 } } @@ -13444,15 +15007,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 932, - "end": 954, + "start": 1167, + "end": 1189, "loc": { "start": { - "line": 30, + "line": 39, "column": 51 }, "end": { - "line": 30, + "line": 39, "column": 73 } } @@ -13470,15 +15033,15 @@ "binop": null, "updateContext": null }, - "start": 954, - "end": 955, + "start": 1189, + "end": 1190, "loc": { "start": { - "line": 30, + "line": 39, "column": 73 }, "end": { - "line": 30, + "line": 39, "column": 74 } } @@ -13496,15 +15059,15 @@ "binop": null }, "value": "options", - "start": 955, - "end": 962, + "start": 1190, + "end": 1197, "loc": { "start": { - "line": 30, + "line": 39, "column": 74 }, "end": { - "line": 30, + "line": 39, "column": 81 } } @@ -13522,15 +15085,15 @@ "binop": null, "updateContext": null }, - "start": 962, - "end": 963, + "start": 1197, + "end": 1198, "loc": { "start": { - "line": 30, + "line": 39, "column": 81 }, "end": { - "line": 30, + "line": 39, "column": 82 } } @@ -13548,15 +15111,15 @@ "binop": null }, "value": "physicalKeyboardHighlightBgColor", - "start": 963, - "end": 995, + "start": 1198, + "end": 1230, "loc": { "start": { - "line": 30, + "line": 39, "column": 82 }, "end": { - "line": 30, + "line": 39, "column": 114 } } @@ -13575,15 +15138,15 @@ "updateContext": null }, "value": "||", - "start": 996, - "end": 998, + "start": 1231, + "end": 1233, "loc": { "start": { - "line": 30, + "line": 39, "column": 115 }, "end": { - "line": 30, + "line": 39, "column": 117 } } @@ -13602,15 +15165,15 @@ "updateContext": null }, "value": "#9ab4d0", - "start": 999, - "end": 1008, + "start": 1234, + "end": 1243, "loc": { "start": { - "line": 30, + "line": 39, "column": 118 }, "end": { - "line": 30, + "line": 39, "column": 127 } } @@ -13628,15 +15191,15 @@ "binop": null, "updateContext": null }, - "start": 1008, - "end": 1009, + "start": 1243, + "end": 1244, "loc": { "start": { - "line": 30, + "line": 39, "column": 127 }, "end": { - "line": 30, + "line": 39, "column": 128 } } @@ -13654,15 +15217,15 @@ "binop": null }, "value": "buttonDOM", - "start": 1023, - "end": 1032, + "start": 1258, + "end": 1267, "loc": { "start": { - "line": 31, + "line": 40, "column": 12 }, "end": { - "line": 31, + "line": 40, "column": 21 } } @@ -13680,15 +15243,15 @@ "binop": null, "updateContext": null }, - "start": 1032, - "end": 1033, + "start": 1267, + "end": 1268, "loc": { "start": { - "line": 31, + "line": 40, "column": 21 }, "end": { - "line": 31, + "line": 40, "column": 22 } } @@ -13706,15 +15269,15 @@ "binop": null }, "value": "style", - "start": 1033, - "end": 1038, + "start": 1268, + "end": 1273, "loc": { "start": { - "line": 31, + "line": 40, "column": 22 }, "end": { - "line": 31, + "line": 40, "column": 27 } } @@ -13732,15 +15295,15 @@ "binop": null, "updateContext": null }, - "start": 1038, - "end": 1039, + "start": 1273, + "end": 1274, "loc": { "start": { - "line": 31, + "line": 40, "column": 27 }, "end": { - "line": 31, + "line": 40, "column": 28 } } @@ -13758,15 +15321,15 @@ "binop": null }, "value": "color", - "start": 1039, - "end": 1044, + "start": 1274, + "end": 1279, "loc": { "start": { - "line": 31, + "line": 40, "column": 28 }, "end": { - "line": 31, + "line": 40, "column": 33 } } @@ -13785,15 +15348,15 @@ "updateContext": null }, "value": "=", - "start": 1045, - "end": 1046, + "start": 1280, + "end": 1281, "loc": { "start": { - "line": 31, + "line": 40, "column": 34 }, "end": { - "line": 31, + "line": 40, "column": 35 } } @@ -13813,15 +15376,15 @@ "updateContext": null }, "value": "this", - "start": 1047, - "end": 1051, + "start": 1282, + "end": 1286, "loc": { "start": { - "line": 31, + "line": 40, "column": 36 }, "end": { - "line": 31, + "line": 40, "column": 40 } } @@ -13839,15 +15402,15 @@ "binop": null, "updateContext": null }, - "start": 1051, - "end": 1052, + "start": 1286, + "end": 1287, "loc": { "start": { - "line": 31, + "line": 40, "column": 40 }, "end": { - "line": 31, + "line": 40, "column": 41 } } @@ -13865,15 +15428,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 1052, - "end": 1074, + "start": 1287, + "end": 1309, "loc": { "start": { - "line": 31, + "line": 40, "column": 41 }, "end": { - "line": 31, + "line": 40, "column": 63 } } @@ -13891,15 +15454,15 @@ "binop": null, "updateContext": null }, - "start": 1074, - "end": 1075, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 31, + "line": 40, "column": 63 }, "end": { - "line": 31, + "line": 40, "column": 64 } } @@ -13917,15 +15480,15 @@ "binop": null }, "value": "options", - "start": 1075, - "end": 1082, + "start": 1310, + "end": 1317, "loc": { "start": { - "line": 31, + "line": 40, "column": 64 }, "end": { - "line": 31, + "line": 40, "column": 71 } } @@ -13943,15 +15506,15 @@ "binop": null, "updateContext": null }, - "start": 1082, - "end": 1083, + "start": 1317, + "end": 1318, "loc": { "start": { - "line": 31, + "line": 40, "column": 71 }, "end": { - "line": 31, + "line": 40, "column": 72 } } @@ -13969,15 +15532,15 @@ "binop": null }, "value": "physicalKeyboardHighlightTextColor", - "start": 1083, - "end": 1117, + "start": 1318, + "end": 1352, "loc": { "start": { - "line": 31, + "line": 40, "column": 72 }, "end": { - "line": 31, + "line": 40, "column": 106 } } @@ -13996,15 +15559,15 @@ "updateContext": null }, "value": "||", - "start": 1118, - "end": 1120, + "start": 1353, + "end": 1355, "loc": { "start": { - "line": 31, + "line": 40, "column": 107 }, "end": { - "line": 31, + "line": 40, "column": 109 } } @@ -14023,15 +15586,15 @@ "updateContext": null }, "value": "white", - "start": 1121, - "end": 1128, + "start": 1356, + "end": 1363, "loc": { "start": { - "line": 31, + "line": 40, "column": 110 }, "end": { - "line": 31, + "line": 40, "column": 117 } } @@ -14049,15 +15612,15 @@ "binop": null, "updateContext": null }, - "start": 1128, - "end": 1129, + "start": 1363, + "end": 1364, "loc": { "start": { - "line": 31, + "line": 40, "column": 117 }, "end": { - "line": 31, + "line": 40, "column": 118 } } @@ -14074,15 +15637,15 @@ "postfix": false, "binop": null }, - "start": 1141, - "end": 1142, + "start": 1376, + "end": 1377, "loc": { "start": { - "line": 32, + "line": 41, "column": 10 }, "end": { - "line": 32, + "line": 41, "column": 11 } } @@ -14099,15 +15662,15 @@ "postfix": false, "binop": null }, - "start": 1152, - "end": 1153, + "start": 1387, + "end": 1388, "loc": { "start": { - "line": 33, + "line": 42, "column": 8 }, "end": { - "line": 33, + "line": 42, "column": 9 } } @@ -14124,15 +15687,15 @@ "postfix": false, "binop": null }, - "start": 1153, - "end": 1154, + "start": 1388, + "end": 1389, "loc": { "start": { - "line": 33, + "line": 42, "column": 9 }, "end": { - "line": 33, + "line": 42, "column": 10 } } @@ -14150,15 +15713,15 @@ "binop": null, "updateContext": null }, - "start": 1154, - "end": 1155, + "start": 1389, + "end": 1390, "loc": { "start": { - "line": 33, + "line": 42, "column": 10 }, "end": { - "line": 33, + "line": 42, "column": 11 } } @@ -14175,15 +15738,15 @@ "postfix": false, "binop": null }, - "start": 1163, - "end": 1164, + "start": 1398, + "end": 1399, "loc": { "start": { - "line": 34, + "line": 43, "column": 6 }, "end": { - "line": 34, + "line": 43, "column": 7 } } @@ -14200,15 +15763,15 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 35, + "line": 44, "column": 4 }, "end": { - "line": 35, + "line": 44, "column": 5 } } @@ -14225,15 +15788,15 @@ "postfix": false, "binop": null }, - "start": 1171, - "end": 1172, + "start": 1406, + "end": 1407, "loc": { "start": { - "line": 35, + "line": 44, "column": 5 }, "end": { - "line": 35, + "line": 44, "column": 6 } } @@ -14251,15 +15814,15 @@ "binop": null, "updateContext": null }, - "start": 1172, - "end": 1173, + "start": 1407, + "end": 1408, "loc": { "start": { - "line": 35, + "line": 44, "column": 6 }, "end": { - "line": 35, + "line": 44, "column": 7 } } @@ -14267,15 +15830,15 @@ { "type": "CommentLine", "value": " Removing button style on keyup", - "start": 1181, - "end": 1214, + "start": 1416, + "end": 1449, "loc": { "start": { - "line": 37, + "line": 46, "column": 4 }, "end": { - "line": 37, + "line": 46, "column": 37 } } @@ -14293,15 +15856,15 @@ "binop": null }, "value": "document", - "start": 1220, - "end": 1228, + "start": 1455, + "end": 1463, "loc": { "start": { - "line": 38, + "line": 47, "column": 4 }, "end": { - "line": 38, + "line": 47, "column": 12 } } @@ -14319,15 +15882,15 @@ "binop": null, "updateContext": null }, - "start": 1228, - "end": 1229, + "start": 1463, + "end": 1464, "loc": { "start": { - "line": 38, + "line": 47, "column": 12 }, "end": { - "line": 38, + "line": 47, "column": 13 } } @@ -14345,15 +15908,15 @@ "binop": null }, "value": "addEventListener", - "start": 1229, - "end": 1245, + "start": 1464, + "end": 1480, "loc": { "start": { - "line": 38, + "line": 47, "column": 13 }, "end": { - "line": 38, + "line": 47, "column": 29 } } @@ -14370,15 +15933,15 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 38, + "line": 47, "column": 29 }, "end": { - "line": 38, + "line": 47, "column": 30 } } @@ -14397,15 +15960,15 @@ "updateContext": null }, "value": "keyup", - "start": 1246, - "end": 1253, + "start": 1481, + "end": 1488, "loc": { "start": { - "line": 38, + "line": 47, "column": 30 }, "end": { - "line": 38, + "line": 47, "column": 37 } } @@ -14423,15 +15986,15 @@ "binop": null, "updateContext": null }, - "start": 1253, - "end": 1254, + "start": 1488, + "end": 1489, "loc": { "start": { - "line": 38, + "line": 47, "column": 37 }, "end": { - "line": 38, + "line": 47, "column": 38 } } @@ -14448,15 +16011,15 @@ "postfix": false, "binop": null }, - "start": 1255, - "end": 1256, + "start": 1490, + "end": 1491, "loc": { "start": { - "line": 38, + "line": 47, "column": 39 }, "end": { - "line": 38, + "line": 47, "column": 40 } } @@ -14474,15 +16037,15 @@ "binop": null }, "value": "event", - "start": 1256, - "end": 1261, + "start": 1491, + "end": 1496, "loc": { "start": { - "line": 38, + "line": 47, "column": 40 }, "end": { - "line": 38, + "line": 47, "column": 45 } } @@ -14499,15 +16062,15 @@ "postfix": false, "binop": null }, - "start": 1261, - "end": 1262, + "start": 1496, + "end": 1497, "loc": { "start": { - "line": 38, + "line": 47, "column": 45 }, "end": { - "line": 38, + "line": 47, "column": 46 } } @@ -14525,15 +16088,15 @@ "binop": null, "updateContext": null }, - "start": 1263, - "end": 1265, + "start": 1498, + "end": 1500, "loc": { "start": { - "line": 38, + "line": 47, "column": 47 }, "end": { - "line": 38, + "line": 47, "column": 49 } } @@ -14550,15 +16113,15 @@ "postfix": false, "binop": null }, - "start": 1266, - "end": 1267, + "start": 1501, + "end": 1502, "loc": { "start": { - "line": 38, + "line": 47, "column": 50 }, "end": { - "line": 38, + "line": 47, "column": 51 } } @@ -14578,15 +16141,15 @@ "updateContext": null }, "value": "if", - "start": 1275, - "end": 1277, + "start": 1510, + "end": 1512, "loc": { "start": { - "line": 39, + "line": 48, "column": 6 }, "end": { - "line": 39, + "line": 48, "column": 8 } } @@ -14603,15 +16166,15 @@ "postfix": false, "binop": null }, - "start": 1277, - "end": 1278, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 39, + "line": 48, "column": 8 }, "end": { - "line": 39, + "line": 48, "column": 9 } } @@ -14631,15 +16194,15 @@ "updateContext": null }, "value": "this", - "start": 1278, - "end": 1282, + "start": 1513, + "end": 1517, "loc": { "start": { - "line": 39, + "line": 48, "column": 9 }, "end": { - "line": 39, + "line": 48, "column": 13 } } @@ -14657,15 +16220,15 @@ "binop": null, "updateContext": null }, - "start": 1282, - "end": 1283, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 39, + "line": 48, "column": 13 }, "end": { - "line": 39, + "line": 48, "column": 14 } } @@ -14683,15 +16246,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 1283, - "end": 1305, + "start": 1518, + "end": 1540, "loc": { "start": { - "line": 39, + "line": 48, "column": 14 }, "end": { - "line": 39, + "line": 48, "column": 36 } } @@ -14709,15 +16272,15 @@ "binop": null, "updateContext": null }, - "start": 1305, - "end": 1306, + "start": 1540, + "end": 1541, "loc": { "start": { - "line": 39, + "line": 48, "column": 36 }, "end": { - "line": 39, + "line": 48, "column": 37 } } @@ -14735,15 +16298,15 @@ "binop": null }, "value": "options", - "start": 1306, - "end": 1313, + "start": 1541, + "end": 1548, "loc": { "start": { - "line": 39, + "line": 48, "column": 37 }, "end": { - "line": 39, + "line": 48, "column": 44 } } @@ -14761,15 +16324,15 @@ "binop": null, "updateContext": null }, - "start": 1313, - "end": 1314, + "start": 1548, + "end": 1549, "loc": { "start": { - "line": 39, + "line": 48, "column": 44 }, "end": { - "line": 39, + "line": 48, "column": 45 } } @@ -14787,15 +16350,15 @@ "binop": null }, "value": "physicalKeyboardHighlight", - "start": 1314, - "end": 1339, + "start": 1549, + "end": 1574, "loc": { "start": { - "line": 39, + "line": 48, "column": 45 }, "end": { - "line": 39, + "line": 48, "column": 70 } } @@ -14812,15 +16375,15 @@ "postfix": false, "binop": null }, - "start": 1339, - "end": 1340, + "start": 1574, + "end": 1575, "loc": { "start": { - "line": 39, + "line": 48, "column": 70 }, "end": { - "line": 39, + "line": 48, "column": 71 } } @@ -14837,15 +16400,15 @@ "postfix": false, "binop": null }, - "start": 1340, - "end": 1341, + "start": 1575, + "end": 1576, "loc": { "start": { - "line": 39, + "line": 48, "column": 71 }, "end": { - "line": 39, + "line": 48, "column": 72 } } @@ -14865,15 +16428,15 @@ "updateContext": null }, "value": "let", - "start": 1351, - "end": 1354, + "start": 1586, + "end": 1589, "loc": { "start": { - "line": 40, + "line": 49, "column": 8 }, "end": { - "line": 40, + "line": 49, "column": 11 } } @@ -14891,15 +16454,15 @@ "binop": null }, "value": "buttonPressed", - "start": 1355, - "end": 1368, + "start": 1590, + "end": 1603, "loc": { "start": { - "line": 40, + "line": 49, "column": 12 }, "end": { - "line": 40, + "line": 49, "column": 25 } } @@ -14918,15 +16481,15 @@ "updateContext": null }, "value": "=", - "start": 1369, - "end": 1370, + "start": 1604, + "end": 1605, "loc": { "start": { - "line": 40, + "line": 49, "column": 26 }, "end": { - "line": 40, + "line": 49, "column": 27 } } @@ -14946,15 +16509,15 @@ "updateContext": null }, "value": "this", - "start": 1371, - "end": 1375, + "start": 1606, + "end": 1610, "loc": { "start": { - "line": 40, + "line": 49, "column": 28 }, "end": { - "line": 40, + "line": 49, "column": 32 } } @@ -14972,15 +16535,15 @@ "binop": null, "updateContext": null }, - "start": 1375, - "end": 1376, + "start": 1610, + "end": 1611, "loc": { "start": { - "line": 40, + "line": 49, "column": 32 }, "end": { - "line": 40, + "line": 49, "column": 33 } } @@ -14998,15 +16561,15 @@ "binop": null }, "value": "getSimpleKeyboardLayoutKey", - "start": 1376, - "end": 1402, + "start": 1611, + "end": 1637, "loc": { "start": { - "line": 40, + "line": 49, "column": 33 }, "end": { - "line": 40, + "line": 49, "column": 59 } } @@ -15023,15 +16586,15 @@ "postfix": false, "binop": null }, - "start": 1402, - "end": 1403, + "start": 1637, + "end": 1638, "loc": { "start": { - "line": 40, + "line": 49, "column": 59 }, "end": { - "line": 40, + "line": 49, "column": 60 } } @@ -15049,15 +16612,15 @@ "binop": null }, "value": "event", - "start": 1403, - "end": 1408, + "start": 1638, + "end": 1643, "loc": { "start": { - "line": 40, + "line": 49, "column": 60 }, "end": { - "line": 40, + "line": 49, "column": 65 } } @@ -15074,15 +16637,15 @@ "postfix": false, "binop": null }, - "start": 1408, - "end": 1409, + "start": 1643, + "end": 1644, "loc": { "start": { - "line": 40, + "line": 49, "column": 65 }, "end": { - "line": 40, + "line": 49, "column": 66 } } @@ -15100,15 +16663,15 @@ "binop": null, "updateContext": null }, - "start": 1409, - "end": 1410, + "start": 1644, + "end": 1645, "loc": { "start": { - "line": 40, + "line": 49, "column": 66 }, "end": { - "line": 40, + "line": 49, "column": 67 } } @@ -15128,15 +16691,15 @@ "updateContext": null }, "value": "this", - "start": 1422, - "end": 1426, + "start": 1657, + "end": 1661, "loc": { "start": { - "line": 42, + "line": 51, "column": 8 }, "end": { - "line": 42, + "line": 51, "column": 12 } } @@ -15154,15 +16717,15 @@ "binop": null, "updateContext": null }, - "start": 1426, - "end": 1427, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 42, + "line": 51, "column": 12 }, "end": { - "line": 42, + "line": 51, "column": 13 } } @@ -15180,15 +16743,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 1427, - "end": 1449, + "start": 1662, + "end": 1684, "loc": { "start": { - "line": 42, + "line": 51, "column": 13 }, "end": { - "line": 42, + "line": 51, "column": 35 } } @@ -15206,15 +16769,15 @@ "binop": null, "updateContext": null }, - "start": 1449, - "end": 1450, + "start": 1684, + "end": 1685, "loc": { "start": { - "line": 42, + "line": 51, "column": 35 }, "end": { - "line": 42, + "line": 51, "column": 36 } } @@ -15232,15 +16795,15 @@ "binop": null }, "value": "dispatch", - "start": 1450, - "end": 1458, + "start": 1685, + "end": 1693, "loc": { "start": { - "line": 42, + "line": 51, "column": 36 }, "end": { - "line": 42, + "line": 51, "column": 44 } } @@ -15257,15 +16820,15 @@ "postfix": false, "binop": null }, - "start": 1458, - "end": 1459, + "start": 1693, + "end": 1694, "loc": { "start": { - "line": 42, + "line": 51, "column": 44 }, "end": { - "line": 42, + "line": 51, "column": 45 } } @@ -15283,15 +16846,15 @@ "binop": null }, "value": "instance", - "start": 1459, - "end": 1467, + "start": 1694, + "end": 1702, "loc": { "start": { - "line": 42, + "line": 51, "column": 45 }, "end": { - "line": 42, + "line": 51, "column": 53 } } @@ -15309,15 +16872,15 @@ "binop": null, "updateContext": null }, - "start": 1468, - "end": 1470, + "start": 1703, + "end": 1705, "loc": { "start": { - "line": 42, + "line": 51, "column": 54 }, "end": { - "line": 42, + "line": 51, "column": 56 } } @@ -15334,15 +16897,15 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 1706, + "end": 1707, "loc": { "start": { - "line": 42, + "line": 51, "column": 57 }, "end": { - "line": 42, + "line": 51, "column": 58 } } @@ -15362,15 +16925,15 @@ "updateContext": null }, "value": "let", - "start": 1484, - "end": 1487, + "start": 1719, + "end": 1722, "loc": { "start": { - "line": 43, + "line": 52, "column": 10 }, "end": { - "line": 43, + "line": 52, "column": 13 } } @@ -15388,15 +16951,15 @@ "binop": null }, "value": "buttonDOM", - "start": 1488, - "end": 1497, + "start": 1723, + "end": 1732, "loc": { "start": { - "line": 43, + "line": 52, "column": 14 }, "end": { - "line": 43, + "line": 52, "column": 23 } } @@ -15415,15 +16978,15 @@ "updateContext": null }, "value": "=", - "start": 1498, - "end": 1499, + "start": 1733, + "end": 1734, "loc": { "start": { - "line": 43, + "line": 52, "column": 24 }, "end": { - "line": 43, + "line": 52, "column": 25 } } @@ -15441,15 +17004,15 @@ "binop": null }, "value": "instance", - "start": 1500, - "end": 1508, + "start": 1735, + "end": 1743, "loc": { "start": { - "line": 43, + "line": 52, "column": 26 }, "end": { - "line": 43, + "line": 52, "column": 34 } } @@ -15467,15 +17030,15 @@ "binop": null, "updateContext": null }, - "start": 1508, - "end": 1509, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 43, + "line": 52, "column": 34 }, "end": { - "line": 43, + "line": 52, "column": 35 } } @@ -15493,15 +17056,15 @@ "binop": null }, "value": "getButtonElement", - "start": 1509, - "end": 1525, + "start": 1744, + "end": 1760, "loc": { "start": { - "line": 43, + "line": 52, "column": 35 }, "end": { - "line": 43, + "line": 52, "column": 51 } } @@ -15518,15 +17081,15 @@ "postfix": false, "binop": null }, - "start": 1525, - "end": 1526, + "start": 1760, + "end": 1761, "loc": { "start": { - "line": 43, + "line": 52, "column": 51 }, "end": { - "line": 43, + "line": 52, "column": 52 } } @@ -15544,15 +17107,15 @@ "binop": null }, "value": "buttonPressed", - "start": 1526, - "end": 1539, + "start": 1761, + "end": 1774, "loc": { "start": { - "line": 43, + "line": 52, "column": 52 }, "end": { - "line": 43, + "line": 52, "column": 65 } } @@ -15569,15 +17132,15 @@ "postfix": false, "binop": null }, - "start": 1539, - "end": 1540, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 43, + "line": 52, "column": 65 }, "end": { - "line": 43, + "line": 52, "column": 66 } } @@ -15596,15 +17159,15 @@ "updateContext": null }, "value": "||", - "start": 1541, - "end": 1543, + "start": 1776, + "end": 1778, "loc": { "start": { - "line": 43, + "line": 52, "column": 67 }, "end": { - "line": 43, + "line": 52, "column": 69 } } @@ -15622,15 +17185,15 @@ "binop": null }, "value": "instance", - "start": 1544, - "end": 1552, + "start": 1779, + "end": 1787, "loc": { "start": { - "line": 43, + "line": 52, "column": 70 }, "end": { - "line": 43, + "line": 52, "column": 78 } } @@ -15648,15 +17211,15 @@ "binop": null, "updateContext": null }, - "start": 1552, - "end": 1553, + "start": 1787, + "end": 1788, "loc": { "start": { - "line": 43, + "line": 52, "column": 78 }, "end": { - "line": 43, + "line": 52, "column": 79 } } @@ -15674,15 +17237,15 @@ "binop": null }, "value": "getButtonElement", - "start": 1553, - "end": 1569, + "start": 1788, + "end": 1804, "loc": { "start": { - "line": 43, + "line": 52, "column": 79 }, "end": { - "line": 43, + "line": 52, "column": 95 } } @@ -15699,15 +17262,15 @@ "postfix": false, "binop": null }, - "start": 1569, - "end": 1570, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 43, + "line": 52, "column": 95 }, "end": { - "line": 43, + "line": 52, "column": 96 } } @@ -15724,15 +17287,15 @@ "postfix": false, "binop": null }, - "start": 1570, - "end": 1571, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 43, + "line": 52, "column": 96 }, "end": { - "line": 43, + "line": 52, "column": 97 } } @@ -15751,15 +17314,15 @@ "updateContext": null }, "value": "{", - "start": 1571, - "end": 1572, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 43, + "line": 52, "column": 97 }, "end": { - "line": 43, + "line": 52, "column": 98 } } @@ -15776,15 +17339,15 @@ "postfix": false, "binop": null }, - "start": 1572, - "end": 1574, + "start": 1807, + "end": 1809, "loc": { "start": { - "line": 43, + "line": 52, "column": 98 }, "end": { - "line": 43, + "line": 52, "column": 100 } } @@ -15802,15 +17365,15 @@ "binop": null }, "value": "buttonPressed", - "start": 1574, - "end": 1587, + "start": 1809, + "end": 1822, "loc": { "start": { - "line": 43, + "line": 52, "column": 100 }, "end": { - "line": 43, + "line": 52, "column": 113 } } @@ -15827,15 +17390,15 @@ "postfix": false, "binop": null }, - "start": 1587, - "end": 1588, + "start": 1822, + "end": 1823, "loc": { "start": { - "line": 43, + "line": 52, "column": 113 }, "end": { - "line": 43, + "line": 52, "column": 114 } } @@ -15854,15 +17417,15 @@ "updateContext": null }, "value": "}", - "start": 1588, - "end": 1589, + "start": 1823, + "end": 1824, "loc": { "start": { - "line": 43, + "line": 52, "column": 114 }, "end": { - "line": 43, + "line": 52, "column": 115 } } @@ -15879,15 +17442,15 @@ "postfix": false, "binop": null }, - "start": 1589, - "end": 1590, + "start": 1824, + "end": 1825, "loc": { "start": { - "line": 43, + "line": 52, "column": 115 }, "end": { - "line": 43, + "line": 52, "column": 116 } } @@ -15904,15 +17467,15 @@ "postfix": false, "binop": null }, - "start": 1590, - "end": 1591, + "start": 1825, + "end": 1826, "loc": { "start": { - "line": 43, + "line": 52, "column": 116 }, "end": { - "line": 43, + "line": 52, "column": 117 } } @@ -15930,15 +17493,15 @@ "binop": null, "updateContext": null }, - "start": 1591, - "end": 1592, + "start": 1826, + "end": 1827, "loc": { "start": { - "line": 43, + "line": 52, "column": 117 }, "end": { - "line": 43, + "line": 52, "column": 118 } } @@ -15958,15 +17521,15 @@ "updateContext": null }, "value": "if", - "start": 1606, - "end": 1608, + "start": 1841, + "end": 1843, "loc": { "start": { - "line": 45, + "line": 54, "column": 10 }, "end": { - "line": 45, + "line": 54, "column": 12 } } @@ -15983,15 +17546,15 @@ "postfix": false, "binop": null }, - "start": 1608, - "end": 1609, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 45, + "line": 54, "column": 12 }, "end": { - "line": 45, + "line": 54, "column": 13 } } @@ -16009,15 +17572,15 @@ "binop": null }, "value": "buttonDOM", - "start": 1609, - "end": 1618, + "start": 1844, + "end": 1853, "loc": { "start": { - "line": 45, + "line": 54, "column": 13 }, "end": { - "line": 45, + "line": 54, "column": 22 } } @@ -16034,15 +17597,15 @@ "postfix": false, "binop": null }, - "start": 1618, - "end": 1619, + "start": 1853, + "end": 1854, "loc": { "start": { - "line": 45, + "line": 54, "column": 22 }, "end": { - "line": 45, + "line": 54, "column": 23 } } @@ -16059,15 +17622,15 @@ "postfix": false, "binop": null }, - "start": 1619, - "end": 1620, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 45, + "line": 54, "column": 23 }, "end": { - "line": 45, + "line": 54, "column": 24 } } @@ -16085,15 +17648,15 @@ "binop": null }, "value": "buttonDOM", - "start": 1634, - "end": 1643, + "start": 1869, + "end": 1878, "loc": { "start": { - "line": 46, + "line": 55, "column": 12 }, "end": { - "line": 46, + "line": 55, "column": 21 } } @@ -16111,15 +17674,15 @@ "binop": null, "updateContext": null }, - "start": 1643, - "end": 1644, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 46, + "line": 55, "column": 21 }, "end": { - "line": 46, + "line": 55, "column": 22 } } @@ -16137,15 +17700,15 @@ "binop": null }, "value": "removeAttribute", - "start": 1644, - "end": 1659, + "start": 1879, + "end": 1894, "loc": { "start": { - "line": 46, + "line": 55, "column": 22 }, "end": { - "line": 46, + "line": 55, "column": 37 } } @@ -16162,15 +17725,15 @@ "postfix": false, "binop": null }, - "start": 1659, - "end": 1660, + "start": 1894, + "end": 1895, "loc": { "start": { - "line": 46, + "line": 55, "column": 37 }, "end": { - "line": 46, + "line": 55, "column": 38 } } @@ -16189,15 +17752,15 @@ "updateContext": null }, "value": "style", - "start": 1660, - "end": 1667, + "start": 1895, + "end": 1902, "loc": { "start": { - "line": 46, + "line": 55, "column": 38 }, "end": { - "line": 46, + "line": 55, "column": 45 } } @@ -16214,15 +17777,15 @@ "postfix": false, "binop": null }, - "start": 1667, - "end": 1668, + "start": 1902, + "end": 1903, "loc": { "start": { - "line": 46, + "line": 55, "column": 45 }, "end": { - "line": 46, + "line": 55, "column": 46 } } @@ -16240,15 +17803,15 @@ "binop": null, "updateContext": null }, - "start": 1668, - "end": 1669, + "start": 1903, + "end": 1904, "loc": { "start": { - "line": 46, + "line": 55, "column": 46 }, "end": { - "line": 46, + "line": 55, "column": 47 } } @@ -16265,15 +17828,15 @@ "postfix": false, "binop": null }, - "start": 1681, - "end": 1682, + "start": 1916, + "end": 1917, "loc": { "start": { - "line": 47, + "line": 56, "column": 10 }, "end": { - "line": 47, + "line": 56, "column": 11 } } @@ -16290,15 +17853,15 @@ "postfix": false, "binop": null }, - "start": 1692, - "end": 1693, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 48, + "line": 57, "column": 8 }, "end": { - "line": 48, + "line": 57, "column": 9 } } @@ -16315,15 +17878,15 @@ "postfix": false, "binop": null }, - "start": 1693, - "end": 1694, + "start": 1928, + "end": 1929, "loc": { "start": { - "line": 48, + "line": 57, "column": 9 }, "end": { - "line": 48, + "line": 57, "column": 10 } } @@ -16341,15 +17904,15 @@ "binop": null, "updateContext": null }, - "start": 1694, - "end": 1695, + "start": 1929, + "end": 1930, "loc": { "start": { - "line": 48, + "line": 57, "column": 10 }, "end": { - "line": 48, + "line": 57, "column": 11 } } @@ -16366,15 +17929,15 @@ "postfix": false, "binop": null }, - "start": 1703, - "end": 1704, + "start": 1938, + "end": 1939, "loc": { "start": { - "line": 49, + "line": 58, "column": 6 }, "end": { - "line": 49, + "line": 58, "column": 7 } } @@ -16391,15 +17954,15 @@ "postfix": false, "binop": null }, - "start": 1710, - "end": 1711, + "start": 1945, + "end": 1946, "loc": { "start": { - "line": 50, + "line": 59, "column": 4 }, "end": { - "line": 50, + "line": 59, "column": 5 } } @@ -16416,15 +17979,15 @@ "postfix": false, "binop": null }, - "start": 1711, - "end": 1712, + "start": 1946, + "end": 1947, "loc": { "start": { - "line": 50, + "line": 59, "column": 5 }, "end": { - "line": 50, + "line": 59, "column": 6 } } @@ -16442,15 +18005,15 @@ "binop": null, "updateContext": null }, - "start": 1712, - "end": 1713, + "start": 1947, + "end": 1948, "loc": { "start": { - "line": 50, + "line": 59, "column": 6 }, "end": { - "line": 50, + "line": 59, "column": 7 } } @@ -16467,15 +18030,15 @@ "postfix": false, "binop": null }, - "start": 1717, - "end": 1718, + "start": 1952, + "end": 1953, "loc": { "start": { - "line": 51, + "line": 60, "column": 2 }, "end": { - "line": 51, + "line": 60, "column": 3 } } @@ -16483,15 +18046,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ", - "start": 1724, - "end": 1871, + "start": 1959, + "end": 2106, "loc": { "start": { - "line": 53, + "line": 62, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 5 } } @@ -16509,68 +18072,41 @@ "binop": null }, "value": "getSimpleKeyboardLayoutKey", - "start": 1875, - "end": 1901, + "start": 2110, + "end": 2136, "loc": { "start": { - "line": 57, + "line": 66, "column": 2 }, "end": { - "line": 57, + "line": 66, "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": 1902, - "end": 1903, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 57, + "line": 66, + "column": 28 + }, + "end": { + "line": 66, "column": 29 - }, - "end": { - "line": 57, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1904, - "end": 1905, - "loc": { - "start": { - "line": 57, - "column": 31 - }, - "end": { - "line": 57, - "column": 32 } } }, @@ -16587,1343 +18123,16 @@ "binop": null }, "value": "event", - "start": 1905, - "end": 1910, - "loc": { - "start": { - "line": 57, - "column": 32 - }, - "end": { - "line": 57, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1910, - "end": 1911, - "loc": { - "start": { - "line": 57, - "column": 37 - }, - "end": { - "line": 57, - "column": 38 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1912, - "end": 1914, - "loc": { - "start": { - "line": 57, - "column": 39 - }, - "end": { - "line": 57, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1915, - "end": 1916, - "loc": { - "start": { - "line": 57, - "column": 42 - }, - "end": { - "line": 57, - "column": 43 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 1922, - "end": 1925, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 1926, - "end": 1932, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1932, - "end": 1933, - "loc": { - "start": { - "line": 58, - "column": 14 - }, - "end": { - "line": 58, - "column": 15 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1941, - "end": 1943, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1943, - "end": 1944, - "loc": { - "start": { - "line": 60, - "column": 6 - }, - "end": { - "line": 60, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 1952, - "end": 1957, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1957, - "end": 1958, - "loc": { - "start": { - "line": 61, - "column": 11 - }, - "end": { - "line": 61, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 1958, - "end": 1962, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1962, - "end": 1963, - "loc": { - "start": { - "line": 61, - "column": 16 - }, - "end": { - "line": 61, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 1963, - "end": 1971, - "loc": { - "start": { - "line": 61, - "column": 17 - }, - "end": { - "line": 61, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1971, - "end": 1972, - "loc": { - "start": { - "line": 61, - "column": 25 - }, - "end": { - "line": 61, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Numpad", - "start": 1972, - "end": 1980, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1980, - "end": 1981, - "loc": { - "start": { - "line": 61, - "column": 34 - }, - "end": { - "line": 61, - "column": 35 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 1982, - "end": 1984, - "loc": { - "start": { - "line": 61, - "column": 36 - }, - "end": { - "line": 61, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 1992, - "end": 1997, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1997, - "end": 1998, - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 1998, - "end": 2002, - "loc": { - "start": { - "line": 62, - "column": 12 - }, - "end": { - "line": 62, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2002, - "end": 2003, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 2003, - "end": 2011, - "loc": { - "start": { - "line": 62, - "column": 17 - }, - "end": { - "line": 62, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2011, - "end": 2012, - "loc": { - "start": { - "line": 62, - "column": 25 - }, - "end": { - "line": 62, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Shift", - "start": 2012, - "end": 2019, - "loc": { - "start": { - "line": 62, - "column": 26 - }, - "end": { - "line": 62, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2019, - "end": 2020, - "loc": { - "start": { - "line": 62, - "column": 33 - }, - "end": { - "line": 62, - "column": 34 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 2021, - "end": 2023, - "loc": { - "start": { - "line": 62, - "column": 35 - }, - "end": { - "line": 62, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2031, - "end": 2036, - "loc": { - "start": { - "line": 63, - "column": 6 - }, - "end": { - "line": 63, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2036, - "end": 2037, - "loc": { - "start": { - "line": 63, - "column": 11 - }, - "end": { - "line": 63, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2037, - "end": 2041, - "loc": { - "start": { - "line": 63, - "column": 12 - }, - "end": { - "line": 63, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2041, - "end": 2042, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 2042, - "end": 2050, - "loc": { - "start": { - "line": 63, - "column": 17 - }, - "end": { - "line": 63, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2050, - "end": 2051, - "loc": { - "start": { - "line": 63, - "column": 25 - }, - "end": { - "line": 63, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Space", - "start": 2051, - "end": 2058, - "loc": { - "start": { - "line": 63, - "column": 26 - }, - "end": { - "line": 63, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2058, - "end": 2059, - "loc": { - "start": { - "line": 63, - "column": 33 - }, - "end": { - "line": 63, - "column": 34 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 2060, - "end": 2062, - "loc": { - "start": { - "line": 63, - "column": 35 - }, - "end": { - "line": 63, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2070, - "end": 2075, - "loc": { - "start": { - "line": 64, - "column": 6 - }, - "end": { - "line": 64, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2075, - "end": 2076, - "loc": { - "start": { - "line": 64, - "column": 11 - }, - "end": { - "line": 64, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2076, - "end": 2080, - "loc": { - "start": { - "line": 64, - "column": 12 - }, - "end": { - "line": 64, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2080, - "end": 2081, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 64, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 2081, - "end": 2089, - "loc": { - "start": { - "line": 64, - "column": 17 - }, - "end": { - "line": 64, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2089, - "end": 2090, - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Backspace", - "start": 2090, - "end": 2101, - "loc": { - "start": { - "line": 64, - "column": 26 - }, - "end": { - "line": 64, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2101, - "end": 2102, - "loc": { - "start": { - "line": 64, - "column": 37 - }, - "end": { - "line": 64, - "column": 38 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 2103, - "end": 2105, - "loc": { - "start": { - "line": 64, - "column": 39 - }, - "end": { - "line": 64, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2113, - "end": 2118, - "loc": { - "start": { - "line": 65, - "column": 6 - }, - "end": { - "line": 65, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2118, - "end": 2119, - "loc": { - "start": { - "line": 65, - "column": 11 - }, - "end": { - "line": 65, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2119, - "end": 2123, - "loc": { - "start": { - "line": 65, - "column": 12 - }, - "end": { - "line": 65, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2123, - "end": 2124, - "loc": { - "start": { - "line": 65, - "column": 16 - }, - "end": { - "line": 65, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 2124, - "end": 2132, - "loc": { - "start": { - "line": 65, - "column": 17 - }, - "end": { - "line": 65, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2132, - "end": 2133, - "loc": { - "start": { - "line": 65, - "column": 25 - }, - "end": { - "line": 65, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Control", - "start": 2133, + "start": 2137, "end": 2142, "loc": { "start": { - "line": 65, - "column": 26 + "line": 66, + "column": 29 }, "end": { - "line": 65, - "column": 35 + "line": 66, + "column": 34 } } }, @@ -17943,11 +18152,1312 @@ "end": 2143, "loc": { "start": { - "line": 65, + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2143, + "end": 2144, + "loc": { + "start": { + "line": 66, "column": 35 }, "end": { - "line": 65, + "line": 66, + "column": 36 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2150, + "end": 2153, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 2154, + "end": 2160, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2160, + "end": 2161, + "loc": { + "start": { + "line": 67, + "column": 14 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2169, + "end": 2171, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2171, + "end": 2172, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2180, + "end": 2185, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2185, + "end": 2186, + "loc": { + "start": { + "line": 70, + "column": 11 + }, + "end": { + "line": 70, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2186, + "end": 2190, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2190, + "end": 2191, + "loc": { + "start": { + "line": 70, + "column": 16 + }, + "end": { + "line": 70, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2191, + "end": 2199, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2199, + "end": 2200, + "loc": { + "start": { + "line": 70, + "column": 25 + }, + "end": { + "line": 70, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Numpad", + "start": 2200, + "end": 2208, + "loc": { + "start": { + "line": 70, + "column": 26 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2208, + "end": 2209, + "loc": { + "start": { + "line": 70, + "column": 34 + }, + "end": { + "line": 70, + "column": 35 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2210, + "end": 2212, + "loc": { + "start": { + "line": 70, + "column": 36 + }, + "end": { + "line": 70, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2220, + "end": 2225, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2225, + "end": 2226, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2226, + "end": 2230, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2230, + "end": 2231, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2231, + "end": 2239, + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2239, + "end": 2240, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Shift", + "start": 2240, + "end": 2247, + "loc": { + "start": { + "line": 71, + "column": 26 + }, + "end": { + "line": 71, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 71, + "column": 33 + }, + "end": { + "line": 71, + "column": 34 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2249, + "end": 2251, + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2259, + "end": 2264, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2264, + "end": 2265, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2265, + "end": 2269, + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2269, + "end": 2270, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2270, + "end": 2278, + "loc": { + "start": { + "line": 72, + "column": 17 + }, + "end": { + "line": 72, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2278, + "end": 2279, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Space", + "start": 2279, + "end": 2286, + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2286, + "end": 2287, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 34 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2288, + "end": 2290, + "loc": { + "start": { + "line": 72, + "column": 35 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2298, + "end": 2303, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2303, + "end": 2304, + "loc": { + "start": { + "line": 73, + "column": 11 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2304, + "end": 2308, + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2308, + "end": 2309, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2309, + "end": 2317, + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2317, + "end": 2318, + "loc": { + "start": { + "line": 73, + "column": 25 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Backspace", + "start": 2318, + "end": 2329, + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2329, + "end": 2330, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 38 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2331, + "end": 2333, + "loc": { + "start": { + "line": 73, + "column": 39 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2341, + "end": 2346, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2346, + "end": 2347, + "loc": { + "start": { + "line": 74, + "column": 11 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2347, + "end": 2351, + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 74, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2351, + "end": 2352, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2352, + "end": 2360, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2360, + "end": 2361, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Control", + "start": 2361, + "end": 2370, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2370, + "end": 2371, + "loc": { + "start": { + "line": 74, + "column": 35 + }, + "end": { + "line": 74, "column": 36 } } @@ -17966,15 +19476,15 @@ "updateContext": null }, "value": "||", - "start": 2144, - "end": 2146, + "start": 2372, + "end": 2374, "loc": { "start": { - "line": 65, + "line": 74, "column": 37 }, "end": { - "line": 65, + "line": 74, "column": 39 } } @@ -17992,15 +19502,15 @@ "binop": null }, "value": "event", - "start": 2154, - "end": 2159, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 66, + "line": 75, "column": 6 }, "end": { - "line": 66, + "line": 75, "column": 11 } } @@ -18018,15 +19528,15 @@ "binop": null, "updateContext": null }, - "start": 2159, - "end": 2160, + "start": 2387, + "end": 2388, "loc": { "start": { - "line": 66, + "line": 75, "column": 11 }, "end": { - "line": 66, + "line": 75, "column": 12 } } @@ -18044,15 +19554,15 @@ "binop": null }, "value": "code", - "start": 2160, - "end": 2164, + "start": 2388, + "end": 2392, "loc": { "start": { - "line": 66, + "line": 75, "column": 12 }, "end": { - "line": 66, + "line": 75, "column": 16 } } @@ -18070,15 +19580,15 @@ "binop": null, "updateContext": null }, - "start": 2164, - "end": 2165, + "start": 2392, + "end": 2393, "loc": { "start": { - "line": 66, + "line": 75, "column": 16 }, "end": { - "line": 66, + "line": 75, "column": 17 } } @@ -18096,15 +19606,15 @@ "binop": null }, "value": "includes", - "start": 2165, - "end": 2173, + "start": 2393, + "end": 2401, "loc": { "start": { - "line": 66, + "line": 75, "column": 17 }, "end": { - "line": 66, + "line": 75, "column": 25 } } @@ -18121,15 +19631,15 @@ "postfix": false, "binop": null }, - "start": 2173, - "end": 2174, + "start": 2401, + "end": 2402, "loc": { "start": { - "line": 66, + "line": 75, "column": 25 }, "end": { - "line": 66, + "line": 75, "column": 26 } } @@ -18148,15 +19658,15 @@ "updateContext": null }, "value": "Alt", - "start": 2174, - "end": 2179, + "start": 2402, + "end": 2407, "loc": { "start": { - "line": 66, + "line": 75, "column": 26 }, "end": { - "line": 66, + "line": 75, "column": 31 } } @@ -18173,15 +19683,15 @@ "postfix": false, "binop": null }, - "start": 2179, - "end": 2180, + "start": 2407, + "end": 2408, "loc": { "start": { - "line": 66, + "line": 75, "column": 31 }, "end": { - "line": 66, + "line": 75, "column": 32 } } @@ -18200,15 +19710,15 @@ "updateContext": null }, "value": "||", - "start": 2181, - "end": 2183, + "start": 2409, + "end": 2411, "loc": { "start": { - "line": 66, + "line": 75, "column": 33 }, "end": { - "line": 66, + "line": 75, "column": 35 } } @@ -18226,15 +19736,15 @@ "binop": null }, "value": "event", - "start": 2191, - "end": 2196, + "start": 2419, + "end": 2424, "loc": { "start": { - "line": 67, + "line": 76, "column": 6 }, "end": { - "line": 67, + "line": 76, "column": 11 } } @@ -18252,15 +19762,15 @@ "binop": null, "updateContext": null }, - "start": 2196, - "end": 2197, + "start": 2424, + "end": 2425, "loc": { "start": { - "line": 67, + "line": 76, "column": 11 }, "end": { - "line": 67, + "line": 76, "column": 12 } } @@ -18278,15 +19788,15 @@ "binop": null }, "value": "code", - "start": 2197, - "end": 2201, + "start": 2425, + "end": 2429, "loc": { "start": { - "line": 67, + "line": 76, "column": 12 }, "end": { - "line": 67, + "line": 76, "column": 16 } } @@ -18304,15 +19814,15 @@ "binop": null, "updateContext": null }, - "start": 2201, - "end": 2202, + "start": 2429, + "end": 2430, "loc": { "start": { - "line": 67, + "line": 76, "column": 16 }, "end": { - "line": 67, + "line": 76, "column": 17 } } @@ -18330,15 +19840,15 @@ "binop": null }, "value": "includes", - "start": 2202, - "end": 2210, + "start": 2430, + "end": 2438, "loc": { "start": { - "line": 67, + "line": 76, "column": 17 }, "end": { - "line": 67, + "line": 76, "column": 25 } } @@ -18355,15 +19865,15 @@ "postfix": false, "binop": null }, - "start": 2210, - "end": 2211, + "start": 2438, + "end": 2439, "loc": { "start": { - "line": 67, + "line": 76, "column": 25 }, "end": { - "line": 67, + "line": 76, "column": 26 } } @@ -18382,15 +19892,15 @@ "updateContext": null }, "value": "Meta", - "start": 2211, - "end": 2217, + "start": 2439, + "end": 2445, "loc": { "start": { - "line": 67, + "line": 76, "column": 26 }, "end": { - "line": 67, + "line": 76, "column": 32 } } @@ -18407,15 +19917,15 @@ "postfix": false, "binop": null }, - "start": 2217, - "end": 2218, + "start": 2445, + "end": 2446, "loc": { "start": { - "line": 67, + "line": 76, "column": 32 }, "end": { - "line": 67, + "line": 76, "column": 33 } } @@ -18432,15 +19942,15 @@ "postfix": false, "binop": null }, - "start": 2224, - "end": 2225, + "start": 2452, + "end": 2453, "loc": { "start": { - "line": 68, + "line": 77, "column": 4 }, "end": { - "line": 68, + "line": 77, "column": 5 } } @@ -18457,15 +19967,15 @@ "postfix": false, "binop": null }, - "start": 2225, - "end": 2226, + "start": 2453, + "end": 2454, "loc": { "start": { - "line": 68, + "line": 77, "column": 5 }, "end": { - "line": 68, + "line": 77, "column": 6 } } @@ -18483,15 +19993,15 @@ "binop": null }, "value": "output", - "start": 2234, - "end": 2240, + "start": 2462, + "end": 2468, "loc": { "start": { - "line": 69, + "line": 78, "column": 6 }, "end": { - "line": 69, + "line": 78, "column": 12 } } @@ -18510,15 +20020,15 @@ "updateContext": null }, "value": "=", - "start": 2241, - "end": 2242, + "start": 2469, + "end": 2470, "loc": { "start": { - "line": 69, + "line": 78, "column": 13 }, "end": { - "line": 69, + "line": 78, "column": 14 } } @@ -18536,15 +20046,15 @@ "binop": null }, "value": "event", - "start": 2243, - "end": 2248, + "start": 2471, + "end": 2476, "loc": { "start": { - "line": 69, + "line": 78, "column": 15 }, "end": { - "line": 69, + "line": 78, "column": 20 } } @@ -18562,15 +20072,15 @@ "binop": null, "updateContext": null }, - "start": 2248, - "end": 2249, + "start": 2476, + "end": 2477, "loc": { "start": { - "line": 69, + "line": 78, "column": 20 }, "end": { - "line": 69, + "line": 78, "column": 21 } } @@ -18588,15 +20098,15 @@ "binop": null }, "value": "code", - "start": 2249, - "end": 2253, + "start": 2477, + "end": 2481, "loc": { "start": { - "line": 69, + "line": 78, "column": 21 }, "end": { - "line": 69, + "line": 78, "column": 25 } } @@ -18614,15 +20124,15 @@ "binop": null, "updateContext": null }, - "start": 2253, - "end": 2254, + "start": 2481, + "end": 2482, "loc": { "start": { - "line": 69, + "line": 78, "column": 25 }, "end": { - "line": 69, + "line": 78, "column": 26 } } @@ -18639,15 +20149,15 @@ "postfix": false, "binop": null }, - "start": 2260, - "end": 2261, + "start": 2488, + "end": 2489, "loc": { "start": { - "line": 70, + "line": 79, "column": 4 }, "end": { - "line": 70, + "line": 79, "column": 5 } } @@ -18667,15 +20177,15 @@ "updateContext": null }, "value": "else", - "start": 2262, - "end": 2266, + "start": 2490, + "end": 2494, "loc": { "start": { - "line": 70, + "line": 79, "column": 6 }, "end": { - "line": 70, + "line": 79, "column": 10 } } @@ -18692,15 +20202,15 @@ "postfix": false, "binop": null }, - "start": 2267, - "end": 2268, + "start": 2495, + "end": 2496, "loc": { "start": { - "line": 70, + "line": 79, "column": 11 }, "end": { - "line": 70, + "line": 79, "column": 12 } } @@ -18718,15 +20228,15 @@ "binop": null }, "value": "output", - "start": 2276, - "end": 2282, + "start": 2504, + "end": 2510, "loc": { "start": { - "line": 71, + "line": 80, "column": 6 }, "end": { - "line": 71, + "line": 80, "column": 12 } } @@ -18745,15 +20255,15 @@ "updateContext": null }, "value": "=", - "start": 2283, - "end": 2284, + "start": 2511, + "end": 2512, "loc": { "start": { - "line": 71, + "line": 80, "column": 13 }, "end": { - "line": 71, + "line": 80, "column": 14 } } @@ -18771,1125 +20281,16 @@ "binop": null }, "value": "event", - "start": 2285, - "end": 2290, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2290, - "end": 2291, - "loc": { - "start": { - "line": 71, - "column": 20 - }, - "end": { - "line": 71, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2291, - "end": 2294, - "loc": { - "start": { - "line": 71, - "column": 21 - }, - "end": { - "line": 71, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2294, - "end": 2295, - "loc": { - "start": { - "line": 71, - "column": 24 - }, - "end": { - "line": 71, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2301, - "end": 2302, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 72, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", - "start": 2310, - "end": 2379, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 76, - "column": 7 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2385, - "end": 2387, - "loc": { - "start": { - "line": 77, - "column": 4 - }, - "end": { - "line": 77, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2388, - "end": 2389, - "loc": { - "start": { - "line": 77, - "column": 7 - }, - "end": { - "line": 77, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 2397, - "end": 2403, - "loc": { - "start": { - "line": 78, - "column": 6 - }, - "end": { - "line": 78, - "column": 12 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "!==", - "start": 2404, - "end": 2407, - "loc": { - "start": { - "line": 78, - "column": 13 - }, - "end": { - "line": 78, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 2408, - "end": 2414, - "loc": { - "start": { - "line": 78, - "column": 17 - }, - "end": { - "line": 78, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2414, - "end": 2415, - "loc": { - "start": { - "line": 78, - "column": 23 - }, - "end": { - "line": 78, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toUpperCase", - "start": 2415, - "end": 2426, - "loc": { - "start": { - "line": 78, - "column": 24 - }, - "end": { - "line": 78, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2426, - "end": 2427, - "loc": { - "start": { - "line": 78, - "column": 35 - }, - "end": { - "line": 78, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2427, - "end": 2428, - "loc": { - "start": { - "line": 78, - "column": 36 - }, - "end": { - "line": 78, - "column": 37 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 2429, - "end": 2431, - "loc": { - "start": { - "line": 78, - "column": 38 - }, - "end": { - "line": 78, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2439, - "end": 2440, - "loc": { - "start": { - "line": 79, - "column": 6 - }, - "end": { - "line": 79, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2440, - "end": 2445, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2445, - "end": 2446, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2446, - "end": 2450, - "loc": { - "start": { - "line": 79, - "column": 13 - }, - "end": { - "line": 79, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2450, - "end": 2451, - "loc": { - "start": { - "line": 79, - "column": 17 - }, - "end": { - "line": 79, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 2451, - "end": 2452, - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2452, - "end": 2453, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 20 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 2454, - "end": 2457, - "loc": { - "start": { - "line": 79, - "column": 21 - }, - "end": { - "line": 79, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "F", - "start": 2458, - "end": 2461, - "loc": { - "start": { - "line": 79, - "column": 25 - }, - "end": { - "line": 79, - "column": 28 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 2462, - "end": 2464, - "loc": { - "start": { - "line": 79, - "column": 29 - }, - "end": { - "line": 79, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Number", - "start": 2465, - "end": 2471, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2471, - "end": 2472, - "loc": { - "start": { - "line": 79, - "column": 38 - }, - "end": { - "line": 79, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isInteger", - "start": 2472, - "end": 2481, - "loc": { - "start": { - "line": 79, - "column": 39 - }, - "end": { - "line": 79, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2481, - "end": 2482, - "loc": { - "start": { - "line": 79, - "column": 48 - }, - "end": { - "line": 79, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Number", - "start": 2482, - "end": 2488, - "loc": { - "start": { - "line": 79, - "column": 49 - }, - "end": { - "line": 79, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2488, - "end": 2489, - "loc": { - "start": { - "line": 79, - "column": 55 - }, - "end": { - "line": 79, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2489, - "end": 2494, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 61 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2494, - "end": 2495, - "loc": { - "start": { - "line": 79, - "column": 61 - }, - "end": { - "line": 79, - "column": 62 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2495, - "end": 2499, - "loc": { - "start": { - "line": 79, - "column": 62 - }, - "end": { - "line": 79, - "column": 66 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2499, - "end": 2500, - "loc": { - "start": { - "line": 79, - "column": 66 - }, - "end": { - "line": 79, - "column": 67 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2500, - "end": 2501, - "loc": { - "start": { - "line": 79, - "column": 67 - }, - "end": { - "line": 79, - "column": 68 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2501, - "end": 2502, - "loc": { - "start": { - "line": 79, - "column": 68 - }, - "end": { - "line": 79, - "column": 69 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2502, - "end": 2503, - "loc": { - "start": { - "line": 79, - "column": 69 - }, - "end": { - "line": 79, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2503, - "end": 2504, - "loc": { - "start": { - "line": 79, - "column": 70 - }, - "end": { - "line": 79, - "column": 71 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 2505, - "end": 2507, - "loc": { - "start": { - "line": 79, - "column": 72 - }, - "end": { - "line": 79, - "column": 74 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 2508, - "end": 2513, - "loc": { - "start": { - "line": 79, - "column": 75 - }, - "end": { - "line": 79, - "column": 80 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, "start": 2513, - "end": 2514, - "loc": { - "start": { - "line": 79, - "column": 80 - }, - "end": { - "line": 79, - "column": 81 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "code", - "start": 2514, "end": 2518, "loc": { "start": { - "line": 79, - "column": 81 + "line": 80, + "column": 15 }, "end": { - "line": 79, - "column": 85 + "line": 80, + "column": 20 } } }, @@ -19910,11 +20311,1120 @@ "end": 2519, "loc": { "start": { - "line": 79, + "line": 80, + "column": 20 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 2519, + "end": 2522, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 80, + "column": 24 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2529, + "end": 2530, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ", + "start": 2538, + "end": 2607, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2613, + "end": 2615, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2616, + "end": 2617, + "loc": { + "start": { + "line": 86, + "column": 7 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 2625, + "end": 2631, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 2632, + "end": 2635, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 2636, + "end": 2642, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2642, + "end": 2643, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toUpperCase", + "start": 2643, + "end": 2654, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2654, + "end": 2655, + "loc": { + "start": { + "line": 87, + "column": 35 + }, + "end": { + "line": 87, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2655, + "end": 2656, + "loc": { + "start": { + "line": 87, + "column": 36 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2657, + "end": 2659, + "loc": { + "start": { + "line": 87, + "column": 38 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2667, + "end": 2668, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2668, + "end": 2673, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2673, + "end": 2674, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2674, + "end": 2678, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2678, + "end": 2679, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2679, + "end": 2680, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2680, + "end": 2681, + "loc": { + "start": { + "line": 88, + "column": 19 + }, + "end": { + "line": 88, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2682, + "end": 2685, + "loc": { + "start": { + "line": 88, + "column": 21 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "F", + "start": 2686, + "end": 2689, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2690, + "end": 2692, + "loc": { + "start": { + "line": 88, + "column": 29 + }, + "end": { + "line": 88, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 2693, + "end": 2699, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2699, + "end": 2700, + "loc": { + "start": { + "line": 88, + "column": 38 + }, + "end": { + "line": 88, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isInteger", + "start": 2700, + "end": 2709, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2709, + "end": 2710, + "loc": { + "start": { + "line": 88, + "column": 48 + }, + "end": { + "line": 88, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 2710, + "end": 2716, + "loc": { + "start": { + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2716, + "end": 2717, + "loc": { + "start": { + "line": 88, + "column": 55 + }, + "end": { + "line": 88, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2717, + "end": 2722, + "loc": { + "start": { + "line": 88, + "column": 56 + }, + "end": { + "line": 88, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2722, + "end": 2723, + "loc": { + "start": { + "line": 88, + "column": 61 + }, + "end": { + "line": 88, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2723, + "end": 2727, + "loc": { + "start": { + "line": 88, + "column": 62 + }, + "end": { + "line": 88, + "column": 66 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2727, + "end": 2728, + "loc": { + "start": { + "line": 88, + "column": 66 + }, + "end": { + "line": 88, + "column": 67 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2728, + "end": 2729, + "loc": { + "start": { + "line": 88, + "column": 67 + }, + "end": { + "line": 88, + "column": 68 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2729, + "end": 2730, + "loc": { + "start": { + "line": 88, + "column": 68 + }, + "end": { + "line": 88, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2730, + "end": 2731, + "loc": { + "start": { + "line": 88, + "column": 69 + }, + "end": { + "line": 88, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2731, + "end": 2732, + "loc": { + "start": { + "line": 88, + "column": 70 + }, + "end": { + "line": 88, + "column": 71 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2733, + "end": 2735, + "loc": { + "start": { + "line": 88, + "column": 72 + }, + "end": { + "line": 88, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 2736, + "end": 2741, + "loc": { + "start": { + "line": 88, + "column": 75 + }, + "end": { + "line": 88, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2741, + "end": 2742, + "loc": { + "start": { + "line": 88, + "column": 80 + }, + "end": { + "line": 88, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "code", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 88, + "column": 81 + }, + "end": { + "line": 88, + "column": 85 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2746, + "end": 2747, + "loc": { + "start": { + "line": 88, "column": 85 }, "end": { - "line": 79, + "line": 88, "column": 86 } } @@ -19932,15 +21442,15 @@ "binop": null }, "value": "length", - "start": 2519, - "end": 2525, + "start": 2747, + "end": 2753, "loc": { "start": { - "line": 79, + "line": 88, "column": 86 }, "end": { - "line": 79, + "line": 88, "column": 92 } } @@ -19959,15 +21469,15 @@ "updateContext": null }, "value": "<=", - "start": 2526, - "end": 2528, + "start": 2754, + "end": 2756, "loc": { "start": { - "line": 79, + "line": 88, "column": 93 }, "end": { - "line": 79, + "line": 88, "column": 95 } } @@ -19986,15 +21496,15 @@ "updateContext": null }, "value": 3, - "start": 2529, - "end": 2530, + "start": 2757, + "end": 2758, "loc": { "start": { - "line": 79, + "line": 88, "column": 96 }, "end": { - "line": 79, + "line": 88, "column": 97 } } @@ -20011,15 +21521,15 @@ "postfix": false, "binop": null }, - "start": 2530, - "end": 2531, + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 79, + "line": 88, "column": 97 }, "end": { - "line": 79, + "line": 88, "column": 98 } } @@ -20036,15 +21546,15 @@ "postfix": false, "binop": null }, - "start": 2537, - "end": 2538, + "start": 2765, + "end": 2766, "loc": { "start": { - "line": 80, + "line": 89, "column": 4 }, "end": { - "line": 80, + "line": 89, "column": 5 } } @@ -20061,15 +21571,15 @@ "postfix": false, "binop": null }, - "start": 2539, - "end": 2540, + "start": 2767, + "end": 2768, "loc": { "start": { - "line": 80, + "line": 89, "column": 6 }, "end": { - "line": 80, + "line": 89, "column": 7 } } @@ -20087,15 +21597,15 @@ "binop": null }, "value": "output", - "start": 2548, - "end": 2554, + "start": 2776, + "end": 2782, "loc": { "start": { - "line": 81, + "line": 90, "column": 6 }, "end": { - "line": 81, + "line": 90, "column": 12 } } @@ -20114,15 +21624,15 @@ "updateContext": null }, "value": "=", - "start": 2555, - "end": 2556, + "start": 2783, + "end": 2784, "loc": { "start": { - "line": 81, + "line": 90, "column": 13 }, "end": { - "line": 81, + "line": 90, "column": 14 } } @@ -20140,15 +21650,15 @@ "binop": null }, "value": "output", - "start": 2557, - "end": 2563, + "start": 2785, + "end": 2791, "loc": { "start": { - "line": 81, + "line": 90, "column": 15 }, "end": { - "line": 81, + "line": 90, "column": 21 } } @@ -20166,15 +21676,15 @@ "binop": null, "updateContext": null }, - "start": 2563, - "end": 2564, + "start": 2791, + "end": 2792, "loc": { "start": { - "line": 81, + "line": 90, "column": 21 }, "end": { - "line": 81, + "line": 90, "column": 22 } } @@ -20192,15 +21702,15 @@ "binop": null }, "value": "toLowerCase", - "start": 2564, - "end": 2575, + "start": 2792, + "end": 2803, "loc": { "start": { - "line": 81, + "line": 90, "column": 22 }, "end": { - "line": 81, + "line": 90, "column": 33 } } @@ -20217,15 +21727,15 @@ "postfix": false, "binop": null }, - "start": 2575, - "end": 2576, + "start": 2803, + "end": 2804, "loc": { "start": { - "line": 81, + "line": 90, "column": 33 }, "end": { - "line": 81, + "line": 90, "column": 34 } } @@ -20242,15 +21752,15 @@ "postfix": false, "binop": null }, - "start": 2576, - "end": 2577, + "start": 2804, + "end": 2805, "loc": { "start": { - "line": 81, + "line": 90, "column": 34 }, "end": { - "line": 81, + "line": 90, "column": 35 } } @@ -20268,15 +21778,15 @@ "binop": null, "updateContext": null }, - "start": 2577, - "end": 2578, + "start": 2805, + "end": 2806, "loc": { "start": { - "line": 81, + "line": 90, "column": 35 }, "end": { - "line": 81, + "line": 90, "column": 36 } } @@ -20293,15 +21803,15 @@ "postfix": false, "binop": null }, - "start": 2584, - "end": 2585, + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 82, + "line": 91, "column": 4 }, "end": { - "line": 82, + "line": 91, "column": 5 } } @@ -20321,15 +21831,15 @@ "updateContext": null }, "value": "return", - "start": 2593, - "end": 2599, + "start": 2821, + "end": 2827, "loc": { "start": { - "line": 84, + "line": 93, "column": 4 }, "end": { - "line": 84, + "line": 93, "column": 10 } } @@ -20347,15 +21857,15 @@ "binop": null }, "value": "output", - "start": 2600, - "end": 2606, + "start": 2828, + "end": 2834, "loc": { "start": { - "line": 84, + "line": 93, "column": 11 }, "end": { - "line": 84, + "line": 93, "column": 17 } } @@ -20373,15 +21883,15 @@ "binop": null, "updateContext": null }, - "start": 2606, - "end": 2607, + "start": 2834, + "end": 2835, "loc": { "start": { - "line": 84, + "line": 93, "column": 17 }, "end": { - "line": 84, + "line": 93, "column": 18 } } @@ -20398,15 +21908,15 @@ "postfix": false, "binop": null }, - "start": 2611, - "end": 2612, + "start": 2839, + "end": 2840, "loc": { "start": { - "line": 85, + "line": 94, "column": 2 }, "end": { - "line": 85, + "line": 94, "column": 3 } } @@ -20423,15 +21933,15 @@ "postfix": false, "binop": null }, - "start": 2614, - "end": 2615, + "start": 2842, + "end": 2843, "loc": { "start": { - "line": 86, + "line": 95, "column": 0 }, "end": { - "line": 86, + "line": 95, "column": 1 } } @@ -20451,15 +21961,15 @@ "updateContext": null }, "value": "export", - "start": 2619, - "end": 2625, + "start": 2847, + "end": 2853, "loc": { "start": { - "line": 88, + "line": 97, "column": 0 }, "end": { - "line": 88, + "line": 97, "column": 6 } } @@ -20479,15 +21989,15 @@ "updateContext": null }, "value": "default", - "start": 2626, - "end": 2633, + "start": 2854, + "end": 2861, "loc": { "start": { - "line": 88, + "line": 97, "column": 7 }, "end": { - "line": 88, + "line": 97, "column": 14 } } @@ -20505,15 +22015,15 @@ "binop": null }, "value": "PhysicalKeyboard", - "start": 2634, - "end": 2650, + "start": 2862, + "end": 2878, "loc": { "start": { - "line": 88, + "line": 97, "column": 15 }, "end": { - "line": 88, + "line": 97, "column": 31 } } @@ -20531,15 +22041,15 @@ "binop": null, "updateContext": null }, - "start": 2650, - "end": 2651, + "start": 2878, + "end": 2879, "loc": { "start": { - "line": 88, + "line": 97, "column": 31 }, "end": { - "line": 88, + "line": 97, "column": 32 } } @@ -20557,15 +22067,15 @@ "binop": null, "updateContext": null }, - "start": 2651, - "end": 2651, + "start": 2879, + "end": 2879, "loc": { "start": { - "line": 88, + "line": 97, "column": 32 }, "end": { - "line": 88, + "line": 97, "column": 32 } } diff --git a/docs/ast/source/lib/services/Utilities.js.json b/docs/ast/source/lib/services/Utilities.js.json index 7fbea5a7..1dd4b1b3 100644 --- a/docs/ast/source/lib/services/Utilities.js.json +++ b/docs/ast/source/lib/services/Utilities.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 10148, + "end": 10559, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 342, + "line": 353, "column": 25 } }, "program": { "type": "Program", "start": 0, - "end": 10148, + "end": 10559, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 342, + "line": 353, "column": 25 } }, @@ -31,14 +31,14 @@ { "type": "Identifier", "start": 30, - "end": 10119, + "end": 10530, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 340, + "line": 351, "column": 1 } }, @@ -64,14 +64,14 @@ "body": { "type": "ClassBody", "start": 46, - "end": 10119, + "end": 10530, "loc": { "start": { "line": 4, "column": 16 }, "end": { - "line": 340, + "line": 351, "column": 1 } }, @@ -79,14 +79,14 @@ { "type": "ClassMethod", "start": 114, - "end": 282, + "end": 740, "loc": { "start": { "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 24, "column": 3 } }, @@ -137,14 +137,14 @@ "body": { "type": "BlockStatement", "start": 149, - "end": 282, + "end": 740, "loc": { "start": { "line": 8, "column": 37 }, "end": { - "line": 13, + "line": 24, "column": 3 } }, @@ -264,7 +264,1390 @@ } } } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } ] + }, + { + "type": "ExpressionStatement", + "start": 320, + "end": 373, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 320, + "end": 372, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 320, + "end": 339, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 320, + "end": 324, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 325, + "end": 339, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 23 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 342, + "end": 372, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 342, + "end": 366, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 342, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 342, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 347, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 45 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 367, + "end": 371, + "loc": { + "start": { + "line": 17, + "column": 51 + }, + "end": { + "line": 17, + "column": 55 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 379, + "end": 444, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 379, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 379, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 379, + "end": 383, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 384, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 29 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 407, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 407, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 407, + "end": 432, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 407, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 412, + "end": 432, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 57 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 433, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 58 + }, + "end": { + "line": 18, + "column": 62 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 438, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 63 + }, + "end": { + "line": 18, + "column": 67 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 450, + "end": 505, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 59 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 450, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 450, + "end": 470, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 450, + "end": 454, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 455, + "end": 470, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 473, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 473, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 473, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 473, + "end": 477, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 478, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 47 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 494, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 52 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 499, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 57 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 511, + "end": 564, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 511, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 511, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 511, + "end": 515, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 516, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 23 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 533, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 533, + "end": 557, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 533, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 533, + "end": 537, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 538, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 45 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 20, + "column": 46 + }, + "end": { + "line": 20, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 558, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 51 + }, + "end": { + "line": 20, + "column": 55 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 570, + "end": 631, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 570, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 570, + "end": 593, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 570, + "end": 574, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 575, + "end": 593, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 27 + }, + "identifierName": "isMaxLengthReached" + }, + "name": "isMaxLengthReached" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 596, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 596, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 596, + "end": 619, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 596, + "end": 600, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 601, + "end": 619, + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 53 + }, + "identifierName": "isMaxLengthReached" + }, + "name": "isMaxLengthReached" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 54 + }, + "end": { + "line": 21, + "column": 58 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 625, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 59 + }, + "end": { + "line": 21, + "column": 63 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 637, + "end": 680, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 637, + "end": 679, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 637, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 637, + "end": 641, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 642, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 18 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 654, + "end": 679, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 654, + "end": 673, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 654, + "end": 668, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 654, + "end": 658, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 659, + "end": 668, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 35 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 669, + "end": 673, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 40 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 674, + "end": 678, + "loc": { + "start": { + "line": 22, + "column": 41 + }, + "end": { + "line": 22, + "column": 45 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 686, + "end": 735, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 686, + "end": 734, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 52 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 686, + "end": 703, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 686, + "end": 690, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 691, + "end": 703, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 21 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 706, + "end": 734, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 706, + "end": 728, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 706, + "end": 723, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 706, + "end": 710, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 711, + "end": 723, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 41 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 724, + "end": 728, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 46 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 729, + "end": 733, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 51 + } + } + } + ] + } + } } ], "directives": [], @@ -292,15 +1675,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, + "start": 746, + "end": 924, "loc": { "start": { - "line": 15, + "line": 26, "column": 2 }, "end": { - "line": 20, + "line": 31, "column": 5 } } @@ -308,16 +1691,16 @@ ] }, { - "type": "ClassProperty", - "start": 470, - "end": 902, + "type": "ClassMethod", + "start": 928, + "end": 1355, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 30, + "line": 41, "column": 3 } }, @@ -325,15 +1708,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 470, - "end": 484, + "start": 928, + "end": 942, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, + "line": 32, "column": 16 }, "identifierName": "getButtonClass" @@ -341,540 +1724,173 @@ "name": "getButtonClass", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 487, - "end": 902, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 943, + "end": 949, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 23 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 950, + "end": 1355, "loc": { "start": { - "line": 21, - "column": 19 + "line": 32, + "column": 24 }, "end": { - "line": 30, + "line": 41, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 487, - "end": 493, + "type": "VariableDeclaration", + "start": 957, + "end": 1079, "loc": { "start": { - "line": 21, - "column": 19 + "line": 33, + "column": 4 }, "end": { - "line": 21, - "column": 25 - }, - "identifierName": "button" + "line": 33, + "column": 126 + } }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 497, - "end": 902, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 30, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 504, - "end": 626, - "loc": { - "start": { - "line": 22, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 961, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 125 + } }, - "end": { - "line": 22, - "column": 126 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 508, - "end": 625, + "id": { + "type": "Identifier", + "start": 961, + "end": 976, "loc": { "start": { - "line": 22, + "line": 33, "column": 8 }, "end": { - "line": 22, + "line": 33, + "column": 23 + }, + "identifierName": "buttonTypeClass" + }, + "name": "buttonTypeClass" + }, + "init": { + "type": "ConditionalExpression", + "start": 979, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 26 + }, + "end": { + "line": 33, "column": 125 } }, - "id": { - "type": "Identifier", - "start": 508, - "end": 523, + "test": { + "type": "LogicalExpression", + "start": 980, + "end": 1045, "loc": { "start": { - "line": 22, - "column": 8 + "line": 33, + "column": 27 }, "end": { - "line": 22, - "column": 23 - }, - "identifierName": "buttonTypeClass" - }, - "name": "buttonTypeClass" - }, - "init": { - "type": "ConditionalExpression", - "start": 526, - "end": 625, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 125 + "line": 33, + "column": 92 } }, - "test": { + "left": { "type": "LogicalExpression", - "start": 527, - "end": 592, + "start": 980, + "end": 1024, "loc": { "start": { - "line": 22, + "line": 33, "column": 27 }, "end": { - "line": 22, - "column": 92 + "line": 33, + "column": 71 } }, "left": { - "type": "LogicalExpression", - "start": 527, - "end": 571, + "type": "CallExpression", + "start": 980, + "end": 1000, "loc": { "start": { - "line": 22, + "line": 33, "column": 27 }, "end": { - "line": 22, - "column": 71 - } - }, - "left": { - "type": "CallExpression", - "start": 527, - "end": 547, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 527, - "end": 542, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 527, - "end": 533, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 33 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 534, - "end": 542, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 42 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 543, - "end": 546, - "loc": { - "start": { - "line": 22, - "column": 43 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" - }, - "value": "{" - } - ] - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 551, - "end": 571, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 551, - "end": 566, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 551, - "end": 557, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 57 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 558, - "end": 566, - "loc": { - "start": { - "line": 22, - "column": 58 - }, - "end": { - "line": 22, - "column": 66 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 567, - "end": 570, - "loc": { - "start": { - "line": 22, - "column": 67 - }, - "end": { - "line": 22, - "column": 70 - } - }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - } - ] - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 575, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 75 - }, - "end": { - "line": 22, - "column": 92 - } - }, - "left": { - "type": "Identifier", - "start": 575, - "end": 581, - "loc": { - "start": { - "line": 22, - "column": 75 - }, - "end": { - "line": 22, - "column": 81 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "!==", - "right": { - "type": "StringLiteral", - "start": 586, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 86 - }, - "end": { - "line": 22, - "column": 92 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 526 - } - }, - "consequent": { - "type": "StringLiteral", - "start": 596, - "end": 609, - "loc": { - "start": { - "line": 22, - "column": 96 - }, - "end": { - "line": 22, - "column": 109 - } - }, - "extra": { - "rawValue": "functionBtn", - "raw": "\"functionBtn\"" - }, - "value": "functionBtn" - }, - "alternate": { - "type": "StringLiteral", - "start": 612, - "end": 625, - "loc": { - "start": { - "line": 22, - "column": 112 - }, - "end": { - "line": 22, - "column": 125 - } - }, - "extra": { - "rawValue": "standardBtn", - "raw": "\"standardBtn\"" - }, - "value": "standardBtn" - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 632, - "end": 699, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 71 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 636, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 70 - } - }, - "id": { - "type": "Identifier", - "start": 636, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 27 - }, - "identifierName": "buttonWithoutBraces" - }, - "name": "buttonWithoutBraces" - }, - "init": { - "type": "CallExpression", - "start": 658, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 658, - "end": 689, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 658, - "end": 681, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 53 + "line": 33, + "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 658, - "end": 672, + "start": 980, + "end": 995, "loc": { "start": { - "line": 23, - "column": 30 + "line": 33, + "column": 27 }, "end": { - "line": 23, - "column": 44 + "line": 33, + "column": 42 } }, "object": { "type": "Identifier", - "start": 658, - "end": 664, + "start": 980, + "end": 986, "loc": { "start": { - "line": 23, - "column": 30 + "line": 33, + "column": 27 }, "end": { - "line": 23, - "column": 36 + "line": 33, + "column": 33 }, "identifierName": "button" }, @@ -882,36 +1898,36 @@ }, "property": { "type": "Identifier", - "start": 665, - "end": 672, + "start": 987, + "end": 995, "loc": { "start": { - "line": 23, - "column": 37 + "line": 33, + "column": 34 }, "end": { - "line": 23, - "column": 44 + "line": 33, + "column": 42 }, - "identifierName": "replace" + "identifierName": "includes" }, - "name": "replace" + "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", - "start": 673, - "end": 676, + "start": 996, + "end": 999, "loc": { "start": { - "line": 23, - "column": 45 + "line": 33, + "column": 43 }, "end": { - "line": 23, - "column": 48 + "line": 33, + "column": 46 } }, "extra": { @@ -919,505 +1935,857 @@ "raw": "\"{\"" }, "value": "{" - }, - { - "type": "StringLiteral", - "start": 678, - "end": 680, - "loc": { - "start": { - "line": 23, - "column": 50 - }, - "end": { - "line": 23, - "column": 52 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" } ] }, - "property": { - "type": "Identifier", - "start": 682, - "end": 689, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 1004, + "end": 1024, "loc": { "start": { - "line": 23, - "column": 54 + "line": 33, + "column": 51 }, "end": { - "line": 23, - "column": 61 - }, - "identifierName": "replace" - }, - "name": "replace" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 690, - "end": 693, - "loc": { - "start": { - "line": 23, - "column": 62 - }, - "end": { - "line": 23, - "column": 65 + "line": 33, + "column": 71 } }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - }, - { - "type": "StringLiteral", - "start": 695, - "end": 697, - "loc": { - "start": { - "line": 23, - "column": 67 + "callee": { + "type": "MemberExpression", + "start": 1004, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 66 + } }, - "end": { - "line": 23, - "column": 69 + "object": { + "type": "Identifier", + "start": 1004, + "end": 1010, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 57 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 1011, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 33, + "column": 66 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1020, + "end": 1023, + "loc": { + "start": { + "line": 33, + "column": 67 + }, + "end": { + "line": 33, + "column": 70 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" + ] } - ] - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 705, - "end": 731, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 30 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 709, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 8 }, - "end": { - "line": 24, - "column": 29 - } - }, - "id": { - "type": "Identifier", - "start": 709, - "end": 725, - "loc": { - "start": { - "line": 24, - "column": 8 + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 1028, + "end": 1045, + "loc": { + "start": { + "line": 33, + "column": 75 + }, + "end": { + "line": 33, + "column": 92 + } }, - "end": { - "line": 24, - "column": 24 + "left": { + "type": "Identifier", + "start": 1028, + "end": 1034, + "loc": { + "start": { + "line": 33, + "column": 75 + }, + "end": { + "line": 33, + "column": 81 + }, + "identifierName": "button" + }, + "name": "button" }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" - }, - "init": { - "type": "StringLiteral", - "start": 728, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 29 + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 1039, + "end": 1045, + "loc": { + "start": { + "line": 33, + "column": 86 + }, + "end": { + "line": 33, + "column": 92 + } + }, + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" + }, + "value": "{//}" } }, "extra": { - "rawValue": "", - "raw": "''" + "parenthesized": true, + "parenStart": 979 + } + }, + "consequent": { + "type": "StringLiteral", + "start": 1049, + "end": 1062, + "loc": { + "start": { + "line": 33, + "column": 96 + }, + "end": { + "line": 33, + "column": 109 + } }, - "value": "" + "extra": { + "rawValue": "functionBtn", + "raw": "\"functionBtn\"" + }, + "value": "functionBtn" + }, + "alternate": { + "type": "StringLiteral", + "start": 1065, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 112 + }, + "end": { + "line": 33, + "column": 125 + } + }, + "extra": { + "rawValue": "standardBtn", + "raw": "\"standardBtn\"" + }, + "value": "standardBtn" } } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 739, - "end": 839, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 27, - "column": 61 - } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 1085, + "end": 1152, + "loc": { + "start": { + "line": 34, + "column": 4 }, - "test": { - "type": "BinaryExpression", - "start": 742, - "end": 775, + "end": { + "line": 34, + "column": 71 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1089, + "end": 1151, "loc": { "start": { - "line": 26, + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 70 + } + }, + "id": { + "type": "Identifier", + "start": 1089, + "end": 1108, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 27 + }, + "identifierName": "buttonWithoutBraces" + }, + "name": "buttonWithoutBraces" + }, + "init": { + "type": "CallExpression", + "start": 1111, + "end": 1151, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1111, + "end": 1142, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 1111, + "end": 1134, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1111, + "end": 1125, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 1111, + "end": 1117, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 1118, + "end": 1125, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 34, + "column": 44 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1126, + "end": 1129, + "loc": { + "start": { + "line": 34, + "column": 45 + }, + "end": { + "line": 34, + "column": 48 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + }, + { + "type": "StringLiteral", + "start": 1131, + "end": 1133, + "loc": { + "start": { + "line": 34, + "column": 50 + }, + "end": { + "line": 34, + "column": 52 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1135, + "end": 1142, + "loc": { + "start": { + "line": 34, + "column": 54 + }, + "end": { + "line": 34, + "column": 61 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1143, + "end": 1146, + "loc": { + "start": { + "line": 34, + "column": 62 + }, + "end": { + "line": 34, + "column": 65 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + }, + { + "type": "StringLiteral", + "start": 1148, + "end": 1150, + "loc": { + "start": { + "line": 34, + "column": 67 + }, + "end": { + "line": 34, + "column": 69 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 1158, + "end": 1184, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1162, + "end": 1183, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 1162, + "end": 1178, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 24 + }, + "identifierName": "buttonNormalized" + }, + "name": "buttonNormalized" + }, + "init": { + "type": "StringLiteral", + "start": 1181, + "end": 1183, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1192, + "end": 1292, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 38, + "column": 61 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1195, + "end": 1228, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 40 + } + }, + "left": { + "type": "Identifier", + "start": 1195, + "end": 1210, + "loc": { + "start": { + "line": 37, "column": 7 }, "end": { - "line": 26, + "line": 37, + "column": 22 + }, + "identifierName": "buttonTypeClass" + }, + "name": "buttonTypeClass" + }, + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 1215, + "end": 1228, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, "column": 40 } }, + "extra": { + "rawValue": "standardBtn", + "raw": "\"standardBtn\"" + }, + "value": "standardBtn" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 1237, + "end": 1292, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1237, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 60 + } + }, + "operator": "=", "left": { "type": "Identifier", - "start": 742, - "end": 757, + "start": 1237, + "end": 1253, "loc": { "start": { - "line": 26, - "column": 7 + "line": 38, + "column": 6 }, "end": { - "line": 26, + "line": 38, "column": 22 }, + "identifierName": "buttonNormalized" + }, + "name": "buttonNormalized" + }, + "right": { + "type": "TemplateLiteral", + "start": 1256, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 60 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1270, + "end": 1289, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 58 + }, + "identifierName": "buttonWithoutBraces" + }, + "name": "buttonWithoutBraces" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1257, + "end": 1268, + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 37 + } + }, + "value": { + "raw": " hg-button-", + "cooked": " hg-button-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1290, + "end": 1290, + "loc": { + "start": { + "line": 38, + "column": 59 + }, + "end": { + "line": 38, + "column": 59 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1300, + "end": 1350, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 54 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 1307, + "end": 1349, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 53 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1313, + "end": 1328, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 32 + }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, - "operator": "!==", - "right": { - "type": "StringLiteral", - "start": 762, - "end": 775, + { + "type": "Identifier", + "start": 1331, + "end": 1347, "loc": { "start": { - "line": 26, - "column": 27 + "line": 40, + "column": 35 }, "end": { - "line": 26, - "column": 40 - } + "line": 40, + "column": 51 + }, + "identifierName": "buttonNormalized" }, - "extra": { - "rawValue": "standardBtn", - "raw": "\"standardBtn\"" - }, - "value": "standardBtn" + "name": "buttonNormalized" } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 784, - "end": 839, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 61 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 784, - "end": 838, + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1308, + "end": 1311, "loc": { "start": { - "line": 27, - "column": 6 + "line": 40, + "column": 12 }, "end": { - "line": 27, - "column": 60 + "line": 40, + "column": 15 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 784, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 22 - }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" + "value": { + "raw": "hg-", + "cooked": "hg-" }, - "right": { - "type": "TemplateLiteral", - "start": 803, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 25 - }, - "end": { - "line": 27, - "column": 60 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 817, - "end": 836, - "loc": { - "start": { - "line": 27, - "column": 39 - }, - "end": { - "line": 27, - "column": 58 - }, - "identifierName": "buttonWithoutBraces" - }, - "name": "buttonWithoutBraces" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 804, - "end": 815, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 37 - } - }, - "value": { - "raw": " hg-button-", - "cooked": " hg-button-" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 837, - "end": 837, - "loc": { - "start": { - "line": 27, - "column": 59 - }, - "end": { - "line": 27, - "column": 59 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 847, - "end": 897, - "loc": { - "start": { - "line": 29, - "column": 4 + "tail": false }, - "end": { - "line": 29, - "column": 54 - } - }, - "argument": { - "type": "TemplateLiteral", - "start": 854, - "end": 896, - "loc": { - "start": { - "line": 29, - "column": 11 + { + "type": "TemplateElement", + "start": 1329, + "end": 1329, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 33 + } }, - "end": { - "line": 29, - "column": 53 - } + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "expressions": [ - { - "type": "Identifier", - "start": 860, - "end": 875, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 32 - }, - "identifierName": "buttonTypeClass" + { + "type": "TemplateElement", + "start": 1348, + "end": 1348, + "loc": { + "start": { + "line": 40, + "column": 52 }, - "name": "buttonTypeClass" + "end": { + "line": 40, + "column": 52 + } }, - { - "type": "Identifier", - "start": 878, - "end": 894, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 51 - }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 855, - "end": 858, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 15 - } - }, - "value": { - "raw": "hg-", - "cooked": "hg-" - }, - "tail": false + "value": { + "raw": "", + "cooked": "" }, - { - "type": "TemplateElement", - "start": 876, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 895, - "end": 895, - "loc": { - "start": { - "line": 29, - "column": 52 - }, - "end": { - "line": 29, - "column": 52 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } + "tail": true + } + ] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, + "start": 746, + "end": 924, "loc": { "start": { - "line": 15, + "line": 26, "column": 2 }, "end": { - "line": 20, + "line": 31, "column": 5 } } @@ -1427,15 +2795,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -1444,15 +2812,15 @@ }, { "type": "ClassMethod", - "start": 958, - "end": 2526, + "start": 1411, + "end": 2979, "loc": { "start": { - "line": 35, + "line": 46, "column": 2 }, "end": { - "line": 97, + "line": 108, "column": 3 } }, @@ -1460,15 +2828,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 958, - "end": 974, + "start": 1411, + "end": 1427, "loc": { "start": { - "line": 35, + "line": 46, "column": 2 }, "end": { - "line": 35, + "line": 46, "column": 18 }, "identifierName": "getDefaultDiplay" @@ -1484,59 +2852,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 976, - "end": 2526, + "start": 1429, + "end": 2979, "loc": { "start": { - "line": 35, + "line": 46, "column": 20 }, "end": { - "line": 97, + "line": 108, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 983, - "end": 2521, + "start": 1436, + "end": 2974, "loc": { "start": { - "line": 36, + "line": 47, "column": 4 }, "end": { - "line": 96, + "line": 107, "column": 6 } }, "argument": { "type": "ObjectExpression", - "start": 990, - "end": 2520, + "start": 1443, + "end": 2973, "loc": { "start": { - "line": 36, + "line": 47, "column": 11 }, "end": { - "line": 96, + "line": 107, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 999, - "end": 1020, + "start": 1452, + "end": 1473, "loc": { "start": { - "line": 37, + "line": 48, "column": 6 }, "end": { - "line": 37, + "line": 48, "column": 27 } }, @@ -1545,15 +2913,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 999, - "end": 1007, + "start": 1452, + "end": 1460, "loc": { "start": { - "line": 37, + "line": 48, "column": 6 }, "end": { - "line": 37, + "line": 48, "column": 14 } }, @@ -1565,15 +2933,15 @@ }, "value": { "type": "StringLiteral", - "start": 1009, - "end": 1020, + "start": 1462, + "end": 1473, "loc": { "start": { - "line": 37, + "line": 48, "column": 16 }, "end": { - "line": 37, + "line": 48, "column": 27 } }, @@ -1586,15 +2954,15 @@ }, { "type": "ObjectProperty", - "start": 1029, - "end": 1055, + "start": 1482, + "end": 1508, "loc": { "start": { - "line": 38, + "line": 49, "column": 6 }, "end": { - "line": 38, + "line": 49, "column": 32 } }, @@ -1603,15 +2971,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1029, - "end": 1042, + "start": 1482, + "end": 1495, "loc": { "start": { - "line": 38, + "line": 49, "column": 6 }, "end": { - "line": 38, + "line": 49, "column": 19 } }, @@ -1623,15 +2991,15 @@ }, "value": { "type": "StringLiteral", - "start": 1044, - "end": 1055, + "start": 1497, + "end": 1508, "loc": { "start": { - "line": 38, + "line": 49, "column": 21 }, "end": { - "line": 38, + "line": 49, "column": 32 } }, @@ -1644,15 +3012,15 @@ }, { "type": "ObjectProperty", - "start": 1064, - "end": 1084, + "start": 1517, + "end": 1537, "loc": { "start": { - "line": 39, + "line": 50, "column": 6 }, "end": { - "line": 39, + "line": 50, "column": 26 } }, @@ -1661,15 +3029,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1064, - "end": 1073, + "start": 1517, + "end": 1526, "loc": { "start": { - "line": 39, + "line": 50, "column": 6 }, "end": { - "line": 39, + "line": 50, "column": 15 } }, @@ -1681,15 +3049,15 @@ }, "value": { "type": "StringLiteral", - "start": 1075, - "end": 1084, + "start": 1528, + "end": 1537, "loc": { "start": { - "line": 39, + "line": 50, "column": 17 }, "end": { - "line": 39, + "line": 50, "column": 26 } }, @@ -1702,15 +3070,15 @@ }, { "type": "ObjectProperty", - "start": 1093, - "end": 1111, + "start": 1546, + "end": 1564, "loc": { "start": { - "line": 40, + "line": 51, "column": 6 }, "end": { - "line": 40, + "line": 51, "column": 24 } }, @@ -1719,15 +3087,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1093, - "end": 1102, + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 40, + "line": 51, "column": 6 }, "end": { - "line": 40, + "line": 51, "column": 15 } }, @@ -1739,15 +3107,15 @@ }, "value": { "type": "StringLiteral", - "start": 1104, - "end": 1111, + "start": 1557, + "end": 1564, "loc": { "start": { - "line": 40, + "line": 51, "column": 17 }, "end": { - "line": 40, + "line": 51, "column": 24 } }, @@ -1760,15 +3128,15 @@ }, { "type": "ObjectProperty", - "start": 1120, - "end": 1142, + "start": 1573, + "end": 1595, "loc": { "start": { - "line": 41, + "line": 52, "column": 6 }, "end": { - "line": 41, + "line": 52, "column": 28 } }, @@ -1777,15 +3145,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1120, - "end": 1133, + "start": 1573, + "end": 1586, "loc": { "start": { - "line": 41, + "line": 52, "column": 6 }, "end": { - "line": 41, + "line": 52, "column": 19 } }, @@ -1797,15 +3165,15 @@ }, "value": { "type": "StringLiteral", - "start": 1135, - "end": 1142, + "start": 1588, + "end": 1595, "loc": { "start": { - "line": 41, + "line": 52, "column": 21 }, "end": { - "line": 41, + "line": 52, "column": 28 } }, @@ -1818,15 +3186,15 @@ }, { "type": "ObjectProperty", - "start": 1151, - "end": 1174, + "start": 1604, + "end": 1627, "loc": { "start": { - "line": 42, + "line": 53, "column": 6 }, "end": { - "line": 42, + "line": 53, "column": 29 } }, @@ -1835,15 +3203,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1151, - "end": 1165, + "start": 1604, + "end": 1618, "loc": { "start": { - "line": 42, + "line": 53, "column": 6 }, "end": { - "line": 42, + "line": 53, "column": 20 } }, @@ -1855,15 +3223,15 @@ }, "value": { "type": "StringLiteral", - "start": 1167, - "end": 1174, + "start": 1620, + "end": 1627, "loc": { "start": { - "line": 42, + "line": 53, "column": 22 }, "end": { - "line": 42, + "line": 53, "column": 29 } }, @@ -1876,15 +3244,15 @@ }, { "type": "ObjectProperty", - "start": 1183, - "end": 1197, + "start": 1636, + "end": 1650, "loc": { "start": { - "line": 43, + "line": 54, "column": 6 }, "end": { - "line": 43, + "line": 54, "column": 20 } }, @@ -1893,15 +3261,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1183, - "end": 1190, + "start": 1636, + "end": 1643, "loc": { "start": { - "line": 43, + "line": 54, "column": 6 }, "end": { - "line": 43, + "line": 54, "column": 13 } }, @@ -1913,15 +3281,15 @@ }, "value": { "type": "StringLiteral", - "start": 1192, - "end": 1197, + "start": 1645, + "end": 1650, "loc": { "start": { - "line": 43, + "line": 54, "column": 15 }, "end": { - "line": 43, + "line": 54, "column": 20 } }, @@ -1934,15 +3302,15 @@ }, { "type": "ObjectProperty", - "start": 1206, - "end": 1220, + "start": 1659, + "end": 1673, "loc": { "start": { - "line": 44, + "line": 55, "column": 6 }, "end": { - "line": 44, + "line": 55, "column": 20 } }, @@ -1951,15 +3319,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1206, - "end": 1211, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 44, + "line": 55, "column": 6 }, "end": { - "line": 44, + "line": 55, "column": 11 } }, @@ -1971,15 +3339,15 @@ }, "value": { "type": "StringLiteral", - "start": 1213, - "end": 1220, + "start": 1666, + "end": 1673, "loc": { "start": { - "line": 44, + "line": 55, "column": 13 }, "end": { - "line": 44, + "line": 55, "column": 20 } }, @@ -1992,15 +3360,15 @@ }, { "type": "ObjectProperty", - "start": 1229, - "end": 1243, + "start": 1682, + "end": 1696, "loc": { "start": { - "line": 45, + "line": 56, "column": 6 }, "end": { - "line": 45, + "line": 56, "column": 20 } }, @@ -2009,15 +3377,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1229, - "end": 1236, + "start": 1682, + "end": 1689, "loc": { "start": { - "line": 45, + "line": 56, "column": 6 }, "end": { - "line": 45, + "line": 56, "column": 13 } }, @@ -2029,15 +3397,15 @@ }, "value": { "type": "StringLiteral", - "start": 1238, - "end": 1243, + "start": 1691, + "end": 1696, "loc": { "start": { - "line": 45, + "line": 56, "column": 15 }, "end": { - "line": 45, + "line": 56, "column": 20 } }, @@ -2050,15 +3418,15 @@ }, { "type": "ObjectProperty", - "start": 1252, - "end": 1268, + "start": 1705, + "end": 1721, "loc": { "start": { - "line": 46, + "line": 57, "column": 6 }, "end": { - "line": 46, + "line": 57, "column": 22 } }, @@ -2067,15 +3435,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1252, - "end": 1260, + "start": 1705, + "end": 1713, "loc": { "start": { - "line": 46, + "line": 57, "column": 6 }, "end": { - "line": 46, + "line": 57, "column": 14 } }, @@ -2087,15 +3455,15 @@ }, "value": { "type": "StringLiteral", - "start": 1262, - "end": 1268, + "start": 1715, + "end": 1721, "loc": { "start": { - "line": 46, + "line": 57, "column": 16 }, "end": { - "line": 46, + "line": 57, "column": 22 } }, @@ -2108,15 +3476,15 @@ }, { "type": "ObjectProperty", - "start": 1277, - "end": 1297, + "start": 1730, + "end": 1750, "loc": { "start": { - "line": 47, + "line": 58, "column": 6 }, "end": { - "line": 47, + "line": 58, "column": 26 } }, @@ -2125,15 +3493,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1277, - "end": 1289, + "start": 1730, + "end": 1742, "loc": { "start": { - "line": 47, + "line": 58, "column": 6 }, "end": { - "line": 47, + "line": 58, "column": 18 } }, @@ -2145,15 +3513,15 @@ }, "value": { "type": "StringLiteral", - "start": 1291, - "end": 1297, + "start": 1744, + "end": 1750, "loc": { "start": { - "line": 47, + "line": 58, "column": 20 }, "end": { - "line": 47, + "line": 58, "column": 26 } }, @@ -2166,15 +3534,15 @@ }, { "type": "ObjectProperty", - "start": 1306, - "end": 1326, + "start": 1759, + "end": 1779, "loc": { "start": { - "line": 48, + "line": 59, "column": 6 }, "end": { - "line": 48, + "line": 59, "column": 26 } }, @@ -2183,15 +3551,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1306, - "end": 1316, + "start": 1759, + "end": 1769, "loc": { "start": { - "line": 48, + "line": 59, "column": 6 }, "end": { - "line": 48, + "line": 59, "column": 16 } }, @@ -2203,15 +3571,15 @@ }, "value": { "type": "StringLiteral", - "start": 1318, - "end": 1326, + "start": 1771, + "end": 1779, "loc": { "start": { - "line": 48, + "line": 59, "column": 18 }, "end": { - "line": 48, + "line": 59, "column": 26 } }, @@ -2224,15 +3592,15 @@ }, { "type": "ObjectProperty", - "start": 1335, - "end": 1349, + "start": 1788, + "end": 1802, "loc": { "start": { - "line": 49, + "line": 60, "column": 6 }, "end": { - "line": 49, + "line": 60, "column": 20 } }, @@ -2241,15 +3609,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1335, - "end": 1344, + "start": 1788, + "end": 1797, "loc": { "start": { - "line": 49, + "line": 60, "column": 6 }, "end": { - "line": 49, + "line": 60, "column": 15 } }, @@ -2261,15 +3629,15 @@ }, "value": { "type": "StringLiteral", - "start": 1346, - "end": 1349, + "start": 1799, + "end": 1802, "loc": { "start": { - "line": 49, + "line": 60, "column": 17 }, "end": { - "line": 49, + "line": 60, "column": 20 } }, @@ -2282,15 +3650,15 @@ }, { "type": "ObjectProperty", - "start": 1358, - "end": 1369, + "start": 1811, + "end": 1822, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, + "line": 61, "column": 17 } }, @@ -2299,15 +3667,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1358, - "end": 1364, + "start": 1811, + "end": 1817, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, + "line": 61, "column": 12 } }, @@ -2319,15 +3687,15 @@ }, "value": { "type": "StringLiteral", - "start": 1366, - "end": 1369, + "start": 1819, + "end": 1822, "loc": { "start": { - "line": 50, + "line": 61, "column": 14 }, "end": { - "line": 50, + "line": 61, "column": 17 } }, @@ -2340,15 +3708,15 @@ }, { "type": "ObjectProperty", - "start": 1378, - "end": 1392, + "start": 1831, + "end": 1845, "loc": { "start": { - "line": 51, + "line": 62, "column": 6 }, "end": { - "line": 51, + "line": 62, "column": 20 } }, @@ -2357,15 +3725,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1378, - "end": 1385, + "start": 1831, + "end": 1838, "loc": { "start": { - "line": 51, + "line": 62, "column": 6 }, "end": { - "line": 51, + "line": 62, "column": 13 } }, @@ -2377,15 +3745,15 @@ }, "value": { "type": "StringLiteral", - "start": 1387, - "end": 1392, + "start": 1840, + "end": 1845, "loc": { "start": { - "line": 51, + "line": 62, "column": 15 }, "end": { - "line": 51, + "line": 62, "column": 20 } }, @@ -2398,15 +3766,15 @@ }, { "type": "ObjectProperty", - "start": 1401, - "end": 1418, + "start": 1854, + "end": 1871, "loc": { "start": { - "line": 52, + "line": 63, "column": 6 }, "end": { - "line": 52, + "line": 63, "column": 23 } }, @@ -2415,15 +3783,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1401, - "end": 1411, + "start": 1854, + "end": 1864, "loc": { "start": { - "line": 52, + "line": 63, "column": 6 }, "end": { - "line": 52, + "line": 63, "column": 16 } }, @@ -2435,15 +3803,15 @@ }, "value": { "type": "StringLiteral", - "start": 1413, - "end": 1418, + "start": 1866, + "end": 1871, "loc": { "start": { - "line": 52, + "line": 63, "column": 18 }, "end": { - "line": 52, + "line": 63, "column": 23 } }, @@ -2456,15 +3824,15 @@ }, { "type": "ObjectProperty", - "start": 1427, - "end": 1439, + "start": 1880, + "end": 1892, "loc": { "start": { - "line": 53, + "line": 64, "column": 6 }, "end": { - "line": 53, + "line": 64, "column": 18 } }, @@ -2473,15 +3841,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1427, - "end": 1433, + "start": 1880, + "end": 1886, "loc": { "start": { - "line": 53, + "line": 64, "column": 6 }, "end": { - "line": 53, + "line": 64, "column": 12 } }, @@ -2493,15 +3861,15 @@ }, "value": { "type": "StringLiteral", - "start": 1435, - "end": 1439, + "start": 1888, + "end": 1892, "loc": { "start": { - "line": 53, + "line": 64, "column": 14 }, "end": { - "line": 53, + "line": 64, "column": 18 } }, @@ -2514,15 +3882,15 @@ }, { "type": "ObjectProperty", - "start": 1448, - "end": 1460, + "start": 1901, + "end": 1913, "loc": { "start": { - "line": 54, + "line": 65, "column": 6 }, "end": { - "line": 54, + "line": 65, "column": 18 } }, @@ -2531,15 +3899,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1448, - "end": 1454, + "start": 1901, + "end": 1907, "loc": { "start": { - "line": 54, + "line": 65, "column": 6 }, "end": { - "line": 54, + "line": 65, "column": 12 } }, @@ -2551,15 +3919,15 @@ }, "value": { "type": "StringLiteral", - "start": 1456, - "end": 1460, + "start": 1909, + "end": 1913, "loc": { "start": { - "line": 54, + "line": 65, "column": 14 }, "end": { - "line": 54, + "line": 65, "column": 18 } }, @@ -2572,15 +3940,15 @@ }, { "type": "ObjectProperty", - "start": 1469, - "end": 1481, + "start": 1922, + "end": 1934, "loc": { "start": { - "line": 55, + "line": 66, "column": 6 }, "end": { - "line": 55, + "line": 66, "column": 18 } }, @@ -2589,15 +3957,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1469, - "end": 1475, + "start": 1922, + "end": 1928, "loc": { "start": { - "line": 55, + "line": 66, "column": 6 }, "end": { - "line": 55, + "line": 66, "column": 12 } }, @@ -2609,15 +3977,15 @@ }, "value": { "type": "StringLiteral", - "start": 1477, - "end": 1481, + "start": 1930, + "end": 1934, "loc": { "start": { - "line": 55, + "line": 66, "column": 14 }, "end": { - "line": 55, + "line": 66, "column": 18 } }, @@ -2630,15 +3998,15 @@ }, { "type": "ObjectProperty", - "start": 1490, - "end": 1502, + "start": 1943, + "end": 1955, "loc": { "start": { - "line": 56, + "line": 67, "column": 6 }, "end": { - "line": 56, + "line": 67, "column": 18 } }, @@ -2647,15 +4015,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1490, - "end": 1496, + "start": 1943, + "end": 1949, "loc": { "start": { - "line": 56, + "line": 67, "column": 6 }, "end": { - "line": 56, + "line": 67, "column": 12 } }, @@ -2667,15 +4035,15 @@ }, "value": { "type": "StringLiteral", - "start": 1498, - "end": 1502, + "start": 1951, + "end": 1955, "loc": { "start": { - "line": 56, + "line": 67, "column": 14 }, "end": { - "line": 56, + "line": 67, "column": 18 } }, @@ -2688,15 +4056,15 @@ }, { "type": "ObjectProperty", - "start": 1511, - "end": 1523, + "start": 1964, + "end": 1976, "loc": { "start": { - "line": 57, + "line": 68, "column": 6 }, "end": { - "line": 57, + "line": 68, "column": 18 } }, @@ -2705,15 +4073,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1511, - "end": 1517, + "start": 1964, + "end": 1970, "loc": { "start": { - "line": 57, + "line": 68, "column": 6 }, "end": { - "line": 57, + "line": 68, "column": 12 } }, @@ -2725,15 +4093,15 @@ }, "value": { "type": "StringLiteral", - "start": 1519, - "end": 1523, + "start": 1972, + "end": 1976, "loc": { "start": { - "line": 57, + "line": 68, "column": 14 }, "end": { - "line": 57, + "line": 68, "column": 18 } }, @@ -2746,15 +4114,15 @@ }, { "type": "ObjectProperty", - "start": 1532, - "end": 1544, + "start": 1985, + "end": 1997, "loc": { "start": { - "line": 58, + "line": 69, "column": 6 }, "end": { - "line": 58, + "line": 69, "column": 18 } }, @@ -2763,15 +4131,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1532, - "end": 1538, + "start": 1985, + "end": 1991, "loc": { "start": { - "line": 58, + "line": 69, "column": 6 }, "end": { - "line": 58, + "line": 69, "column": 12 } }, @@ -2783,15 +4151,15 @@ }, "value": { "type": "StringLiteral", - "start": 1540, - "end": 1544, + "start": 1993, + "end": 1997, "loc": { "start": { - "line": 58, + "line": 69, "column": 14 }, "end": { - "line": 58, + "line": 69, "column": 18 } }, @@ -2804,15 +4172,15 @@ }, { "type": "ObjectProperty", - "start": 1553, - "end": 1565, + "start": 2006, + "end": 2018, "loc": { "start": { - "line": 59, + "line": 70, "column": 6 }, "end": { - "line": 59, + "line": 70, "column": 18 } }, @@ -2821,15 +4189,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1553, - "end": 1559, + "start": 2006, + "end": 2012, "loc": { "start": { - "line": 59, + "line": 70, "column": 6 }, "end": { - "line": 59, + "line": 70, "column": 12 } }, @@ -2841,15 +4209,15 @@ }, "value": { "type": "StringLiteral", - "start": 1561, - "end": 1565, + "start": 2014, + "end": 2018, "loc": { "start": { - "line": 59, + "line": 70, "column": 14 }, "end": { - "line": 59, + "line": 70, "column": 18 } }, @@ -2862,15 +4230,15 @@ }, { "type": "ObjectProperty", - "start": 1574, - "end": 1586, + "start": 2027, + "end": 2039, "loc": { "start": { - "line": 60, + "line": 71, "column": 6 }, "end": { - "line": 60, + "line": 71, "column": 18 } }, @@ -2879,15 +4247,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1574, - "end": 1580, + "start": 2027, + "end": 2033, "loc": { "start": { - "line": 60, + "line": 71, "column": 6 }, "end": { - "line": 60, + "line": 71, "column": 12 } }, @@ -2899,15 +4267,15 @@ }, "value": { "type": "StringLiteral", - "start": 1582, - "end": 1586, + "start": 2035, + "end": 2039, "loc": { "start": { - "line": 60, + "line": 71, "column": 14 }, "end": { - "line": 60, + "line": 71, "column": 18 } }, @@ -2920,15 +4288,15 @@ }, { "type": "ObjectProperty", - "start": 1595, - "end": 1607, + "start": 2048, + "end": 2060, "loc": { "start": { - "line": 61, + "line": 72, "column": 6 }, "end": { - "line": 61, + "line": 72, "column": 18 } }, @@ -2937,15 +4305,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1595, - "end": 1601, + "start": 2048, + "end": 2054, "loc": { "start": { - "line": 61, + "line": 72, "column": 6 }, "end": { - "line": 61, + "line": 72, "column": 12 } }, @@ -2957,15 +4325,15 @@ }, "value": { "type": "StringLiteral", - "start": 1603, - "end": 1607, + "start": 2056, + "end": 2060, "loc": { "start": { - "line": 61, + "line": 72, "column": 14 }, "end": { - "line": 61, + "line": 72, "column": 18 } }, @@ -2978,15 +4346,15 @@ }, { "type": "ObjectProperty", - "start": 1616, - "end": 1630, + "start": 2069, + "end": 2083, "loc": { "start": { - "line": 62, + "line": 73, "column": 6 }, "end": { - "line": 62, + "line": 73, "column": 20 } }, @@ -2995,15 +4363,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1616, - "end": 1623, + "start": 2069, + "end": 2076, "loc": { "start": { - "line": 62, + "line": 73, "column": 6 }, "end": { - "line": 62, + "line": 73, "column": 13 } }, @@ -3015,15 +4383,15 @@ }, "value": { "type": "StringLiteral", - "start": 1625, - "end": 1630, + "start": 2078, + "end": 2083, "loc": { "start": { - "line": 62, + "line": 73, "column": 15 }, "end": { - "line": 62, + "line": 73, "column": 20 } }, @@ -3036,15 +4404,15 @@ }, { "type": "ObjectProperty", - "start": 1639, - "end": 1653, + "start": 2092, + "end": 2106, "loc": { "start": { - "line": 63, + "line": 74, "column": 6 }, "end": { - "line": 63, + "line": 74, "column": 20 } }, @@ -3053,15 +4421,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1639, - "end": 1646, + "start": 2092, + "end": 2099, "loc": { "start": { - "line": 63, + "line": 74, "column": 6 }, "end": { - "line": 63, + "line": 74, "column": 13 } }, @@ -3073,15 +4441,15 @@ }, "value": { "type": "StringLiteral", - "start": 1648, - "end": 1653, + "start": 2101, + "end": 2106, "loc": { "start": { - "line": 63, + "line": 74, "column": 15 }, "end": { - "line": 63, + "line": 74, "column": 20 } }, @@ -3094,15 +4462,15 @@ }, { "type": "ObjectProperty", - "start": 1662, - "end": 1676, + "start": 2115, + "end": 2129, "loc": { "start": { - "line": 64, + "line": 75, "column": 6 }, "end": { - "line": 64, + "line": 75, "column": 20 } }, @@ -3111,15 +4479,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1662, - "end": 1669, + "start": 2115, + "end": 2122, "loc": { "start": { - "line": 64, + "line": 75, "column": 6 }, "end": { - "line": 64, + "line": 75, "column": 13 } }, @@ -3131,15 +4499,15 @@ }, "value": { "type": "StringLiteral", - "start": 1671, - "end": 1676, + "start": 2124, + "end": 2129, "loc": { "start": { - "line": 64, + "line": 75, "column": 15 }, "end": { - "line": 64, + "line": 75, "column": 20 } }, @@ -3152,15 +4520,15 @@ }, { "type": "ObjectProperty", - "start": 1685, - "end": 1706, + "start": 2138, + "end": 2159, "loc": { "start": { - "line": 65, + "line": 76, "column": 6 }, "end": { - "line": 65, + "line": 76, "column": 27 } }, @@ -3169,15 +4537,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1685, - "end": 1701, + "start": 2138, + "end": 2154, "loc": { "start": { - "line": 65, + "line": 76, "column": 6 }, "end": { - "line": 65, + "line": 76, "column": 22 } }, @@ -3189,15 +4557,15 @@ }, "value": { "type": "StringLiteral", - "start": 1703, - "end": 1706, + "start": 2156, + "end": 2159, "loc": { "start": { - "line": 65, + "line": 76, "column": 24 }, "end": { - "line": 65, + "line": 76, "column": 27 } }, @@ -3210,15 +4578,15 @@ }, { "type": "ObjectProperty", - "start": 1715, - "end": 1734, + "start": 2168, + "end": 2187, "loc": { "start": { - "line": 66, + "line": 77, "column": 6 }, "end": { - "line": 66, + "line": 77, "column": 25 } }, @@ -3227,15 +4595,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1715, - "end": 1726, + "start": 2168, + "end": 2179, "loc": { "start": { - "line": 66, + "line": 77, "column": 6 }, "end": { - "line": 66, + "line": 77, "column": 17 } }, @@ -3247,15 +4615,15 @@ }, "value": { "type": "StringLiteral", - "start": 1728, - "end": 1734, + "start": 2181, + "end": 2187, "loc": { "start": { - "line": 66, + "line": 77, "column": 19 }, "end": { - "line": 66, + "line": 77, "column": 25 } }, @@ -3268,15 +4636,15 @@ }, { "type": "ObjectProperty", - "start": 1743, - "end": 1759, + "start": 2196, + "end": 2212, "loc": { "start": { - "line": 67, + "line": 78, "column": 6 }, "end": { - "line": 67, + "line": 78, "column": 22 } }, @@ -3285,15 +4653,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1743, - "end": 1754, + "start": 2196, + "end": 2207, "loc": { "start": { - "line": 67, + "line": 78, "column": 6 }, "end": { - "line": 67, + "line": 78, "column": 17 } }, @@ -3305,15 +4673,15 @@ }, "value": { "type": "StringLiteral", - "start": 1756, - "end": 1759, + "start": 2209, + "end": 2212, "loc": { "start": { - "line": 67, + "line": 78, "column": 19 }, "end": { - "line": 67, + "line": 78, "column": 22 } }, @@ -3326,15 +4694,15 @@ }, { "type": "ObjectProperty", - "start": 1768, - "end": 1786, + "start": 2221, + "end": 2239, "loc": { "start": { - "line": 68, + "line": 79, "column": 6 }, "end": { - "line": 68, + "line": 79, "column": 24 } }, @@ -3343,15 +4711,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1768, - "end": 1781, + "start": 2221, + "end": 2234, "loc": { "start": { - "line": 68, + "line": 79, "column": 6 }, "end": { - "line": 68, + "line": 79, "column": 19 } }, @@ -3363,15 +4731,15 @@ }, "value": { "type": "StringLiteral", - "start": 1783, - "end": 1786, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 68, + "line": 79, "column": 21 }, "end": { - "line": 68, + "line": 79, "column": 24 } }, @@ -3384,15 +4752,15 @@ }, { "type": "ObjectProperty", - "start": 1795, - "end": 1813, + "start": 2248, + "end": 2266, "loc": { "start": { - "line": 69, + "line": 80, "column": 6 }, "end": { - "line": 69, + "line": 80, "column": 24 } }, @@ -3401,15 +4769,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1795, - "end": 1808, + "start": 2248, + "end": 2261, "loc": { "start": { - "line": 69, + "line": 80, "column": 6 }, "end": { - "line": 69, + "line": 80, "column": 19 } }, @@ -3421,15 +4789,15 @@ }, "value": { "type": "StringLiteral", - "start": 1810, - "end": 1813, + "start": 2263, + "end": 2266, "loc": { "start": { - "line": 69, + "line": 80, "column": 21 }, "end": { - "line": 69, + "line": 80, "column": 24 } }, @@ -3442,15 +4810,15 @@ }, { "type": "ObjectProperty", - "start": 1822, - "end": 1841, + "start": 2275, + "end": 2294, "loc": { "start": { - "line": 70, + "line": 81, "column": 6 }, "end": { - "line": 70, + "line": 81, "column": 25 } }, @@ -3459,15 +4827,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1822, - "end": 1836, + "start": 2275, + "end": 2289, "loc": { "start": { - "line": 70, + "line": 81, "column": 6 }, "end": { - "line": 70, + "line": 81, "column": 20 } }, @@ -3479,15 +4847,15 @@ }, "value": { "type": "StringLiteral", - "start": 1838, - "end": 1841, + "start": 2291, + "end": 2294, "loc": { "start": { - "line": 70, + "line": 81, "column": 22 }, "end": { - "line": 70, + "line": 81, "column": 25 } }, @@ -3500,15 +4868,15 @@ }, { "type": "ObjectProperty", - "start": 1850, - "end": 1869, + "start": 2303, + "end": 2322, "loc": { "start": { - "line": 71, + "line": 82, "column": 6 }, "end": { - "line": 71, + "line": 82, "column": 25 } }, @@ -3517,15 +4885,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1850, - "end": 1860, + "start": 2303, + "end": 2313, "loc": { "start": { - "line": 71, + "line": 82, "column": 6 }, "end": { - "line": 71, + "line": 82, "column": 16 } }, @@ -3537,15 +4905,15 @@ }, "value": { "type": "StringLiteral", - "start": 1862, - "end": 1869, + "start": 2315, + "end": 2322, "loc": { "start": { - "line": 71, + "line": 82, "column": 18 }, "end": { - "line": 71, + "line": 82, "column": 25 } }, @@ -3558,15 +4926,15 @@ }, { "type": "ObjectProperty", - "start": 1878, - "end": 1902, + "start": 2331, + "end": 2355, "loc": { "start": { - "line": 72, + "line": 83, "column": 6 }, "end": { - "line": 72, + "line": 83, "column": 30 } }, @@ -3575,15 +4943,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1878, - "end": 1892, + "start": 2331, + "end": 2345, "loc": { "start": { - "line": 72, + "line": 83, "column": 6 }, "end": { - "line": 72, + "line": 83, "column": 20 } }, @@ -3595,15 +4963,15 @@ }, "value": { "type": "StringLiteral", - "start": 1894, - "end": 1902, + "start": 2347, + "end": 2355, "loc": { "start": { - "line": 72, + "line": 83, "column": 22 }, "end": { - "line": 72, + "line": 83, "column": 30 } }, @@ -3616,15 +4984,15 @@ }, { "type": "ObjectProperty", - "start": 1911, - "end": 1929, + "start": 2364, + "end": 2382, "loc": { "start": { - "line": 73, + "line": 84, "column": 6 }, "end": { - "line": 73, + "line": 84, "column": 24 } }, @@ -3633,15 +5001,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1911, - "end": 1920, + "start": 2364, + "end": 2373, "loc": { "start": { - "line": 73, + "line": 84, "column": 6 }, "end": { - "line": 73, + "line": 84, "column": 15 } }, @@ -3653,15 +5021,15 @@ }, "value": { "type": "StringLiteral", - "start": 1922, - "end": 1929, + "start": 2375, + "end": 2382, "loc": { "start": { - "line": 73, + "line": 84, "column": 17 }, "end": { - "line": 73, + "line": 84, "column": 24 } }, @@ -3674,15 +5042,15 @@ }, { "type": "ObjectProperty", - "start": 1938, - "end": 1955, + "start": 2391, + "end": 2408, "loc": { "start": { - "line": 74, + "line": 85, "column": 6 }, "end": { - "line": 74, + "line": 85, "column": 23 } }, @@ -3691,15 +5059,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1938, - "end": 1948, + "start": 2391, + "end": 2401, "loc": { "start": { - "line": 74, + "line": 85, "column": 6 }, "end": { - "line": 74, + "line": 85, "column": 16 } }, @@ -3711,15 +5079,15 @@ }, "value": { "type": "StringLiteral", - "start": 1950, - "end": 1955, + "start": 2403, + "end": 2408, "loc": { "start": { - "line": 74, + "line": 85, "column": 18 }, "end": { - "line": 74, + "line": 85, "column": 23 } }, @@ -3732,15 +5100,15 @@ }, { "type": "ObjectProperty", - "start": 1964, - "end": 1980, + "start": 2417, + "end": 2433, "loc": { "start": { - "line": 75, + "line": 86, "column": 6 }, "end": { - "line": 75, + "line": 86, "column": 22 } }, @@ -3749,15 +5117,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1964, - "end": 1972, + "start": 2417, + "end": 2425, "loc": { "start": { - "line": 75, + "line": 86, "column": 6 }, "end": { - "line": 75, + "line": 86, "column": 14 } }, @@ -3769,15 +5137,15 @@ }, "value": { "type": "StringLiteral", - "start": 1974, - "end": 1980, + "start": 2427, + "end": 2433, "loc": { "start": { - "line": 75, + "line": 86, "column": 16 }, "end": { - "line": 75, + "line": 86, "column": 22 } }, @@ -3790,15 +5158,15 @@ }, { "type": "ObjectProperty", - "start": 1989, - "end": 2005, + "start": 2442, + "end": 2458, "loc": { "start": { - "line": 76, + "line": 87, "column": 6 }, "end": { - "line": 76, + "line": 87, "column": 22 } }, @@ -3807,15 +5175,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1989, - "end": 1999, + "start": 2442, + "end": 2452, "loc": { "start": { - "line": 76, + "line": 87, "column": 6 }, "end": { - "line": 76, + "line": 87, "column": 16 } }, @@ -3827,15 +5195,15 @@ }, "value": { "type": "StringLiteral", - "start": 2001, - "end": 2005, + "start": 2454, + "end": 2458, "loc": { "start": { - "line": 76, + "line": 87, "column": 18 }, "end": { - "line": 76, + "line": 87, "column": 22 } }, @@ -3848,15 +5216,15 @@ }, { "type": "ObjectProperty", - "start": 2014, - "end": 2031, + "start": 2467, + "end": 2484, "loc": { "start": { - "line": 77, + "line": 88, "column": 6 }, "end": { - "line": 77, + "line": 88, "column": 23 } }, @@ -3865,15 +5233,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2014, - "end": 2024, + "start": 2467, + "end": 2477, "loc": { "start": { - "line": 77, + "line": 88, "column": 6 }, "end": { - "line": 77, + "line": 88, "column": 16 } }, @@ -3885,15 +5253,15 @@ }, "value": { "type": "StringLiteral", - "start": 2026, - "end": 2031, + "start": 2479, + "end": 2484, "loc": { "start": { - "line": 77, + "line": 88, "column": 18 }, "end": { - "line": 77, + "line": 88, "column": 23 } }, @@ -3906,15 +5274,15 @@ }, { "type": "ObjectProperty", - "start": 2040, - "end": 2054, + "start": 2493, + "end": 2507, "loc": { "start": { - "line": 78, + "line": 89, "column": 6 }, "end": { - "line": 78, + "line": 89, "column": 20 } }, @@ -3923,15 +5291,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2040, - "end": 2047, + "start": 2493, + "end": 2500, "loc": { "start": { - "line": 78, + "line": 89, "column": 6 }, "end": { - "line": 78, + "line": 89, "column": 13 } }, @@ -3943,15 +5311,15 @@ }, "value": { "type": "StringLiteral", - "start": 2049, - "end": 2054, + "start": 2502, + "end": 2507, "loc": { "start": { - "line": 78, + "line": 89, "column": 15 }, "end": { - "line": 78, + "line": 89, "column": 20 } }, @@ -3964,15 +5332,15 @@ }, { "type": "ObjectProperty", - "start": 2063, - "end": 2083, + "start": 2516, + "end": 2536, "loc": { "start": { - "line": 79, + "line": 90, "column": 6 }, "end": { - "line": 79, + "line": 90, "column": 26 } }, @@ -3981,15 +5349,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2063, - "end": 2075, + "start": 2516, + "end": 2528, "loc": { "start": { - "line": 79, + "line": 90, "column": 6 }, "end": { - "line": 79, + "line": 90, "column": 18 } }, @@ -4001,15 +5369,15 @@ }, "value": { "type": "StringLiteral", - "start": 2077, - "end": 2083, + "start": 2530, + "end": 2536, "loc": { "start": { - "line": 79, + "line": 90, "column": 20 }, "end": { - "line": 79, + "line": 90, "column": 26 } }, @@ -4022,15 +5390,15 @@ }, { "type": "ObjectProperty", - "start": 2092, - "end": 2115, + "start": 2545, + "end": 2568, "loc": { "start": { - "line": 80, + "line": 91, "column": 6 }, "end": { - "line": 80, + "line": 91, "column": 29 } }, @@ -4039,15 +5407,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2092, - "end": 2110, + "start": 2545, + "end": 2563, "loc": { "start": { - "line": 80, + "line": 91, "column": 6 }, "end": { - "line": 80, + "line": 91, "column": 24 } }, @@ -4059,15 +5427,15 @@ }, "value": { "type": "StringLiteral", - "start": 2112, - "end": 2115, + "start": 2565, + "end": 2568, "loc": { "start": { - "line": 80, + "line": 91, "column": 26 }, "end": { - "line": 80, + "line": 91, "column": 29 } }, @@ -4080,15 +5448,15 @@ }, { "type": "ObjectProperty", - "start": 2124, - "end": 2147, + "start": 2577, + "end": 2600, "loc": { "start": { - "line": 81, + "line": 92, "column": 6 }, "end": { - "line": 81, + "line": 92, "column": 29 } }, @@ -4097,15 +5465,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2124, - "end": 2142, + "start": 2577, + "end": 2595, "loc": { "start": { - "line": 81, + "line": 92, "column": 6 }, "end": { - "line": 81, + "line": 92, "column": 24 } }, @@ -4117,15 +5485,15 @@ }, "value": { "type": "StringLiteral", - "start": 2144, - "end": 2147, + "start": 2597, + "end": 2600, "loc": { "start": { - "line": 81, + "line": 92, "column": 26 }, "end": { - "line": 81, + "line": 92, "column": 29 } }, @@ -4138,15 +5506,15 @@ }, { "type": "ObjectProperty", - "start": 2156, - "end": 2174, + "start": 2609, + "end": 2627, "loc": { "start": { - "line": 82, + "line": 93, "column": 6 }, "end": { - "line": 82, + "line": 93, "column": 24 } }, @@ -4155,15 +5523,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2156, - "end": 2169, + "start": 2609, + "end": 2622, "loc": { "start": { - "line": 82, + "line": 93, "column": 6 }, "end": { - "line": 82, + "line": 93, "column": 19 } }, @@ -4175,15 +5543,15 @@ }, "value": { "type": "StringLiteral", - "start": 2171, - "end": 2174, + "start": 2624, + "end": 2627, "loc": { "start": { - "line": 82, + "line": 93, "column": 21 }, "end": { - "line": 82, + "line": 93, "column": 24 } }, @@ -4196,15 +5564,15 @@ }, { "type": "ObjectProperty", - "start": 2183, - "end": 2207, + "start": 2636, + "end": 2660, "loc": { "start": { - "line": 83, + "line": 94, "column": 6 }, "end": { - "line": 83, + "line": 94, "column": 30 } }, @@ -4213,15 +5581,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2183, - "end": 2198, + "start": 2636, + "end": 2651, "loc": { "start": { - "line": 83, + "line": 94, "column": 6 }, "end": { - "line": 83, + "line": 94, "column": 21 } }, @@ -4233,15 +5601,15 @@ }, "value": { "type": "StringLiteral", - "start": 2200, - "end": 2207, + "start": 2653, + "end": 2660, "loc": { "start": { - "line": 83, + "line": 94, "column": 23 }, "end": { - "line": 83, + "line": 94, "column": 30 } }, @@ -4254,15 +5622,15 @@ }, { "type": "ObjectProperty", - "start": 2216, - "end": 2231, + "start": 2669, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 95, "column": 6 }, "end": { - "line": 84, + "line": 95, "column": 21 } }, @@ -4271,15 +5639,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2216, - "end": 2226, + "start": 2669, + "end": 2679, "loc": { "start": { - "line": 84, + "line": 95, "column": 6 }, "end": { - "line": 84, + "line": 95, "column": 16 } }, @@ -4291,15 +5659,15 @@ }, "value": { "type": "StringLiteral", - "start": 2228, - "end": 2231, + "start": 2681, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 95, "column": 18 }, "end": { - "line": 84, + "line": 95, "column": 21 } }, @@ -4312,15 +5680,15 @@ }, { "type": "ObjectProperty", - "start": 2240, - "end": 2262, + "start": 2693, + "end": 2715, "loc": { "start": { - "line": 85, + "line": 96, "column": 6 }, "end": { - "line": 85, + "line": 96, "column": 28 } }, @@ -4329,15 +5697,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2240, - "end": 2257, + "start": 2693, + "end": 2710, "loc": { "start": { - "line": 85, + "line": 96, "column": 6 }, "end": { - "line": 85, + "line": 96, "column": 23 } }, @@ -4349,15 +5717,15 @@ }, "value": { "type": "StringLiteral", - "start": 2259, - "end": 2262, + "start": 2712, + "end": 2715, "loc": { "start": { - "line": 85, + "line": 96, "column": 25 }, "end": { - "line": 85, + "line": 96, "column": 28 } }, @@ -4370,15 +5738,15 @@ }, { "type": "ObjectProperty", - "start": 2271, - "end": 2287, + "start": 2724, + "end": 2740, "loc": { "start": { - "line": 86, + "line": 97, "column": 6 }, "end": { - "line": 86, + "line": 97, "column": 22 } }, @@ -4387,15 +5755,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2271, - "end": 2282, + "start": 2724, + "end": 2735, "loc": { "start": { - "line": 86, + "line": 97, "column": 6 }, "end": { - "line": 86, + "line": 97, "column": 17 } }, @@ -4407,15 +5775,15 @@ }, "value": { "type": "StringLiteral", - "start": 2284, - "end": 2287, + "start": 2737, + "end": 2740, "loc": { "start": { - "line": 86, + "line": 97, "column": 19 }, "end": { - "line": 86, + "line": 97, "column": 22 } }, @@ -4428,15 +5796,15 @@ }, { "type": "ObjectProperty", - "start": 2296, - "end": 2312, + "start": 2749, + "end": 2765, "loc": { "start": { - "line": 87, + "line": 98, "column": 6 }, "end": { - "line": 87, + "line": 98, "column": 22 } }, @@ -4445,15 +5813,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2296, - "end": 2307, + "start": 2749, + "end": 2760, "loc": { "start": { - "line": 87, + "line": 98, "column": 6 }, "end": { - "line": 87, + "line": 98, "column": 17 } }, @@ -4465,15 +5833,15 @@ }, "value": { "type": "StringLiteral", - "start": 2309, - "end": 2312, + "start": 2762, + "end": 2765, "loc": { "start": { - "line": 87, + "line": 98, "column": 19 }, "end": { - "line": 87, + "line": 98, "column": 22 } }, @@ -4486,15 +5854,15 @@ }, { "type": "ObjectProperty", - "start": 2321, - "end": 2337, + "start": 2774, + "end": 2790, "loc": { "start": { - "line": 88, + "line": 99, "column": 6 }, "end": { - "line": 88, + "line": 99, "column": 22 } }, @@ -4503,15 +5871,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2321, - "end": 2332, + "start": 2774, + "end": 2785, "loc": { "start": { - "line": 88, + "line": 99, "column": 6 }, "end": { - "line": 88, + "line": 99, "column": 17 } }, @@ -4523,15 +5891,15 @@ }, "value": { "type": "StringLiteral", - "start": 2334, - "end": 2337, + "start": 2787, + "end": 2790, "loc": { "start": { - "line": 88, + "line": 99, "column": 19 }, "end": { - "line": 88, + "line": 99, "column": 22 } }, @@ -4544,15 +5912,15 @@ }, { "type": "ObjectProperty", - "start": 2346, - "end": 2362, + "start": 2799, + "end": 2815, "loc": { "start": { - "line": 89, + "line": 100, "column": 6 }, "end": { - "line": 89, + "line": 100, "column": 22 } }, @@ -4561,15 +5929,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2346, - "end": 2357, + "start": 2799, + "end": 2810, "loc": { "start": { - "line": 89, + "line": 100, "column": 6 }, "end": { - "line": 89, + "line": 100, "column": 17 } }, @@ -4581,15 +5949,15 @@ }, "value": { "type": "StringLiteral", - "start": 2359, - "end": 2362, + "start": 2812, + "end": 2815, "loc": { "start": { - "line": 89, + "line": 100, "column": 19 }, "end": { - "line": 89, + "line": 100, "column": 22 } }, @@ -4602,15 +5970,15 @@ }, { "type": "ObjectProperty", - "start": 2371, - "end": 2387, + "start": 2824, + "end": 2840, "loc": { "start": { - "line": 90, + "line": 101, "column": 6 }, "end": { - "line": 90, + "line": 101, "column": 22 } }, @@ -4619,15 +5987,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2371, - "end": 2382, + "start": 2824, + "end": 2835, "loc": { "start": { - "line": 90, + "line": 101, "column": 6 }, "end": { - "line": 90, + "line": 101, "column": 17 } }, @@ -4639,15 +6007,15 @@ }, "value": { "type": "StringLiteral", - "start": 2384, - "end": 2387, + "start": 2837, + "end": 2840, "loc": { "start": { - "line": 90, + "line": 101, "column": 19 }, "end": { - "line": 90, + "line": 101, "column": 22 } }, @@ -4660,15 +6028,15 @@ }, { "type": "ObjectProperty", - "start": 2396, - "end": 2412, + "start": 2849, + "end": 2865, "loc": { "start": { - "line": 91, + "line": 102, "column": 6 }, "end": { - "line": 91, + "line": 102, "column": 22 } }, @@ -4677,15 +6045,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2396, - "end": 2407, + "start": 2849, + "end": 2860, "loc": { "start": { - "line": 91, + "line": 102, "column": 6 }, "end": { - "line": 91, + "line": 102, "column": 17 } }, @@ -4697,15 +6065,15 @@ }, "value": { "type": "StringLiteral", - "start": 2409, - "end": 2412, + "start": 2862, + "end": 2865, "loc": { "start": { - "line": 91, + "line": 102, "column": 19 }, "end": { - "line": 91, + "line": 102, "column": 22 } }, @@ -4718,15 +6086,15 @@ }, { "type": "ObjectProperty", - "start": 2421, - "end": 2437, + "start": 2874, + "end": 2890, "loc": { "start": { - "line": 92, + "line": 103, "column": 6 }, "end": { - "line": 92, + "line": 103, "column": 22 } }, @@ -4735,15 +6103,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2421, - "end": 2432, + "start": 2874, + "end": 2885, "loc": { "start": { - "line": 92, + "line": 103, "column": 6 }, "end": { - "line": 92, + "line": 103, "column": 17 } }, @@ -4755,15 +6123,15 @@ }, "value": { "type": "StringLiteral", - "start": 2434, - "end": 2437, + "start": 2887, + "end": 2890, "loc": { "start": { - "line": 92, + "line": 103, "column": 19 }, "end": { - "line": 92, + "line": 103, "column": 22 } }, @@ -4776,15 +6144,15 @@ }, { "type": "ObjectProperty", - "start": 2446, - "end": 2462, + "start": 2899, + "end": 2915, "loc": { "start": { - "line": 93, + "line": 104, "column": 6 }, "end": { - "line": 93, + "line": 104, "column": 22 } }, @@ -4793,15 +6161,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2446, - "end": 2457, + "start": 2899, + "end": 2910, "loc": { "start": { - "line": 93, + "line": 104, "column": 6 }, "end": { - "line": 93, + "line": 104, "column": 17 } }, @@ -4813,15 +6181,15 @@ }, "value": { "type": "StringLiteral", - "start": 2459, - "end": 2462, + "start": 2912, + "end": 2915, "loc": { "start": { - "line": 93, + "line": 104, "column": 19 }, "end": { - "line": 93, + "line": 104, "column": 22 } }, @@ -4834,15 +6202,15 @@ }, { "type": "ObjectProperty", - "start": 2471, - "end": 2487, + "start": 2924, + "end": 2940, "loc": { "start": { - "line": 94, + "line": 105, "column": 6 }, "end": { - "line": 94, + "line": 105, "column": 22 } }, @@ -4851,15 +6219,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2471, - "end": 2482, + "start": 2924, + "end": 2935, "loc": { "start": { - "line": 94, + "line": 105, "column": 6 }, "end": { - "line": 94, + "line": 105, "column": 17 } }, @@ -4871,15 +6239,15 @@ }, "value": { "type": "StringLiteral", - "start": 2484, - "end": 2487, + "start": 2937, + "end": 2940, "loc": { "start": { - "line": 94, + "line": 105, "column": 19 }, "end": { - "line": 94, + "line": 105, "column": 22 } }, @@ -4892,15 +6260,15 @@ }, { "type": "ObjectProperty", - "start": 2496, - "end": 2512, + "start": 2949, + "end": 2965, "loc": { "start": { - "line": 95, + "line": 106, "column": 6 }, "end": { - "line": 95, + "line": 106, "column": 22 } }, @@ -4909,15 +6277,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2496, - "end": 2507, + "start": 2949, + "end": 2960, "loc": { "start": { - "line": 95, + "line": 106, "column": 6 }, "end": { - "line": 95, + "line": 106, "column": 17 } }, @@ -4929,15 +6297,15 @@ }, "value": { "type": "StringLiteral", - "start": 2509, - "end": 2512, + "start": 2962, + "end": 2965, "loc": { "start": { - "line": 95, + "line": 106, "column": 19 }, "end": { - "line": 95, + "line": 106, "column": 22 } }, @@ -4959,15 +6327,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -4977,15 +6345,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -4993,16 +6361,16 @@ ] }, { - "type": "ClassProperty", - "start": 2832, - "end": 3104, + "type": "ClassMethod", + "start": 3285, + "end": 3550, "loc": { "start": { - "line": 105, + "line": 116, "column": 2 }, "end": { - "line": 113, + "line": 124, "column": 3 } }, @@ -5010,15 +6378,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2832, - "end": 2852, + "start": 3285, + "end": 3305, "loc": { "start": { - "line": 105, + "line": 116, "column": 2 }, "end": { - "line": 105, + "line": 116, "column": 22 }, "identifierName": "getButtonDisplayName" @@ -5026,501 +6394,307 @@ "name": "getButtonDisplayName", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 2855, - "end": 3104, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3306, + "end": 3312, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 29 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 3314, + "end": 3321, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 38 + }, + "identifierName": "display" + }, + "name": "display" + }, + { + "type": "Identifier", + "start": 3323, + "end": 3335, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 52 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + } + ], + "body": { + "type": "BlockStatement", + "start": 3336, + "end": 3550, "loc": { "start": { - "line": 105, - "column": 25 + "line": 116, + "column": 53 }, "end": { - "line": 113, + "line": 124, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 2856, - "end": 2862, + "type": "IfStatement", + "start": 3343, + "end": 3504, "loc": { "start": { - "line": 105, - "column": 26 + "line": 117, + "column": 4 }, "end": { - "line": 105, - "column": 32 - }, - "identifierName": "button" + "line": 121, + "column": 5 + } }, - "name": "button" - }, - { - "type": "Identifier", - "start": 2864, - "end": 2871, - "loc": { - "start": { - "line": 105, - "column": 34 - }, - "end": { - "line": 105, - "column": 41 - }, - "identifierName": "display" - }, - "name": "display" - }, - { - "type": "Identifier", - "start": 2873, - "end": 2885, - "loc": { - "start": { - "line": 105, - "column": 43 - }, - "end": { - "line": 105, - "column": 55 - }, - "identifierName": "mergeDisplay" - }, - "name": "mergeDisplay" - } - ], - "body": { - "type": "BlockStatement", - "start": 2890, - "end": 3104, - "loc": { - "start": { - "line": 105, - "column": 60 - }, - "end": { - "line": 113, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2897, - "end": 3058, + "test": { + "type": "Identifier", + "start": 3346, + "end": 3358, "loc": { "start": { - "line": 106, - "column": 4 + "line": 117, + "column": 7 }, "end": { - "line": 110, + "line": 117, + "column": 19 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + }, + "consequent": { + "type": "BlockStatement", + "start": 3359, + "end": 3437, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 119, "column": 5 } }, - "test": { - "type": "Identifier", - "start": 2900, - "end": 2912, - "loc": { - "start": { - "line": 106, - "column": 7 + "body": [ + { + "type": "ExpressionStatement", + "start": 3368, + "end": 3430, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 68 + } }, - "end": { - "line": 106, - "column": 19 - }, - "identifierName": "mergeDisplay" - }, - "name": "mergeDisplay" - }, - "consequent": { - "type": "BlockStatement", - "start": 2913, - "end": 2991, - "loc": { - "start": { - "line": 106, - "column": 20 - }, - "end": { - "line": 108, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2922, - "end": 2984, + "expression": { + "type": "AssignmentExpression", + "start": 3368, + "end": 3429, "loc": { "start": { - "line": 107, + "line": 118, "column": 6 }, "end": { - "line": 107, - "column": 68 + "line": 118, + "column": 67 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2922, - "end": 2983, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3368, + "end": 3375, "loc": { "start": { - "line": 107, + "line": 118, "column": 6 }, "end": { - "line": 107, + "line": 118, + "column": 13 + }, + "identifierName": "display" + }, + "name": "display" + }, + "right": { + "type": "CallExpression", + "start": 3378, + "end": 3429, + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, "column": 67 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2922, - "end": 2929, + "callee": { + "type": "MemberExpression", + "start": 3378, + "end": 3391, "loc": { "start": { - "line": 107, - "column": 6 - }, - "end": { - "line": 107, - "column": 13 - }, - "identifierName": "display" - }, - "name": "display" - }, - "right": { - "type": "CallExpression", - "start": 2932, - "end": 2983, - "loc": { - "start": { - "line": 107, + "line": 118, "column": 16 }, "end": { - "line": 107, - "column": 67 + "line": 118, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 2932, - "end": 2945, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2932, - "end": 2938, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 22 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 2939, - "end": 2945, - "loc": { - "start": { - "line": 107, - "column": 23 - }, - "end": { - "line": 107, - "column": 29 - }, - "identifierName": "assign" - }, - "name": "assign" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2946, - "end": 2948, - "loc": { - "start": { - "line": 107, - "column": 30 - }, - "end": { - "line": 107, - "column": 32 - } - }, - "properties": [] - }, - { - "type": "CallExpression", - "start": 2950, - "end": 2973, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2950, - "end": 2971, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 55 - } - }, - "object": { - "type": "ThisExpression", - "start": 2950, - "end": 2954, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 2955, - "end": 2971, - "loc": { - "start": { - "line": 107, - "column": 39 - }, - "end": { - "line": 107, - "column": 55 - }, - "identifierName": "getDefaultDiplay" - }, - "name": "getDefaultDiplay" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "Identifier", - "start": 2975, - "end": 2982, - "loc": { - "start": { - "line": 107, - "column": 59 - }, - "end": { - "line": 107, - "column": 66 - }, - "identifierName": "display" - }, - "name": "display" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2997, - "end": 3058, - "loc": { - "start": { - "line": 108, - "column": 11 - }, - "end": { - "line": 110, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3006, - "end": 3051, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3006, - "end": 3050, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3006, - "end": 3013, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 13 - }, - "identifierName": "display" - }, - "name": "display" - }, - "right": { - "type": "LogicalExpression", - "start": 3016, - "end": 3050, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 50 - } - }, - "left": { + "object": { "type": "Identifier", - "start": 3016, - "end": 3023, + "start": 3378, + "end": 3384, "loc": { "start": { - "line": 109, + "line": 118, "column": 16 }, "end": { - "line": 109, + "line": 118, + "column": 22 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 3385, + "end": 3391, + "loc": { + "start": { + "line": 118, "column": 23 }, - "identifierName": "display" + "end": { + "line": 118, + "column": 29 + }, + "identifierName": "assign" }, - "name": "display" + "name": "assign" }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 3027, - "end": 3050, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 3392, + "end": 3394, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 30 }, "end": { - "line": 109, - "column": 50 + "line": 118, + "column": 32 + } + }, + "properties": [] + }, + { + "type": "CallExpression", + "start": 3396, + "end": 3419, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 3027, - "end": 3048, + "start": 3396, + "end": 3417, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 34 }, "end": { - "line": 109, - "column": 48 + "line": 118, + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 3027, - "end": 3031, + "start": 3396, + "end": 3400, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 34 }, "end": { - "line": 109, - "column": 31 + "line": 118, + "column": 38 } } }, "property": { "type": "Identifier", - "start": 3032, - "end": 3048, + "start": 3401, + "end": 3417, "loc": { "start": { - "line": 109, - "column": 32 + "line": 118, + "column": 39 }, "end": { - "line": 109, - "column": 48 + "line": 118, + "column": 55 }, "identifierName": "getDefaultDiplay" }, @@ -5529,131 +6703,310 @@ "computed": false }, "arguments": [] + }, + { + "type": "Identifier", + "start": 3421, + "end": 3428, + "loc": { + "start": { + "line": 118, + "column": 59 + }, + "end": { + "line": 118, + "column": 66 + }, + "identifierName": "display" + }, + "name": "display" } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3443, + "end": 3504, + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3452, + "end": 3497, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3452, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3452, + "end": 3459, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 13 + }, + "identifierName": "display" + }, + "name": "display" + }, + "right": { + "type": "LogicalExpression", + "start": 3462, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 3462, + "end": 3469, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 23 + }, + "identifierName": "display" + }, + "name": "display" + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 3473, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3473, + "end": 3494, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 3473, + "end": 3477, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 3478, + "end": 3494, + "loc": { + "start": { + "line": 120, + "column": 32 + }, + "end": { + "line": 120, + "column": 48 + }, + "identifierName": "getDefaultDiplay" + }, + "name": "getDefaultDiplay" + }, + "computed": false + }, + "arguments": [] } } } - ], - "directives": [] + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 3512, + "end": 3545, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 123, + "column": 37 } }, - { - "type": "ReturnStatement", - "start": 3066, - "end": 3099, + "argument": { + "type": "LogicalExpression", + "start": 3519, + "end": 3544, "loc": { "start": { - "line": 112, - "column": 4 + "line": 123, + "column": 11 }, "end": { - "line": 112, - "column": 37 + "line": 123, + "column": 36 } }, - "argument": { - "type": "LogicalExpression", - "start": 3073, - "end": 3098, + "left": { + "type": "MemberExpression", + "start": 3519, + "end": 3534, "loc": { "start": { - "line": 112, + "line": 123, "column": 11 }, "end": { - "line": 112, - "column": 36 + "line": 123, + "column": 26 } }, - "left": { - "type": "MemberExpression", - "start": 3073, - "end": 3088, + "object": { + "type": "Identifier", + "start": 3519, + "end": 3526, "loc": { "start": { - "line": 112, + "line": 123, "column": 11 }, "end": { - "line": 112, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 3073, - "end": 3080, - "loc": { - "start": { - "line": 112, - "column": 11 - }, - "end": { - "line": 112, - "column": 18 - }, - "identifierName": "display" + "line": 123, + "column": 18 }, - "name": "display" + "identifierName": "display" }, - "property": { - "type": "Identifier", - "start": 3081, - "end": 3087, - "loc": { - "start": { - "line": 112, - "column": 19 - }, - "end": { - "line": 112, - "column": 25 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true + "name": "display" }, - "operator": "||", - "right": { + "property": { "type": "Identifier", - "start": 3092, - "end": 3098, + "start": 3527, + "end": 3533, "loc": { "start": { - "line": 112, - "column": 30 + "line": 123, + "column": 19 }, "end": { - "line": 112, - "column": 36 + "line": 123, + "column": 25 }, "identifierName": "button" }, "name": "button" - } + }, + "computed": true + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 3538, + "end": 3544, + "loc": { + "start": { + "line": 123, + "column": 30 + }, + "end": { + "line": 123, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" } } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -5663,15 +7016,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -5679,16 +7032,16 @@ ] }, { - "type": "ClassProperty", - "start": 3435, - "end": 5028, + "type": "ClassMethod", + "start": 3881, + "end": 5467, "loc": { "start": { - "line": 124, + "line": 135, "column": 2 }, "end": { - "line": 164, + "line": 175, "column": 3 } }, @@ -5696,15 +7049,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3435, - "end": 3450, + "start": 3881, + "end": 3896, "loc": { "start": { - "line": 124, + "line": 135, "column": 2 }, "end": { - "line": 124, + "line": 135, "column": 17 }, "identifierName": "getUpdatedInput" @@ -5712,623 +7065,231 @@ "name": "getUpdatedInput", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 3453, - "end": 5028, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3897, + "end": 3903, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 24 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 3905, + "end": 3910, + "loc": { + "start": { + "line": 135, + "column": 26 + }, + "end": { + "line": 135, + "column": 31 + }, + "identifierName": "input" + }, + "name": "input" + }, + { + "type": "Identifier", + "start": 3912, + "end": 3919, + "loc": { + "start": { + "line": 135, + "column": 33 + }, + "end": { + "line": 135, + "column": 40 + }, + "identifierName": "options" + }, + "name": "options" + }, + { + "type": "Identifier", + "start": 3921, + "end": 3929, + "loc": { + "start": { + "line": 135, + "column": 42 + }, + "end": { + "line": 135, + "column": 50 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ], + "body": { + "type": "BlockStatement", + "start": 3930, + "end": 5467, "loc": { "start": { - "line": 124, - "column": 20 + "line": 135, + "column": 51 }, "end": { - "line": 164, + "line": 175, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 3454, - "end": 3460, + "type": "VariableDeclaration", + "start": 3943, + "end": 3962, "loc": { "start": { - "line": 124, - "column": 21 + "line": 137, + "column": 4 }, "end": { - "line": 124, - "column": 27 - }, - "identifierName": "button" + "line": 137, + "column": 23 + } }, - "name": "button" - }, - { - "type": "Identifier", - "start": 3462, - "end": 3467, - "loc": { - "start": { - "line": 124, - "column": 29 - }, - "end": { - "line": 124, - "column": 34 - }, - "identifierName": "input" - }, - "name": "input" - }, - { - "type": "Identifier", - "start": 3469, - "end": 3476, - "loc": { - "start": { - "line": 124, - "column": 36 - }, - "end": { - "line": 124, - "column": 43 - }, - "identifierName": "options" - }, - "name": "options" - }, - { - "type": "Identifier", - "start": 3478, - "end": 3486, - "loc": { - "start": { - "line": 124, - "column": 45 - }, - "end": { - "line": 124, - "column": 53 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ], - "body": { - "type": "BlockStatement", - "start": 3491, - "end": 5028, - "loc": { - "start": { - "line": 124, - "column": 58 - }, - "end": { - "line": 164, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3504, - "end": 3523, - "loc": { - "start": { - "line": 126, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3947, + "end": 3961, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 22 + } }, - "end": { - "line": 126, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3508, - "end": 3522, + "id": { + "type": "Identifier", + "start": 3947, + "end": 3953, "loc": { "start": { - "line": 126, + "line": 137, "column": 8 }, "end": { - "line": 126, + "line": 137, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": { + "type": "Identifier", + "start": 3956, + "end": 3961, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 3508, - "end": 3514, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 14 - }, - "identifierName": "output" }, - "name": "output" + "identifierName": "input" }, - "init": { - "type": "Identifier", - "start": 3517, - "end": 3522, - "loc": { - "start": { - "line": 126, - "column": 17 - }, - "end": { - "line": 126, - "column": 22 - }, - "identifierName": "input" - }, - "name": "input" - } + "name": "input" } - ], - "kind": "let" + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 3970, + "end": 5440, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 172, + "column": 58 + } }, - { - "type": "IfStatement", - "start": 3531, - "end": 5001, + "test": { + "type": "LogicalExpression", + "start": 3973, + "end": 4043, "loc": { "start": { - "line": 128, - "column": 4 + "line": 139, + "column": 7 }, "end": { - "line": 161, - "column": 58 + "line": 139, + "column": 77 } }, - "test": { + "left": { "type": "LogicalExpression", - "start": 3534, - "end": 3604, + "start": 3974, + "end": 4021, "loc": { "start": { - "line": 128, - "column": 7 + "line": 139, + "column": 8 }, "end": { - "line": 128, - "column": 77 + "line": 139, + "column": 55 } }, "left": { - "type": "LogicalExpression", - "start": 3535, - "end": 3582, + "type": "BinaryExpression", + "start": 3974, + "end": 3993, "loc": { "start": { - "line": 128, + "line": 139, "column": 8 }, "end": { - "line": 128, - "column": 55 - } - }, - "left": { - "type": "BinaryExpression", - "start": 3535, - "end": 3554, - "loc": { - "start": { - "line": 128, - "column": 8 - }, - "end": { - "line": 128, - "column": 27 - } - }, - "left": { - "type": "Identifier", - "start": 3535, - "end": 3541, - "loc": { - "start": { - "line": 128, - "column": 8 - }, - "end": { - "line": 128, - "column": 14 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3546, - "end": 3554, - "loc": { - "start": { - "line": 128, - "column": 19 - }, - "end": { - "line": 128, - "column": 27 - } - }, - "extra": { - "rawValue": "{bksp}", - "raw": "\"{bksp}\"" - }, - "value": "{bksp}" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 3558, - "end": 3582, - "loc": { - "start": { - "line": 128, - "column": 31 - }, - "end": { - "line": 128, - "column": 55 - } - }, - "left": { - "type": "Identifier", - "start": 3558, - "end": 3564, - "loc": { - "start": { - "line": 128, - "column": 31 - }, - "end": { - "line": 128, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3569, - "end": 3582, - "loc": { - "start": { - "line": 128, - "column": 42 - }, - "end": { - "line": 128, - "column": 55 - } - }, - "extra": { - "rawValue": "{backspace}", - "raw": "\"{backspace}\"" - }, - "value": "{backspace}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 3534 - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 3587, - "end": 3604, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 77 - } - }, - "left": { - "type": "MemberExpression", - "start": 3587, - "end": 3600, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 73 - } - }, - "object": { - "type": "Identifier", - "start": 3587, - "end": 3593, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 66 - }, - "identifierName": "output" - }, - "name": "output" - }, - "property": { - "type": "Identifier", - "start": 3594, - "end": 3600, - "loc": { - "start": { - "line": 128, - "column": 67 - }, - "end": { - "line": 128, - "column": 73 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 3603, - "end": 3604, - "loc": { - "start": { - "line": 128, - "column": 76 - }, - "end": { - "line": 128, - "column": 77 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3605, - "end": 3664, - "loc": { - "start": { - "line": 128, - "column": 78 - }, - "end": { - "line": 131, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3614, - "end": 3655, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 47 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3614, - "end": 3654, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 46 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3614, - "end": 3620, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 3623, - "end": 3654, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3623, - "end": 3636, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 3623, - "end": 3627, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 3628, - "end": 3636, - "loc": { - "start": { - "line": 129, - "column": 20 - }, - "end": { - "line": 129, - "column": 28 - }, - "identifierName": "removeAt" - }, - "name": "removeAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3637, - "end": 3643, - "loc": { - "start": { - "line": 129, - "column": 29 - }, - "end": { - "line": 129, - "column": 35 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "Identifier", - "start": 3645, - "end": 3653, - "loc": { - "start": { - "line": 129, - "column": 37 - }, - "end": { - "line": 129, - "column": 45 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3670, - "end": 5001, - "loc": { - "start": { - "line": 131, - "column": 11 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "BinaryExpression", - "start": 3673, - "end": 3693, - "loc": { - "start": { - "line": 131, - "column": 14 - }, - "end": { - "line": 131, - "column": 34 + "line": 139, + "column": 27 } }, "left": { "type": "Identifier", - "start": 3673, - "end": 3679, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 131, - "column": 14 + "line": 139, + "column": 8 }, "end": { - "line": 131, - "column": 20 + "line": 139, + "column": 14 }, "identifierName": "button" }, @@ -6337,65 +7298,227 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 3684, - "end": 3693, + "start": 3985, + "end": 3993, "loc": { "start": { - "line": 131, - "column": 25 + "line": 139, + "column": 19 }, "end": { - "line": 131, - "column": 34 + "line": 139, + "column": 27 } }, "extra": { - "rawValue": "{space}", - "raw": "\"{space}\"" + "rawValue": "{bksp}", + "raw": "\"{bksp}\"" }, - "value": "{space}" + "value": "{bksp}" } }, - "consequent": { - "type": "ExpressionStatement", - "start": 3702, - "end": 3751, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 3997, + "end": 4021, "loc": { "start": { - "line": 132, + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 55 + } + }, + "left": { + "type": "Identifier", + "start": 3997, + "end": 4003, + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4008, + "end": 4021, + "loc": { + "start": { + "line": 139, + "column": 42 + }, + "end": { + "line": 139, + "column": 55 + } + }, + "extra": { + "rawValue": "{backspace}", + "raw": "\"{backspace}\"" + }, + "value": "{backspace}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 3973 + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 4026, + "end": 4043, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 77 + } + }, + "left": { + "type": "MemberExpression", + "start": 4026, + "end": 4039, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 4026, + "end": 4032, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 66 + }, + "identifierName": "output" + }, + "name": "output" + }, + "property": { + "type": "Identifier", + "start": 4033, + "end": 4039, + "loc": { + "start": { + "line": 139, + "column": 67 + }, + "end": { + "line": 139, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 4042, + "end": 4043, + "loc": { + "start": { + "line": 139, + "column": 76 + }, + "end": { + "line": 139, + "column": 77 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4044, + "end": 4103, + "loc": { + "start": { + "line": 139, + "column": 78 + }, + "end": { + "line": 142, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4053, + "end": 4094, + "loc": { + "start": { + "line": 140, "column": 6 }, "end": { - "line": 132, - "column": 55 + "line": 140, + "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 3702, - "end": 3750, + "start": 4053, + "end": 4093, "loc": { "start": { - "line": 132, + "line": 140, "column": 6 }, "end": { - "line": 132, - "column": 54 + "line": 140, + "column": 46 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3702, - "end": 3708, + "start": 4053, + "end": 4059, "loc": { "start": { - "line": 132, + "line": 140, "column": 6 }, "end": { - "line": 132, + "line": 140, "column": 12 }, "identifierName": "output" @@ -6404,116 +7527,96 @@ }, "right": { "type": "CallExpression", - "start": 3711, - "end": 3750, + "start": 4062, + "end": 4093, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, - "column": 54 + "line": 140, + "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 3711, - "end": 3727, + "start": 4062, + "end": 4075, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, - "column": 31 + "line": 140, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 3711, - "end": 3715, + "start": 4062, + "end": 4066, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, + "line": 140, "column": 19 } } }, "property": { "type": "Identifier", - "start": 3716, - "end": 3727, + "start": 4067, + "end": 4075, "loc": { "start": { - "line": 132, + "line": 140, "column": 20 }, "end": { - "line": 132, - "column": 31 + "line": 140, + "column": 28 }, - "identifierName": "addStringAt" + "identifierName": "removeAt" }, - "name": "addStringAt" + "name": "removeAt" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 3728, - "end": 3734, + "start": 4076, + "end": 4082, "loc": { "start": { - "line": 132, - "column": 32 + "line": 140, + "column": 29 }, "end": { - "line": 132, - "column": 38 + "line": 140, + "column": 35 }, "identifierName": "output" }, "name": "output" }, - { - "type": "StringLiteral", - "start": 3736, - "end": 3739, - "loc": { - "start": { - "line": 132, - "column": 40 - }, - "end": { - "line": 132, - "column": 43 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - }, { "type": "Identifier", - "start": 3741, - "end": 3749, + "start": 4084, + "end": 4092, "loc": { "start": { - "line": 132, - "column": 45 + "line": 140, + "column": 37 }, "end": { - "line": 132, - "column": 53 + "line": 140, + "column": 45 }, "identifierName": "caretPos" }, @@ -6522,266 +7625,412 @@ ] } } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4109, + "end": 5440, + "loc": { + "start": { + "line": 142, + "column": 11 }, - "alternate": { - "type": "IfStatement", - "start": 3764, - "end": 5001, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4112, + "end": 4132, + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 4112, + "end": 4118, "loc": { "start": { - "line": 134, - "column": 9 + "line": 142, + "column": 14 }, "end": { - "line": 161, - "column": 58 + "line": 142, + "column": 20 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4123, + "end": 4132, + "loc": { + "start": { + "line": 142, + "column": 25 + }, + "end": { + "line": 142, + "column": 34 } }, - "test": { - "type": "LogicalExpression", - "start": 3767, - "end": 3867, + "extra": { + "rawValue": "{space}", + "raw": "\"{space}\"" + }, + "value": "{space}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4141, + "end": 4190, + "loc": { + "start": { + "line": 143, + "column": 6 + }, + "end": { + "line": 143, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4141, + "end": 4189, + "loc": { + "start": { + "line": 143, + "column": 6 + }, + "end": { + "line": 143, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4141, + "end": 4147, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 6 }, "end": { - "line": 134, - "column": 112 + "line": 143, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4150, + "end": 4189, + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 143, + "column": 54 } }, - "left": { - "type": "BinaryExpression", - "start": 3767, - "end": 3785, + "callee": { + "type": "MemberExpression", + "start": 4150, + "end": 4166, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 15 }, "end": { - "line": 134, - "column": 30 + "line": 143, + "column": 31 } }, - "left": { - "type": "Identifier", - "start": 3767, - "end": 3773, + "object": { + "type": "ThisExpression", + "start": 4150, + "end": 4154, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 15 }, "end": { - "line": 134, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" + "line": 143, + "column": 19 + } + } }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3778, - "end": 3785, + "property": { + "type": "Identifier", + "start": 4155, + "end": 4166, "loc": { "start": { - "line": 134, - "column": 23 + "line": 143, + "column": 20 }, "end": { - "line": 134, - "column": 30 + "line": 143, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4167, + "end": 4173, + "loc": { + "start": { + "line": 143, + "column": 32 + }, + "end": { + "line": 143, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4175, + "end": 4178, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 43 } }, "extra": { - "rawValue": "{tab}", - "raw": "\"{tab}\"" + "rawValue": " ", + "raw": "\" \"" }, - "value": "{tab}" - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 3789, - "end": 3867, - "loc": { - "start": { - "line": 134, - "column": 34 - }, - "end": { - "line": 134, - "column": 112 - } + "value": " " }, - "operator": "!", - "prefix": true, - "argument": { - "type": "LogicalExpression", - "start": 3791, - "end": 3866, + { + "type": "Identifier", + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 134, + "line": 143, + "column": 45 + }, + "end": { + "line": 143, + "column": 53 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4203, + "end": 5440, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4206, + "end": 4306, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 112 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4206, + "end": 4224, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 4206, + "end": 4212, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4217, + "end": 4224, + "loc": { + "start": { + "line": 145, + "column": 23 + }, + "end": { + "line": 145, + "column": 30 + } + }, + "extra": { + "rawValue": "{tab}", + "raw": "\"{tab}\"" + }, + "value": "{tab}" + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 4228, + "end": 4306, + "loc": { + "start": { + "line": 145, + "column": 34 + }, + "end": { + "line": 145, + "column": 112 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "LogicalExpression", + "start": 4230, + "end": 4305, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 111 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4230, + "end": 4271, + "loc": { + "start": { + "line": 145, "column": 36 }, "end": { - "line": 134, - "column": 111 + "line": 145, + "column": 77 } }, "left": { - "type": "BinaryExpression", - "start": 3791, - "end": 3832, + "type": "UnaryExpression", + "start": 4230, + "end": 4257, "loc": { "start": { - "line": 134, + "line": 145, "column": 36 }, "end": { - "line": 134, - "column": 77 + "line": 145, + "column": 63 } }, - "left": { - "type": "UnaryExpression", - "start": 3791, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 36 - }, - "end": { - "line": 134, - "column": 63 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 3798, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 43 - }, - "end": { - "line": 134, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 3798, - "end": 3805, - "loc": { - "start": { - "line": 134, - "column": 43 - }, - "end": { - "line": 134, - "column": 50 - }, - "identifierName": "options" - }, - "name": "options" - }, - "property": { - "type": "Identifier", - "start": 3806, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 51 - }, - "end": { - "line": 134, - "column": 63 - }, - "identifierName": "tabCharOnTab" - }, - "name": "tabCharOnTab" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3823, - "end": 3832, - "loc": { - "start": { - "line": 134, - "column": 68 - }, - "end": { - "line": 134, - "column": 77 - } - }, - "extra": { - "rawValue": "boolean", - "raw": "\"boolean\"" - }, - "value": "boolean" - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 3836, - "end": 3866, - "loc": { - "start": { - "line": 134, - "column": 81 - }, - "end": { - "line": 134, - "column": 111 - } - }, - "left": { + "operator": "typeof", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 3836, - "end": 3856, + "start": 4237, + "end": 4257, "loc": { "start": { - "line": 134, - "column": 81 + "line": 145, + "column": 43 }, "end": { - "line": 134, - "column": 101 + "line": 145, + "column": 63 } }, "object": { "type": "Identifier", - "start": 3836, - "end": 3843, + "start": 4237, + "end": 4244, "loc": { "start": { - "line": 134, - "column": 81 + "line": 145, + "column": 43 }, "end": { - "line": 134, - "column": 88 + "line": 145, + "column": 50 }, "identifierName": "options" }, @@ -6789,16 +8038,16 @@ }, "property": { "type": "Identifier", - "start": 3844, - "end": 3856, + "start": 4245, + "end": 4257, "loc": { "start": { - "line": 134, - "column": 89 + "line": 145, + "column": 51 }, "end": { - "line": 134, - "column": 101 + "line": 145, + "column": 63 }, "identifierName": "tabCharOnTab" }, @@ -6806,465 +8055,180 @@ }, "computed": false }, - "operator": "===", - "right": { - "type": "BooleanLiteral", - "start": 3861, - "end": 3866, - "loc": { - "start": { - "line": 134, - "column": 106 - }, - "end": { - "line": 134, - "column": 111 - } - }, - "value": false + "extra": { + "parenthesizedArgument": false } }, - "extra": { - "parenthesized": true, - "parenStart": 3790 - } - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3868, - "end": 3936, - "loc": { - "start": { - "line": 134, - "column": 113 - }, - "end": { - "line": 137, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3877, - "end": 3927, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 56 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3877, - "end": 3926, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 55 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3877, - "end": 3883, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 3886, - "end": 3926, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3886, - "end": 3902, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 3886, - "end": 3890, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 3891, - "end": 3902, - "loc": { - "start": { - "line": 135, - "column": 20 - }, - "end": { - "line": 135, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3903, - "end": 3909, - "loc": { - "start": { - "line": 135, - "column": 32 - }, - "end": { - "line": 135, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "StringLiteral", - "start": 3911, - "end": 3915, - "loc": { - "start": { - "line": 135, - "column": 40 - }, - "end": { - "line": 135, - "column": 44 - } - }, - "extra": { - "rawValue": "\t", - "raw": "\"\\t\"" - }, - "value": "\t" - }, - { - "type": "Identifier", - "start": 3917, - "end": 3925, - "loc": { - "start": { - "line": 135, - "column": 46 - }, - "end": { - "line": 135, - "column": 54 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3942, - "end": 5001, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "LogicalExpression", - "start": 3945, - "end": 4023, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 92 - } - }, - "left": { - "type": "LogicalExpression", - "start": 3946, - "end": 3996, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 65 - } - }, - "left": { - "type": "BinaryExpression", - "start": 3946, - "end": 3966, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 35 - } - }, - "left": { - "type": "Identifier", - "start": 3946, - "end": 3952, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 21 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3957, - "end": 3966, - "loc": { - "start": { - "line": 137, - "column": 26 - }, - "end": { - "line": 137, - "column": 35 - } - }, - "extra": { - "rawValue": "{enter}", - "raw": "\"{enter}\"" - }, - "value": "{enter}" - } - }, - "operator": "||", + "operator": "===", "right": { - "type": "BinaryExpression", - "start": 3970, - "end": 3996, + "type": "StringLiteral", + "start": 4262, + "end": 4271, "loc": { "start": { - "line": 137, - "column": 39 + "line": 145, + "column": 68 }, "end": { - "line": 137, - "column": 65 + "line": 145, + "column": 77 } }, - "left": { - "type": "Identifier", - "start": 3970, - "end": 3976, - "loc": { - "start": { - "line": 137, - "column": 39 - }, - "end": { - "line": 137, - "column": 45 - }, - "identifierName": "button" - }, - "name": "button" + "extra": { + "rawValue": "boolean", + "raw": "\"boolean\"" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3981, - "end": 3996, - "loc": { - "start": { - "line": 137, - "column": 50 - }, - "end": { - "line": 137, - "column": 65 - } - }, - "extra": { - "rawValue": "{numpadenter}", - "raw": "\"{numpadenter}\"" - }, - "value": "{numpadenter}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 3945 + "value": "boolean" } }, "operator": "&&", "right": { - "type": "MemberExpression", - "start": 4001, - "end": 4023, + "type": "BinaryExpression", + "start": 4275, + "end": 4305, "loc": { "start": { - "line": 137, - "column": 70 + "line": 145, + "column": 81 }, "end": { - "line": 137, - "column": 92 + "line": 145, + "column": 111 } }, - "object": { - "type": "Identifier", - "start": 4001, - "end": 4008, + "left": { + "type": "MemberExpression", + "start": 4275, + "end": 4295, "loc": { "start": { - "line": 137, - "column": 70 + "line": 145, + "column": 81 }, "end": { - "line": 137, - "column": 77 - }, - "identifierName": "options" + "line": 145, + "column": 101 + } }, - "name": "options" + "object": { + "type": "Identifier", + "start": 4275, + "end": 4282, + "loc": { + "start": { + "line": 145, + "column": 81 + }, + "end": { + "line": 145, + "column": 88 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 4283, + "end": 4295, + "loc": { + "start": { + "line": 145, + "column": 89 + }, + "end": { + "line": 145, + "column": 101 + }, + "identifierName": "tabCharOnTab" + }, + "name": "tabCharOnTab" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 4009, - "end": 4023, + "operator": "===", + "right": { + "type": "BooleanLiteral", + "start": 4300, + "end": 4305, "loc": { "start": { - "line": 137, - "column": 78 + "line": 145, + "column": 106 }, "end": { - "line": 137, - "column": 92 - }, - "identifierName": "newLineOnEnter" + "line": 145, + "column": 111 + } }, - "name": "newLineOnEnter" - }, - "computed": false + "value": false + } + }, + "extra": { + "parenthesized": true, + "parenStart": 4229 } }, - "consequent": { + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4307, + "end": 4375, + "loc": { + "start": { + "line": 145, + "column": 113 + }, + "end": { + "line": 148, + "column": 5 + } + }, + "body": [ + { "type": "ExpressionStatement", - "start": 4032, - "end": 4082, + "start": 4316, + "end": 4366, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 4032, - "end": 4081, + "start": 4316, + "end": 4365, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4032, - "end": 4038, + "start": 4316, + "end": 4322, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 12 }, "identifierName": "output" @@ -7273,58 +8237,58 @@ }, "right": { "type": "CallExpression", - "start": 4041, - "end": 4081, + "start": 4325, + "end": 4365, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 4041, - "end": 4057, + "start": 4325, + "end": 4341, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4041, - "end": 4045, + "start": 4325, + "end": 4329, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4046, - "end": 4057, + "start": 4330, + "end": 4341, "loc": { "start": { - "line": 138, + "line": 146, "column": 20 }, "end": { - "line": 138, + "line": 146, "column": 31 }, "identifierName": "addStringAt" @@ -7336,15 +8300,15 @@ "arguments": [ { "type": "Identifier", - "start": 4058, - "end": 4064, + "start": 4342, + "end": 4348, "loc": { "start": { - "line": 138, + "line": 146, "column": 32 }, "end": { - "line": 138, + "line": 146, "column": 38 }, "identifierName": "output" @@ -7353,35 +8317,35 @@ }, { "type": "StringLiteral", - "start": 4066, - "end": 4070, + "start": 4350, + "end": 4354, "loc": { "start": { - "line": 138, + "line": 146, "column": 40 }, "end": { - "line": 138, + "line": 146, "column": 44 } }, "extra": { - "rawValue": "\n", - "raw": "\"\\n\"" + "rawValue": "\t", + "raw": "\"\\t\"" }, - "value": "\n" + "value": "\t" }, { "type": "Identifier", - "start": 4072, - "end": 4080, + "start": 4356, + "end": 4364, "loc": { "start": { - "line": 138, + "line": 146, "column": 46 }, "end": { - "line": 138, + "line": 146, "column": 54 }, "identifierName": "caretPos" @@ -7391,735 +8355,775 @@ ] } } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4381, + "end": 5440, + "loc": { + "start": { + "line": 148, + "column": 11 }, - "alternate": { - "type": "IfStatement", - "start": 4095, - "end": 5001, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4384, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 92 + } + }, + "left": { + "type": "LogicalExpression", + "start": 4385, + "end": 4435, "loc": { "start": { - "line": 140, - "column": 9 + "line": 148, + "column": 15 }, "end": { - "line": 161, - "column": 58 + "line": 148, + "column": 65 } }, - "test": { - "type": "LogicalExpression", - "start": 4098, - "end": 4178, + "left": { + "type": "BinaryExpression", + "start": 4385, + "end": 4405, "loc": { "start": { - "line": 140, - "column": 12 + "line": 148, + "column": 15 }, "end": { - "line": 140, - "column": 92 + "line": 148, + "column": 35 } }, "left": { - "type": "CallExpression", - "start": 4098, - "end": 4123, + "type": "Identifier", + "start": 4385, + "end": 4391, "loc": { "start": { - "line": 140, - "column": 12 + "line": 148, + "column": 15 }, "end": { - "line": 140, - "column": 37 - } + "line": 148, + "column": 21 + }, + "identifierName": "button" }, - "callee": { - "type": "MemberExpression", - "start": 4098, - "end": 4113, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 4098, - "end": 4104, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4105, - "end": 4113, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 27 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4114, - "end": 4122, - "loc": { - "start": { - "line": 140, - "column": 28 - }, - "end": { - "line": 140, - "column": 36 - } - }, - "extra": { - "rawValue": "numpad", - "raw": "\"numpad\"" - }, - "value": "numpad" - } - ] + "name": "button" }, - "operator": "&&", + "operator": "===", "right": { - "type": "CallExpression", - "start": 4127, - "end": 4178, + "type": "StringLiteral", + "start": 4396, + "end": 4405, "loc": { "start": { - "line": 140, - "column": 41 + "line": 148, + "column": 26 }, "end": { - "line": 140, - "column": 92 + "line": 148, + "column": 35 } }, - "callee": { - "type": "MemberExpression", - "start": 4127, - "end": 4143, - "loc": { - "start": { - "line": 140, - "column": 41 - }, - "end": { - "line": 140, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 4127, - "end": 4133, - "loc": { - "start": { - "line": 140, - "column": 41 - }, - "end": { - "line": 140, - "column": 47 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "property": { - "type": "Identifier", - "start": 4134, - "end": 4143, - "loc": { - "start": { - "line": 140, - "column": 48 - }, - "end": { - "line": 140, - "column": 57 - }, - "identifierName": "isInteger" - }, - "name": "isInteger" - }, - "computed": false + "extra": { + "rawValue": "{enter}", + "raw": "\"{enter}\"" }, - "arguments": [ - { - "type": "CallExpression", - "start": 4144, - "end": 4177, - "loc": { - "start": { - "line": 140, - "column": 58 - }, - "end": { - "line": 140, - "column": 91 - } - }, - "callee": { - "type": "Identifier", - "start": 4144, - "end": 4150, - "loc": { - "start": { - "line": 140, - "column": 58 - }, - "end": { - "line": 140, - "column": 64 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4151, - "end": 4176, - "loc": { - "start": { - "line": 140, - "column": 65 - }, - "end": { - "line": 140, - "column": 90 - } - }, - "object": { - "type": "Identifier", - "start": 4151, - "end": 4157, - "loc": { - "start": { - "line": 140, - "column": 65 - }, - "end": { - "line": 140, - "column": 71 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "BinaryExpression", - "start": 4158, - "end": 4175, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 89 - } - }, - "left": { - "type": "MemberExpression", - "start": 4158, - "end": 4171, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 85 - } - }, - "object": { - "type": "Identifier", - "start": 4158, - "end": 4164, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 78 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4165, - "end": 4171, - "loc": { - "start": { - "line": 140, - "column": 79 - }, - "end": { - "line": 140, - "column": 85 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 4174, - "end": 4175, - "loc": { - "start": { - "line": 140, - "column": 88 - }, - "end": { - "line": 140, - "column": 89 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "computed": true - } - ] - } - ] + "value": "{enter}" } }, - "consequent": { - "type": "BlockStatement", - "start": 4179, - "end": 4266, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 4409, + "end": 4435, "loc": { "start": { - "line": 140, - "column": 93 + "line": 148, + "column": 39 }, "end": { - "line": 142, - "column": 5 + "line": 148, + "column": 65 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4188, - "end": 4259, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 77 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4188, - "end": 4258, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 76 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 4188, - "end": 4194, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 4197, - "end": 4258, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4197, - "end": 4213, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 4197, - "end": 4201, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 4202, - "end": 4213, - "loc": { - "start": { - "line": 141, - "column": 20 - }, - "end": { - "line": 141, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4214, - "end": 4220, - "loc": { - "start": { - "line": 141, - "column": 32 - }, - "end": { - "line": 141, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "MemberExpression", - "start": 4222, - "end": 4247, - "loc": { - "start": { - "line": 141, - "column": 40 - }, - "end": { - "line": 141, - "column": 65 - } - }, - "object": { - "type": "Identifier", - "start": 4222, - "end": 4228, - "loc": { - "start": { - "line": 141, - "column": 40 - }, - "end": { - "line": 141, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "BinaryExpression", - "start": 4229, - "end": 4246, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 64 - } - }, - "left": { - "type": "MemberExpression", - "start": 4229, - "end": 4242, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 4229, - "end": 4235, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 53 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4236, - "end": 4242, - "loc": { - "start": { - "line": 141, - "column": 54 - }, - "end": { - "line": 141, - "column": 60 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 4245, - "end": 4246, - "loc": { - "start": { - "line": 141, - "column": 63 - }, - "end": { - "line": 141, - "column": 64 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "computed": true - }, - { - "type": "Identifier", - "start": 4249, - "end": 4257, - "loc": { - "start": { - "line": 141, - "column": 67 - }, - "end": { - "line": 141, - "column": 75 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 4277, - "end": 5001, - "loc": { - "start": { - "line": 143, - "column": 9 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "BinaryExpression", - "start": 4280, - "end": 4307, + "left": { + "type": "Identifier", + "start": 4409, + "end": 4415, "loc": { "start": { - "line": 143, + "line": 148, + "column": 39 + }, + "end": { + "line": 148, + "column": 45 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4420, + "end": 4435, + "loc": { + "start": { + "line": 148, + "column": 50 + }, + "end": { + "line": 148, + "column": 65 + } + }, + "extra": { + "rawValue": "{numpadenter}", + "raw": "\"{numpadenter}\"" + }, + "value": "{numpadenter}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 4384 + } + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 4440, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 92 + } + }, + "object": { + "type": "Identifier", + "start": 4440, + "end": 4447, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 77 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 4448, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 78 + }, + "end": { + "line": 148, + "column": 92 + }, + "identifierName": "newLineOnEnter" + }, + "name": "newLineOnEnter" + }, + "computed": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4471, + "end": 4521, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4471, + "end": 4520, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4471, + "end": 4477, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4480, + "end": 4520, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4480, + "end": 4496, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4480, + "end": 4484, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4485, + "end": 4496, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4497, + "end": 4503, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 149, + "column": 40 + }, + "end": { + "line": 149, + "column": 44 + } + }, + "extra": { + "rawValue": "\n", + "raw": "\"\\n\"" + }, + "value": "\n" + }, + { + "type": "Identifier", + "start": 4511, + "end": 4519, + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 54 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4534, + "end": 5440, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4537, + "end": 4617, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 92 + } + }, + "left": { + "type": "CallExpression", + "start": 4537, + "end": 4562, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4537, + "end": 4552, + "loc": { + "start": { + "line": 151, "column": 12 }, "end": { - "line": 143, - "column": 39 + "line": 151, + "column": 27 } }, - "left": { + "object": { "type": "Identifier", - "start": 4280, - "end": 4286, + "start": 4537, + "end": 4543, "loc": { "start": { - "line": 143, + "line": 151, "column": 12 }, "end": { - "line": 143, + "line": 151, "column": 18 }, "identifierName": "button" }, "name": "button" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4291, - "end": 4307, + "property": { + "type": "Identifier", + "start": 4544, + "end": 4552, "loc": { "start": { - "line": 143, - "column": 23 + "line": 151, + "column": 19 }, "end": { - "line": 143, - "column": 39 + "line": 151, + "column": 27 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4553, + "end": 4561, + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 36 } }, "extra": { - "rawValue": "{numpaddivide}", - "raw": "\"{numpaddivide}\"" + "rawValue": "numpad", + "raw": "\"numpad\"" }, - "value": "{numpaddivide}" + "value": "numpad" + } + ] + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 4566, + "end": 4617, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 92 } }, - "consequent": { - "type": "ExpressionStatement", - "start": 4316, - "end": 4365, + "callee": { + "type": "MemberExpression", + "start": 4566, + "end": 4582, "loc": { "start": { - "line": 144, + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 4566, + "end": 4572, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 47 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "property": { + "type": "Identifier", + "start": 4573, + "end": 4582, + "loc": { + "start": { + "line": 151, + "column": 48 + }, + "end": { + "line": 151, + "column": 57 + }, + "identifierName": "isInteger" + }, + "name": "isInteger" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 4583, + "end": 4616, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 91 + } + }, + "callee": { + "type": "Identifier", + "start": 4583, + "end": 4589, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 64 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 4590, + "end": 4615, + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 151, + "column": 90 + } + }, + "object": { + "type": "Identifier", + "start": 4590, + "end": 4596, + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 151, + "column": 71 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "BinaryExpression", + "start": 4597, + "end": 4614, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 89 + } + }, + "left": { + "type": "MemberExpression", + "start": 4597, + "end": 4610, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 4597, + "end": 4603, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 78 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 4604, + "end": 4610, + "loc": { + "start": { + "line": 151, + "column": 79 + }, + "end": { + "line": 151, + "column": 85 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4613, + "end": 4614, + "loc": { + "start": { + "line": 151, + "column": 88 + }, + "end": { + "line": 151, + "column": 89 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "computed": true + } + ] + } + ] + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4618, + "end": 4705, + "loc": { + "start": { + "line": 151, + "column": 93 + }, + "end": { + "line": 153, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4627, + "end": 4698, + "loc": { + "start": { + "line": 152, "column": 6 }, "end": { - "line": 144, - "column": 55 + "line": 152, + "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 4316, - "end": 4364, + "start": 4627, + "end": 4697, "loc": { "start": { - "line": 144, + "line": 152, "column": 6 }, "end": { - "line": 144, - "column": 54 + "line": 152, + "column": 76 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4316, - "end": 4322, + "start": 4627, + "end": 4633, "loc": { "start": { - "line": 144, + "line": 152, "column": 6 }, "end": { - "line": 144, + "line": 152, "column": 12 }, "identifierName": "output" @@ -8128,58 +9132,58 @@ }, "right": { "type": "CallExpression", - "start": 4325, - "end": 4364, + "start": 4636, + "end": 4697, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, - "column": 54 + "line": 152, + "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 4325, - "end": 4341, + "start": 4636, + "end": 4652, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, + "line": 152, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4325, - "end": 4329, + "start": 4636, + "end": 4640, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, + "line": 152, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4330, - "end": 4341, + "start": 4641, + "end": 4652, "loc": { "start": { - "line": 144, + "line": 152, "column": 20 }, "end": { - "line": 144, + "line": 152, "column": 31 }, "identifierName": "addStringAt" @@ -8191,15 +9195,585 @@ "arguments": [ { "type": "Identifier", - "start": 4342, - "end": 4348, + "start": 4653, + "end": 4659, "loc": { "start": { - "line": 144, + "line": 152, "column": 32 }, "end": { - "line": 144, + "line": 152, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "MemberExpression", + "start": 4661, + "end": 4686, + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 4661, + "end": 4667, + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 46 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "BinaryExpression", + "start": 4668, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 64 + } + }, + "left": { + "type": "MemberExpression", + "start": 4668, + "end": 4681, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 4668, + "end": 4674, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 53 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 4675, + "end": 4681, + "loc": { + "start": { + "line": 152, + "column": 54 + }, + "end": { + "line": 152, + "column": 60 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4684, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 63 + }, + "end": { + "line": 152, + "column": 64 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "computed": true + }, + { + "type": "Identifier", + "start": 4688, + "end": 4696, + "loc": { + "start": { + "line": 152, + "column": 67 + }, + "end": { + "line": 152, + "column": 75 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4716, + "end": 5440, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4719, + "end": 4746, + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 4719, + "end": 4725, + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4730, + "end": 4746, + "loc": { + "start": { + "line": 154, + "column": 23 + }, + "end": { + "line": 154, + "column": 39 + } + }, + "extra": { + "rawValue": "{numpaddivide}", + "raw": "\"{numpaddivide}\"" + }, + "value": "{numpaddivide}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4755, + "end": 4804, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4755, + "end": 4803, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4755, + "end": 4761, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4764, + "end": 4803, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4764, + "end": 4780, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4764, + "end": 4768, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4769, + "end": 4780, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4781, + "end": 4787, + "loc": { + "start": { + "line": 155, + "column": 32 + }, + "end": { + "line": 155, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4789, + "end": 4792, + "loc": { + "start": { + "line": 155, + "column": 40 + }, + "end": { + "line": 155, + "column": 43 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + }, + { + "type": "Identifier", + "start": 4794, + "end": 4802, + "loc": { + "start": { + "line": 155, + "column": 45 + }, + "end": { + "line": 155, + "column": 53 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4817, + "end": 5440, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4820, + "end": 4849, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 4820, + "end": 4826, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4831, + "end": 4849, + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 41 + } + }, + "extra": { + "rawValue": "{numpadmultiply}", + "raw": "\"{numpadmultiply}\"" + }, + "value": "{numpadmultiply}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4858, + "end": 4907, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4858, + "end": 4906, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4858, + "end": 4864, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4867, + "end": 4906, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4867, + "end": 4883, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4867, + "end": 4871, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4872, + "end": 4883, + "loc": { + "start": { + "line": 158, + "column": 20 + }, + "end": { + "line": 158, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4884, + "end": 4890, + "loc": { + "start": { + "line": 158, + "column": 32 + }, + "end": { + "line": 158, "column": 38 }, "identifierName": "output" @@ -8208,35 +9782,35 @@ }, { "type": "StringLiteral", - "start": 4350, - "end": 4353, + "start": 4892, + "end": 4895, "loc": { "start": { - "line": 144, + "line": 158, "column": 40 }, "end": { - "line": 144, + "line": 158, "column": 43 } }, "extra": { - "rawValue": "/", - "raw": "'/'" + "rawValue": "*", + "raw": "'*'" }, - "value": "/" + "value": "*" }, { "type": "Identifier", - "start": 4355, - "end": 4363, + "start": 4897, + "end": 4905, "loc": { "start": { - "line": 144, + "line": 158, "column": 45 }, "end": { - "line": 144, + "line": 158, "column": 53 }, "identifierName": "caretPos" @@ -8249,43 +9823,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4378, - "end": 5001, + "start": 4918, + "end": 5440, "loc": { "start": { - "line": 146, + "line": 159, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4381, - "end": 4410, + "start": 4921, + "end": 4950, "loc": { "start": { - "line": 146, + "line": 159, "column": 12 }, "end": { - "line": 146, + "line": 159, "column": 41 } }, "left": { "type": "Identifier", - "start": 4381, - "end": 4387, + "start": 4921, + "end": 4927, "loc": { "start": { - "line": 146, + "line": 159, "column": 12 }, "end": { - "line": 146, + "line": 159, "column": 18 }, "identifierName": "button" @@ -8295,65 +9869,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4392, - "end": 4410, + "start": 4932, + "end": 4950, "loc": { "start": { - "line": 146, + "line": 159, "column": 23 }, "end": { - "line": 146, + "line": 159, "column": 41 } }, "extra": { - "rawValue": "{numpadmultiply}", - "raw": "\"{numpadmultiply}\"" + "rawValue": "{numpadsubtract}", + "raw": "\"{numpadsubtract}\"" }, - "value": "{numpadmultiply}" + "value": "{numpadsubtract}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4419, - "end": 4468, + "start": 4959, + "end": 5008, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4419, - "end": 4467, + "start": 4959, + "end": 5007, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4419, - "end": 4425, + "start": 4959, + "end": 4965, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 12 }, "identifierName": "output" @@ -8362,58 +9936,58 @@ }, "right": { "type": "CallExpression", - "start": 4428, - "end": 4467, + "start": 4968, + "end": 5007, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4428, - "end": 4444, + "start": 4968, + "end": 4984, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4428, - "end": 4432, + "start": 4968, + "end": 4972, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4433, - "end": 4444, + "start": 4973, + "end": 4984, "loc": { "start": { - "line": 147, + "line": 160, "column": 20 }, "end": { - "line": 147, + "line": 160, "column": 31 }, "identifierName": "addStringAt" @@ -8425,15 +9999,15 @@ "arguments": [ { "type": "Identifier", - "start": 4445, - "end": 4451, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 147, + "line": 160, "column": 32 }, "end": { - "line": 147, + "line": 160, "column": 38 }, "identifierName": "output" @@ -8442,35 +10016,35 @@ }, { "type": "StringLiteral", - "start": 4453, - "end": 4456, + "start": 4993, + "end": 4996, "loc": { "start": { - "line": 147, + "line": 160, "column": 40 }, "end": { - "line": 147, + "line": 160, "column": 43 } }, "extra": { - "rawValue": "*", - "raw": "'*'" + "rawValue": "-", + "raw": "'-'" }, - "value": "*" + "value": "-" }, { "type": "Identifier", - "start": 4458, - "end": 4466, + "start": 4998, + "end": 5006, "loc": { "start": { - "line": 147, + "line": 160, "column": 45 }, "end": { - "line": 147, + "line": 160, "column": 53 }, "identifierName": "caretPos" @@ -8483,43 +10057,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4479, - "end": 5001, + "start": 5021, + "end": 5440, "loc": { "start": { - "line": 148, + "line": 162, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4482, - "end": 4511, + "start": 5024, + "end": 5048, "loc": { "start": { - "line": 148, + "line": 162, "column": 12 }, "end": { - "line": 148, - "column": 41 + "line": 162, + "column": 36 } }, "left": { "type": "Identifier", - "start": 4482, - "end": 4488, + "start": 5024, + "end": 5030, "loc": { "start": { - "line": 148, + "line": 162, "column": 12 }, "end": { - "line": 148, + "line": 162, "column": 18 }, "identifierName": "button" @@ -8529,65 +10103,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4493, - "end": 4511, + "start": 5035, + "end": 5048, "loc": { "start": { - "line": 148, + "line": 162, "column": 23 }, "end": { - "line": 148, - "column": 41 + "line": 162, + "column": 36 } }, "extra": { - "rawValue": "{numpadsubtract}", - "raw": "\"{numpadsubtract}\"" + "rawValue": "{numpadadd}", + "raw": "\"{numpadadd}\"" }, - "value": "{numpadsubtract}" + "value": "{numpadadd}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4520, - "end": 4569, + "start": 5057, + "end": 5106, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4520, - "end": 4568, + "start": 5057, + "end": 5105, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4520, - "end": 4526, + "start": 5057, + "end": 5063, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 12 }, "identifierName": "output" @@ -8596,58 +10170,58 @@ }, "right": { "type": "CallExpression", - "start": 4529, - "end": 4568, + "start": 5066, + "end": 5105, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4529, - "end": 4545, + "start": 5066, + "end": 5082, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4529, - "end": 4533, + "start": 5066, + "end": 5070, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4534, - "end": 4545, + "start": 5071, + "end": 5082, "loc": { "start": { - "line": 149, + "line": 163, "column": 20 }, "end": { - "line": 149, + "line": 163, "column": 31 }, "identifierName": "addStringAt" @@ -8659,15 +10233,15 @@ "arguments": [ { "type": "Identifier", - "start": 4546, - "end": 4552, + "start": 5083, + "end": 5089, "loc": { "start": { - "line": 149, + "line": 163, "column": 32 }, "end": { - "line": 149, + "line": 163, "column": 38 }, "identifierName": "output" @@ -8676,35 +10250,35 @@ }, { "type": "StringLiteral", - "start": 4554, - "end": 4557, + "start": 5091, + "end": 5094, "loc": { "start": { - "line": 149, + "line": 163, "column": 40 }, "end": { - "line": 149, + "line": 163, "column": 43 } }, "extra": { - "rawValue": "-", - "raw": "'-'" + "rawValue": "+", + "raw": "'+'" }, - "value": "-" + "value": "+" }, { "type": "Identifier", - "start": 4559, - "end": 4567, + "start": 5096, + "end": 5104, "loc": { "start": { - "line": 149, + "line": 163, "column": 45 }, "end": { - "line": 149, + "line": 163, "column": 53 }, "identifierName": "caretPos" @@ -8717,43 +10291,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4582, - "end": 5001, + "start": 5119, + "end": 5440, "loc": { "start": { - "line": 151, + "line": 165, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4585, - "end": 4609, + "start": 5122, + "end": 5150, "loc": { "start": { - "line": 151, + "line": 165, "column": 12 }, "end": { - "line": 151, - "column": 36 + "line": 165, + "column": 40 } }, "left": { "type": "Identifier", - "start": 4585, - "end": 4591, + "start": 5122, + "end": 5128, "loc": { "start": { - "line": 151, + "line": 165, "column": 12 }, "end": { - "line": 151, + "line": 165, "column": 18 }, "identifierName": "button" @@ -8763,65 +10337,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4596, - "end": 4609, + "start": 5133, + "end": 5150, "loc": { "start": { - "line": 151, + "line": 165, "column": 23 }, "end": { - "line": 151, - "column": 36 + "line": 165, + "column": 40 } }, "extra": { - "rawValue": "{numpadadd}", - "raw": "\"{numpadadd}\"" + "rawValue": "{numpaddecimal}", + "raw": "\"{numpaddecimal}\"" }, - "value": "{numpadadd}" + "value": "{numpaddecimal}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4618, - "end": 4667, + "start": 5159, + "end": 5208, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4618, - "end": 4666, + "start": 5159, + "end": 5207, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4618, - "end": 4624, + "start": 5159, + "end": 5165, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 12 }, "identifierName": "output" @@ -8830,58 +10404,58 @@ }, "right": { "type": "CallExpression", - "start": 4627, - "end": 4666, + "start": 5168, + "end": 5207, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4627, - "end": 4643, + "start": 5168, + "end": 5184, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4627, - "end": 4631, + "start": 5168, + "end": 5172, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4632, - "end": 4643, + "start": 5173, + "end": 5184, "loc": { "start": { - "line": 152, + "line": 166, "column": 20 }, "end": { - "line": 152, + "line": 166, "column": 31 }, "identifierName": "addStringAt" @@ -8893,15 +10467,15 @@ "arguments": [ { "type": "Identifier", - "start": 4644, - "end": 4650, + "start": 5185, + "end": 5191, "loc": { "start": { - "line": 152, + "line": 166, "column": 32 }, "end": { - "line": 152, + "line": 166, "column": 38 }, "identifierName": "output" @@ -8910,35 +10484,35 @@ }, { "type": "StringLiteral", - "start": 4652, - "end": 4655, + "start": 5193, + "end": 5196, "loc": { "start": { - "line": 152, + "line": 166, "column": 40 }, "end": { - "line": 152, + "line": 166, "column": 43 } }, "extra": { - "rawValue": "+", - "raw": "'+'" + "rawValue": ".", + "raw": "'.'" }, - "value": "+" + "value": "." }, { "type": "Identifier", - "start": 4657, - "end": 4665, + "start": 5198, + "end": 5206, "loc": { "start": { - "line": 152, + "line": 166, "column": 45 }, "end": { - "line": 152, + "line": 166, "column": 53 }, "identifierName": "caretPos" @@ -8951,111 +10525,180 @@ }, "alternate": { "type": "IfStatement", - "start": 4680, - "end": 5001, + "start": 5221, + "end": 5440, "loc": { "start": { - "line": 154, + "line": 168, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { - "type": "BinaryExpression", - "start": 4683, - "end": 4711, + "type": "LogicalExpression", + "start": 5224, + "end": 5256, "loc": { "start": { - "line": 154, + "line": 168, "column": 12 }, "end": { - "line": 154, - "column": 40 + "line": 168, + "column": 44 } }, "left": { - "type": "Identifier", - "start": 4683, - "end": 4689, + "type": "BinaryExpression", + "start": 5224, + "end": 5238, "loc": { "start": { - "line": 154, + "line": 168, "column": 12 }, "end": { - "line": 154, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4694, - "end": 4711, - "loc": { - "start": { - "line": 154, - "column": 23 - }, - "end": { - "line": 154, - "column": 40 + "line": 168, + "column": 26 } }, - "extra": { - "rawValue": "{numpaddecimal}", - "raw": "\"{numpaddecimal}\"" + "left": { + "type": "Identifier", + "start": 5224, + "end": 5230, + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" }, - "value": "{numpaddecimal}" + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 5235, + "end": 5238, + "loc": { + "start": { + "line": 168, + "column": 23 + }, + "end": { + "line": 168, + "column": 26 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5242, + "end": 5256, + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 44 + } + }, + "left": { + "type": "Identifier", + "start": 5242, + "end": 5248, + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 5253, + "end": 5256, + "loc": { + "start": { + "line": 168, + "column": 41 + }, + "end": { + "line": 168, + "column": 44 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } } }, "consequent": { "type": "ExpressionStatement", - "start": 4720, - "end": 4769, + "start": 5265, + "end": 5317, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, - "column": 55 + "line": 169, + "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4720, - "end": 4768, + "start": 5265, + "end": 5316, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, - "column": 54 + "line": 169, + "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4720, - "end": 4726, + "start": 5265, + "end": 5271, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, + "line": 169, "column": 12 }, "identifierName": "output" @@ -9064,58 +10707,58 @@ }, "right": { "type": "CallExpression", - "start": 4729, - "end": 4768, + "start": 5274, + "end": 5316, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, - "column": 54 + "line": 169, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4729, - "end": 4745, + "start": 5274, + "end": 5290, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, + "line": 169, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4729, - "end": 4733, + "start": 5274, + "end": 5278, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, + "line": 169, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4734, - "end": 4745, + "start": 5279, + "end": 5290, "loc": { "start": { - "line": 155, + "line": 169, "column": 20 }, "end": { - "line": 155, + "line": 169, "column": 31 }, "identifierName": "addStringAt" @@ -9127,15 +10770,15 @@ "arguments": [ { "type": "Identifier", - "start": 4746, - "end": 4752, + "start": 5291, + "end": 5297, "loc": { "start": { - "line": 155, + "line": 169, "column": 32 }, "end": { - "line": 155, + "line": 169, "column": 38 }, "identifierName": "output" @@ -9143,37 +10786,34 @@ "name": "output" }, { - "type": "StringLiteral", - "start": 4754, - "end": 4757, + "type": "Identifier", + "start": 5299, + "end": 5305, "loc": { "start": { - "line": 155, + "line": 169, "column": 40 }, "end": { - "line": 155, - "column": 43 - } + "line": 169, + "column": 46 + }, + "identifierName": "button" }, - "extra": { - "rawValue": ".", - "raw": "'.'" - }, - "value": "." + "name": "button" }, { "type": "Identifier", - "start": 4759, - "end": 4767, + "start": 5307, + "end": 5315, "loc": { "start": { - "line": 155, - "column": 45 + "line": 169, + "column": 48 }, "end": { - "line": 155, - "column": 53 + "line": 169, + "column": 56 }, "identifierName": "caretPos" }, @@ -9185,180 +10825,288 @@ }, "alternate": { "type": "IfStatement", - "start": 4782, - "end": 5001, + "start": 5330, + "end": 5440, "loc": { "start": { - "line": 157, + "line": 171, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "LogicalExpression", - "start": 4785, - "end": 4817, + "start": 5333, + "end": 5379, "loc": { "start": { - "line": 157, + "line": 171, "column": 12 }, "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, "left": { - "type": "BinaryExpression", - "start": 4785, - "end": 4799, + "type": "UnaryExpression", + "start": 5333, + "end": 5354, "loc": { "start": { - "line": 157, + "line": 171, "column": 12 }, "end": { - "line": 157, - "column": 26 + "line": 171, + "column": 33 } }, - "left": { - "type": "Identifier", - "start": 4785, - "end": 4791, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 5334, + "end": 5354, "loc": { "start": { - "line": 157, - "column": 12 + "line": 171, + "column": 13 }, "end": { - "line": 157, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4796, - "end": 4799, - "loc": { - "start": { - "line": 157, - "column": 23 - }, - "end": { - "line": 157, - "column": 26 + "line": 171, + "column": 33 } }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" + "callee": { + "type": "MemberExpression", + "start": 5334, + "end": 5349, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 5334, + "end": 5340, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 19 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 5341, + "end": 5349, + "loc": { + "start": { + "line": 171, + "column": 20 + }, + "end": { + "line": 171, + "column": 28 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false }, - "value": "{" + "arguments": [ + { + "type": "StringLiteral", + "start": 5350, + "end": 5353, + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 32 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + ] + }, + "extra": { + "parenthesizedArgument": false } }, - "operator": "||", + "operator": "&&", "right": { - "type": "BinaryExpression", - "start": 4803, - "end": 4817, + "type": "UnaryExpression", + "start": 5358, + "end": 5379, "loc": { "start": { - "line": 157, - "column": 30 + "line": 171, + "column": 37 }, "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, - "left": { - "type": "Identifier", - "start": 4803, - "end": 4809, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 5359, + "end": 5379, "loc": { "start": { - "line": 157, - "column": 30 + "line": 171, + "column": 38 }, "end": { - "line": 157, - "column": 36 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4814, - "end": 4817, - "loc": { - "start": { - "line": 157, - "column": 41 - }, - "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" + "callee": { + "type": "MemberExpression", + "start": 5359, + "end": 5374, + "loc": { + "start": { + "line": 171, + "column": 38 + }, + "end": { + "line": 171, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 5359, + "end": 5365, + "loc": { + "start": { + "line": 171, + "column": 38 + }, + "end": { + "line": 171, + "column": 44 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 5366, + "end": 5374, + "loc": { + "start": { + "line": 171, + "column": 45 + }, + "end": { + "line": 171, + "column": 53 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false }, - "value": "}" + "arguments": [ + { + "type": "StringLiteral", + "start": 5375, + "end": 5378, + "loc": { + "start": { + "line": 171, + "column": 54 + }, + "end": { + "line": 171, + "column": 57 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } + ] + }, + "extra": { + "parenthesizedArgument": false } } }, "consequent": { "type": "ExpressionStatement", - "start": 4826, - "end": 4878, + "start": 5388, + "end": 5440, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4826, - "end": 4877, + "start": 5388, + "end": 5439, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4826, - "end": 4832, + "start": 5388, + "end": 5394, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 12 }, "identifierName": "output" @@ -9367,58 +11115,58 @@ }, "right": { "type": "CallExpression", - "start": 4835, - "end": 4877, + "start": 5397, + "end": 5439, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4835, - "end": 4851, + "start": 5397, + "end": 5413, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4835, - "end": 4839, + "start": 5397, + "end": 5401, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4840, - "end": 4851, + "start": 5402, + "end": 5413, "loc": { "start": { - "line": 158, + "line": 172, "column": 20 }, "end": { - "line": 158, + "line": 172, "column": 31 }, "identifierName": "addStringAt" @@ -9430,15 +11178,15 @@ "arguments": [ { "type": "Identifier", - "start": 4852, - "end": 4858, + "start": 5414, + "end": 5420, "loc": { "start": { - "line": 158, + "line": 172, "column": 32 }, "end": { - "line": 158, + "line": 172, "column": 38 }, "identifierName": "output" @@ -9447,15 +11195,15 @@ }, { "type": "Identifier", - "start": 4860, - "end": 4866, + "start": 5422, + "end": 5428, "loc": { "start": { - "line": 158, + "line": 172, "column": 40 }, "end": { - "line": 158, + "line": 172, "column": 46 }, "identifierName": "button" @@ -9464,15 +11212,15 @@ }, { "type": "Identifier", - "start": 4868, - "end": 4876, + "start": 5430, + "end": 5438, "loc": { "start": { - "line": 158, + "line": 172, "column": 48 }, "end": { - "line": 158, + "line": 172, "column": 56 }, "identifierName": "caretPos" @@ -9483,416 +11231,7 @@ } } }, - "alternate": { - "type": "IfStatement", - "start": 4891, - "end": 5001, - "loc": { - "start": { - "line": 160, - "column": 9 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "LogicalExpression", - "start": 4894, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 12 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "left": { - "type": "UnaryExpression", - "start": 4894, - "end": 4915, - "loc": { - "start": { - "line": 160, - "column": 12 - }, - "end": { - "line": 160, - "column": 33 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 4895, - "end": 4915, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4895, - "end": 4910, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 4895, - "end": 4901, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 19 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4902, - "end": 4910, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 28 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4911, - "end": 4914, - "loc": { - "start": { - "line": 160, - "column": 29 - }, - "end": { - "line": 160, - "column": 32 - } - }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" - }, - "value": "{" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 4919, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 37 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 4920, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4920, - "end": 4935, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 4920, - "end": 4926, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 44 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4927, - "end": 4935, - "loc": { - "start": { - "line": 160, - "column": 45 - }, - "end": { - "line": 160, - "column": 53 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4936, - "end": 4939, - "loc": { - "start": { - "line": 160, - "column": 54 - }, - "end": { - "line": 160, - "column": 57 - } - }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 4949, - "end": 5001, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4949, - "end": 5000, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 57 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 4949, - "end": 4955, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 4958, - "end": 5000, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4958, - "end": 4974, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 4958, - "end": 4962, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 4963, - "end": 4974, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4975, - "end": 4981, - "loc": { - "start": { - "line": 161, - "column": 32 - }, - "end": { - "line": 161, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "Identifier", - "start": 4983, - "end": 4989, - "loc": { - "start": { - "line": 161, - "column": 40 - }, - "end": { - "line": 161, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "Identifier", - "start": 4991, - "end": 4999, - "loc": { - "start": { - "line": 161, - "column": 48 - }, - "end": { - "line": 161, - "column": 56 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - }, - "alternate": null - } + "alternate": null } } } @@ -9903,58 +11242,57 @@ } } } + } + }, + { + "type": "ReturnStatement", + "start": 5448, + "end": 5462, + "loc": { + "start": { + "line": 174, + "column": 4 + }, + "end": { + "line": 174, + "column": 18 + } }, - { - "type": "ReturnStatement", - "start": 5009, - "end": 5023, + "argument": { + "type": "Identifier", + "start": 5455, + "end": 5461, "loc": { "start": { - "line": 163, - "column": 4 + "line": 174, + "column": 11 }, "end": { - "line": 163, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 5016, - "end": 5022, - "loc": { - "start": { - "line": 163, - "column": 11 - }, - "end": { - "line": 163, - "column": 17 - }, - "identifierName": "output" + "line": 174, + "column": 17 }, - "name": "output" - } + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -9964,15 +11302,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -9980,16 +11318,16 @@ ] }, { - "type": "ClassProperty", - "start": 5278, - "end": 5621, + "type": "ClassMethod", + "start": 5717, + "end": 6053, "loc": { "start": { - "line": 171, + "line": 182, "column": 2 }, "end": { - "line": 178, + "line": 189, "column": 3 } }, @@ -9997,15 +11335,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5278, - "end": 5292, + "start": 5717, + "end": 5731, "loc": { "start": { - "line": 171, + "line": 182, "column": 2 }, "end": { - "line": 171, + "line": 182, "column": 16 }, "identifierName": "updateCaretPos" @@ -10013,582 +11351,323 @@ "name": "updateCaretPos", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 5295, - "end": 5621, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5732, + "end": 5738, + "loc": { + "start": { + "line": 182, + "column": 17 + }, + "end": { + "line": 182, + "column": 23 + }, + "identifierName": "length" + }, + "name": "length" + }, + { + "type": "Identifier", + "start": 5740, + "end": 5745, + "loc": { + "start": { + "line": 182, + "column": 25 + }, + "end": { + "line": 182, + "column": 30 + }, + "identifierName": "minus" + }, + "name": "minus" + } + ], + "body": { + "type": "BlockStatement", + "start": 5746, + "end": 6053, "loc": { "start": { - "line": 171, - "column": 19 + "line": 182, + "column": 31 }, "end": { - "line": 178, + "line": 189, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 5296, - "end": 5302, + "type": "IfStatement", + "start": 5753, + "end": 6048, "loc": { "start": { - "line": 171, - "column": 20 + "line": 183, + "column": 4 }, "end": { - "line": 171, - "column": 26 - }, - "identifierName": "length" + "line": 188, + "column": 5 + } }, - "name": "length" - }, - { - "type": "Identifier", - "start": 5304, - "end": 5309, - "loc": { - "start": { - "line": 171, - "column": 28 - }, - "end": { - "line": 171, - "column": 33 - }, - "identifierName": "minus" - }, - "name": "minus" - } - ], - "body": { - "type": "BlockStatement", - "start": 5314, - "end": 5621, - "loc": { - "start": { - "line": 171, - "column": 38 - }, - "end": { - "line": 178, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5321, - "end": 5616, + "test": { + "type": "Identifier", + "start": 5756, + "end": 5761, "loc": { "start": { - "line": 172, - "column": 4 + "line": 183, + "column": 7 }, "end": { - "line": 177, + "line": 183, + "column": 12 + }, + "identifierName": "minus" + }, + "name": "minus" + }, + "consequent": { + "type": "BlockStatement", + "start": 5762, + "end": 5931, + "loc": { + "start": { + "line": 183, + "column": 13 + }, + "end": { + "line": 186, "column": 5 } }, - "test": { - "type": "Identifier", - "start": 5324, - "end": 5329, - "loc": { - "start": { - "line": 172, - "column": 7 + "body": [ + { + "type": "IfStatement", + "start": 5771, + "end": 5924, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 185, + "column": 102 + } }, - "end": { - "line": 172, - "column": 12 - }, - "identifierName": "minus" - }, - "name": "minus" - }, - "consequent": { - "type": "BlockStatement", - "start": 5330, - "end": 5499, - "loc": { - "start": { - "line": 172, - "column": 13 - }, - "end": { - "line": 175, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5339, - "end": 5492, + "test": { + "type": "BinaryExpression", + "start": 5774, + "end": 5819, "loc": { "start": { - "line": 173, - "column": 6 + "line": 184, + "column": 9 }, "end": { - "line": 174, - "column": 102 + "line": 184, + "column": 54 } }, - "test": { - "type": "BinaryExpression", - "start": 5342, - "end": 5387, + "left": { + "type": "MemberExpression", + "start": 5774, + "end": 5815, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 54 + "line": 184, + "column": 50 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 5342, - "end": 5383, + "start": 5774, + "end": 5801, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 50 + "line": 184, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 5342, - "end": 5369, + "type": "ThisExpression", + "start": 5774, + "end": 5778, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 36 + "line": 184, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 5342, - "end": 5346, - "loc": { - "start": { - "line": 173, - "column": 9 - }, - "end": { - "line": 173, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 5347, - "end": 5369, - "loc": { - "start": { - "line": 173, - "column": 14 - }, - "end": { - "line": 173, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 5370, - "end": 5383, + "start": 5779, + "end": 5801, "loc": { "start": { - "line": 173, - "column": 37 + "line": 184, + "column": 14 }, "end": { - "line": 173, - "column": 50 + "line": 184, + "column": 36 }, - "identifierName": "caretPosition" + "identifierName": "simpleKeyboardInstance" }, - "name": "caretPosition" + "name": "simpleKeyboardInstance" }, "computed": false }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 5386, - "end": 5387, + "property": { + "type": "Identifier", + "start": 5802, + "end": 5815, "loc": { "start": { - "line": 173, - "column": 53 + "line": 184, + "column": 37 }, "end": { - "line": 173, - "column": 54 - } + "line": 184, + "column": 50 + }, + "identifierName": "caretPosition" }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "name": "caretPosition" + }, + "computed": false }, - "consequent": { - "type": "ExpressionStatement", - "start": 5398, - "end": 5492, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 5818, + "end": 5819, "loc": { "start": { - "line": 174, - "column": 8 + "line": 184, + "column": 53 }, "end": { - "line": 174, - "column": 102 + "line": 184, + "column": 54 } }, - "expression": { - "type": "AssignmentExpression", - "start": 5398, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 102 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5398, - "end": 5439, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 5398, - "end": 5425, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 5398, - "end": 5402, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 5403, - "end": 5425, - "loc": { - "start": { - "line": 174, - "column": 13 - }, - "end": { - "line": 174, - "column": 35 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5426, - "end": 5439, - "loc": { - "start": { - "line": 174, - "column": 36 - }, - "end": { - "line": 174, - "column": 49 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 5442, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 102 - } - }, - "left": { - "type": "MemberExpression", - "start": 5442, - "end": 5483, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 93 - } - }, - "object": { - "type": "MemberExpression", - "start": 5442, - "end": 5469, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 79 - } - }, - "object": { - "type": "ThisExpression", - "start": 5442, - "end": 5446, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 56 - } - } - }, - "property": { - "type": "Identifier", - "start": 5447, - "end": 5469, - "loc": { - "start": { - "line": 174, - "column": 57 - }, - "end": { - "line": 174, - "column": 79 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5470, - "end": 5483, - "loc": { - "start": { - "line": 174, - "column": 80 - }, - "end": { - "line": 174, - "column": 93 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 5486, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 96 - }, - "end": { - "line": 174, - "column": 102 - }, - "identifierName": "length" - }, - "name": "length" - } - } - } - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 5505, - "end": 5616, - "loc": { - "start": { - "line": 175, - "column": 11 + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, - "end": { - "line": 177, - "column": 5 - } - }, - "body": [ - { + "consequent": { "type": "ExpressionStatement", - "start": 5514, - "end": 5609, + "start": 5830, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 101 + "line": 185, + "column": 102 } }, "expression": { "type": "AssignmentExpression", - "start": 5514, - "end": 5608, + "start": 5830, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5514, - "end": 5555, + "start": 5830, + "end": 5871, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 47 + "line": 185, + "column": 49 } }, "object": { "type": "MemberExpression", - "start": 5514, - "end": 5541, + "start": 5830, + "end": 5857, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 33 + "line": 185, + "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5514, - "end": 5518, + "start": 5830, + "end": 5834, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 10 + "line": 185, + "column": 12 } } }, "property": { "type": "Identifier", - "start": 5519, - "end": 5541, + "start": 5835, + "end": 5857, "loc": { "start": { - "line": 176, - "column": 11 + "line": 185, + "column": 13 }, "end": { - "line": 176, - "column": 33 + "line": 185, + "column": 35 }, "identifierName": "simpleKeyboardInstance" }, @@ -10598,16 +11677,16 @@ }, "property": { "type": "Identifier", - "start": 5542, - "end": 5555, + "start": 5858, + "end": 5871, "loc": { "start": { - "line": 176, - "column": 34 + "line": 185, + "column": 36 }, "end": { - "line": 176, - "column": 47 + "line": 185, + "column": 49 }, "identifierName": "caretPosition" }, @@ -10617,73 +11696,73 @@ }, "right": { "type": "BinaryExpression", - "start": 5558, - "end": 5608, + "start": 5874, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 } }, "left": { "type": "MemberExpression", - "start": 5558, - "end": 5599, + "start": 5874, + "end": 5915, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 91 + "line": 185, + "column": 93 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5585, + "start": 5874, + "end": 5901, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 77 + "line": 185, + "column": 79 } }, "object": { "type": "ThisExpression", - "start": 5558, - "end": 5562, + "start": 5874, + "end": 5878, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 54 + "line": 185, + "column": 56 } } }, "property": { "type": "Identifier", - "start": 5563, - "end": 5585, + "start": 5879, + "end": 5901, "loc": { "start": { - "line": 176, - "column": 55 + "line": 185, + "column": 57 }, "end": { - "line": 176, - "column": 77 + "line": 185, + "column": 79 }, "identifierName": "simpleKeyboardInstance" }, @@ -10693,16 +11772,16 @@ }, "property": { "type": "Identifier", - "start": 5586, - "end": 5599, + "start": 5902, + "end": 5915, "loc": { "start": { - "line": 176, - "column": 78 + "line": 185, + "column": 80 }, "end": { - "line": 176, - "column": 91 + "line": 185, + "column": 93 }, "identifierName": "caretPosition" }, @@ -10710,19 +11789,19 @@ }, "computed": false }, - "operator": "+", + "operator": "-", "right": { "type": "Identifier", - "start": 5602, - "end": 5608, + "start": 5918, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 94 + "line": 185, + "column": 96 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 }, "identifierName": "length" }, @@ -10730,30 +11809,274 @@ } } } + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 5937, + "end": 6048, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 188, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5946, + "end": 6041, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 101 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5946, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 100 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5946, + "end": 5987, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 5946, + "end": 5973, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5946, + "end": 5950, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 5951, + "end": 5973, + "loc": { + "start": { + "line": 187, + "column": 11 + }, + "end": { + "line": 187, + "column": 33 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5974, + "end": 5987, + "loc": { + "start": { + "line": 187, + "column": 34 + }, + "end": { + "line": 187, + "column": 47 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 5990, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 100 + } + }, + "left": { + "type": "MemberExpression", + "start": 5990, + "end": 6031, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 91 + } + }, + "object": { + "type": "MemberExpression", + "start": 5990, + "end": 6017, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 77 + } + }, + "object": { + "type": "ThisExpression", + "start": 5990, + "end": 5994, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "start": 5995, + "end": 6017, + "loc": { + "start": { + "line": 187, + "column": 55 + }, + "end": { + "line": 187, + "column": 77 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6018, + "end": 6031, + "loc": { + "start": { + "line": 187, + "column": 78 + }, + "end": { + "line": 187, + "column": 91 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 6034, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 94 + }, + "end": { + "line": 187, + "column": 100 + }, + "identifierName": "length" + }, + "name": "length" + } + } } - ], - "directives": [] - } + } + ], + "directives": [] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -10763,15 +12086,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -10780,15 +12103,15 @@ }, { "type": "ClassMethod", - "start": 5883, - "end": 6428, + "start": 6315, + "end": 6860, "loc": { "start": { - "line": 187, + "line": 198, "column": 2 }, "end": { - "line": 209, + "line": 220, "column": 3 } }, @@ -10796,15 +12119,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5883, - "end": 5894, + "start": 6315, + "end": 6326, "loc": { "start": { - "line": 187, + "line": 198, "column": 2 }, "end": { - "line": 187, + "line": 198, "column": 13 }, "identifierName": "addStringAt" @@ -10820,15 +12143,15 @@ "params": [ { "type": "Identifier", - "start": 5895, - "end": 5901, + "start": 6327, + "end": 6333, "loc": { "start": { - "line": 187, + "line": 198, "column": 14 }, "end": { - "line": 187, + "line": 198, "column": 20 }, "identifierName": "source" @@ -10837,15 +12160,15 @@ }, { "type": "Identifier", - "start": 5903, - "end": 5909, + "start": 6335, + "end": 6341, "loc": { "start": { - "line": 187, + "line": 198, "column": 22 }, "end": { - "line": 187, + "line": 198, "column": 28 }, "identifierName": "string" @@ -10854,15 +12177,15 @@ }, { "type": "Identifier", - "start": 5911, - "end": 5919, + "start": 6343, + "end": 6351, "loc": { "start": { - "line": 187, + "line": 198, "column": 30 }, "end": { - "line": 187, + "line": 198, "column": 38 }, "identifierName": "position" @@ -10872,59 +12195,59 @@ ], "body": { "type": "BlockStatement", - "start": 5920, - "end": 6428, + "start": 6352, + "end": 6860, "loc": { "start": { - "line": 187, + "line": 198, "column": 39 }, "end": { - "line": 209, + "line": 220, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 5927, - "end": 5938, + "start": 6359, + "end": 6370, "loc": { "start": { - "line": 188, + "line": 199, "column": 4 }, "end": { - "line": 188, + "line": 199, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5931, - "end": 5937, + "start": 6363, + "end": 6369, "loc": { "start": { - "line": 188, + "line": 199, "column": 8 }, "end": { - "line": 188, + "line": 199, "column": 14 } }, "id": { "type": "Identifier", - "start": 5931, - "end": 5937, + "start": 6363, + "end": 6369, "loc": { "start": { - "line": 188, + "line": 199, "column": 8 }, "end": { - "line": 188, + "line": 199, "column": 14 }, "identifierName": "output" @@ -10938,86 +12261,86 @@ }, { "type": "IfStatement", - "start": 5946, - "end": 6042, + "start": 6378, + "end": 6474, "loc": { "start": { - "line": 190, + "line": 201, "column": 4 }, "end": { - "line": 192, + "line": 203, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 5949, - "end": 5990, + "start": 6381, + "end": 6422, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5949, - "end": 5984, + "start": 6381, + "end": 6416, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 5949, - "end": 5976, + "start": 6381, + "end": 6408, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 5949, - "end": 5953, + "start": 6381, + "end": 6385, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 11 } } }, "property": { "type": "Identifier", - "start": 5954, - "end": 5976, + "start": 6386, + "end": 6408, "loc": { "start": { - "line": 190, + "line": 201, "column": 12 }, "end": { - "line": 190, + "line": 201, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -11028,15 +12351,15 @@ }, "property": { "type": "Identifier", - "start": 5977, - "end": 5984, + "start": 6409, + "end": 6416, "loc": { "start": { - "line": 190, + "line": 201, "column": 35 }, "end": { - "line": 190, + "line": 201, "column": 42 }, "identifierName": "options" @@ -11047,15 +12370,15 @@ }, "property": { "type": "Identifier", - "start": 5985, - "end": 5990, + "start": 6417, + "end": 6422, "loc": { "start": { - "line": 190, + "line": 201, "column": 43 }, "end": { - "line": 190, + "line": 201, "column": 48 }, "identifierName": "debug" @@ -11066,72 +12389,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 5991, - "end": 6042, + "start": 6423, + "end": 6474, "loc": { "start": { - "line": 190, + "line": 201, "column": 49 }, "end": { - "line": 192, + "line": 203, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6000, - "end": 6035, + "start": 6432, + "end": 6467, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 6000, - "end": 6034, + "start": 6432, + "end": 6466, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 6000, - "end": 6011, + "start": 6432, + "end": 6443, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 17 } }, "object": { "type": "Identifier", - "start": 6000, - "end": 6007, + "start": 6432, + "end": 6439, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 13 }, "identifierName": "console" @@ -11140,15 +12463,15 @@ }, "property": { "type": "Identifier", - "start": 6008, - "end": 6011, + "start": 6440, + "end": 6443, "loc": { "start": { - "line": 191, + "line": 202, "column": 14 }, "end": { - "line": 191, + "line": 202, "column": 17 }, "identifierName": "log" @@ -11160,15 +12483,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6012, - "end": 6023, + "start": 6444, + "end": 6455, "loc": { "start": { - "line": 191, + "line": 202, "column": 18 }, "end": { - "line": 191, + "line": 202, "column": 29 } }, @@ -11180,15 +12503,15 @@ }, { "type": "Identifier", - "start": 6025, - "end": 6033, + "start": 6457, + "end": 6465, "loc": { "start": { - "line": 191, + "line": 202, "column": 31 }, "end": { - "line": 191, + "line": 202, "column": 39 }, "identifierName": "position" @@ -11205,43 +12528,43 @@ }, { "type": "IfStatement", - "start": 6050, - "end": 6401, + "start": 6482, + "end": 6833, "loc": { "start": { - "line": 194, + "line": 205, "column": 4 }, "end": { - "line": 206, + "line": 217, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 6053, - "end": 6080, + "start": 6485, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 7 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 6053, - "end": 6062, + "start": 6485, + "end": 6494, "loc": { "start": { - "line": 194, + "line": 205, "column": 7 }, "end": { - "line": 194, + "line": 205, "column": 16 } }, @@ -11249,15 +12572,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6054, - "end": 6062, + "start": 6486, + "end": 6494, "loc": { "start": { - "line": 194, + "line": 205, "column": 8 }, "end": { - "line": 194, + "line": 205, "column": 16 }, "identifierName": "position" @@ -11271,29 +12594,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 6066, - "end": 6080, + "start": 6498, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 20 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, "left": { "type": "Identifier", - "start": 6066, - "end": 6074, + "start": 6498, + "end": 6506, "loc": { "start": { - "line": 194, + "line": 205, "column": 20 }, "end": { - "line": 194, + "line": 205, "column": 28 }, "identifierName": "position" @@ -11303,15 +12626,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 6079, - "end": 6080, + "start": 6511, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 33 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, @@ -11325,59 +12648,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6081, - "end": 6122, + "start": 6513, + "end": 6554, "loc": { "start": { - "line": 194, + "line": 205, "column": 35 }, "end": { - "line": 196, + "line": 207, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6090, - "end": 6115, + "start": 6522, + "end": 6547, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 6090, - "end": 6114, + "start": 6522, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6090, - "end": 6096, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 12 }, "identifierName": "output" @@ -11386,29 +12709,29 @@ }, "right": { "type": "BinaryExpression", - "start": 6099, - "end": 6114, + "start": 6531, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 15 }, "end": { - "line": 195, + "line": 206, "column": 30 } }, "left": { "type": "Identifier", - "start": 6099, - "end": 6105, + "start": 6531, + "end": 6537, "loc": { "start": { - "line": 195, + "line": 206, "column": 15 }, "end": { - "line": 195, + "line": 206, "column": 21 }, "identifierName": "source" @@ -11418,15 +12741,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6108, - "end": 6114, + "start": 6540, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 24 }, "end": { - "line": 195, + "line": 206, "column": 30 }, "identifierName": "string" @@ -11441,59 +12764,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 6128, - "end": 6401, + "start": 6560, + "end": 6833, "loc": { "start": { - "line": 196, + "line": 207, "column": 11 }, "end": { - "line": 206, + "line": 217, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6137, - "end": 6215, + "start": 6569, + "end": 6647, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 6137, - "end": 6214, + "start": 6569, + "end": 6646, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 83 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6137, - "end": 6143, + "start": 6569, + "end": 6575, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 12 }, "identifierName": "output" @@ -11502,86 +12825,86 @@ }, "right": { "type": "CallExpression", - "start": 6146, - "end": 6214, + "start": 6578, + "end": 6646, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 6146, - "end": 6210, + "start": 6578, + "end": 6642, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 79 } }, "object": { "type": "ArrayExpression", - "start": 6146, - "end": 6205, + "start": 6578, + "end": 6637, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 74 } }, "elements": [ { "type": "CallExpression", - "start": 6147, - "end": 6172, + "start": 6579, + "end": 6604, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 6147, - "end": 6159, + "start": 6579, + "end": 6591, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 28 } }, "object": { "type": "Identifier", - "start": 6147, - "end": 6153, + "start": 6579, + "end": 6585, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 22 }, "identifierName": "source" @@ -11590,15 +12913,15 @@ }, "property": { "type": "Identifier", - "start": 6154, - "end": 6159, + "start": 6586, + "end": 6591, "loc": { "start": { - "line": 197, + "line": 208, "column": 23 }, "end": { - "line": 197, + "line": 208, "column": 28 }, "identifierName": "slice" @@ -11610,15 +12933,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6160, - "end": 6161, + "start": 6592, + "end": 6593, "loc": { "start": { - "line": 197, + "line": 208, "column": 29 }, "end": { - "line": 197, + "line": 208, "column": 30 } }, @@ -11630,15 +12953,15 @@ }, { "type": "Identifier", - "start": 6163, - "end": 6171, + "start": 6595, + "end": 6603, "loc": { "start": { - "line": 197, + "line": 208, "column": 32 }, "end": { - "line": 197, + "line": 208, "column": 40 }, "identifierName": "position" @@ -11649,15 +12972,15 @@ }, { "type": "Identifier", - "start": 6174, - "end": 6180, + "start": 6606, + "end": 6612, "loc": { "start": { - "line": 197, + "line": 208, "column": 43 }, "end": { - "line": 197, + "line": 208, "column": 49 }, "identifierName": "string" @@ -11666,43 +12989,43 @@ }, { "type": "CallExpression", - "start": 6182, - "end": 6204, + "start": 6614, + "end": 6636, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6182, - "end": 6194, + "start": 6614, + "end": 6626, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 63 } }, "object": { "type": "Identifier", - "start": 6182, - "end": 6188, + "start": 6614, + "end": 6620, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 57 }, "identifierName": "source" @@ -11711,15 +13034,15 @@ }, "property": { "type": "Identifier", - "start": 6189, - "end": 6194, + "start": 6621, + "end": 6626, "loc": { "start": { - "line": 197, + "line": 208, "column": 58 }, "end": { - "line": 197, + "line": 208, "column": 63 }, "identifierName": "slice" @@ -11731,15 +13054,15 @@ "arguments": [ { "type": "Identifier", - "start": 6195, - "end": 6203, + "start": 6627, + "end": 6635, "loc": { "start": { - "line": 197, + "line": 208, "column": 64 }, "end": { - "line": 197, + "line": 208, "column": 72 }, "identifierName": "position" @@ -11752,15 +13075,15 @@ }, "property": { "type": "Identifier", - "start": 6206, - "end": 6210, + "start": 6638, + "end": 6642, "loc": { "start": { - "line": 197, + "line": 208, "column": 75 }, "end": { - "line": 197, + "line": 208, "column": 79 }, "identifierName": "join" @@ -11772,15 +13095,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6211, - "end": 6213, + "start": 6643, + "end": 6645, "loc": { "start": { - "line": 197, + "line": 208, "column": 80 }, "end": { - "line": 197, + "line": 208, "column": 82 } }, @@ -11797,15 +13120,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -11814,29 +13137,29 @@ }, { "type": "IfStatement", - "start": 6307, - "end": 6392, + "start": 6739, + "end": 6824, "loc": { "start": { - "line": 202, + "line": 213, "column": 6 }, "end": { - "line": 204, + "line": 215, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 6310, - "end": 6336, + "start": 6742, + "end": 6768, "loc": { "start": { - "line": 202, + "line": 213, "column": 9 }, "end": { - "line": 202, + "line": 213, "column": 35 } }, @@ -11844,43 +13167,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 6311, - "end": 6336, + "start": 6743, + "end": 6768, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 6311, - "end": 6334, + "start": 6743, + "end": 6766, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 6311, - "end": 6315, + "start": 6743, + "end": 6747, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 14 } }, @@ -11888,15 +13211,15 @@ }, "property": { "type": "Identifier", - "start": 6316, - "end": 6334, + "start": 6748, + "end": 6766, "loc": { "start": { - "line": 202, + "line": 213, "column": 15 }, "end": { - "line": 202, + "line": 213, "column": 33 }, "identifierName": "isMaxLengthReached" @@ -11916,87 +13239,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6337, - "end": 6392, + "start": 6769, + "end": 6824, "loc": { "start": { - "line": 202, + "line": 213, "column": 36 }, "end": { - "line": 204, + "line": 215, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 6348, - "end": 6383, + "start": 6780, + "end": 6815, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6348, - "end": 6382, + "start": 6780, + "end": 6814, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6348, - "end": 6367, + "start": 6780, + "end": 6799, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 6348, - "end": 6352, + "start": 6780, + "end": 6784, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6353, - "end": 6367, + "start": 6785, + "end": 6799, "loc": { "start": { - "line": 203, + "line": 214, "column": 13 }, "end": { - "line": 203, + "line": 214, "column": 27 }, "identifierName": "updateCaretPos" @@ -12008,29 +13331,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6368, - "end": 6381, + "start": 6800, + "end": 6813, "loc": { "start": { - "line": 203, + "line": 214, "column": 28 }, "end": { - "line": 203, + "line": 214, "column": 41 } }, "object": { "type": "Identifier", - "start": 6368, - "end": 6374, + "start": 6800, + "end": 6806, "loc": { "start": { - "line": 203, + "line": 214, "column": 28 }, "end": { - "line": 203, + "line": 214, "column": 34 }, "identifierName": "string" @@ -12039,15 +13362,15 @@ }, "property": { "type": "Identifier", - "start": 6375, - "end": 6381, + "start": 6807, + "end": 6813, "loc": { "start": { - "line": 203, + "line": 214, "column": 35 }, "end": { - "line": 203, + "line": 214, "column": 41 }, "identifierName": "length" @@ -12067,15 +13390,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -12088,29 +13411,29 @@ }, { "type": "ReturnStatement", - "start": 6409, - "end": 6423, + "start": 6841, + "end": 6855, "loc": { "start": { - "line": 208, + "line": 219, "column": 4 }, "end": { - "line": 208, + "line": 219, "column": 18 } }, "argument": { "type": "Identifier", - "start": 6416, - "end": 6422, + "start": 6848, + "end": 6854, "loc": { "start": { - "line": 208, + "line": 219, "column": 11 }, "end": { - "line": 208, + "line": 219, "column": 17 }, "identifierName": "output" @@ -12126,15 +13449,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -12144,15 +13467,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -12161,15 +13484,15 @@ }, { "type": "ClassMethod", - "start": 6658, - "end": 7888, + "start": 7090, + "end": 8320, "loc": { "start": { - "line": 217, + "line": 228, "column": 2 }, "end": { - "line": 256, + "line": 267, "column": 3 } }, @@ -12177,15 +13500,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6658, - "end": 6666, + "start": 7090, + "end": 7098, "loc": { "start": { - "line": 217, + "line": 228, "column": 2 }, "end": { - "line": 217, + "line": 228, "column": 10 }, "identifierName": "removeAt" @@ -12201,15 +13524,15 @@ "params": [ { "type": "Identifier", - "start": 6667, - "end": 6673, + "start": 7099, + "end": 7105, "loc": { "start": { - "line": 217, + "line": 228, "column": 11 }, "end": { - "line": 217, + "line": 228, "column": 17 }, "identifierName": "source" @@ -12218,15 +13541,15 @@ }, { "type": "Identifier", - "start": 6675, - "end": 6683, + "start": 7107, + "end": 7115, "loc": { "start": { - "line": 217, + "line": 228, "column": 19 }, "end": { - "line": 217, + "line": 228, "column": 27 }, "identifierName": "position" @@ -12236,101 +13559,101 @@ ], "body": { "type": "BlockStatement", - "start": 6684, - "end": 7888, + "start": 7116, + "end": 8320, "loc": { "start": { - "line": 217, + "line": 228, "column": 28 }, "end": { - "line": 256, + "line": 267, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 6691, - "end": 6772, + "start": 7123, + "end": 7204, "loc": { "start": { - "line": 218, + "line": 229, "column": 4 }, "end": { - "line": 220, + "line": 231, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 6694, - "end": 6741, + "start": 7126, + "end": 7173, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 6694, - "end": 6735, + "start": 7126, + "end": 7167, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6694, - "end": 6721, + "start": 7126, + "end": 7153, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 6694, - "end": 6698, + "start": 7126, + "end": 7130, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 11 } } }, "property": { "type": "Identifier", - "start": 6699, - "end": 6721, + "start": 7131, + "end": 7153, "loc": { "start": { - "line": 218, + "line": 229, "column": 12 }, "end": { - "line": 218, + "line": 229, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -12341,15 +13664,15 @@ }, "property": { "type": "Identifier", - "start": 6722, - "end": 6735, + "start": 7154, + "end": 7167, "loc": { "start": { - "line": 218, + "line": 229, "column": 35 }, "end": { - "line": 218, + "line": 229, "column": 48 }, "identifierName": "caretPosition" @@ -12361,15 +13684,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 6740, - "end": 6741, + "start": 7172, + "end": 7173, "loc": { "start": { - "line": 218, + "line": 229, "column": 53 }, "end": { - "line": 218, + "line": 229, "column": 54 } }, @@ -12382,44 +13705,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 6742, - "end": 6772, + "start": 7174, + "end": 7204, "loc": { "start": { - "line": 218, + "line": 229, "column": 55 }, "end": { - "line": 220, + "line": 231, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 6751, - "end": 6765, + "start": 7183, + "end": 7197, "loc": { "start": { - "line": 219, + "line": 230, "column": 6 }, "end": { - "line": 219, + "line": 230, "column": 20 } }, "argument": { "type": "Identifier", - "start": 6758, - "end": 6764, + "start": 7190, + "end": 7196, "loc": { "start": { - "line": 219, + "line": 230, "column": 13 }, "end": { - "line": 219, + "line": 230, "column": 19 }, "identifierName": "source" @@ -12434,44 +13757,44 @@ }, { "type": "VariableDeclaration", - "start": 6780, - "end": 6791, + "start": 7212, + "end": 7223, "loc": { "start": { - "line": 222, + "line": 233, "column": 4 }, "end": { - "line": 222, + "line": 233, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6784, - "end": 6790, + "start": 7216, + "end": 7222, "loc": { "start": { - "line": 222, + "line": 233, "column": 8 }, "end": { - "line": 222, + "line": 233, "column": 14 } }, "id": { "type": "Identifier", - "start": 6784, - "end": 6790, + "start": 7216, + "end": 7222, "loc": { "start": { - "line": 222, + "line": 233, "column": 8 }, "end": { - "line": 222, + "line": 233, "column": 14 }, "identifierName": "output" @@ -12485,44 +13808,44 @@ }, { "type": "VariableDeclaration", - "start": 6797, - "end": 6814, + "start": 7229, + "end": 7246, "loc": { "start": { - "line": 223, + "line": 234, "column": 4 }, "end": { - "line": 223, + "line": 234, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6801, - "end": 6813, + "start": 7233, + "end": 7245, "loc": { "start": { - "line": 223, + "line": 234, "column": 8 }, "end": { - "line": 223, + "line": 234, "column": 20 } }, "id": { "type": "Identifier", - "start": 6801, - "end": 6813, + "start": 7233, + "end": 7245, "loc": { "start": { - "line": 223, + "line": 234, "column": 8 }, "end": { - "line": 223, + "line": 234, "column": 20 }, "identifierName": "prevTwoChars" @@ -12536,44 +13859,44 @@ }, { "type": "VariableDeclaration", - "start": 6820, - "end": 6837, + "start": 7252, + "end": 7269, "loc": { "start": { - "line": 224, + "line": 235, "column": 4 }, "end": { - "line": 224, + "line": 235, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6824, - "end": 6836, + "start": 7256, + "end": 7268, "loc": { "start": { - "line": 224, + "line": 235, "column": 8 }, "end": { - "line": 224, + "line": 235, "column": 20 } }, "id": { "type": "Identifier", - "start": 6824, - "end": 6836, + "start": 7256, + "end": 7268, "loc": { "start": { - "line": 224, + "line": 235, "column": 8 }, "end": { - "line": 224, + "line": 235, "column": 20 }, "identifierName": "emojiMatched" @@ -12587,44 +13910,44 @@ }, { "type": "VariableDeclaration", - "start": 6843, - "end": 6901, + "start": 7275, + "end": 7333, "loc": { "start": { - "line": 225, + "line": 236, "column": 4 }, "end": { - "line": 225, + "line": 236, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6847, - "end": 6900, + "start": 7279, + "end": 7332, "loc": { "start": { - "line": 225, + "line": 236, "column": 8 }, "end": { - "line": 225, + "line": 236, "column": 61 } }, "id": { "type": "Identifier", - "start": 6847, - "end": 6862, + "start": 7279, + "end": 7294, "loc": { "start": { - "line": 225, + "line": 236, "column": 8 }, "end": { - "line": 225, + "line": 236, "column": 23 }, "identifierName": "emojiMatchedReg" @@ -12633,15 +13956,15 @@ }, "init": { "type": "RegExpLiteral", - "start": 6865, - "end": 6900, + "start": 7297, + "end": 7332, "loc": { "start": { - "line": 225, + "line": 236, "column": 26 }, "end": { - "line": 225, + "line": 236, "column": 61 } }, @@ -12658,15 +13981,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -12675,43 +13998,43 @@ }, { "type": "IfStatement", - "start": 7095, - "end": 7861, + "start": 7527, + "end": 8293, "loc": { "start": { - "line": 231, + "line": 242, "column": 4 }, "end": { - "line": 253, + "line": 264, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 7098, - "end": 7123, + "start": 7530, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 7 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, "left": { "type": "Identifier", - "start": 7098, - "end": 7106, + "start": 7530, + "end": 7538, "loc": { "start": { - "line": 231, + "line": 242, "column": 7 }, "end": { - "line": 231, + "line": 242, "column": 15 }, "identifierName": "position" @@ -12722,29 +14045,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7110, - "end": 7123, + "start": 7542, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 19 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, "left": { "type": "Identifier", - "start": 7110, - "end": 7118, + "start": 7542, + "end": 7550, "loc": { "start": { - "line": 231, + "line": 242, "column": 19 }, "end": { - "line": 231, + "line": 242, "column": 27 }, "identifierName": "position" @@ -12754,15 +14077,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7122, - "end": 7123, + "start": 7554, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 31 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, @@ -12777,59 +14100,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7124, - "end": 7540, + "start": 7556, + "end": 7972, "loc": { "start": { - "line": 231, + "line": 242, "column": 33 }, "end": { - "line": 242, + "line": 253, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7133, - "end": 7188, + "start": 7565, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 7133, - "end": 7188, + "start": 7565, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7133, - "end": 7145, + "start": 7565, + "end": 7577, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 18 }, "identifierName": "prevTwoChars" @@ -12838,43 +14161,43 @@ }, "right": { "type": "CallExpression", - "start": 7148, - "end": 7188, + "start": 7580, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 7148, - "end": 7164, + "start": 7580, + "end": 7596, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 37 } }, "object": { "type": "Identifier", - "start": 7148, - "end": 7154, + "start": 7580, + "end": 7586, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 27 }, "identifierName": "source" @@ -12883,15 +14206,15 @@ }, "property": { "type": "Identifier", - "start": 7155, - "end": 7164, + "start": 7587, + "end": 7596, "loc": { "start": { - "line": 232, + "line": 243, "column": 28 }, "end": { - "line": 232, + "line": 243, "column": 37 }, "identifierName": "substring" @@ -12903,29 +14226,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7165, - "end": 7177, + "start": 7597, + "end": 7609, "loc": { "start": { - "line": 232, + "line": 243, "column": 38 }, "end": { - "line": 232, + "line": 243, "column": 50 } }, "left": { "type": "Identifier", - "start": 7165, - "end": 7173, + "start": 7597, + "end": 7605, "loc": { "start": { - "line": 232, + "line": 243, "column": 38 }, "end": { - "line": 232, + "line": 243, "column": 46 }, "identifierName": "position" @@ -12935,15 +14258,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7176, - "end": 7177, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 232, + "line": 243, "column": 49 }, "end": { - "line": 232, + "line": 243, "column": 50 } }, @@ -12956,15 +14279,15 @@ }, { "type": "Identifier", - "start": 7179, - "end": 7187, + "start": 7611, + "end": 7619, "loc": { "start": { - "line": 232, + "line": 243, "column": 52 }, "end": { - "line": 232, + "line": 243, "column": 60 }, "identifierName": "position" @@ -12977,44 +14300,44 @@ }, { "type": "ExpressionStatement", - "start": 7196, - "end": 7247, + "start": 7628, + "end": 7679, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7196, - "end": 7246, + "start": 7628, + "end": 7678, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7196, - "end": 7208, + "start": 7628, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 18 }, "identifierName": "emojiMatched" @@ -13023,43 +14346,43 @@ }, "right": { "type": "CallExpression", - "start": 7211, - "end": 7246, + "start": 7643, + "end": 7678, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7211, - "end": 7229, + "start": 7643, + "end": 7661, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 39 } }, "object": { "type": "Identifier", - "start": 7211, - "end": 7223, + "start": 7643, + "end": 7655, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 33 }, "identifierName": "prevTwoChars" @@ -13068,15 +14391,15 @@ }, "property": { "type": "Identifier", - "start": 7224, - "end": 7229, + "start": 7656, + "end": 7661, "loc": { "start": { - "line": 233, + "line": 244, "column": 34 }, "end": { - "line": 233, + "line": 244, "column": 39 }, "identifierName": "match" @@ -13088,15 +14411,15 @@ "arguments": [ { "type": "Identifier", - "start": 7230, - "end": 7245, + "start": 7662, + "end": 7677, "loc": { "start": { - "line": 233, + "line": 244, "column": 40 }, "end": { - "line": 233, + "line": 244, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -13109,29 +14432,29 @@ }, { "type": "IfStatement", - "start": 7257, - "end": 7533, + "start": 7689, + "end": 7965, "loc": { "start": { - "line": 235, + "line": 246, "column": 6 }, "end": { - "line": 241, + "line": 252, "column": 7 } }, "test": { "type": "Identifier", - "start": 7260, - "end": 7272, + "start": 7692, + "end": 7704, "loc": { "start": { - "line": 235, + "line": 246, "column": 9 }, "end": { - "line": 235, + "line": 246, "column": 21 }, "identifierName": "emojiMatched" @@ -13140,59 +14463,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7273, - "end": 7400, + "start": 7705, + "end": 7832, "loc": { "start": { - "line": 235, + "line": 246, "column": 22 }, "end": { - "line": 238, + "line": 249, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7284, - "end": 7352, + "start": 7716, + "end": 7784, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7284, - "end": 7351, + "start": 7716, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7284, - "end": 7290, + "start": 7716, + "end": 7722, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 14 }, "identifierName": "output" @@ -13201,57 +14524,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7293, - "end": 7351, + "start": 7725, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7293, - "end": 7325, + "start": 7725, + "end": 7757, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7293, - "end": 7306, + "start": 7725, + "end": 7738, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 30 } }, "object": { "type": "Identifier", - "start": 7293, - "end": 7299, + "start": 7725, + "end": 7731, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 23 }, "identifierName": "source" @@ -13260,15 +14583,15 @@ }, "property": { "type": "Identifier", - "start": 7300, - "end": 7306, + "start": 7732, + "end": 7738, "loc": { "start": { - "line": 236, + "line": 247, "column": 24 }, "end": { - "line": 236, + "line": 247, "column": 30 }, "identifierName": "substr" @@ -13280,15 +14603,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7307, - "end": 7308, + "start": 7739, + "end": 7740, "loc": { "start": { - "line": 236, + "line": 247, "column": 31 }, "end": { - "line": 236, + "line": 247, "column": 32 } }, @@ -13300,29 +14623,29 @@ }, { "type": "BinaryExpression", - "start": 7311, - "end": 7323, + "start": 7743, + "end": 7755, "loc": { "start": { - "line": 236, + "line": 247, "column": 35 }, "end": { - "line": 236, + "line": 247, "column": 47 } }, "left": { "type": "Identifier", - "start": 7311, - "end": 7319, + "start": 7743, + "end": 7751, "loc": { "start": { - "line": 236, + "line": 247, "column": 35 }, "end": { - "line": 236, + "line": 247, "column": 43 }, "identifierName": "position" @@ -13332,15 +14655,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7322, - "end": 7323, + "start": 7754, + "end": 7755, "loc": { "start": { - "line": 236, + "line": 247, "column": 46 }, "end": { - "line": 236, + "line": 247, "column": 47 } }, @@ -13352,7 +14675,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7310 + "parenStart": 7742 } } ] @@ -13360,43 +14683,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7328, - "end": 7351, + "start": 7760, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7328, - "end": 7341, + "start": 7760, + "end": 7773, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 65 } }, "object": { "type": "Identifier", - "start": 7328, - "end": 7334, + "start": 7760, + "end": 7766, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 58 }, "identifierName": "source" @@ -13405,15 +14728,15 @@ }, "property": { "type": "Identifier", - "start": 7335, - "end": 7341, + "start": 7767, + "end": 7773, "loc": { "start": { - "line": 236, + "line": 247, "column": 59 }, "end": { - "line": 236, + "line": 247, "column": 65 }, "identifierName": "substr" @@ -13425,15 +14748,15 @@ "arguments": [ { "type": "Identifier", - "start": 7342, - "end": 7350, + "start": 7774, + "end": 7782, "loc": { "start": { - "line": 236, + "line": 247, "column": 66 }, "end": { - "line": 236, + "line": 247, "column": 74 }, "identifierName": "position" @@ -13447,72 +14770,72 @@ }, { "type": "ExpressionStatement", - "start": 7362, - "end": 7391, + "start": 7794, + "end": 7823, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7362, - "end": 7390, + "start": 7794, + "end": 7822, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7362, - "end": 7381, + "start": 7794, + "end": 7813, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7362, - "end": 7366, + "start": 7794, + "end": 7798, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7367, - "end": 7381, + "start": 7799, + "end": 7813, "loc": { "start": { - "line": 237, + "line": 248, "column": 13 }, "end": { - "line": 237, + "line": 248, "column": 27 }, "identifierName": "updateCaretPos" @@ -13524,15 +14847,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7382, - "end": 7383, + "start": 7814, + "end": 7815, "loc": { "start": { - "line": 237, + "line": 248, "column": 28 }, "end": { - "line": 237, + "line": 248, "column": 29 } }, @@ -13544,15 +14867,15 @@ }, { "type": "BooleanLiteral", - "start": 7385, - "end": 7389, + "start": 7817, + "end": 7821, "loc": { "start": { - "line": 237, + "line": 248, "column": 31 }, "end": { - "line": 237, + "line": 248, "column": 35 } }, @@ -13566,59 +14889,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7406, - "end": 7533, + "start": 7838, + "end": 7965, "loc": { "start": { - "line": 238, + "line": 249, "column": 13 }, "end": { - "line": 241, + "line": 252, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7417, - "end": 7485, + "start": 7849, + "end": 7917, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7417, - "end": 7484, + "start": 7849, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7417, - "end": 7423, + "start": 7849, + "end": 7855, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 14 }, "identifierName": "output" @@ -13627,57 +14950,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7426, - "end": 7484, + "start": 7858, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7426, - "end": 7458, + "start": 7858, + "end": 7890, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7426, - "end": 7439, + "start": 7858, + "end": 7871, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 30 } }, "object": { "type": "Identifier", - "start": 7426, - "end": 7432, + "start": 7858, + "end": 7864, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 23 }, "identifierName": "source" @@ -13686,15 +15009,15 @@ }, "property": { "type": "Identifier", - "start": 7433, - "end": 7439, + "start": 7865, + "end": 7871, "loc": { "start": { - "line": 239, + "line": 250, "column": 24 }, "end": { - "line": 239, + "line": 250, "column": 30 }, "identifierName": "substr" @@ -13706,15 +15029,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7440, - "end": 7441, + "start": 7872, + "end": 7873, "loc": { "start": { - "line": 239, + "line": 250, "column": 31 }, "end": { - "line": 239, + "line": 250, "column": 32 } }, @@ -13726,29 +15049,29 @@ }, { "type": "BinaryExpression", - "start": 7444, - "end": 7456, + "start": 7876, + "end": 7888, "loc": { "start": { - "line": 239, + "line": 250, "column": 35 }, "end": { - "line": 239, + "line": 250, "column": 47 } }, "left": { "type": "Identifier", - "start": 7444, - "end": 7452, + "start": 7876, + "end": 7884, "loc": { "start": { - "line": 239, + "line": 250, "column": 35 }, "end": { - "line": 239, + "line": 250, "column": 43 }, "identifierName": "position" @@ -13758,15 +15081,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7455, - "end": 7456, + "start": 7887, + "end": 7888, "loc": { "start": { - "line": 239, + "line": 250, "column": 46 }, "end": { - "line": 239, + "line": 250, "column": 47 } }, @@ -13778,7 +15101,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7443 + "parenStart": 7875 } } ] @@ -13786,43 +15109,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7461, - "end": 7484, + "start": 7893, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7461, - "end": 7474, + "start": 7893, + "end": 7906, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 65 } }, "object": { "type": "Identifier", - "start": 7461, - "end": 7467, + "start": 7893, + "end": 7899, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 58 }, "identifierName": "source" @@ -13831,15 +15154,15 @@ }, "property": { "type": "Identifier", - "start": 7468, - "end": 7474, + "start": 7900, + "end": 7906, "loc": { "start": { - "line": 239, + "line": 250, "column": 59 }, "end": { - "line": 239, + "line": 250, "column": 65 }, "identifierName": "substr" @@ -13851,15 +15174,15 @@ "arguments": [ { "type": "Identifier", - "start": 7475, - "end": 7483, + "start": 7907, + "end": 7915, "loc": { "start": { - "line": 239, + "line": 250, "column": 66 }, "end": { - "line": 239, + "line": 250, "column": 74 }, "identifierName": "position" @@ -13873,72 +15196,72 @@ }, { "type": "ExpressionStatement", - "start": 7495, - "end": 7524, + "start": 7927, + "end": 7956, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7495, - "end": 7523, + "start": 7927, + "end": 7955, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7495, - "end": 7514, + "start": 7927, + "end": 7946, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7495, - "end": 7499, + "start": 7927, + "end": 7931, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7500, - "end": 7514, + "start": 7932, + "end": 7946, "loc": { "start": { - "line": 240, + "line": 251, "column": 13 }, "end": { - "line": 240, + "line": 251, "column": 27 }, "identifierName": "updateCaretPos" @@ -13950,15 +15273,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7515, - "end": 7516, + "start": 7947, + "end": 7948, "loc": { "start": { - "line": 240, + "line": 251, "column": 28 }, "end": { - "line": 240, + "line": 251, "column": 29 } }, @@ -13970,15 +15293,15 @@ }, { "type": "BooleanLiteral", - "start": 7518, - "end": 7522, + "start": 7950, + "end": 7954, "loc": { "start": { - "line": 240, + "line": 251, "column": 31 }, "end": { - "line": 240, + "line": 251, "column": 35 } }, @@ -13996,59 +15319,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7546, - "end": 7861, + "start": 7978, + "end": 8293, "loc": { "start": { - "line": 242, + "line": 253, "column": 11 }, "end": { - "line": 253, + "line": 264, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7555, - "end": 7587, + "start": 7987, + "end": 8019, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 7555, - "end": 7586, + "start": 7987, + "end": 8018, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7555, - "end": 7567, + "start": 7987, + "end": 7999, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 18 }, "identifierName": "prevTwoChars" @@ -14057,43 +15380,43 @@ }, "right": { "type": "CallExpression", - "start": 7570, - "end": 7586, + "start": 8002, + "end": 8018, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 7570, - "end": 7582, + "start": 8002, + "end": 8014, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 33 } }, "object": { "type": "Identifier", - "start": 7570, - "end": 7576, + "start": 8002, + "end": 8008, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 27 }, "identifierName": "source" @@ -14102,15 +15425,15 @@ }, "property": { "type": "Identifier", - "start": 7577, - "end": 7582, + "start": 8009, + "end": 8014, "loc": { "start": { - "line": 243, + "line": 254, "column": 28 }, "end": { - "line": 243, + "line": 254, "column": 33 }, "identifierName": "slice" @@ -14122,15 +15445,15 @@ "arguments": [ { "type": "UnaryExpression", - "start": 7583, - "end": 7585, + "start": 8015, + "end": 8017, "loc": { "start": { - "line": 243, + "line": 254, "column": 34 }, "end": { - "line": 243, + "line": 254, "column": 36 } }, @@ -14138,15 +15461,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7584, - "end": 7585, + "start": 8016, + "end": 8017, "loc": { "start": { - "line": 243, + "line": 254, "column": 35 }, "end": { - "line": 243, + "line": 254, "column": 36 } }, @@ -14166,44 +15489,44 @@ }, { "type": "ExpressionStatement", - "start": 7595, - "end": 7646, + "start": 8027, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7595, - "end": 7645, + "start": 8027, + "end": 8077, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7595, - "end": 7607, + "start": 8027, + "end": 8039, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 18 }, "identifierName": "emojiMatched" @@ -14212,43 +15535,43 @@ }, "right": { "type": "CallExpression", - "start": 7610, - "end": 7645, + "start": 8042, + "end": 8077, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7610, - "end": 7628, + "start": 8042, + "end": 8060, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 39 } }, "object": { "type": "Identifier", - "start": 7610, - "end": 7622, + "start": 8042, + "end": 8054, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 33 }, "identifierName": "prevTwoChars" @@ -14257,15 +15580,15 @@ }, "property": { "type": "Identifier", - "start": 7623, - "end": 7628, + "start": 8055, + "end": 8060, "loc": { "start": { - "line": 244, + "line": 255, "column": 34 }, "end": { - "line": 244, + "line": 255, "column": 39 }, "identifierName": "match" @@ -14277,15 +15600,15 @@ "arguments": [ { "type": "Identifier", - "start": 7629, - "end": 7644, + "start": 8061, + "end": 8076, "loc": { "start": { - "line": 244, + "line": 255, "column": 40 }, "end": { - "line": 244, + "line": 255, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -14298,29 +15621,29 @@ }, { "type": "IfStatement", - "start": 7656, - "end": 7854, + "start": 8088, + "end": 8286, "loc": { "start": { - "line": 246, + "line": 257, "column": 6 }, "end": { - "line": 252, + "line": 263, "column": 7 } }, "test": { "type": "Identifier", - "start": 7659, - "end": 7671, + "start": 8091, + "end": 8103, "loc": { "start": { - "line": 246, + "line": 257, "column": 9 }, "end": { - "line": 246, + "line": 257, "column": 21 }, "identifierName": "emojiMatched" @@ -14329,59 +15652,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7672, - "end": 7760, + "start": 8104, + "end": 8192, "loc": { "start": { - "line": 246, + "line": 257, "column": 22 }, "end": { - "line": 249, + "line": 260, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7683, - "end": 7712, + "start": 8115, + "end": 8144, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 7683, - "end": 7711, + "start": 8115, + "end": 8143, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7683, - "end": 7689, + "start": 8115, + "end": 8121, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 14 }, "identifierName": "output" @@ -14390,43 +15713,43 @@ }, "right": { "type": "CallExpression", - "start": 7692, - "end": 7711, + "start": 8124, + "end": 8143, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7692, - "end": 7704, + "start": 8124, + "end": 8136, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 29 } }, "object": { "type": "Identifier", - "start": 7692, - "end": 7698, + "start": 8124, + "end": 8130, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 23 }, "identifierName": "source" @@ -14435,15 +15758,15 @@ }, "property": { "type": "Identifier", - "start": 7699, - "end": 7704, + "start": 8131, + "end": 8136, "loc": { "start": { - "line": 247, + "line": 258, "column": 24 }, "end": { - "line": 247, + "line": 258, "column": 29 }, "identifierName": "slice" @@ -14455,15 +15778,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7705, - "end": 7706, + "start": 8137, + "end": 8138, "loc": { "start": { - "line": 247, + "line": 258, "column": 30 }, "end": { - "line": 247, + "line": 258, "column": 31 } }, @@ -14475,15 +15798,15 @@ }, { "type": "UnaryExpression", - "start": 7708, - "end": 7710, + "start": 8140, + "end": 8142, "loc": { "start": { - "line": 247, + "line": 258, "column": 33 }, "end": { - "line": 247, + "line": 258, "column": 35 } }, @@ -14491,15 +15814,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7709, - "end": 7710, + "start": 8141, + "end": 8142, "loc": { "start": { - "line": 247, + "line": 258, "column": 34 }, "end": { - "line": 247, + "line": 258, "column": 35 } }, @@ -14519,72 +15842,72 @@ }, { "type": "ExpressionStatement", - "start": 7722, - "end": 7751, + "start": 8154, + "end": 8183, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7722, - "end": 7750, + "start": 8154, + "end": 8182, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7722, - "end": 7741, + "start": 8154, + "end": 8173, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7722, - "end": 7726, + "start": 8154, + "end": 8158, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7727, - "end": 7741, + "start": 8159, + "end": 8173, "loc": { "start": { - "line": 248, + "line": 259, "column": 13 }, "end": { - "line": 248, + "line": 259, "column": 27 }, "identifierName": "updateCaretPos" @@ -14596,15 +15919,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7742, - "end": 7743, + "start": 8174, + "end": 8175, "loc": { "start": { - "line": 248, + "line": 259, "column": 28 }, "end": { - "line": 248, + "line": 259, "column": 29 } }, @@ -14616,15 +15939,15 @@ }, { "type": "BooleanLiteral", - "start": 7745, - "end": 7749, + "start": 8177, + "end": 8181, "loc": { "start": { - "line": 248, + "line": 259, "column": 31 }, "end": { - "line": 248, + "line": 259, "column": 35 } }, @@ -14638,59 +15961,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7766, - "end": 7854, + "start": 8198, + "end": 8286, "loc": { "start": { - "line": 249, + "line": 260, "column": 13 }, "end": { - "line": 252, + "line": 263, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7777, - "end": 7806, + "start": 8209, + "end": 8238, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 7777, - "end": 7805, + "start": 8209, + "end": 8237, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7777, - "end": 7783, + "start": 8209, + "end": 8215, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 14 }, "identifierName": "output" @@ -14699,43 +16022,43 @@ }, "right": { "type": "CallExpression", - "start": 7786, - "end": 7805, + "start": 8218, + "end": 8237, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7786, - "end": 7798, + "start": 8218, + "end": 8230, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 29 } }, "object": { "type": "Identifier", - "start": 7786, - "end": 7792, + "start": 8218, + "end": 8224, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 23 }, "identifierName": "source" @@ -14744,15 +16067,15 @@ }, "property": { "type": "Identifier", - "start": 7793, - "end": 7798, + "start": 8225, + "end": 8230, "loc": { "start": { - "line": 250, + "line": 261, "column": 24 }, "end": { - "line": 250, + "line": 261, "column": 29 }, "identifierName": "slice" @@ -14764,15 +16087,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7799, - "end": 7800, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 250, + "line": 261, "column": 30 }, "end": { - "line": 250, + "line": 261, "column": 31 } }, @@ -14784,15 +16107,15 @@ }, { "type": "UnaryExpression", - "start": 7802, - "end": 7804, + "start": 8234, + "end": 8236, "loc": { "start": { - "line": 250, + "line": 261, "column": 33 }, "end": { - "line": 250, + "line": 261, "column": 35 } }, @@ -14800,15 +16123,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7803, - "end": 7804, + "start": 8235, + "end": 8236, "loc": { "start": { - "line": 250, + "line": 261, "column": 34 }, "end": { - "line": 250, + "line": 261, "column": 35 } }, @@ -14828,72 +16151,72 @@ }, { "type": "ExpressionStatement", - "start": 7816, - "end": 7845, + "start": 8248, + "end": 8277, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7816, - "end": 7844, + "start": 8248, + "end": 8276, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7816, - "end": 7835, + "start": 8248, + "end": 8267, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7816, - "end": 7820, + "start": 8248, + "end": 8252, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7821, - "end": 7835, + "start": 8253, + "end": 8267, "loc": { "start": { - "line": 251, + "line": 262, "column": 13 }, "end": { - "line": 251, + "line": 262, "column": 27 }, "identifierName": "updateCaretPos" @@ -14905,15 +16228,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7836, - "end": 7837, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 251, + "line": 262, "column": 28 }, "end": { - "line": 251, + "line": 262, "column": 29 } }, @@ -14925,15 +16248,15 @@ }, { "type": "BooleanLiteral", - "start": 7839, - "end": 7843, + "start": 8271, + "end": 8275, "loc": { "start": { - "line": 251, + "line": 262, "column": 31 }, "end": { - "line": 251, + "line": 262, "column": 35 } }, @@ -14953,15 +16276,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -14970,29 +16293,29 @@ }, { "type": "ReturnStatement", - "start": 7869, - "end": 7883, + "start": 8301, + "end": 8315, "loc": { "start": { - "line": 255, + "line": 266, "column": 4 }, "end": { - "line": 255, + "line": 266, "column": 18 } }, "argument": { "type": "Identifier", - "start": 7876, - "end": 7882, + "start": 8308, + "end": 8314, "loc": { "start": { - "line": 255, + "line": 266, "column": 11 }, "end": { - "line": 255, + "line": 266, "column": 17 }, "identifierName": "output" @@ -15008,15 +16331,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -15026,15 +16349,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -15043,15 +16366,15 @@ }, { "type": "ClassMethod", - "start": 8127, - "end": 9385, + "start": 8559, + "end": 9817, "loc": { "start": { - "line": 264, + "line": 275, "column": 2 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, @@ -15059,15 +16382,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8127, - "end": 8142, + "start": 8559, + "end": 8574, "loc": { "start": { - "line": 264, + "line": 275, "column": 2 }, "end": { - "line": 264, + "line": 275, "column": 17 }, "identifierName": "handleMaxLength" @@ -15083,15 +16406,15 @@ "params": [ { "type": "Identifier", - "start": 8143, - "end": 8151, + "start": 8575, + "end": 8583, "loc": { "start": { - "line": 264, + "line": 275, "column": 18 }, "end": { - "line": 264, + "line": 275, "column": 26 }, "identifierName": "inputObj" @@ -15100,15 +16423,15 @@ }, { "type": "Identifier", - "start": 8153, - "end": 8160, + "start": 8585, + "end": 8592, "loc": { "start": { - "line": 264, + "line": 275, "column": 28 }, "end": { - "line": 264, + "line": 275, "column": 35 }, "identifierName": "options" @@ -15117,15 +16440,15 @@ }, { "type": "Identifier", - "start": 8162, - "end": 8174, + "start": 8594, + "end": 8606, "loc": { "start": { - "line": 264, + "line": 275, "column": 37 }, "end": { - "line": 264, + "line": 275, "column": 49 }, "identifierName": "updatedInput" @@ -15135,59 +16458,59 @@ ], "body": { "type": "BlockStatement", - "start": 8175, - "end": 9385, + "start": 8607, + "end": 9817, "loc": { "start": { - "line": 264, + "line": 275, "column": 50 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 8182, - "end": 8216, + "start": 8614, + "end": 8648, "loc": { "start": { - "line": 265, + "line": 276, "column": 4 }, "end": { - "line": 265, + "line": 276, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8186, - "end": 8215, + "start": 8618, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 8 }, "end": { - "line": 265, + "line": 276, "column": 37 } }, "id": { "type": "Identifier", - "start": 8186, - "end": 8195, + "start": 8618, + "end": 8627, "loc": { "start": { - "line": 265, + "line": 276, "column": 8 }, "end": { - "line": 265, + "line": 276, "column": 17 }, "identifierName": "maxLength" @@ -15196,29 +16519,29 @@ }, "init": { "type": "MemberExpression", - "start": 8198, - "end": 8215, + "start": 8630, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 20 }, "end": { - "line": 265, + "line": 276, "column": 37 } }, "object": { "type": "Identifier", - "start": 8198, - "end": 8205, + "start": 8630, + "end": 8637, "loc": { "start": { - "line": 265, + "line": 276, "column": 20 }, "end": { - "line": 265, + "line": 276, "column": 27 }, "identifierName": "options" @@ -15227,15 +16550,15 @@ }, "property": { "type": "Identifier", - "start": 8206, - "end": 8215, + "start": 8638, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 28 }, "end": { - "line": 265, + "line": 276, "column": 37 }, "identifierName": "maxLength" @@ -15250,44 +16573,44 @@ }, { "type": "VariableDeclaration", - "start": 8222, - "end": 8269, + "start": 8654, + "end": 8701, "loc": { "start": { - "line": 266, + "line": 277, "column": 4 }, "end": { - "line": 266, + "line": 277, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8226, - "end": 8268, + "start": 8658, + "end": 8700, "loc": { "start": { - "line": 266, + "line": 277, "column": 8 }, "end": { - "line": 266, + "line": 277, "column": 50 } }, "id": { "type": "Identifier", - "start": 8226, - "end": 8238, + "start": 8658, + "end": 8670, "loc": { "start": { - "line": 266, + "line": 277, "column": 8 }, "end": { - "line": 266, + "line": 277, "column": 20 }, "identifierName": "currentInput" @@ -15296,29 +16619,29 @@ }, "init": { "type": "MemberExpression", - "start": 8241, - "end": 8268, + "start": 8673, + "end": 8700, "loc": { "start": { - "line": 266, + "line": 277, "column": 23 }, "end": { - "line": 266, + "line": 277, "column": 50 } }, "object": { "type": "Identifier", - "start": 8241, - "end": 8249, + "start": 8673, + "end": 8681, "loc": { "start": { - "line": 266, + "line": 277, "column": 23 }, "end": { - "line": 266, + "line": 277, "column": 31 }, "identifierName": "inputObj" @@ -15327,29 +16650,29 @@ }, "property": { "type": "MemberExpression", - "start": 8250, - "end": 8267, + "start": 8682, + "end": 8699, "loc": { "start": { - "line": 266, + "line": 277, "column": 32 }, "end": { - "line": 266, + "line": 277, "column": 49 } }, "object": { "type": "Identifier", - "start": 8250, - "end": 8257, + "start": 8682, + "end": 8689, "loc": { "start": { - "line": 266, + "line": 277, "column": 32 }, "end": { - "line": 266, + "line": 277, "column": 39 }, "identifierName": "options" @@ -15358,15 +16681,15 @@ }, "property": { "type": "Identifier", - "start": 8258, - "end": 8267, + "start": 8690, + "end": 8699, "loc": { "start": { - "line": 266, + "line": 277, "column": 40 }, "end": { - "line": 266, + "line": 277, "column": 49 }, "identifierName": "inputName" @@ -15383,44 +16706,44 @@ }, { "type": "VariableDeclaration", - "start": 8275, - "end": 8325, + "start": 8707, + "end": 8757, "loc": { "start": { - "line": 267, + "line": 278, "column": 4 }, "end": { - "line": 267, + "line": 278, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8279, - "end": 8324, + "start": 8711, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 8 }, "end": { - "line": 267, + "line": 278, "column": 53 } }, "id": { "type": "Identifier", - "start": 8279, - "end": 8288, + "start": 8711, + "end": 8720, "loc": { "start": { - "line": 267, + "line": 278, "column": 8 }, "end": { - "line": 267, + "line": 278, "column": 17 }, "identifierName": "condition" @@ -15429,43 +16752,43 @@ }, "init": { "type": "BinaryExpression", - "start": 8291, - "end": 8324, + "start": 8723, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 8291, - "end": 8310, + "start": 8723, + "end": 8742, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 39 } }, "object": { "type": "Identifier", - "start": 8291, - "end": 8303, + "start": 8723, + "end": 8735, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 32 }, "identifierName": "currentInput" @@ -15474,15 +16797,15 @@ }, "property": { "type": "Identifier", - "start": 8304, - "end": 8310, + "start": 8736, + "end": 8742, "loc": { "start": { - "line": 267, + "line": 278, "column": 33 }, "end": { - "line": 267, + "line": 278, "column": 39 }, "identifierName": "length" @@ -15494,15 +16817,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8315, - "end": 8324, + "start": 8747, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 44 }, "end": { - "line": 267, + "line": 278, "column": 53 }, "identifierName": "maxLength" @@ -15516,57 +16839,57 @@ }, { "type": "IfStatement", - "start": 8335, - "end": 8553, + "start": 8767, + "end": 8985, "loc": { "start": { - "line": 270, + "line": 281, "column": 4 }, "end": { - "line": 278, + "line": 289, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8475, - "end": 8517, + "start": 8907, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 8475, - "end": 8494, + "start": 8907, + "end": 8926, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 25 } }, "object": { "type": "Identifier", - "start": 8475, - "end": 8487, + "start": 8907, + "end": 8919, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 18 }, "identifierName": "updatedInput" @@ -15576,15 +16899,15 @@ }, "property": { "type": "Identifier", - "start": 8488, - "end": 8494, + "start": 8920, + "end": 8926, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 25 }, "identifierName": "length" @@ -15597,29 +16920,29 @@ "operator": "<=", "right": { "type": "MemberExpression", - "start": 8498, - "end": 8517, + "start": 8930, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 48 } }, "object": { "type": "Identifier", - "start": 8498, - "end": 8510, + "start": 8930, + "end": 8942, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 41 }, "identifierName": "currentInput" @@ -15628,15 +16951,15 @@ }, "property": { "type": "Identifier", - "start": 8511, - "end": 8517, + "start": 8943, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 42 }, "end": { - "line": 275, + "line": 286, "column": 48 }, "identifierName": "length" @@ -15649,15 +16972,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8346, - "end": 8467, + "start": 8778, + "end": 8899, "loc": { "start": { - "line": 271, + "line": 282, "column": 6 }, "end": { - "line": 274, + "line": 285, "column": 9 } } @@ -15666,44 +16989,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8524, - "end": 8553, + "start": 8956, + "end": 8985, "loc": { "start": { - "line": 276, + "line": 287, "column": 5 }, "end": { - "line": 278, + "line": 289, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 8533, - "end": 8546, + "start": 8965, + "end": 8978, "loc": { "start": { - "line": 277, + "line": 288, "column": 6 }, "end": { - "line": 277, + "line": 288, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 8540, - "end": 8545, + "start": 8972, + "end": 8977, "loc": { "start": { - "line": 277, + "line": 288, "column": 13 }, "end": { - "line": 277, + "line": 288, "column": 18 } }, @@ -15717,57 +17040,57 @@ }, { "type": "IfStatement", - "start": 8561, - "end": 8983, + "start": 8993, + "end": 9415, "loc": { "start": { - "line": 280, + "line": 291, "column": 4 }, "end": { - "line": 295, + "line": 306, "column": 5 } }, "test": { "type": "CallExpression", - "start": 8564, - "end": 8591, + "start": 8996, + "end": 9023, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 8564, - "end": 8580, + "start": 8996, + "end": 9012, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 23 } }, "object": { "type": "Identifier", - "start": 8564, - "end": 8570, + "start": 8996, + "end": 9002, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 13 }, "identifierName": "Number" @@ -15776,15 +17099,15 @@ }, "property": { "type": "Identifier", - "start": 8571, - "end": 8580, + "start": 9003, + "end": 9012, "loc": { "start": { - "line": 280, + "line": 291, "column": 14 }, "end": { - "line": 280, + "line": 291, "column": 23 }, "identifierName": "isInteger" @@ -15796,15 +17119,15 @@ "arguments": [ { "type": "Identifier", - "start": 8581, - "end": 8590, + "start": 9013, + "end": 9022, "loc": { "start": { - "line": 280, + "line": 291, "column": 24 }, "end": { - "line": 280, + "line": 291, "column": 33 }, "identifierName": "maxLength" @@ -15815,58 +17138,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 8592, - "end": 8983, + "start": 9024, + "end": 9415, "loc": { "start": { - "line": 280, + "line": 291, "column": 35 }, "end": { - "line": 295, + "line": 306, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 8601, - "end": 8689, + "start": 9033, + "end": 9121, "loc": { "start": { - "line": 281, + "line": 292, "column": 6 }, "end": { - "line": 283, + "line": 294, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 8604, - "end": 8617, + "start": 9036, + "end": 9049, "loc": { "start": { - "line": 281, + "line": 292, "column": 9 }, "end": { - "line": 281, + "line": 292, "column": 22 } }, "object": { "type": "Identifier", - "start": 8604, - "end": 8611, + "start": 9036, + "end": 9043, "loc": { "start": { - "line": 281, + "line": 292, "column": 9 }, "end": { - "line": 281, + "line": 292, "column": 16 }, "identifierName": "options" @@ -15875,15 +17198,15 @@ }, "property": { "type": "Identifier", - "start": 8612, - "end": 8617, + "start": 9044, + "end": 9049, "loc": { "start": { - "line": 281, + "line": 292, "column": 17 }, "end": { - "line": 281, + "line": 292, "column": 22 }, "identifierName": "debug" @@ -15894,72 +17217,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8618, - "end": 8689, + "start": 9050, + "end": 9121, "loc": { "start": { - "line": 281, + "line": 292, "column": 23 }, "end": { - "line": 283, + "line": 294, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8629, - "end": 8680, + "start": 9061, + "end": 9112, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 8629, - "end": 8679, + "start": 9061, + "end": 9111, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 8629, - "end": 8640, + "start": 9061, + "end": 9072, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 19 } }, "object": { "type": "Identifier", - "start": 8629, - "end": 8636, + "start": 9061, + "end": 9068, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 15 }, "identifierName": "console" @@ -15968,15 +17291,15 @@ }, "property": { "type": "Identifier", - "start": 8637, - "end": 8640, + "start": 9069, + "end": 9072, "loc": { "start": { - "line": 282, + "line": 293, "column": 16 }, "end": { - "line": 282, + "line": 293, "column": 19 }, "identifierName": "log" @@ -15988,15 +17311,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8641, - "end": 8667, + "start": 9073, + "end": 9099, "loc": { "start": { - "line": 282, + "line": 293, "column": 20 }, "end": { - "line": 282, + "line": 293, "column": 46 } }, @@ -16008,15 +17331,15 @@ }, { "type": "Identifier", - "start": 8669, - "end": 8678, + "start": 9101, + "end": 9110, "loc": { "start": { - "line": 282, + "line": 293, "column": 48 }, "end": { - "line": 282, + "line": 293, "column": 57 }, "identifierName": "condition" @@ -16033,29 +17356,29 @@ }, { "type": "IfStatement", - "start": 8699, - "end": 8976, + "start": 9131, + "end": 9408, "loc": { "start": { - "line": 285, + "line": 296, "column": 6 }, "end": { - "line": 294, + "line": 305, "column": 7 } }, "test": { "type": "Identifier", - "start": 8702, - "end": 8711, + "start": 9134, + "end": 9143, "loc": { "start": { - "line": 285, + "line": 296, "column": 9 }, "end": { - "line": 285, + "line": 296, "column": 18 }, "identifierName": "condition" @@ -16064,73 +17387,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8712, - "end": 8897, + "start": 9144, + "end": 9329, "loc": { "start": { - "line": 285, + "line": 296, "column": 19 }, "end": { - "line": 291, + "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8837, - "end": 8866, + "start": 9269, + "end": 9298, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8837, - "end": 8865, + "start": 9269, + "end": 9297, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8837, - "end": 8858, + "start": 9269, + "end": 9290, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8837, - "end": 8841, + "start": 9269, + "end": 9273, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 12 } }, @@ -16138,15 +17461,15 @@ }, "property": { "type": "Identifier", - "start": 8842, - "end": 8858, + "start": 9274, + "end": 9290, "loc": { "start": { - "line": 289, + "line": 300, "column": 13 }, "end": { - "line": 289, + "line": 300, "column": 29 }, "identifierName": "maxLengthReached" @@ -16158,15 +17481,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 8861, - "end": 8865, + "start": 9293, + "end": 9297, "loc": { "start": { - "line": 289, + "line": 300, "column": 32 }, "end": { - "line": 289, + "line": 300, "column": 36 } }, @@ -16178,15 +17501,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 8723, - "end": 8827, + "start": 9155, + "end": 9259, "loc": { "start": { - "line": 286, + "line": 297, "column": 8 }, "end": { - "line": 288, + "line": 299, "column": 11 } } @@ -16195,29 +17518,29 @@ }, { "type": "ReturnStatement", - "start": 8876, - "end": 8888, + "start": 9308, + "end": 9320, "loc": { "start": { - "line": 290, + "line": 301, "column": 8 }, "end": { - "line": 290, + "line": 301, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 8883, - "end": 8887, + "start": 9315, + "end": 9319, "loc": { "start": { - "line": 290, + "line": 301, "column": 15 }, "end": { - "line": 290, + "line": 301, "column": 19 } }, @@ -16229,88 +17552,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 8903, - "end": 8976, + "start": 9335, + "end": 9408, "loc": { "start": { - "line": 291, + "line": 302, "column": 13 }, "end": { - "line": 294, + "line": 305, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8914, - "end": 8944, + "start": 9346, + "end": 9376, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 8914, - "end": 8943, + "start": 9346, + "end": 9375, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8914, - "end": 8935, + "start": 9346, + "end": 9367, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8914, - "end": 8918, + "start": 9346, + "end": 9350, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8919, - "end": 8935, + "start": 9351, + "end": 9367, "loc": { "start": { - "line": 292, + "line": 303, "column": 13 }, "end": { - "line": 292, + "line": 303, "column": 29 }, "identifierName": "maxLengthReached" @@ -16321,15 +17644,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 8938, - "end": 8943, + "start": 9370, + "end": 9375, "loc": { "start": { - "line": 292, + "line": 303, "column": 32 }, "end": { - "line": 292, + "line": 303, "column": 37 } }, @@ -16339,29 +17662,29 @@ }, { "type": "ReturnStatement", - "start": 8954, - "end": 8967, + "start": 9386, + "end": 9399, "loc": { "start": { - "line": 293, + "line": 304, "column": 8 }, "end": { - "line": 293, + "line": 304, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 8961, - "end": 8966, + "start": 9393, + "end": 9398, "loc": { "start": { - "line": 293, + "line": 304, "column": 15 }, "end": { - "line": 293, + "line": 304, "column": 20 } }, @@ -16379,43 +17702,43 @@ }, { "type": "IfStatement", - "start": 8991, - "end": 9380, + "start": 9423, + "end": 9812, "loc": { "start": { - "line": 297, + "line": 308, "column": 4 }, "end": { - "line": 311, + "line": 322, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8994, - "end": 9023, + "start": 9426, + "end": 9455, "loc": { "start": { - "line": 297, + "line": 308, "column": 7 }, "end": { - "line": 297, + "line": 308, "column": 36 } }, "left": { "type": "UnaryExpression", - "start": 8994, - "end": 9010, + "start": 9426, + "end": 9442, "loc": { "start": { - "line": 297, + "line": 308, "column": 7 }, "end": { - "line": 297, + "line": 308, "column": 23 } }, @@ -16423,15 +17746,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 9001, - "end": 9010, + "start": 9433, + "end": 9442, "loc": { "start": { - "line": 297, + "line": 308, "column": 14 }, "end": { - "line": 297, + "line": 308, "column": 23 }, "identifierName": "maxLength" @@ -16445,15 +17768,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9015, - "end": 9023, + "start": 9447, + "end": 9455, "loc": { "start": { - "line": 297, + "line": 308, "column": 28 }, "end": { - "line": 297, + "line": 308, "column": 36 } }, @@ -16466,59 +17789,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9024, - "end": 9380, + "start": 9456, + "end": 9812, "loc": { "start": { - "line": 297, + "line": 308, "column": 37 }, "end": { - "line": 311, + "line": 322, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9033, - "end": 9102, + "start": 9465, + "end": 9534, "loc": { "start": { - "line": 298, + "line": 309, "column": 6 }, "end": { - "line": 298, + "line": 309, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9037, - "end": 9101, + "start": 9469, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 10 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "id": { "type": "Identifier", - "start": 9037, - "end": 9046, + "start": 9469, + "end": 9478, "loc": { "start": { - "line": 298, + "line": 309, "column": 10 }, "end": { - "line": 298, + "line": 309, "column": 19 }, "identifierName": "condition" @@ -16527,43 +17850,43 @@ }, "init": { "type": "BinaryExpression", - "start": 9049, - "end": 9101, + "start": 9481, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 9049, - "end": 9068, + "start": 9481, + "end": 9500, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 41 } }, "object": { "type": "Identifier", - "start": 9049, - "end": 9061, + "start": 9481, + "end": 9493, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 34 }, "identifierName": "currentInput" @@ -16572,15 +17895,15 @@ }, "property": { "type": "Identifier", - "start": 9062, - "end": 9068, + "start": 9494, + "end": 9500, "loc": { "start": { - "line": 298, + "line": 309, "column": 35 }, "end": { - "line": 298, + "line": 309, "column": 41 }, "identifierName": "length" @@ -16592,29 +17915,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 9073, - "end": 9101, + "start": 9505, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 46 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "object": { "type": "Identifier", - "start": 9073, - "end": 9082, + "start": 9505, + "end": 9514, "loc": { "start": { - "line": 298, + "line": 309, "column": 46 }, "end": { - "line": 298, + "line": 309, "column": 55 }, "identifierName": "maxLength" @@ -16623,29 +17946,29 @@ }, "property": { "type": "MemberExpression", - "start": 9083, - "end": 9100, + "start": 9515, + "end": 9532, "loc": { "start": { - "line": 298, + "line": 309, "column": 56 }, "end": { - "line": 298, + "line": 309, "column": 73 } }, "object": { "type": "Identifier", - "start": 9083, - "end": 9090, + "start": 9515, + "end": 9522, "loc": { "start": { - "line": 298, + "line": 309, "column": 56 }, "end": { - "line": 298, + "line": 309, "column": 63 }, "identifierName": "options" @@ -16654,15 +17977,15 @@ }, "property": { "type": "Identifier", - "start": 9091, - "end": 9100, + "start": 9523, + "end": 9532, "loc": { "start": { - "line": 298, + "line": 309, "column": 64 }, "end": { - "line": 298, + "line": 309, "column": 73 }, "identifierName": "inputName" @@ -16680,43 +18003,43 @@ }, { "type": "IfStatement", - "start": 9112, - "end": 9200, + "start": 9544, + "end": 9632, "loc": { "start": { - "line": 300, + "line": 311, "column": 6 }, "end": { - "line": 302, + "line": 313, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9115, - "end": 9128, + "start": 9547, + "end": 9560, "loc": { "start": { - "line": 300, + "line": 311, "column": 9 }, "end": { - "line": 300, + "line": 311, "column": 22 } }, "object": { "type": "Identifier", - "start": 9115, - "end": 9122, + "start": 9547, + "end": 9554, "loc": { "start": { - "line": 300, + "line": 311, "column": 9 }, "end": { - "line": 300, + "line": 311, "column": 16 }, "identifierName": "options" @@ -16725,15 +18048,15 @@ }, "property": { "type": "Identifier", - "start": 9123, - "end": 9128, + "start": 9555, + "end": 9560, "loc": { "start": { - "line": 300, + "line": 311, "column": 17 }, "end": { - "line": 300, + "line": 311, "column": 22 }, "identifierName": "debug" @@ -16744,72 +18067,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9129, - "end": 9200, + "start": 9561, + "end": 9632, "loc": { "start": { - "line": 300, + "line": 311, "column": 23 }, "end": { - "line": 302, + "line": 313, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9140, - "end": 9191, + "start": 9572, + "end": 9623, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9140, - "end": 9190, + "start": 9572, + "end": 9622, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9140, - "end": 9151, + "start": 9572, + "end": 9583, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 19 } }, "object": { "type": "Identifier", - "start": 9140, - "end": 9147, + "start": 9572, + "end": 9579, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 15 }, "identifierName": "console" @@ -16818,15 +18141,15 @@ }, "property": { "type": "Identifier", - "start": 9148, - "end": 9151, + "start": 9580, + "end": 9583, "loc": { "start": { - "line": 301, + "line": 312, "column": 16 }, "end": { - "line": 301, + "line": 312, "column": 19 }, "identifierName": "log" @@ -16838,15 +18161,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9152, - "end": 9178, + "start": 9584, + "end": 9610, "loc": { "start": { - "line": 301, + "line": 312, "column": 20 }, "end": { - "line": 301, + "line": 312, "column": 46 } }, @@ -16858,15 +18181,15 @@ }, { "type": "Identifier", - "start": 9180, - "end": 9189, + "start": 9612, + "end": 9621, "loc": { "start": { - "line": 301, + "line": 312, "column": 48 }, "end": { - "line": 301, + "line": 312, "column": 57 }, "identifierName": "condition" @@ -16883,29 +18206,29 @@ }, { "type": "IfStatement", - "start": 9210, - "end": 9373, + "start": 9642, + "end": 9805, "loc": { "start": { - "line": 304, + "line": 315, "column": 6 }, "end": { - "line": 310, + "line": 321, "column": 7 } }, "test": { "type": "Identifier", - "start": 9213, - "end": 9222, + "start": 9645, + "end": 9654, "loc": { "start": { - "line": 304, + "line": 315, "column": 9 }, "end": { - "line": 304, + "line": 315, "column": 18 }, "identifierName": "condition" @@ -16914,88 +18237,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9223, - "end": 9294, + "start": 9655, + "end": 9726, "loc": { "start": { - "line": 304, + "line": 315, "column": 19 }, "end": { - "line": 307, + "line": 318, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9234, - "end": 9263, + "start": 9666, + "end": 9695, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9234, - "end": 9262, + "start": 9666, + "end": 9694, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9234, - "end": 9255, + "start": 9666, + "end": 9687, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9234, - "end": 9238, + "start": 9666, + "end": 9670, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9239, - "end": 9255, + "start": 9671, + "end": 9687, "loc": { "start": { - "line": 305, + "line": 316, "column": 13 }, "end": { - "line": 305, + "line": 316, "column": 29 }, "identifierName": "maxLengthReached" @@ -17006,15 +18329,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9258, - "end": 9262, + "start": 9690, + "end": 9694, "loc": { "start": { - "line": 305, + "line": 316, "column": 32 }, "end": { - "line": 305, + "line": 316, "column": 36 } }, @@ -17024,29 +18347,29 @@ }, { "type": "ReturnStatement", - "start": 9273, - "end": 9285, + "start": 9705, + "end": 9717, "loc": { "start": { - "line": 306, + "line": 317, "column": 8 }, "end": { - "line": 306, + "line": 317, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9280, - "end": 9284, + "start": 9712, + "end": 9716, "loc": { "start": { - "line": 306, + "line": 317, "column": 15 }, "end": { - "line": 306, + "line": 317, "column": 19 } }, @@ -17058,88 +18381,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9300, - "end": 9373, + "start": 9732, + "end": 9805, "loc": { "start": { - "line": 307, + "line": 318, "column": 13 }, "end": { - "line": 310, + "line": 321, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9311, - "end": 9341, + "start": 9743, + "end": 9773, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9311, - "end": 9340, + "start": 9743, + "end": 9772, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9311, - "end": 9332, + "start": 9743, + "end": 9764, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9311, - "end": 9315, + "start": 9743, + "end": 9747, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9316, - "end": 9332, + "start": 9748, + "end": 9764, "loc": { "start": { - "line": 308, + "line": 319, "column": 13 }, "end": { - "line": 308, + "line": 319, "column": 29 }, "identifierName": "maxLengthReached" @@ -17150,15 +18473,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9335, - "end": 9340, + "start": 9767, + "end": 9772, "loc": { "start": { - "line": 308, + "line": 319, "column": 32 }, "end": { - "line": 308, + "line": 319, "column": 37 } }, @@ -17168,29 +18491,29 @@ }, { "type": "ReturnStatement", - "start": 9351, - "end": 9364, + "start": 9783, + "end": 9796, "loc": { "start": { - "line": 309, + "line": 320, "column": 8 }, "end": { - "line": 309, + "line": 320, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9358, - "end": 9363, + "start": 9790, + "end": 9795, "loc": { "start": { - "line": 309, + "line": 320, "column": 15 }, "end": { - "line": 309, + "line": 320, "column": 20 } }, @@ -17214,15 +18537,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -17232,15 +18555,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -17248,16 +18571,16 @@ ] }, { - "type": "ClassProperty", - "start": 9454, - "end": 9531, + "type": "ClassMethod", + "start": 9886, + "end": 9956, "loc": { "start": { - "line": 317, + "line": 328, "column": 2 }, "end": { - "line": 319, + "line": 330, "column": 3 } }, @@ -17265,15 +18588,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9454, - "end": 9472, + "start": 9886, + "end": 9904, "loc": { "start": { - "line": 317, + "line": 328, "column": 2 }, "end": { - "line": 317, + "line": 328, "column": 20 }, "identifierName": "isMaxLengthReached" @@ -17281,156 +18604,141 @@ "name": "isMaxLengthReached", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9475, - "end": 9531, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9906, + "end": 9956, "loc": { "start": { - "line": 317, - "column": 23 + "line": 328, + "column": 22 }, "end": { - "line": 319, + "line": 330, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 9481, - "end": 9531, - "loc": { - "start": { - "line": 317, - "column": 29 + "body": [ + { + "type": "ReturnStatement", + "start": 9913, + "end": 9951, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 42 + } }, - "end": { - "line": 319, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 9488, - "end": 9526, + "argument": { + "type": "CallExpression", + "start": 9920, + "end": 9950, "loc": { "start": { - "line": 318, - "column": 4 + "line": 329, + "column": 11 }, "end": { - "line": 318, - "column": 42 + "line": 329, + "column": 41 } }, - "argument": { - "type": "CallExpression", - "start": 9495, - "end": 9525, + "callee": { + "type": "Identifier", + "start": 9920, + "end": 9927, "loc": { "start": { - "line": 318, + "line": 329, "column": 11 }, "end": { - "line": 318, - "column": 41 - } + "line": 329, + "column": 18 + }, + "identifierName": "Boolean" }, - "callee": { - "type": "Identifier", - "start": 9495, - "end": 9502, + "name": "Boolean" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9928, + "end": 9949, "loc": { "start": { - "line": 318, - "column": 11 + "line": 329, + "column": 19 }, "end": { - "line": 318, - "column": 18 - }, - "identifierName": "Boolean" + "line": 329, + "column": 40 + } }, - "name": "Boolean" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9503, - "end": 9524, + "object": { + "type": "ThisExpression", + "start": 9928, + "end": 9932, "loc": { "start": { - "line": 318, + "line": 329, "column": 19 }, "end": { - "line": 318, - "column": 40 + "line": 329, + "column": 23 } - }, - "object": { - "type": "ThisExpression", - "start": 9503, - "end": 9507, - "loc": { - "start": { - "line": 318, - "column": 19 - }, - "end": { - "line": 318, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 9508, - "end": 9524, - "loc": { - "start": { - "line": 318, - "column": 24 - }, - "end": { - "line": 318, - "column": 40 - }, - "identifierName": "maxLengthReached" + } + }, + "property": { + "type": "Identifier", + "start": 9933, + "end": 9949, + "loc": { + "start": { + "line": 329, + "column": 24 }, - "name": "maxLengthReached" + "end": { + "line": 329, + "column": 40 + }, + "identifierName": "maxLengthReached" }, - "computed": false - } - ] - } + "name": "maxLengthReached" + }, + "computed": false + } + ] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -17440,15 +18748,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, + "start": 9962, + "end": 10084, "loc": { "start": { - "line": 321, + "line": 332, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 5 } } @@ -17456,686 +18764,16 @@ ] }, { - "type": "ClassProperty", - "start": 9663, - "end": 9827, + "type": "ClassMethod", + "start": 10088, + "end": 10244, "loc": { "start": { - "line": 326, + "line": 337, "column": 2 }, "end": { - "line": 328, - "column": 4 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9663, - "end": 9672, - "loc": { - "start": { - "line": 326, - "column": 2 - }, - "end": { - "line": 326, - "column": 11 - }, - "identifierName": "camelCase" - }, - "name": "camelCase", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9675, - "end": 9826, - "loc": { - "start": { - "line": 326, - "column": 14 - }, - "end": { - "line": 328, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9676, - "end": 9682, - "loc": { - "start": { - "line": 326, - "column": 15 - }, - "end": { - "line": 326, - "column": 21 - }, - "identifierName": "string" - }, - "name": "string" - } - ], - "body": { - "type": "BlockStatement", - "start": 9687, - "end": 9826, - "loc": { - "start": { - "line": 326, - "column": 26 - }, - "end": { - "line": 328, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 9694, - "end": 9821, - "loc": { - "start": { - "line": 327, - "column": 4 - }, - "end": { - "line": 327, - "column": 131 - } - }, - "argument": { - "type": "CallExpression", - "start": 9701, - "end": 9820, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 130 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9754, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 64 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9747, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9734, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 44 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9728, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9726, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9721, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9719, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 9701, - "end": 9707, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 17 - }, - "identifierName": "string" - }, - "name": "string" - }, - "property": { - "type": "Identifier", - "start": 9708, - "end": 9719, - "loc": { - "start": { - "line": 327, - "column": 18 - }, - "end": { - "line": 327, - "column": 29 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 9722, - "end": 9726, - "loc": { - "start": { - "line": 327, - "column": 32 - }, - "end": { - "line": 327, - "column": 36 - }, - "identifierName": "trim" - }, - "name": "trim" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 9729, - "end": 9734, - "loc": { - "start": { - "line": 327, - "column": 39 - }, - "end": { - "line": 327, - "column": 44 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "RegExpLiteral", - "start": 9735, - "end": 9746, - "loc": { - "start": { - "line": 327, - "column": 45 - }, - "end": { - "line": 327, - "column": 56 - } - }, - "extra": { - "raw": "/[.\\-_\\s]/g" - }, - "pattern": "[.\\-_\\s]", - "flags": "g" - } - ] - }, - "property": { - "type": "Identifier", - "start": 9748, - "end": 9754, - "loc": { - "start": { - "line": 327, - "column": 58 - }, - "end": { - "line": 327, - "column": 64 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 9755, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 65 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9756, - "end": 9762, - "loc": { - "start": { - "line": 327, - "column": 66 - }, - "end": { - "line": 327, - "column": 72 - }, - "identifierName": "string" - }, - "name": "string" - }, - { - "type": "Identifier", - "start": 9764, - "end": 9768, - "loc": { - "start": { - "line": 327, - "column": 74 - }, - "end": { - "line": 327, - "column": 78 - }, - "identifierName": "word" - }, - "name": "word" - } - ], - "body": { - "type": "BinaryExpression", - "start": 9773, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "left": { - "type": "BinaryExpression", - "start": 9773, - "end": 9803, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 113 - } - }, - "left": { - "type": "Identifier", - "start": 9773, - "end": 9779, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 89 - }, - "identifierName": "string" - }, - "name": "string" - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 9782, - "end": 9803, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 113 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9782, - "end": 9801, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 111 - } - }, - "object": { - "type": "MemberExpression", - "start": 9782, - "end": 9789, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 99 - } - }, - "object": { - "type": "Identifier", - "start": 9782, - "end": 9786, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 96 - }, - "identifierName": "word" - }, - "name": "word" - }, - "property": { - "type": "NumericLiteral", - "start": 9787, - "end": 9788, - "loc": { - "start": { - "line": 327, - "column": 97 - }, - "end": { - "line": 327, - "column": 98 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 9790, - "end": 9801, - "loc": { - "start": { - "line": 327, - "column": 100 - }, - "end": { - "line": 327, - "column": 111 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 9806, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9806, - "end": 9816, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 126 - } - }, - "object": { - "type": "Identifier", - "start": 9806, - "end": 9810, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 120 - }, - "identifierName": "word" - }, - "name": "word" - }, - "property": { - "type": "Identifier", - "start": 9811, - "end": 9816, - "loc": { - "start": { - "line": 327, - "column": 121 - }, - "end": { - "line": 327, - "column": 126 - }, - "identifierName": "slice" - }, - "name": "slice" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 9817, - "end": 9818, - "loc": { - "start": { - "line": 327, - "column": 127 - }, - "end": { - "line": 327, - "column": 128 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - } - ] - } - } - ], - "directives": [] - } - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, - "loc": { - "start": { - "line": 321, - "column": 2 - }, - "end": { - "line": 325, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, - "loc": { - "start": { - "line": 330, - "column": 2 - }, - "end": { - "line": 335, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 10017, - "end": 10114, - "loc": { - "start": { - "line": 336, - "column": 2 - }, - "end": { - "line": 338, + "line": 339, "column": 3 } }, @@ -18143,15 +18781,653 @@ "computed": false, "key": { "type": "Identifier", - "start": 10017, - "end": 10029, + "start": 10088, + "end": 10097, "loc": { "start": { - "line": 336, + "line": 337, "column": 2 }, "end": { - "line": 336, + "line": 337, + "column": 11 + }, + "identifierName": "camelCase" + }, + "name": "camelCase", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10098, + "end": 10104, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 18 + }, + "identifierName": "string" + }, + "name": "string" + } + ], + "body": { + "type": "BlockStatement", + "start": 10105, + "end": 10244, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 339, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10112, + "end": 10239, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 131 + } + }, + "argument": { + "type": "CallExpression", + "start": 10119, + "end": 10238, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 130 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10172, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 64 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10165, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10152, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 44 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10146, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10144, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 36 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10139, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10137, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 10119, + "end": 10125, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 17 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 10126, + "end": 10137, + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 29 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10140, + "end": 10144, + "loc": { + "start": { + "line": 338, + "column": 32 + }, + "end": { + "line": 338, + "column": 36 + }, + "identifierName": "trim" + }, + "name": "trim" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10147, + "end": 10152, + "loc": { + "start": { + "line": 338, + "column": 39 + }, + "end": { + "line": 338, + "column": 44 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "RegExpLiteral", + "start": 10153, + "end": 10164, + "loc": { + "start": { + "line": 338, + "column": 45 + }, + "end": { + "line": 338, + "column": 56 + } + }, + "extra": { + "raw": "/[.\\-_\\s]/g" + }, + "pattern": "[.\\-_\\s]", + "flags": "g" + } + ] + }, + "property": { + "type": "Identifier", + "start": 10166, + "end": 10172, + "loc": { + "start": { + "line": 338, + "column": 58 + }, + "end": { + "line": 338, + "column": 64 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10173, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 65 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10174, + "end": 10180, + "loc": { + "start": { + "line": 338, + "column": 66 + }, + "end": { + "line": 338, + "column": 72 + }, + "identifierName": "string" + }, + "name": "string" + }, + { + "type": "Identifier", + "start": 10182, + "end": 10186, + "loc": { + "start": { + "line": 338, + "column": 74 + }, + "end": { + "line": 338, + "column": 78 + }, + "identifierName": "word" + }, + "name": "word" + } + ], + "body": { + "type": "BinaryExpression", + "start": 10191, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "left": { + "type": "BinaryExpression", + "start": 10191, + "end": 10221, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 113 + } + }, + "left": { + "type": "Identifier", + "start": 10191, + "end": 10197, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 89 + }, + "identifierName": "string" + }, + "name": "string" + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 10200, + "end": 10221, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 113 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10200, + "end": 10219, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 111 + } + }, + "object": { + "type": "MemberExpression", + "start": 10200, + "end": 10207, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 99 + } + }, + "object": { + "type": "Identifier", + "start": 10200, + "end": 10204, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 96 + }, + "identifierName": "word" + }, + "name": "word" + }, + "property": { + "type": "NumericLiteral", + "start": 10205, + "end": 10206, + "loc": { + "start": { + "line": 338, + "column": 97 + }, + "end": { + "line": 338, + "column": 98 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 10208, + "end": 10219, + "loc": { + "start": { + "line": 338, + "column": 100 + }, + "end": { + "line": 338, + "column": 111 + }, + "identifierName": "toUpperCase" + }, + "name": "toUpperCase" + }, + "computed": false + }, + "arguments": [] + } + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 10224, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10224, + "end": 10234, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 126 + } + }, + "object": { + "type": "Identifier", + "start": 10224, + "end": 10228, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 120 + }, + "identifierName": "word" + }, + "name": "word" + }, + "property": { + "type": "Identifier", + "start": 10229, + "end": 10234, + "loc": { + "start": { + "line": 338, + "column": 121 + }, + "end": { + "line": 338, + "column": 126 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 10235, + "end": 10236, + "loc": { + "start": { + "line": 338, + "column": 127 + }, + "end": { + "line": 338, + "column": 128 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", + "start": 9962, + "end": 10084, + "loc": { + "start": { + "line": 332, + "column": 2 + }, + "end": { + "line": 336, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10435, + "end": 10525, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 349, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10435, + "end": 10447, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 347, "column": 14 }, "identifierName": "countInArray" @@ -18159,336 +19435,322 @@ "name": "countInArray", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 10032, - "end": 10114, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10448, + "end": 10453, + "loc": { + "start": { + "line": 347, + "column": 15 + }, + "end": { + "line": 347, + "column": 20 + }, + "identifierName": "array" + }, + "name": "array" + }, + { + "type": "Identifier", + "start": 10455, + "end": 10460, + "loc": { + "start": { + "line": 347, + "column": 22 + }, + "end": { + "line": 347, + "column": 27 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 10461, + "end": 10525, "loc": { "start": { - "line": 336, - "column": 17 + "line": 347, + "column": 28 }, "end": { - "line": 338, + "line": 349, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 10033, - "end": 10038, + "type": "ReturnStatement", + "start": 10468, + "end": 10520, "loc": { "start": { - "line": 336, - "column": 18 + "line": 348, + "column": 4 }, "end": { - "line": 336, - "column": 23 - }, - "identifierName": "array" + "line": 348, + "column": 56 + } }, - "name": "array" - }, - { - "type": "Identifier", - "start": 10040, - "end": 10045, - "loc": { - "start": { - "line": 336, - "column": 25 - }, - "end": { - "line": 336, - "column": 30 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 10050, - "end": 10114, - "loc": { - "start": { - "line": 336, - "column": 35 - }, - "end": { - "line": 338, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 10057, - "end": 10109, + "argument": { + "type": "CallExpression", + "start": 10475, + "end": 10519, "loc": { "start": { - "line": 337, - "column": 4 + "line": 348, + "column": 11 }, "end": { - "line": 337, - "column": 56 + "line": 348, + "column": 55 } }, - "argument": { - "type": "CallExpression", - "start": 10064, - "end": 10108, + "callee": { + "type": "MemberExpression", + "start": 10475, + "end": 10487, "loc": { "start": { - "line": 337, + "line": 348, "column": 11 }, "end": { - "line": 337, - "column": 55 + "line": 348, + "column": 23 } }, - "callee": { - "type": "MemberExpression", - "start": 10064, - "end": 10076, + "object": { + "type": "Identifier", + "start": 10475, + "end": 10480, "loc": { "start": { - "line": 337, + "line": 348, "column": 11 }, "end": { - "line": 337, + "line": 348, + "column": 16 + }, + "identifierName": "array" + }, + "name": "array" + }, + "property": { + "type": "Identifier", + "start": 10481, + "end": 10487, + "loc": { + "start": { + "line": 348, + "column": 17 + }, + "end": { + "line": 348, "column": 23 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10488, + "end": 10515, + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 51 } }, - "object": { - "type": "Identifier", - "start": 10064, - "end": 10069, - "loc": { - "start": { - "line": 337, - "column": 11 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10489, + "end": 10490, + "loc": { + "start": { + "line": 348, + "column": 25 + }, + "end": { + "line": 348, + "column": 26 + }, + "identifierName": "n" }, - "end": { - "line": 337, - "column": 16 - }, - "identifierName": "array" + "name": "n" }, - "name": "array" - }, - "property": { - "type": "Identifier", - "start": 10070, - "end": 10076, + { + "type": "Identifier", + "start": 10492, + "end": 10493, + "loc": { + "start": { + "line": 348, + "column": 28 + }, + "end": { + "line": 348, + "column": 29 + }, + "identifierName": "x" + }, + "name": "x" + } + ], + "body": { + "type": "BinaryExpression", + "start": 10498, + "end": 10515, "loc": { "start": { - "line": 337, - "column": 17 + "line": 348, + "column": 34 }, "end": { - "line": 337, - "column": 23 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10077, - "end": 10104, - "loc": { - "start": { - "line": 337, - "column": 24 - }, - "end": { - "line": 337, + "line": 348, "column": 51 } }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10078, - "end": 10079, - "loc": { - "start": { - "line": 337, - "column": 25 - }, - "end": { - "line": 337, - "column": 26 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 10081, - "end": 10082, - "loc": { - "start": { - "line": 337, - "column": 28 - }, - "end": { - "line": 337, - "column": 29 - }, - "identifierName": "x" - }, - "name": "x" - } - ], - "body": { - "type": "BinaryExpression", - "start": 10087, - "end": 10104, + "left": { + "type": "Identifier", + "start": 10498, + "end": 10499, "loc": { "start": { - "line": 337, + "line": 348, "column": 34 }, "end": { - "line": 337, - "column": 51 + "line": 348, + "column": 35 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 10503, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 39 + }, + "end": { + "line": 348, + "column": 50 } }, "left": { "type": "Identifier", - "start": 10087, - "end": 10088, + "start": 10503, + "end": 10504, "loc": { "start": { - "line": 337, - "column": 34 - }, - "end": { - "line": 337, - "column": 35 - }, - "identifierName": "n" - }, - "name": "n" - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 10092, - "end": 10103, - "loc": { - "start": { - "line": 337, + "line": 348, "column": 39 }, "end": { - "line": 337, + "line": 348, + "column": 40 + }, + "identifierName": "x" + }, + "name": "x" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 10509, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 45 + }, + "end": { + "line": 348, "column": 50 - } - }, - "left": { - "type": "Identifier", - "start": 10092, - "end": 10093, - "loc": { - "start": { - "line": 337, - "column": 39 - }, - "end": { - "line": 337, - "column": 40 - }, - "identifierName": "x" }, - "name": "x" + "identifierName": "value" }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 10098, - "end": 10103, - "loc": { - "start": { - "line": 337, - "column": 45 - }, - "end": { - "line": 337, - "column": 50 - }, - "identifierName": "value" - }, - "name": "value" - }, - "extra": { - "parenthesized": true, - "parenStart": 10091 - } + "name": "value" + }, + "extra": { + "parenthesized": true, + "parenStart": 10502 } } - }, - { - "type": "NumericLiteral", - "start": 10106, - "end": 10107, - "loc": { - "start": { - "line": 337, - "column": 53 - }, - "end": { - "line": 337, - "column": 54 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 } - ] - } + }, + { + "type": "NumericLiteral", + "start": 10517, + "end": 10518, + "loc": { + "start": { + "line": 348, + "column": 53 + }, + "end": { + "line": 348, + "column": 54 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, + "start": 10251, + "end": 10431, "loc": { "start": { - "line": 330, + "line": 341, "column": 2 }, "end": { - "line": 335, + "line": 346, "column": 5 } } @@ -18503,29 +19765,29 @@ }, { "type": "Identifier", - "start": 10123, - "end": 10148, + "start": 10534, + "end": 10559, "loc": { "start": { - "line": 342, + "line": 353, "column": 0 }, "end": { - "line": 342, + "line": 353, "column": 25 } }, "declaration": { "type": "Identifier", - "start": 10138, - "end": 10147, + "start": 10549, + "end": 10558, "loc": { "start": { - "line": 342, + "line": 353, "column": 15 }, "end": { - "line": 342, + "line": 353, "column": 24 }, "identifierName": "Utilities" @@ -18538,29 +19800,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 10123, - "end": 10148, + "start": 10534, + "end": 10559, "loc": { "start": { - "line": 342, + "line": 353, "column": 0 }, "end": { - "line": 342, + "line": 353, "column": 25 } }, "declaration": { "type": "ClassDeclaration", "start": 30, - "end": 10119, + "end": 10530, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 340, + "line": 351, "column": 1 } }, @@ -18586,14 +19848,14 @@ "body": { "type": "ClassBody", "start": 46, - "end": 10119, + "end": 10530, "loc": { "start": { "line": 4, "column": 16 }, "end": { - "line": 340, + "line": 351, "column": 1 } }, @@ -18601,14 +19863,14 @@ { "type": "ClassMethod", "start": 114, - "end": 282, + "end": 740, "loc": { "start": { "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 24, "column": 3 } }, @@ -18659,14 +19921,14 @@ "body": { "type": "BlockStatement", "start": 149, - "end": 282, + "end": 740, "loc": { "start": { "line": 8, "column": 37 }, "end": { - "line": 13, + "line": 24, "column": 3 } }, @@ -18786,7 +20048,1390 @@ } } } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } ] + }, + { + "type": "ExpressionStatement", + "start": 320, + "end": 373, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 320, + "end": 372, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 320, + "end": 339, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 320, + "end": 324, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 325, + "end": 339, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 23 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 342, + "end": 372, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 342, + "end": 366, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 342, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 342, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 347, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 45 + }, + "identifierName": "getButtonClass" + }, + "name": "getButtonClass" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 367, + "end": 371, + "loc": { + "start": { + "line": 17, + "column": 51 + }, + "end": { + "line": 17, + "column": 55 + } + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 379, + "end": 444, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 379, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 379, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 379, + "end": 383, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 384, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 29 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 407, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 407, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 407, + "end": 432, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 407, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 412, + "end": 432, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 57 + }, + "identifierName": "getButtonDisplayName" + }, + "name": "getButtonDisplayName" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 433, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 58 + }, + "end": { + "line": 18, + "column": 62 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 438, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 63 + }, + "end": { + "line": 18, + "column": 67 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 450, + "end": 505, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 59 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 450, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 450, + "end": 470, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 450, + "end": 454, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 455, + "end": 470, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 473, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 473, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 473, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 473, + "end": 477, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 478, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 47 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 494, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 52 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 499, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 57 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 511, + "end": 564, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 511, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 511, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 511, + "end": 515, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 516, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 23 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 533, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 533, + "end": 557, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 533, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 533, + "end": 537, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 538, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 45 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 20, + "column": 46 + }, + "end": { + "line": 20, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 558, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 51 + }, + "end": { + "line": 20, + "column": 55 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 570, + "end": 631, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 570, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 570, + "end": 593, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 570, + "end": 574, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 575, + "end": 593, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 27 + }, + "identifierName": "isMaxLengthReached" + }, + "name": "isMaxLengthReached" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 596, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 596, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 596, + "end": 619, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 53 + } + }, + "object": { + "type": "ThisExpression", + "start": 596, + "end": 600, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 601, + "end": 619, + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 53 + }, + "identifierName": "isMaxLengthReached" + }, + "name": "isMaxLengthReached" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 54 + }, + "end": { + "line": 21, + "column": 58 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 625, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 59 + }, + "end": { + "line": 21, + "column": 63 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 637, + "end": 680, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 637, + "end": 679, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 637, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 637, + "end": 641, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 642, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 18 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 654, + "end": 679, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 654, + "end": 673, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 654, + "end": 668, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 654, + "end": 658, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 659, + "end": 668, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 35 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 669, + "end": 673, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 40 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 674, + "end": 678, + "loc": { + "start": { + "line": 22, + "column": 41 + }, + "end": { + "line": 22, + "column": 45 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 686, + "end": 735, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 686, + "end": 734, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 52 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 686, + "end": 703, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 686, + "end": 690, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 691, + "end": 703, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 21 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 706, + "end": 734, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 706, + "end": 728, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 706, + "end": 723, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 706, + "end": 710, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 711, + "end": 723, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 41 + }, + "identifierName": "countInArray" + }, + "name": "countInArray" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 724, + "end": 728, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 46 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 729, + "end": 733, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 51 + } + } + } + ] + } + } } ], "directives": [], @@ -18814,15 +21459,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, + "start": 746, + "end": 924, "loc": { "start": { - "line": 15, + "line": 26, "column": 2 }, "end": { - "line": 20, + "line": 31, "column": 5 } } @@ -18830,16 +21475,16 @@ ] }, { - "type": "ClassProperty", - "start": 470, - "end": 902, + "type": "ClassMethod", + "start": 928, + "end": 1355, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 30, + "line": 41, "column": 3 } }, @@ -18847,15 +21492,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 470, - "end": 484, + "start": 928, + "end": 942, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, + "line": 32, "column": 16 }, "identifierName": "getButtonClass" @@ -18863,540 +21508,173 @@ "name": "getButtonClass", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 487, - "end": 902, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 943, + "end": 949, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 23 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 950, + "end": 1355, "loc": { "start": { - "line": 21, - "column": 19 + "line": 32, + "column": 24 }, "end": { - "line": 30, + "line": 41, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 487, - "end": 493, + "type": "VariableDeclaration", + "start": 957, + "end": 1079, "loc": { "start": { - "line": 21, - "column": 19 + "line": 33, + "column": 4 }, "end": { - "line": 21, - "column": 25 - }, - "identifierName": "button" + "line": 33, + "column": 126 + } }, - "name": "button" - } - ], - "body": { - "type": "BlockStatement", - "start": 497, - "end": 902, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 30, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 504, - "end": 626, - "loc": { - "start": { - "line": 22, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 961, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 125 + } }, - "end": { - "line": 22, - "column": 126 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 508, - "end": 625, + "id": { + "type": "Identifier", + "start": 961, + "end": 976, "loc": { "start": { - "line": 22, + "line": 33, "column": 8 }, "end": { - "line": 22, + "line": 33, + "column": 23 + }, + "identifierName": "buttonTypeClass" + }, + "name": "buttonTypeClass" + }, + "init": { + "type": "ConditionalExpression", + "start": 979, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 26 + }, + "end": { + "line": 33, "column": 125 } }, - "id": { - "type": "Identifier", - "start": 508, - "end": 523, + "test": { + "type": "LogicalExpression", + "start": 980, + "end": 1045, "loc": { "start": { - "line": 22, - "column": 8 + "line": 33, + "column": 27 }, "end": { - "line": 22, - "column": 23 - }, - "identifierName": "buttonTypeClass" - }, - "name": "buttonTypeClass" - }, - "init": { - "type": "ConditionalExpression", - "start": 526, - "end": 625, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 125 + "line": 33, + "column": 92 } }, - "test": { + "left": { "type": "LogicalExpression", - "start": 527, - "end": 592, + "start": 980, + "end": 1024, "loc": { "start": { - "line": 22, + "line": 33, "column": 27 }, "end": { - "line": 22, - "column": 92 + "line": 33, + "column": 71 } }, "left": { - "type": "LogicalExpression", - "start": 527, - "end": 571, + "type": "CallExpression", + "start": 980, + "end": 1000, "loc": { "start": { - "line": 22, + "line": 33, "column": 27 }, "end": { - "line": 22, - "column": 71 - } - }, - "left": { - "type": "CallExpression", - "start": 527, - "end": 547, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 527, - "end": 542, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 527, - "end": 533, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 33 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 534, - "end": 542, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 42 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 543, - "end": 546, - "loc": { - "start": { - "line": 22, - "column": 43 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" - }, - "value": "{" - } - ] - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 551, - "end": 571, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 551, - "end": 566, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 551, - "end": 557, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 57 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 558, - "end": 566, - "loc": { - "start": { - "line": 22, - "column": 58 - }, - "end": { - "line": 22, - "column": 66 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 567, - "end": 570, - "loc": { - "start": { - "line": 22, - "column": 67 - }, - "end": { - "line": 22, - "column": 70 - } - }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - } - ] - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 575, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 75 - }, - "end": { - "line": 22, - "column": 92 - } - }, - "left": { - "type": "Identifier", - "start": 575, - "end": 581, - "loc": { - "start": { - "line": 22, - "column": 75 - }, - "end": { - "line": 22, - "column": 81 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "!==", - "right": { - "type": "StringLiteral", - "start": 586, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 86 - }, - "end": { - "line": 22, - "column": 92 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 526 - } - }, - "consequent": { - "type": "StringLiteral", - "start": 596, - "end": 609, - "loc": { - "start": { - "line": 22, - "column": 96 - }, - "end": { - "line": 22, - "column": 109 - } - }, - "extra": { - "rawValue": "functionBtn", - "raw": "\"functionBtn\"" - }, - "value": "functionBtn" - }, - "alternate": { - "type": "StringLiteral", - "start": 612, - "end": 625, - "loc": { - "start": { - "line": 22, - "column": 112 - }, - "end": { - "line": 22, - "column": 125 - } - }, - "extra": { - "rawValue": "standardBtn", - "raw": "\"standardBtn\"" - }, - "value": "standardBtn" - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 632, - "end": 699, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 71 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 636, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 70 - } - }, - "id": { - "type": "Identifier", - "start": 636, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 27 - }, - "identifierName": "buttonWithoutBraces" - }, - "name": "buttonWithoutBraces" - }, - "init": { - "type": "CallExpression", - "start": 658, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 658, - "end": 689, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 658, - "end": 681, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 53 + "line": 33, + "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 658, - "end": 672, + "start": 980, + "end": 995, "loc": { "start": { - "line": 23, - "column": 30 + "line": 33, + "column": 27 }, "end": { - "line": 23, - "column": 44 + "line": 33, + "column": 42 } }, "object": { "type": "Identifier", - "start": 658, - "end": 664, + "start": 980, + "end": 986, "loc": { "start": { - "line": 23, - "column": 30 + "line": 33, + "column": 27 }, "end": { - "line": 23, - "column": 36 + "line": 33, + "column": 33 }, "identifierName": "button" }, @@ -19404,36 +21682,36 @@ }, "property": { "type": "Identifier", - "start": 665, - "end": 672, + "start": 987, + "end": 995, "loc": { "start": { - "line": 23, - "column": 37 + "line": 33, + "column": 34 }, "end": { - "line": 23, - "column": 44 + "line": 33, + "column": 42 }, - "identifierName": "replace" + "identifierName": "includes" }, - "name": "replace" + "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", - "start": 673, - "end": 676, + "start": 996, + "end": 999, "loc": { "start": { - "line": 23, - "column": 45 + "line": 33, + "column": 43 }, "end": { - "line": 23, - "column": 48 + "line": 33, + "column": 46 } }, "extra": { @@ -19441,505 +21719,857 @@ "raw": "\"{\"" }, "value": "{" - }, - { - "type": "StringLiteral", - "start": 678, - "end": 680, - "loc": { - "start": { - "line": 23, - "column": 50 - }, - "end": { - "line": 23, - "column": 52 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" } ] }, - "property": { - "type": "Identifier", - "start": 682, - "end": 689, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 1004, + "end": 1024, "loc": { "start": { - "line": 23, - "column": 54 + "line": 33, + "column": 51 }, "end": { - "line": 23, - "column": 61 - }, - "identifierName": "replace" - }, - "name": "replace" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 690, - "end": 693, - "loc": { - "start": { - "line": 23, - "column": 62 - }, - "end": { - "line": 23, - "column": 65 + "line": 33, + "column": 71 } }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - }, - { - "type": "StringLiteral", - "start": 695, - "end": 697, - "loc": { - "start": { - "line": 23, - "column": 67 + "callee": { + "type": "MemberExpression", + "start": 1004, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 66 + } }, - "end": { - "line": 23, - "column": 69 + "object": { + "type": "Identifier", + "start": 1004, + "end": 1010, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 57 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 1011, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 33, + "column": 66 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1020, + "end": 1023, + "loc": { + "start": { + "line": 33, + "column": 67 + }, + "end": { + "line": 33, + "column": 70 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" + ] } - ] - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 705, - "end": 731, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 30 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 709, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 8 }, - "end": { - "line": 24, - "column": 29 - } - }, - "id": { - "type": "Identifier", - "start": 709, - "end": 725, - "loc": { - "start": { - "line": 24, - "column": 8 + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 1028, + "end": 1045, + "loc": { + "start": { + "line": 33, + "column": 75 + }, + "end": { + "line": 33, + "column": 92 + } }, - "end": { - "line": 24, - "column": 24 + "left": { + "type": "Identifier", + "start": 1028, + "end": 1034, + "loc": { + "start": { + "line": 33, + "column": 75 + }, + "end": { + "line": 33, + "column": 81 + }, + "identifierName": "button" + }, + "name": "button" }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" - }, - "init": { - "type": "StringLiteral", - "start": 728, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 29 + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 1039, + "end": 1045, + "loc": { + "start": { + "line": 33, + "column": 86 + }, + "end": { + "line": 33, + "column": 92 + } + }, + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" + }, + "value": "{//}" } }, "extra": { - "rawValue": "", - "raw": "''" + "parenthesized": true, + "parenStart": 979 + } + }, + "consequent": { + "type": "StringLiteral", + "start": 1049, + "end": 1062, + "loc": { + "start": { + "line": 33, + "column": 96 + }, + "end": { + "line": 33, + "column": 109 + } }, - "value": "" + "extra": { + "rawValue": "functionBtn", + "raw": "\"functionBtn\"" + }, + "value": "functionBtn" + }, + "alternate": { + "type": "StringLiteral", + "start": 1065, + "end": 1078, + "loc": { + "start": { + "line": 33, + "column": 112 + }, + "end": { + "line": 33, + "column": 125 + } + }, + "extra": { + "rawValue": "standardBtn", + "raw": "\"standardBtn\"" + }, + "value": "standardBtn" } } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 739, - "end": 839, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 27, - "column": 61 - } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 1085, + "end": 1152, + "loc": { + "start": { + "line": 34, + "column": 4 }, - "test": { - "type": "BinaryExpression", - "start": 742, - "end": 775, + "end": { + "line": 34, + "column": 71 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1089, + "end": 1151, "loc": { "start": { - "line": 26, + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 70 + } + }, + "id": { + "type": "Identifier", + "start": 1089, + "end": 1108, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 27 + }, + "identifierName": "buttonWithoutBraces" + }, + "name": "buttonWithoutBraces" + }, + "init": { + "type": "CallExpression", + "start": 1111, + "end": 1151, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1111, + "end": 1142, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 1111, + "end": 1134, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1111, + "end": 1125, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 1111, + "end": 1117, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 1118, + "end": 1125, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 34, + "column": 44 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1126, + "end": 1129, + "loc": { + "start": { + "line": 34, + "column": 45 + }, + "end": { + "line": 34, + "column": 48 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + }, + { + "type": "StringLiteral", + "start": 1131, + "end": 1133, + "loc": { + "start": { + "line": 34, + "column": 50 + }, + "end": { + "line": 34, + "column": 52 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1135, + "end": 1142, + "loc": { + "start": { + "line": 34, + "column": 54 + }, + "end": { + "line": 34, + "column": 61 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1143, + "end": 1146, + "loc": { + "start": { + "line": 34, + "column": 62 + }, + "end": { + "line": 34, + "column": 65 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + }, + { + "type": "StringLiteral", + "start": 1148, + "end": 1150, + "loc": { + "start": { + "line": 34, + "column": 67 + }, + "end": { + "line": 34, + "column": 69 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 1158, + "end": 1184, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1162, + "end": 1183, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 1162, + "end": 1178, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 24 + }, + "identifierName": "buttonNormalized" + }, + "name": "buttonNormalized" + }, + "init": { + "type": "StringLiteral", + "start": 1181, + "end": 1183, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1192, + "end": 1292, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 38, + "column": 61 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1195, + "end": 1228, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 40 + } + }, + "left": { + "type": "Identifier", + "start": 1195, + "end": 1210, + "loc": { + "start": { + "line": 37, "column": 7 }, "end": { - "line": 26, + "line": 37, + "column": 22 + }, + "identifierName": "buttonTypeClass" + }, + "name": "buttonTypeClass" + }, + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 1215, + "end": 1228, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, "column": 40 } }, + "extra": { + "rawValue": "standardBtn", + "raw": "\"standardBtn\"" + }, + "value": "standardBtn" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 1237, + "end": 1292, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1237, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 60 + } + }, + "operator": "=", "left": { "type": "Identifier", - "start": 742, - "end": 757, + "start": 1237, + "end": 1253, "loc": { "start": { - "line": 26, - "column": 7 + "line": 38, + "column": 6 }, "end": { - "line": 26, + "line": 38, "column": 22 }, + "identifierName": "buttonNormalized" + }, + "name": "buttonNormalized" + }, + "right": { + "type": "TemplateLiteral", + "start": 1256, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 60 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1270, + "end": 1289, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 58 + }, + "identifierName": "buttonWithoutBraces" + }, + "name": "buttonWithoutBraces" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1257, + "end": 1268, + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 37 + } + }, + "value": { + "raw": " hg-button-", + "cooked": " hg-button-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1290, + "end": 1290, + "loc": { + "start": { + "line": 38, + "column": 59 + }, + "end": { + "line": 38, + "column": 59 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1300, + "end": 1350, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 54 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 1307, + "end": 1349, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 53 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1313, + "end": 1328, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 32 + }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, - "operator": "!==", - "right": { - "type": "StringLiteral", - "start": 762, - "end": 775, + { + "type": "Identifier", + "start": 1331, + "end": 1347, "loc": { "start": { - "line": 26, - "column": 27 + "line": 40, + "column": 35 }, "end": { - "line": 26, - "column": 40 - } + "line": 40, + "column": 51 + }, + "identifierName": "buttonNormalized" }, - "extra": { - "rawValue": "standardBtn", - "raw": "\"standardBtn\"" - }, - "value": "standardBtn" + "name": "buttonNormalized" } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 784, - "end": 839, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 61 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 784, - "end": 838, + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1308, + "end": 1311, "loc": { "start": { - "line": 27, - "column": 6 + "line": 40, + "column": 12 }, "end": { - "line": 27, - "column": 60 + "line": 40, + "column": 15 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 784, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 22 - }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" + "value": { + "raw": "hg-", + "cooked": "hg-" }, - "right": { - "type": "TemplateLiteral", - "start": 803, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 25 - }, - "end": { - "line": 27, - "column": 60 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 817, - "end": 836, - "loc": { - "start": { - "line": 27, - "column": 39 - }, - "end": { - "line": 27, - "column": 58 - }, - "identifierName": "buttonWithoutBraces" - }, - "name": "buttonWithoutBraces" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 804, - "end": 815, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 37 - } - }, - "value": { - "raw": " hg-button-", - "cooked": " hg-button-" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 837, - "end": 837, - "loc": { - "start": { - "line": 27, - "column": 59 - }, - "end": { - "line": 27, - "column": 59 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 847, - "end": 897, - "loc": { - "start": { - "line": 29, - "column": 4 + "tail": false }, - "end": { - "line": 29, - "column": 54 - } - }, - "argument": { - "type": "TemplateLiteral", - "start": 854, - "end": 896, - "loc": { - "start": { - "line": 29, - "column": 11 + { + "type": "TemplateElement", + "start": 1329, + "end": 1329, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 33 + } }, - "end": { - "line": 29, - "column": 53 - } + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "expressions": [ - { - "type": "Identifier", - "start": 860, - "end": 875, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 32 - }, - "identifierName": "buttonTypeClass" + { + "type": "TemplateElement", + "start": 1348, + "end": 1348, + "loc": { + "start": { + "line": 40, + "column": 52 }, - "name": "buttonTypeClass" + "end": { + "line": 40, + "column": 52 + } }, - { - "type": "Identifier", - "start": 878, - "end": 894, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 51 - }, - "identifierName": "buttonNormalized" - }, - "name": "buttonNormalized" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 855, - "end": 858, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 15 - } - }, - "value": { - "raw": "hg-", - "cooked": "hg-" - }, - "tail": false + "value": { + "raw": "", + "cooked": "" }, - { - "type": "TemplateElement", - "start": 876, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 895, - "end": 895, - "loc": { - "start": { - "line": 29, - "column": 52 - }, - "end": { - "line": 29, - "column": 52 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } + "tail": true + } + ] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, + "start": 746, + "end": 924, "loc": { "start": { - "line": 15, + "line": 26, "column": 2 }, "end": { - "line": 20, + "line": 31, "column": 5 } } @@ -19949,15 +22579,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -19966,15 +22596,15 @@ }, { "type": "ClassMethod", - "start": 958, - "end": 2526, + "start": 1411, + "end": 2979, "loc": { "start": { - "line": 35, + "line": 46, "column": 2 }, "end": { - "line": 97, + "line": 108, "column": 3 } }, @@ -19982,15 +22612,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 958, - "end": 974, + "start": 1411, + "end": 1427, "loc": { "start": { - "line": 35, + "line": 46, "column": 2 }, "end": { - "line": 35, + "line": 46, "column": 18 }, "identifierName": "getDefaultDiplay" @@ -20006,59 +22636,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 976, - "end": 2526, + "start": 1429, + "end": 2979, "loc": { "start": { - "line": 35, + "line": 46, "column": 20 }, "end": { - "line": 97, + "line": 108, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 983, - "end": 2521, + "start": 1436, + "end": 2974, "loc": { "start": { - "line": 36, + "line": 47, "column": 4 }, "end": { - "line": 96, + "line": 107, "column": 6 } }, "argument": { "type": "ObjectExpression", - "start": 990, - "end": 2520, + "start": 1443, + "end": 2973, "loc": { "start": { - "line": 36, + "line": 47, "column": 11 }, "end": { - "line": 96, + "line": 107, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 999, - "end": 1020, + "start": 1452, + "end": 1473, "loc": { "start": { - "line": 37, + "line": 48, "column": 6 }, "end": { - "line": 37, + "line": 48, "column": 27 } }, @@ -20067,15 +22697,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 999, - "end": 1007, + "start": 1452, + "end": 1460, "loc": { "start": { - "line": 37, + "line": 48, "column": 6 }, "end": { - "line": 37, + "line": 48, "column": 14 } }, @@ -20087,15 +22717,15 @@ }, "value": { "type": "StringLiteral", - "start": 1009, - "end": 1020, + "start": 1462, + "end": 1473, "loc": { "start": { - "line": 37, + "line": 48, "column": 16 }, "end": { - "line": 37, + "line": 48, "column": 27 } }, @@ -20108,15 +22738,15 @@ }, { "type": "ObjectProperty", - "start": 1029, - "end": 1055, + "start": 1482, + "end": 1508, "loc": { "start": { - "line": 38, + "line": 49, "column": 6 }, "end": { - "line": 38, + "line": 49, "column": 32 } }, @@ -20125,15 +22755,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1029, - "end": 1042, + "start": 1482, + "end": 1495, "loc": { "start": { - "line": 38, + "line": 49, "column": 6 }, "end": { - "line": 38, + "line": 49, "column": 19 } }, @@ -20145,15 +22775,15 @@ }, "value": { "type": "StringLiteral", - "start": 1044, - "end": 1055, + "start": 1497, + "end": 1508, "loc": { "start": { - "line": 38, + "line": 49, "column": 21 }, "end": { - "line": 38, + "line": 49, "column": 32 } }, @@ -20166,15 +22796,15 @@ }, { "type": "ObjectProperty", - "start": 1064, - "end": 1084, + "start": 1517, + "end": 1537, "loc": { "start": { - "line": 39, + "line": 50, "column": 6 }, "end": { - "line": 39, + "line": 50, "column": 26 } }, @@ -20183,15 +22813,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1064, - "end": 1073, + "start": 1517, + "end": 1526, "loc": { "start": { - "line": 39, + "line": 50, "column": 6 }, "end": { - "line": 39, + "line": 50, "column": 15 } }, @@ -20203,15 +22833,15 @@ }, "value": { "type": "StringLiteral", - "start": 1075, - "end": 1084, + "start": 1528, + "end": 1537, "loc": { "start": { - "line": 39, + "line": 50, "column": 17 }, "end": { - "line": 39, + "line": 50, "column": 26 } }, @@ -20224,15 +22854,15 @@ }, { "type": "ObjectProperty", - "start": 1093, - "end": 1111, + "start": 1546, + "end": 1564, "loc": { "start": { - "line": 40, + "line": 51, "column": 6 }, "end": { - "line": 40, + "line": 51, "column": 24 } }, @@ -20241,15 +22871,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1093, - "end": 1102, + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 40, + "line": 51, "column": 6 }, "end": { - "line": 40, + "line": 51, "column": 15 } }, @@ -20261,15 +22891,15 @@ }, "value": { "type": "StringLiteral", - "start": 1104, - "end": 1111, + "start": 1557, + "end": 1564, "loc": { "start": { - "line": 40, + "line": 51, "column": 17 }, "end": { - "line": 40, + "line": 51, "column": 24 } }, @@ -20282,15 +22912,15 @@ }, { "type": "ObjectProperty", - "start": 1120, - "end": 1142, + "start": 1573, + "end": 1595, "loc": { "start": { - "line": 41, + "line": 52, "column": 6 }, "end": { - "line": 41, + "line": 52, "column": 28 } }, @@ -20299,15 +22929,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1120, - "end": 1133, + "start": 1573, + "end": 1586, "loc": { "start": { - "line": 41, + "line": 52, "column": 6 }, "end": { - "line": 41, + "line": 52, "column": 19 } }, @@ -20319,15 +22949,15 @@ }, "value": { "type": "StringLiteral", - "start": 1135, - "end": 1142, + "start": 1588, + "end": 1595, "loc": { "start": { - "line": 41, + "line": 52, "column": 21 }, "end": { - "line": 41, + "line": 52, "column": 28 } }, @@ -20340,15 +22970,15 @@ }, { "type": "ObjectProperty", - "start": 1151, - "end": 1174, + "start": 1604, + "end": 1627, "loc": { "start": { - "line": 42, + "line": 53, "column": 6 }, "end": { - "line": 42, + "line": 53, "column": 29 } }, @@ -20357,15 +22987,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1151, - "end": 1165, + "start": 1604, + "end": 1618, "loc": { "start": { - "line": 42, + "line": 53, "column": 6 }, "end": { - "line": 42, + "line": 53, "column": 20 } }, @@ -20377,15 +23007,15 @@ }, "value": { "type": "StringLiteral", - "start": 1167, - "end": 1174, + "start": 1620, + "end": 1627, "loc": { "start": { - "line": 42, + "line": 53, "column": 22 }, "end": { - "line": 42, + "line": 53, "column": 29 } }, @@ -20398,15 +23028,15 @@ }, { "type": "ObjectProperty", - "start": 1183, - "end": 1197, + "start": 1636, + "end": 1650, "loc": { "start": { - "line": 43, + "line": 54, "column": 6 }, "end": { - "line": 43, + "line": 54, "column": 20 } }, @@ -20415,15 +23045,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1183, - "end": 1190, + "start": 1636, + "end": 1643, "loc": { "start": { - "line": 43, + "line": 54, "column": 6 }, "end": { - "line": 43, + "line": 54, "column": 13 } }, @@ -20435,15 +23065,15 @@ }, "value": { "type": "StringLiteral", - "start": 1192, - "end": 1197, + "start": 1645, + "end": 1650, "loc": { "start": { - "line": 43, + "line": 54, "column": 15 }, "end": { - "line": 43, + "line": 54, "column": 20 } }, @@ -20456,15 +23086,15 @@ }, { "type": "ObjectProperty", - "start": 1206, - "end": 1220, + "start": 1659, + "end": 1673, "loc": { "start": { - "line": 44, + "line": 55, "column": 6 }, "end": { - "line": 44, + "line": 55, "column": 20 } }, @@ -20473,15 +23103,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1206, - "end": 1211, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 44, + "line": 55, "column": 6 }, "end": { - "line": 44, + "line": 55, "column": 11 } }, @@ -20493,15 +23123,15 @@ }, "value": { "type": "StringLiteral", - "start": 1213, - "end": 1220, + "start": 1666, + "end": 1673, "loc": { "start": { - "line": 44, + "line": 55, "column": 13 }, "end": { - "line": 44, + "line": 55, "column": 20 } }, @@ -20514,15 +23144,15 @@ }, { "type": "ObjectProperty", - "start": 1229, - "end": 1243, + "start": 1682, + "end": 1696, "loc": { "start": { - "line": 45, + "line": 56, "column": 6 }, "end": { - "line": 45, + "line": 56, "column": 20 } }, @@ -20531,15 +23161,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1229, - "end": 1236, + "start": 1682, + "end": 1689, "loc": { "start": { - "line": 45, + "line": 56, "column": 6 }, "end": { - "line": 45, + "line": 56, "column": 13 } }, @@ -20551,15 +23181,15 @@ }, "value": { "type": "StringLiteral", - "start": 1238, - "end": 1243, + "start": 1691, + "end": 1696, "loc": { "start": { - "line": 45, + "line": 56, "column": 15 }, "end": { - "line": 45, + "line": 56, "column": 20 } }, @@ -20572,15 +23202,15 @@ }, { "type": "ObjectProperty", - "start": 1252, - "end": 1268, + "start": 1705, + "end": 1721, "loc": { "start": { - "line": 46, + "line": 57, "column": 6 }, "end": { - "line": 46, + "line": 57, "column": 22 } }, @@ -20589,15 +23219,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1252, - "end": 1260, + "start": 1705, + "end": 1713, "loc": { "start": { - "line": 46, + "line": 57, "column": 6 }, "end": { - "line": 46, + "line": 57, "column": 14 } }, @@ -20609,15 +23239,15 @@ }, "value": { "type": "StringLiteral", - "start": 1262, - "end": 1268, + "start": 1715, + "end": 1721, "loc": { "start": { - "line": 46, + "line": 57, "column": 16 }, "end": { - "line": 46, + "line": 57, "column": 22 } }, @@ -20630,15 +23260,15 @@ }, { "type": "ObjectProperty", - "start": 1277, - "end": 1297, + "start": 1730, + "end": 1750, "loc": { "start": { - "line": 47, + "line": 58, "column": 6 }, "end": { - "line": 47, + "line": 58, "column": 26 } }, @@ -20647,15 +23277,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1277, - "end": 1289, + "start": 1730, + "end": 1742, "loc": { "start": { - "line": 47, + "line": 58, "column": 6 }, "end": { - "line": 47, + "line": 58, "column": 18 } }, @@ -20667,15 +23297,15 @@ }, "value": { "type": "StringLiteral", - "start": 1291, - "end": 1297, + "start": 1744, + "end": 1750, "loc": { "start": { - "line": 47, + "line": 58, "column": 20 }, "end": { - "line": 47, + "line": 58, "column": 26 } }, @@ -20688,15 +23318,15 @@ }, { "type": "ObjectProperty", - "start": 1306, - "end": 1326, + "start": 1759, + "end": 1779, "loc": { "start": { - "line": 48, + "line": 59, "column": 6 }, "end": { - "line": 48, + "line": 59, "column": 26 } }, @@ -20705,15 +23335,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1306, - "end": 1316, + "start": 1759, + "end": 1769, "loc": { "start": { - "line": 48, + "line": 59, "column": 6 }, "end": { - "line": 48, + "line": 59, "column": 16 } }, @@ -20725,15 +23355,15 @@ }, "value": { "type": "StringLiteral", - "start": 1318, - "end": 1326, + "start": 1771, + "end": 1779, "loc": { "start": { - "line": 48, + "line": 59, "column": 18 }, "end": { - "line": 48, + "line": 59, "column": 26 } }, @@ -20746,15 +23376,15 @@ }, { "type": "ObjectProperty", - "start": 1335, - "end": 1349, + "start": 1788, + "end": 1802, "loc": { "start": { - "line": 49, + "line": 60, "column": 6 }, "end": { - "line": 49, + "line": 60, "column": 20 } }, @@ -20763,15 +23393,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1335, - "end": 1344, + "start": 1788, + "end": 1797, "loc": { "start": { - "line": 49, + "line": 60, "column": 6 }, "end": { - "line": 49, + "line": 60, "column": 15 } }, @@ -20783,15 +23413,15 @@ }, "value": { "type": "StringLiteral", - "start": 1346, - "end": 1349, + "start": 1799, + "end": 1802, "loc": { "start": { - "line": 49, + "line": 60, "column": 17 }, "end": { - "line": 49, + "line": 60, "column": 20 } }, @@ -20804,15 +23434,15 @@ }, { "type": "ObjectProperty", - "start": 1358, - "end": 1369, + "start": 1811, + "end": 1822, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, + "line": 61, "column": 17 } }, @@ -20821,15 +23451,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1358, - "end": 1364, + "start": 1811, + "end": 1817, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, + "line": 61, "column": 12 } }, @@ -20841,15 +23471,15 @@ }, "value": { "type": "StringLiteral", - "start": 1366, - "end": 1369, + "start": 1819, + "end": 1822, "loc": { "start": { - "line": 50, + "line": 61, "column": 14 }, "end": { - "line": 50, + "line": 61, "column": 17 } }, @@ -20862,15 +23492,15 @@ }, { "type": "ObjectProperty", - "start": 1378, - "end": 1392, + "start": 1831, + "end": 1845, "loc": { "start": { - "line": 51, + "line": 62, "column": 6 }, "end": { - "line": 51, + "line": 62, "column": 20 } }, @@ -20879,15 +23509,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1378, - "end": 1385, + "start": 1831, + "end": 1838, "loc": { "start": { - "line": 51, + "line": 62, "column": 6 }, "end": { - "line": 51, + "line": 62, "column": 13 } }, @@ -20899,15 +23529,15 @@ }, "value": { "type": "StringLiteral", - "start": 1387, - "end": 1392, + "start": 1840, + "end": 1845, "loc": { "start": { - "line": 51, + "line": 62, "column": 15 }, "end": { - "line": 51, + "line": 62, "column": 20 } }, @@ -20920,15 +23550,15 @@ }, { "type": "ObjectProperty", - "start": 1401, - "end": 1418, + "start": 1854, + "end": 1871, "loc": { "start": { - "line": 52, + "line": 63, "column": 6 }, "end": { - "line": 52, + "line": 63, "column": 23 } }, @@ -20937,15 +23567,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1401, - "end": 1411, + "start": 1854, + "end": 1864, "loc": { "start": { - "line": 52, + "line": 63, "column": 6 }, "end": { - "line": 52, + "line": 63, "column": 16 } }, @@ -20957,15 +23587,15 @@ }, "value": { "type": "StringLiteral", - "start": 1413, - "end": 1418, + "start": 1866, + "end": 1871, "loc": { "start": { - "line": 52, + "line": 63, "column": 18 }, "end": { - "line": 52, + "line": 63, "column": 23 } }, @@ -20978,15 +23608,15 @@ }, { "type": "ObjectProperty", - "start": 1427, - "end": 1439, + "start": 1880, + "end": 1892, "loc": { "start": { - "line": 53, + "line": 64, "column": 6 }, "end": { - "line": 53, + "line": 64, "column": 18 } }, @@ -20995,15 +23625,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1427, - "end": 1433, + "start": 1880, + "end": 1886, "loc": { "start": { - "line": 53, + "line": 64, "column": 6 }, "end": { - "line": 53, + "line": 64, "column": 12 } }, @@ -21015,15 +23645,15 @@ }, "value": { "type": "StringLiteral", - "start": 1435, - "end": 1439, + "start": 1888, + "end": 1892, "loc": { "start": { - "line": 53, + "line": 64, "column": 14 }, "end": { - "line": 53, + "line": 64, "column": 18 } }, @@ -21036,15 +23666,15 @@ }, { "type": "ObjectProperty", - "start": 1448, - "end": 1460, + "start": 1901, + "end": 1913, "loc": { "start": { - "line": 54, + "line": 65, "column": 6 }, "end": { - "line": 54, + "line": 65, "column": 18 } }, @@ -21053,15 +23683,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1448, - "end": 1454, + "start": 1901, + "end": 1907, "loc": { "start": { - "line": 54, + "line": 65, "column": 6 }, "end": { - "line": 54, + "line": 65, "column": 12 } }, @@ -21073,15 +23703,15 @@ }, "value": { "type": "StringLiteral", - "start": 1456, - "end": 1460, + "start": 1909, + "end": 1913, "loc": { "start": { - "line": 54, + "line": 65, "column": 14 }, "end": { - "line": 54, + "line": 65, "column": 18 } }, @@ -21094,15 +23724,15 @@ }, { "type": "ObjectProperty", - "start": 1469, - "end": 1481, + "start": 1922, + "end": 1934, "loc": { "start": { - "line": 55, + "line": 66, "column": 6 }, "end": { - "line": 55, + "line": 66, "column": 18 } }, @@ -21111,15 +23741,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1469, - "end": 1475, + "start": 1922, + "end": 1928, "loc": { "start": { - "line": 55, + "line": 66, "column": 6 }, "end": { - "line": 55, + "line": 66, "column": 12 } }, @@ -21131,15 +23761,15 @@ }, "value": { "type": "StringLiteral", - "start": 1477, - "end": 1481, + "start": 1930, + "end": 1934, "loc": { "start": { - "line": 55, + "line": 66, "column": 14 }, "end": { - "line": 55, + "line": 66, "column": 18 } }, @@ -21152,15 +23782,15 @@ }, { "type": "ObjectProperty", - "start": 1490, - "end": 1502, + "start": 1943, + "end": 1955, "loc": { "start": { - "line": 56, + "line": 67, "column": 6 }, "end": { - "line": 56, + "line": 67, "column": 18 } }, @@ -21169,15 +23799,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1490, - "end": 1496, + "start": 1943, + "end": 1949, "loc": { "start": { - "line": 56, + "line": 67, "column": 6 }, "end": { - "line": 56, + "line": 67, "column": 12 } }, @@ -21189,15 +23819,15 @@ }, "value": { "type": "StringLiteral", - "start": 1498, - "end": 1502, + "start": 1951, + "end": 1955, "loc": { "start": { - "line": 56, + "line": 67, "column": 14 }, "end": { - "line": 56, + "line": 67, "column": 18 } }, @@ -21210,15 +23840,15 @@ }, { "type": "ObjectProperty", - "start": 1511, - "end": 1523, + "start": 1964, + "end": 1976, "loc": { "start": { - "line": 57, + "line": 68, "column": 6 }, "end": { - "line": 57, + "line": 68, "column": 18 } }, @@ -21227,15 +23857,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1511, - "end": 1517, + "start": 1964, + "end": 1970, "loc": { "start": { - "line": 57, + "line": 68, "column": 6 }, "end": { - "line": 57, + "line": 68, "column": 12 } }, @@ -21247,15 +23877,15 @@ }, "value": { "type": "StringLiteral", - "start": 1519, - "end": 1523, + "start": 1972, + "end": 1976, "loc": { "start": { - "line": 57, + "line": 68, "column": 14 }, "end": { - "line": 57, + "line": 68, "column": 18 } }, @@ -21268,15 +23898,15 @@ }, { "type": "ObjectProperty", - "start": 1532, - "end": 1544, + "start": 1985, + "end": 1997, "loc": { "start": { - "line": 58, + "line": 69, "column": 6 }, "end": { - "line": 58, + "line": 69, "column": 18 } }, @@ -21285,15 +23915,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1532, - "end": 1538, + "start": 1985, + "end": 1991, "loc": { "start": { - "line": 58, + "line": 69, "column": 6 }, "end": { - "line": 58, + "line": 69, "column": 12 } }, @@ -21305,15 +23935,15 @@ }, "value": { "type": "StringLiteral", - "start": 1540, - "end": 1544, + "start": 1993, + "end": 1997, "loc": { "start": { - "line": 58, + "line": 69, "column": 14 }, "end": { - "line": 58, + "line": 69, "column": 18 } }, @@ -21326,15 +23956,15 @@ }, { "type": "ObjectProperty", - "start": 1553, - "end": 1565, + "start": 2006, + "end": 2018, "loc": { "start": { - "line": 59, + "line": 70, "column": 6 }, "end": { - "line": 59, + "line": 70, "column": 18 } }, @@ -21343,15 +23973,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1553, - "end": 1559, + "start": 2006, + "end": 2012, "loc": { "start": { - "line": 59, + "line": 70, "column": 6 }, "end": { - "line": 59, + "line": 70, "column": 12 } }, @@ -21363,15 +23993,15 @@ }, "value": { "type": "StringLiteral", - "start": 1561, - "end": 1565, + "start": 2014, + "end": 2018, "loc": { "start": { - "line": 59, + "line": 70, "column": 14 }, "end": { - "line": 59, + "line": 70, "column": 18 } }, @@ -21384,15 +24014,15 @@ }, { "type": "ObjectProperty", - "start": 1574, - "end": 1586, + "start": 2027, + "end": 2039, "loc": { "start": { - "line": 60, + "line": 71, "column": 6 }, "end": { - "line": 60, + "line": 71, "column": 18 } }, @@ -21401,15 +24031,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1574, - "end": 1580, + "start": 2027, + "end": 2033, "loc": { "start": { - "line": 60, + "line": 71, "column": 6 }, "end": { - "line": 60, + "line": 71, "column": 12 } }, @@ -21421,15 +24051,15 @@ }, "value": { "type": "StringLiteral", - "start": 1582, - "end": 1586, + "start": 2035, + "end": 2039, "loc": { "start": { - "line": 60, + "line": 71, "column": 14 }, "end": { - "line": 60, + "line": 71, "column": 18 } }, @@ -21442,15 +24072,15 @@ }, { "type": "ObjectProperty", - "start": 1595, - "end": 1607, + "start": 2048, + "end": 2060, "loc": { "start": { - "line": 61, + "line": 72, "column": 6 }, "end": { - "line": 61, + "line": 72, "column": 18 } }, @@ -21459,15 +24089,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1595, - "end": 1601, + "start": 2048, + "end": 2054, "loc": { "start": { - "line": 61, + "line": 72, "column": 6 }, "end": { - "line": 61, + "line": 72, "column": 12 } }, @@ -21479,15 +24109,15 @@ }, "value": { "type": "StringLiteral", - "start": 1603, - "end": 1607, + "start": 2056, + "end": 2060, "loc": { "start": { - "line": 61, + "line": 72, "column": 14 }, "end": { - "line": 61, + "line": 72, "column": 18 } }, @@ -21500,15 +24130,15 @@ }, { "type": "ObjectProperty", - "start": 1616, - "end": 1630, + "start": 2069, + "end": 2083, "loc": { "start": { - "line": 62, + "line": 73, "column": 6 }, "end": { - "line": 62, + "line": 73, "column": 20 } }, @@ -21517,15 +24147,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1616, - "end": 1623, + "start": 2069, + "end": 2076, "loc": { "start": { - "line": 62, + "line": 73, "column": 6 }, "end": { - "line": 62, + "line": 73, "column": 13 } }, @@ -21537,15 +24167,15 @@ }, "value": { "type": "StringLiteral", - "start": 1625, - "end": 1630, + "start": 2078, + "end": 2083, "loc": { "start": { - "line": 62, + "line": 73, "column": 15 }, "end": { - "line": 62, + "line": 73, "column": 20 } }, @@ -21558,15 +24188,15 @@ }, { "type": "ObjectProperty", - "start": 1639, - "end": 1653, + "start": 2092, + "end": 2106, "loc": { "start": { - "line": 63, + "line": 74, "column": 6 }, "end": { - "line": 63, + "line": 74, "column": 20 } }, @@ -21575,15 +24205,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1639, - "end": 1646, + "start": 2092, + "end": 2099, "loc": { "start": { - "line": 63, + "line": 74, "column": 6 }, "end": { - "line": 63, + "line": 74, "column": 13 } }, @@ -21595,15 +24225,15 @@ }, "value": { "type": "StringLiteral", - "start": 1648, - "end": 1653, + "start": 2101, + "end": 2106, "loc": { "start": { - "line": 63, + "line": 74, "column": 15 }, "end": { - "line": 63, + "line": 74, "column": 20 } }, @@ -21616,15 +24246,15 @@ }, { "type": "ObjectProperty", - "start": 1662, - "end": 1676, + "start": 2115, + "end": 2129, "loc": { "start": { - "line": 64, + "line": 75, "column": 6 }, "end": { - "line": 64, + "line": 75, "column": 20 } }, @@ -21633,15 +24263,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1662, - "end": 1669, + "start": 2115, + "end": 2122, "loc": { "start": { - "line": 64, + "line": 75, "column": 6 }, "end": { - "line": 64, + "line": 75, "column": 13 } }, @@ -21653,15 +24283,15 @@ }, "value": { "type": "StringLiteral", - "start": 1671, - "end": 1676, + "start": 2124, + "end": 2129, "loc": { "start": { - "line": 64, + "line": 75, "column": 15 }, "end": { - "line": 64, + "line": 75, "column": 20 } }, @@ -21674,15 +24304,15 @@ }, { "type": "ObjectProperty", - "start": 1685, - "end": 1706, + "start": 2138, + "end": 2159, "loc": { "start": { - "line": 65, + "line": 76, "column": 6 }, "end": { - "line": 65, + "line": 76, "column": 27 } }, @@ -21691,15 +24321,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1685, - "end": 1701, + "start": 2138, + "end": 2154, "loc": { "start": { - "line": 65, + "line": 76, "column": 6 }, "end": { - "line": 65, + "line": 76, "column": 22 } }, @@ -21711,15 +24341,15 @@ }, "value": { "type": "StringLiteral", - "start": 1703, - "end": 1706, + "start": 2156, + "end": 2159, "loc": { "start": { - "line": 65, + "line": 76, "column": 24 }, "end": { - "line": 65, + "line": 76, "column": 27 } }, @@ -21732,15 +24362,15 @@ }, { "type": "ObjectProperty", - "start": 1715, - "end": 1734, + "start": 2168, + "end": 2187, "loc": { "start": { - "line": 66, + "line": 77, "column": 6 }, "end": { - "line": 66, + "line": 77, "column": 25 } }, @@ -21749,15 +24379,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1715, - "end": 1726, + "start": 2168, + "end": 2179, "loc": { "start": { - "line": 66, + "line": 77, "column": 6 }, "end": { - "line": 66, + "line": 77, "column": 17 } }, @@ -21769,15 +24399,15 @@ }, "value": { "type": "StringLiteral", - "start": 1728, - "end": 1734, + "start": 2181, + "end": 2187, "loc": { "start": { - "line": 66, + "line": 77, "column": 19 }, "end": { - "line": 66, + "line": 77, "column": 25 } }, @@ -21790,15 +24420,15 @@ }, { "type": "ObjectProperty", - "start": 1743, - "end": 1759, + "start": 2196, + "end": 2212, "loc": { "start": { - "line": 67, + "line": 78, "column": 6 }, "end": { - "line": 67, + "line": 78, "column": 22 } }, @@ -21807,15 +24437,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1743, - "end": 1754, + "start": 2196, + "end": 2207, "loc": { "start": { - "line": 67, + "line": 78, "column": 6 }, "end": { - "line": 67, + "line": 78, "column": 17 } }, @@ -21827,15 +24457,15 @@ }, "value": { "type": "StringLiteral", - "start": 1756, - "end": 1759, + "start": 2209, + "end": 2212, "loc": { "start": { - "line": 67, + "line": 78, "column": 19 }, "end": { - "line": 67, + "line": 78, "column": 22 } }, @@ -21848,15 +24478,15 @@ }, { "type": "ObjectProperty", - "start": 1768, - "end": 1786, + "start": 2221, + "end": 2239, "loc": { "start": { - "line": 68, + "line": 79, "column": 6 }, "end": { - "line": 68, + "line": 79, "column": 24 } }, @@ -21865,15 +24495,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1768, - "end": 1781, + "start": 2221, + "end": 2234, "loc": { "start": { - "line": 68, + "line": 79, "column": 6 }, "end": { - "line": 68, + "line": 79, "column": 19 } }, @@ -21885,15 +24515,15 @@ }, "value": { "type": "StringLiteral", - "start": 1783, - "end": 1786, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 68, + "line": 79, "column": 21 }, "end": { - "line": 68, + "line": 79, "column": 24 } }, @@ -21906,15 +24536,15 @@ }, { "type": "ObjectProperty", - "start": 1795, - "end": 1813, + "start": 2248, + "end": 2266, "loc": { "start": { - "line": 69, + "line": 80, "column": 6 }, "end": { - "line": 69, + "line": 80, "column": 24 } }, @@ -21923,15 +24553,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1795, - "end": 1808, + "start": 2248, + "end": 2261, "loc": { "start": { - "line": 69, + "line": 80, "column": 6 }, "end": { - "line": 69, + "line": 80, "column": 19 } }, @@ -21943,15 +24573,15 @@ }, "value": { "type": "StringLiteral", - "start": 1810, - "end": 1813, + "start": 2263, + "end": 2266, "loc": { "start": { - "line": 69, + "line": 80, "column": 21 }, "end": { - "line": 69, + "line": 80, "column": 24 } }, @@ -21964,15 +24594,15 @@ }, { "type": "ObjectProperty", - "start": 1822, - "end": 1841, + "start": 2275, + "end": 2294, "loc": { "start": { - "line": 70, + "line": 81, "column": 6 }, "end": { - "line": 70, + "line": 81, "column": 25 } }, @@ -21981,15 +24611,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1822, - "end": 1836, + "start": 2275, + "end": 2289, "loc": { "start": { - "line": 70, + "line": 81, "column": 6 }, "end": { - "line": 70, + "line": 81, "column": 20 } }, @@ -22001,15 +24631,15 @@ }, "value": { "type": "StringLiteral", - "start": 1838, - "end": 1841, + "start": 2291, + "end": 2294, "loc": { "start": { - "line": 70, + "line": 81, "column": 22 }, "end": { - "line": 70, + "line": 81, "column": 25 } }, @@ -22022,15 +24652,15 @@ }, { "type": "ObjectProperty", - "start": 1850, - "end": 1869, + "start": 2303, + "end": 2322, "loc": { "start": { - "line": 71, + "line": 82, "column": 6 }, "end": { - "line": 71, + "line": 82, "column": 25 } }, @@ -22039,15 +24669,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1850, - "end": 1860, + "start": 2303, + "end": 2313, "loc": { "start": { - "line": 71, + "line": 82, "column": 6 }, "end": { - "line": 71, + "line": 82, "column": 16 } }, @@ -22059,15 +24689,15 @@ }, "value": { "type": "StringLiteral", - "start": 1862, - "end": 1869, + "start": 2315, + "end": 2322, "loc": { "start": { - "line": 71, + "line": 82, "column": 18 }, "end": { - "line": 71, + "line": 82, "column": 25 } }, @@ -22080,15 +24710,15 @@ }, { "type": "ObjectProperty", - "start": 1878, - "end": 1902, + "start": 2331, + "end": 2355, "loc": { "start": { - "line": 72, + "line": 83, "column": 6 }, "end": { - "line": 72, + "line": 83, "column": 30 } }, @@ -22097,15 +24727,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1878, - "end": 1892, + "start": 2331, + "end": 2345, "loc": { "start": { - "line": 72, + "line": 83, "column": 6 }, "end": { - "line": 72, + "line": 83, "column": 20 } }, @@ -22117,15 +24747,15 @@ }, "value": { "type": "StringLiteral", - "start": 1894, - "end": 1902, + "start": 2347, + "end": 2355, "loc": { "start": { - "line": 72, + "line": 83, "column": 22 }, "end": { - "line": 72, + "line": 83, "column": 30 } }, @@ -22138,15 +24768,15 @@ }, { "type": "ObjectProperty", - "start": 1911, - "end": 1929, + "start": 2364, + "end": 2382, "loc": { "start": { - "line": 73, + "line": 84, "column": 6 }, "end": { - "line": 73, + "line": 84, "column": 24 } }, @@ -22155,15 +24785,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1911, - "end": 1920, + "start": 2364, + "end": 2373, "loc": { "start": { - "line": 73, + "line": 84, "column": 6 }, "end": { - "line": 73, + "line": 84, "column": 15 } }, @@ -22175,15 +24805,15 @@ }, "value": { "type": "StringLiteral", - "start": 1922, - "end": 1929, + "start": 2375, + "end": 2382, "loc": { "start": { - "line": 73, + "line": 84, "column": 17 }, "end": { - "line": 73, + "line": 84, "column": 24 } }, @@ -22196,15 +24826,15 @@ }, { "type": "ObjectProperty", - "start": 1938, - "end": 1955, + "start": 2391, + "end": 2408, "loc": { "start": { - "line": 74, + "line": 85, "column": 6 }, "end": { - "line": 74, + "line": 85, "column": 23 } }, @@ -22213,15 +24843,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1938, - "end": 1948, + "start": 2391, + "end": 2401, "loc": { "start": { - "line": 74, + "line": 85, "column": 6 }, "end": { - "line": 74, + "line": 85, "column": 16 } }, @@ -22233,15 +24863,15 @@ }, "value": { "type": "StringLiteral", - "start": 1950, - "end": 1955, + "start": 2403, + "end": 2408, "loc": { "start": { - "line": 74, + "line": 85, "column": 18 }, "end": { - "line": 74, + "line": 85, "column": 23 } }, @@ -22254,15 +24884,15 @@ }, { "type": "ObjectProperty", - "start": 1964, - "end": 1980, + "start": 2417, + "end": 2433, "loc": { "start": { - "line": 75, + "line": 86, "column": 6 }, "end": { - "line": 75, + "line": 86, "column": 22 } }, @@ -22271,15 +24901,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1964, - "end": 1972, + "start": 2417, + "end": 2425, "loc": { "start": { - "line": 75, + "line": 86, "column": 6 }, "end": { - "line": 75, + "line": 86, "column": 14 } }, @@ -22291,15 +24921,15 @@ }, "value": { "type": "StringLiteral", - "start": 1974, - "end": 1980, + "start": 2427, + "end": 2433, "loc": { "start": { - "line": 75, + "line": 86, "column": 16 }, "end": { - "line": 75, + "line": 86, "column": 22 } }, @@ -22312,15 +24942,15 @@ }, { "type": "ObjectProperty", - "start": 1989, - "end": 2005, + "start": 2442, + "end": 2458, "loc": { "start": { - "line": 76, + "line": 87, "column": 6 }, "end": { - "line": 76, + "line": 87, "column": 22 } }, @@ -22329,15 +24959,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 1989, - "end": 1999, + "start": 2442, + "end": 2452, "loc": { "start": { - "line": 76, + "line": 87, "column": 6 }, "end": { - "line": 76, + "line": 87, "column": 16 } }, @@ -22349,15 +24979,15 @@ }, "value": { "type": "StringLiteral", - "start": 2001, - "end": 2005, + "start": 2454, + "end": 2458, "loc": { "start": { - "line": 76, + "line": 87, "column": 18 }, "end": { - "line": 76, + "line": 87, "column": 22 } }, @@ -22370,15 +25000,15 @@ }, { "type": "ObjectProperty", - "start": 2014, - "end": 2031, + "start": 2467, + "end": 2484, "loc": { "start": { - "line": 77, + "line": 88, "column": 6 }, "end": { - "line": 77, + "line": 88, "column": 23 } }, @@ -22387,15 +25017,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2014, - "end": 2024, + "start": 2467, + "end": 2477, "loc": { "start": { - "line": 77, + "line": 88, "column": 6 }, "end": { - "line": 77, + "line": 88, "column": 16 } }, @@ -22407,15 +25037,15 @@ }, "value": { "type": "StringLiteral", - "start": 2026, - "end": 2031, + "start": 2479, + "end": 2484, "loc": { "start": { - "line": 77, + "line": 88, "column": 18 }, "end": { - "line": 77, + "line": 88, "column": 23 } }, @@ -22428,15 +25058,15 @@ }, { "type": "ObjectProperty", - "start": 2040, - "end": 2054, + "start": 2493, + "end": 2507, "loc": { "start": { - "line": 78, + "line": 89, "column": 6 }, "end": { - "line": 78, + "line": 89, "column": 20 } }, @@ -22445,15 +25075,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2040, - "end": 2047, + "start": 2493, + "end": 2500, "loc": { "start": { - "line": 78, + "line": 89, "column": 6 }, "end": { - "line": 78, + "line": 89, "column": 13 } }, @@ -22465,15 +25095,15 @@ }, "value": { "type": "StringLiteral", - "start": 2049, - "end": 2054, + "start": 2502, + "end": 2507, "loc": { "start": { - "line": 78, + "line": 89, "column": 15 }, "end": { - "line": 78, + "line": 89, "column": 20 } }, @@ -22486,15 +25116,15 @@ }, { "type": "ObjectProperty", - "start": 2063, - "end": 2083, + "start": 2516, + "end": 2536, "loc": { "start": { - "line": 79, + "line": 90, "column": 6 }, "end": { - "line": 79, + "line": 90, "column": 26 } }, @@ -22503,15 +25133,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2063, - "end": 2075, + "start": 2516, + "end": 2528, "loc": { "start": { - "line": 79, + "line": 90, "column": 6 }, "end": { - "line": 79, + "line": 90, "column": 18 } }, @@ -22523,15 +25153,15 @@ }, "value": { "type": "StringLiteral", - "start": 2077, - "end": 2083, + "start": 2530, + "end": 2536, "loc": { "start": { - "line": 79, + "line": 90, "column": 20 }, "end": { - "line": 79, + "line": 90, "column": 26 } }, @@ -22544,15 +25174,15 @@ }, { "type": "ObjectProperty", - "start": 2092, - "end": 2115, + "start": 2545, + "end": 2568, "loc": { "start": { - "line": 80, + "line": 91, "column": 6 }, "end": { - "line": 80, + "line": 91, "column": 29 } }, @@ -22561,15 +25191,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2092, - "end": 2110, + "start": 2545, + "end": 2563, "loc": { "start": { - "line": 80, + "line": 91, "column": 6 }, "end": { - "line": 80, + "line": 91, "column": 24 } }, @@ -22581,15 +25211,15 @@ }, "value": { "type": "StringLiteral", - "start": 2112, - "end": 2115, + "start": 2565, + "end": 2568, "loc": { "start": { - "line": 80, + "line": 91, "column": 26 }, "end": { - "line": 80, + "line": 91, "column": 29 } }, @@ -22602,15 +25232,15 @@ }, { "type": "ObjectProperty", - "start": 2124, - "end": 2147, + "start": 2577, + "end": 2600, "loc": { "start": { - "line": 81, + "line": 92, "column": 6 }, "end": { - "line": 81, + "line": 92, "column": 29 } }, @@ -22619,15 +25249,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2124, - "end": 2142, + "start": 2577, + "end": 2595, "loc": { "start": { - "line": 81, + "line": 92, "column": 6 }, "end": { - "line": 81, + "line": 92, "column": 24 } }, @@ -22639,15 +25269,15 @@ }, "value": { "type": "StringLiteral", - "start": 2144, - "end": 2147, + "start": 2597, + "end": 2600, "loc": { "start": { - "line": 81, + "line": 92, "column": 26 }, "end": { - "line": 81, + "line": 92, "column": 29 } }, @@ -22660,15 +25290,15 @@ }, { "type": "ObjectProperty", - "start": 2156, - "end": 2174, + "start": 2609, + "end": 2627, "loc": { "start": { - "line": 82, + "line": 93, "column": 6 }, "end": { - "line": 82, + "line": 93, "column": 24 } }, @@ -22677,15 +25307,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2156, - "end": 2169, + "start": 2609, + "end": 2622, "loc": { "start": { - "line": 82, + "line": 93, "column": 6 }, "end": { - "line": 82, + "line": 93, "column": 19 } }, @@ -22697,15 +25327,15 @@ }, "value": { "type": "StringLiteral", - "start": 2171, - "end": 2174, + "start": 2624, + "end": 2627, "loc": { "start": { - "line": 82, + "line": 93, "column": 21 }, "end": { - "line": 82, + "line": 93, "column": 24 } }, @@ -22718,15 +25348,15 @@ }, { "type": "ObjectProperty", - "start": 2183, - "end": 2207, + "start": 2636, + "end": 2660, "loc": { "start": { - "line": 83, + "line": 94, "column": 6 }, "end": { - "line": 83, + "line": 94, "column": 30 } }, @@ -22735,15 +25365,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2183, - "end": 2198, + "start": 2636, + "end": 2651, "loc": { "start": { - "line": 83, + "line": 94, "column": 6 }, "end": { - "line": 83, + "line": 94, "column": 21 } }, @@ -22755,15 +25385,15 @@ }, "value": { "type": "StringLiteral", - "start": 2200, - "end": 2207, + "start": 2653, + "end": 2660, "loc": { "start": { - "line": 83, + "line": 94, "column": 23 }, "end": { - "line": 83, + "line": 94, "column": 30 } }, @@ -22776,15 +25406,15 @@ }, { "type": "ObjectProperty", - "start": 2216, - "end": 2231, + "start": 2669, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 95, "column": 6 }, "end": { - "line": 84, + "line": 95, "column": 21 } }, @@ -22793,15 +25423,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2216, - "end": 2226, + "start": 2669, + "end": 2679, "loc": { "start": { - "line": 84, + "line": 95, "column": 6 }, "end": { - "line": 84, + "line": 95, "column": 16 } }, @@ -22813,15 +25443,15 @@ }, "value": { "type": "StringLiteral", - "start": 2228, - "end": 2231, + "start": 2681, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 95, "column": 18 }, "end": { - "line": 84, + "line": 95, "column": 21 } }, @@ -22834,15 +25464,15 @@ }, { "type": "ObjectProperty", - "start": 2240, - "end": 2262, + "start": 2693, + "end": 2715, "loc": { "start": { - "line": 85, + "line": 96, "column": 6 }, "end": { - "line": 85, + "line": 96, "column": 28 } }, @@ -22851,15 +25481,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2240, - "end": 2257, + "start": 2693, + "end": 2710, "loc": { "start": { - "line": 85, + "line": 96, "column": 6 }, "end": { - "line": 85, + "line": 96, "column": 23 } }, @@ -22871,15 +25501,15 @@ }, "value": { "type": "StringLiteral", - "start": 2259, - "end": 2262, + "start": 2712, + "end": 2715, "loc": { "start": { - "line": 85, + "line": 96, "column": 25 }, "end": { - "line": 85, + "line": 96, "column": 28 } }, @@ -22892,15 +25522,15 @@ }, { "type": "ObjectProperty", - "start": 2271, - "end": 2287, + "start": 2724, + "end": 2740, "loc": { "start": { - "line": 86, + "line": 97, "column": 6 }, "end": { - "line": 86, + "line": 97, "column": 22 } }, @@ -22909,15 +25539,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2271, - "end": 2282, + "start": 2724, + "end": 2735, "loc": { "start": { - "line": 86, + "line": 97, "column": 6 }, "end": { - "line": 86, + "line": 97, "column": 17 } }, @@ -22929,15 +25559,15 @@ }, "value": { "type": "StringLiteral", - "start": 2284, - "end": 2287, + "start": 2737, + "end": 2740, "loc": { "start": { - "line": 86, + "line": 97, "column": 19 }, "end": { - "line": 86, + "line": 97, "column": 22 } }, @@ -22950,15 +25580,15 @@ }, { "type": "ObjectProperty", - "start": 2296, - "end": 2312, + "start": 2749, + "end": 2765, "loc": { "start": { - "line": 87, + "line": 98, "column": 6 }, "end": { - "line": 87, + "line": 98, "column": 22 } }, @@ -22967,15 +25597,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2296, - "end": 2307, + "start": 2749, + "end": 2760, "loc": { "start": { - "line": 87, + "line": 98, "column": 6 }, "end": { - "line": 87, + "line": 98, "column": 17 } }, @@ -22987,15 +25617,15 @@ }, "value": { "type": "StringLiteral", - "start": 2309, - "end": 2312, + "start": 2762, + "end": 2765, "loc": { "start": { - "line": 87, + "line": 98, "column": 19 }, "end": { - "line": 87, + "line": 98, "column": 22 } }, @@ -23008,15 +25638,15 @@ }, { "type": "ObjectProperty", - "start": 2321, - "end": 2337, + "start": 2774, + "end": 2790, "loc": { "start": { - "line": 88, + "line": 99, "column": 6 }, "end": { - "line": 88, + "line": 99, "column": 22 } }, @@ -23025,15 +25655,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2321, - "end": 2332, + "start": 2774, + "end": 2785, "loc": { "start": { - "line": 88, + "line": 99, "column": 6 }, "end": { - "line": 88, + "line": 99, "column": 17 } }, @@ -23045,15 +25675,15 @@ }, "value": { "type": "StringLiteral", - "start": 2334, - "end": 2337, + "start": 2787, + "end": 2790, "loc": { "start": { - "line": 88, + "line": 99, "column": 19 }, "end": { - "line": 88, + "line": 99, "column": 22 } }, @@ -23066,15 +25696,15 @@ }, { "type": "ObjectProperty", - "start": 2346, - "end": 2362, + "start": 2799, + "end": 2815, "loc": { "start": { - "line": 89, + "line": 100, "column": 6 }, "end": { - "line": 89, + "line": 100, "column": 22 } }, @@ -23083,15 +25713,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2346, - "end": 2357, + "start": 2799, + "end": 2810, "loc": { "start": { - "line": 89, + "line": 100, "column": 6 }, "end": { - "line": 89, + "line": 100, "column": 17 } }, @@ -23103,15 +25733,15 @@ }, "value": { "type": "StringLiteral", - "start": 2359, - "end": 2362, + "start": 2812, + "end": 2815, "loc": { "start": { - "line": 89, + "line": 100, "column": 19 }, "end": { - "line": 89, + "line": 100, "column": 22 } }, @@ -23124,15 +25754,15 @@ }, { "type": "ObjectProperty", - "start": 2371, - "end": 2387, + "start": 2824, + "end": 2840, "loc": { "start": { - "line": 90, + "line": 101, "column": 6 }, "end": { - "line": 90, + "line": 101, "column": 22 } }, @@ -23141,15 +25771,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2371, - "end": 2382, + "start": 2824, + "end": 2835, "loc": { "start": { - "line": 90, + "line": 101, "column": 6 }, "end": { - "line": 90, + "line": 101, "column": 17 } }, @@ -23161,15 +25791,15 @@ }, "value": { "type": "StringLiteral", - "start": 2384, - "end": 2387, + "start": 2837, + "end": 2840, "loc": { "start": { - "line": 90, + "line": 101, "column": 19 }, "end": { - "line": 90, + "line": 101, "column": 22 } }, @@ -23182,15 +25812,15 @@ }, { "type": "ObjectProperty", - "start": 2396, - "end": 2412, + "start": 2849, + "end": 2865, "loc": { "start": { - "line": 91, + "line": 102, "column": 6 }, "end": { - "line": 91, + "line": 102, "column": 22 } }, @@ -23199,15 +25829,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2396, - "end": 2407, + "start": 2849, + "end": 2860, "loc": { "start": { - "line": 91, + "line": 102, "column": 6 }, "end": { - "line": 91, + "line": 102, "column": 17 } }, @@ -23219,15 +25849,15 @@ }, "value": { "type": "StringLiteral", - "start": 2409, - "end": 2412, + "start": 2862, + "end": 2865, "loc": { "start": { - "line": 91, + "line": 102, "column": 19 }, "end": { - "line": 91, + "line": 102, "column": 22 } }, @@ -23240,15 +25870,15 @@ }, { "type": "ObjectProperty", - "start": 2421, - "end": 2437, + "start": 2874, + "end": 2890, "loc": { "start": { - "line": 92, + "line": 103, "column": 6 }, "end": { - "line": 92, + "line": 103, "column": 22 } }, @@ -23257,15 +25887,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2421, - "end": 2432, + "start": 2874, + "end": 2885, "loc": { "start": { - "line": 92, + "line": 103, "column": 6 }, "end": { - "line": 92, + "line": 103, "column": 17 } }, @@ -23277,15 +25907,15 @@ }, "value": { "type": "StringLiteral", - "start": 2434, - "end": 2437, + "start": 2887, + "end": 2890, "loc": { "start": { - "line": 92, + "line": 103, "column": 19 }, "end": { - "line": 92, + "line": 103, "column": 22 } }, @@ -23298,15 +25928,15 @@ }, { "type": "ObjectProperty", - "start": 2446, - "end": 2462, + "start": 2899, + "end": 2915, "loc": { "start": { - "line": 93, + "line": 104, "column": 6 }, "end": { - "line": 93, + "line": 104, "column": 22 } }, @@ -23315,15 +25945,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2446, - "end": 2457, + "start": 2899, + "end": 2910, "loc": { "start": { - "line": 93, + "line": 104, "column": 6 }, "end": { - "line": 93, + "line": 104, "column": 17 } }, @@ -23335,15 +25965,15 @@ }, "value": { "type": "StringLiteral", - "start": 2459, - "end": 2462, + "start": 2912, + "end": 2915, "loc": { "start": { - "line": 93, + "line": 104, "column": 19 }, "end": { - "line": 93, + "line": 104, "column": 22 } }, @@ -23356,15 +25986,15 @@ }, { "type": "ObjectProperty", - "start": 2471, - "end": 2487, + "start": 2924, + "end": 2940, "loc": { "start": { - "line": 94, + "line": 105, "column": 6 }, "end": { - "line": 94, + "line": 105, "column": 22 } }, @@ -23373,15 +26003,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2471, - "end": 2482, + "start": 2924, + "end": 2935, "loc": { "start": { - "line": 94, + "line": 105, "column": 6 }, "end": { - "line": 94, + "line": 105, "column": 17 } }, @@ -23393,15 +26023,15 @@ }, "value": { "type": "StringLiteral", - "start": 2484, - "end": 2487, + "start": 2937, + "end": 2940, "loc": { "start": { - "line": 94, + "line": 105, "column": 19 }, "end": { - "line": 94, + "line": 105, "column": 22 } }, @@ -23414,15 +26044,15 @@ }, { "type": "ObjectProperty", - "start": 2496, - "end": 2512, + "start": 2949, + "end": 2965, "loc": { "start": { - "line": 95, + "line": 106, "column": 6 }, "end": { - "line": 95, + "line": 106, "column": 22 } }, @@ -23431,15 +26061,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 2496, - "end": 2507, + "start": 2949, + "end": 2960, "loc": { "start": { - "line": 95, + "line": 106, "column": 6 }, "end": { - "line": 95, + "line": 106, "column": 17 } }, @@ -23451,15 +26081,15 @@ }, "value": { "type": "StringLiteral", - "start": 2509, - "end": 2512, + "start": 2962, + "end": 2965, "loc": { "start": { - "line": 95, + "line": 106, "column": 19 }, "end": { - "line": 95, + "line": 106, "column": 22 } }, @@ -23481,15 +26111,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -23499,15 +26129,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -23515,16 +26145,16 @@ ] }, { - "type": "ClassProperty", - "start": 2832, - "end": 3104, + "type": "ClassMethod", + "start": 3285, + "end": 3550, "loc": { "start": { - "line": 105, + "line": 116, "column": 2 }, "end": { - "line": 113, + "line": 124, "column": 3 } }, @@ -23532,15 +26162,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2832, - "end": 2852, + "start": 3285, + "end": 3305, "loc": { "start": { - "line": 105, + "line": 116, "column": 2 }, "end": { - "line": 105, + "line": 116, "column": 22 }, "identifierName": "getButtonDisplayName" @@ -23548,501 +26178,307 @@ "name": "getButtonDisplayName", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 2855, - "end": 3104, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3306, + "end": 3312, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 29 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 3314, + "end": 3321, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 38 + }, + "identifierName": "display" + }, + "name": "display" + }, + { + "type": "Identifier", + "start": 3323, + "end": 3335, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 52 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + } + ], + "body": { + "type": "BlockStatement", + "start": 3336, + "end": 3550, "loc": { "start": { - "line": 105, - "column": 25 + "line": 116, + "column": 53 }, "end": { - "line": 113, + "line": 124, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 2856, - "end": 2862, + "type": "IfStatement", + "start": 3343, + "end": 3504, "loc": { "start": { - "line": 105, - "column": 26 + "line": 117, + "column": 4 }, "end": { - "line": 105, - "column": 32 - }, - "identifierName": "button" + "line": 121, + "column": 5 + } }, - "name": "button" - }, - { - "type": "Identifier", - "start": 2864, - "end": 2871, - "loc": { - "start": { - "line": 105, - "column": 34 - }, - "end": { - "line": 105, - "column": 41 - }, - "identifierName": "display" - }, - "name": "display" - }, - { - "type": "Identifier", - "start": 2873, - "end": 2885, - "loc": { - "start": { - "line": 105, - "column": 43 - }, - "end": { - "line": 105, - "column": 55 - }, - "identifierName": "mergeDisplay" - }, - "name": "mergeDisplay" - } - ], - "body": { - "type": "BlockStatement", - "start": 2890, - "end": 3104, - "loc": { - "start": { - "line": 105, - "column": 60 - }, - "end": { - "line": 113, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2897, - "end": 3058, + "test": { + "type": "Identifier", + "start": 3346, + "end": 3358, "loc": { "start": { - "line": 106, - "column": 4 + "line": 117, + "column": 7 }, "end": { - "line": 110, + "line": 117, + "column": 19 + }, + "identifierName": "mergeDisplay" + }, + "name": "mergeDisplay" + }, + "consequent": { + "type": "BlockStatement", + "start": 3359, + "end": 3437, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 119, "column": 5 } }, - "test": { - "type": "Identifier", - "start": 2900, - "end": 2912, - "loc": { - "start": { - "line": 106, - "column": 7 + "body": [ + { + "type": "ExpressionStatement", + "start": 3368, + "end": 3430, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 68 + } }, - "end": { - "line": 106, - "column": 19 - }, - "identifierName": "mergeDisplay" - }, - "name": "mergeDisplay" - }, - "consequent": { - "type": "BlockStatement", - "start": 2913, - "end": 2991, - "loc": { - "start": { - "line": 106, - "column": 20 - }, - "end": { - "line": 108, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2922, - "end": 2984, + "expression": { + "type": "AssignmentExpression", + "start": 3368, + "end": 3429, "loc": { "start": { - "line": 107, + "line": 118, "column": 6 }, "end": { - "line": 107, - "column": 68 + "line": 118, + "column": 67 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2922, - "end": 2983, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3368, + "end": 3375, "loc": { "start": { - "line": 107, + "line": 118, "column": 6 }, "end": { - "line": 107, + "line": 118, + "column": 13 + }, + "identifierName": "display" + }, + "name": "display" + }, + "right": { + "type": "CallExpression", + "start": 3378, + "end": 3429, + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, "column": 67 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2922, - "end": 2929, + "callee": { + "type": "MemberExpression", + "start": 3378, + "end": 3391, "loc": { "start": { - "line": 107, - "column": 6 - }, - "end": { - "line": 107, - "column": 13 - }, - "identifierName": "display" - }, - "name": "display" - }, - "right": { - "type": "CallExpression", - "start": 2932, - "end": 2983, - "loc": { - "start": { - "line": 107, + "line": 118, "column": 16 }, "end": { - "line": 107, - "column": 67 + "line": 118, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 2932, - "end": 2945, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2932, - "end": 2938, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 22 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 2939, - "end": 2945, - "loc": { - "start": { - "line": 107, - "column": 23 - }, - "end": { - "line": 107, - "column": 29 - }, - "identifierName": "assign" - }, - "name": "assign" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2946, - "end": 2948, - "loc": { - "start": { - "line": 107, - "column": 30 - }, - "end": { - "line": 107, - "column": 32 - } - }, - "properties": [] - }, - { - "type": "CallExpression", - "start": 2950, - "end": 2973, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2950, - "end": 2971, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 55 - } - }, - "object": { - "type": "ThisExpression", - "start": 2950, - "end": 2954, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 2955, - "end": 2971, - "loc": { - "start": { - "line": 107, - "column": 39 - }, - "end": { - "line": 107, - "column": 55 - }, - "identifierName": "getDefaultDiplay" - }, - "name": "getDefaultDiplay" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "Identifier", - "start": 2975, - "end": 2982, - "loc": { - "start": { - "line": 107, - "column": 59 - }, - "end": { - "line": 107, - "column": 66 - }, - "identifierName": "display" - }, - "name": "display" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2997, - "end": 3058, - "loc": { - "start": { - "line": 108, - "column": 11 - }, - "end": { - "line": 110, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3006, - "end": 3051, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3006, - "end": 3050, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3006, - "end": 3013, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 13 - }, - "identifierName": "display" - }, - "name": "display" - }, - "right": { - "type": "LogicalExpression", - "start": 3016, - "end": 3050, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 50 - } - }, - "left": { + "object": { "type": "Identifier", - "start": 3016, - "end": 3023, + "start": 3378, + "end": 3384, "loc": { "start": { - "line": 109, + "line": 118, "column": 16 }, "end": { - "line": 109, + "line": 118, + "column": 22 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 3385, + "end": 3391, + "loc": { + "start": { + "line": 118, "column": 23 }, - "identifierName": "display" + "end": { + "line": 118, + "column": 29 + }, + "identifierName": "assign" }, - "name": "display" + "name": "assign" }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 3027, - "end": 3050, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 3392, + "end": 3394, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 30 }, "end": { - "line": 109, - "column": 50 + "line": 118, + "column": 32 + } + }, + "properties": [] + }, + { + "type": "CallExpression", + "start": 3396, + "end": 3419, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 3027, - "end": 3048, + "start": 3396, + "end": 3417, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 34 }, "end": { - "line": 109, - "column": 48 + "line": 118, + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 3027, - "end": 3031, + "start": 3396, + "end": 3400, "loc": { "start": { - "line": 109, - "column": 27 + "line": 118, + "column": 34 }, "end": { - "line": 109, - "column": 31 + "line": 118, + "column": 38 } } }, "property": { "type": "Identifier", - "start": 3032, - "end": 3048, + "start": 3401, + "end": 3417, "loc": { "start": { - "line": 109, - "column": 32 + "line": 118, + "column": 39 }, "end": { - "line": 109, - "column": 48 + "line": 118, + "column": 55 }, "identifierName": "getDefaultDiplay" }, @@ -24051,131 +26487,310 @@ "computed": false }, "arguments": [] + }, + { + "type": "Identifier", + "start": 3421, + "end": 3428, + "loc": { + "start": { + "line": 118, + "column": 59 + }, + "end": { + "line": 118, + "column": 66 + }, + "identifierName": "display" + }, + "name": "display" } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3443, + "end": 3504, + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3452, + "end": 3497, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3452, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3452, + "end": 3459, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 13 + }, + "identifierName": "display" + }, + "name": "display" + }, + "right": { + "type": "LogicalExpression", + "start": 3462, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 3462, + "end": 3469, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 23 + }, + "identifierName": "display" + }, + "name": "display" + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 3473, + "end": 3496, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3473, + "end": 3494, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 3473, + "end": 3477, + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 3478, + "end": 3494, + "loc": { + "start": { + "line": 120, + "column": 32 + }, + "end": { + "line": 120, + "column": 48 + }, + "identifierName": "getDefaultDiplay" + }, + "name": "getDefaultDiplay" + }, + "computed": false + }, + "arguments": [] } } } - ], - "directives": [] + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 3512, + "end": 3545, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 123, + "column": 37 } }, - { - "type": "ReturnStatement", - "start": 3066, - "end": 3099, + "argument": { + "type": "LogicalExpression", + "start": 3519, + "end": 3544, "loc": { "start": { - "line": 112, - "column": 4 + "line": 123, + "column": 11 }, "end": { - "line": 112, - "column": 37 + "line": 123, + "column": 36 } }, - "argument": { - "type": "LogicalExpression", - "start": 3073, - "end": 3098, + "left": { + "type": "MemberExpression", + "start": 3519, + "end": 3534, "loc": { "start": { - "line": 112, + "line": 123, "column": 11 }, "end": { - "line": 112, - "column": 36 + "line": 123, + "column": 26 } }, - "left": { - "type": "MemberExpression", - "start": 3073, - "end": 3088, + "object": { + "type": "Identifier", + "start": 3519, + "end": 3526, "loc": { "start": { - "line": 112, + "line": 123, "column": 11 }, "end": { - "line": 112, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 3073, - "end": 3080, - "loc": { - "start": { - "line": 112, - "column": 11 - }, - "end": { - "line": 112, - "column": 18 - }, - "identifierName": "display" + "line": 123, + "column": 18 }, - "name": "display" + "identifierName": "display" }, - "property": { - "type": "Identifier", - "start": 3081, - "end": 3087, - "loc": { - "start": { - "line": 112, - "column": 19 - }, - "end": { - "line": 112, - "column": 25 - }, - "identifierName": "button" - }, - "name": "button" - }, - "computed": true + "name": "display" }, - "operator": "||", - "right": { + "property": { "type": "Identifier", - "start": 3092, - "end": 3098, + "start": 3527, + "end": 3533, "loc": { "start": { - "line": 112, - "column": 30 + "line": 123, + "column": 19 }, "end": { - "line": 112, - "column": 36 + "line": 123, + "column": 25 }, "identifierName": "button" }, "name": "button" - } + }, + "computed": true + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 3538, + "end": 3544, + "loc": { + "start": { + "line": 123, + "column": 30 + }, + "end": { + "line": 123, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" } } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -24185,15 +26800,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -24201,16 +26816,16 @@ ] }, { - "type": "ClassProperty", - "start": 3435, - "end": 5028, + "type": "ClassMethod", + "start": 3881, + "end": 5467, "loc": { "start": { - "line": 124, + "line": 135, "column": 2 }, "end": { - "line": 164, + "line": 175, "column": 3 } }, @@ -24218,15 +26833,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3435, - "end": 3450, + "start": 3881, + "end": 3896, "loc": { "start": { - "line": 124, + "line": 135, "column": 2 }, "end": { - "line": 124, + "line": 135, "column": 17 }, "identifierName": "getUpdatedInput" @@ -24234,623 +26849,231 @@ "name": "getUpdatedInput", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 3453, - "end": 5028, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3897, + "end": 3903, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 24 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 3905, + "end": 3910, + "loc": { + "start": { + "line": 135, + "column": 26 + }, + "end": { + "line": 135, + "column": 31 + }, + "identifierName": "input" + }, + "name": "input" + }, + { + "type": "Identifier", + "start": 3912, + "end": 3919, + "loc": { + "start": { + "line": 135, + "column": 33 + }, + "end": { + "line": 135, + "column": 40 + }, + "identifierName": "options" + }, + "name": "options" + }, + { + "type": "Identifier", + "start": 3921, + "end": 3929, + "loc": { + "start": { + "line": 135, + "column": 42 + }, + "end": { + "line": 135, + "column": 50 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ], + "body": { + "type": "BlockStatement", + "start": 3930, + "end": 5467, "loc": { "start": { - "line": 124, - "column": 20 + "line": 135, + "column": 51 }, "end": { - "line": 164, + "line": 175, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 3454, - "end": 3460, + "type": "VariableDeclaration", + "start": 3943, + "end": 3962, "loc": { "start": { - "line": 124, - "column": 21 + "line": 137, + "column": 4 }, "end": { - "line": 124, - "column": 27 - }, - "identifierName": "button" + "line": 137, + "column": 23 + } }, - "name": "button" - }, - { - "type": "Identifier", - "start": 3462, - "end": 3467, - "loc": { - "start": { - "line": 124, - "column": 29 - }, - "end": { - "line": 124, - "column": 34 - }, - "identifierName": "input" - }, - "name": "input" - }, - { - "type": "Identifier", - "start": 3469, - "end": 3476, - "loc": { - "start": { - "line": 124, - "column": 36 - }, - "end": { - "line": 124, - "column": 43 - }, - "identifierName": "options" - }, - "name": "options" - }, - { - "type": "Identifier", - "start": 3478, - "end": 3486, - "loc": { - "start": { - "line": 124, - "column": 45 - }, - "end": { - "line": 124, - "column": 53 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ], - "body": { - "type": "BlockStatement", - "start": 3491, - "end": 5028, - "loc": { - "start": { - "line": 124, - "column": 58 - }, - "end": { - "line": 164, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3504, - "end": 3523, - "loc": { - "start": { - "line": 126, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3947, + "end": 3961, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 22 + } }, - "end": { - "line": 126, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3508, - "end": 3522, + "id": { + "type": "Identifier", + "start": 3947, + "end": 3953, "loc": { "start": { - "line": 126, + "line": 137, "column": 8 }, "end": { - "line": 126, + "line": 137, + "column": 14 + }, + "identifierName": "output" + }, + "name": "output" + }, + "init": { + "type": "Identifier", + "start": 3956, + "end": 3961, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 3508, - "end": 3514, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 14 - }, - "identifierName": "output" }, - "name": "output" + "identifierName": "input" }, - "init": { - "type": "Identifier", - "start": 3517, - "end": 3522, - "loc": { - "start": { - "line": 126, - "column": 17 - }, - "end": { - "line": 126, - "column": 22 - }, - "identifierName": "input" - }, - "name": "input" - } + "name": "input" } - ], - "kind": "let" + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 3970, + "end": 5440, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 172, + "column": 58 + } }, - { - "type": "IfStatement", - "start": 3531, - "end": 5001, + "test": { + "type": "LogicalExpression", + "start": 3973, + "end": 4043, "loc": { "start": { - "line": 128, - "column": 4 + "line": 139, + "column": 7 }, "end": { - "line": 161, - "column": 58 + "line": 139, + "column": 77 } }, - "test": { + "left": { "type": "LogicalExpression", - "start": 3534, - "end": 3604, + "start": 3974, + "end": 4021, "loc": { "start": { - "line": 128, - "column": 7 + "line": 139, + "column": 8 }, "end": { - "line": 128, - "column": 77 + "line": 139, + "column": 55 } }, "left": { - "type": "LogicalExpression", - "start": 3535, - "end": 3582, + "type": "BinaryExpression", + "start": 3974, + "end": 3993, "loc": { "start": { - "line": 128, + "line": 139, "column": 8 }, "end": { - "line": 128, - "column": 55 - } - }, - "left": { - "type": "BinaryExpression", - "start": 3535, - "end": 3554, - "loc": { - "start": { - "line": 128, - "column": 8 - }, - "end": { - "line": 128, - "column": 27 - } - }, - "left": { - "type": "Identifier", - "start": 3535, - "end": 3541, - "loc": { - "start": { - "line": 128, - "column": 8 - }, - "end": { - "line": 128, - "column": 14 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3546, - "end": 3554, - "loc": { - "start": { - "line": 128, - "column": 19 - }, - "end": { - "line": 128, - "column": 27 - } - }, - "extra": { - "rawValue": "{bksp}", - "raw": "\"{bksp}\"" - }, - "value": "{bksp}" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 3558, - "end": 3582, - "loc": { - "start": { - "line": 128, - "column": 31 - }, - "end": { - "line": 128, - "column": 55 - } - }, - "left": { - "type": "Identifier", - "start": 3558, - "end": 3564, - "loc": { - "start": { - "line": 128, - "column": 31 - }, - "end": { - "line": 128, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3569, - "end": 3582, - "loc": { - "start": { - "line": 128, - "column": 42 - }, - "end": { - "line": 128, - "column": 55 - } - }, - "extra": { - "rawValue": "{backspace}", - "raw": "\"{backspace}\"" - }, - "value": "{backspace}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 3534 - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 3587, - "end": 3604, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 77 - } - }, - "left": { - "type": "MemberExpression", - "start": 3587, - "end": 3600, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 73 - } - }, - "object": { - "type": "Identifier", - "start": 3587, - "end": 3593, - "loc": { - "start": { - "line": 128, - "column": 60 - }, - "end": { - "line": 128, - "column": 66 - }, - "identifierName": "output" - }, - "name": "output" - }, - "property": { - "type": "Identifier", - "start": 3594, - "end": 3600, - "loc": { - "start": { - "line": 128, - "column": 67 - }, - "end": { - "line": 128, - "column": 73 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 3603, - "end": 3604, - "loc": { - "start": { - "line": 128, - "column": 76 - }, - "end": { - "line": 128, - "column": 77 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3605, - "end": 3664, - "loc": { - "start": { - "line": 128, - "column": 78 - }, - "end": { - "line": 131, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3614, - "end": 3655, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 47 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3614, - "end": 3654, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 46 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3614, - "end": 3620, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 3623, - "end": 3654, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3623, - "end": 3636, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 3623, - "end": 3627, - "loc": { - "start": { - "line": 129, - "column": 15 - }, - "end": { - "line": 129, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 3628, - "end": 3636, - "loc": { - "start": { - "line": 129, - "column": 20 - }, - "end": { - "line": 129, - "column": 28 - }, - "identifierName": "removeAt" - }, - "name": "removeAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3637, - "end": 3643, - "loc": { - "start": { - "line": 129, - "column": 29 - }, - "end": { - "line": 129, - "column": 35 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "Identifier", - "start": 3645, - "end": 3653, - "loc": { - "start": { - "line": 129, - "column": 37 - }, - "end": { - "line": 129, - "column": 45 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3670, - "end": 5001, - "loc": { - "start": { - "line": 131, - "column": 11 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "BinaryExpression", - "start": 3673, - "end": 3693, - "loc": { - "start": { - "line": 131, - "column": 14 - }, - "end": { - "line": 131, - "column": 34 + "line": 139, + "column": 27 } }, "left": { "type": "Identifier", - "start": 3673, - "end": 3679, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 131, - "column": 14 + "line": 139, + "column": 8 }, "end": { - "line": 131, - "column": 20 + "line": 139, + "column": 14 }, "identifierName": "button" }, @@ -24859,65 +27082,227 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 3684, - "end": 3693, + "start": 3985, + "end": 3993, "loc": { "start": { - "line": 131, - "column": 25 + "line": 139, + "column": 19 }, "end": { - "line": 131, - "column": 34 + "line": 139, + "column": 27 } }, "extra": { - "rawValue": "{space}", - "raw": "\"{space}\"" + "rawValue": "{bksp}", + "raw": "\"{bksp}\"" }, - "value": "{space}" + "value": "{bksp}" } }, - "consequent": { - "type": "ExpressionStatement", - "start": 3702, - "end": 3751, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 3997, + "end": 4021, "loc": { "start": { - "line": 132, + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 55 + } + }, + "left": { + "type": "Identifier", + "start": 3997, + "end": 4003, + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4008, + "end": 4021, + "loc": { + "start": { + "line": 139, + "column": 42 + }, + "end": { + "line": 139, + "column": 55 + } + }, + "extra": { + "rawValue": "{backspace}", + "raw": "\"{backspace}\"" + }, + "value": "{backspace}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 3973 + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 4026, + "end": 4043, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 77 + } + }, + "left": { + "type": "MemberExpression", + "start": 4026, + "end": 4039, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 4026, + "end": 4032, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 66 + }, + "identifierName": "output" + }, + "name": "output" + }, + "property": { + "type": "Identifier", + "start": 4033, + "end": 4039, + "loc": { + "start": { + "line": 139, + "column": 67 + }, + "end": { + "line": 139, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 4042, + "end": 4043, + "loc": { + "start": { + "line": 139, + "column": 76 + }, + "end": { + "line": 139, + "column": 77 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4044, + "end": 4103, + "loc": { + "start": { + "line": 139, + "column": 78 + }, + "end": { + "line": 142, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4053, + "end": 4094, + "loc": { + "start": { + "line": 140, "column": 6 }, "end": { - "line": 132, - "column": 55 + "line": 140, + "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 3702, - "end": 3750, + "start": 4053, + "end": 4093, "loc": { "start": { - "line": 132, + "line": 140, "column": 6 }, "end": { - "line": 132, - "column": 54 + "line": 140, + "column": 46 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3702, - "end": 3708, + "start": 4053, + "end": 4059, "loc": { "start": { - "line": 132, + "line": 140, "column": 6 }, "end": { - "line": 132, + "line": 140, "column": 12 }, "identifierName": "output" @@ -24926,116 +27311,96 @@ }, "right": { "type": "CallExpression", - "start": 3711, - "end": 3750, + "start": 4062, + "end": 4093, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, - "column": 54 + "line": 140, + "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 3711, - "end": 3727, + "start": 4062, + "end": 4075, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, - "column": 31 + "line": 140, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 3711, - "end": 3715, + "start": 4062, + "end": 4066, "loc": { "start": { - "line": 132, + "line": 140, "column": 15 }, "end": { - "line": 132, + "line": 140, "column": 19 } } }, "property": { "type": "Identifier", - "start": 3716, - "end": 3727, + "start": 4067, + "end": 4075, "loc": { "start": { - "line": 132, + "line": 140, "column": 20 }, "end": { - "line": 132, - "column": 31 + "line": 140, + "column": 28 }, - "identifierName": "addStringAt" + "identifierName": "removeAt" }, - "name": "addStringAt" + "name": "removeAt" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 3728, - "end": 3734, + "start": 4076, + "end": 4082, "loc": { "start": { - "line": 132, - "column": 32 + "line": 140, + "column": 29 }, "end": { - "line": 132, - "column": 38 + "line": 140, + "column": 35 }, "identifierName": "output" }, "name": "output" }, - { - "type": "StringLiteral", - "start": 3736, - "end": 3739, - "loc": { - "start": { - "line": 132, - "column": 40 - }, - "end": { - "line": 132, - "column": 43 - } - }, - "extra": { - "rawValue": " ", - "raw": "\" \"" - }, - "value": " " - }, { "type": "Identifier", - "start": 3741, - "end": 3749, + "start": 4084, + "end": 4092, "loc": { "start": { - "line": 132, - "column": 45 + "line": 140, + "column": 37 }, "end": { - "line": 132, - "column": 53 + "line": 140, + "column": 45 }, "identifierName": "caretPos" }, @@ -25044,266 +27409,412 @@ ] } } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4109, + "end": 5440, + "loc": { + "start": { + "line": 142, + "column": 11 }, - "alternate": { - "type": "IfStatement", - "start": 3764, - "end": 5001, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4112, + "end": 4132, + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 4112, + "end": 4118, "loc": { "start": { - "line": 134, - "column": 9 + "line": 142, + "column": 14 }, "end": { - "line": 161, - "column": 58 + "line": 142, + "column": 20 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4123, + "end": 4132, + "loc": { + "start": { + "line": 142, + "column": 25 + }, + "end": { + "line": 142, + "column": 34 } }, - "test": { - "type": "LogicalExpression", - "start": 3767, - "end": 3867, + "extra": { + "rawValue": "{space}", + "raw": "\"{space}\"" + }, + "value": "{space}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4141, + "end": 4190, + "loc": { + "start": { + "line": 143, + "column": 6 + }, + "end": { + "line": 143, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4141, + "end": 4189, + "loc": { + "start": { + "line": 143, + "column": 6 + }, + "end": { + "line": 143, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4141, + "end": 4147, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 6 }, "end": { - "line": 134, - "column": 112 + "line": 143, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4150, + "end": 4189, + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 143, + "column": 54 } }, - "left": { - "type": "BinaryExpression", - "start": 3767, - "end": 3785, + "callee": { + "type": "MemberExpression", + "start": 4150, + "end": 4166, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 15 }, "end": { - "line": 134, - "column": 30 + "line": 143, + "column": 31 } }, - "left": { - "type": "Identifier", - "start": 3767, - "end": 3773, + "object": { + "type": "ThisExpression", + "start": 4150, + "end": 4154, "loc": { "start": { - "line": 134, - "column": 12 + "line": 143, + "column": 15 }, "end": { - "line": 134, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" + "line": 143, + "column": 19 + } + } }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3778, - "end": 3785, + "property": { + "type": "Identifier", + "start": 4155, + "end": 4166, "loc": { "start": { - "line": 134, - "column": 23 + "line": 143, + "column": 20 }, "end": { - "line": 134, - "column": 30 + "line": 143, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4167, + "end": 4173, + "loc": { + "start": { + "line": 143, + "column": 32 + }, + "end": { + "line": 143, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4175, + "end": 4178, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 43 } }, "extra": { - "rawValue": "{tab}", - "raw": "\"{tab}\"" + "rawValue": " ", + "raw": "\" \"" }, - "value": "{tab}" - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 3789, - "end": 3867, - "loc": { - "start": { - "line": 134, - "column": 34 - }, - "end": { - "line": 134, - "column": 112 - } + "value": " " }, - "operator": "!", - "prefix": true, - "argument": { - "type": "LogicalExpression", - "start": 3791, - "end": 3866, + { + "type": "Identifier", + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 134, + "line": 143, + "column": 45 + }, + "end": { + "line": 143, + "column": 53 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4203, + "end": 5440, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4206, + "end": 4306, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 112 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4206, + "end": 4224, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 4206, + "end": 4212, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4217, + "end": 4224, + "loc": { + "start": { + "line": 145, + "column": 23 + }, + "end": { + "line": 145, + "column": 30 + } + }, + "extra": { + "rawValue": "{tab}", + "raw": "\"{tab}\"" + }, + "value": "{tab}" + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 4228, + "end": 4306, + "loc": { + "start": { + "line": 145, + "column": 34 + }, + "end": { + "line": 145, + "column": 112 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "LogicalExpression", + "start": 4230, + "end": 4305, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 111 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4230, + "end": 4271, + "loc": { + "start": { + "line": 145, "column": 36 }, "end": { - "line": 134, - "column": 111 + "line": 145, + "column": 77 } }, "left": { - "type": "BinaryExpression", - "start": 3791, - "end": 3832, + "type": "UnaryExpression", + "start": 4230, + "end": 4257, "loc": { "start": { - "line": 134, + "line": 145, "column": 36 }, "end": { - "line": 134, - "column": 77 + "line": 145, + "column": 63 } }, - "left": { - "type": "UnaryExpression", - "start": 3791, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 36 - }, - "end": { - "line": 134, - "column": 63 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 3798, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 43 - }, - "end": { - "line": 134, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 3798, - "end": 3805, - "loc": { - "start": { - "line": 134, - "column": 43 - }, - "end": { - "line": 134, - "column": 50 - }, - "identifierName": "options" - }, - "name": "options" - }, - "property": { - "type": "Identifier", - "start": 3806, - "end": 3818, - "loc": { - "start": { - "line": 134, - "column": 51 - }, - "end": { - "line": 134, - "column": 63 - }, - "identifierName": "tabCharOnTab" - }, - "name": "tabCharOnTab" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3823, - "end": 3832, - "loc": { - "start": { - "line": 134, - "column": 68 - }, - "end": { - "line": 134, - "column": 77 - } - }, - "extra": { - "rawValue": "boolean", - "raw": "\"boolean\"" - }, - "value": "boolean" - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 3836, - "end": 3866, - "loc": { - "start": { - "line": 134, - "column": 81 - }, - "end": { - "line": 134, - "column": 111 - } - }, - "left": { + "operator": "typeof", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 3836, - "end": 3856, + "start": 4237, + "end": 4257, "loc": { "start": { - "line": 134, - "column": 81 + "line": 145, + "column": 43 }, "end": { - "line": 134, - "column": 101 + "line": 145, + "column": 63 } }, "object": { "type": "Identifier", - "start": 3836, - "end": 3843, + "start": 4237, + "end": 4244, "loc": { "start": { - "line": 134, - "column": 81 + "line": 145, + "column": 43 }, "end": { - "line": 134, - "column": 88 + "line": 145, + "column": 50 }, "identifierName": "options" }, @@ -25311,16 +27822,16 @@ }, "property": { "type": "Identifier", - "start": 3844, - "end": 3856, + "start": 4245, + "end": 4257, "loc": { "start": { - "line": 134, - "column": 89 + "line": 145, + "column": 51 }, "end": { - "line": 134, - "column": 101 + "line": 145, + "column": 63 }, "identifierName": "tabCharOnTab" }, @@ -25328,465 +27839,180 @@ }, "computed": false }, - "operator": "===", - "right": { - "type": "BooleanLiteral", - "start": 3861, - "end": 3866, - "loc": { - "start": { - "line": 134, - "column": 106 - }, - "end": { - "line": 134, - "column": 111 - } - }, - "value": false + "extra": { + "parenthesizedArgument": false } }, - "extra": { - "parenthesized": true, - "parenStart": 3790 - } - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3868, - "end": 3936, - "loc": { - "start": { - "line": 134, - "column": 113 - }, - "end": { - "line": 137, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3877, - "end": 3927, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 56 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3877, - "end": 3926, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 55 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3877, - "end": 3883, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 3886, - "end": 3926, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3886, - "end": 3902, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 3886, - "end": 3890, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 3891, - "end": 3902, - "loc": { - "start": { - "line": 135, - "column": 20 - }, - "end": { - "line": 135, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3903, - "end": 3909, - "loc": { - "start": { - "line": 135, - "column": 32 - }, - "end": { - "line": 135, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "StringLiteral", - "start": 3911, - "end": 3915, - "loc": { - "start": { - "line": 135, - "column": 40 - }, - "end": { - "line": 135, - "column": 44 - } - }, - "extra": { - "rawValue": "\t", - "raw": "\"\\t\"" - }, - "value": "\t" - }, - { - "type": "Identifier", - "start": 3917, - "end": 3925, - "loc": { - "start": { - "line": 135, - "column": 46 - }, - "end": { - "line": 135, - "column": 54 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3942, - "end": 5001, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "LogicalExpression", - "start": 3945, - "end": 4023, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 92 - } - }, - "left": { - "type": "LogicalExpression", - "start": 3946, - "end": 3996, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 65 - } - }, - "left": { - "type": "BinaryExpression", - "start": 3946, - "end": 3966, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 35 - } - }, - "left": { - "type": "Identifier", - "start": 3946, - "end": 3952, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 21 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3957, - "end": 3966, - "loc": { - "start": { - "line": 137, - "column": 26 - }, - "end": { - "line": 137, - "column": 35 - } - }, - "extra": { - "rawValue": "{enter}", - "raw": "\"{enter}\"" - }, - "value": "{enter}" - } - }, - "operator": "||", + "operator": "===", "right": { - "type": "BinaryExpression", - "start": 3970, - "end": 3996, + "type": "StringLiteral", + "start": 4262, + "end": 4271, "loc": { "start": { - "line": 137, - "column": 39 + "line": 145, + "column": 68 }, "end": { - "line": 137, - "column": 65 + "line": 145, + "column": 77 } }, - "left": { - "type": "Identifier", - "start": 3970, - "end": 3976, - "loc": { - "start": { - "line": 137, - "column": 39 - }, - "end": { - "line": 137, - "column": 45 - }, - "identifierName": "button" - }, - "name": "button" + "extra": { + "rawValue": "boolean", + "raw": "\"boolean\"" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 3981, - "end": 3996, - "loc": { - "start": { - "line": 137, - "column": 50 - }, - "end": { - "line": 137, - "column": 65 - } - }, - "extra": { - "rawValue": "{numpadenter}", - "raw": "\"{numpadenter}\"" - }, - "value": "{numpadenter}" - } - }, - "extra": { - "parenthesized": true, - "parenStart": 3945 + "value": "boolean" } }, "operator": "&&", "right": { - "type": "MemberExpression", - "start": 4001, - "end": 4023, + "type": "BinaryExpression", + "start": 4275, + "end": 4305, "loc": { "start": { - "line": 137, - "column": 70 + "line": 145, + "column": 81 }, "end": { - "line": 137, - "column": 92 + "line": 145, + "column": 111 } }, - "object": { - "type": "Identifier", - "start": 4001, - "end": 4008, + "left": { + "type": "MemberExpression", + "start": 4275, + "end": 4295, "loc": { "start": { - "line": 137, - "column": 70 + "line": 145, + "column": 81 }, "end": { - "line": 137, - "column": 77 - }, - "identifierName": "options" + "line": 145, + "column": 101 + } }, - "name": "options" + "object": { + "type": "Identifier", + "start": 4275, + "end": 4282, + "loc": { + "start": { + "line": 145, + "column": 81 + }, + "end": { + "line": 145, + "column": 88 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 4283, + "end": 4295, + "loc": { + "start": { + "line": 145, + "column": 89 + }, + "end": { + "line": 145, + "column": 101 + }, + "identifierName": "tabCharOnTab" + }, + "name": "tabCharOnTab" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 4009, - "end": 4023, + "operator": "===", + "right": { + "type": "BooleanLiteral", + "start": 4300, + "end": 4305, "loc": { "start": { - "line": 137, - "column": 78 + "line": 145, + "column": 106 }, "end": { - "line": 137, - "column": 92 - }, - "identifierName": "newLineOnEnter" + "line": 145, + "column": 111 + } }, - "name": "newLineOnEnter" - }, - "computed": false + "value": false + } + }, + "extra": { + "parenthesized": true, + "parenStart": 4229 } }, - "consequent": { + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4307, + "end": 4375, + "loc": { + "start": { + "line": 145, + "column": 113 + }, + "end": { + "line": 148, + "column": 5 + } + }, + "body": [ + { "type": "ExpressionStatement", - "start": 4032, - "end": 4082, + "start": 4316, + "end": 4366, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 4032, - "end": 4081, + "start": 4316, + "end": 4365, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4032, - "end": 4038, + "start": 4316, + "end": 4322, "loc": { "start": { - "line": 138, + "line": 146, "column": 6 }, "end": { - "line": 138, + "line": 146, "column": 12 }, "identifierName": "output" @@ -25795,58 +28021,58 @@ }, "right": { "type": "CallExpression", - "start": 4041, - "end": 4081, + "start": 4325, + "end": 4365, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 4041, - "end": 4057, + "start": 4325, + "end": 4341, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4041, - "end": 4045, + "start": 4325, + "end": 4329, "loc": { "start": { - "line": 138, + "line": 146, "column": 15 }, "end": { - "line": 138, + "line": 146, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4046, - "end": 4057, + "start": 4330, + "end": 4341, "loc": { "start": { - "line": 138, + "line": 146, "column": 20 }, "end": { - "line": 138, + "line": 146, "column": 31 }, "identifierName": "addStringAt" @@ -25858,15 +28084,15 @@ "arguments": [ { "type": "Identifier", - "start": 4058, - "end": 4064, + "start": 4342, + "end": 4348, "loc": { "start": { - "line": 138, + "line": 146, "column": 32 }, "end": { - "line": 138, + "line": 146, "column": 38 }, "identifierName": "output" @@ -25875,35 +28101,35 @@ }, { "type": "StringLiteral", - "start": 4066, - "end": 4070, + "start": 4350, + "end": 4354, "loc": { "start": { - "line": 138, + "line": 146, "column": 40 }, "end": { - "line": 138, + "line": 146, "column": 44 } }, "extra": { - "rawValue": "\n", - "raw": "\"\\n\"" + "rawValue": "\t", + "raw": "\"\\t\"" }, - "value": "\n" + "value": "\t" }, { "type": "Identifier", - "start": 4072, - "end": 4080, + "start": 4356, + "end": 4364, "loc": { "start": { - "line": 138, + "line": 146, "column": 46 }, "end": { - "line": 138, + "line": 146, "column": 54 }, "identifierName": "caretPos" @@ -25913,735 +28139,775 @@ ] } } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4381, + "end": 5440, + "loc": { + "start": { + "line": 148, + "column": 11 }, - "alternate": { - "type": "IfStatement", - "start": 4095, - "end": 5001, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4384, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 92 + } + }, + "left": { + "type": "LogicalExpression", + "start": 4385, + "end": 4435, "loc": { "start": { - "line": 140, - "column": 9 + "line": 148, + "column": 15 }, "end": { - "line": 161, - "column": 58 + "line": 148, + "column": 65 } }, - "test": { - "type": "LogicalExpression", - "start": 4098, - "end": 4178, + "left": { + "type": "BinaryExpression", + "start": 4385, + "end": 4405, "loc": { "start": { - "line": 140, - "column": 12 + "line": 148, + "column": 15 }, "end": { - "line": 140, - "column": 92 + "line": 148, + "column": 35 } }, "left": { - "type": "CallExpression", - "start": 4098, - "end": 4123, + "type": "Identifier", + "start": 4385, + "end": 4391, "loc": { "start": { - "line": 140, - "column": 12 + "line": 148, + "column": 15 }, "end": { - "line": 140, - "column": 37 - } + "line": 148, + "column": 21 + }, + "identifierName": "button" }, - "callee": { - "type": "MemberExpression", - "start": 4098, - "end": 4113, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 4098, - "end": 4104, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4105, - "end": 4113, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 27 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4114, - "end": 4122, - "loc": { - "start": { - "line": 140, - "column": 28 - }, - "end": { - "line": 140, - "column": 36 - } - }, - "extra": { - "rawValue": "numpad", - "raw": "\"numpad\"" - }, - "value": "numpad" - } - ] + "name": "button" }, - "operator": "&&", + "operator": "===", "right": { - "type": "CallExpression", - "start": 4127, - "end": 4178, + "type": "StringLiteral", + "start": 4396, + "end": 4405, "loc": { "start": { - "line": 140, - "column": 41 + "line": 148, + "column": 26 }, "end": { - "line": 140, - "column": 92 + "line": 148, + "column": 35 } }, - "callee": { - "type": "MemberExpression", - "start": 4127, - "end": 4143, - "loc": { - "start": { - "line": 140, - "column": 41 - }, - "end": { - "line": 140, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 4127, - "end": 4133, - "loc": { - "start": { - "line": 140, - "column": 41 - }, - "end": { - "line": 140, - "column": 47 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "property": { - "type": "Identifier", - "start": 4134, - "end": 4143, - "loc": { - "start": { - "line": 140, - "column": 48 - }, - "end": { - "line": 140, - "column": 57 - }, - "identifierName": "isInteger" - }, - "name": "isInteger" - }, - "computed": false + "extra": { + "rawValue": "{enter}", + "raw": "\"{enter}\"" }, - "arguments": [ - { - "type": "CallExpression", - "start": 4144, - "end": 4177, - "loc": { - "start": { - "line": 140, - "column": 58 - }, - "end": { - "line": 140, - "column": 91 - } - }, - "callee": { - "type": "Identifier", - "start": 4144, - "end": 4150, - "loc": { - "start": { - "line": 140, - "column": 58 - }, - "end": { - "line": 140, - "column": 64 - }, - "identifierName": "Number" - }, - "name": "Number" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4151, - "end": 4176, - "loc": { - "start": { - "line": 140, - "column": 65 - }, - "end": { - "line": 140, - "column": 90 - } - }, - "object": { - "type": "Identifier", - "start": 4151, - "end": 4157, - "loc": { - "start": { - "line": 140, - "column": 65 - }, - "end": { - "line": 140, - "column": 71 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "BinaryExpression", - "start": 4158, - "end": 4175, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 89 - } - }, - "left": { - "type": "MemberExpression", - "start": 4158, - "end": 4171, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 85 - } - }, - "object": { - "type": "Identifier", - "start": 4158, - "end": 4164, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 78 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4165, - "end": 4171, - "loc": { - "start": { - "line": 140, - "column": 79 - }, - "end": { - "line": 140, - "column": 85 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 4174, - "end": 4175, - "loc": { - "start": { - "line": 140, - "column": 88 - }, - "end": { - "line": 140, - "column": 89 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "computed": true - } - ] - } - ] + "value": "{enter}" } }, - "consequent": { - "type": "BlockStatement", - "start": 4179, - "end": 4266, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 4409, + "end": 4435, "loc": { "start": { - "line": 140, - "column": 93 + "line": 148, + "column": 39 }, "end": { - "line": 142, - "column": 5 + "line": 148, + "column": 65 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4188, - "end": 4259, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 77 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4188, - "end": 4258, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 76 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 4188, - "end": 4194, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 4197, - "end": 4258, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4197, - "end": 4213, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 4197, - "end": 4201, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 4202, - "end": 4213, - "loc": { - "start": { - "line": 141, - "column": 20 - }, - "end": { - "line": 141, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4214, - "end": 4220, - "loc": { - "start": { - "line": 141, - "column": 32 - }, - "end": { - "line": 141, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "MemberExpression", - "start": 4222, - "end": 4247, - "loc": { - "start": { - "line": 141, - "column": 40 - }, - "end": { - "line": 141, - "column": 65 - } - }, - "object": { - "type": "Identifier", - "start": 4222, - "end": 4228, - "loc": { - "start": { - "line": 141, - "column": 40 - }, - "end": { - "line": 141, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "BinaryExpression", - "start": 4229, - "end": 4246, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 64 - } - }, - "left": { - "type": "MemberExpression", - "start": 4229, - "end": 4242, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 4229, - "end": 4235, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 53 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4236, - "end": 4242, - "loc": { - "start": { - "line": 141, - "column": 54 - }, - "end": { - "line": 141, - "column": 60 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 4245, - "end": 4246, - "loc": { - "start": { - "line": 141, - "column": 63 - }, - "end": { - "line": 141, - "column": 64 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "computed": true - }, - { - "type": "Identifier", - "start": 4249, - "end": 4257, - "loc": { - "start": { - "line": 141, - "column": 67 - }, - "end": { - "line": 141, - "column": 75 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 4277, - "end": 5001, - "loc": { - "start": { - "line": 143, - "column": 9 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "BinaryExpression", - "start": 4280, - "end": 4307, + "left": { + "type": "Identifier", + "start": 4409, + "end": 4415, "loc": { "start": { - "line": 143, + "line": 148, + "column": 39 + }, + "end": { + "line": 148, + "column": 45 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4420, + "end": 4435, + "loc": { + "start": { + "line": 148, + "column": 50 + }, + "end": { + "line": 148, + "column": 65 + } + }, + "extra": { + "rawValue": "{numpadenter}", + "raw": "\"{numpadenter}\"" + }, + "value": "{numpadenter}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 4384 + } + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 4440, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 92 + } + }, + "object": { + "type": "Identifier", + "start": 4440, + "end": 4447, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 77 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 4448, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 78 + }, + "end": { + "line": 148, + "column": 92 + }, + "identifierName": "newLineOnEnter" + }, + "name": "newLineOnEnter" + }, + "computed": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4471, + "end": 4521, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4471, + "end": 4520, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4471, + "end": 4477, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4480, + "end": 4520, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4480, + "end": 4496, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4480, + "end": 4484, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4485, + "end": 4496, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4497, + "end": 4503, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 149, + "column": 40 + }, + "end": { + "line": 149, + "column": 44 + } + }, + "extra": { + "rawValue": "\n", + "raw": "\"\\n\"" + }, + "value": "\n" + }, + { + "type": "Identifier", + "start": 4511, + "end": 4519, + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 54 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4534, + "end": 5440, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4537, + "end": 4617, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 92 + } + }, + "left": { + "type": "CallExpression", + "start": 4537, + "end": 4562, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4537, + "end": 4552, + "loc": { + "start": { + "line": 151, "column": 12 }, "end": { - "line": 143, - "column": 39 + "line": 151, + "column": 27 } }, - "left": { + "object": { "type": "Identifier", - "start": 4280, - "end": 4286, + "start": 4537, + "end": 4543, "loc": { "start": { - "line": 143, + "line": 151, "column": 12 }, "end": { - "line": 143, + "line": 151, "column": 18 }, "identifierName": "button" }, "name": "button" }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4291, - "end": 4307, + "property": { + "type": "Identifier", + "start": 4544, + "end": 4552, "loc": { "start": { - "line": 143, - "column": 23 + "line": 151, + "column": 19 }, "end": { - "line": 143, - "column": 39 + "line": 151, + "column": 27 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4553, + "end": 4561, + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 36 } }, "extra": { - "rawValue": "{numpaddivide}", - "raw": "\"{numpaddivide}\"" + "rawValue": "numpad", + "raw": "\"numpad\"" }, - "value": "{numpaddivide}" + "value": "numpad" + } + ] + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 4566, + "end": 4617, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 92 } }, - "consequent": { - "type": "ExpressionStatement", - "start": 4316, - "end": 4365, + "callee": { + "type": "MemberExpression", + "start": 4566, + "end": 4582, "loc": { "start": { - "line": 144, + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 4566, + "end": 4572, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 47 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "property": { + "type": "Identifier", + "start": 4573, + "end": 4582, + "loc": { + "start": { + "line": 151, + "column": 48 + }, + "end": { + "line": 151, + "column": 57 + }, + "identifierName": "isInteger" + }, + "name": "isInteger" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 4583, + "end": 4616, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 91 + } + }, + "callee": { + "type": "Identifier", + "start": 4583, + "end": 4589, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 64 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 4590, + "end": 4615, + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 151, + "column": 90 + } + }, + "object": { + "type": "Identifier", + "start": 4590, + "end": 4596, + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 151, + "column": 71 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "BinaryExpression", + "start": 4597, + "end": 4614, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 89 + } + }, + "left": { + "type": "MemberExpression", + "start": 4597, + "end": 4610, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 4597, + "end": 4603, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 78 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 4604, + "end": 4610, + "loc": { + "start": { + "line": 151, + "column": 79 + }, + "end": { + "line": 151, + "column": 85 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4613, + "end": 4614, + "loc": { + "start": { + "line": 151, + "column": 88 + }, + "end": { + "line": 151, + "column": 89 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "computed": true + } + ] + } + ] + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4618, + "end": 4705, + "loc": { + "start": { + "line": 151, + "column": 93 + }, + "end": { + "line": 153, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4627, + "end": 4698, + "loc": { + "start": { + "line": 152, "column": 6 }, "end": { - "line": 144, - "column": 55 + "line": 152, + "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 4316, - "end": 4364, + "start": 4627, + "end": 4697, "loc": { "start": { - "line": 144, + "line": 152, "column": 6 }, "end": { - "line": 144, - "column": 54 + "line": 152, + "column": 76 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4316, - "end": 4322, + "start": 4627, + "end": 4633, "loc": { "start": { - "line": 144, + "line": 152, "column": 6 }, "end": { - "line": 144, + "line": 152, "column": 12 }, "identifierName": "output" @@ -26650,58 +28916,58 @@ }, "right": { "type": "CallExpression", - "start": 4325, - "end": 4364, + "start": 4636, + "end": 4697, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, - "column": 54 + "line": 152, + "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 4325, - "end": 4341, + "start": 4636, + "end": 4652, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, + "line": 152, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4325, - "end": 4329, + "start": 4636, + "end": 4640, "loc": { "start": { - "line": 144, + "line": 152, "column": 15 }, "end": { - "line": 144, + "line": 152, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4330, - "end": 4341, + "start": 4641, + "end": 4652, "loc": { "start": { - "line": 144, + "line": 152, "column": 20 }, "end": { - "line": 144, + "line": 152, "column": 31 }, "identifierName": "addStringAt" @@ -26713,15 +28979,585 @@ "arguments": [ { "type": "Identifier", - "start": 4342, - "end": 4348, + "start": 4653, + "end": 4659, "loc": { "start": { - "line": 144, + "line": 152, "column": 32 }, "end": { - "line": 144, + "line": 152, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "MemberExpression", + "start": 4661, + "end": 4686, + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 4661, + "end": 4667, + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 46 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "BinaryExpression", + "start": 4668, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 64 + } + }, + "left": { + "type": "MemberExpression", + "start": 4668, + "end": 4681, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 4668, + "end": 4674, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 53 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 4675, + "end": 4681, + "loc": { + "start": { + "line": 152, + "column": 54 + }, + "end": { + "line": 152, + "column": 60 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4684, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 63 + }, + "end": { + "line": 152, + "column": 64 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "computed": true + }, + { + "type": "Identifier", + "start": 4688, + "end": 4696, + "loc": { + "start": { + "line": 152, + "column": 67 + }, + "end": { + "line": 152, + "column": 75 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4716, + "end": 5440, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4719, + "end": 4746, + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 4719, + "end": 4725, + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4730, + "end": 4746, + "loc": { + "start": { + "line": 154, + "column": 23 + }, + "end": { + "line": 154, + "column": 39 + } + }, + "extra": { + "rawValue": "{numpaddivide}", + "raw": "\"{numpaddivide}\"" + }, + "value": "{numpaddivide}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4755, + "end": 4804, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4755, + "end": 4803, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4755, + "end": 4761, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4764, + "end": 4803, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4764, + "end": 4780, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4764, + "end": 4768, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4769, + "end": 4780, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4781, + "end": 4787, + "loc": { + "start": { + "line": 155, + "column": 32 + }, + "end": { + "line": 155, + "column": 38 + }, + "identifierName": "output" + }, + "name": "output" + }, + { + "type": "StringLiteral", + "start": 4789, + "end": 4792, + "loc": { + "start": { + "line": 155, + "column": 40 + }, + "end": { + "line": 155, + "column": 43 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + }, + { + "type": "Identifier", + "start": 4794, + "end": 4802, + "loc": { + "start": { + "line": 155, + "column": 45 + }, + "end": { + "line": 155, + "column": 53 + }, + "identifierName": "caretPos" + }, + "name": "caretPos" + } + ] + } + } + }, + "alternate": { + "type": "IfStatement", + "start": 4817, + "end": 5440, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 172, + "column": 58 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4820, + "end": 4849, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 4820, + "end": 4826, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 4831, + "end": 4849, + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 41 + } + }, + "extra": { + "rawValue": "{numpadmultiply}", + "raw": "\"{numpadmultiply}\"" + }, + "value": "{numpadmultiply}" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 4858, + "end": 4907, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4858, + "end": 4906, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4858, + "end": 4864, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 12 + }, + "identifierName": "output" + }, + "name": "output" + }, + "right": { + "type": "CallExpression", + "start": 4867, + "end": 4906, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4867, + "end": 4883, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4867, + "end": 4871, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 4872, + "end": 4883, + "loc": { + "start": { + "line": 158, + "column": 20 + }, + "end": { + "line": 158, + "column": 31 + }, + "identifierName": "addStringAt" + }, + "name": "addStringAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4884, + "end": 4890, + "loc": { + "start": { + "line": 158, + "column": 32 + }, + "end": { + "line": 158, "column": 38 }, "identifierName": "output" @@ -26730,35 +29566,35 @@ }, { "type": "StringLiteral", - "start": 4350, - "end": 4353, + "start": 4892, + "end": 4895, "loc": { "start": { - "line": 144, + "line": 158, "column": 40 }, "end": { - "line": 144, + "line": 158, "column": 43 } }, "extra": { - "rawValue": "/", - "raw": "'/'" + "rawValue": "*", + "raw": "'*'" }, - "value": "/" + "value": "*" }, { "type": "Identifier", - "start": 4355, - "end": 4363, + "start": 4897, + "end": 4905, "loc": { "start": { - "line": 144, + "line": 158, "column": 45 }, "end": { - "line": 144, + "line": 158, "column": 53 }, "identifierName": "caretPos" @@ -26771,43 +29607,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4378, - "end": 5001, + "start": 4918, + "end": 5440, "loc": { "start": { - "line": 146, + "line": 159, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4381, - "end": 4410, + "start": 4921, + "end": 4950, "loc": { "start": { - "line": 146, + "line": 159, "column": 12 }, "end": { - "line": 146, + "line": 159, "column": 41 } }, "left": { "type": "Identifier", - "start": 4381, - "end": 4387, + "start": 4921, + "end": 4927, "loc": { "start": { - "line": 146, + "line": 159, "column": 12 }, "end": { - "line": 146, + "line": 159, "column": 18 }, "identifierName": "button" @@ -26817,65 +29653,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4392, - "end": 4410, + "start": 4932, + "end": 4950, "loc": { "start": { - "line": 146, + "line": 159, "column": 23 }, "end": { - "line": 146, + "line": 159, "column": 41 } }, "extra": { - "rawValue": "{numpadmultiply}", - "raw": "\"{numpadmultiply}\"" + "rawValue": "{numpadsubtract}", + "raw": "\"{numpadsubtract}\"" }, - "value": "{numpadmultiply}" + "value": "{numpadsubtract}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4419, - "end": 4468, + "start": 4959, + "end": 5008, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4419, - "end": 4467, + "start": 4959, + "end": 5007, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4419, - "end": 4425, + "start": 4959, + "end": 4965, "loc": { "start": { - "line": 147, + "line": 160, "column": 6 }, "end": { - "line": 147, + "line": 160, "column": 12 }, "identifierName": "output" @@ -26884,58 +29720,58 @@ }, "right": { "type": "CallExpression", - "start": 4428, - "end": 4467, + "start": 4968, + "end": 5007, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4428, - "end": 4444, + "start": 4968, + "end": 4984, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4428, - "end": 4432, + "start": 4968, + "end": 4972, "loc": { "start": { - "line": 147, + "line": 160, "column": 15 }, "end": { - "line": 147, + "line": 160, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4433, - "end": 4444, + "start": 4973, + "end": 4984, "loc": { "start": { - "line": 147, + "line": 160, "column": 20 }, "end": { - "line": 147, + "line": 160, "column": 31 }, "identifierName": "addStringAt" @@ -26947,15 +29783,15 @@ "arguments": [ { "type": "Identifier", - "start": 4445, - "end": 4451, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 147, + "line": 160, "column": 32 }, "end": { - "line": 147, + "line": 160, "column": 38 }, "identifierName": "output" @@ -26964,35 +29800,35 @@ }, { "type": "StringLiteral", - "start": 4453, - "end": 4456, + "start": 4993, + "end": 4996, "loc": { "start": { - "line": 147, + "line": 160, "column": 40 }, "end": { - "line": 147, + "line": 160, "column": 43 } }, "extra": { - "rawValue": "*", - "raw": "'*'" + "rawValue": "-", + "raw": "'-'" }, - "value": "*" + "value": "-" }, { "type": "Identifier", - "start": 4458, - "end": 4466, + "start": 4998, + "end": 5006, "loc": { "start": { - "line": 147, + "line": 160, "column": 45 }, "end": { - "line": 147, + "line": 160, "column": 53 }, "identifierName": "caretPos" @@ -27005,43 +29841,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4479, - "end": 5001, + "start": 5021, + "end": 5440, "loc": { "start": { - "line": 148, + "line": 162, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4482, - "end": 4511, + "start": 5024, + "end": 5048, "loc": { "start": { - "line": 148, + "line": 162, "column": 12 }, "end": { - "line": 148, - "column": 41 + "line": 162, + "column": 36 } }, "left": { "type": "Identifier", - "start": 4482, - "end": 4488, + "start": 5024, + "end": 5030, "loc": { "start": { - "line": 148, + "line": 162, "column": 12 }, "end": { - "line": 148, + "line": 162, "column": 18 }, "identifierName": "button" @@ -27051,65 +29887,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4493, - "end": 4511, + "start": 5035, + "end": 5048, "loc": { "start": { - "line": 148, + "line": 162, "column": 23 }, "end": { - "line": 148, - "column": 41 + "line": 162, + "column": 36 } }, "extra": { - "rawValue": "{numpadsubtract}", - "raw": "\"{numpadsubtract}\"" + "rawValue": "{numpadadd}", + "raw": "\"{numpadadd}\"" }, - "value": "{numpadsubtract}" + "value": "{numpadadd}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4520, - "end": 4569, + "start": 5057, + "end": 5106, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4520, - "end": 4568, + "start": 5057, + "end": 5105, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4520, - "end": 4526, + "start": 5057, + "end": 5063, "loc": { "start": { - "line": 149, + "line": 163, "column": 6 }, "end": { - "line": 149, + "line": 163, "column": 12 }, "identifierName": "output" @@ -27118,58 +29954,58 @@ }, "right": { "type": "CallExpression", - "start": 4529, - "end": 4568, + "start": 5066, + "end": 5105, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4529, - "end": 4545, + "start": 5066, + "end": 5082, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4529, - "end": 4533, + "start": 5066, + "end": 5070, "loc": { "start": { - "line": 149, + "line": 163, "column": 15 }, "end": { - "line": 149, + "line": 163, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4534, - "end": 4545, + "start": 5071, + "end": 5082, "loc": { "start": { - "line": 149, + "line": 163, "column": 20 }, "end": { - "line": 149, + "line": 163, "column": 31 }, "identifierName": "addStringAt" @@ -27181,15 +30017,15 @@ "arguments": [ { "type": "Identifier", - "start": 4546, - "end": 4552, + "start": 5083, + "end": 5089, "loc": { "start": { - "line": 149, + "line": 163, "column": 32 }, "end": { - "line": 149, + "line": 163, "column": 38 }, "identifierName": "output" @@ -27198,35 +30034,35 @@ }, { "type": "StringLiteral", - "start": 4554, - "end": 4557, + "start": 5091, + "end": 5094, "loc": { "start": { - "line": 149, + "line": 163, "column": 40 }, "end": { - "line": 149, + "line": 163, "column": 43 } }, "extra": { - "rawValue": "-", - "raw": "'-'" + "rawValue": "+", + "raw": "'+'" }, - "value": "-" + "value": "+" }, { "type": "Identifier", - "start": 4559, - "end": 4567, + "start": 5096, + "end": 5104, "loc": { "start": { - "line": 149, + "line": 163, "column": 45 }, "end": { - "line": 149, + "line": 163, "column": 53 }, "identifierName": "caretPos" @@ -27239,43 +30075,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4582, - "end": 5001, + "start": 5119, + "end": 5440, "loc": { "start": { - "line": 151, + "line": 165, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "BinaryExpression", - "start": 4585, - "end": 4609, + "start": 5122, + "end": 5150, "loc": { "start": { - "line": 151, + "line": 165, "column": 12 }, "end": { - "line": 151, - "column": 36 + "line": 165, + "column": 40 } }, "left": { "type": "Identifier", - "start": 4585, - "end": 4591, + "start": 5122, + "end": 5128, "loc": { "start": { - "line": 151, + "line": 165, "column": 12 }, "end": { - "line": 151, + "line": 165, "column": 18 }, "identifierName": "button" @@ -27285,65 +30121,65 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4596, - "end": 4609, + "start": 5133, + "end": 5150, "loc": { "start": { - "line": 151, + "line": 165, "column": 23 }, "end": { - "line": 151, - "column": 36 + "line": 165, + "column": 40 } }, "extra": { - "rawValue": "{numpadadd}", - "raw": "\"{numpadadd}\"" + "rawValue": "{numpaddecimal}", + "raw": "\"{numpaddecimal}\"" }, - "value": "{numpadadd}" + "value": "{numpaddecimal}" } }, "consequent": { "type": "ExpressionStatement", - "start": 4618, - "end": 4667, + "start": 5159, + "end": 5208, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4618, - "end": 4666, + "start": 5159, + "end": 5207, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4618, - "end": 4624, + "start": 5159, + "end": 5165, "loc": { "start": { - "line": 152, + "line": 166, "column": 6 }, "end": { - "line": 152, + "line": 166, "column": 12 }, "identifierName": "output" @@ -27352,58 +30188,58 @@ }, "right": { "type": "CallExpression", - "start": 4627, - "end": 4666, + "start": 5168, + "end": 5207, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4627, - "end": 4643, + "start": 5168, + "end": 5184, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4627, - "end": 4631, + "start": 5168, + "end": 5172, "loc": { "start": { - "line": 152, + "line": 166, "column": 15 }, "end": { - "line": 152, + "line": 166, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4632, - "end": 4643, + "start": 5173, + "end": 5184, "loc": { "start": { - "line": 152, + "line": 166, "column": 20 }, "end": { - "line": 152, + "line": 166, "column": 31 }, "identifierName": "addStringAt" @@ -27415,15 +30251,15 @@ "arguments": [ { "type": "Identifier", - "start": 4644, - "end": 4650, + "start": 5185, + "end": 5191, "loc": { "start": { - "line": 152, + "line": 166, "column": 32 }, "end": { - "line": 152, + "line": 166, "column": 38 }, "identifierName": "output" @@ -27432,35 +30268,35 @@ }, { "type": "StringLiteral", - "start": 4652, - "end": 4655, + "start": 5193, + "end": 5196, "loc": { "start": { - "line": 152, + "line": 166, "column": 40 }, "end": { - "line": 152, + "line": 166, "column": 43 } }, "extra": { - "rawValue": "+", - "raw": "'+'" + "rawValue": ".", + "raw": "'.'" }, - "value": "+" + "value": "." }, { "type": "Identifier", - "start": 4657, - "end": 4665, + "start": 5198, + "end": 5206, "loc": { "start": { - "line": 152, + "line": 166, "column": 45 }, "end": { - "line": 152, + "line": 166, "column": 53 }, "identifierName": "caretPos" @@ -27473,111 +30309,180 @@ }, "alternate": { "type": "IfStatement", - "start": 4680, - "end": 5001, + "start": 5221, + "end": 5440, "loc": { "start": { - "line": 154, + "line": 168, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { - "type": "BinaryExpression", - "start": 4683, - "end": 4711, + "type": "LogicalExpression", + "start": 5224, + "end": 5256, "loc": { "start": { - "line": 154, + "line": 168, "column": 12 }, "end": { - "line": 154, - "column": 40 + "line": 168, + "column": 44 } }, "left": { - "type": "Identifier", - "start": 4683, - "end": 4689, + "type": "BinaryExpression", + "start": 5224, + "end": 5238, "loc": { "start": { - "line": 154, + "line": 168, "column": 12 }, "end": { - "line": 154, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4694, - "end": 4711, - "loc": { - "start": { - "line": 154, - "column": 23 - }, - "end": { - "line": 154, - "column": 40 + "line": 168, + "column": 26 } }, - "extra": { - "rawValue": "{numpaddecimal}", - "raw": "\"{numpaddecimal}\"" + "left": { + "type": "Identifier", + "start": 5224, + "end": 5230, + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" }, - "value": "{numpaddecimal}" + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 5235, + "end": 5238, + "loc": { + "start": { + "line": 168, + "column": 23 + }, + "end": { + "line": 168, + "column": 26 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5242, + "end": 5256, + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 44 + } + }, + "left": { + "type": "Identifier", + "start": 5242, + "end": 5248, + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 5253, + "end": 5256, + "loc": { + "start": { + "line": 168, + "column": 41 + }, + "end": { + "line": 168, + "column": 44 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } } }, "consequent": { "type": "ExpressionStatement", - "start": 4720, - "end": 4769, + "start": 5265, + "end": 5317, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, - "column": 55 + "line": 169, + "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4720, - "end": 4768, + "start": 5265, + "end": 5316, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, - "column": 54 + "line": 169, + "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4720, - "end": 4726, + "start": 5265, + "end": 5271, "loc": { "start": { - "line": 155, + "line": 169, "column": 6 }, "end": { - "line": 155, + "line": 169, "column": 12 }, "identifierName": "output" @@ -27586,58 +30491,58 @@ }, "right": { "type": "CallExpression", - "start": 4729, - "end": 4768, + "start": 5274, + "end": 5316, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, - "column": 54 + "line": 169, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4729, - "end": 4745, + "start": 5274, + "end": 5290, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, + "line": 169, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4729, - "end": 4733, + "start": 5274, + "end": 5278, "loc": { "start": { - "line": 155, + "line": 169, "column": 15 }, "end": { - "line": 155, + "line": 169, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4734, - "end": 4745, + "start": 5279, + "end": 5290, "loc": { "start": { - "line": 155, + "line": 169, "column": 20 }, "end": { - "line": 155, + "line": 169, "column": 31 }, "identifierName": "addStringAt" @@ -27649,15 +30554,15 @@ "arguments": [ { "type": "Identifier", - "start": 4746, - "end": 4752, + "start": 5291, + "end": 5297, "loc": { "start": { - "line": 155, + "line": 169, "column": 32 }, "end": { - "line": 155, + "line": 169, "column": 38 }, "identifierName": "output" @@ -27665,37 +30570,34 @@ "name": "output" }, { - "type": "StringLiteral", - "start": 4754, - "end": 4757, + "type": "Identifier", + "start": 5299, + "end": 5305, "loc": { "start": { - "line": 155, + "line": 169, "column": 40 }, "end": { - "line": 155, - "column": 43 - } + "line": 169, + "column": 46 + }, + "identifierName": "button" }, - "extra": { - "rawValue": ".", - "raw": "'.'" - }, - "value": "." + "name": "button" }, { "type": "Identifier", - "start": 4759, - "end": 4767, + "start": 5307, + "end": 5315, "loc": { "start": { - "line": 155, - "column": 45 + "line": 169, + "column": 48 }, "end": { - "line": 155, - "column": 53 + "line": 169, + "column": 56 }, "identifierName": "caretPos" }, @@ -27707,180 +30609,288 @@ }, "alternate": { "type": "IfStatement", - "start": 4782, - "end": 5001, + "start": 5330, + "end": 5440, "loc": { "start": { - "line": 157, + "line": 171, "column": 9 }, "end": { - "line": 161, + "line": 172, "column": 58 } }, "test": { "type": "LogicalExpression", - "start": 4785, - "end": 4817, + "start": 5333, + "end": 5379, "loc": { "start": { - "line": 157, + "line": 171, "column": 12 }, "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, "left": { - "type": "BinaryExpression", - "start": 4785, - "end": 4799, + "type": "UnaryExpression", + "start": 5333, + "end": 5354, "loc": { "start": { - "line": 157, + "line": 171, "column": 12 }, "end": { - "line": 157, - "column": 26 + "line": 171, + "column": 33 } }, - "left": { - "type": "Identifier", - "start": 4785, - "end": 4791, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 5334, + "end": 5354, "loc": { "start": { - "line": 157, - "column": 12 + "line": 171, + "column": 13 }, "end": { - "line": 157, - "column": 18 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4796, - "end": 4799, - "loc": { - "start": { - "line": 157, - "column": 23 - }, - "end": { - "line": 157, - "column": 26 + "line": 171, + "column": 33 } }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" + "callee": { + "type": "MemberExpression", + "start": 5334, + "end": 5349, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 5334, + "end": 5340, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 19 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 5341, + "end": 5349, + "loc": { + "start": { + "line": 171, + "column": 20 + }, + "end": { + "line": 171, + "column": 28 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false }, - "value": "{" + "arguments": [ + { + "type": "StringLiteral", + "start": 5350, + "end": 5353, + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 32 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + ] + }, + "extra": { + "parenthesizedArgument": false } }, - "operator": "||", + "operator": "&&", "right": { - "type": "BinaryExpression", - "start": 4803, - "end": 4817, + "type": "UnaryExpression", + "start": 5358, + "end": 5379, "loc": { "start": { - "line": 157, - "column": 30 + "line": 171, + "column": 37 }, "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, - "left": { - "type": "Identifier", - "start": 4803, - "end": 4809, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 5359, + "end": 5379, "loc": { "start": { - "line": 157, - "column": 30 + "line": 171, + "column": 38 }, "end": { - "line": 157, - "column": 36 - }, - "identifierName": "button" - }, - "name": "button" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 4814, - "end": 4817, - "loc": { - "start": { - "line": 157, - "column": 41 - }, - "end": { - "line": 157, - "column": 44 + "line": 171, + "column": 58 } }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" + "callee": { + "type": "MemberExpression", + "start": 5359, + "end": 5374, + "loc": { + "start": { + "line": 171, + "column": 38 + }, + "end": { + "line": 171, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 5359, + "end": 5365, + "loc": { + "start": { + "line": 171, + "column": 38 + }, + "end": { + "line": 171, + "column": 44 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 5366, + "end": 5374, + "loc": { + "start": { + "line": 171, + "column": 45 + }, + "end": { + "line": 171, + "column": 53 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false }, - "value": "}" + "arguments": [ + { + "type": "StringLiteral", + "start": 5375, + "end": 5378, + "loc": { + "start": { + "line": 171, + "column": 54 + }, + "end": { + "line": 171, + "column": 57 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } + ] + }, + "extra": { + "parenthesizedArgument": false } } }, "consequent": { "type": "ExpressionStatement", - "start": 4826, - "end": 4878, + "start": 5388, + "end": 5440, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4826, - "end": 4877, + "start": 5388, + "end": 5439, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4826, - "end": 4832, + "start": 5388, + "end": 5394, "loc": { "start": { - "line": 158, + "line": 172, "column": 6 }, "end": { - "line": 158, + "line": 172, "column": 12 }, "identifierName": "output" @@ -27889,58 +30899,58 @@ }, "right": { "type": "CallExpression", - "start": 4835, - "end": 4877, + "start": 5397, + "end": 5439, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4835, - "end": 4851, + "start": 5397, + "end": 5413, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4835, - "end": 4839, + "start": 5397, + "end": 5401, "loc": { "start": { - "line": 158, + "line": 172, "column": 15 }, "end": { - "line": 158, + "line": 172, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4840, - "end": 4851, + "start": 5402, + "end": 5413, "loc": { "start": { - "line": 158, + "line": 172, "column": 20 }, "end": { - "line": 158, + "line": 172, "column": 31 }, "identifierName": "addStringAt" @@ -27952,15 +30962,15 @@ "arguments": [ { "type": "Identifier", - "start": 4852, - "end": 4858, + "start": 5414, + "end": 5420, "loc": { "start": { - "line": 158, + "line": 172, "column": 32 }, "end": { - "line": 158, + "line": 172, "column": 38 }, "identifierName": "output" @@ -27969,15 +30979,15 @@ }, { "type": "Identifier", - "start": 4860, - "end": 4866, + "start": 5422, + "end": 5428, "loc": { "start": { - "line": 158, + "line": 172, "column": 40 }, "end": { - "line": 158, + "line": 172, "column": 46 }, "identifierName": "button" @@ -27986,15 +30996,15 @@ }, { "type": "Identifier", - "start": 4868, - "end": 4876, + "start": 5430, + "end": 5438, "loc": { "start": { - "line": 158, + "line": 172, "column": 48 }, "end": { - "line": 158, + "line": 172, "column": 56 }, "identifierName": "caretPos" @@ -28005,416 +31015,7 @@ } } }, - "alternate": { - "type": "IfStatement", - "start": 4891, - "end": 5001, - "loc": { - "start": { - "line": 160, - "column": 9 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "test": { - "type": "LogicalExpression", - "start": 4894, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 12 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "left": { - "type": "UnaryExpression", - "start": 4894, - "end": 4915, - "loc": { - "start": { - "line": 160, - "column": 12 - }, - "end": { - "line": 160, - "column": 33 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 4895, - "end": 4915, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4895, - "end": 4910, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 4895, - "end": 4901, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 19 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4902, - "end": 4910, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 28 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4911, - "end": 4914, - "loc": { - "start": { - "line": 160, - "column": 29 - }, - "end": { - "line": 160, - "column": 32 - } - }, - "extra": { - "rawValue": "{", - "raw": "\"{\"" - }, - "value": "{" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 4919, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 37 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 4920, - "end": 4940, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4920, - "end": 4935, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 4920, - "end": 4926, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 44 - }, - "identifierName": "button" - }, - "name": "button" - }, - "property": { - "type": "Identifier", - "start": 4927, - "end": 4935, - "loc": { - "start": { - "line": 160, - "column": 45 - }, - "end": { - "line": 160, - "column": 53 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4936, - "end": 4939, - "loc": { - "start": { - "line": 160, - "column": 54 - }, - "end": { - "line": 160, - "column": 57 - } - }, - "extra": { - "rawValue": "}", - "raw": "\"}\"" - }, - "value": "}" - } - ] - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "consequent": { - "type": "ExpressionStatement", - "start": 4949, - "end": 5001, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 58 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4949, - "end": 5000, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 57 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 4949, - "end": 4955, - "loc": { - "start": { - "line": 161, - "column": 6 - }, - "end": { - "line": 161, - "column": 12 - }, - "identifierName": "output" - }, - "name": "output" - }, - "right": { - "type": "CallExpression", - "start": 4958, - "end": 5000, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4958, - "end": 4974, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 4958, - "end": 4962, - "loc": { - "start": { - "line": 161, - "column": 15 - }, - "end": { - "line": 161, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 4963, - "end": 4974, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 31 - }, - "identifierName": "addStringAt" - }, - "name": "addStringAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4975, - "end": 4981, - "loc": { - "start": { - "line": 161, - "column": 32 - }, - "end": { - "line": 161, - "column": 38 - }, - "identifierName": "output" - }, - "name": "output" - }, - { - "type": "Identifier", - "start": 4983, - "end": 4989, - "loc": { - "start": { - "line": 161, - "column": 40 - }, - "end": { - "line": 161, - "column": 46 - }, - "identifierName": "button" - }, - "name": "button" - }, - { - "type": "Identifier", - "start": 4991, - "end": 4999, - "loc": { - "start": { - "line": 161, - "column": 48 - }, - "end": { - "line": 161, - "column": 56 - }, - "identifierName": "caretPos" - }, - "name": "caretPos" - } - ] - } - } - }, - "alternate": null - } + "alternate": null } } } @@ -28425,58 +31026,57 @@ } } } + } + }, + { + "type": "ReturnStatement", + "start": 5448, + "end": 5462, + "loc": { + "start": { + "line": 174, + "column": 4 + }, + "end": { + "line": 174, + "column": 18 + } }, - { - "type": "ReturnStatement", - "start": 5009, - "end": 5023, + "argument": { + "type": "Identifier", + "start": 5455, + "end": 5461, "loc": { "start": { - "line": 163, - "column": 4 + "line": 174, + "column": 11 }, "end": { - "line": 163, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 5016, - "end": 5022, - "loc": { - "start": { - "line": 163, - "column": 11 - }, - "end": { - "line": 163, - "column": 17 - }, - "identifierName": "output" + "line": 174, + "column": 17 }, - "name": "output" - } + "identifierName": "output" + }, + "name": "output" } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -28486,15 +31086,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -28502,16 +31102,16 @@ ] }, { - "type": "ClassProperty", - "start": 5278, - "end": 5621, + "type": "ClassMethod", + "start": 5717, + "end": 6053, "loc": { "start": { - "line": 171, + "line": 182, "column": 2 }, "end": { - "line": 178, + "line": 189, "column": 3 } }, @@ -28519,15 +31119,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5278, - "end": 5292, + "start": 5717, + "end": 5731, "loc": { "start": { - "line": 171, + "line": 182, "column": 2 }, "end": { - "line": 171, + "line": 182, "column": 16 }, "identifierName": "updateCaretPos" @@ -28535,582 +31135,323 @@ "name": "updateCaretPos", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 5295, - "end": 5621, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5732, + "end": 5738, + "loc": { + "start": { + "line": 182, + "column": 17 + }, + "end": { + "line": 182, + "column": 23 + }, + "identifierName": "length" + }, + "name": "length" + }, + { + "type": "Identifier", + "start": 5740, + "end": 5745, + "loc": { + "start": { + "line": 182, + "column": 25 + }, + "end": { + "line": 182, + "column": 30 + }, + "identifierName": "minus" + }, + "name": "minus" + } + ], + "body": { + "type": "BlockStatement", + "start": 5746, + "end": 6053, "loc": { "start": { - "line": 171, - "column": 19 + "line": 182, + "column": 31 }, "end": { - "line": 178, + "line": 189, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 5296, - "end": 5302, + "type": "IfStatement", + "start": 5753, + "end": 6048, "loc": { "start": { - "line": 171, - "column": 20 + "line": 183, + "column": 4 }, "end": { - "line": 171, - "column": 26 - }, - "identifierName": "length" + "line": 188, + "column": 5 + } }, - "name": "length" - }, - { - "type": "Identifier", - "start": 5304, - "end": 5309, - "loc": { - "start": { - "line": 171, - "column": 28 - }, - "end": { - "line": 171, - "column": 33 - }, - "identifierName": "minus" - }, - "name": "minus" - } - ], - "body": { - "type": "BlockStatement", - "start": 5314, - "end": 5621, - "loc": { - "start": { - "line": 171, - "column": 38 - }, - "end": { - "line": 178, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5321, - "end": 5616, + "test": { + "type": "Identifier", + "start": 5756, + "end": 5761, "loc": { "start": { - "line": 172, - "column": 4 + "line": 183, + "column": 7 }, "end": { - "line": 177, + "line": 183, + "column": 12 + }, + "identifierName": "minus" + }, + "name": "minus" + }, + "consequent": { + "type": "BlockStatement", + "start": 5762, + "end": 5931, + "loc": { + "start": { + "line": 183, + "column": 13 + }, + "end": { + "line": 186, "column": 5 } }, - "test": { - "type": "Identifier", - "start": 5324, - "end": 5329, - "loc": { - "start": { - "line": 172, - "column": 7 + "body": [ + { + "type": "IfStatement", + "start": 5771, + "end": 5924, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 185, + "column": 102 + } }, - "end": { - "line": 172, - "column": 12 - }, - "identifierName": "minus" - }, - "name": "minus" - }, - "consequent": { - "type": "BlockStatement", - "start": 5330, - "end": 5499, - "loc": { - "start": { - "line": 172, - "column": 13 - }, - "end": { - "line": 175, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5339, - "end": 5492, + "test": { + "type": "BinaryExpression", + "start": 5774, + "end": 5819, "loc": { "start": { - "line": 173, - "column": 6 + "line": 184, + "column": 9 }, "end": { - "line": 174, - "column": 102 + "line": 184, + "column": 54 } }, - "test": { - "type": "BinaryExpression", - "start": 5342, - "end": 5387, + "left": { + "type": "MemberExpression", + "start": 5774, + "end": 5815, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 54 + "line": 184, + "column": 50 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 5342, - "end": 5383, + "start": 5774, + "end": 5801, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 50 + "line": 184, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 5342, - "end": 5369, + "type": "ThisExpression", + "start": 5774, + "end": 5778, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, - "column": 36 + "line": 184, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 5342, - "end": 5346, - "loc": { - "start": { - "line": 173, - "column": 9 - }, - "end": { - "line": 173, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 5347, - "end": 5369, - "loc": { - "start": { - "line": 173, - "column": 14 - }, - "end": { - "line": 173, - "column": 36 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 5370, - "end": 5383, + "start": 5779, + "end": 5801, "loc": { "start": { - "line": 173, - "column": 37 + "line": 184, + "column": 14 }, "end": { - "line": 173, - "column": 50 + "line": 184, + "column": 36 }, - "identifierName": "caretPosition" + "identifierName": "simpleKeyboardInstance" }, - "name": "caretPosition" + "name": "simpleKeyboardInstance" }, "computed": false }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 5386, - "end": 5387, + "property": { + "type": "Identifier", + "start": 5802, + "end": 5815, "loc": { "start": { - "line": 173, - "column": 53 + "line": 184, + "column": 37 }, "end": { - "line": 173, - "column": 54 - } + "line": 184, + "column": 50 + }, + "identifierName": "caretPosition" }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "name": "caretPosition" + }, + "computed": false }, - "consequent": { - "type": "ExpressionStatement", - "start": 5398, - "end": 5492, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 5818, + "end": 5819, "loc": { "start": { - "line": 174, - "column": 8 + "line": 184, + "column": 53 }, "end": { - "line": 174, - "column": 102 + "line": 184, + "column": 54 } }, - "expression": { - "type": "AssignmentExpression", - "start": 5398, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 102 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5398, - "end": 5439, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 5398, - "end": 5425, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 5398, - "end": 5402, - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 5403, - "end": 5425, - "loc": { - "start": { - "line": 174, - "column": 13 - }, - "end": { - "line": 174, - "column": 35 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5426, - "end": 5439, - "loc": { - "start": { - "line": 174, - "column": 36 - }, - "end": { - "line": 174, - "column": 49 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 5442, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 102 - } - }, - "left": { - "type": "MemberExpression", - "start": 5442, - "end": 5483, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 93 - } - }, - "object": { - "type": "MemberExpression", - "start": 5442, - "end": 5469, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 79 - } - }, - "object": { - "type": "ThisExpression", - "start": 5442, - "end": 5446, - "loc": { - "start": { - "line": 174, - "column": 52 - }, - "end": { - "line": 174, - "column": 56 - } - } - }, - "property": { - "type": "Identifier", - "start": 5447, - "end": 5469, - "loc": { - "start": { - "line": 174, - "column": 57 - }, - "end": { - "line": 174, - "column": 79 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5470, - "end": 5483, - "loc": { - "start": { - "line": 174, - "column": 80 - }, - "end": { - "line": 174, - "column": 93 - }, - "identifierName": "caretPosition" - }, - "name": "caretPosition" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 5486, - "end": 5492, - "loc": { - "start": { - "line": 174, - "column": 96 - }, - "end": { - "line": 174, - "column": 102 - }, - "identifierName": "length" - }, - "name": "length" - } - } - } - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 5505, - "end": 5616, - "loc": { - "start": { - "line": 175, - "column": 11 + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, - "end": { - "line": 177, - "column": 5 - } - }, - "body": [ - { + "consequent": { "type": "ExpressionStatement", - "start": 5514, - "end": 5609, + "start": 5830, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 101 + "line": 185, + "column": 102 } }, "expression": { "type": "AssignmentExpression", - "start": 5514, - "end": 5608, + "start": 5830, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5514, - "end": 5555, + "start": 5830, + "end": 5871, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 47 + "line": 185, + "column": 49 } }, "object": { "type": "MemberExpression", - "start": 5514, - "end": 5541, + "start": 5830, + "end": 5857, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 33 + "line": 185, + "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5514, - "end": 5518, + "start": 5830, + "end": 5834, "loc": { "start": { - "line": 176, - "column": 6 + "line": 185, + "column": 8 }, "end": { - "line": 176, - "column": 10 + "line": 185, + "column": 12 } } }, "property": { "type": "Identifier", - "start": 5519, - "end": 5541, + "start": 5835, + "end": 5857, "loc": { "start": { - "line": 176, - "column": 11 + "line": 185, + "column": 13 }, "end": { - "line": 176, - "column": 33 + "line": 185, + "column": 35 }, "identifierName": "simpleKeyboardInstance" }, @@ -29120,16 +31461,16 @@ }, "property": { "type": "Identifier", - "start": 5542, - "end": 5555, + "start": 5858, + "end": 5871, "loc": { "start": { - "line": 176, - "column": 34 + "line": 185, + "column": 36 }, "end": { - "line": 176, - "column": 47 + "line": 185, + "column": 49 }, "identifierName": "caretPosition" }, @@ -29139,73 +31480,73 @@ }, "right": { "type": "BinaryExpression", - "start": 5558, - "end": 5608, + "start": 5874, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 } }, "left": { "type": "MemberExpression", - "start": 5558, - "end": 5599, + "start": 5874, + "end": 5915, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 91 + "line": 185, + "column": 93 } }, "object": { "type": "MemberExpression", - "start": 5558, - "end": 5585, + "start": 5874, + "end": 5901, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 77 + "line": 185, + "column": 79 } }, "object": { "type": "ThisExpression", - "start": 5558, - "end": 5562, + "start": 5874, + "end": 5878, "loc": { "start": { - "line": 176, - "column": 50 + "line": 185, + "column": 52 }, "end": { - "line": 176, - "column": 54 + "line": 185, + "column": 56 } } }, "property": { "type": "Identifier", - "start": 5563, - "end": 5585, + "start": 5879, + "end": 5901, "loc": { "start": { - "line": 176, - "column": 55 + "line": 185, + "column": 57 }, "end": { - "line": 176, - "column": 77 + "line": 185, + "column": 79 }, "identifierName": "simpleKeyboardInstance" }, @@ -29215,16 +31556,16 @@ }, "property": { "type": "Identifier", - "start": 5586, - "end": 5599, + "start": 5902, + "end": 5915, "loc": { "start": { - "line": 176, - "column": 78 + "line": 185, + "column": 80 }, "end": { - "line": 176, - "column": 91 + "line": 185, + "column": 93 }, "identifierName": "caretPosition" }, @@ -29232,19 +31573,19 @@ }, "computed": false }, - "operator": "+", + "operator": "-", "right": { "type": "Identifier", - "start": 5602, - "end": 5608, + "start": 5918, + "end": 5924, "loc": { "start": { - "line": 176, - "column": 94 + "line": 185, + "column": 96 }, "end": { - "line": 176, - "column": 100 + "line": 185, + "column": 102 }, "identifierName": "length" }, @@ -29252,30 +31593,274 @@ } } } + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 5937, + "end": 6048, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 188, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5946, + "end": 6041, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 101 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5946, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 100 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5946, + "end": 5987, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 5946, + "end": 5973, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5946, + "end": 5950, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 5951, + "end": 5973, + "loc": { + "start": { + "line": 187, + "column": 11 + }, + "end": { + "line": 187, + "column": 33 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5974, + "end": 5987, + "loc": { + "start": { + "line": 187, + "column": 34 + }, + "end": { + "line": 187, + "column": 47 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 5990, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 100 + } + }, + "left": { + "type": "MemberExpression", + "start": 5990, + "end": 6031, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 91 + } + }, + "object": { + "type": "MemberExpression", + "start": 5990, + "end": 6017, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 77 + } + }, + "object": { + "type": "ThisExpression", + "start": 5990, + "end": 5994, + "loc": { + "start": { + "line": 187, + "column": 50 + }, + "end": { + "line": 187, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "start": 5995, + "end": 6017, + "loc": { + "start": { + "line": 187, + "column": 55 + }, + "end": { + "line": 187, + "column": 77 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6018, + "end": 6031, + "loc": { + "start": { + "line": 187, + "column": 78 + }, + "end": { + "line": 187, + "column": 91 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 6034, + "end": 6040, + "loc": { + "start": { + "line": 187, + "column": 94 + }, + "end": { + "line": 187, + "column": 100 + }, + "identifierName": "length" + }, + "name": "length" + } + } } - ], - "directives": [] - } + } + ], + "directives": [] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -29285,15 +31870,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -29302,15 +31887,15 @@ }, { "type": "ClassMethod", - "start": 5883, - "end": 6428, + "start": 6315, + "end": 6860, "loc": { "start": { - "line": 187, + "line": 198, "column": 2 }, "end": { - "line": 209, + "line": 220, "column": 3 } }, @@ -29318,15 +31903,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5883, - "end": 5894, + "start": 6315, + "end": 6326, "loc": { "start": { - "line": 187, + "line": 198, "column": 2 }, "end": { - "line": 187, + "line": 198, "column": 13 }, "identifierName": "addStringAt" @@ -29342,15 +31927,15 @@ "params": [ { "type": "Identifier", - "start": 5895, - "end": 5901, + "start": 6327, + "end": 6333, "loc": { "start": { - "line": 187, + "line": 198, "column": 14 }, "end": { - "line": 187, + "line": 198, "column": 20 }, "identifierName": "source" @@ -29359,15 +31944,15 @@ }, { "type": "Identifier", - "start": 5903, - "end": 5909, + "start": 6335, + "end": 6341, "loc": { "start": { - "line": 187, + "line": 198, "column": 22 }, "end": { - "line": 187, + "line": 198, "column": 28 }, "identifierName": "string" @@ -29376,15 +31961,15 @@ }, { "type": "Identifier", - "start": 5911, - "end": 5919, + "start": 6343, + "end": 6351, "loc": { "start": { - "line": 187, + "line": 198, "column": 30 }, "end": { - "line": 187, + "line": 198, "column": 38 }, "identifierName": "position" @@ -29394,59 +31979,59 @@ ], "body": { "type": "BlockStatement", - "start": 5920, - "end": 6428, + "start": 6352, + "end": 6860, "loc": { "start": { - "line": 187, + "line": 198, "column": 39 }, "end": { - "line": 209, + "line": 220, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 5927, - "end": 5938, + "start": 6359, + "end": 6370, "loc": { "start": { - "line": 188, + "line": 199, "column": 4 }, "end": { - "line": 188, + "line": 199, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5931, - "end": 5937, + "start": 6363, + "end": 6369, "loc": { "start": { - "line": 188, + "line": 199, "column": 8 }, "end": { - "line": 188, + "line": 199, "column": 14 } }, "id": { "type": "Identifier", - "start": 5931, - "end": 5937, + "start": 6363, + "end": 6369, "loc": { "start": { - "line": 188, + "line": 199, "column": 8 }, "end": { - "line": 188, + "line": 199, "column": 14 }, "identifierName": "output" @@ -29460,86 +32045,86 @@ }, { "type": "IfStatement", - "start": 5946, - "end": 6042, + "start": 6378, + "end": 6474, "loc": { "start": { - "line": 190, + "line": 201, "column": 4 }, "end": { - "line": 192, + "line": 203, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 5949, - "end": 5990, + "start": 6381, + "end": 6422, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5949, - "end": 5984, + "start": 6381, + "end": 6416, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 5949, - "end": 5976, + "start": 6381, + "end": 6408, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 5949, - "end": 5953, + "start": 6381, + "end": 6385, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 11 } } }, "property": { "type": "Identifier", - "start": 5954, - "end": 5976, + "start": 6386, + "end": 6408, "loc": { "start": { - "line": 190, + "line": 201, "column": 12 }, "end": { - "line": 190, + "line": 201, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -29550,15 +32135,15 @@ }, "property": { "type": "Identifier", - "start": 5977, - "end": 5984, + "start": 6409, + "end": 6416, "loc": { "start": { - "line": 190, + "line": 201, "column": 35 }, "end": { - "line": 190, + "line": 201, "column": 42 }, "identifierName": "options" @@ -29569,15 +32154,15 @@ }, "property": { "type": "Identifier", - "start": 5985, - "end": 5990, + "start": 6417, + "end": 6422, "loc": { "start": { - "line": 190, + "line": 201, "column": 43 }, "end": { - "line": 190, + "line": 201, "column": 48 }, "identifierName": "debug" @@ -29588,72 +32173,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 5991, - "end": 6042, + "start": 6423, + "end": 6474, "loc": { "start": { - "line": 190, + "line": 201, "column": 49 }, "end": { - "line": 192, + "line": 203, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6000, - "end": 6035, + "start": 6432, + "end": 6467, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 6000, - "end": 6034, + "start": 6432, + "end": 6466, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 6000, - "end": 6011, + "start": 6432, + "end": 6443, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 17 } }, "object": { "type": "Identifier", - "start": 6000, - "end": 6007, + "start": 6432, + "end": 6439, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 13 }, "identifierName": "console" @@ -29662,15 +32247,15 @@ }, "property": { "type": "Identifier", - "start": 6008, - "end": 6011, + "start": 6440, + "end": 6443, "loc": { "start": { - "line": 191, + "line": 202, "column": 14 }, "end": { - "line": 191, + "line": 202, "column": 17 }, "identifierName": "log" @@ -29682,15 +32267,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6012, - "end": 6023, + "start": 6444, + "end": 6455, "loc": { "start": { - "line": 191, + "line": 202, "column": 18 }, "end": { - "line": 191, + "line": 202, "column": 29 } }, @@ -29702,15 +32287,15 @@ }, { "type": "Identifier", - "start": 6025, - "end": 6033, + "start": 6457, + "end": 6465, "loc": { "start": { - "line": 191, + "line": 202, "column": 31 }, "end": { - "line": 191, + "line": 202, "column": 39 }, "identifierName": "position" @@ -29727,43 +32312,43 @@ }, { "type": "IfStatement", - "start": 6050, - "end": 6401, + "start": 6482, + "end": 6833, "loc": { "start": { - "line": 194, + "line": 205, "column": 4 }, "end": { - "line": 206, + "line": 217, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 6053, - "end": 6080, + "start": 6485, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 7 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 6053, - "end": 6062, + "start": 6485, + "end": 6494, "loc": { "start": { - "line": 194, + "line": 205, "column": 7 }, "end": { - "line": 194, + "line": 205, "column": 16 } }, @@ -29771,15 +32356,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6054, - "end": 6062, + "start": 6486, + "end": 6494, "loc": { "start": { - "line": 194, + "line": 205, "column": 8 }, "end": { - "line": 194, + "line": 205, "column": 16 }, "identifierName": "position" @@ -29793,29 +32378,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 6066, - "end": 6080, + "start": 6498, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 20 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, "left": { "type": "Identifier", - "start": 6066, - "end": 6074, + "start": 6498, + "end": 6506, "loc": { "start": { - "line": 194, + "line": 205, "column": 20 }, "end": { - "line": 194, + "line": 205, "column": 28 }, "identifierName": "position" @@ -29825,15 +32410,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 6079, - "end": 6080, + "start": 6511, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 33 }, "end": { - "line": 194, + "line": 205, "column": 34 } }, @@ -29847,59 +32432,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6081, - "end": 6122, + "start": 6513, + "end": 6554, "loc": { "start": { - "line": 194, + "line": 205, "column": 35 }, "end": { - "line": 196, + "line": 207, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6090, - "end": 6115, + "start": 6522, + "end": 6547, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 6090, - "end": 6114, + "start": 6522, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6090, - "end": 6096, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 12 }, "identifierName": "output" @@ -29908,29 +32493,29 @@ }, "right": { "type": "BinaryExpression", - "start": 6099, - "end": 6114, + "start": 6531, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 15 }, "end": { - "line": 195, + "line": 206, "column": 30 } }, "left": { "type": "Identifier", - "start": 6099, - "end": 6105, + "start": 6531, + "end": 6537, "loc": { "start": { - "line": 195, + "line": 206, "column": 15 }, "end": { - "line": 195, + "line": 206, "column": 21 }, "identifierName": "source" @@ -29940,15 +32525,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6108, - "end": 6114, + "start": 6540, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 24 }, "end": { - "line": 195, + "line": 206, "column": 30 }, "identifierName": "string" @@ -29963,59 +32548,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 6128, - "end": 6401, + "start": 6560, + "end": 6833, "loc": { "start": { - "line": 196, + "line": 207, "column": 11 }, "end": { - "line": 206, + "line": 217, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6137, - "end": 6215, + "start": 6569, + "end": 6647, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 6137, - "end": 6214, + "start": 6569, + "end": 6646, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 83 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6137, - "end": 6143, + "start": 6569, + "end": 6575, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 12 }, "identifierName": "output" @@ -30024,86 +32609,86 @@ }, "right": { "type": "CallExpression", - "start": 6146, - "end": 6214, + "start": 6578, + "end": 6646, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 6146, - "end": 6210, + "start": 6578, + "end": 6642, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 79 } }, "object": { "type": "ArrayExpression", - "start": 6146, - "end": 6205, + "start": 6578, + "end": 6637, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 74 } }, "elements": [ { "type": "CallExpression", - "start": 6147, - "end": 6172, + "start": 6579, + "end": 6604, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 6147, - "end": 6159, + "start": 6579, + "end": 6591, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 28 } }, "object": { "type": "Identifier", - "start": 6147, - "end": 6153, + "start": 6579, + "end": 6585, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 22 }, "identifierName": "source" @@ -30112,15 +32697,15 @@ }, "property": { "type": "Identifier", - "start": 6154, - "end": 6159, + "start": 6586, + "end": 6591, "loc": { "start": { - "line": 197, + "line": 208, "column": 23 }, "end": { - "line": 197, + "line": 208, "column": 28 }, "identifierName": "slice" @@ -30132,15 +32717,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6160, - "end": 6161, + "start": 6592, + "end": 6593, "loc": { "start": { - "line": 197, + "line": 208, "column": 29 }, "end": { - "line": 197, + "line": 208, "column": 30 } }, @@ -30152,15 +32737,15 @@ }, { "type": "Identifier", - "start": 6163, - "end": 6171, + "start": 6595, + "end": 6603, "loc": { "start": { - "line": 197, + "line": 208, "column": 32 }, "end": { - "line": 197, + "line": 208, "column": 40 }, "identifierName": "position" @@ -30171,15 +32756,15 @@ }, { "type": "Identifier", - "start": 6174, - "end": 6180, + "start": 6606, + "end": 6612, "loc": { "start": { - "line": 197, + "line": 208, "column": 43 }, "end": { - "line": 197, + "line": 208, "column": 49 }, "identifierName": "string" @@ -30188,43 +32773,43 @@ }, { "type": "CallExpression", - "start": 6182, - "end": 6204, + "start": 6614, + "end": 6636, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6182, - "end": 6194, + "start": 6614, + "end": 6626, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 63 } }, "object": { "type": "Identifier", - "start": 6182, - "end": 6188, + "start": 6614, + "end": 6620, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 57 }, "identifierName": "source" @@ -30233,15 +32818,15 @@ }, "property": { "type": "Identifier", - "start": 6189, - "end": 6194, + "start": 6621, + "end": 6626, "loc": { "start": { - "line": 197, + "line": 208, "column": 58 }, "end": { - "line": 197, + "line": 208, "column": 63 }, "identifierName": "slice" @@ -30253,15 +32838,15 @@ "arguments": [ { "type": "Identifier", - "start": 6195, - "end": 6203, + "start": 6627, + "end": 6635, "loc": { "start": { - "line": 197, + "line": 208, "column": 64 }, "end": { - "line": 197, + "line": 208, "column": 72 }, "identifierName": "position" @@ -30274,15 +32859,15 @@ }, "property": { "type": "Identifier", - "start": 6206, - "end": 6210, + "start": 6638, + "end": 6642, "loc": { "start": { - "line": 197, + "line": 208, "column": 75 }, "end": { - "line": 197, + "line": 208, "column": 79 }, "identifierName": "join" @@ -30294,15 +32879,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6211, - "end": 6213, + "start": 6643, + "end": 6645, "loc": { "start": { - "line": 197, + "line": 208, "column": 80 }, "end": { - "line": 197, + "line": 208, "column": 82 } }, @@ -30319,15 +32904,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -30336,29 +32921,29 @@ }, { "type": "IfStatement", - "start": 6307, - "end": 6392, + "start": 6739, + "end": 6824, "loc": { "start": { - "line": 202, + "line": 213, "column": 6 }, "end": { - "line": 204, + "line": 215, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 6310, - "end": 6336, + "start": 6742, + "end": 6768, "loc": { "start": { - "line": 202, + "line": 213, "column": 9 }, "end": { - "line": 202, + "line": 213, "column": 35 } }, @@ -30366,43 +32951,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 6311, - "end": 6336, + "start": 6743, + "end": 6768, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 6311, - "end": 6334, + "start": 6743, + "end": 6766, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 6311, - "end": 6315, + "start": 6743, + "end": 6747, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 14 } }, @@ -30410,15 +32995,15 @@ }, "property": { "type": "Identifier", - "start": 6316, - "end": 6334, + "start": 6748, + "end": 6766, "loc": { "start": { - "line": 202, + "line": 213, "column": 15 }, "end": { - "line": 202, + "line": 213, "column": 33 }, "identifierName": "isMaxLengthReached" @@ -30438,87 +33023,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6337, - "end": 6392, + "start": 6769, + "end": 6824, "loc": { "start": { - "line": 202, + "line": 213, "column": 36 }, "end": { - "line": 204, + "line": 215, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 6348, - "end": 6383, + "start": 6780, + "end": 6815, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6348, - "end": 6382, + "start": 6780, + "end": 6814, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6348, - "end": 6367, + "start": 6780, + "end": 6799, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 6348, - "end": 6352, + "start": 6780, + "end": 6784, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6353, - "end": 6367, + "start": 6785, + "end": 6799, "loc": { "start": { - "line": 203, + "line": 214, "column": 13 }, "end": { - "line": 203, + "line": 214, "column": 27 }, "identifierName": "updateCaretPos" @@ -30530,29 +33115,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6368, - "end": 6381, + "start": 6800, + "end": 6813, "loc": { "start": { - "line": 203, + "line": 214, "column": 28 }, "end": { - "line": 203, + "line": 214, "column": 41 } }, "object": { "type": "Identifier", - "start": 6368, - "end": 6374, + "start": 6800, + "end": 6806, "loc": { "start": { - "line": 203, + "line": 214, "column": 28 }, "end": { - "line": 203, + "line": 214, "column": 34 }, "identifierName": "string" @@ -30561,15 +33146,15 @@ }, "property": { "type": "Identifier", - "start": 6375, - "end": 6381, + "start": 6807, + "end": 6813, "loc": { "start": { - "line": 203, + "line": 214, "column": 35 }, "end": { - "line": 203, + "line": 214, "column": 41 }, "identifierName": "length" @@ -30589,15 +33174,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -30610,29 +33195,29 @@ }, { "type": "ReturnStatement", - "start": 6409, - "end": 6423, + "start": 6841, + "end": 6855, "loc": { "start": { - "line": 208, + "line": 219, "column": 4 }, "end": { - "line": 208, + "line": 219, "column": 18 } }, "argument": { "type": "Identifier", - "start": 6416, - "end": 6422, + "start": 6848, + "end": 6854, "loc": { "start": { - "line": 208, + "line": 219, "column": 11 }, "end": { - "line": 208, + "line": 219, "column": 17 }, "identifierName": "output" @@ -30648,15 +33233,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -30666,15 +33251,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -30683,15 +33268,15 @@ }, { "type": "ClassMethod", - "start": 6658, - "end": 7888, + "start": 7090, + "end": 8320, "loc": { "start": { - "line": 217, + "line": 228, "column": 2 }, "end": { - "line": 256, + "line": 267, "column": 3 } }, @@ -30699,15 +33284,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6658, - "end": 6666, + "start": 7090, + "end": 7098, "loc": { "start": { - "line": 217, + "line": 228, "column": 2 }, "end": { - "line": 217, + "line": 228, "column": 10 }, "identifierName": "removeAt" @@ -30723,15 +33308,15 @@ "params": [ { "type": "Identifier", - "start": 6667, - "end": 6673, + "start": 7099, + "end": 7105, "loc": { "start": { - "line": 217, + "line": 228, "column": 11 }, "end": { - "line": 217, + "line": 228, "column": 17 }, "identifierName": "source" @@ -30740,15 +33325,15 @@ }, { "type": "Identifier", - "start": 6675, - "end": 6683, + "start": 7107, + "end": 7115, "loc": { "start": { - "line": 217, + "line": 228, "column": 19 }, "end": { - "line": 217, + "line": 228, "column": 27 }, "identifierName": "position" @@ -30758,101 +33343,101 @@ ], "body": { "type": "BlockStatement", - "start": 6684, - "end": 7888, + "start": 7116, + "end": 8320, "loc": { "start": { - "line": 217, + "line": 228, "column": 28 }, "end": { - "line": 256, + "line": 267, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 6691, - "end": 6772, + "start": 7123, + "end": 7204, "loc": { "start": { - "line": 218, + "line": 229, "column": 4 }, "end": { - "line": 220, + "line": 231, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 6694, - "end": 6741, + "start": 7126, + "end": 7173, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 6694, - "end": 6735, + "start": 7126, + "end": 7167, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6694, - "end": 6721, + "start": 7126, + "end": 7153, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 6694, - "end": 6698, + "start": 7126, + "end": 7130, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 11 } } }, "property": { "type": "Identifier", - "start": 6699, - "end": 6721, + "start": 7131, + "end": 7153, "loc": { "start": { - "line": 218, + "line": 229, "column": 12 }, "end": { - "line": 218, + "line": 229, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -30863,15 +33448,15 @@ }, "property": { "type": "Identifier", - "start": 6722, - "end": 6735, + "start": 7154, + "end": 7167, "loc": { "start": { - "line": 218, + "line": 229, "column": 35 }, "end": { - "line": 218, + "line": 229, "column": 48 }, "identifierName": "caretPosition" @@ -30883,15 +33468,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 6740, - "end": 6741, + "start": 7172, + "end": 7173, "loc": { "start": { - "line": 218, + "line": 229, "column": 53 }, "end": { - "line": 218, + "line": 229, "column": 54 } }, @@ -30904,44 +33489,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 6742, - "end": 6772, + "start": 7174, + "end": 7204, "loc": { "start": { - "line": 218, + "line": 229, "column": 55 }, "end": { - "line": 220, + "line": 231, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 6751, - "end": 6765, + "start": 7183, + "end": 7197, "loc": { "start": { - "line": 219, + "line": 230, "column": 6 }, "end": { - "line": 219, + "line": 230, "column": 20 } }, "argument": { "type": "Identifier", - "start": 6758, - "end": 6764, + "start": 7190, + "end": 7196, "loc": { "start": { - "line": 219, + "line": 230, "column": 13 }, "end": { - "line": 219, + "line": 230, "column": 19 }, "identifierName": "source" @@ -30956,44 +33541,44 @@ }, { "type": "VariableDeclaration", - "start": 6780, - "end": 6791, + "start": 7212, + "end": 7223, "loc": { "start": { - "line": 222, + "line": 233, "column": 4 }, "end": { - "line": 222, + "line": 233, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6784, - "end": 6790, + "start": 7216, + "end": 7222, "loc": { "start": { - "line": 222, + "line": 233, "column": 8 }, "end": { - "line": 222, + "line": 233, "column": 14 } }, "id": { "type": "Identifier", - "start": 6784, - "end": 6790, + "start": 7216, + "end": 7222, "loc": { "start": { - "line": 222, + "line": 233, "column": 8 }, "end": { - "line": 222, + "line": 233, "column": 14 }, "identifierName": "output" @@ -31007,44 +33592,44 @@ }, { "type": "VariableDeclaration", - "start": 6797, - "end": 6814, + "start": 7229, + "end": 7246, "loc": { "start": { - "line": 223, + "line": 234, "column": 4 }, "end": { - "line": 223, + "line": 234, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6801, - "end": 6813, + "start": 7233, + "end": 7245, "loc": { "start": { - "line": 223, + "line": 234, "column": 8 }, "end": { - "line": 223, + "line": 234, "column": 20 } }, "id": { "type": "Identifier", - "start": 6801, - "end": 6813, + "start": 7233, + "end": 7245, "loc": { "start": { - "line": 223, + "line": 234, "column": 8 }, "end": { - "line": 223, + "line": 234, "column": 20 }, "identifierName": "prevTwoChars" @@ -31058,44 +33643,44 @@ }, { "type": "VariableDeclaration", - "start": 6820, - "end": 6837, + "start": 7252, + "end": 7269, "loc": { "start": { - "line": 224, + "line": 235, "column": 4 }, "end": { - "line": 224, + "line": 235, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6824, - "end": 6836, + "start": 7256, + "end": 7268, "loc": { "start": { - "line": 224, + "line": 235, "column": 8 }, "end": { - "line": 224, + "line": 235, "column": 20 } }, "id": { "type": "Identifier", - "start": 6824, - "end": 6836, + "start": 7256, + "end": 7268, "loc": { "start": { - "line": 224, + "line": 235, "column": 8 }, "end": { - "line": 224, + "line": 235, "column": 20 }, "identifierName": "emojiMatched" @@ -31109,44 +33694,44 @@ }, { "type": "VariableDeclaration", - "start": 6843, - "end": 6901, + "start": 7275, + "end": 7333, "loc": { "start": { - "line": 225, + "line": 236, "column": 4 }, "end": { - "line": 225, + "line": 236, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6847, - "end": 6900, + "start": 7279, + "end": 7332, "loc": { "start": { - "line": 225, + "line": 236, "column": 8 }, "end": { - "line": 225, + "line": 236, "column": 61 } }, "id": { "type": "Identifier", - "start": 6847, - "end": 6862, + "start": 7279, + "end": 7294, "loc": { "start": { - "line": 225, + "line": 236, "column": 8 }, "end": { - "line": 225, + "line": 236, "column": 23 }, "identifierName": "emojiMatchedReg" @@ -31155,15 +33740,15 @@ }, "init": { "type": "RegExpLiteral", - "start": 6865, - "end": 6900, + "start": 7297, + "end": 7332, "loc": { "start": { - "line": 225, + "line": 236, "column": 26 }, "end": { - "line": 225, + "line": 236, "column": 61 } }, @@ -31180,15 +33765,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -31197,43 +33782,43 @@ }, { "type": "IfStatement", - "start": 7095, - "end": 7861, + "start": 7527, + "end": 8293, "loc": { "start": { - "line": 231, + "line": 242, "column": 4 }, "end": { - "line": 253, + "line": 264, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 7098, - "end": 7123, + "start": 7530, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 7 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, "left": { "type": "Identifier", - "start": 7098, - "end": 7106, + "start": 7530, + "end": 7538, "loc": { "start": { - "line": 231, + "line": 242, "column": 7 }, "end": { - "line": 231, + "line": 242, "column": 15 }, "identifierName": "position" @@ -31244,29 +33829,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7110, - "end": 7123, + "start": 7542, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 19 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, "left": { "type": "Identifier", - "start": 7110, - "end": 7118, + "start": 7542, + "end": 7550, "loc": { "start": { - "line": 231, + "line": 242, "column": 19 }, "end": { - "line": 231, + "line": 242, "column": 27 }, "identifierName": "position" @@ -31276,15 +33861,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7122, - "end": 7123, + "start": 7554, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 31 }, "end": { - "line": 231, + "line": 242, "column": 32 } }, @@ -31299,59 +33884,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7124, - "end": 7540, + "start": 7556, + "end": 7972, "loc": { "start": { - "line": 231, + "line": 242, "column": 33 }, "end": { - "line": 242, + "line": 253, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7133, - "end": 7188, + "start": 7565, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 7133, - "end": 7188, + "start": 7565, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7133, - "end": 7145, + "start": 7565, + "end": 7577, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 18 }, "identifierName": "prevTwoChars" @@ -31360,43 +33945,43 @@ }, "right": { "type": "CallExpression", - "start": 7148, - "end": 7188, + "start": 7580, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 7148, - "end": 7164, + "start": 7580, + "end": 7596, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 37 } }, "object": { "type": "Identifier", - "start": 7148, - "end": 7154, + "start": 7580, + "end": 7586, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 27 }, "identifierName": "source" @@ -31405,15 +33990,15 @@ }, "property": { "type": "Identifier", - "start": 7155, - "end": 7164, + "start": 7587, + "end": 7596, "loc": { "start": { - "line": 232, + "line": 243, "column": 28 }, "end": { - "line": 232, + "line": 243, "column": 37 }, "identifierName": "substring" @@ -31425,29 +34010,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7165, - "end": 7177, + "start": 7597, + "end": 7609, "loc": { "start": { - "line": 232, + "line": 243, "column": 38 }, "end": { - "line": 232, + "line": 243, "column": 50 } }, "left": { "type": "Identifier", - "start": 7165, - "end": 7173, + "start": 7597, + "end": 7605, "loc": { "start": { - "line": 232, + "line": 243, "column": 38 }, "end": { - "line": 232, + "line": 243, "column": 46 }, "identifierName": "position" @@ -31457,15 +34042,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7176, - "end": 7177, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 232, + "line": 243, "column": 49 }, "end": { - "line": 232, + "line": 243, "column": 50 } }, @@ -31478,15 +34063,15 @@ }, { "type": "Identifier", - "start": 7179, - "end": 7187, + "start": 7611, + "end": 7619, "loc": { "start": { - "line": 232, + "line": 243, "column": 52 }, "end": { - "line": 232, + "line": 243, "column": 60 }, "identifierName": "position" @@ -31499,44 +34084,44 @@ }, { "type": "ExpressionStatement", - "start": 7196, - "end": 7247, + "start": 7628, + "end": 7679, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7196, - "end": 7246, + "start": 7628, + "end": 7678, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7196, - "end": 7208, + "start": 7628, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 18 }, "identifierName": "emojiMatched" @@ -31545,43 +34130,43 @@ }, "right": { "type": "CallExpression", - "start": 7211, - "end": 7246, + "start": 7643, + "end": 7678, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7211, - "end": 7229, + "start": 7643, + "end": 7661, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 39 } }, "object": { "type": "Identifier", - "start": 7211, - "end": 7223, + "start": 7643, + "end": 7655, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 33 }, "identifierName": "prevTwoChars" @@ -31590,15 +34175,15 @@ }, "property": { "type": "Identifier", - "start": 7224, - "end": 7229, + "start": 7656, + "end": 7661, "loc": { "start": { - "line": 233, + "line": 244, "column": 34 }, "end": { - "line": 233, + "line": 244, "column": 39 }, "identifierName": "match" @@ -31610,15 +34195,15 @@ "arguments": [ { "type": "Identifier", - "start": 7230, - "end": 7245, + "start": 7662, + "end": 7677, "loc": { "start": { - "line": 233, + "line": 244, "column": 40 }, "end": { - "line": 233, + "line": 244, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -31631,29 +34216,29 @@ }, { "type": "IfStatement", - "start": 7257, - "end": 7533, + "start": 7689, + "end": 7965, "loc": { "start": { - "line": 235, + "line": 246, "column": 6 }, "end": { - "line": 241, + "line": 252, "column": 7 } }, "test": { "type": "Identifier", - "start": 7260, - "end": 7272, + "start": 7692, + "end": 7704, "loc": { "start": { - "line": 235, + "line": 246, "column": 9 }, "end": { - "line": 235, + "line": 246, "column": 21 }, "identifierName": "emojiMatched" @@ -31662,59 +34247,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7273, - "end": 7400, + "start": 7705, + "end": 7832, "loc": { "start": { - "line": 235, + "line": 246, "column": 22 }, "end": { - "line": 238, + "line": 249, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7284, - "end": 7352, + "start": 7716, + "end": 7784, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7284, - "end": 7351, + "start": 7716, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7284, - "end": 7290, + "start": 7716, + "end": 7722, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 14 }, "identifierName": "output" @@ -31723,57 +34308,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7293, - "end": 7351, + "start": 7725, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7293, - "end": 7325, + "start": 7725, + "end": 7757, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7293, - "end": 7306, + "start": 7725, + "end": 7738, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 30 } }, "object": { "type": "Identifier", - "start": 7293, - "end": 7299, + "start": 7725, + "end": 7731, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 23 }, "identifierName": "source" @@ -31782,15 +34367,15 @@ }, "property": { "type": "Identifier", - "start": 7300, - "end": 7306, + "start": 7732, + "end": 7738, "loc": { "start": { - "line": 236, + "line": 247, "column": 24 }, "end": { - "line": 236, + "line": 247, "column": 30 }, "identifierName": "substr" @@ -31802,15 +34387,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7307, - "end": 7308, + "start": 7739, + "end": 7740, "loc": { "start": { - "line": 236, + "line": 247, "column": 31 }, "end": { - "line": 236, + "line": 247, "column": 32 } }, @@ -31822,29 +34407,29 @@ }, { "type": "BinaryExpression", - "start": 7311, - "end": 7323, + "start": 7743, + "end": 7755, "loc": { "start": { - "line": 236, + "line": 247, "column": 35 }, "end": { - "line": 236, + "line": 247, "column": 47 } }, "left": { "type": "Identifier", - "start": 7311, - "end": 7319, + "start": 7743, + "end": 7751, "loc": { "start": { - "line": 236, + "line": 247, "column": 35 }, "end": { - "line": 236, + "line": 247, "column": 43 }, "identifierName": "position" @@ -31854,15 +34439,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7322, - "end": 7323, + "start": 7754, + "end": 7755, "loc": { "start": { - "line": 236, + "line": 247, "column": 46 }, "end": { - "line": 236, + "line": 247, "column": 47 } }, @@ -31874,7 +34459,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7310 + "parenStart": 7742 } } ] @@ -31882,43 +34467,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7328, - "end": 7351, + "start": 7760, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7328, - "end": 7341, + "start": 7760, + "end": 7773, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 65 } }, "object": { "type": "Identifier", - "start": 7328, - "end": 7334, + "start": 7760, + "end": 7766, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 58 }, "identifierName": "source" @@ -31927,15 +34512,15 @@ }, "property": { "type": "Identifier", - "start": 7335, - "end": 7341, + "start": 7767, + "end": 7773, "loc": { "start": { - "line": 236, + "line": 247, "column": 59 }, "end": { - "line": 236, + "line": 247, "column": 65 }, "identifierName": "substr" @@ -31947,15 +34532,15 @@ "arguments": [ { "type": "Identifier", - "start": 7342, - "end": 7350, + "start": 7774, + "end": 7782, "loc": { "start": { - "line": 236, + "line": 247, "column": 66 }, "end": { - "line": 236, + "line": 247, "column": 74 }, "identifierName": "position" @@ -31969,72 +34554,72 @@ }, { "type": "ExpressionStatement", - "start": 7362, - "end": 7391, + "start": 7794, + "end": 7823, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7362, - "end": 7390, + "start": 7794, + "end": 7822, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7362, - "end": 7381, + "start": 7794, + "end": 7813, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7362, - "end": 7366, + "start": 7794, + "end": 7798, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7367, - "end": 7381, + "start": 7799, + "end": 7813, "loc": { "start": { - "line": 237, + "line": 248, "column": 13 }, "end": { - "line": 237, + "line": 248, "column": 27 }, "identifierName": "updateCaretPos" @@ -32046,15 +34631,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7382, - "end": 7383, + "start": 7814, + "end": 7815, "loc": { "start": { - "line": 237, + "line": 248, "column": 28 }, "end": { - "line": 237, + "line": 248, "column": 29 } }, @@ -32066,15 +34651,15 @@ }, { "type": "BooleanLiteral", - "start": 7385, - "end": 7389, + "start": 7817, + "end": 7821, "loc": { "start": { - "line": 237, + "line": 248, "column": 31 }, "end": { - "line": 237, + "line": 248, "column": 35 } }, @@ -32088,59 +34673,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7406, - "end": 7533, + "start": 7838, + "end": 7965, "loc": { "start": { - "line": 238, + "line": 249, "column": 13 }, "end": { - "line": 241, + "line": 252, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7417, - "end": 7485, + "start": 7849, + "end": 7917, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7417, - "end": 7484, + "start": 7849, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7417, - "end": 7423, + "start": 7849, + "end": 7855, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 14 }, "identifierName": "output" @@ -32149,57 +34734,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7426, - "end": 7484, + "start": 7858, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7426, - "end": 7458, + "start": 7858, + "end": 7890, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7426, - "end": 7439, + "start": 7858, + "end": 7871, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 30 } }, "object": { "type": "Identifier", - "start": 7426, - "end": 7432, + "start": 7858, + "end": 7864, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 23 }, "identifierName": "source" @@ -32208,15 +34793,15 @@ }, "property": { "type": "Identifier", - "start": 7433, - "end": 7439, + "start": 7865, + "end": 7871, "loc": { "start": { - "line": 239, + "line": 250, "column": 24 }, "end": { - "line": 239, + "line": 250, "column": 30 }, "identifierName": "substr" @@ -32228,15 +34813,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7440, - "end": 7441, + "start": 7872, + "end": 7873, "loc": { "start": { - "line": 239, + "line": 250, "column": 31 }, "end": { - "line": 239, + "line": 250, "column": 32 } }, @@ -32248,29 +34833,29 @@ }, { "type": "BinaryExpression", - "start": 7444, - "end": 7456, + "start": 7876, + "end": 7888, "loc": { "start": { - "line": 239, + "line": 250, "column": 35 }, "end": { - "line": 239, + "line": 250, "column": 47 } }, "left": { "type": "Identifier", - "start": 7444, - "end": 7452, + "start": 7876, + "end": 7884, "loc": { "start": { - "line": 239, + "line": 250, "column": 35 }, "end": { - "line": 239, + "line": 250, "column": 43 }, "identifierName": "position" @@ -32280,15 +34865,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7455, - "end": 7456, + "start": 7887, + "end": 7888, "loc": { "start": { - "line": 239, + "line": 250, "column": 46 }, "end": { - "line": 239, + "line": 250, "column": 47 } }, @@ -32300,7 +34885,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7443 + "parenStart": 7875 } } ] @@ -32308,43 +34893,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7461, - "end": 7484, + "start": 7893, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7461, - "end": 7474, + "start": 7893, + "end": 7906, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 65 } }, "object": { "type": "Identifier", - "start": 7461, - "end": 7467, + "start": 7893, + "end": 7899, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 58 }, "identifierName": "source" @@ -32353,15 +34938,15 @@ }, "property": { "type": "Identifier", - "start": 7468, - "end": 7474, + "start": 7900, + "end": 7906, "loc": { "start": { - "line": 239, + "line": 250, "column": 59 }, "end": { - "line": 239, + "line": 250, "column": 65 }, "identifierName": "substr" @@ -32373,15 +34958,15 @@ "arguments": [ { "type": "Identifier", - "start": 7475, - "end": 7483, + "start": 7907, + "end": 7915, "loc": { "start": { - "line": 239, + "line": 250, "column": 66 }, "end": { - "line": 239, + "line": 250, "column": 74 }, "identifierName": "position" @@ -32395,72 +34980,72 @@ }, { "type": "ExpressionStatement", - "start": 7495, - "end": 7524, + "start": 7927, + "end": 7956, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7495, - "end": 7523, + "start": 7927, + "end": 7955, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7495, - "end": 7514, + "start": 7927, + "end": 7946, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7495, - "end": 7499, + "start": 7927, + "end": 7931, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7500, - "end": 7514, + "start": 7932, + "end": 7946, "loc": { "start": { - "line": 240, + "line": 251, "column": 13 }, "end": { - "line": 240, + "line": 251, "column": 27 }, "identifierName": "updateCaretPos" @@ -32472,15 +35057,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7515, - "end": 7516, + "start": 7947, + "end": 7948, "loc": { "start": { - "line": 240, + "line": 251, "column": 28 }, "end": { - "line": 240, + "line": 251, "column": 29 } }, @@ -32492,15 +35077,15 @@ }, { "type": "BooleanLiteral", - "start": 7518, - "end": 7522, + "start": 7950, + "end": 7954, "loc": { "start": { - "line": 240, + "line": 251, "column": 31 }, "end": { - "line": 240, + "line": 251, "column": 35 } }, @@ -32518,59 +35103,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7546, - "end": 7861, + "start": 7978, + "end": 8293, "loc": { "start": { - "line": 242, + "line": 253, "column": 11 }, "end": { - "line": 253, + "line": 264, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7555, - "end": 7587, + "start": 7987, + "end": 8019, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 7555, - "end": 7586, + "start": 7987, + "end": 8018, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7555, - "end": 7567, + "start": 7987, + "end": 7999, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 18 }, "identifierName": "prevTwoChars" @@ -32579,43 +35164,43 @@ }, "right": { "type": "CallExpression", - "start": 7570, - "end": 7586, + "start": 8002, + "end": 8018, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 7570, - "end": 7582, + "start": 8002, + "end": 8014, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 33 } }, "object": { "type": "Identifier", - "start": 7570, - "end": 7576, + "start": 8002, + "end": 8008, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 27 }, "identifierName": "source" @@ -32624,15 +35209,15 @@ }, "property": { "type": "Identifier", - "start": 7577, - "end": 7582, + "start": 8009, + "end": 8014, "loc": { "start": { - "line": 243, + "line": 254, "column": 28 }, "end": { - "line": 243, + "line": 254, "column": 33 }, "identifierName": "slice" @@ -32644,15 +35229,15 @@ "arguments": [ { "type": "UnaryExpression", - "start": 7583, - "end": 7585, + "start": 8015, + "end": 8017, "loc": { "start": { - "line": 243, + "line": 254, "column": 34 }, "end": { - "line": 243, + "line": 254, "column": 36 } }, @@ -32660,15 +35245,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7584, - "end": 7585, + "start": 8016, + "end": 8017, "loc": { "start": { - "line": 243, + "line": 254, "column": 35 }, "end": { - "line": 243, + "line": 254, "column": 36 } }, @@ -32688,44 +35273,44 @@ }, { "type": "ExpressionStatement", - "start": 7595, - "end": 7646, + "start": 8027, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7595, - "end": 7645, + "start": 8027, + "end": 8077, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7595, - "end": 7607, + "start": 8027, + "end": 8039, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 18 }, "identifierName": "emojiMatched" @@ -32734,43 +35319,43 @@ }, "right": { "type": "CallExpression", - "start": 7610, - "end": 7645, + "start": 8042, + "end": 8077, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7610, - "end": 7628, + "start": 8042, + "end": 8060, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 39 } }, "object": { "type": "Identifier", - "start": 7610, - "end": 7622, + "start": 8042, + "end": 8054, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 33 }, "identifierName": "prevTwoChars" @@ -32779,15 +35364,15 @@ }, "property": { "type": "Identifier", - "start": 7623, - "end": 7628, + "start": 8055, + "end": 8060, "loc": { "start": { - "line": 244, + "line": 255, "column": 34 }, "end": { - "line": 244, + "line": 255, "column": 39 }, "identifierName": "match" @@ -32799,15 +35384,15 @@ "arguments": [ { "type": "Identifier", - "start": 7629, - "end": 7644, + "start": 8061, + "end": 8076, "loc": { "start": { - "line": 244, + "line": 255, "column": 40 }, "end": { - "line": 244, + "line": 255, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -32820,29 +35405,29 @@ }, { "type": "IfStatement", - "start": 7656, - "end": 7854, + "start": 8088, + "end": 8286, "loc": { "start": { - "line": 246, + "line": 257, "column": 6 }, "end": { - "line": 252, + "line": 263, "column": 7 } }, "test": { "type": "Identifier", - "start": 7659, - "end": 7671, + "start": 8091, + "end": 8103, "loc": { "start": { - "line": 246, + "line": 257, "column": 9 }, "end": { - "line": 246, + "line": 257, "column": 21 }, "identifierName": "emojiMatched" @@ -32851,59 +35436,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7672, - "end": 7760, + "start": 8104, + "end": 8192, "loc": { "start": { - "line": 246, + "line": 257, "column": 22 }, "end": { - "line": 249, + "line": 260, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7683, - "end": 7712, + "start": 8115, + "end": 8144, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 7683, - "end": 7711, + "start": 8115, + "end": 8143, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7683, - "end": 7689, + "start": 8115, + "end": 8121, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 14 }, "identifierName": "output" @@ -32912,43 +35497,43 @@ }, "right": { "type": "CallExpression", - "start": 7692, - "end": 7711, + "start": 8124, + "end": 8143, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7692, - "end": 7704, + "start": 8124, + "end": 8136, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 29 } }, "object": { "type": "Identifier", - "start": 7692, - "end": 7698, + "start": 8124, + "end": 8130, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 23 }, "identifierName": "source" @@ -32957,15 +35542,15 @@ }, "property": { "type": "Identifier", - "start": 7699, - "end": 7704, + "start": 8131, + "end": 8136, "loc": { "start": { - "line": 247, + "line": 258, "column": 24 }, "end": { - "line": 247, + "line": 258, "column": 29 }, "identifierName": "slice" @@ -32977,15 +35562,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7705, - "end": 7706, + "start": 8137, + "end": 8138, "loc": { "start": { - "line": 247, + "line": 258, "column": 30 }, "end": { - "line": 247, + "line": 258, "column": 31 } }, @@ -32997,15 +35582,15 @@ }, { "type": "UnaryExpression", - "start": 7708, - "end": 7710, + "start": 8140, + "end": 8142, "loc": { "start": { - "line": 247, + "line": 258, "column": 33 }, "end": { - "line": 247, + "line": 258, "column": 35 } }, @@ -33013,15 +35598,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7709, - "end": 7710, + "start": 8141, + "end": 8142, "loc": { "start": { - "line": 247, + "line": 258, "column": 34 }, "end": { - "line": 247, + "line": 258, "column": 35 } }, @@ -33041,72 +35626,72 @@ }, { "type": "ExpressionStatement", - "start": 7722, - "end": 7751, + "start": 8154, + "end": 8183, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7722, - "end": 7750, + "start": 8154, + "end": 8182, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7722, - "end": 7741, + "start": 8154, + "end": 8173, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7722, - "end": 7726, + "start": 8154, + "end": 8158, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7727, - "end": 7741, + "start": 8159, + "end": 8173, "loc": { "start": { - "line": 248, + "line": 259, "column": 13 }, "end": { - "line": 248, + "line": 259, "column": 27 }, "identifierName": "updateCaretPos" @@ -33118,15 +35703,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7742, - "end": 7743, + "start": 8174, + "end": 8175, "loc": { "start": { - "line": 248, + "line": 259, "column": 28 }, "end": { - "line": 248, + "line": 259, "column": 29 } }, @@ -33138,15 +35723,15 @@ }, { "type": "BooleanLiteral", - "start": 7745, - "end": 7749, + "start": 8177, + "end": 8181, "loc": { "start": { - "line": 248, + "line": 259, "column": 31 }, "end": { - "line": 248, + "line": 259, "column": 35 } }, @@ -33160,59 +35745,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7766, - "end": 7854, + "start": 8198, + "end": 8286, "loc": { "start": { - "line": 249, + "line": 260, "column": 13 }, "end": { - "line": 252, + "line": 263, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7777, - "end": 7806, + "start": 8209, + "end": 8238, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 7777, - "end": 7805, + "start": 8209, + "end": 8237, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7777, - "end": 7783, + "start": 8209, + "end": 8215, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 14 }, "identifierName": "output" @@ -33221,43 +35806,43 @@ }, "right": { "type": "CallExpression", - "start": 7786, - "end": 7805, + "start": 8218, + "end": 8237, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7786, - "end": 7798, + "start": 8218, + "end": 8230, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 29 } }, "object": { "type": "Identifier", - "start": 7786, - "end": 7792, + "start": 8218, + "end": 8224, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 23 }, "identifierName": "source" @@ -33266,15 +35851,15 @@ }, "property": { "type": "Identifier", - "start": 7793, - "end": 7798, + "start": 8225, + "end": 8230, "loc": { "start": { - "line": 250, + "line": 261, "column": 24 }, "end": { - "line": 250, + "line": 261, "column": 29 }, "identifierName": "slice" @@ -33286,15 +35871,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7799, - "end": 7800, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 250, + "line": 261, "column": 30 }, "end": { - "line": 250, + "line": 261, "column": 31 } }, @@ -33306,15 +35891,15 @@ }, { "type": "UnaryExpression", - "start": 7802, - "end": 7804, + "start": 8234, + "end": 8236, "loc": { "start": { - "line": 250, + "line": 261, "column": 33 }, "end": { - "line": 250, + "line": 261, "column": 35 } }, @@ -33322,15 +35907,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7803, - "end": 7804, + "start": 8235, + "end": 8236, "loc": { "start": { - "line": 250, + "line": 261, "column": 34 }, "end": { - "line": 250, + "line": 261, "column": 35 } }, @@ -33350,72 +35935,72 @@ }, { "type": "ExpressionStatement", - "start": 7816, - "end": 7845, + "start": 8248, + "end": 8277, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 7816, - "end": 7844, + "start": 8248, + "end": 8276, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 7816, - "end": 7835, + "start": 8248, + "end": 8267, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7816, - "end": 7820, + "start": 8248, + "end": 8252, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7821, - "end": 7835, + "start": 8253, + "end": 8267, "loc": { "start": { - "line": 251, + "line": 262, "column": 13 }, "end": { - "line": 251, + "line": 262, "column": 27 }, "identifierName": "updateCaretPos" @@ -33427,15 +36012,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7836, - "end": 7837, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 251, + "line": 262, "column": 28 }, "end": { - "line": 251, + "line": 262, "column": 29 } }, @@ -33447,15 +36032,15 @@ }, { "type": "BooleanLiteral", - "start": 7839, - "end": 7843, + "start": 8271, + "end": 8275, "loc": { "start": { - "line": 251, + "line": 262, "column": 31 }, "end": { - "line": 251, + "line": 262, "column": 35 } }, @@ -33475,15 +36060,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -33492,29 +36077,29 @@ }, { "type": "ReturnStatement", - "start": 7869, - "end": 7883, + "start": 8301, + "end": 8315, "loc": { "start": { - "line": 255, + "line": 266, "column": 4 }, "end": { - "line": 255, + "line": 266, "column": 18 } }, "argument": { "type": "Identifier", - "start": 7876, - "end": 7882, + "start": 8308, + "end": 8314, "loc": { "start": { - "line": 255, + "line": 266, "column": 11 }, "end": { - "line": 255, + "line": 266, "column": 17 }, "identifierName": "output" @@ -33530,15 +36115,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -33548,15 +36133,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -33565,15 +36150,15 @@ }, { "type": "ClassMethod", - "start": 8127, - "end": 9385, + "start": 8559, + "end": 9817, "loc": { "start": { - "line": 264, + "line": 275, "column": 2 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, @@ -33581,15 +36166,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8127, - "end": 8142, + "start": 8559, + "end": 8574, "loc": { "start": { - "line": 264, + "line": 275, "column": 2 }, "end": { - "line": 264, + "line": 275, "column": 17 }, "identifierName": "handleMaxLength" @@ -33605,15 +36190,15 @@ "params": [ { "type": "Identifier", - "start": 8143, - "end": 8151, + "start": 8575, + "end": 8583, "loc": { "start": { - "line": 264, + "line": 275, "column": 18 }, "end": { - "line": 264, + "line": 275, "column": 26 }, "identifierName": "inputObj" @@ -33622,15 +36207,15 @@ }, { "type": "Identifier", - "start": 8153, - "end": 8160, + "start": 8585, + "end": 8592, "loc": { "start": { - "line": 264, + "line": 275, "column": 28 }, "end": { - "line": 264, + "line": 275, "column": 35 }, "identifierName": "options" @@ -33639,15 +36224,15 @@ }, { "type": "Identifier", - "start": 8162, - "end": 8174, + "start": 8594, + "end": 8606, "loc": { "start": { - "line": 264, + "line": 275, "column": 37 }, "end": { - "line": 264, + "line": 275, "column": 49 }, "identifierName": "updatedInput" @@ -33657,59 +36242,59 @@ ], "body": { "type": "BlockStatement", - "start": 8175, - "end": 9385, + "start": 8607, + "end": 9817, "loc": { "start": { - "line": 264, + "line": 275, "column": 50 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 8182, - "end": 8216, + "start": 8614, + "end": 8648, "loc": { "start": { - "line": 265, + "line": 276, "column": 4 }, "end": { - "line": 265, + "line": 276, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8186, - "end": 8215, + "start": 8618, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 8 }, "end": { - "line": 265, + "line": 276, "column": 37 } }, "id": { "type": "Identifier", - "start": 8186, - "end": 8195, + "start": 8618, + "end": 8627, "loc": { "start": { - "line": 265, + "line": 276, "column": 8 }, "end": { - "line": 265, + "line": 276, "column": 17 }, "identifierName": "maxLength" @@ -33718,29 +36303,29 @@ }, "init": { "type": "MemberExpression", - "start": 8198, - "end": 8215, + "start": 8630, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 20 }, "end": { - "line": 265, + "line": 276, "column": 37 } }, "object": { "type": "Identifier", - "start": 8198, - "end": 8205, + "start": 8630, + "end": 8637, "loc": { "start": { - "line": 265, + "line": 276, "column": 20 }, "end": { - "line": 265, + "line": 276, "column": 27 }, "identifierName": "options" @@ -33749,15 +36334,15 @@ }, "property": { "type": "Identifier", - "start": 8206, - "end": 8215, + "start": 8638, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 28 }, "end": { - "line": 265, + "line": 276, "column": 37 }, "identifierName": "maxLength" @@ -33772,44 +36357,44 @@ }, { "type": "VariableDeclaration", - "start": 8222, - "end": 8269, + "start": 8654, + "end": 8701, "loc": { "start": { - "line": 266, + "line": 277, "column": 4 }, "end": { - "line": 266, + "line": 277, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8226, - "end": 8268, + "start": 8658, + "end": 8700, "loc": { "start": { - "line": 266, + "line": 277, "column": 8 }, "end": { - "line": 266, + "line": 277, "column": 50 } }, "id": { "type": "Identifier", - "start": 8226, - "end": 8238, + "start": 8658, + "end": 8670, "loc": { "start": { - "line": 266, + "line": 277, "column": 8 }, "end": { - "line": 266, + "line": 277, "column": 20 }, "identifierName": "currentInput" @@ -33818,29 +36403,29 @@ }, "init": { "type": "MemberExpression", - "start": 8241, - "end": 8268, + "start": 8673, + "end": 8700, "loc": { "start": { - "line": 266, + "line": 277, "column": 23 }, "end": { - "line": 266, + "line": 277, "column": 50 } }, "object": { "type": "Identifier", - "start": 8241, - "end": 8249, + "start": 8673, + "end": 8681, "loc": { "start": { - "line": 266, + "line": 277, "column": 23 }, "end": { - "line": 266, + "line": 277, "column": 31 }, "identifierName": "inputObj" @@ -33849,29 +36434,29 @@ }, "property": { "type": "MemberExpression", - "start": 8250, - "end": 8267, + "start": 8682, + "end": 8699, "loc": { "start": { - "line": 266, + "line": 277, "column": 32 }, "end": { - "line": 266, + "line": 277, "column": 49 } }, "object": { "type": "Identifier", - "start": 8250, - "end": 8257, + "start": 8682, + "end": 8689, "loc": { "start": { - "line": 266, + "line": 277, "column": 32 }, "end": { - "line": 266, + "line": 277, "column": 39 }, "identifierName": "options" @@ -33880,15 +36465,15 @@ }, "property": { "type": "Identifier", - "start": 8258, - "end": 8267, + "start": 8690, + "end": 8699, "loc": { "start": { - "line": 266, + "line": 277, "column": 40 }, "end": { - "line": 266, + "line": 277, "column": 49 }, "identifierName": "inputName" @@ -33905,44 +36490,44 @@ }, { "type": "VariableDeclaration", - "start": 8275, - "end": 8325, + "start": 8707, + "end": 8757, "loc": { "start": { - "line": 267, + "line": 278, "column": 4 }, "end": { - "line": 267, + "line": 278, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8279, - "end": 8324, + "start": 8711, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 8 }, "end": { - "line": 267, + "line": 278, "column": 53 } }, "id": { "type": "Identifier", - "start": 8279, - "end": 8288, + "start": 8711, + "end": 8720, "loc": { "start": { - "line": 267, + "line": 278, "column": 8 }, "end": { - "line": 267, + "line": 278, "column": 17 }, "identifierName": "condition" @@ -33951,43 +36536,43 @@ }, "init": { "type": "BinaryExpression", - "start": 8291, - "end": 8324, + "start": 8723, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 8291, - "end": 8310, + "start": 8723, + "end": 8742, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 39 } }, "object": { "type": "Identifier", - "start": 8291, - "end": 8303, + "start": 8723, + "end": 8735, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 32 }, "identifierName": "currentInput" @@ -33996,15 +36581,15 @@ }, "property": { "type": "Identifier", - "start": 8304, - "end": 8310, + "start": 8736, + "end": 8742, "loc": { "start": { - "line": 267, + "line": 278, "column": 33 }, "end": { - "line": 267, + "line": 278, "column": 39 }, "identifierName": "length" @@ -34016,15 +36601,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8315, - "end": 8324, + "start": 8747, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 44 }, "end": { - "line": 267, + "line": 278, "column": 53 }, "identifierName": "maxLength" @@ -34038,57 +36623,57 @@ }, { "type": "IfStatement", - "start": 8335, - "end": 8553, + "start": 8767, + "end": 8985, "loc": { "start": { - "line": 270, + "line": 281, "column": 4 }, "end": { - "line": 278, + "line": 289, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8475, - "end": 8517, + "start": 8907, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 8475, - "end": 8494, + "start": 8907, + "end": 8926, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 25 } }, "object": { "type": "Identifier", - "start": 8475, - "end": 8487, + "start": 8907, + "end": 8919, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 18 }, "identifierName": "updatedInput" @@ -34098,15 +36683,15 @@ }, "property": { "type": "Identifier", - "start": 8488, - "end": 8494, + "start": 8920, + "end": 8926, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 25 }, "identifierName": "length" @@ -34119,29 +36704,29 @@ "operator": "<=", "right": { "type": "MemberExpression", - "start": 8498, - "end": 8517, + "start": 8930, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 48 } }, "object": { "type": "Identifier", - "start": 8498, - "end": 8510, + "start": 8930, + "end": 8942, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 41 }, "identifierName": "currentInput" @@ -34150,15 +36735,15 @@ }, "property": { "type": "Identifier", - "start": 8511, - "end": 8517, + "start": 8943, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 42 }, "end": { - "line": 275, + "line": 286, "column": 48 }, "identifierName": "length" @@ -34171,15 +36756,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8346, - "end": 8467, + "start": 8778, + "end": 8899, "loc": { "start": { - "line": 271, + "line": 282, "column": 6 }, "end": { - "line": 274, + "line": 285, "column": 9 } } @@ -34188,44 +36773,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8524, - "end": 8553, + "start": 8956, + "end": 8985, "loc": { "start": { - "line": 276, + "line": 287, "column": 5 }, "end": { - "line": 278, + "line": 289, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 8533, - "end": 8546, + "start": 8965, + "end": 8978, "loc": { "start": { - "line": 277, + "line": 288, "column": 6 }, "end": { - "line": 277, + "line": 288, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 8540, - "end": 8545, + "start": 8972, + "end": 8977, "loc": { "start": { - "line": 277, + "line": 288, "column": 13 }, "end": { - "line": 277, + "line": 288, "column": 18 } }, @@ -34239,57 +36824,57 @@ }, { "type": "IfStatement", - "start": 8561, - "end": 8983, + "start": 8993, + "end": 9415, "loc": { "start": { - "line": 280, + "line": 291, "column": 4 }, "end": { - "line": 295, + "line": 306, "column": 5 } }, "test": { "type": "CallExpression", - "start": 8564, - "end": 8591, + "start": 8996, + "end": 9023, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 8564, - "end": 8580, + "start": 8996, + "end": 9012, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 23 } }, "object": { "type": "Identifier", - "start": 8564, - "end": 8570, + "start": 8996, + "end": 9002, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 13 }, "identifierName": "Number" @@ -34298,15 +36883,15 @@ }, "property": { "type": "Identifier", - "start": 8571, - "end": 8580, + "start": 9003, + "end": 9012, "loc": { "start": { - "line": 280, + "line": 291, "column": 14 }, "end": { - "line": 280, + "line": 291, "column": 23 }, "identifierName": "isInteger" @@ -34318,15 +36903,15 @@ "arguments": [ { "type": "Identifier", - "start": 8581, - "end": 8590, + "start": 9013, + "end": 9022, "loc": { "start": { - "line": 280, + "line": 291, "column": 24 }, "end": { - "line": 280, + "line": 291, "column": 33 }, "identifierName": "maxLength" @@ -34337,58 +36922,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 8592, - "end": 8983, + "start": 9024, + "end": 9415, "loc": { "start": { - "line": 280, + "line": 291, "column": 35 }, "end": { - "line": 295, + "line": 306, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 8601, - "end": 8689, + "start": 9033, + "end": 9121, "loc": { "start": { - "line": 281, + "line": 292, "column": 6 }, "end": { - "line": 283, + "line": 294, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 8604, - "end": 8617, + "start": 9036, + "end": 9049, "loc": { "start": { - "line": 281, + "line": 292, "column": 9 }, "end": { - "line": 281, + "line": 292, "column": 22 } }, "object": { "type": "Identifier", - "start": 8604, - "end": 8611, + "start": 9036, + "end": 9043, "loc": { "start": { - "line": 281, + "line": 292, "column": 9 }, "end": { - "line": 281, + "line": 292, "column": 16 }, "identifierName": "options" @@ -34397,15 +36982,15 @@ }, "property": { "type": "Identifier", - "start": 8612, - "end": 8617, + "start": 9044, + "end": 9049, "loc": { "start": { - "line": 281, + "line": 292, "column": 17 }, "end": { - "line": 281, + "line": 292, "column": 22 }, "identifierName": "debug" @@ -34416,72 +37001,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8618, - "end": 8689, + "start": 9050, + "end": 9121, "loc": { "start": { - "line": 281, + "line": 292, "column": 23 }, "end": { - "line": 283, + "line": 294, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8629, - "end": 8680, + "start": 9061, + "end": 9112, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 8629, - "end": 8679, + "start": 9061, + "end": 9111, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 8629, - "end": 8640, + "start": 9061, + "end": 9072, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 19 } }, "object": { "type": "Identifier", - "start": 8629, - "end": 8636, + "start": 9061, + "end": 9068, "loc": { "start": { - "line": 282, + "line": 293, "column": 8 }, "end": { - "line": 282, + "line": 293, "column": 15 }, "identifierName": "console" @@ -34490,15 +37075,15 @@ }, "property": { "type": "Identifier", - "start": 8637, - "end": 8640, + "start": 9069, + "end": 9072, "loc": { "start": { - "line": 282, + "line": 293, "column": 16 }, "end": { - "line": 282, + "line": 293, "column": 19 }, "identifierName": "log" @@ -34510,15 +37095,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8641, - "end": 8667, + "start": 9073, + "end": 9099, "loc": { "start": { - "line": 282, + "line": 293, "column": 20 }, "end": { - "line": 282, + "line": 293, "column": 46 } }, @@ -34530,15 +37115,15 @@ }, { "type": "Identifier", - "start": 8669, - "end": 8678, + "start": 9101, + "end": 9110, "loc": { "start": { - "line": 282, + "line": 293, "column": 48 }, "end": { - "line": 282, + "line": 293, "column": 57 }, "identifierName": "condition" @@ -34555,29 +37140,29 @@ }, { "type": "IfStatement", - "start": 8699, - "end": 8976, + "start": 9131, + "end": 9408, "loc": { "start": { - "line": 285, + "line": 296, "column": 6 }, "end": { - "line": 294, + "line": 305, "column": 7 } }, "test": { "type": "Identifier", - "start": 8702, - "end": 8711, + "start": 9134, + "end": 9143, "loc": { "start": { - "line": 285, + "line": 296, "column": 9 }, "end": { - "line": 285, + "line": 296, "column": 18 }, "identifierName": "condition" @@ -34586,73 +37171,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8712, - "end": 8897, + "start": 9144, + "end": 9329, "loc": { "start": { - "line": 285, + "line": 296, "column": 19 }, "end": { - "line": 291, + "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8837, - "end": 8866, + "start": 9269, + "end": 9298, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8837, - "end": 8865, + "start": 9269, + "end": 9297, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8837, - "end": 8858, + "start": 9269, + "end": 9290, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8837, - "end": 8841, + "start": 9269, + "end": 9273, "loc": { "start": { - "line": 289, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 300, "column": 12 } }, @@ -34660,15 +37245,15 @@ }, "property": { "type": "Identifier", - "start": 8842, - "end": 8858, + "start": 9274, + "end": 9290, "loc": { "start": { - "line": 289, + "line": 300, "column": 13 }, "end": { - "line": 289, + "line": 300, "column": 29 }, "identifierName": "maxLengthReached" @@ -34680,15 +37265,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 8861, - "end": 8865, + "start": 9293, + "end": 9297, "loc": { "start": { - "line": 289, + "line": 300, "column": 32 }, "end": { - "line": 289, + "line": 300, "column": 36 } }, @@ -34700,15 +37285,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 8723, - "end": 8827, + "start": 9155, + "end": 9259, "loc": { "start": { - "line": 286, + "line": 297, "column": 8 }, "end": { - "line": 288, + "line": 299, "column": 11 } } @@ -34717,29 +37302,29 @@ }, { "type": "ReturnStatement", - "start": 8876, - "end": 8888, + "start": 9308, + "end": 9320, "loc": { "start": { - "line": 290, + "line": 301, "column": 8 }, "end": { - "line": 290, + "line": 301, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 8883, - "end": 8887, + "start": 9315, + "end": 9319, "loc": { "start": { - "line": 290, + "line": 301, "column": 15 }, "end": { - "line": 290, + "line": 301, "column": 19 } }, @@ -34751,88 +37336,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 8903, - "end": 8976, + "start": 9335, + "end": 9408, "loc": { "start": { - "line": 291, + "line": 302, "column": 13 }, "end": { - "line": 294, + "line": 305, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8914, - "end": 8944, + "start": 9346, + "end": 9376, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 8914, - "end": 8943, + "start": 9346, + "end": 9375, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8914, - "end": 8935, + "start": 9346, + "end": 9367, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8914, - "end": 8918, + "start": 9346, + "end": 9350, "loc": { "start": { - "line": 292, + "line": 303, "column": 8 }, "end": { - "line": 292, + "line": 303, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8919, - "end": 8935, + "start": 9351, + "end": 9367, "loc": { "start": { - "line": 292, + "line": 303, "column": 13 }, "end": { - "line": 292, + "line": 303, "column": 29 }, "identifierName": "maxLengthReached" @@ -34843,15 +37428,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 8938, - "end": 8943, + "start": 9370, + "end": 9375, "loc": { "start": { - "line": 292, + "line": 303, "column": 32 }, "end": { - "line": 292, + "line": 303, "column": 37 } }, @@ -34861,29 +37446,29 @@ }, { "type": "ReturnStatement", - "start": 8954, - "end": 8967, + "start": 9386, + "end": 9399, "loc": { "start": { - "line": 293, + "line": 304, "column": 8 }, "end": { - "line": 293, + "line": 304, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 8961, - "end": 8966, + "start": 9393, + "end": 9398, "loc": { "start": { - "line": 293, + "line": 304, "column": 15 }, "end": { - "line": 293, + "line": 304, "column": 20 } }, @@ -34901,43 +37486,43 @@ }, { "type": "IfStatement", - "start": 8991, - "end": 9380, + "start": 9423, + "end": 9812, "loc": { "start": { - "line": 297, + "line": 308, "column": 4 }, "end": { - "line": 311, + "line": 322, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8994, - "end": 9023, + "start": 9426, + "end": 9455, "loc": { "start": { - "line": 297, + "line": 308, "column": 7 }, "end": { - "line": 297, + "line": 308, "column": 36 } }, "left": { "type": "UnaryExpression", - "start": 8994, - "end": 9010, + "start": 9426, + "end": 9442, "loc": { "start": { - "line": 297, + "line": 308, "column": 7 }, "end": { - "line": 297, + "line": 308, "column": 23 } }, @@ -34945,15 +37530,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 9001, - "end": 9010, + "start": 9433, + "end": 9442, "loc": { "start": { - "line": 297, + "line": 308, "column": 14 }, "end": { - "line": 297, + "line": 308, "column": 23 }, "identifierName": "maxLength" @@ -34967,15 +37552,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9015, - "end": 9023, + "start": 9447, + "end": 9455, "loc": { "start": { - "line": 297, + "line": 308, "column": 28 }, "end": { - "line": 297, + "line": 308, "column": 36 } }, @@ -34988,59 +37573,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9024, - "end": 9380, + "start": 9456, + "end": 9812, "loc": { "start": { - "line": 297, + "line": 308, "column": 37 }, "end": { - "line": 311, + "line": 322, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9033, - "end": 9102, + "start": 9465, + "end": 9534, "loc": { "start": { - "line": 298, + "line": 309, "column": 6 }, "end": { - "line": 298, + "line": 309, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9037, - "end": 9101, + "start": 9469, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 10 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "id": { "type": "Identifier", - "start": 9037, - "end": 9046, + "start": 9469, + "end": 9478, "loc": { "start": { - "line": 298, + "line": 309, "column": 10 }, "end": { - "line": 298, + "line": 309, "column": 19 }, "identifierName": "condition" @@ -35049,43 +37634,43 @@ }, "init": { "type": "BinaryExpression", - "start": 9049, - "end": 9101, + "start": 9481, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 9049, - "end": 9068, + "start": 9481, + "end": 9500, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 41 } }, "object": { "type": "Identifier", - "start": 9049, - "end": 9061, + "start": 9481, + "end": 9493, "loc": { "start": { - "line": 298, + "line": 309, "column": 22 }, "end": { - "line": 298, + "line": 309, "column": 34 }, "identifierName": "currentInput" @@ -35094,15 +37679,15 @@ }, "property": { "type": "Identifier", - "start": 9062, - "end": 9068, + "start": 9494, + "end": 9500, "loc": { "start": { - "line": 298, + "line": 309, "column": 35 }, "end": { - "line": 298, + "line": 309, "column": 41 }, "identifierName": "length" @@ -35114,29 +37699,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 9073, - "end": 9101, + "start": 9505, + "end": 9533, "loc": { "start": { - "line": 298, + "line": 309, "column": 46 }, "end": { - "line": 298, + "line": 309, "column": 74 } }, "object": { "type": "Identifier", - "start": 9073, - "end": 9082, + "start": 9505, + "end": 9514, "loc": { "start": { - "line": 298, + "line": 309, "column": 46 }, "end": { - "line": 298, + "line": 309, "column": 55 }, "identifierName": "maxLength" @@ -35145,29 +37730,29 @@ }, "property": { "type": "MemberExpression", - "start": 9083, - "end": 9100, + "start": 9515, + "end": 9532, "loc": { "start": { - "line": 298, + "line": 309, "column": 56 }, "end": { - "line": 298, + "line": 309, "column": 73 } }, "object": { "type": "Identifier", - "start": 9083, - "end": 9090, + "start": 9515, + "end": 9522, "loc": { "start": { - "line": 298, + "line": 309, "column": 56 }, "end": { - "line": 298, + "line": 309, "column": 63 }, "identifierName": "options" @@ -35176,15 +37761,15 @@ }, "property": { "type": "Identifier", - "start": 9091, - "end": 9100, + "start": 9523, + "end": 9532, "loc": { "start": { - "line": 298, + "line": 309, "column": 64 }, "end": { - "line": 298, + "line": 309, "column": 73 }, "identifierName": "inputName" @@ -35202,43 +37787,43 @@ }, { "type": "IfStatement", - "start": 9112, - "end": 9200, + "start": 9544, + "end": 9632, "loc": { "start": { - "line": 300, + "line": 311, "column": 6 }, "end": { - "line": 302, + "line": 313, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9115, - "end": 9128, + "start": 9547, + "end": 9560, "loc": { "start": { - "line": 300, + "line": 311, "column": 9 }, "end": { - "line": 300, + "line": 311, "column": 22 } }, "object": { "type": "Identifier", - "start": 9115, - "end": 9122, + "start": 9547, + "end": 9554, "loc": { "start": { - "line": 300, + "line": 311, "column": 9 }, "end": { - "line": 300, + "line": 311, "column": 16 }, "identifierName": "options" @@ -35247,15 +37832,15 @@ }, "property": { "type": "Identifier", - "start": 9123, - "end": 9128, + "start": 9555, + "end": 9560, "loc": { "start": { - "line": 300, + "line": 311, "column": 17 }, "end": { - "line": 300, + "line": 311, "column": 22 }, "identifierName": "debug" @@ -35266,72 +37851,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9129, - "end": 9200, + "start": 9561, + "end": 9632, "loc": { "start": { - "line": 300, + "line": 311, "column": 23 }, "end": { - "line": 302, + "line": 313, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9140, - "end": 9191, + "start": 9572, + "end": 9623, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9140, - "end": 9190, + "start": 9572, + "end": 9622, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9140, - "end": 9151, + "start": 9572, + "end": 9583, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 19 } }, "object": { "type": "Identifier", - "start": 9140, - "end": 9147, + "start": 9572, + "end": 9579, "loc": { "start": { - "line": 301, + "line": 312, "column": 8 }, "end": { - "line": 301, + "line": 312, "column": 15 }, "identifierName": "console" @@ -35340,15 +37925,15 @@ }, "property": { "type": "Identifier", - "start": 9148, - "end": 9151, + "start": 9580, + "end": 9583, "loc": { "start": { - "line": 301, + "line": 312, "column": 16 }, "end": { - "line": 301, + "line": 312, "column": 19 }, "identifierName": "log" @@ -35360,15 +37945,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9152, - "end": 9178, + "start": 9584, + "end": 9610, "loc": { "start": { - "line": 301, + "line": 312, "column": 20 }, "end": { - "line": 301, + "line": 312, "column": 46 } }, @@ -35380,15 +37965,15 @@ }, { "type": "Identifier", - "start": 9180, - "end": 9189, + "start": 9612, + "end": 9621, "loc": { "start": { - "line": 301, + "line": 312, "column": 48 }, "end": { - "line": 301, + "line": 312, "column": 57 }, "identifierName": "condition" @@ -35405,29 +37990,29 @@ }, { "type": "IfStatement", - "start": 9210, - "end": 9373, + "start": 9642, + "end": 9805, "loc": { "start": { - "line": 304, + "line": 315, "column": 6 }, "end": { - "line": 310, + "line": 321, "column": 7 } }, "test": { "type": "Identifier", - "start": 9213, - "end": 9222, + "start": 9645, + "end": 9654, "loc": { "start": { - "line": 304, + "line": 315, "column": 9 }, "end": { - "line": 304, + "line": 315, "column": 18 }, "identifierName": "condition" @@ -35436,88 +38021,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9223, - "end": 9294, + "start": 9655, + "end": 9726, "loc": { "start": { - "line": 304, + "line": 315, "column": 19 }, "end": { - "line": 307, + "line": 318, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9234, - "end": 9263, + "start": 9666, + "end": 9695, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9234, - "end": 9262, + "start": 9666, + "end": 9694, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9234, - "end": 9255, + "start": 9666, + "end": 9687, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9234, - "end": 9238, + "start": 9666, + "end": 9670, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9239, - "end": 9255, + "start": 9671, + "end": 9687, "loc": { "start": { - "line": 305, + "line": 316, "column": 13 }, "end": { - "line": 305, + "line": 316, "column": 29 }, "identifierName": "maxLengthReached" @@ -35528,15 +38113,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9258, - "end": 9262, + "start": 9690, + "end": 9694, "loc": { "start": { - "line": 305, + "line": 316, "column": 32 }, "end": { - "line": 305, + "line": 316, "column": 36 } }, @@ -35546,29 +38131,29 @@ }, { "type": "ReturnStatement", - "start": 9273, - "end": 9285, + "start": 9705, + "end": 9717, "loc": { "start": { - "line": 306, + "line": 317, "column": 8 }, "end": { - "line": 306, + "line": 317, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9280, - "end": 9284, + "start": 9712, + "end": 9716, "loc": { "start": { - "line": 306, + "line": 317, "column": 15 }, "end": { - "line": 306, + "line": 317, "column": 19 } }, @@ -35580,88 +38165,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9300, - "end": 9373, + "start": 9732, + "end": 9805, "loc": { "start": { - "line": 307, + "line": 318, "column": 13 }, "end": { - "line": 310, + "line": 321, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9311, - "end": 9341, + "start": 9743, + "end": 9773, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9311, - "end": 9340, + "start": 9743, + "end": 9772, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9311, - "end": 9332, + "start": 9743, + "end": 9764, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9311, - "end": 9315, + "start": 9743, + "end": 9747, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9316, - "end": 9332, + "start": 9748, + "end": 9764, "loc": { "start": { - "line": 308, + "line": 319, "column": 13 }, "end": { - "line": 308, + "line": 319, "column": 29 }, "identifierName": "maxLengthReached" @@ -35672,15 +38257,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9335, - "end": 9340, + "start": 9767, + "end": 9772, "loc": { "start": { - "line": 308, + "line": 319, "column": 32 }, "end": { - "line": 308, + "line": 319, "column": 37 } }, @@ -35690,29 +38275,29 @@ }, { "type": "ReturnStatement", - "start": 9351, - "end": 9364, + "start": 9783, + "end": 9796, "loc": { "start": { - "line": 309, + "line": 320, "column": 8 }, "end": { - "line": 309, + "line": 320, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9358, - "end": 9363, + "start": 9790, + "end": 9795, "loc": { "start": { - "line": 309, + "line": 320, "column": 15 }, "end": { - "line": 309, + "line": 320, "column": 20 } }, @@ -35736,15 +38321,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -35754,15 +38339,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -35770,16 +38355,16 @@ ] }, { - "type": "ClassProperty", - "start": 9454, - "end": 9531, + "type": "ClassMethod", + "start": 9886, + "end": 9956, "loc": { "start": { - "line": 317, + "line": 328, "column": 2 }, "end": { - "line": 319, + "line": 330, "column": 3 } }, @@ -35787,15 +38372,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9454, - "end": 9472, + "start": 9886, + "end": 9904, "loc": { "start": { - "line": 317, + "line": 328, "column": 2 }, "end": { - "line": 317, + "line": 328, "column": 20 }, "identifierName": "isMaxLengthReached" @@ -35803,156 +38388,141 @@ "name": "isMaxLengthReached", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9475, - "end": 9531, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9906, + "end": 9956, "loc": { "start": { - "line": 317, - "column": 23 + "line": 328, + "column": 22 }, "end": { - "line": 319, + "line": 330, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 9481, - "end": 9531, - "loc": { - "start": { - "line": 317, - "column": 29 + "body": [ + { + "type": "ReturnStatement", + "start": 9913, + "end": 9951, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 42 + } }, - "end": { - "line": 319, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 9488, - "end": 9526, + "argument": { + "type": "CallExpression", + "start": 9920, + "end": 9950, "loc": { "start": { - "line": 318, - "column": 4 + "line": 329, + "column": 11 }, "end": { - "line": 318, - "column": 42 + "line": 329, + "column": 41 } }, - "argument": { - "type": "CallExpression", - "start": 9495, - "end": 9525, + "callee": { + "type": "Identifier", + "start": 9920, + "end": 9927, "loc": { "start": { - "line": 318, + "line": 329, "column": 11 }, "end": { - "line": 318, - "column": 41 - } + "line": 329, + "column": 18 + }, + "identifierName": "Boolean" }, - "callee": { - "type": "Identifier", - "start": 9495, - "end": 9502, + "name": "Boolean" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9928, + "end": 9949, "loc": { "start": { - "line": 318, - "column": 11 + "line": 329, + "column": 19 }, "end": { - "line": 318, - "column": 18 - }, - "identifierName": "Boolean" + "line": 329, + "column": 40 + } }, - "name": "Boolean" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9503, - "end": 9524, + "object": { + "type": "ThisExpression", + "start": 9928, + "end": 9932, "loc": { "start": { - "line": 318, + "line": 329, "column": 19 }, "end": { - "line": 318, - "column": 40 + "line": 329, + "column": 23 } - }, - "object": { - "type": "ThisExpression", - "start": 9503, - "end": 9507, - "loc": { - "start": { - "line": 318, - "column": 19 - }, - "end": { - "line": 318, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 9508, - "end": 9524, - "loc": { - "start": { - "line": 318, - "column": 24 - }, - "end": { - "line": 318, - "column": 40 - }, - "identifierName": "maxLengthReached" + } + }, + "property": { + "type": "Identifier", + "start": 9933, + "end": 9949, + "loc": { + "start": { + "line": 329, + "column": 24 }, - "name": "maxLengthReached" + "end": { + "line": 329, + "column": 40 + }, + "identifierName": "maxLengthReached" }, - "computed": false - } - ] - } + "name": "maxLengthReached" + }, + "computed": false + } + ] } - ], - "directives": [], - "trailingComments": null - }, + } + ], + "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -35962,15 +38532,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, + "start": 9962, + "end": 10084, "loc": { "start": { - "line": 321, + "line": 332, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 5 } } @@ -35978,686 +38548,16 @@ ] }, { - "type": "ClassProperty", - "start": 9663, - "end": 9827, + "type": "ClassMethod", + "start": 10088, + "end": 10244, "loc": { "start": { - "line": 326, + "line": 337, "column": 2 }, "end": { - "line": 328, - "column": 4 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9663, - "end": 9672, - "loc": { - "start": { - "line": 326, - "column": 2 - }, - "end": { - "line": 326, - "column": 11 - }, - "identifierName": "camelCase" - }, - "name": "camelCase", - "leadingComments": null - }, - "value": { - "type": "ArrowFunctionExpression", - "start": 9675, - "end": 9826, - "loc": { - "start": { - "line": 326, - "column": 14 - }, - "end": { - "line": 328, - "column": 3 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9676, - "end": 9682, - "loc": { - "start": { - "line": 326, - "column": 15 - }, - "end": { - "line": 326, - "column": 21 - }, - "identifierName": "string" - }, - "name": "string" - } - ], - "body": { - "type": "BlockStatement", - "start": 9687, - "end": 9826, - "loc": { - "start": { - "line": 326, - "column": 26 - }, - "end": { - "line": 328, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 9694, - "end": 9821, - "loc": { - "start": { - "line": 327, - "column": 4 - }, - "end": { - "line": 327, - "column": 131 - } - }, - "argument": { - "type": "CallExpression", - "start": 9701, - "end": 9820, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 130 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9754, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 64 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9747, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9734, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 44 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9728, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9726, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 9701, - "end": 9721, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9701, - "end": 9719, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 9701, - "end": 9707, - "loc": { - "start": { - "line": 327, - "column": 11 - }, - "end": { - "line": 327, - "column": 17 - }, - "identifierName": "string" - }, - "name": "string" - }, - "property": { - "type": "Identifier", - "start": 9708, - "end": 9719, - "loc": { - "start": { - "line": 327, - "column": 18 - }, - "end": { - "line": 327, - "column": 29 - }, - "identifierName": "toLowerCase" - }, - "name": "toLowerCase" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 9722, - "end": 9726, - "loc": { - "start": { - "line": 327, - "column": 32 - }, - "end": { - "line": 327, - "column": 36 - }, - "identifierName": "trim" - }, - "name": "trim" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 9729, - "end": 9734, - "loc": { - "start": { - "line": 327, - "column": 39 - }, - "end": { - "line": 327, - "column": 44 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "RegExpLiteral", - "start": 9735, - "end": 9746, - "loc": { - "start": { - "line": 327, - "column": 45 - }, - "end": { - "line": 327, - "column": 56 - } - }, - "extra": { - "raw": "/[.\\-_\\s]/g" - }, - "pattern": "[.\\-_\\s]", - "flags": "g" - } - ] - }, - "property": { - "type": "Identifier", - "start": 9748, - "end": 9754, - "loc": { - "start": { - "line": 327, - "column": 58 - }, - "end": { - "line": 327, - "column": 64 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 9755, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 65 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9756, - "end": 9762, - "loc": { - "start": { - "line": 327, - "column": 66 - }, - "end": { - "line": 327, - "column": 72 - }, - "identifierName": "string" - }, - "name": "string" - }, - { - "type": "Identifier", - "start": 9764, - "end": 9768, - "loc": { - "start": { - "line": 327, - "column": 74 - }, - "end": { - "line": 327, - "column": 78 - }, - "identifierName": "word" - }, - "name": "word" - } - ], - "body": { - "type": "BinaryExpression", - "start": 9773, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "left": { - "type": "BinaryExpression", - "start": 9773, - "end": 9803, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 113 - } - }, - "left": { - "type": "Identifier", - "start": 9773, - "end": 9779, - "loc": { - "start": { - "line": 327, - "column": 83 - }, - "end": { - "line": 327, - "column": 89 - }, - "identifierName": "string" - }, - "name": "string" - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 9782, - "end": 9803, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 113 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9782, - "end": 9801, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 111 - } - }, - "object": { - "type": "MemberExpression", - "start": 9782, - "end": 9789, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 99 - } - }, - "object": { - "type": "Identifier", - "start": 9782, - "end": 9786, - "loc": { - "start": { - "line": 327, - "column": 92 - }, - "end": { - "line": 327, - "column": 96 - }, - "identifierName": "word" - }, - "name": "word" - }, - "property": { - "type": "NumericLiteral", - "start": 9787, - "end": 9788, - "loc": { - "start": { - "line": 327, - "column": 97 - }, - "end": { - "line": 327, - "column": 98 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 9790, - "end": 9801, - "loc": { - "start": { - "line": 327, - "column": 100 - }, - "end": { - "line": 327, - "column": 111 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 9806, - "end": 9819, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 129 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9806, - "end": 9816, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 126 - } - }, - "object": { - "type": "Identifier", - "start": 9806, - "end": 9810, - "loc": { - "start": { - "line": 327, - "column": 116 - }, - "end": { - "line": 327, - "column": 120 - }, - "identifierName": "word" - }, - "name": "word" - }, - "property": { - "type": "Identifier", - "start": 9811, - "end": 9816, - "loc": { - "start": { - "line": 327, - "column": 121 - }, - "end": { - "line": 327, - "column": 126 - }, - "identifierName": "slice" - }, - "name": "slice" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 9817, - "end": 9818, - "loc": { - "start": { - "line": 327, - "column": 127 - }, - "end": { - "line": 327, - "column": 128 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - } - ] - } - } - ], - "directives": [] - } - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, - "loc": { - "start": { - "line": 321, - "column": 2 - }, - "end": { - "line": 325, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, - "loc": { - "start": { - "line": 330, - "column": 2 - }, - "end": { - "line": 335, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 10017, - "end": 10114, - "loc": { - "start": { - "line": 336, - "column": 2 - }, - "end": { - "line": 338, + "line": 339, "column": 3 } }, @@ -36665,15 +38565,653 @@ "computed": false, "key": { "type": "Identifier", - "start": 10017, - "end": 10029, + "start": 10088, + "end": 10097, "loc": { "start": { - "line": 336, + "line": 337, "column": 2 }, "end": { - "line": 336, + "line": 337, + "column": 11 + }, + "identifierName": "camelCase" + }, + "name": "camelCase", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10098, + "end": 10104, + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 18 + }, + "identifierName": "string" + }, + "name": "string" + } + ], + "body": { + "type": "BlockStatement", + "start": 10105, + "end": 10244, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 339, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10112, + "end": 10239, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 131 + } + }, + "argument": { + "type": "CallExpression", + "start": 10119, + "end": 10238, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 130 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10172, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 64 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10165, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10152, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 44 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10146, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10144, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 36 + } + }, + "object": { + "type": "CallExpression", + "start": 10119, + "end": 10139, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10119, + "end": 10137, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 10119, + "end": 10125, + "loc": { + "start": { + "line": 338, + "column": 11 + }, + "end": { + "line": 338, + "column": 17 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 10126, + "end": 10137, + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 29 + }, + "identifierName": "toLowerCase" + }, + "name": "toLowerCase" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10140, + "end": 10144, + "loc": { + "start": { + "line": 338, + "column": 32 + }, + "end": { + "line": 338, + "column": 36 + }, + "identifierName": "trim" + }, + "name": "trim" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10147, + "end": 10152, + "loc": { + "start": { + "line": 338, + "column": 39 + }, + "end": { + "line": 338, + "column": 44 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "RegExpLiteral", + "start": 10153, + "end": 10164, + "loc": { + "start": { + "line": 338, + "column": 45 + }, + "end": { + "line": 338, + "column": 56 + } + }, + "extra": { + "raw": "/[.\\-_\\s]/g" + }, + "pattern": "[.\\-_\\s]", + "flags": "g" + } + ] + }, + "property": { + "type": "Identifier", + "start": 10166, + "end": 10172, + "loc": { + "start": { + "line": 338, + "column": 58 + }, + "end": { + "line": 338, + "column": 64 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10173, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 65 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10174, + "end": 10180, + "loc": { + "start": { + "line": 338, + "column": 66 + }, + "end": { + "line": 338, + "column": 72 + }, + "identifierName": "string" + }, + "name": "string" + }, + { + "type": "Identifier", + "start": 10182, + "end": 10186, + "loc": { + "start": { + "line": 338, + "column": 74 + }, + "end": { + "line": 338, + "column": 78 + }, + "identifierName": "word" + }, + "name": "word" + } + ], + "body": { + "type": "BinaryExpression", + "start": 10191, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "left": { + "type": "BinaryExpression", + "start": 10191, + "end": 10221, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 113 + } + }, + "left": { + "type": "Identifier", + "start": 10191, + "end": 10197, + "loc": { + "start": { + "line": 338, + "column": 83 + }, + "end": { + "line": 338, + "column": 89 + }, + "identifierName": "string" + }, + "name": "string" + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 10200, + "end": 10221, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 113 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10200, + "end": 10219, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 111 + } + }, + "object": { + "type": "MemberExpression", + "start": 10200, + "end": 10207, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 99 + } + }, + "object": { + "type": "Identifier", + "start": 10200, + "end": 10204, + "loc": { + "start": { + "line": 338, + "column": 92 + }, + "end": { + "line": 338, + "column": 96 + }, + "identifierName": "word" + }, + "name": "word" + }, + "property": { + "type": "NumericLiteral", + "start": 10205, + "end": 10206, + "loc": { + "start": { + "line": 338, + "column": 97 + }, + "end": { + "line": 338, + "column": 98 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 10208, + "end": 10219, + "loc": { + "start": { + "line": 338, + "column": 100 + }, + "end": { + "line": 338, + "column": 111 + }, + "identifierName": "toUpperCase" + }, + "name": "toUpperCase" + }, + "computed": false + }, + "arguments": [] + } + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 10224, + "end": 10237, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 129 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10224, + "end": 10234, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 126 + } + }, + "object": { + "type": "Identifier", + "start": 10224, + "end": 10228, + "loc": { + "start": { + "line": 338, + "column": 116 + }, + "end": { + "line": 338, + "column": 120 + }, + "identifierName": "word" + }, + "name": "word" + }, + "property": { + "type": "Identifier", + "start": 10229, + "end": 10234, + "loc": { + "start": { + "line": 338, + "column": 121 + }, + "end": { + "line": 338, + "column": 126 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 10235, + "end": 10236, + "loc": { + "start": { + "line": 338, + "column": 127 + }, + "end": { + "line": 338, + "column": 128 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", + "start": 9962, + "end": 10084, + "loc": { + "start": { + "line": 332, + "column": 2 + }, + "end": { + "line": 336, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10435, + "end": 10525, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 349, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10435, + "end": 10447, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 347, "column": 14 }, "identifierName": "countInArray" @@ -36681,336 +39219,322 @@ "name": "countInArray", "leadingComments": null }, - "value": { - "type": "ArrowFunctionExpression", - "start": 10032, - "end": 10114, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10448, + "end": 10453, + "loc": { + "start": { + "line": 347, + "column": 15 + }, + "end": { + "line": 347, + "column": 20 + }, + "identifierName": "array" + }, + "name": "array" + }, + { + "type": "Identifier", + "start": 10455, + "end": 10460, + "loc": { + "start": { + "line": 347, + "column": 22 + }, + "end": { + "line": 347, + "column": 27 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 10461, + "end": 10525, "loc": { "start": { - "line": 336, - "column": 17 + "line": 347, + "column": 28 }, "end": { - "line": 338, + "line": 349, "column": 3 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 10033, - "end": 10038, + "type": "ReturnStatement", + "start": 10468, + "end": 10520, "loc": { "start": { - "line": 336, - "column": 18 + "line": 348, + "column": 4 }, "end": { - "line": 336, - "column": 23 - }, - "identifierName": "array" + "line": 348, + "column": 56 + } }, - "name": "array" - }, - { - "type": "Identifier", - "start": 10040, - "end": 10045, - "loc": { - "start": { - "line": 336, - "column": 25 - }, - "end": { - "line": 336, - "column": 30 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 10050, - "end": 10114, - "loc": { - "start": { - "line": 336, - "column": 35 - }, - "end": { - "line": 338, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 10057, - "end": 10109, + "argument": { + "type": "CallExpression", + "start": 10475, + "end": 10519, "loc": { "start": { - "line": 337, - "column": 4 + "line": 348, + "column": 11 }, "end": { - "line": 337, - "column": 56 + "line": 348, + "column": 55 } }, - "argument": { - "type": "CallExpression", - "start": 10064, - "end": 10108, + "callee": { + "type": "MemberExpression", + "start": 10475, + "end": 10487, "loc": { "start": { - "line": 337, + "line": 348, "column": 11 }, "end": { - "line": 337, - "column": 55 + "line": 348, + "column": 23 } }, - "callee": { - "type": "MemberExpression", - "start": 10064, - "end": 10076, + "object": { + "type": "Identifier", + "start": 10475, + "end": 10480, "loc": { "start": { - "line": 337, + "line": 348, "column": 11 }, "end": { - "line": 337, + "line": 348, + "column": 16 + }, + "identifierName": "array" + }, + "name": "array" + }, + "property": { + "type": "Identifier", + "start": 10481, + "end": 10487, + "loc": { + "start": { + "line": 348, + "column": 17 + }, + "end": { + "line": 348, "column": 23 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10488, + "end": 10515, + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 51 } }, - "object": { - "type": "Identifier", - "start": 10064, - "end": 10069, - "loc": { - "start": { - "line": 337, - "column": 11 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10489, + "end": 10490, + "loc": { + "start": { + "line": 348, + "column": 25 + }, + "end": { + "line": 348, + "column": 26 + }, + "identifierName": "n" }, - "end": { - "line": 337, - "column": 16 - }, - "identifierName": "array" + "name": "n" }, - "name": "array" - }, - "property": { - "type": "Identifier", - "start": 10070, - "end": 10076, + { + "type": "Identifier", + "start": 10492, + "end": 10493, + "loc": { + "start": { + "line": 348, + "column": 28 + }, + "end": { + "line": 348, + "column": 29 + }, + "identifierName": "x" + }, + "name": "x" + } + ], + "body": { + "type": "BinaryExpression", + "start": 10498, + "end": 10515, "loc": { "start": { - "line": 337, - "column": 17 + "line": 348, + "column": 34 }, "end": { - "line": 337, - "column": 23 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 10077, - "end": 10104, - "loc": { - "start": { - "line": 337, - "column": 24 - }, - "end": { - "line": 337, + "line": 348, "column": 51 } }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10078, - "end": 10079, - "loc": { - "start": { - "line": 337, - "column": 25 - }, - "end": { - "line": 337, - "column": 26 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 10081, - "end": 10082, - "loc": { - "start": { - "line": 337, - "column": 28 - }, - "end": { - "line": 337, - "column": 29 - }, - "identifierName": "x" - }, - "name": "x" - } - ], - "body": { - "type": "BinaryExpression", - "start": 10087, - "end": 10104, + "left": { + "type": "Identifier", + "start": 10498, + "end": 10499, "loc": { "start": { - "line": 337, + "line": 348, "column": 34 }, "end": { - "line": 337, - "column": 51 + "line": 348, + "column": 35 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 10503, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 39 + }, + "end": { + "line": 348, + "column": 50 } }, "left": { "type": "Identifier", - "start": 10087, - "end": 10088, + "start": 10503, + "end": 10504, "loc": { "start": { - "line": 337, - "column": 34 - }, - "end": { - "line": 337, - "column": 35 - }, - "identifierName": "n" - }, - "name": "n" - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 10092, - "end": 10103, - "loc": { - "start": { - "line": 337, + "line": 348, "column": 39 }, "end": { - "line": 337, + "line": 348, + "column": 40 + }, + "identifierName": "x" + }, + "name": "x" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 10509, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 45 + }, + "end": { + "line": 348, "column": 50 - } - }, - "left": { - "type": "Identifier", - "start": 10092, - "end": 10093, - "loc": { - "start": { - "line": 337, - "column": 39 - }, - "end": { - "line": 337, - "column": 40 - }, - "identifierName": "x" }, - "name": "x" + "identifierName": "value" }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 10098, - "end": 10103, - "loc": { - "start": { - "line": 337, - "column": 45 - }, - "end": { - "line": 337, - "column": 50 - }, - "identifierName": "value" - }, - "name": "value" - }, - "extra": { - "parenthesized": true, - "parenStart": 10091 - } + "name": "value" + }, + "extra": { + "parenthesized": true, + "parenStart": 10502 } } - }, - { - "type": "NumericLiteral", - "start": 10106, - "end": 10107, - "loc": { - "start": { - "line": 337, - "column": 53 - }, - "end": { - "line": 337, - "column": 54 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 } - ] - } + }, + { + "type": "NumericLiteral", + "start": 10517, + "end": 10518, + "loc": { + "start": { + "line": 348, + "column": 53 + }, + "end": { + "line": 348, + "column": 54 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, + "start": 10251, + "end": 10431, "loc": { "start": { - "line": 330, + "line": 341, "column": 2 }, "end": { - "line": 335, + "line": 346, "column": 5 } } @@ -37096,16 +39620,32 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, "loc": { "start": { - "line": 15, + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", + "start": 746, + "end": 924, + "loc": { + "start": { + "line": 26, "column": 2 }, "end": { - "line": 20, + "line": 31, "column": 5 } } @@ -37113,15 +39653,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -37129,15 +39669,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -37145,15 +39685,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -37161,15 +39701,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -37177,15 +39717,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -37193,15 +39733,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -37209,15 +39749,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -37225,15 +39765,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -37241,15 +39781,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -37257,15 +39797,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8346, - "end": 8467, + "start": 8778, + "end": 8899, "loc": { "start": { - "line": 271, + "line": 282, "column": 6 }, "end": { - "line": 274, + "line": 285, "column": 9 } } @@ -37273,15 +39813,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 8723, - "end": 8827, + "start": 9155, + "end": 9259, "loc": { "start": { - "line": 286, + "line": 297, "column": 8 }, "end": { - "line": 288, + "line": 299, "column": 11 } } @@ -37289,15 +39829,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -37305,15 +39845,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, + "start": 9962, + "end": 10084, "loc": { "start": { - "line": 321, + "line": 332, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 5 } } @@ -37321,15 +39861,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, + "start": 10251, + "end": 10431, "loc": { "start": { - "line": 330, + "line": 341, "column": 2 }, "end": { - "line": 335, + "line": 346, "column": 5 } } @@ -37749,9 +40289,53 @@ } } }, + { + "type": "CommentBlock", + "value": "*\r\n * Bindings\r\n ", + "start": 285, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { - "label": "}", + "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": 320, + "end": 324, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -37759,34 +40343,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 281, - "end": 282, + "start": 324, + "end": 325, "loc": { "start": { - "line": 13, - "column": 2 + "line": 17, + "column": 8 }, "end": { - "line": 13, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", - "start": 288, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 20, - "column": 5 + "line": 17, + "column": 9 } } }, @@ -37803,173 +40372,15 @@ "binop": null }, "value": "getButtonClass", - "start": 470, - "end": 484, + "start": 325, + "end": 339, "loc": { "start": { - "line": 21, - "column": 2 + "line": 17, + "column": 9 }, "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 21, - "column": 17 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 487, - "end": 493, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 496, - "loc": { - "start": { - "line": 21, - "column": 26 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 30 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 504, - "end": 507, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTypeClass", - "start": 508, - "end": 523, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, + "line": 17, "column": 23 } } @@ -37988,15 +40399,2558 @@ "updateContext": null }, "value": "=", - "start": 524, - "end": 525, + "start": 340, + "end": 341, "loc": { "start": { - "line": 22, + "line": 17, "column": 24 }, "end": { + "line": 17, + "column": 25 + } + } + }, + { + "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": 342, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 346, + "end": 347, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonClass", + "start": 347, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 17, + "column": 45 + }, + "end": { + "line": 17, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 17, + "column": 50 + }, + "end": { + "line": 17, + "column": 51 + } + } + }, + { + "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": 367, + "end": 371, + "loc": { + "start": { + "line": 17, + "column": 51 + }, + "end": { + "line": 17, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 17, + "column": 55 + }, + "end": { + "line": 17, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 372, + "end": 373, + "loc": { + "start": { + "line": 17, + "column": 56 + }, + "end": { + "line": 17, + "column": 57 + } + } + }, + { + "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": 379, + "end": 383, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonDisplayName", + "start": 384, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "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": 407, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 411, + "end": 412, + "loc": { + "start": { + "line": 18, + "column": 36 + }, + "end": { + "line": 18, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonDisplayName", + "start": 412, + "end": 432, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 432, + "end": 433, + "loc": { + "start": { + "line": 18, + "column": 57 + }, + "end": { + "line": 18, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 433, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 58 + }, + "end": { + "line": 18, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 437, + "end": 438, + "loc": { + "start": { + "line": 18, + "column": 62 + }, + "end": { + "line": 18, + "column": 63 + } + } + }, + { + "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": 438, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 63 + }, + "end": { + "line": 18, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 67 + }, + "end": { + "line": 18, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 443, + "end": 444, + "loc": { + "start": { + "line": 18, + "column": 68 + }, + "end": { + "line": 18, + "column": 69 + } + } + }, + { + "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": 450, + "end": 454, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 454, + "end": 455, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getUpdatedInput", + "start": 455, + "end": 470, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 471, + "end": 472, + "loc": { + "start": { + "line": 19, + "column": 25 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + { + "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": 473, + "end": 477, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 477, + "end": 478, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getUpdatedInput", + "start": 478, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 493, + "end": 494, + "loc": { + "start": { + "line": 19, + "column": 47 + }, + "end": { + "line": 19, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 494, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 498, + "end": 499, + "loc": { + "start": { + "line": 19, + "column": 52 + }, + "end": { + "line": 19, + "column": 53 + } + } + }, + { + "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": 499, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 57 + }, + "end": { + "line": 19, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 504, + "end": 505, + "loc": { + "start": { + "line": 19, + "column": 58 + }, + "end": { + "line": 19, + "column": 59 + } + } + }, + { + "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": 511, + "end": 515, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateCaretPos", + "start": 516, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 531, + "end": 532, + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "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": 533, + "end": 537, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 537, + "end": 538, + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateCaretPos", + "start": 538, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 552, + "end": 553, + "loc": { + "start": { + "line": 20, + "column": 45 + }, + "end": { + "line": 20, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 20, + "column": 46 + }, + "end": { + "line": 20, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 557, + "end": 558, + "loc": { + "start": { + "line": 20, + "column": 50 + }, + "end": { + "line": 20, + "column": 51 + } + } + }, + { + "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": 558, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 51 + }, + "end": { + "line": 20, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 55 + }, + "end": { + "line": 20, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 20, + "column": 56 + }, + "end": { + "line": 20, + "column": 57 + } + } + }, + { + "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": 570, + "end": 574, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 574, + "end": 575, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMaxLengthReached", + "start": 575, + "end": 593, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 594, + "end": 595, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "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": 596, + "end": 600, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMaxLengthReached", + "start": 601, + "end": 619, + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 619, + "end": 620, + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 54 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 59 + } + } + }, + { + "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": 625, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 59 + }, + "end": { + "line": 21, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 63 + }, + "end": { + "line": 21, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 21, + "column": 64 + }, + "end": { + "line": 21, + "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": 637, + "end": 641, + "loc": { + "start": { "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "camelCase", + "start": 642, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 652, + "end": 653, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + { + "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": 654, + "end": 658, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 658, + "end": 659, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "camelCase", + "start": 659, + "end": 668, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 668, + "end": 669, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 669, + "end": 673, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 673, + "end": 674, + "loc": { + "start": { + "line": 22, + "column": 40 + }, + "end": { + "line": 22, + "column": 41 + } + } + }, + { + "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": 674, + "end": 678, + "loc": { + "start": { + "line": 22, + "column": 41 + }, + "end": { + "line": 22, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 678, + "end": 679, + "loc": { + "start": { + "line": 22, + "column": 45 + }, + "end": { + "line": 22, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 679, + "end": 680, + "loc": { + "start": { + "line": 22, + "column": 46 + }, + "end": { + "line": 22, + "column": 47 + } + } + }, + { + "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": 686, + "end": 690, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 690, + "end": 691, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "countInArray", + "start": 691, + "end": 703, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 704, + "end": 705, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "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": 706, + "end": 710, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "countInArray", + "start": 711, + "end": 723, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 723, + "end": 724, + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 724, + "end": 728, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 23, + "column": 46 + }, + "end": { + "line": 23, + "column": 47 + } + } + }, + { + "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": 729, + "end": 733, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 733, + "end": 734, + "loc": { + "start": { + "line": 23, + "column": 51 + }, + "end": { + "line": 23, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 734, + "end": 735, + "loc": { + "start": { + "line": 23, + "column": 52 + }, + "end": { + "line": 23, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 739, + "end": 740, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", + "start": 746, + "end": 924, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonClass", + "start": 928, + "end": 942, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 942, + "end": 943, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 943, + "end": 949, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 949, + "end": 950, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 950, + "end": 951, + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 957, + "end": 960, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTypeClass", + "start": 961, + "end": 976, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 33, + "column": 24 + }, + "end": { + "line": 33, "column": 25 } } @@ -38013,15 +42967,15 @@ "postfix": false, "binop": null }, - "start": 526, - "end": 527, + "start": 979, + "end": 980, "loc": { "start": { - "line": 22, + "line": 33, "column": 26 }, "end": { - "line": 22, + "line": 33, "column": 27 } } @@ -38039,15 +42993,15 @@ "binop": null }, "value": "button", - "start": 527, - "end": 533, + "start": 980, + "end": 986, "loc": { "start": { - "line": 22, + "line": 33, "column": 27 }, "end": { - "line": 22, + "line": 33, "column": 33 } } @@ -38065,15 +43019,15 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 986, + "end": 987, "loc": { "start": { - "line": 22, + "line": 33, "column": 33 }, "end": { - "line": 22, + "line": 33, "column": 34 } } @@ -38091,15 +43045,15 @@ "binop": null }, "value": "includes", - "start": 534, - "end": 542, + "start": 987, + "end": 995, "loc": { "start": { - "line": 22, + "line": 33, "column": 34 }, "end": { - "line": 22, + "line": 33, "column": 42 } } @@ -38116,15 +43070,15 @@ "postfix": false, "binop": null }, - "start": 542, - "end": 543, + "start": 995, + "end": 996, "loc": { "start": { - "line": 22, + "line": 33, "column": 42 }, "end": { - "line": 22, + "line": 33, "column": 43 } } @@ -38143,15 +43097,15 @@ "updateContext": null }, "value": "{", - "start": 543, - "end": 546, + "start": 996, + "end": 999, "loc": { "start": { - "line": 22, + "line": 33, "column": 43 }, "end": { - "line": 22, + "line": 33, "column": 46 } } @@ -38168,15 +43122,15 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "start": 999, + "end": 1000, "loc": { "start": { - "line": 22, + "line": 33, "column": 46 }, "end": { - "line": 22, + "line": 33, "column": 47 } } @@ -38195,15 +43149,15 @@ "updateContext": null }, "value": "&&", - "start": 548, - "end": 550, + "start": 1001, + "end": 1003, "loc": { "start": { - "line": 22, + "line": 33, "column": 48 }, "end": { - "line": 22, + "line": 33, "column": 50 } } @@ -38221,15 +43175,15 @@ "binop": null }, "value": "button", - "start": 551, - "end": 557, + "start": 1004, + "end": 1010, "loc": { "start": { - "line": 22, + "line": 33, "column": 51 }, "end": { - "line": 22, + "line": 33, "column": 57 } } @@ -38247,15 +43201,15 @@ "binop": null, "updateContext": null }, - "start": 557, - "end": 558, + "start": 1010, + "end": 1011, "loc": { "start": { - "line": 22, + "line": 33, "column": 57 }, "end": { - "line": 22, + "line": 33, "column": 58 } } @@ -38273,15 +43227,15 @@ "binop": null }, "value": "includes", - "start": 558, - "end": 566, + "start": 1011, + "end": 1019, "loc": { "start": { - "line": 22, + "line": 33, "column": 58 }, "end": { - "line": 22, + "line": 33, "column": 66 } } @@ -38298,15 +43252,15 @@ "postfix": false, "binop": null }, - "start": 566, - "end": 567, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 22, + "line": 33, "column": 66 }, "end": { - "line": 22, + "line": 33, "column": 67 } } @@ -38325,15 +43279,15 @@ "updateContext": null }, "value": "}", - "start": 567, - "end": 570, + "start": 1020, + "end": 1023, "loc": { "start": { - "line": 22, + "line": 33, "column": 67 }, "end": { - "line": 22, + "line": 33, "column": 70 } } @@ -38350,15 +43304,15 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 1023, + "end": 1024, "loc": { "start": { - "line": 22, + "line": 33, "column": 70 }, "end": { - "line": 22, + "line": 33, "column": 71 } } @@ -38377,15 +43331,15 @@ "updateContext": null }, "value": "&&", - "start": 572, - "end": 574, + "start": 1025, + "end": 1027, "loc": { "start": { - "line": 22, + "line": 33, "column": 72 }, "end": { - "line": 22, + "line": 33, "column": 74 } } @@ -38403,15 +43357,15 @@ "binop": null }, "value": "button", - "start": 575, - "end": 581, + "start": 1028, + "end": 1034, "loc": { "start": { - "line": 22, + "line": 33, "column": 75 }, "end": { - "line": 22, + "line": 33, "column": 81 } } @@ -38430,15 +43384,15 @@ "updateContext": null }, "value": "!==", - "start": 582, - "end": 585, + "start": 1035, + "end": 1038, "loc": { "start": { - "line": 22, + "line": 33, "column": 82 }, "end": { - "line": 22, + "line": 33, "column": 85 } } @@ -38457,15 +43411,15 @@ "updateContext": null }, "value": "{//}", - "start": 586, - "end": 592, + "start": 1039, + "end": 1045, "loc": { "start": { - "line": 22, + "line": 33, "column": 86 }, "end": { - "line": 22, + "line": 33, "column": 92 } } @@ -38482,15 +43436,15 @@ "postfix": false, "binop": null }, - "start": 592, - "end": 593, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 22, + "line": 33, "column": 92 }, "end": { - "line": 22, + "line": 33, "column": 93 } } @@ -38508,15 +43462,15 @@ "binop": null, "updateContext": null }, - "start": 594, - "end": 595, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 22, + "line": 33, "column": 94 }, "end": { - "line": 22, + "line": 33, "column": 95 } } @@ -38535,15 +43489,15 @@ "updateContext": null }, "value": "functionBtn", - "start": 596, - "end": 609, + "start": 1049, + "end": 1062, "loc": { "start": { - "line": 22, + "line": 33, "column": 96 }, "end": { - "line": 22, + "line": 33, "column": 109 } } @@ -38561,15 +43515,15 @@ "binop": null, "updateContext": null }, - "start": 610, - "end": 611, + "start": 1063, + "end": 1064, "loc": { "start": { - "line": 22, + "line": 33, "column": 110 }, "end": { - "line": 22, + "line": 33, "column": 111 } } @@ -38588,15 +43542,15 @@ "updateContext": null }, "value": "standardBtn", - "start": 612, - "end": 625, + "start": 1065, + "end": 1078, "loc": { "start": { - "line": 22, + "line": 33, "column": 112 }, "end": { - "line": 22, + "line": 33, "column": 125 } } @@ -38614,15 +43568,15 @@ "binop": null, "updateContext": null }, - "start": 625, - "end": 626, + "start": 1078, + "end": 1079, "loc": { "start": { - "line": 22, + "line": 33, "column": 125 }, "end": { - "line": 22, + "line": 33, "column": 126 } } @@ -38642,15 +43596,15 @@ "updateContext": null }, "value": "let", - "start": 632, - "end": 635, + "start": 1085, + "end": 1088, "loc": { "start": { - "line": 23, + "line": 34, "column": 4 }, "end": { - "line": 23, + "line": 34, "column": 7 } } @@ -38668,15 +43622,15 @@ "binop": null }, "value": "buttonWithoutBraces", - "start": 636, - "end": 655, + "start": 1089, + "end": 1108, "loc": { "start": { - "line": 23, + "line": 34, "column": 8 }, "end": { - "line": 23, + "line": 34, "column": 27 } } @@ -38695,15 +43649,15 @@ "updateContext": null }, "value": "=", - "start": 656, - "end": 657, + "start": 1109, + "end": 1110, "loc": { "start": { - "line": 23, + "line": 34, "column": 28 }, "end": { - "line": 23, + "line": 34, "column": 29 } } @@ -38721,15 +43675,15 @@ "binop": null }, "value": "button", - "start": 658, - "end": 664, + "start": 1111, + "end": 1117, "loc": { "start": { - "line": 23, + "line": 34, "column": 30 }, "end": { - "line": 23, + "line": 34, "column": 36 } } @@ -38747,15 +43701,15 @@ "binop": null, "updateContext": null }, - "start": 664, - "end": 665, + "start": 1117, + "end": 1118, "loc": { "start": { - "line": 23, + "line": 34, "column": 36 }, "end": { - "line": 23, + "line": 34, "column": 37 } } @@ -38773,15 +43727,15 @@ "binop": null }, "value": "replace", - "start": 665, - "end": 672, + "start": 1118, + "end": 1125, "loc": { "start": { - "line": 23, + "line": 34, "column": 37 }, "end": { - "line": 23, + "line": 34, "column": 44 } } @@ -38798,15 +43752,15 @@ "postfix": false, "binop": null }, - "start": 672, - "end": 673, + "start": 1125, + "end": 1126, "loc": { "start": { - "line": 23, + "line": 34, "column": 44 }, "end": { - "line": 23, + "line": 34, "column": 45 } } @@ -38825,15 +43779,15 @@ "updateContext": null }, "value": "{", - "start": 673, - "end": 676, + "start": 1126, + "end": 1129, "loc": { "start": { - "line": 23, + "line": 34, "column": 45 }, "end": { - "line": 23, + "line": 34, "column": 48 } } @@ -38851,15 +43805,15 @@ "binop": null, "updateContext": null }, - "start": 676, - "end": 677, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 23, + "line": 34, "column": 48 }, "end": { - "line": 23, + "line": 34, "column": 49 } } @@ -38878,15 +43832,15 @@ "updateContext": null }, "value": "", - "start": 678, - "end": 680, + "start": 1131, + "end": 1133, "loc": { "start": { - "line": 23, + "line": 34, "column": 50 }, "end": { - "line": 23, + "line": 34, "column": 52 } } @@ -38903,15 +43857,15 @@ "postfix": false, "binop": null }, - "start": 680, - "end": 681, + "start": 1133, + "end": 1134, "loc": { "start": { - "line": 23, + "line": 34, "column": 52 }, "end": { - "line": 23, + "line": 34, "column": 53 } } @@ -38929,15 +43883,15 @@ "binop": null, "updateContext": null }, - "start": 681, - "end": 682, + "start": 1134, + "end": 1135, "loc": { "start": { - "line": 23, + "line": 34, "column": 53 }, "end": { - "line": 23, + "line": 34, "column": 54 } } @@ -38955,15 +43909,15 @@ "binop": null }, "value": "replace", - "start": 682, - "end": 689, + "start": 1135, + "end": 1142, "loc": { "start": { - "line": 23, + "line": 34, "column": 54 }, "end": { - "line": 23, + "line": 34, "column": 61 } } @@ -38980,15 +43934,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 1142, + "end": 1143, "loc": { "start": { - "line": 23, + "line": 34, "column": 61 }, "end": { - "line": 23, + "line": 34, "column": 62 } } @@ -39007,15 +43961,15 @@ "updateContext": null }, "value": "}", - "start": 690, - "end": 693, + "start": 1143, + "end": 1146, "loc": { "start": { - "line": 23, + "line": 34, "column": 62 }, "end": { - "line": 23, + "line": 34, "column": 65 } } @@ -39033,15 +43987,15 @@ "binop": null, "updateContext": null }, - "start": 693, - "end": 694, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 23, + "line": 34, "column": 65 }, "end": { - "line": 23, + "line": 34, "column": 66 } } @@ -39060,15 +44014,15 @@ "updateContext": null }, "value": "", - "start": 695, - "end": 697, + "start": 1148, + "end": 1150, "loc": { "start": { - "line": 23, + "line": 34, "column": 67 }, "end": { - "line": 23, + "line": 34, "column": 69 } } @@ -39085,15 +44039,15 @@ "postfix": false, "binop": null }, - "start": 697, - "end": 698, + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 23, + "line": 34, "column": 69 }, "end": { - "line": 23, + "line": 34, "column": 70 } } @@ -39111,15 +44065,15 @@ "binop": null, "updateContext": null }, - "start": 698, - "end": 699, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 23, + "line": 34, "column": 70 }, "end": { - "line": 23, + "line": 34, "column": 71 } } @@ -39139,15 +44093,15 @@ "updateContext": null }, "value": "let", - "start": 705, - "end": 708, + "start": 1158, + "end": 1161, "loc": { "start": { - "line": 24, + "line": 35, "column": 4 }, "end": { - "line": 24, + "line": 35, "column": 7 } } @@ -39165,15 +44119,15 @@ "binop": null }, "value": "buttonNormalized", - "start": 709, - "end": 725, + "start": 1162, + "end": 1178, "loc": { "start": { - "line": 24, + "line": 35, "column": 8 }, "end": { - "line": 24, + "line": 35, "column": 24 } } @@ -39192,15 +44146,15 @@ "updateContext": null }, "value": "=", - "start": 726, - "end": 727, + "start": 1179, + "end": 1180, "loc": { "start": { - "line": 24, + "line": 35, "column": 25 }, "end": { - "line": 24, + "line": 35, "column": 26 } } @@ -39219,15 +44173,15 @@ "updateContext": null }, "value": "", - "start": 728, - "end": 730, + "start": 1181, + "end": 1183, "loc": { "start": { - "line": 24, + "line": 35, "column": 27 }, "end": { - "line": 24, + "line": 35, "column": 29 } } @@ -39245,15 +44199,15 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 24, + "line": 35, "column": 29 }, "end": { - "line": 24, + "line": 35, "column": 30 } } @@ -39273,15 +44227,15 @@ "updateContext": null }, "value": "if", - "start": 739, - "end": 741, + "start": 1192, + "end": 1194, "loc": { "start": { - "line": 26, + "line": 37, "column": 4 }, "end": { - "line": 26, + "line": 37, "column": 6 } } @@ -39298,15 +44252,15 @@ "postfix": false, "binop": null }, - "start": 741, - "end": 742, + "start": 1194, + "end": 1195, "loc": { "start": { - "line": 26, + "line": 37, "column": 6 }, "end": { - "line": 26, + "line": 37, "column": 7 } } @@ -39324,15 +44278,15 @@ "binop": null }, "value": "buttonTypeClass", - "start": 742, - "end": 757, + "start": 1195, + "end": 1210, "loc": { "start": { - "line": 26, + "line": 37, "column": 7 }, "end": { - "line": 26, + "line": 37, "column": 22 } } @@ -39351,15 +44305,15 @@ "updateContext": null }, "value": "!==", - "start": 758, - "end": 761, + "start": 1211, + "end": 1214, "loc": { "start": { - "line": 26, + "line": 37, "column": 23 }, "end": { - "line": 26, + "line": 37, "column": 26 } } @@ -39378,15 +44332,15 @@ "updateContext": null }, "value": "standardBtn", - "start": 762, - "end": 775, + "start": 1215, + "end": 1228, "loc": { "start": { - "line": 26, + "line": 37, "column": 27 }, "end": { - "line": 26, + "line": 37, "column": 40 } } @@ -39403,15 +44357,15 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "start": 1228, + "end": 1229, "loc": { "start": { - "line": 26, + "line": 37, "column": 40 }, "end": { - "line": 26, + "line": 37, "column": 41 } } @@ -39429,15 +44383,15 @@ "binop": null }, "value": "buttonNormalized", - "start": 784, - "end": 800, + "start": 1237, + "end": 1253, "loc": { "start": { - "line": 27, + "line": 38, "column": 6 }, "end": { - "line": 27, + "line": 38, "column": 22 } } @@ -39456,15 +44410,15 @@ "updateContext": null }, "value": "=", - "start": 801, - "end": 802, + "start": 1254, + "end": 1255, "loc": { "start": { - "line": 27, + "line": 38, "column": 23 }, "end": { - "line": 27, + "line": 38, "column": 24 } } @@ -39481,15 +44435,15 @@ "postfix": false, "binop": null }, - "start": 803, - "end": 804, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 27, + "line": 38, "column": 25 }, "end": { - "line": 27, + "line": 38, "column": 26 } } @@ -39508,15 +44462,15 @@ "updateContext": null }, "value": " hg-button-", - "start": 804, - "end": 815, + "start": 1257, + "end": 1268, "loc": { "start": { - "line": 27, + "line": 38, "column": 26 }, "end": { - "line": 27, + "line": 38, "column": 37 } } @@ -39533,15 +44487,15 @@ "postfix": false, "binop": null }, - "start": 815, - "end": 817, + "start": 1268, + "end": 1270, "loc": { "start": { - "line": 27, + "line": 38, "column": 37 }, "end": { - "line": 27, + "line": 38, "column": 39 } } @@ -39559,15 +44513,15 @@ "binop": null }, "value": "buttonWithoutBraces", - "start": 817, - "end": 836, + "start": 1270, + "end": 1289, "loc": { "start": { - "line": 27, + "line": 38, "column": 39 }, "end": { - "line": 27, + "line": 38, "column": 58 } } @@ -39584,15 +44538,15 @@ "postfix": false, "binop": null }, - "start": 836, - "end": 837, + "start": 1289, + "end": 1290, "loc": { "start": { - "line": 27, + "line": 38, "column": 58 }, "end": { - "line": 27, + "line": 38, "column": 59 } } @@ -39611,15 +44565,15 @@ "updateContext": null }, "value": "", - "start": 837, - "end": 837, + "start": 1290, + "end": 1290, "loc": { "start": { - "line": 27, + "line": 38, "column": 59 }, "end": { - "line": 27, + "line": 38, "column": 59 } } @@ -39636,15 +44590,15 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 1290, + "end": 1291, "loc": { "start": { - "line": 27, + "line": 38, "column": 59 }, "end": { - "line": 27, + "line": 38, "column": 60 } } @@ -39662,15 +44616,15 @@ "binop": null, "updateContext": null }, - "start": 838, - "end": 839, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 27, + "line": 38, "column": 60 }, "end": { - "line": 27, + "line": 38, "column": 61 } } @@ -39690,15 +44644,15 @@ "updateContext": null }, "value": "return", - "start": 847, - "end": 853, + "start": 1300, + "end": 1306, "loc": { "start": { - "line": 29, + "line": 40, "column": 4 }, "end": { - "line": 29, + "line": 40, "column": 10 } } @@ -39715,15 +44669,15 @@ "postfix": false, "binop": null }, - "start": 854, - "end": 855, + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 29, + "line": 40, "column": 11 }, "end": { - "line": 29, + "line": 40, "column": 12 } } @@ -39742,15 +44696,15 @@ "updateContext": null }, "value": "hg-", - "start": 855, - "end": 858, + "start": 1308, + "end": 1311, "loc": { "start": { - "line": 29, + "line": 40, "column": 12 }, "end": { - "line": 29, + "line": 40, "column": 15 } } @@ -39767,15 +44721,15 @@ "postfix": false, "binop": null }, - "start": 858, - "end": 860, + "start": 1311, + "end": 1313, "loc": { "start": { - "line": 29, + "line": 40, "column": 15 }, "end": { - "line": 29, + "line": 40, "column": 17 } } @@ -39793,15 +44747,15 @@ "binop": null }, "value": "buttonTypeClass", - "start": 860, - "end": 875, + "start": 1313, + "end": 1328, "loc": { "start": { - "line": 29, + "line": 40, "column": 17 }, "end": { - "line": 29, + "line": 40, "column": 32 } } @@ -39818,15 +44772,15 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, + "start": 1328, + "end": 1329, "loc": { "start": { - "line": 29, + "line": 40, "column": 32 }, "end": { - "line": 29, + "line": 40, "column": 33 } } @@ -39845,15 +44799,15 @@ "updateContext": null }, "value": "", - "start": 876, - "end": 876, + "start": 1329, + "end": 1329, "loc": { "start": { - "line": 29, + "line": 40, "column": 33 }, "end": { - "line": 29, + "line": 40, "column": 33 } } @@ -39870,15 +44824,15 @@ "postfix": false, "binop": null }, - "start": 876, - "end": 878, + "start": 1329, + "end": 1331, "loc": { "start": { - "line": 29, + "line": 40, "column": 33 }, "end": { - "line": 29, + "line": 40, "column": 35 } } @@ -39896,15 +44850,15 @@ "binop": null }, "value": "buttonNormalized", - "start": 878, - "end": 894, + "start": 1331, + "end": 1347, "loc": { "start": { - "line": 29, + "line": 40, "column": 35 }, "end": { - "line": 29, + "line": 40, "column": 51 } } @@ -39921,15 +44875,15 @@ "postfix": false, "binop": null }, - "start": 894, - "end": 895, + "start": 1347, + "end": 1348, "loc": { "start": { - "line": 29, + "line": 40, "column": 51 }, "end": { - "line": 29, + "line": 40, "column": 52 } } @@ -39948,15 +44902,15 @@ "updateContext": null }, "value": "", - "start": 895, - "end": 895, + "start": 1348, + "end": 1348, "loc": { "start": { - "line": 29, + "line": 40, "column": 52 }, "end": { - "line": 29, + "line": 40, "column": 52 } } @@ -39973,15 +44927,15 @@ "postfix": false, "binop": null }, - "start": 895, - "end": 896, + "start": 1348, + "end": 1349, "loc": { "start": { - "line": 29, + "line": 40, "column": 52 }, "end": { - "line": 29, + "line": 40, "column": 53 } } @@ -39999,15 +44953,15 @@ "binop": null, "updateContext": null }, - "start": 896, - "end": 897, + "start": 1349, + "end": 1350, "loc": { "start": { - "line": 29, + "line": 40, "column": 53 }, "end": { - "line": 29, + "line": 40, "column": 54 } } @@ -40024,15 +44978,15 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 30, + "line": 41, "column": 2 }, "end": { - "line": 30, + "line": 41, "column": 3 } } @@ -40040,15 +44994,15 @@ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", - "start": 908, - "end": 954, + "start": 1361, + "end": 1407, "loc": { "start": { - "line": 32, + "line": 43, "column": 2 }, "end": { - "line": 34, + "line": 45, "column": 5 } } @@ -40066,15 +45020,15 @@ "binop": null }, "value": "getDefaultDiplay", - "start": 958, - "end": 974, + "start": 1411, + "end": 1427, "loc": { "start": { - "line": 35, + "line": 46, "column": 2 }, "end": { - "line": 35, + "line": 46, "column": 18 } } @@ -40091,15 +45045,15 @@ "postfix": false, "binop": null }, - "start": 974, - "end": 975, + "start": 1427, + "end": 1428, "loc": { "start": { - "line": 35, + "line": 46, "column": 18 }, "end": { - "line": 35, + "line": 46, "column": 19 } } @@ -40116,15 +45070,15 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 1428, + "end": 1429, "loc": { "start": { - "line": 35, + "line": 46, "column": 19 }, "end": { - "line": 35, + "line": 46, "column": 20 } } @@ -40141,15 +45095,15 @@ "postfix": false, "binop": null }, - "start": 976, - "end": 977, + "start": 1429, + "end": 1430, "loc": { "start": { - "line": 35, + "line": 46, "column": 20 }, "end": { - "line": 35, + "line": 46, "column": 21 } } @@ -40169,15 +45123,15 @@ "updateContext": null }, "value": "return", - "start": 983, - "end": 989, + "start": 1436, + "end": 1442, "loc": { "start": { - "line": 36, + "line": 47, "column": 4 }, "end": { - "line": 36, + "line": 47, "column": 10 } } @@ -40194,15 +45148,15 @@ "postfix": false, "binop": null }, - "start": 990, - "end": 991, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 36, + "line": 47, "column": 11 }, "end": { - "line": 36, + "line": 47, "column": 12 } } @@ -40221,15 +45175,15 @@ "updateContext": null }, "value": "{bksp}", - "start": 999, - "end": 1007, + "start": 1452, + "end": 1460, "loc": { "start": { - "line": 37, + "line": 48, "column": 6 }, "end": { - "line": 37, + "line": 48, "column": 14 } } @@ -40247,15 +45201,15 @@ "binop": null, "updateContext": null }, - "start": 1007, - "end": 1008, + "start": 1460, + "end": 1461, "loc": { "start": { - "line": 37, + "line": 48, "column": 14 }, "end": { - "line": 37, + "line": 48, "column": 15 } } @@ -40274,15 +45228,15 @@ "updateContext": null }, "value": "backspace", - "start": 1009, - "end": 1020, + "start": 1462, + "end": 1473, "loc": { "start": { - "line": 37, + "line": 48, "column": 16 }, "end": { - "line": 37, + "line": 48, "column": 27 } } @@ -40300,15 +45254,15 @@ "binop": null, "updateContext": null }, - "start": 1020, - "end": 1021, + "start": 1473, + "end": 1474, "loc": { "start": { - "line": 37, + "line": 48, "column": 27 }, "end": { - "line": 37, + "line": 48, "column": 28 } } @@ -40327,15 +45281,15 @@ "updateContext": null }, "value": "{backspace}", - "start": 1029, - "end": 1042, + "start": 1482, + "end": 1495, "loc": { "start": { - "line": 38, + "line": 49, "column": 6 }, "end": { - "line": 38, + "line": 49, "column": 19 } } @@ -40353,15 +45307,15 @@ "binop": null, "updateContext": null }, - "start": 1042, - "end": 1043, + "start": 1495, + "end": 1496, "loc": { "start": { - "line": 38, + "line": 49, "column": 19 }, "end": { - "line": 38, + "line": 49, "column": 20 } } @@ -40380,15 +45334,15 @@ "updateContext": null }, "value": "backspace", - "start": 1044, - "end": 1055, + "start": 1497, + "end": 1508, "loc": { "start": { - "line": 38, + "line": 49, "column": 21 }, "end": { - "line": 38, + "line": 49, "column": 32 } } @@ -40406,15 +45360,15 @@ "binop": null, "updateContext": null }, - "start": 1055, - "end": 1056, + "start": 1508, + "end": 1509, "loc": { "start": { - "line": 38, + "line": 49, "column": 32 }, "end": { - "line": 38, + "line": 49, "column": 33 } } @@ -40433,15 +45387,15 @@ "updateContext": null }, "value": "{enter}", - "start": 1064, - "end": 1073, + "start": 1517, + "end": 1526, "loc": { "start": { - "line": 39, + "line": 50, "column": 6 }, "end": { - "line": 39, + "line": 50, "column": 15 } } @@ -40459,15 +45413,15 @@ "binop": null, "updateContext": null }, - "start": 1073, - "end": 1074, + "start": 1526, + "end": 1527, "loc": { "start": { - "line": 39, + "line": 50, "column": 15 }, "end": { - "line": 39, + "line": 50, "column": 16 } } @@ -40486,15 +45440,15 @@ "updateContext": null }, "value": "< enter", - "start": 1075, - "end": 1084, + "start": 1528, + "end": 1537, "loc": { "start": { - "line": 39, + "line": 50, "column": 17 }, "end": { - "line": 39, + "line": 50, "column": 26 } } @@ -40512,15 +45466,15 @@ "binop": null, "updateContext": null }, - "start": 1084, - "end": 1085, + "start": 1537, + "end": 1538, "loc": { "start": { - "line": 39, + "line": 50, "column": 26 }, "end": { - "line": 39, + "line": 50, "column": 27 } } @@ -40539,15 +45493,15 @@ "updateContext": null }, "value": "{shift}", - "start": 1093, - "end": 1102, + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 40, + "line": 51, "column": 6 }, "end": { - "line": 40, + "line": 51, "column": 15 } } @@ -40565,15 +45519,15 @@ "binop": null, "updateContext": null }, - "start": 1102, - "end": 1103, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 40, + "line": 51, "column": 15 }, "end": { - "line": 40, + "line": 51, "column": 16 } } @@ -40592,15 +45546,15 @@ "updateContext": null }, "value": "shift", - "start": 1104, - "end": 1111, + "start": 1557, + "end": 1564, "loc": { "start": { - "line": 40, + "line": 51, "column": 17 }, "end": { - "line": 40, + "line": 51, "column": 24 } } @@ -40618,15 +45572,15 @@ "binop": null, "updateContext": null }, - "start": 1111, - "end": 1112, + "start": 1564, + "end": 1565, "loc": { "start": { - "line": 40, + "line": 51, "column": 24 }, "end": { - "line": 40, + "line": 51, "column": 25 } } @@ -40645,15 +45599,15 @@ "updateContext": null }, "value": "{shiftleft}", - "start": 1120, - "end": 1133, + "start": 1573, + "end": 1586, "loc": { "start": { - "line": 41, + "line": 52, "column": 6 }, "end": { - "line": 41, + "line": 52, "column": 19 } } @@ -40671,15 +45625,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1586, + "end": 1587, "loc": { "start": { - "line": 41, + "line": 52, "column": 19 }, "end": { - "line": 41, + "line": 52, "column": 20 } } @@ -40698,15 +45652,15 @@ "updateContext": null }, "value": "shift", - "start": 1135, - "end": 1142, + "start": 1588, + "end": 1595, "loc": { "start": { - "line": 41, + "line": 52, "column": 21 }, "end": { - "line": 41, + "line": 52, "column": 28 } } @@ -40724,15 +45678,15 @@ "binop": null, "updateContext": null }, - "start": 1142, - "end": 1143, + "start": 1595, + "end": 1596, "loc": { "start": { - "line": 41, + "line": 52, "column": 28 }, "end": { - "line": 41, + "line": 52, "column": 29 } } @@ -40751,15 +45705,15 @@ "updateContext": null }, "value": "{shiftright}", - "start": 1151, - "end": 1165, + "start": 1604, + "end": 1618, "loc": { "start": { - "line": 42, + "line": 53, "column": 6 }, "end": { - "line": 42, + "line": 53, "column": 20 } } @@ -40777,15 +45731,15 @@ "binop": null, "updateContext": null }, - "start": 1165, - "end": 1166, + "start": 1618, + "end": 1619, "loc": { "start": { - "line": 42, + "line": 53, "column": 20 }, "end": { - "line": 42, + "line": 53, "column": 21 } } @@ -40804,15 +45758,15 @@ "updateContext": null }, "value": "shift", - "start": 1167, - "end": 1174, + "start": 1620, + "end": 1627, "loc": { "start": { - "line": 42, + "line": 53, "column": 22 }, "end": { - "line": 42, + "line": 53, "column": 29 } } @@ -40830,15 +45784,15 @@ "binop": null, "updateContext": null }, - "start": 1174, - "end": 1175, + "start": 1627, + "end": 1628, "loc": { "start": { - "line": 42, + "line": 53, "column": 29 }, "end": { - "line": 42, + "line": 53, "column": 30 } } @@ -40857,15 +45811,15 @@ "updateContext": null }, "value": "{alt}", - "start": 1183, - "end": 1190, + "start": 1636, + "end": 1643, "loc": { "start": { - "line": 43, + "line": 54, "column": 6 }, "end": { - "line": 43, + "line": 54, "column": 13 } } @@ -40883,15 +45837,15 @@ "binop": null, "updateContext": null }, - "start": 1190, - "end": 1191, + "start": 1643, + "end": 1644, "loc": { "start": { - "line": 43, + "line": 54, "column": 13 }, "end": { - "line": 43, + "line": 54, "column": 14 } } @@ -40910,15 +45864,15 @@ "updateContext": null }, "value": "alt", - "start": 1192, - "end": 1197, + "start": 1645, + "end": 1650, "loc": { "start": { - "line": 43, + "line": 54, "column": 15 }, "end": { - "line": 43, + "line": 54, "column": 20 } } @@ -40936,15 +45890,15 @@ "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "start": 1650, + "end": 1651, "loc": { "start": { - "line": 43, + "line": 54, "column": 20 }, "end": { - "line": 43, + "line": 54, "column": 21 } } @@ -40963,15 +45917,15 @@ "updateContext": null }, "value": "{s}", - "start": 1206, - "end": 1211, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 44, + "line": 55, "column": 6 }, "end": { - "line": 44, + "line": 55, "column": 11 } } @@ -40989,15 +45943,15 @@ "binop": null, "updateContext": null }, - "start": 1211, - "end": 1212, + "start": 1664, + "end": 1665, "loc": { "start": { - "line": 44, + "line": 55, "column": 11 }, "end": { - "line": 44, + "line": 55, "column": 12 } } @@ -41016,15 +45970,15 @@ "updateContext": null }, "value": "shift", - "start": 1213, - "end": 1220, + "start": 1666, + "end": 1673, "loc": { "start": { - "line": 44, + "line": 55, "column": 13 }, "end": { - "line": 44, + "line": 55, "column": 20 } } @@ -41042,15 +45996,15 @@ "binop": null, "updateContext": null }, - "start": 1220, - "end": 1221, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 44, + "line": 55, "column": 20 }, "end": { - "line": 44, + "line": 55, "column": 21 } } @@ -41069,15 +46023,15 @@ "updateContext": null }, "value": "{tab}", - "start": 1229, - "end": 1236, + "start": 1682, + "end": 1689, "loc": { "start": { - "line": 45, + "line": 56, "column": 6 }, "end": { - "line": 45, + "line": 56, "column": 13 } } @@ -41095,15 +46049,15 @@ "binop": null, "updateContext": null }, - "start": 1236, - "end": 1237, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 45, + "line": 56, "column": 13 }, "end": { - "line": 45, + "line": 56, "column": 14 } } @@ -41122,15 +46076,15 @@ "updateContext": null }, "value": "tab", - "start": 1238, - "end": 1243, + "start": 1691, + "end": 1696, "loc": { "start": { - "line": 45, + "line": 56, "column": 15 }, "end": { - "line": 45, + "line": 56, "column": 20 } } @@ -41148,15 +46102,15 @@ "binop": null, "updateContext": null }, - "start": 1243, - "end": 1244, + "start": 1696, + "end": 1697, "loc": { "start": { - "line": 45, + "line": 56, "column": 20 }, "end": { - "line": 45, + "line": 56, "column": 21 } } @@ -41175,15 +46129,15 @@ "updateContext": null }, "value": "{lock}", - "start": 1252, - "end": 1260, + "start": 1705, + "end": 1713, "loc": { "start": { - "line": 46, + "line": 57, "column": 6 }, "end": { - "line": 46, + "line": 57, "column": 14 } } @@ -41201,15 +46155,15 @@ "binop": null, "updateContext": null }, - "start": 1260, - "end": 1261, + "start": 1713, + "end": 1714, "loc": { "start": { - "line": 46, + "line": 57, "column": 14 }, "end": { - "line": 46, + "line": 57, "column": 15 } } @@ -41228,15 +46182,15 @@ "updateContext": null }, "value": "caps", - "start": 1262, - "end": 1268, + "start": 1715, + "end": 1721, "loc": { "start": { - "line": 46, + "line": 57, "column": 16 }, "end": { - "line": 46, + "line": 57, "column": 22 } } @@ -41254,15 +46208,15 @@ "binop": null, "updateContext": null }, - "start": 1268, - "end": 1269, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 46, + "line": 57, "column": 22 }, "end": { - "line": 46, + "line": 57, "column": 23 } } @@ -41281,15 +46235,15 @@ "updateContext": null }, "value": "{capslock}", - "start": 1277, - "end": 1289, + "start": 1730, + "end": 1742, "loc": { "start": { - "line": 47, + "line": 58, "column": 6 }, "end": { - "line": 47, + "line": 58, "column": 18 } } @@ -41307,15 +46261,15 @@ "binop": null, "updateContext": null }, - "start": 1289, - "end": 1290, + "start": 1742, + "end": 1743, "loc": { "start": { - "line": 47, + "line": 58, "column": 18 }, "end": { - "line": 47, + "line": 58, "column": 19 } } @@ -41334,15 +46288,15 @@ "updateContext": null }, "value": "caps", - "start": 1291, - "end": 1297, + "start": 1744, + "end": 1750, "loc": { "start": { - "line": 47, + "line": 58, "column": 20 }, "end": { - "line": 47, + "line": 58, "column": 26 } } @@ -41360,15 +46314,15 @@ "binop": null, "updateContext": null }, - "start": 1297, - "end": 1298, + "start": 1750, + "end": 1751, "loc": { "start": { - "line": 47, + "line": 58, "column": 26 }, "end": { - "line": 47, + "line": 58, "column": 27 } } @@ -41387,15 +46341,15 @@ "updateContext": null }, "value": "{accept}", - "start": 1306, - "end": 1316, + "start": 1759, + "end": 1769, "loc": { "start": { - "line": 48, + "line": 59, "column": 6 }, "end": { - "line": 48, + "line": 59, "column": 16 } } @@ -41413,15 +46367,15 @@ "binop": null, "updateContext": null }, - "start": 1316, - "end": 1317, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 48, + "line": 59, "column": 16 }, "end": { - "line": 48, + "line": 59, "column": 17 } } @@ -41440,15 +46394,15 @@ "updateContext": null }, "value": "Submit", - "start": 1318, - "end": 1326, + "start": 1771, + "end": 1779, "loc": { "start": { - "line": 48, + "line": 59, "column": 18 }, "end": { - "line": 48, + "line": 59, "column": 26 } } @@ -41466,15 +46420,15 @@ "binop": null, "updateContext": null }, - "start": 1326, - "end": 1327, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 48, + "line": 59, "column": 26 }, "end": { - "line": 48, + "line": 59, "column": 27 } } @@ -41493,15 +46447,15 @@ "updateContext": null }, "value": "{space}", - "start": 1335, - "end": 1344, + "start": 1788, + "end": 1797, "loc": { "start": { - "line": 49, + "line": 60, "column": 6 }, "end": { - "line": 49, + "line": 60, "column": 15 } } @@ -41519,15 +46473,15 @@ "binop": null, "updateContext": null }, - "start": 1344, - "end": 1345, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 49, + "line": 60, "column": 15 }, "end": { - "line": 49, + "line": 60, "column": 16 } } @@ -41546,15 +46500,15 @@ "updateContext": null }, "value": " ", - "start": 1346, - "end": 1349, + "start": 1799, + "end": 1802, "loc": { "start": { - "line": 49, + "line": 60, "column": 17 }, "end": { - "line": 49, + "line": 60, "column": 20 } } @@ -41572,15 +46526,15 @@ "binop": null, "updateContext": null }, - "start": 1349, - "end": 1350, + "start": 1802, + "end": 1803, "loc": { "start": { - "line": 49, + "line": 60, "column": 20 }, "end": { - "line": 49, + "line": 60, "column": 21 } } @@ -41599,15 +46553,15 @@ "updateContext": null }, "value": "{//}", - "start": 1358, - "end": 1364, + "start": 1811, + "end": 1817, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, + "line": 61, "column": 12 } } @@ -41625,15 +46579,15 @@ "binop": null, "updateContext": null }, - "start": 1364, - "end": 1365, + "start": 1817, + "end": 1818, "loc": { "start": { - "line": 50, + "line": 61, "column": 12 }, "end": { - "line": 50, + "line": 61, "column": 13 } } @@ -41652,15 +46606,15 @@ "updateContext": null }, "value": " ", - "start": 1366, - "end": 1369, + "start": 1819, + "end": 1822, "loc": { "start": { - "line": 50, + "line": 61, "column": 14 }, "end": { - "line": 50, + "line": 61, "column": 17 } } @@ -41678,15 +46632,15 @@ "binop": null, "updateContext": null }, - "start": 1369, - "end": 1370, + "start": 1822, + "end": 1823, "loc": { "start": { - "line": 50, + "line": 61, "column": 17 }, "end": { - "line": 50, + "line": 61, "column": 18 } } @@ -41705,15 +46659,15 @@ "updateContext": null }, "value": "{esc}", - "start": 1378, - "end": 1385, + "start": 1831, + "end": 1838, "loc": { "start": { - "line": 51, + "line": 62, "column": 6 }, "end": { - "line": 51, + "line": 62, "column": 13 } } @@ -41731,15 +46685,15 @@ "binop": null, "updateContext": null }, - "start": 1385, - "end": 1386, + "start": 1838, + "end": 1839, "loc": { "start": { - "line": 51, + "line": 62, "column": 13 }, "end": { - "line": 51, + "line": 62, "column": 14 } } @@ -41758,15 +46712,15 @@ "updateContext": null }, "value": "esc", - "start": 1387, - "end": 1392, + "start": 1840, + "end": 1845, "loc": { "start": { - "line": 51, + "line": 62, "column": 15 }, "end": { - "line": 51, + "line": 62, "column": 20 } } @@ -41784,15 +46738,15 @@ "binop": null, "updateContext": null }, - "start": 1392, - "end": 1393, + "start": 1845, + "end": 1846, "loc": { "start": { - "line": 51, + "line": 62, "column": 20 }, "end": { - "line": 51, + "line": 62, "column": 21 } } @@ -41811,15 +46765,15 @@ "updateContext": null }, "value": "{escape}", - "start": 1401, - "end": 1411, + "start": 1854, + "end": 1864, "loc": { "start": { - "line": 52, + "line": 63, "column": 6 }, "end": { - "line": 52, + "line": 63, "column": 16 } } @@ -41837,15 +46791,15 @@ "binop": null, "updateContext": null }, - "start": 1411, - "end": 1412, + "start": 1864, + "end": 1865, "loc": { "start": { - "line": 52, + "line": 63, "column": 16 }, "end": { - "line": 52, + "line": 63, "column": 17 } } @@ -41864,15 +46818,15 @@ "updateContext": null }, "value": "esc", - "start": 1413, - "end": 1418, + "start": 1866, + "end": 1871, "loc": { "start": { - "line": 52, + "line": 63, "column": 18 }, "end": { - "line": 52, + "line": 63, "column": 23 } } @@ -41890,15 +46844,15 @@ "binop": null, "updateContext": null }, - "start": 1418, - "end": 1419, + "start": 1871, + "end": 1872, "loc": { "start": { - "line": 52, + "line": 63, "column": 23 }, "end": { - "line": 52, + "line": 63, "column": 24 } } @@ -41917,15 +46871,15 @@ "updateContext": null }, "value": "{f1}", - "start": 1427, - "end": 1433, + "start": 1880, + "end": 1886, "loc": { "start": { - "line": 53, + "line": 64, "column": 6 }, "end": { - "line": 53, + "line": 64, "column": 12 } } @@ -41943,15 +46897,15 @@ "binop": null, "updateContext": null }, - "start": 1433, - "end": 1434, + "start": 1886, + "end": 1887, "loc": { "start": { - "line": 53, + "line": 64, "column": 12 }, "end": { - "line": 53, + "line": 64, "column": 13 } } @@ -41970,15 +46924,15 @@ "updateContext": null }, "value": "f1", - "start": 1435, - "end": 1439, + "start": 1888, + "end": 1892, "loc": { "start": { - "line": 53, + "line": 64, "column": 14 }, "end": { - "line": 53, + "line": 64, "column": 18 } } @@ -41996,15 +46950,15 @@ "binop": null, "updateContext": null }, - "start": 1439, - "end": 1440, + "start": 1892, + "end": 1893, "loc": { "start": { - "line": 53, + "line": 64, "column": 18 }, "end": { - "line": 53, + "line": 64, "column": 19 } } @@ -42023,15 +46977,15 @@ "updateContext": null }, "value": "{f2}", - "start": 1448, - "end": 1454, + "start": 1901, + "end": 1907, "loc": { "start": { - "line": 54, + "line": 65, "column": 6 }, "end": { - "line": 54, + "line": 65, "column": 12 } } @@ -42049,15 +47003,15 @@ "binop": null, "updateContext": null }, - "start": 1454, - "end": 1455, + "start": 1907, + "end": 1908, "loc": { "start": { - "line": 54, + "line": 65, "column": 12 }, "end": { - "line": 54, + "line": 65, "column": 13 } } @@ -42076,15 +47030,15 @@ "updateContext": null }, "value": "f2", - "start": 1456, - "end": 1460, + "start": 1909, + "end": 1913, "loc": { "start": { - "line": 54, + "line": 65, "column": 14 }, "end": { - "line": 54, + "line": 65, "column": 18 } } @@ -42102,15 +47056,15 @@ "binop": null, "updateContext": null }, - "start": 1460, - "end": 1461, + "start": 1913, + "end": 1914, "loc": { "start": { - "line": 54, + "line": 65, "column": 18 }, "end": { - "line": 54, + "line": 65, "column": 19 } } @@ -42129,15 +47083,15 @@ "updateContext": null }, "value": "{f3}", - "start": 1469, - "end": 1475, + "start": 1922, + "end": 1928, "loc": { "start": { - "line": 55, + "line": 66, "column": 6 }, "end": { - "line": 55, + "line": 66, "column": 12 } } @@ -42155,15 +47109,15 @@ "binop": null, "updateContext": null }, - "start": 1475, - "end": 1476, + "start": 1928, + "end": 1929, "loc": { "start": { - "line": 55, + "line": 66, "column": 12 }, "end": { - "line": 55, + "line": 66, "column": 13 } } @@ -42182,15 +47136,15 @@ "updateContext": null }, "value": "f3", - "start": 1477, - "end": 1481, + "start": 1930, + "end": 1934, "loc": { "start": { - "line": 55, + "line": 66, "column": 14 }, "end": { - "line": 55, + "line": 66, "column": 18 } } @@ -42208,15 +47162,15 @@ "binop": null, "updateContext": null }, - "start": 1481, - "end": 1482, + "start": 1934, + "end": 1935, "loc": { "start": { - "line": 55, + "line": 66, "column": 18 }, "end": { - "line": 55, + "line": 66, "column": 19 } } @@ -42235,15 +47189,15 @@ "updateContext": null }, "value": "{f4}", - "start": 1490, - "end": 1496, + "start": 1943, + "end": 1949, "loc": { "start": { - "line": 56, + "line": 67, "column": 6 }, "end": { - "line": 56, + "line": 67, "column": 12 } } @@ -42261,15 +47215,15 @@ "binop": null, "updateContext": null }, - "start": 1496, - "end": 1497, + "start": 1949, + "end": 1950, "loc": { "start": { - "line": 56, + "line": 67, "column": 12 }, "end": { - "line": 56, + "line": 67, "column": 13 } } @@ -42288,1924 +47242,16 @@ "updateContext": null }, "value": "f4", - "start": 1498, - "end": 1502, - "loc": { - "start": { - "line": 56, - "column": 14 - }, - "end": { - "line": 56, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1502, - "end": 1503, - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f5}", - "start": 1511, - "end": 1517, - "loc": { - "start": { - "line": 57, - "column": 6 - }, - "end": { - "line": 57, - "column": 12 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1517, - "end": 1518, - "loc": { - "start": { - "line": 57, - "column": 12 - }, - "end": { - "line": 57, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f5", - "start": 1519, - "end": 1523, - "loc": { - "start": { - "line": 57, - "column": 14 - }, - "end": { - "line": 57, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1523, - "end": 1524, - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f6}", - "start": 1532, - "end": 1538, - "loc": { - "start": { - "line": 58, - "column": 6 - }, - "end": { - "line": 58, - "column": 12 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1538, - "end": 1539, - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f6", - "start": 1540, - "end": 1544, - "loc": { - "start": { - "line": 58, - "column": 14 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1544, - "end": 1545, - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f7}", - "start": 1553, - "end": 1559, - "loc": { - "start": { - "line": 59, - "column": 6 - }, - "end": { - "line": 59, - "column": 12 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1559, - "end": 1560, - "loc": { - "start": { - "line": 59, - "column": 12 - }, - "end": { - "line": 59, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f7", - "start": 1561, - "end": 1565, - "loc": { - "start": { - "line": 59, - "column": 14 - }, - "end": { - "line": 59, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1565, - "end": 1566, - "loc": { - "start": { - "line": 59, - "column": 18 - }, - "end": { - "line": 59, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f8}", - "start": 1574, - "end": 1580, - "loc": { - "start": { - "line": 60, - "column": 6 - }, - "end": { - "line": 60, - "column": 12 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1580, - "end": 1581, - "loc": { - "start": { - "line": 60, - "column": 12 - }, - "end": { - "line": 60, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f8", - "start": 1582, - "end": 1586, - "loc": { - "start": { - "line": 60, - "column": 14 - }, - "end": { - "line": 60, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1586, - "end": 1587, - "loc": { - "start": { - "line": 60, - "column": 18 - }, - "end": { - "line": 60, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f9}", - "start": 1595, - "end": 1601, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 12 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1601, - "end": 1602, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f9", - "start": 1603, - "end": 1607, - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1607, - "end": 1608, - "loc": { - "start": { - "line": 61, - "column": 18 - }, - "end": { - "line": 61, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f10}", - "start": 1616, - "end": 1623, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 13 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1623, - "end": 1624, - "loc": { - "start": { - "line": 62, - "column": 13 - }, - "end": { - "line": 62, - "column": 14 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f10", - "start": 1625, - "end": 1630, - "loc": { - "start": { - "line": 62, - "column": 15 - }, - "end": { - "line": 62, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1630, - "end": 1631, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f11}", - "start": 1639, - "end": 1646, - "loc": { - "start": { - "line": 63, - "column": 6 - }, - "end": { - "line": 63, - "column": 13 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1646, - "end": 1647, - "loc": { - "start": { - "line": 63, - "column": 13 - }, - "end": { - "line": 63, - "column": 14 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f11", - "start": 1648, - "end": 1653, - "loc": { - "start": { - "line": 63, - "column": 15 - }, - "end": { - "line": 63, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1653, - "end": 1654, - "loc": { - "start": { - "line": 63, - "column": 20 - }, - "end": { - "line": 63, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{f12}", - "start": 1662, - "end": 1669, - "loc": { - "start": { - "line": 64, - "column": 6 - }, - "end": { - "line": 64, - "column": 13 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1669, - "end": 1670, - "loc": { - "start": { - "line": 64, - "column": 13 - }, - "end": { - "line": 64, - "column": 14 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "f12", - "start": 1671, - "end": 1676, - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1676, - "end": 1677, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{numpaddivide}", - "start": 1685, - "end": 1701, - "loc": { - "start": { - "line": 65, - "column": 6 - }, - "end": { - "line": 65, - "column": 22 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1701, - "end": 1702, - "loc": { - "start": { - "line": 65, - "column": 22 - }, - "end": { - "line": 65, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "/", - "start": 1703, - "end": 1706, - "loc": { - "start": { - "line": 65, - "column": 24 - }, - "end": { - "line": 65, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1706, - "end": 1707, - "loc": { - "start": { - "line": 65, - "column": 27 - }, - "end": { - "line": 65, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{numlock}", - "start": 1715, - "end": 1726, - "loc": { - "start": { - "line": 66, - "column": 6 - }, - "end": { - "line": 66, - "column": 17 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1726, - "end": 1727, - "loc": { - "start": { - "line": 66, - "column": 17 - }, - "end": { - "line": 66, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lock", - "start": 1728, - "end": 1734, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1734, - "end": 1735, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{arrowup}", - "start": 1743, - "end": 1754, - "loc": { - "start": { - "line": 67, - "column": 6 - }, - "end": { - "line": 67, - "column": 17 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1754, - "end": 1755, - "loc": { - "start": { - "line": 67, - "column": 17 - }, - "end": { - "line": 67, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "↑", - "start": 1756, - "end": 1759, - "loc": { - "start": { - "line": 67, - "column": 19 - }, - "end": { - "line": 67, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1759, - "end": 1760, - "loc": { - "start": { - "line": 67, - "column": 22 - }, - "end": { - "line": 67, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{arrowleft}", - "start": 1768, - "end": 1781, - "loc": { - "start": { - "line": 68, - "column": 6 - }, - "end": { - "line": 68, - "column": 19 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1781, - "end": 1782, - "loc": { - "start": { - "line": 68, - "column": 19 - }, - "end": { - "line": 68, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "←", - "start": 1783, - "end": 1786, - "loc": { - "start": { - "line": 68, - "column": 21 - }, - "end": { - "line": 68, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1786, - "end": 1787, - "loc": { - "start": { - "line": 68, - "column": 24 - }, - "end": { - "line": 68, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{arrowdown}", - "start": 1795, - "end": 1808, - "loc": { - "start": { - "line": 69, - "column": 6 - }, - "end": { - "line": 69, - "column": 19 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1808, - "end": 1809, - "loc": { - "start": { - "line": 69, - "column": 19 - }, - "end": { - "line": 69, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "↓", - "start": 1810, - "end": 1813, - "loc": { - "start": { - "line": 69, - "column": 21 - }, - "end": { - "line": 69, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1813, - "end": 1814, - "loc": { - "start": { - "line": 69, - "column": 24 - }, - "end": { - "line": 69, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{arrowright}", - "start": 1822, - "end": 1836, - "loc": { - "start": { - "line": 70, - "column": 6 - }, - "end": { - "line": 70, - "column": 20 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1836, - "end": 1837, - "loc": { - "start": { - "line": 70, - "column": 20 - }, - "end": { - "line": 70, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "→", - "start": 1838, - "end": 1841, - "loc": { - "start": { - "line": 70, - "column": 22 - }, - "end": { - "line": 70, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1841, - "end": 1842, - "loc": { - "start": { - "line": 70, - "column": 25 - }, - "end": { - "line": 70, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{prtscr}", - "start": 1850, - "end": 1860, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 16 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1860, - "end": 1861, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "print", - "start": 1862, - "end": 1869, - "loc": { - "start": { - "line": 71, - "column": 18 - }, - "end": { - "line": 71, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1869, - "end": 1870, - "loc": { - "start": { - "line": 71, - "column": 25 - }, - "end": { - "line": 71, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{scrolllock}", - "start": 1878, - "end": 1892, - "loc": { - "start": { - "line": 72, - "column": 6 - }, - "end": { - "line": 72, - "column": 20 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1892, - "end": 1893, - "loc": { - "start": { - "line": 72, - "column": 20 - }, - "end": { - "line": 72, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "scroll", - "start": 1894, - "end": 1902, - "loc": { - "start": { - "line": 72, - "column": 22 - }, - "end": { - "line": 72, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1902, - "end": 1903, - "loc": { - "start": { - "line": 72, - "column": 30 - }, - "end": { - "line": 72, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{pause}", - "start": 1911, - "end": 1920, - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 15 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1920, - "end": 1921, - "loc": { - "start": { - "line": 73, - "column": 15 - }, - "end": { - "line": 73, - "column": 16 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "pause", - "start": 1922, - "end": 1929, - "loc": { - "start": { - "line": 73, - "column": 17 - }, - "end": { - "line": 73, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1929, - "end": 1930, - "loc": { - "start": { - "line": 73, - "column": 24 - }, - "end": { - "line": 73, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{insert}", - "start": 1938, - "end": 1948, - "loc": { - "start": { - "line": 74, - "column": 6 - }, - "end": { - "line": 74, - "column": 16 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1948, - "end": 1949, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "ins", - "start": 1950, + "start": 1951, "end": 1955, "loc": { "start": { - "line": 74, - "column": 18 + "line": 67, + "column": 14 }, "end": { - "line": 74, - "column": 23 + "line": 67, + "column": 18 } } }, @@ -44226,488 +47272,11 @@ "end": 1956, "loc": { "start": { - "line": 74, - "column": 23 - }, - "end": { - "line": 74, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{home}", - "start": 1964, - "end": 1972, - "loc": { - "start": { - "line": 75, - "column": 6 - }, - "end": { - "line": 75, - "column": 14 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1972, - "end": 1973, - "loc": { - "start": { - "line": 75, - "column": 14 - }, - "end": { - "line": 75, - "column": 15 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "home", - "start": 1974, - "end": 1980, - "loc": { - "start": { - "line": 75, - "column": 16 - }, - "end": { - "line": 75, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1980, - "end": 1981, - "loc": { - "start": { - "line": 75, - "column": 22 - }, - "end": { - "line": 75, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{pageup}", - "start": 1989, - "end": 1999, - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 16 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1999, - "end": 2000, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "up", - "start": 2001, - "end": 2005, - "loc": { - "start": { - "line": 76, + "line": 67, "column": 18 }, "end": { - "line": 76, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2005, - "end": 2006, - "loc": { - "start": { - "line": 76, - "column": 22 - }, - "end": { - "line": 76, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{delete}", - "start": 2014, - "end": 2024, - "loc": { - "start": { - "line": 77, - "column": 6 - }, - "end": { - "line": 77, - "column": 16 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2024, - "end": 2025, - "loc": { - "start": { - "line": 77, - "column": 16 - }, - "end": { - "line": 77, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "del", - "start": 2026, - "end": 2031, - "loc": { - "start": { - "line": 77, - "column": 18 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2031, - "end": 2032, - "loc": { - "start": { - "line": 77, - "column": 23 - }, - "end": { - "line": 77, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{end}", - "start": 2040, - "end": 2047, - "loc": { - "start": { - "line": 78, - "column": 6 - }, - "end": { - "line": 78, - "column": 13 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2047, - "end": 2048, - "loc": { - "start": { - "line": 78, - "column": 13 - }, - "end": { - "line": 78, - "column": 14 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "end", - "start": 2049, - "end": 2054, - "loc": { - "start": { - "line": 78, - "column": 15 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2054, - "end": 2055, - "loc": { - "start": { - "line": 78, - "column": 20 - }, - "end": { - "line": 78, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{pagedown}", - "start": 2063, - "end": 2075, - "loc": { - "start": { - "line": 79, - "column": 6 - }, - "end": { - "line": 79, - "column": 18 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2075, - "end": 2076, - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, + "line": 67, "column": 19 } } @@ -44725,17 +47294,600 @@ "binop": null, "updateContext": null }, - "value": "down", - "start": 2077, + "value": "{f5}", + "start": 1964, + "end": 1970, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1970, + "end": 1971, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f5", + "start": 1972, + "end": 1976, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1976, + "end": 1977, + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f6}", + "start": 1985, + "end": 1991, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1991, + "end": 1992, + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f6", + "start": 1993, + "end": 1997, + "loc": { + "start": { + "line": 69, + "column": 14 + }, + "end": { + "line": 69, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1997, + "end": 1998, + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 69, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f7}", + "start": 2006, + "end": 2012, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2012, + "end": 2013, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f7", + "start": 2014, + "end": 2018, + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2018, + "end": 2019, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f8}", + "start": 2027, + "end": 2033, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f8", + "start": 2035, + "end": 2039, + "loc": { + "start": { + "line": 71, + "column": 14 + }, + "end": { + "line": 71, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2039, + "end": 2040, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f9}", + "start": 2048, + "end": 2054, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2054, + "end": 2055, + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f9", + "start": 2056, + "end": 2060, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2060, + "end": 2061, + "loc": { + "start": { + "line": 72, + "column": 18 + }, + "end": { + "line": 72, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f10}", + "start": 2069, + "end": 2076, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2076, + "end": 2077, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f10", + "start": 2078, "end": 2083, "loc": { "start": { - "line": 79, - "column": 20 + "line": 73, + "column": 15 }, "end": { - "line": 79, - "column": 26 + "line": 73, + "column": 20 } } }, @@ -44756,11 +47908,1813 @@ "end": 2084, "loc": { "start": { - "line": 79, + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f11}", + "start": 2092, + "end": 2099, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2099, + "end": 2100, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f11", + "start": 2101, + "end": 2106, + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2106, + "end": 2107, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{f12}", + "start": 2115, + "end": 2122, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2122, + "end": 2123, + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "f12", + "start": 2124, + "end": 2129, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2129, + "end": 2130, + "loc": { + "start": { + "line": 75, + "column": 20 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{numpaddivide}", + "start": 2138, + "end": 2154, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2154, + "end": 2155, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 2156, + "end": 2159, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2159, + "end": 2160, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{numlock}", + "start": 2168, + "end": 2179, + "loc": { + "start": { + "line": 77, + "column": 6 + }, + "end": { + "line": 77, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2179, + "end": 2180, + "loc": { + "start": { + "line": 77, + "column": 17 + }, + "end": { + "line": 77, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "lock", + "start": 2181, + "end": 2187, + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2187, + "end": 2188, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{arrowup}", + "start": 2196, + "end": 2207, + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2207, + "end": 2208, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "↑", + "start": 2209, + "end": 2212, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2212, + "end": 2213, + "loc": { + "start": { + "line": 78, + "column": 22 + }, + "end": { + "line": 78, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{arrowleft}", + "start": 2221, + "end": 2234, + "loc": { + "start": { + "line": 79, + "column": 6 }, "end": { "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "←", + "start": 2236, + "end": 2239, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2239, + "end": 2240, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{arrowdown}", + "start": 2248, + "end": 2261, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2261, + "end": 2262, + "loc": { + "start": { + "line": 80, + "column": 19 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "↓", + "start": 2263, + "end": 2266, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2266, + "end": 2267, + "loc": { + "start": { + "line": 80, + "column": 24 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{arrowright}", + "start": 2275, + "end": 2289, + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2289, + "end": 2290, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "→", + "start": 2291, + "end": 2294, + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2294, + "end": 2295, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{prtscr}", + "start": 2303, + "end": 2313, + "loc": { + "start": { + "line": 82, + "column": 6 + }, + "end": { + "line": 82, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2313, + "end": 2314, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "print", + "start": 2315, + "end": 2322, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 82, + "column": 25 + }, + "end": { + "line": 82, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{scrolllock}", + "start": 2331, + "end": 2345, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2345, + "end": 2346, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "scroll", + "start": 2347, + "end": 2355, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2355, + "end": 2356, + "loc": { + "start": { + "line": 83, + "column": 30 + }, + "end": { + "line": 83, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{pause}", + "start": 2364, + "end": 2373, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2373, + "end": 2374, + "loc": { + "start": { + "line": 84, + "column": 15 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "pause", + "start": 2375, + "end": 2382, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2382, + "end": 2383, + "loc": { + "start": { + "line": 84, + "column": 24 + }, + "end": { + "line": 84, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{insert}", + "start": 2391, + "end": 2401, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 85, + "column": 16 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "ins", + "start": 2403, + "end": 2408, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2408, + "end": 2409, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{home}", + "start": 2417, + "end": 2425, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2425, + "end": 2426, + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 86, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "home", + "start": 2427, + "end": 2433, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2433, + "end": 2434, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{pageup}", + "start": 2442, + "end": 2452, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2452, + "end": 2453, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "up", + "start": 2454, + "end": 2458, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2458, + "end": 2459, + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{delete}", + "start": 2467, + "end": 2477, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2477, + "end": 2478, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "del", + "start": 2479, + "end": 2484, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2484, + "end": 2485, + "loc": { + "start": { + "line": 88, + "column": 23 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{end}", + "start": 2493, + "end": 2500, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2500, + "end": 2501, + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "end", + "start": 2502, + "end": 2507, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2507, + "end": 2508, + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{pagedown}", + "start": 2516, + "end": 2528, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2528, + "end": 2529, + "loc": { + "start": { + "line": 90, + "column": 18 + }, + "end": { + "line": 90, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "down", + "start": 2530, + "end": 2536, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2536, + "end": 2537, + "loc": { + "start": { + "line": 90, + "column": 26 + }, + "end": { + "line": 90, "column": 27 } } @@ -44779,15 +49733,15 @@ "updateContext": null }, "value": "{numpadmultiply}", - "start": 2092, - "end": 2110, + "start": 2545, + "end": 2563, "loc": { "start": { - "line": 80, + "line": 91, "column": 6 }, "end": { - "line": 80, + "line": 91, "column": 24 } } @@ -44805,15 +49759,15 @@ "binop": null, "updateContext": null }, - "start": 2110, - "end": 2111, + "start": 2563, + "end": 2564, "loc": { "start": { - "line": 80, + "line": 91, "column": 24 }, "end": { - "line": 80, + "line": 91, "column": 25 } } @@ -44832,15 +49786,15 @@ "updateContext": null }, "value": "*", - "start": 2112, - "end": 2115, + "start": 2565, + "end": 2568, "loc": { "start": { - "line": 80, + "line": 91, "column": 26 }, "end": { - "line": 80, + "line": 91, "column": 29 } } @@ -44858,15 +49812,15 @@ "binop": null, "updateContext": null }, - "start": 2115, - "end": 2116, + "start": 2568, + "end": 2569, "loc": { "start": { - "line": 80, + "line": 91, "column": 29 }, "end": { - "line": 80, + "line": 91, "column": 30 } } @@ -44885,15 +49839,15 @@ "updateContext": null }, "value": "{numpadsubtract}", - "start": 2124, - "end": 2142, + "start": 2577, + "end": 2595, "loc": { "start": { - "line": 81, + "line": 92, "column": 6 }, "end": { - "line": 81, + "line": 92, "column": 24 } } @@ -44911,15 +49865,15 @@ "binop": null, "updateContext": null }, - "start": 2142, - "end": 2143, + "start": 2595, + "end": 2596, "loc": { "start": { - "line": 81, + "line": 92, "column": 24 }, "end": { - "line": 81, + "line": 92, "column": 25 } } @@ -44938,15 +49892,15 @@ "updateContext": null }, "value": "-", - "start": 2144, - "end": 2147, + "start": 2597, + "end": 2600, "loc": { "start": { - "line": 81, + "line": 92, "column": 26 }, "end": { - "line": 81, + "line": 92, "column": 29 } } @@ -44964,15 +49918,15 @@ "binop": null, "updateContext": null }, - "start": 2147, - "end": 2148, + "start": 2600, + "end": 2601, "loc": { "start": { - "line": 81, + "line": 92, "column": 29 }, "end": { - "line": 81, + "line": 92, "column": 30 } } @@ -44991,15 +49945,15 @@ "updateContext": null }, "value": "{numpadadd}", - "start": 2156, - "end": 2169, + "start": 2609, + "end": 2622, "loc": { "start": { - "line": 82, + "line": 93, "column": 6 }, "end": { - "line": 82, + "line": 93, "column": 19 } } @@ -45017,15 +49971,15 @@ "binop": null, "updateContext": null }, - "start": 2169, - "end": 2170, + "start": 2622, + "end": 2623, "loc": { "start": { - "line": 82, + "line": 93, "column": 19 }, "end": { - "line": 82, + "line": 93, "column": 20 } } @@ -45044,15 +49998,15 @@ "updateContext": null }, "value": "+", - "start": 2171, - "end": 2174, + "start": 2624, + "end": 2627, "loc": { "start": { - "line": 82, + "line": 93, "column": 21 }, "end": { - "line": 82, + "line": 93, "column": 24 } } @@ -45070,15 +50024,15 @@ "binop": null, "updateContext": null }, - "start": 2174, - "end": 2175, + "start": 2627, + "end": 2628, "loc": { "start": { - "line": 82, + "line": 93, "column": 24 }, "end": { - "line": 82, + "line": 93, "column": 25 } } @@ -45097,15 +50051,15 @@ "updateContext": null }, "value": "{numpadenter}", - "start": 2183, - "end": 2198, + "start": 2636, + "end": 2651, "loc": { "start": { - "line": 83, + "line": 94, "column": 6 }, "end": { - "line": 83, + "line": 94, "column": 21 } } @@ -45123,15 +50077,15 @@ "binop": null, "updateContext": null }, - "start": 2198, - "end": 2199, + "start": 2651, + "end": 2652, "loc": { "start": { - "line": 83, + "line": 94, "column": 21 }, "end": { - "line": 83, + "line": 94, "column": 22 } } @@ -45150,15 +50104,15 @@ "updateContext": null }, "value": "enter", - "start": 2200, - "end": 2207, + "start": 2653, + "end": 2660, "loc": { "start": { - "line": 83, + "line": 94, "column": 23 }, "end": { - "line": 83, + "line": 94, "column": 30 } } @@ -45176,15 +50130,15 @@ "binop": null, "updateContext": null }, - "start": 2207, - "end": 2208, + "start": 2660, + "end": 2661, "loc": { "start": { - "line": 83, + "line": 94, "column": 30 }, "end": { - "line": 83, + "line": 94, "column": 31 } } @@ -45203,15 +50157,15 @@ "updateContext": null }, "value": "{period}", - "start": 2216, - "end": 2226, + "start": 2669, + "end": 2679, "loc": { "start": { - "line": 84, + "line": 95, "column": 6 }, "end": { - "line": 84, + "line": 95, "column": 16 } } @@ -45229,15 +50183,15 @@ "binop": null, "updateContext": null }, - "start": 2226, - "end": 2227, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 84, + "line": 95, "column": 16 }, "end": { - "line": 84, + "line": 95, "column": 17 } } @@ -45256,15 +50210,15 @@ "updateContext": null }, "value": ".", - "start": 2228, - "end": 2231, + "start": 2681, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 95, "column": 18 }, "end": { - "line": 84, + "line": 95, "column": 21 } } @@ -45282,15 +50236,15 @@ "binop": null, "updateContext": null }, - "start": 2231, - "end": 2232, + "start": 2684, + "end": 2685, "loc": { "start": { - "line": 84, + "line": 95, "column": 21 }, "end": { - "line": 84, + "line": 95, "column": 22 } } @@ -45309,15 +50263,15 @@ "updateContext": null }, "value": "{numpaddecimal}", - "start": 2240, - "end": 2257, + "start": 2693, + "end": 2710, "loc": { "start": { - "line": 85, + "line": 96, "column": 6 }, "end": { - "line": 85, + "line": 96, "column": 23 } } @@ -45335,15 +50289,15 @@ "binop": null, "updateContext": null }, - "start": 2257, - "end": 2258, + "start": 2710, + "end": 2711, "loc": { "start": { - "line": 85, + "line": 96, "column": 23 }, "end": { - "line": 85, + "line": 96, "column": 24 } } @@ -45362,15 +50316,15 @@ "updateContext": null }, "value": ".", - "start": 2259, - "end": 2262, + "start": 2712, + "end": 2715, "loc": { "start": { - "line": 85, + "line": 96, "column": 25 }, "end": { - "line": 85, + "line": 96, "column": 28 } } @@ -45388,15 +50342,15 @@ "binop": null, "updateContext": null }, - "start": 2262, - "end": 2263, + "start": 2715, + "end": 2716, "loc": { "start": { - "line": 85, + "line": 96, "column": 28 }, "end": { - "line": 85, + "line": 96, "column": 29 } } @@ -45415,15 +50369,15 @@ "updateContext": null }, "value": "{numpad0}", - "start": 2271, - "end": 2282, + "start": 2724, + "end": 2735, "loc": { "start": { - "line": 86, + "line": 97, "column": 6 }, "end": { - "line": 86, + "line": 97, "column": 17 } } @@ -45441,15 +50395,15 @@ "binop": null, "updateContext": null }, - "start": 2282, - "end": 2283, + "start": 2735, + "end": 2736, "loc": { "start": { - "line": 86, + "line": 97, "column": 17 }, "end": { - "line": 86, + "line": 97, "column": 18 } } @@ -45468,15 +50422,15 @@ "updateContext": null }, "value": "0", - "start": 2284, - "end": 2287, + "start": 2737, + "end": 2740, "loc": { "start": { - "line": 86, + "line": 97, "column": 19 }, "end": { - "line": 86, + "line": 97, "column": 22 } } @@ -45494,15 +50448,15 @@ "binop": null, "updateContext": null }, - "start": 2287, - "end": 2288, + "start": 2740, + "end": 2741, "loc": { "start": { - "line": 86, + "line": 97, "column": 22 }, "end": { - "line": 86, + "line": 97, "column": 23 } } @@ -45521,15 +50475,15 @@ "updateContext": null }, "value": "{numpad1}", - "start": 2296, - "end": 2307, + "start": 2749, + "end": 2760, "loc": { "start": { - "line": 87, + "line": 98, "column": 6 }, "end": { - "line": 87, + "line": 98, "column": 17 } } @@ -45547,15 +50501,15 @@ "binop": null, "updateContext": null }, - "start": 2307, - "end": 2308, + "start": 2760, + "end": 2761, "loc": { "start": { - "line": 87, + "line": 98, "column": 17 }, "end": { - "line": 87, + "line": 98, "column": 18 } } @@ -45574,15 +50528,15 @@ "updateContext": null }, "value": "1", - "start": 2309, - "end": 2312, + "start": 2762, + "end": 2765, "loc": { "start": { - "line": 87, + "line": 98, "column": 19 }, "end": { - "line": 87, + "line": 98, "column": 22 } } @@ -45600,15 +50554,15 @@ "binop": null, "updateContext": null }, - "start": 2312, - "end": 2313, + "start": 2765, + "end": 2766, "loc": { "start": { - "line": 87, + "line": 98, "column": 22 }, "end": { - "line": 87, + "line": 98, "column": 23 } } @@ -45627,15 +50581,15 @@ "updateContext": null }, "value": "{numpad2}", - "start": 2321, - "end": 2332, + "start": 2774, + "end": 2785, "loc": { "start": { - "line": 88, + "line": 99, "column": 6 }, "end": { - "line": 88, + "line": 99, "column": 17 } } @@ -45653,15 +50607,15 @@ "binop": null, "updateContext": null }, - "start": 2332, - "end": 2333, + "start": 2785, + "end": 2786, "loc": { "start": { - "line": 88, + "line": 99, "column": 17 }, "end": { - "line": 88, + "line": 99, "column": 18 } } @@ -45680,15 +50634,15 @@ "updateContext": null }, "value": "2", - "start": 2334, - "end": 2337, + "start": 2787, + "end": 2790, "loc": { "start": { - "line": 88, + "line": 99, "column": 19 }, "end": { - "line": 88, + "line": 99, "column": 22 } } @@ -45706,15 +50660,15 @@ "binop": null, "updateContext": null }, - "start": 2337, - "end": 2338, + "start": 2790, + "end": 2791, "loc": { "start": { - "line": 88, + "line": 99, "column": 22 }, "end": { - "line": 88, + "line": 99, "column": 23 } } @@ -45733,15 +50687,15 @@ "updateContext": null }, "value": "{numpad3}", - "start": 2346, - "end": 2357, + "start": 2799, + "end": 2810, "loc": { "start": { - "line": 89, + "line": 100, "column": 6 }, "end": { - "line": 89, + "line": 100, "column": 17 } } @@ -45759,15 +50713,15 @@ "binop": null, "updateContext": null }, - "start": 2357, - "end": 2358, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 89, + "line": 100, "column": 17 }, "end": { - "line": 89, + "line": 100, "column": 18 } } @@ -45786,15 +50740,15 @@ "updateContext": null }, "value": "3", - "start": 2359, - "end": 2362, + "start": 2812, + "end": 2815, "loc": { "start": { - "line": 89, + "line": 100, "column": 19 }, "end": { - "line": 89, + "line": 100, "column": 22 } } @@ -45812,15 +50766,15 @@ "binop": null, "updateContext": null }, - "start": 2362, - "end": 2363, + "start": 2815, + "end": 2816, "loc": { "start": { - "line": 89, + "line": 100, "column": 22 }, "end": { - "line": 89, + "line": 100, "column": 23 } } @@ -45839,15 +50793,15 @@ "updateContext": null }, "value": "{numpad4}", - "start": 2371, - "end": 2382, + "start": 2824, + "end": 2835, "loc": { "start": { - "line": 90, + "line": 101, "column": 6 }, "end": { - "line": 90, + "line": 101, "column": 17 } } @@ -45865,15 +50819,15 @@ "binop": null, "updateContext": null }, - "start": 2382, - "end": 2383, + "start": 2835, + "end": 2836, "loc": { "start": { - "line": 90, + "line": 101, "column": 17 }, "end": { - "line": 90, + "line": 101, "column": 18 } } @@ -45892,15 +50846,15 @@ "updateContext": null }, "value": "4", - "start": 2384, - "end": 2387, + "start": 2837, + "end": 2840, "loc": { "start": { - "line": 90, + "line": 101, "column": 19 }, "end": { - "line": 90, + "line": 101, "column": 22 } } @@ -45918,15 +50872,15 @@ "binop": null, "updateContext": null }, - "start": 2387, - "end": 2388, + "start": 2840, + "end": 2841, "loc": { "start": { - "line": 90, + "line": 101, "column": 22 }, "end": { - "line": 90, + "line": 101, "column": 23 } } @@ -45945,15 +50899,15 @@ "updateContext": null }, "value": "{numpad5}", - "start": 2396, - "end": 2407, + "start": 2849, + "end": 2860, "loc": { "start": { - "line": 91, + "line": 102, "column": 6 }, "end": { - "line": 91, + "line": 102, "column": 17 } } @@ -45971,15 +50925,15 @@ "binop": null, "updateContext": null }, - "start": 2407, - "end": 2408, + "start": 2860, + "end": 2861, "loc": { "start": { - "line": 91, + "line": 102, "column": 17 }, "end": { - "line": 91, + "line": 102, "column": 18 } } @@ -45998,15 +50952,15 @@ "updateContext": null }, "value": "5", - "start": 2409, - "end": 2412, + "start": 2862, + "end": 2865, "loc": { "start": { - "line": 91, + "line": 102, "column": 19 }, "end": { - "line": 91, + "line": 102, "column": 22 } } @@ -46024,15 +50978,15 @@ "binop": null, "updateContext": null }, - "start": 2412, - "end": 2413, + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 91, + "line": 102, "column": 22 }, "end": { - "line": 91, + "line": 102, "column": 23 } } @@ -46051,15 +51005,15 @@ "updateContext": null }, "value": "{numpad6}", - "start": 2421, - "end": 2432, + "start": 2874, + "end": 2885, "loc": { "start": { - "line": 92, + "line": 103, "column": 6 }, "end": { - "line": 92, + "line": 103, "column": 17 } } @@ -46077,15 +51031,15 @@ "binop": null, "updateContext": null }, - "start": 2432, - "end": 2433, + "start": 2885, + "end": 2886, "loc": { "start": { - "line": 92, + "line": 103, "column": 17 }, "end": { - "line": 92, + "line": 103, "column": 18 } } @@ -46104,15 +51058,15 @@ "updateContext": null }, "value": "6", - "start": 2434, - "end": 2437, + "start": 2887, + "end": 2890, "loc": { "start": { - "line": 92, + "line": 103, "column": 19 }, "end": { - "line": 92, + "line": 103, "column": 22 } } @@ -46130,15 +51084,15 @@ "binop": null, "updateContext": null }, - "start": 2437, - "end": 2438, + "start": 2890, + "end": 2891, "loc": { "start": { - "line": 92, + "line": 103, "column": 22 }, "end": { - "line": 92, + "line": 103, "column": 23 } } @@ -46157,15 +51111,15 @@ "updateContext": null }, "value": "{numpad7}", - "start": 2446, - "end": 2457, + "start": 2899, + "end": 2910, "loc": { "start": { - "line": 93, + "line": 104, "column": 6 }, "end": { - "line": 93, + "line": 104, "column": 17 } } @@ -46183,15 +51137,15 @@ "binop": null, "updateContext": null }, - "start": 2457, - "end": 2458, + "start": 2910, + "end": 2911, "loc": { "start": { - "line": 93, + "line": 104, "column": 17 }, "end": { - "line": 93, + "line": 104, "column": 18 } } @@ -46210,15 +51164,15 @@ "updateContext": null }, "value": "7", - "start": 2459, - "end": 2462, + "start": 2912, + "end": 2915, "loc": { "start": { - "line": 93, + "line": 104, "column": 19 }, "end": { - "line": 93, + "line": 104, "column": 22 } } @@ -46236,15 +51190,15 @@ "binop": null, "updateContext": null }, - "start": 2462, - "end": 2463, + "start": 2915, + "end": 2916, "loc": { "start": { - "line": 93, + "line": 104, "column": 22 }, "end": { - "line": 93, + "line": 104, "column": 23 } } @@ -46263,15 +51217,15 @@ "updateContext": null }, "value": "{numpad8}", - "start": 2471, - "end": 2482, + "start": 2924, + "end": 2935, "loc": { "start": { - "line": 94, + "line": 105, "column": 6 }, "end": { - "line": 94, + "line": 105, "column": 17 } } @@ -46289,15 +51243,15 @@ "binop": null, "updateContext": null }, - "start": 2482, - "end": 2483, + "start": 2935, + "end": 2936, "loc": { "start": { - "line": 94, + "line": 105, "column": 17 }, "end": { - "line": 94, + "line": 105, "column": 18 } } @@ -46316,15 +51270,15 @@ "updateContext": null }, "value": "8", - "start": 2484, - "end": 2487, + "start": 2937, + "end": 2940, "loc": { "start": { - "line": 94, + "line": 105, "column": 19 }, "end": { - "line": 94, + "line": 105, "column": 22 } } @@ -46342,15 +51296,15 @@ "binop": null, "updateContext": null }, - "start": 2487, - "end": 2488, + "start": 2940, + "end": 2941, "loc": { "start": { - "line": 94, + "line": 105, "column": 22 }, "end": { - "line": 94, + "line": 105, "column": 23 } } @@ -46369,15 +51323,15 @@ "updateContext": null }, "value": "{numpad9}", - "start": 2496, - "end": 2507, + "start": 2949, + "end": 2960, "loc": { "start": { - "line": 95, + "line": 106, "column": 6 }, "end": { - "line": 95, + "line": 106, "column": 17 } } @@ -46395,15 +51349,15 @@ "binop": null, "updateContext": null }, - "start": 2507, - "end": 2508, + "start": 2960, + "end": 2961, "loc": { "start": { - "line": 95, + "line": 106, "column": 17 }, "end": { - "line": 95, + "line": 106, "column": 18 } } @@ -46422,15 +51376,15 @@ "updateContext": null }, "value": "9", - "start": 2509, - "end": 2512, + "start": 2962, + "end": 2965, "loc": { "start": { - "line": 95, + "line": 106, "column": 19 }, "end": { - "line": 95, + "line": 106, "column": 22 } } @@ -46448,15 +51402,15 @@ "binop": null, "updateContext": null }, - "start": 2512, - "end": 2513, + "start": 2965, + "end": 2966, "loc": { "start": { - "line": 95, + "line": 106, "column": 22 }, "end": { - "line": 95, + "line": 106, "column": 23 } } @@ -46473,15 +51427,15 @@ "postfix": false, "binop": null }, - "start": 2519, - "end": 2520, + "start": 2972, + "end": 2973, "loc": { "start": { - "line": 96, + "line": 107, "column": 4 }, "end": { - "line": 96, + "line": 107, "column": 5 } } @@ -46499,15 +51453,15 @@ "binop": null, "updateContext": null }, - "start": 2520, - "end": 2521, + "start": 2973, + "end": 2974, "loc": { "start": { - "line": 96, + "line": 107, "column": 5 }, "end": { - "line": 96, + "line": 107, "column": 6 } } @@ -46524,15 +51478,15 @@ "postfix": false, "binop": null }, - "start": 2525, - "end": 2526, + "start": 2978, + "end": 2979, "loc": { "start": { - "line": 97, + "line": 108, "column": 2 }, "end": { - "line": 97, + "line": 108, "column": 3 } } @@ -46540,15 +51494,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", - "start": 2530, - "end": 2828, + "start": 2983, + "end": 3281, "loc": { "start": { - "line": 98, + "line": 109, "column": 2 }, "end": { - "line": 104, + "line": 115, "column": 5 } } @@ -46566,46 +51520,19 @@ "binop": null }, "value": "getButtonDisplayName", - "start": 2832, - "end": 2852, + "start": 3285, + "end": 3305, "loc": { "start": { - "line": 105, + "line": 116, "column": 2 }, "end": { - "line": 105, + "line": 116, "column": 22 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2853, - "end": 2854, - "loc": { - "start": { - "line": 105, - "column": 23 - }, - "end": { - "line": 105, - "column": 24 - } - } - }, { "type": { "label": "(", @@ -46618,16 +51545,16 @@ "postfix": false, "binop": null }, - "start": 2855, - "end": 2856, + "start": 3305, + "end": 3306, "loc": { "start": { - "line": 105, - "column": 25 + "line": 116, + "column": 22 }, "end": { - "line": 105, - "column": 26 + "line": 116, + "column": 23 } } }, @@ -46644,16 +51571,16 @@ "binop": null }, "value": "button", - "start": 2856, - "end": 2862, + "start": 3306, + "end": 3312, "loc": { "start": { - "line": 105, - "column": 26 + "line": 116, + "column": 23 }, "end": { - "line": 105, - "column": 32 + "line": 116, + "column": 29 } } }, @@ -46670,16 +51597,16 @@ "binop": null, "updateContext": null }, - "start": 2862, - "end": 2863, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 105, - "column": 32 + "line": 116, + "column": 29 }, "end": { - "line": 105, - "column": 33 + "line": 116, + "column": 30 } } }, @@ -46696,16 +51623,16 @@ "binop": null }, "value": "display", - "start": 2864, - "end": 2871, + "start": 3314, + "end": 3321, "loc": { "start": { - "line": 105, - "column": 34 + "line": 116, + "column": 31 }, "end": { - "line": 105, - "column": 41 + "line": 116, + "column": 38 } } }, @@ -46722,16 +51649,16 @@ "binop": null, "updateContext": null }, - "start": 2871, - "end": 2872, + "start": 3321, + "end": 3322, "loc": { "start": { - "line": 105, - "column": 41 + "line": 116, + "column": 38 }, "end": { - "line": 105, - "column": 42 + "line": 116, + "column": 39 } } }, @@ -46748,16 +51675,16 @@ "binop": null }, "value": "mergeDisplay", - "start": 2873, - "end": 2885, + "start": 3323, + "end": 3335, "loc": { "start": { - "line": 105, - "column": 43 + "line": 116, + "column": 40 }, "end": { - "line": 105, - "column": 55 + "line": 116, + "column": 52 } } }, @@ -46773,42 +51700,16 @@ "postfix": false, "binop": null }, - "start": 2885, - "end": 2886, + "start": 3335, + "end": 3336, "loc": { "start": { - "line": 105, - "column": 55 + "line": 116, + "column": 52 }, "end": { - "line": 105, - "column": 56 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2887, - "end": 2889, - "loc": { - "start": { - "line": 105, - "column": 57 - }, - "end": { - "line": 105, - "column": 59 + "line": 116, + "column": 53 } } }, @@ -46824,16 +51725,16 @@ "postfix": false, "binop": null }, - "start": 2890, - "end": 2891, + "start": 3336, + "end": 3337, "loc": { "start": { - "line": 105, - "column": 60 + "line": 116, + "column": 53 }, "end": { - "line": 105, - "column": 61 + "line": 116, + "column": 54 } } }, @@ -46852,15 +51753,15 @@ "updateContext": null }, "value": "if", - "start": 2897, - "end": 2899, + "start": 3343, + "end": 3345, "loc": { "start": { - "line": 106, + "line": 117, "column": 4 }, "end": { - "line": 106, + "line": 117, "column": 6 } } @@ -46877,15 +51778,15 @@ "postfix": false, "binop": null }, - "start": 2899, - "end": 2900, + "start": 3345, + "end": 3346, "loc": { "start": { - "line": 106, + "line": 117, "column": 6 }, "end": { - "line": 106, + "line": 117, "column": 7 } } @@ -46903,15 +51804,15 @@ "binop": null }, "value": "mergeDisplay", - "start": 2900, - "end": 2912, + "start": 3346, + "end": 3358, "loc": { "start": { - "line": 106, + "line": 117, "column": 7 }, "end": { - "line": 106, + "line": 117, "column": 19 } } @@ -46928,15 +51829,15 @@ "postfix": false, "binop": null }, - "start": 2912, - "end": 2913, + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 106, + "line": 117, "column": 19 }, "end": { - "line": 106, + "line": 117, "column": 20 } } @@ -46953,15 +51854,15 @@ "postfix": false, "binop": null }, - "start": 2913, - "end": 2914, + "start": 3359, + "end": 3360, "loc": { "start": { - "line": 106, + "line": 117, "column": 20 }, "end": { - "line": 106, + "line": 117, "column": 21 } } @@ -46979,15 +51880,15 @@ "binop": null }, "value": "display", - "start": 2922, - "end": 2929, + "start": 3368, + "end": 3375, "loc": { "start": { - "line": 107, + "line": 118, "column": 6 }, "end": { - "line": 107, + "line": 118, "column": 13 } } @@ -47006,15 +51907,15 @@ "updateContext": null }, "value": "=", - "start": 2930, - "end": 2931, + "start": 3376, + "end": 3377, "loc": { "start": { - "line": 107, + "line": 118, "column": 14 }, "end": { - "line": 107, + "line": 118, "column": 15 } } @@ -47032,15 +51933,15 @@ "binop": null }, "value": "Object", - "start": 2932, - "end": 2938, + "start": 3378, + "end": 3384, "loc": { "start": { - "line": 107, + "line": 118, "column": 16 }, "end": { - "line": 107, + "line": 118, "column": 22 } } @@ -47058,15 +51959,15 @@ "binop": null, "updateContext": null }, - "start": 2938, - "end": 2939, + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 107, + "line": 118, "column": 22 }, "end": { - "line": 107, + "line": 118, "column": 23 } } @@ -47084,15 +51985,15 @@ "binop": null }, "value": "assign", - "start": 2939, - "end": 2945, + "start": 3385, + "end": 3391, "loc": { "start": { - "line": 107, + "line": 118, "column": 23 }, "end": { - "line": 107, + "line": 118, "column": 29 } } @@ -47109,15 +52010,15 @@ "postfix": false, "binop": null }, - "start": 2945, - "end": 2946, + "start": 3391, + "end": 3392, "loc": { "start": { - "line": 107, + "line": 118, "column": 29 }, "end": { - "line": 107, + "line": 118, "column": 30 } } @@ -47134,15 +52035,15 @@ "postfix": false, "binop": null }, - "start": 2946, - "end": 2947, + "start": 3392, + "end": 3393, "loc": { "start": { - "line": 107, + "line": 118, "column": 30 }, "end": { - "line": 107, + "line": 118, "column": 31 } } @@ -47159,15 +52060,15 @@ "postfix": false, "binop": null }, - "start": 2947, - "end": 2948, + "start": 3393, + "end": 3394, "loc": { "start": { - "line": 107, + "line": 118, "column": 31 }, "end": { - "line": 107, + "line": 118, "column": 32 } } @@ -47185,15 +52086,15 @@ "binop": null, "updateContext": null }, - "start": 2948, - "end": 2949, + "start": 3394, + "end": 3395, "loc": { "start": { - "line": 107, + "line": 118, "column": 32 }, "end": { - "line": 107, + "line": 118, "column": 33 } } @@ -47213,15 +52114,15 @@ "updateContext": null }, "value": "this", - "start": 2950, - "end": 2954, + "start": 3396, + "end": 3400, "loc": { "start": { - "line": 107, + "line": 118, "column": 34 }, "end": { - "line": 107, + "line": 118, "column": 38 } } @@ -47239,15 +52140,15 @@ "binop": null, "updateContext": null }, - "start": 2954, - "end": 2955, + "start": 3400, + "end": 3401, "loc": { "start": { - "line": 107, + "line": 118, "column": 38 }, "end": { - "line": 107, + "line": 118, "column": 39 } } @@ -47265,15 +52166,15 @@ "binop": null }, "value": "getDefaultDiplay", - "start": 2955, - "end": 2971, + "start": 3401, + "end": 3417, "loc": { "start": { - "line": 107, + "line": 118, "column": 39 }, "end": { - "line": 107, + "line": 118, "column": 55 } } @@ -47290,15 +52191,15 @@ "postfix": false, "binop": null }, - "start": 2971, - "end": 2972, + "start": 3417, + "end": 3418, "loc": { "start": { - "line": 107, + "line": 118, "column": 55 }, "end": { - "line": 107, + "line": 118, "column": 56 } } @@ -47315,15 +52216,15 @@ "postfix": false, "binop": null }, - "start": 2972, - "end": 2973, + "start": 3418, + "end": 3419, "loc": { "start": { - "line": 107, + "line": 118, "column": 56 }, "end": { - "line": 107, + "line": 118, "column": 57 } } @@ -47341,15 +52242,15 @@ "binop": null, "updateContext": null }, - "start": 2973, - "end": 2974, + "start": 3419, + "end": 3420, "loc": { "start": { - "line": 107, + "line": 118, "column": 57 }, "end": { - "line": 107, + "line": 118, "column": 58 } } @@ -47367,15 +52268,15 @@ "binop": null }, "value": "display", - "start": 2975, - "end": 2982, + "start": 3421, + "end": 3428, "loc": { "start": { - "line": 107, + "line": 118, "column": 59 }, "end": { - "line": 107, + "line": 118, "column": 66 } } @@ -47392,15 +52293,15 @@ "postfix": false, "binop": null }, - "start": 2982, - "end": 2983, + "start": 3428, + "end": 3429, "loc": { "start": { - "line": 107, + "line": 118, "column": 66 }, "end": { - "line": 107, + "line": 118, "column": 67 } } @@ -47418,15 +52319,15 @@ "binop": null, "updateContext": null }, - "start": 2983, - "end": 2984, + "start": 3429, + "end": 3430, "loc": { "start": { - "line": 107, + "line": 118, "column": 67 }, "end": { - "line": 107, + "line": 118, "column": 68 } } @@ -47443,15 +52344,15 @@ "postfix": false, "binop": null }, - "start": 2990, - "end": 2991, + "start": 3436, + "end": 3437, "loc": { "start": { - "line": 108, + "line": 119, "column": 4 }, "end": { - "line": 108, + "line": 119, "column": 5 } } @@ -47471,15 +52372,15 @@ "updateContext": null }, "value": "else", - "start": 2992, - "end": 2996, + "start": 3438, + "end": 3442, "loc": { "start": { - "line": 108, + "line": 119, "column": 6 }, "end": { - "line": 108, + "line": 119, "column": 10 } } @@ -47496,15 +52397,15 @@ "postfix": false, "binop": null }, - "start": 2997, - "end": 2998, + "start": 3443, + "end": 3444, "loc": { "start": { - "line": 108, + "line": 119, "column": 11 }, "end": { - "line": 108, + "line": 119, "column": 12 } } @@ -47522,15 +52423,15 @@ "binop": null }, "value": "display", - "start": 3006, - "end": 3013, + "start": 3452, + "end": 3459, "loc": { "start": { - "line": 109, + "line": 120, "column": 6 }, "end": { - "line": 109, + "line": 120, "column": 13 } } @@ -47549,15 +52450,15 @@ "updateContext": null }, "value": "=", - "start": 3014, - "end": 3015, + "start": 3460, + "end": 3461, "loc": { "start": { - "line": 109, + "line": 120, "column": 14 }, "end": { - "line": 109, + "line": 120, "column": 15 } } @@ -47575,15 +52476,15 @@ "binop": null }, "value": "display", - "start": 3016, - "end": 3023, + "start": 3462, + "end": 3469, "loc": { "start": { - "line": 109, + "line": 120, "column": 16 }, "end": { - "line": 109, + "line": 120, "column": 23 } } @@ -47602,15 +52503,15 @@ "updateContext": null }, "value": "||", - "start": 3024, - "end": 3026, + "start": 3470, + "end": 3472, "loc": { "start": { - "line": 109, + "line": 120, "column": 24 }, "end": { - "line": 109, + "line": 120, "column": 26 } } @@ -47630,15 +52531,15 @@ "updateContext": null }, "value": "this", - "start": 3027, - "end": 3031, + "start": 3473, + "end": 3477, "loc": { "start": { - "line": 109, + "line": 120, "column": 27 }, "end": { - "line": 109, + "line": 120, "column": 31 } } @@ -47656,15 +52557,15 @@ "binop": null, "updateContext": null }, - "start": 3031, - "end": 3032, + "start": 3477, + "end": 3478, "loc": { "start": { - "line": 109, + "line": 120, "column": 31 }, "end": { - "line": 109, + "line": 120, "column": 32 } } @@ -47682,15 +52583,15 @@ "binop": null }, "value": "getDefaultDiplay", - "start": 3032, - "end": 3048, + "start": 3478, + "end": 3494, "loc": { "start": { - "line": 109, + "line": 120, "column": 32 }, "end": { - "line": 109, + "line": 120, "column": 48 } } @@ -47707,15 +52608,15 @@ "postfix": false, "binop": null }, - "start": 3048, - "end": 3049, + "start": 3494, + "end": 3495, "loc": { "start": { - "line": 109, + "line": 120, "column": 48 }, "end": { - "line": 109, + "line": 120, "column": 49 } } @@ -47732,15 +52633,15 @@ "postfix": false, "binop": null }, - "start": 3049, - "end": 3050, + "start": 3495, + "end": 3496, "loc": { "start": { - "line": 109, + "line": 120, "column": 49 }, "end": { - "line": 109, + "line": 120, "column": 50 } } @@ -47758,15 +52659,15 @@ "binop": null, "updateContext": null }, - "start": 3050, - "end": 3051, + "start": 3496, + "end": 3497, "loc": { "start": { - "line": 109, + "line": 120, "column": 50 }, "end": { - "line": 109, + "line": 120, "column": 51 } } @@ -47783,15 +52684,15 @@ "postfix": false, "binop": null }, - "start": 3057, - "end": 3058, + "start": 3503, + "end": 3504, "loc": { "start": { - "line": 110, + "line": 121, "column": 4 }, "end": { - "line": 110, + "line": 121, "column": 5 } } @@ -47811,15 +52712,15 @@ "updateContext": null }, "value": "return", - "start": 3066, - "end": 3072, + "start": 3512, + "end": 3518, "loc": { "start": { - "line": 112, + "line": 123, "column": 4 }, "end": { - "line": 112, + "line": 123, "column": 10 } } @@ -47837,15 +52738,15 @@ "binop": null }, "value": "display", - "start": 3073, - "end": 3080, + "start": 3519, + "end": 3526, "loc": { "start": { - "line": 112, + "line": 123, "column": 11 }, "end": { - "line": 112, + "line": 123, "column": 18 } } @@ -47863,15 +52764,15 @@ "binop": null, "updateContext": null }, - "start": 3080, - "end": 3081, + "start": 3526, + "end": 3527, "loc": { "start": { - "line": 112, + "line": 123, "column": 18 }, "end": { - "line": 112, + "line": 123, "column": 19 } } @@ -47889,15 +52790,15 @@ "binop": null }, "value": "button", - "start": 3081, - "end": 3087, + "start": 3527, + "end": 3533, "loc": { "start": { - "line": 112, + "line": 123, "column": 19 }, "end": { - "line": 112, + "line": 123, "column": 25 } } @@ -47915,15 +52816,15 @@ "binop": null, "updateContext": null }, - "start": 3087, - "end": 3088, + "start": 3533, + "end": 3534, "loc": { "start": { - "line": 112, + "line": 123, "column": 25 }, "end": { - "line": 112, + "line": 123, "column": 26 } } @@ -47942,15 +52843,15 @@ "updateContext": null }, "value": "||", - "start": 3089, - "end": 3091, + "start": 3535, + "end": 3537, "loc": { "start": { - "line": 112, + "line": 123, "column": 27 }, "end": { - "line": 112, + "line": 123, "column": 29 } } @@ -47968,15 +52869,15 @@ "binop": null }, "value": "button", - "start": 3092, - "end": 3098, + "start": 3538, + "end": 3544, "loc": { "start": { - "line": 112, + "line": 123, "column": 30 }, "end": { - "line": 112, + "line": 123, "column": 36 } } @@ -47994,15 +52895,15 @@ "binop": null, "updateContext": null }, - "start": 3098, - "end": 3099, + "start": 3544, + "end": 3545, "loc": { "start": { - "line": 112, + "line": 123, "column": 36 }, "end": { - "line": 112, + "line": 123, "column": 37 } } @@ -48019,15 +52920,15 @@ "postfix": false, "binop": null }, - "start": 3103, - "end": 3104, + "start": 3549, + "end": 3550, "loc": { "start": { - "line": 113, + "line": 124, "column": 2 }, "end": { - "line": 113, + "line": 124, "column": 3 } } @@ -48035,15 +52936,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", - "start": 3114, - "end": 3431, + "start": 3560, + "end": 3877, "loc": { "start": { - "line": 116, + "line": 127, "column": 2 }, "end": { - "line": 123, + "line": 134, "column": 5 } } @@ -48061,46 +52962,19 @@ "binop": null }, "value": "getUpdatedInput", - "start": 3435, - "end": 3450, + "start": 3881, + "end": 3896, "loc": { "start": { - "line": 124, + "line": 135, "column": 2 }, "end": { - "line": 124, + "line": 135, "column": 17 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3451, - "end": 3452, - "loc": { - "start": { - "line": 124, - "column": 18 - }, - "end": { - "line": 124, - "column": 19 - } - } - }, { "type": { "label": "(", @@ -48113,16 +52987,16 @@ "postfix": false, "binop": null }, - "start": 3453, - "end": 3454, + "start": 3896, + "end": 3897, "loc": { "start": { - "line": 124, - "column": 20 + "line": 135, + "column": 17 }, "end": { - "line": 124, - "column": 21 + "line": 135, + "column": 18 } } }, @@ -48139,16 +53013,16 @@ "binop": null }, "value": "button", - "start": 3454, - "end": 3460, + "start": 3897, + "end": 3903, "loc": { "start": { - "line": 124, - "column": 21 + "line": 135, + "column": 18 }, "end": { - "line": 124, - "column": 27 + "line": 135, + "column": 24 } } }, @@ -48165,16 +53039,16 @@ "binop": null, "updateContext": null }, - "start": 3460, - "end": 3461, + "start": 3903, + "end": 3904, "loc": { "start": { - "line": 124, - "column": 27 + "line": 135, + "column": 24 }, "end": { - "line": 124, - "column": 28 + "line": 135, + "column": 25 } } }, @@ -48191,16 +53065,16 @@ "binop": null }, "value": "input", - "start": 3462, - "end": 3467, + "start": 3905, + "end": 3910, "loc": { "start": { - "line": 124, - "column": 29 + "line": 135, + "column": 26 }, "end": { - "line": 124, - "column": 34 + "line": 135, + "column": 31 } } }, @@ -48217,16 +53091,16 @@ "binop": null, "updateContext": null }, - "start": 3467, - "end": 3468, + "start": 3910, + "end": 3911, "loc": { "start": { - "line": 124, - "column": 34 + "line": 135, + "column": 31 }, "end": { - "line": 124, - "column": 35 + "line": 135, + "column": 32 } } }, @@ -48243,16 +53117,16 @@ "binop": null }, "value": "options", - "start": 3469, - "end": 3476, + "start": 3912, + "end": 3919, "loc": { "start": { - "line": 124, - "column": 36 + "line": 135, + "column": 33 }, "end": { - "line": 124, - "column": 43 + "line": 135, + "column": 40 } } }, @@ -48269,16 +53143,16 @@ "binop": null, "updateContext": null }, - "start": 3476, - "end": 3477, + "start": 3919, + "end": 3920, "loc": { "start": { - "line": 124, - "column": 43 + "line": 135, + "column": 40 }, "end": { - "line": 124, - "column": 44 + "line": 135, + "column": 41 } } }, @@ -48295,16 +53169,16 @@ "binop": null }, "value": "caretPos", - "start": 3478, - "end": 3486, + "start": 3921, + "end": 3929, "loc": { "start": { - "line": 124, - "column": 45 + "line": 135, + "column": 42 }, "end": { - "line": 124, - "column": 53 + "line": 135, + "column": 50 } } }, @@ -48320,42 +53194,16 @@ "postfix": false, "binop": null }, - "start": 3486, - "end": 3487, + "start": 3929, + "end": 3930, "loc": { "start": { - "line": 124, - "column": 53 + "line": 135, + "column": 50 }, "end": { - "line": 124, - "column": 54 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3488, - "end": 3490, - "loc": { - "start": { - "line": 124, - "column": 55 - }, - "end": { - "line": 124, - "column": 57 + "line": 135, + "column": 51 } } }, @@ -48371,16 +53219,16 @@ "postfix": false, "binop": null }, - "start": 3491, - "end": 3492, + "start": 3930, + "end": 3931, "loc": { "start": { - "line": 124, - "column": 58 + "line": 135, + "column": 51 }, "end": { - "line": 124, - "column": 59 + "line": 135, + "column": 52 } } }, @@ -48399,15 +53247,15 @@ "updateContext": null }, "value": "let", - "start": 3504, - "end": 3507, + "start": 3943, + "end": 3946, "loc": { "start": { - "line": 126, + "line": 137, "column": 4 }, "end": { - "line": 126, + "line": 137, "column": 7 } } @@ -48425,15 +53273,15 @@ "binop": null }, "value": "output", - "start": 3508, - "end": 3514, + "start": 3947, + "end": 3953, "loc": { "start": { - "line": 126, + "line": 137, "column": 8 }, "end": { - "line": 126, + "line": 137, "column": 14 } } @@ -48452,15 +53300,15 @@ "updateContext": null }, "value": "=", - "start": 3515, - "end": 3516, + "start": 3954, + "end": 3955, "loc": { "start": { - "line": 126, + "line": 137, "column": 15 }, "end": { - "line": 126, + "line": 137, "column": 16 } } @@ -48478,15 +53326,15 @@ "binop": null }, "value": "input", - "start": 3517, - "end": 3522, + "start": 3956, + "end": 3961, "loc": { "start": { - "line": 126, + "line": 137, "column": 17 }, "end": { - "line": 126, + "line": 137, "column": 22 } } @@ -48504,15 +53352,15 @@ "binop": null, "updateContext": null }, - "start": 3522, - "end": 3523, + "start": 3961, + "end": 3962, "loc": { "start": { - "line": 126, + "line": 137, "column": 22 }, "end": { - "line": 126, + "line": 137, "column": 23 } } @@ -48532,15 +53380,15 @@ "updateContext": null }, "value": "if", - "start": 3531, - "end": 3533, + "start": 3970, + "end": 3972, "loc": { "start": { - "line": 128, + "line": 139, "column": 4 }, "end": { - "line": 128, + "line": 139, "column": 6 } } @@ -48557,15 +53405,15 @@ "postfix": false, "binop": null }, - "start": 3533, - "end": 3534, + "start": 3972, + "end": 3973, "loc": { "start": { - "line": 128, + "line": 139, "column": 6 }, "end": { - "line": 128, + "line": 139, "column": 7 } } @@ -48582,15 +53430,15 @@ "postfix": false, "binop": null }, - "start": 3534, - "end": 3535, + "start": 3973, + "end": 3974, "loc": { "start": { - "line": 128, + "line": 139, "column": 7 }, "end": { - "line": 128, + "line": 139, "column": 8 } } @@ -48608,15 +53456,15 @@ "binop": null }, "value": "button", - "start": 3535, - "end": 3541, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 128, + "line": 139, "column": 8 }, "end": { - "line": 128, + "line": 139, "column": 14 } } @@ -48635,15 +53483,15 @@ "updateContext": null }, "value": "===", - "start": 3542, - "end": 3545, + "start": 3981, + "end": 3984, "loc": { "start": { - "line": 128, + "line": 139, "column": 15 }, "end": { - "line": 128, + "line": 139, "column": 18 } } @@ -48662,15 +53510,15 @@ "updateContext": null }, "value": "{bksp}", - "start": 3546, - "end": 3554, + "start": 3985, + "end": 3993, "loc": { "start": { - "line": 128, + "line": 139, "column": 19 }, "end": { - "line": 128, + "line": 139, "column": 27 } } @@ -48689,15 +53537,15 @@ "updateContext": null }, "value": "||", - "start": 3555, - "end": 3557, + "start": 3994, + "end": 3996, "loc": { "start": { - "line": 128, + "line": 139, "column": 28 }, "end": { - "line": 128, + "line": 139, "column": 30 } } @@ -48715,15 +53563,15 @@ "binop": null }, "value": "button", - "start": 3558, - "end": 3564, + "start": 3997, + "end": 4003, "loc": { "start": { - "line": 128, + "line": 139, "column": 31 }, "end": { - "line": 128, + "line": 139, "column": 37 } } @@ -48742,15 +53590,15 @@ "updateContext": null }, "value": "===", - "start": 3565, - "end": 3568, + "start": 4004, + "end": 4007, "loc": { "start": { - "line": 128, + "line": 139, "column": 38 }, "end": { - "line": 128, + "line": 139, "column": 41 } } @@ -48769,15 +53617,15 @@ "updateContext": null }, "value": "{backspace}", - "start": 3569, - "end": 3582, + "start": 4008, + "end": 4021, "loc": { "start": { - "line": 128, + "line": 139, "column": 42 }, "end": { - "line": 128, + "line": 139, "column": 55 } } @@ -48794,15 +53642,15 @@ "postfix": false, "binop": null }, - "start": 3582, - "end": 3583, + "start": 4021, + "end": 4022, "loc": { "start": { - "line": 128, + "line": 139, "column": 55 }, "end": { - "line": 128, + "line": 139, "column": 56 } } @@ -48821,15 +53669,15 @@ "updateContext": null }, "value": "&&", - "start": 3584, - "end": 3586, + "start": 4023, + "end": 4025, "loc": { "start": { - "line": 128, + "line": 139, "column": 57 }, "end": { - "line": 128, + "line": 139, "column": 59 } } @@ -48847,15 +53695,15 @@ "binop": null }, "value": "output", - "start": 3587, - "end": 3593, + "start": 4026, + "end": 4032, "loc": { "start": { - "line": 128, + "line": 139, "column": 60 }, "end": { - "line": 128, + "line": 139, "column": 66 } } @@ -48873,15 +53721,15 @@ "binop": null, "updateContext": null }, - "start": 3593, - "end": 3594, + "start": 4032, + "end": 4033, "loc": { "start": { - "line": 128, + "line": 139, "column": 66 }, "end": { - "line": 128, + "line": 139, "column": 67 } } @@ -48899,15 +53747,15 @@ "binop": null }, "value": "length", - "start": 3594, - "end": 3600, + "start": 4033, + "end": 4039, "loc": { "start": { - "line": 128, + "line": 139, "column": 67 }, "end": { - "line": 128, + "line": 139, "column": 73 } } @@ -48926,15 +53774,15 @@ "updateContext": null }, "value": ">", - "start": 3601, - "end": 3602, + "start": 4040, + "end": 4041, "loc": { "start": { - "line": 128, + "line": 139, "column": 74 }, "end": { - "line": 128, + "line": 139, "column": 75 } } @@ -48953,15 +53801,15 @@ "updateContext": null }, "value": 0, - "start": 3603, - "end": 3604, + "start": 4042, + "end": 4043, "loc": { "start": { - "line": 128, + "line": 139, "column": 76 }, "end": { - "line": 128, + "line": 139, "column": 77 } } @@ -48978,15 +53826,15 @@ "postfix": false, "binop": null }, - "start": 3604, - "end": 3605, + "start": 4043, + "end": 4044, "loc": { "start": { - "line": 128, + "line": 139, "column": 77 }, "end": { - "line": 128, + "line": 139, "column": 78 } } @@ -49003,15 +53851,15 @@ "postfix": false, "binop": null }, - "start": 3605, - "end": 3606, + "start": 4044, + "end": 4045, "loc": { "start": { - "line": 128, + "line": 139, "column": 78 }, "end": { - "line": 128, + "line": 139, "column": 79 } } @@ -49029,15 +53877,15 @@ "binop": null }, "value": "output", - "start": 3614, - "end": 3620, + "start": 4053, + "end": 4059, "loc": { "start": { - "line": 129, + "line": 140, "column": 6 }, "end": { - "line": 129, + "line": 140, "column": 12 } } @@ -49056,15 +53904,15 @@ "updateContext": null }, "value": "=", - "start": 3621, - "end": 3622, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 129, + "line": 140, "column": 13 }, "end": { - "line": 129, + "line": 140, "column": 14 } } @@ -49084,15 +53932,15 @@ "updateContext": null }, "value": "this", - "start": 3623, - "end": 3627, + "start": 4062, + "end": 4066, "loc": { "start": { - "line": 129, + "line": 140, "column": 15 }, "end": { - "line": 129, + "line": 140, "column": 19 } } @@ -49110,15 +53958,15 @@ "binop": null, "updateContext": null }, - "start": 3627, - "end": 3628, + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 129, + "line": 140, "column": 19 }, "end": { - "line": 129, + "line": 140, "column": 20 } } @@ -49136,15 +53984,15 @@ "binop": null }, "value": "removeAt", - "start": 3628, - "end": 3636, + "start": 4067, + "end": 4075, "loc": { "start": { - "line": 129, + "line": 140, "column": 20 }, "end": { - "line": 129, + "line": 140, "column": 28 } } @@ -49161,15 +54009,15 @@ "postfix": false, "binop": null }, - "start": 3636, - "end": 3637, + "start": 4075, + "end": 4076, "loc": { "start": { - "line": 129, + "line": 140, "column": 28 }, "end": { - "line": 129, + "line": 140, "column": 29 } } @@ -49187,15 +54035,15 @@ "binop": null }, "value": "output", - "start": 3637, - "end": 3643, + "start": 4076, + "end": 4082, "loc": { "start": { - "line": 129, + "line": 140, "column": 29 }, "end": { - "line": 129, + "line": 140, "column": 35 } } @@ -49213,15 +54061,15 @@ "binop": null, "updateContext": null }, - "start": 3643, - "end": 3644, + "start": 4082, + "end": 4083, "loc": { "start": { - "line": 129, + "line": 140, "column": 35 }, "end": { - "line": 129, + "line": 140, "column": 36 } } @@ -49239,15 +54087,15 @@ "binop": null }, "value": "caretPos", - "start": 3645, - "end": 3653, + "start": 4084, + "end": 4092, "loc": { "start": { - "line": 129, + "line": 140, "column": 37 }, "end": { - "line": 129, + "line": 140, "column": 45 } } @@ -49264,15 +54112,15 @@ "postfix": false, "binop": null }, - "start": 3653, - "end": 3654, + "start": 4092, + "end": 4093, "loc": { "start": { - "line": 129, + "line": 140, "column": 45 }, "end": { - "line": 129, + "line": 140, "column": 46 } } @@ -49290,15 +54138,15 @@ "binop": null, "updateContext": null }, - "start": 3654, - "end": 3655, + "start": 4093, + "end": 4094, "loc": { "start": { - "line": 129, + "line": 140, "column": 46 }, "end": { - "line": 129, + "line": 140, "column": 47 } } @@ -49315,15 +54163,15 @@ "postfix": false, "binop": null }, - "start": 3663, - "end": 3664, + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 131, + "line": 142, "column": 4 }, "end": { - "line": 131, + "line": 142, "column": 5 } } @@ -49343,15 +54191,15 @@ "updateContext": null }, "value": "else", - "start": 3665, - "end": 3669, + "start": 4104, + "end": 4108, "loc": { "start": { - "line": 131, + "line": 142, "column": 6 }, "end": { - "line": 131, + "line": 142, "column": 10 } } @@ -49371,15 +54219,15 @@ "updateContext": null }, "value": "if", - "start": 3670, - "end": 3672, + "start": 4109, + "end": 4111, "loc": { "start": { - "line": 131, + "line": 142, "column": 11 }, "end": { - "line": 131, + "line": 142, "column": 13 } } @@ -49396,15 +54244,15 @@ "postfix": false, "binop": null }, - "start": 3672, - "end": 3673, + "start": 4111, + "end": 4112, "loc": { "start": { - "line": 131, + "line": 142, "column": 13 }, "end": { - "line": 131, + "line": 142, "column": 14 } } @@ -49422,15 +54270,15 @@ "binop": null }, "value": "button", - "start": 3673, - "end": 3679, + "start": 4112, + "end": 4118, "loc": { "start": { - "line": 131, + "line": 142, "column": 14 }, "end": { - "line": 131, + "line": 142, "column": 20 } } @@ -49449,15 +54297,15 @@ "updateContext": null }, "value": "===", - "start": 3680, - "end": 3683, + "start": 4119, + "end": 4122, "loc": { "start": { - "line": 131, + "line": 142, "column": 21 }, "end": { - "line": 131, + "line": 142, "column": 24 } } @@ -49476,15 +54324,15 @@ "updateContext": null }, "value": "{space}", - "start": 3684, - "end": 3693, + "start": 4123, + "end": 4132, "loc": { "start": { - "line": 131, + "line": 142, "column": 25 }, "end": { - "line": 131, + "line": 142, "column": 34 } } @@ -49501,15 +54349,15 @@ "postfix": false, "binop": null }, - "start": 3693, - "end": 3694, + "start": 4132, + "end": 4133, "loc": { "start": { - "line": 131, + "line": 142, "column": 34 }, "end": { - "line": 131, + "line": 142, "column": 35 } } @@ -49527,15 +54375,15 @@ "binop": null }, "value": "output", - "start": 3702, - "end": 3708, + "start": 4141, + "end": 4147, "loc": { "start": { - "line": 132, + "line": 143, "column": 6 }, "end": { - "line": 132, + "line": 143, "column": 12 } } @@ -49554,15 +54402,15 @@ "updateContext": null }, "value": "=", - "start": 3709, - "end": 3710, + "start": 4148, + "end": 4149, "loc": { "start": { - "line": 132, + "line": 143, "column": 13 }, "end": { - "line": 132, + "line": 143, "column": 14 } } @@ -49582,15 +54430,15 @@ "updateContext": null }, "value": "this", - "start": 3711, - "end": 3715, + "start": 4150, + "end": 4154, "loc": { "start": { - "line": 132, + "line": 143, "column": 15 }, "end": { - "line": 132, + "line": 143, "column": 19 } } @@ -49608,15 +54456,15 @@ "binop": null, "updateContext": null }, - "start": 3715, - "end": 3716, + "start": 4154, + "end": 4155, "loc": { "start": { - "line": 132, + "line": 143, "column": 19 }, "end": { - "line": 132, + "line": 143, "column": 20 } } @@ -49634,15 +54482,15 @@ "binop": null }, "value": "addStringAt", - "start": 3716, - "end": 3727, + "start": 4155, + "end": 4166, "loc": { "start": { - "line": 132, + "line": 143, "column": 20 }, "end": { - "line": 132, + "line": 143, "column": 31 } } @@ -49659,15 +54507,15 @@ "postfix": false, "binop": null }, - "start": 3727, - "end": 3728, + "start": 4166, + "end": 4167, "loc": { "start": { - "line": 132, + "line": 143, "column": 31 }, "end": { - "line": 132, + "line": 143, "column": 32 } } @@ -49685,15 +54533,15 @@ "binop": null }, "value": "output", - "start": 3728, - "end": 3734, + "start": 4167, + "end": 4173, "loc": { "start": { - "line": 132, + "line": 143, "column": 32 }, "end": { - "line": 132, + "line": 143, "column": 38 } } @@ -49711,15 +54559,15 @@ "binop": null, "updateContext": null }, - "start": 3734, - "end": 3735, + "start": 4173, + "end": 4174, "loc": { "start": { - "line": 132, + "line": 143, "column": 38 }, "end": { - "line": 132, + "line": 143, "column": 39 } } @@ -49738,15 +54586,15 @@ "updateContext": null }, "value": " ", - "start": 3736, - "end": 3739, + "start": 4175, + "end": 4178, "loc": { "start": { - "line": 132, + "line": 143, "column": 40 }, "end": { - "line": 132, + "line": 143, "column": 43 } } @@ -49764,15 +54612,15 @@ "binop": null, "updateContext": null }, - "start": 3739, - "end": 3740, + "start": 4178, + "end": 4179, "loc": { "start": { - "line": 132, + "line": 143, "column": 43 }, "end": { - "line": 132, + "line": 143, "column": 44 } } @@ -49790,15 +54638,15 @@ "binop": null }, "value": "caretPos", - "start": 3741, - "end": 3749, + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 132, + "line": 143, "column": 45 }, "end": { - "line": 132, + "line": 143, "column": 53 } } @@ -49815,15 +54663,15 @@ "postfix": false, "binop": null }, - "start": 3749, - "end": 3750, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 132, + "line": 143, "column": 53 }, "end": { - "line": 132, + "line": 143, "column": 54 } } @@ -49841,15 +54689,15 @@ "binop": null, "updateContext": null }, - "start": 3750, - "end": 3751, + "start": 4189, + "end": 4190, "loc": { "start": { - "line": 132, + "line": 143, "column": 54 }, "end": { - "line": 132, + "line": 143, "column": 55 } } @@ -49869,15 +54717,15 @@ "updateContext": null }, "value": "else", - "start": 3759, - "end": 3763, + "start": 4198, + "end": 4202, "loc": { "start": { - "line": 134, + "line": 145, "column": 4 }, "end": { - "line": 134, + "line": 145, "column": 8 } } @@ -49897,15 +54745,15 @@ "updateContext": null }, "value": "if", - "start": 3764, - "end": 3766, + "start": 4203, + "end": 4205, "loc": { "start": { - "line": 134, + "line": 145, "column": 9 }, "end": { - "line": 134, + "line": 145, "column": 11 } } @@ -49922,15 +54770,15 @@ "postfix": false, "binop": null }, - "start": 3766, - "end": 3767, + "start": 4205, + "end": 4206, "loc": { "start": { - "line": 134, + "line": 145, "column": 11 }, "end": { - "line": 134, + "line": 145, "column": 12 } } @@ -49948,15 +54796,15 @@ "binop": null }, "value": "button", - "start": 3767, - "end": 3773, + "start": 4206, + "end": 4212, "loc": { "start": { - "line": 134, + "line": 145, "column": 12 }, "end": { - "line": 134, + "line": 145, "column": 18 } } @@ -49975,15 +54823,15 @@ "updateContext": null }, "value": "===", - "start": 3774, - "end": 3777, + "start": 4213, + "end": 4216, "loc": { "start": { - "line": 134, + "line": 145, "column": 19 }, "end": { - "line": 134, + "line": 145, "column": 22 } } @@ -50002,15 +54850,15 @@ "updateContext": null }, "value": "{tab}", - "start": 3778, - "end": 3785, + "start": 4217, + "end": 4224, "loc": { "start": { - "line": 134, + "line": 145, "column": 23 }, "end": { - "line": 134, + "line": 145, "column": 30 } } @@ -50029,15 +54877,15 @@ "updateContext": null }, "value": "&&", - "start": 3786, - "end": 3788, + "start": 4225, + "end": 4227, "loc": { "start": { - "line": 134, + "line": 145, "column": 31 }, "end": { - "line": 134, + "line": 145, "column": 33 } } @@ -50056,15 +54904,15 @@ "updateContext": null }, "value": "!", - "start": 3789, - "end": 3790, + "start": 4228, + "end": 4229, "loc": { "start": { - "line": 134, + "line": 145, "column": 34 }, "end": { - "line": 134, + "line": 145, "column": 35 } } @@ -50081,15 +54929,15 @@ "postfix": false, "binop": null }, - "start": 3790, - "end": 3791, + "start": 4229, + "end": 4230, "loc": { "start": { - "line": 134, + "line": 145, "column": 35 }, "end": { - "line": 134, + "line": 145, "column": 36 } } @@ -50109,15 +54957,15 @@ "updateContext": null }, "value": "typeof", - "start": 3791, - "end": 3797, + "start": 4230, + "end": 4236, "loc": { "start": { - "line": 134, + "line": 145, "column": 36 }, "end": { - "line": 134, + "line": 145, "column": 42 } } @@ -50135,15 +54983,15 @@ "binop": null }, "value": "options", - "start": 3798, - "end": 3805, + "start": 4237, + "end": 4244, "loc": { "start": { - "line": 134, + "line": 145, "column": 43 }, "end": { - "line": 134, + "line": 145, "column": 50 } } @@ -50161,15 +55009,15 @@ "binop": null, "updateContext": null }, - "start": 3805, - "end": 3806, + "start": 4244, + "end": 4245, "loc": { "start": { - "line": 134, + "line": 145, "column": 50 }, "end": { - "line": 134, + "line": 145, "column": 51 } } @@ -50187,15 +55035,15 @@ "binop": null }, "value": "tabCharOnTab", - "start": 3806, - "end": 3818, + "start": 4245, + "end": 4257, "loc": { "start": { - "line": 134, + "line": 145, "column": 51 }, "end": { - "line": 134, + "line": 145, "column": 63 } } @@ -50214,15 +55062,15 @@ "updateContext": null }, "value": "===", - "start": 3819, - "end": 3822, + "start": 4258, + "end": 4261, "loc": { "start": { - "line": 134, + "line": 145, "column": 64 }, "end": { - "line": 134, + "line": 145, "column": 67 } } @@ -50241,15 +55089,15 @@ "updateContext": null }, "value": "boolean", - "start": 3823, - "end": 3832, + "start": 4262, + "end": 4271, "loc": { "start": { - "line": 134, + "line": 145, "column": 68 }, "end": { - "line": 134, + "line": 145, "column": 77 } } @@ -50268,15 +55116,15 @@ "updateContext": null }, "value": "&&", - "start": 3833, - "end": 3835, + "start": 4272, + "end": 4274, "loc": { "start": { - "line": 134, + "line": 145, "column": 78 }, "end": { - "line": 134, + "line": 145, "column": 80 } } @@ -50294,15 +55142,15 @@ "binop": null }, "value": "options", - "start": 3836, - "end": 3843, + "start": 4275, + "end": 4282, "loc": { "start": { - "line": 134, + "line": 145, "column": 81 }, "end": { - "line": 134, + "line": 145, "column": 88 } } @@ -50320,15 +55168,15 @@ "binop": null, "updateContext": null }, - "start": 3843, - "end": 3844, + "start": 4282, + "end": 4283, "loc": { "start": { - "line": 134, + "line": 145, "column": 88 }, "end": { - "line": 134, + "line": 145, "column": 89 } } @@ -50346,15 +55194,15 @@ "binop": null }, "value": "tabCharOnTab", - "start": 3844, - "end": 3856, + "start": 4283, + "end": 4295, "loc": { "start": { - "line": 134, + "line": 145, "column": 89 }, "end": { - "line": 134, + "line": 145, "column": 101 } } @@ -50373,15 +55221,15 @@ "updateContext": null }, "value": "===", - "start": 3857, - "end": 3860, + "start": 4296, + "end": 4299, "loc": { "start": { - "line": 134, + "line": 145, "column": 102 }, "end": { - "line": 134, + "line": 145, "column": 105 } } @@ -50401,15 +55249,15 @@ "updateContext": null }, "value": "false", - "start": 3861, - "end": 3866, + "start": 4300, + "end": 4305, "loc": { "start": { - "line": 134, + "line": 145, "column": 106 }, "end": { - "line": 134, + "line": 145, "column": 111 } } @@ -50426,15 +55274,15 @@ "postfix": false, "binop": null }, - "start": 3866, - "end": 3867, + "start": 4305, + "end": 4306, "loc": { "start": { - "line": 134, + "line": 145, "column": 111 }, "end": { - "line": 134, + "line": 145, "column": 112 } } @@ -50451,2638 +55299,24 @@ "postfix": false, "binop": null }, - "start": 3867, - "end": 3868, - "loc": { - "start": { - "line": 134, - "column": 112 - }, - "end": { - "line": 134, - "column": 113 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3868, - "end": 3869, - "loc": { - "start": { - "line": 134, - "column": 113 - }, - "end": { - "line": 134, - "column": 114 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 3877, - "end": 3883, - "loc": { - "start": { - "line": 135, - "column": 6 - }, - "end": { - "line": 135, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3884, - "end": 3885, - "loc": { - "start": { - "line": 135, - "column": 13 - }, - "end": { - "line": 135, - "column": 14 - } - } - }, - { - "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": 3886, - "end": 3890, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3890, - "end": 3891, - "loc": { - "start": { - "line": 135, - "column": 19 - }, - "end": { - "line": 135, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addStringAt", - "start": 3891, - "end": 3902, - "loc": { - "start": { - "line": 135, - "column": 20 - }, - "end": { - "line": 135, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3902, - "end": 3903, - "loc": { - "start": { - "line": 135, - "column": 31 - }, - "end": { - "line": 135, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 3903, - "end": 3909, - "loc": { - "start": { - "line": 135, - "column": 32 - }, - "end": { - "line": 135, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3909, - "end": 3910, - "loc": { - "start": { - "line": 135, - "column": 38 - }, - "end": { - "line": 135, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "\t", - "start": 3911, - "end": 3915, - "loc": { - "start": { - "line": 135, - "column": 40 - }, - "end": { - "line": 135, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3915, - "end": 3916, - "loc": { - "start": { - "line": 135, - "column": 44 - }, - "end": { - "line": 135, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretPos", - "start": 3917, - "end": 3925, - "loc": { - "start": { - "line": 135, - "column": 46 - }, - "end": { - "line": 135, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3925, - "end": 3926, - "loc": { - "start": { - "line": 135, - "column": 54 - }, - "end": { - "line": 135, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3926, - "end": 3927, - "loc": { - "start": { - "line": 135, - "column": 55 - }, - "end": { - "line": 135, - "column": 56 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3935, - "end": 3936, - "loc": { - "start": { - "line": 137, - "column": 4 - }, - "end": { - "line": 137, - "column": 5 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 3937, - "end": 3941, - "loc": { - "start": { - "line": 137, - "column": 6 - }, - "end": { - "line": 137, - "column": 10 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3942, - "end": 3944, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 137, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3944, - "end": 3945, - "loc": { - "start": { - "line": 137, - "column": 13 - }, - "end": { - "line": 137, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3945, - "end": 3946, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 3946, - "end": 3952, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 21 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3953, - "end": 3956, - "loc": { - "start": { - "line": 137, - "column": 22 - }, - "end": { - "line": 137, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{enter}", - "start": 3957, - "end": 3966, - "loc": { - "start": { - "line": 137, - "column": 26 - }, - "end": { - "line": 137, - "column": 35 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 3967, - "end": 3969, - "loc": { - "start": { - "line": 137, - "column": 36 - }, - "end": { - "line": 137, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 3970, - "end": 3976, - "loc": { - "start": { - "line": 137, - "column": 39 - }, - "end": { - "line": 137, - "column": 45 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3977, - "end": 3980, - "loc": { - "start": { - "line": 137, - "column": 46 - }, - "end": { - "line": 137, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{numpadenter}", - "start": 3981, - "end": 3996, - "loc": { - "start": { - "line": 137, - "column": 50 - }, - "end": { - "line": 137, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3996, - "end": 3997, - "loc": { - "start": { - "line": 137, - "column": 65 - }, - "end": { - "line": 137, - "column": 66 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 3998, - "end": 4000, - "loc": { - "start": { - "line": 137, - "column": 67 - }, - "end": { - "line": 137, - "column": 69 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 4001, - "end": 4008, - "loc": { - "start": { - "line": 137, - "column": 70 - }, - "end": { - "line": 137, - "column": 77 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4008, - "end": 4009, - "loc": { - "start": { - "line": 137, - "column": 77 - }, - "end": { - "line": 137, - "column": 78 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLineOnEnter", - "start": 4009, - "end": 4023, - "loc": { - "start": { - "line": 137, - "column": 78 - }, - "end": { - "line": 137, - "column": 92 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4023, - "end": 4024, - "loc": { - "start": { - "line": 137, - "column": 92 - }, - "end": { - "line": 137, - "column": 93 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 4032, - "end": 4038, - "loc": { - "start": { - "line": 138, - "column": 6 - }, - "end": { - "line": 138, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4039, - "end": 4040, - "loc": { - "start": { - "line": 138, - "column": 13 - }, - "end": { - "line": 138, - "column": 14 - } - } - }, - { - "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": 4041, - "end": 4045, - "loc": { - "start": { - "line": 138, - "column": 15 - }, - "end": { - "line": 138, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4045, - "end": 4046, - "loc": { - "start": { - "line": 138, - "column": 19 - }, - "end": { - "line": 138, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addStringAt", - "start": 4046, - "end": 4057, - "loc": { - "start": { - "line": 138, - "column": 20 - }, - "end": { - "line": 138, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4057, - "end": 4058, - "loc": { - "start": { - "line": 138, - "column": 31 - }, - "end": { - "line": 138, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 4058, - "end": 4064, - "loc": { - "start": { - "line": 138, - "column": 32 - }, - "end": { - "line": 138, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4064, - "end": 4065, - "loc": { - "start": { - "line": 138, - "column": 38 - }, - "end": { - "line": 138, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "\n", - "start": 4066, - "end": 4070, - "loc": { - "start": { - "line": 138, - "column": 40 - }, - "end": { - "line": 138, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4070, - "end": 4071, - "loc": { - "start": { - "line": 138, - "column": 44 - }, - "end": { - "line": 138, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretPos", - "start": 4072, - "end": 4080, - "loc": { - "start": { - "line": 138, - "column": 46 - }, - "end": { - "line": 138, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4080, - "end": 4081, - "loc": { - "start": { - "line": 138, - "column": 54 - }, - "end": { - "line": 138, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4081, - "end": 4082, - "loc": { - "start": { - "line": 138, - "column": 55 - }, - "end": { - "line": 138, - "column": 56 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 4090, - "end": 4094, - "loc": { - "start": { - "line": 140, - "column": 4 - }, - "end": { - "line": 140, - "column": 8 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4095, - "end": 4097, - "loc": { - "start": { - "line": 140, - "column": 9 - }, - "end": { - "line": 140, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4097, - "end": 4098, - "loc": { - "start": { - "line": 140, - "column": 11 - }, - "end": { - "line": 140, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4098, - "end": 4104, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4104, - "end": 4105, - "loc": { - "start": { - "line": 140, - "column": 18 - }, - "end": { - "line": 140, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 4105, - "end": 4113, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4113, - "end": 4114, - "loc": { - "start": { - "line": 140, - "column": 27 - }, - "end": { - "line": 140, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "numpad", - "start": 4114, - "end": 4122, - "loc": { - "start": { - "line": 140, - "column": 28 - }, - "end": { - "line": 140, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4122, - "end": 4123, - "loc": { - "start": { - "line": 140, - "column": 36 - }, - "end": { - "line": 140, - "column": 37 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 4124, - "end": 4126, - "loc": { - "start": { - "line": 140, - "column": 38 - }, - "end": { - "line": 140, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Number", - "start": 4127, - "end": 4133, - "loc": { - "start": { - "line": 140, - "column": 41 - }, - "end": { - "line": 140, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4133, - "end": 4134, - "loc": { - "start": { - "line": 140, - "column": 47 - }, - "end": { - "line": 140, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isInteger", - "start": 4134, - "end": 4143, - "loc": { - "start": { - "line": 140, - "column": 48 - }, - "end": { - "line": 140, - "column": 57 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4143, - "end": 4144, - "loc": { - "start": { - "line": 140, - "column": 57 - }, - "end": { - "line": 140, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Number", - "start": 4144, - "end": 4150, - "loc": { - "start": { - "line": 140, - "column": 58 - }, - "end": { - "line": 140, - "column": 64 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4150, - "end": 4151, - "loc": { - "start": { - "line": 140, - "column": 64 - }, - "end": { - "line": 140, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4151, - "end": 4157, - "loc": { - "start": { - "line": 140, - "column": 65 - }, - "end": { - "line": 140, - "column": 71 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4157, - "end": 4158, - "loc": { - "start": { - "line": 140, - "column": 71 - }, - "end": { - "line": 140, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4158, - "end": 4164, - "loc": { - "start": { - "line": 140, - "column": 72 - }, - "end": { - "line": 140, - "column": 78 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4164, - "end": 4165, - "loc": { - "start": { - "line": 140, - "column": 78 - }, - "end": { - "line": 140, - "column": 79 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 4165, - "end": 4171, - "loc": { - "start": { - "line": 140, - "column": 79 - }, - "end": { - "line": 140, - "column": 85 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 4172, - "end": 4173, - "loc": { - "start": { - "line": 140, - "column": 86 - }, - "end": { - "line": 140, - "column": 87 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 4174, - "end": 4175, - "loc": { - "start": { - "line": 140, - "column": 88 - }, - "end": { - "line": 140, - "column": 89 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4175, - "end": 4176, - "loc": { - "start": { - "line": 140, - "column": 89 - }, - "end": { - "line": 140, - "column": 90 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4176, - "end": 4177, - "loc": { - "start": { - "line": 140, - "column": 90 - }, - "end": { - "line": 140, - "column": 91 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4177, - "end": 4178, - "loc": { - "start": { - "line": 140, - "column": 91 - }, - "end": { - "line": 140, - "column": 92 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4178, - "end": 4179, - "loc": { - "start": { - "line": 140, - "column": 92 - }, - "end": { - "line": 140, - "column": 93 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4179, - "end": 4180, - "loc": { - "start": { - "line": 140, - "column": 93 - }, - "end": { - "line": 140, - "column": 94 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 4188, - "end": 4194, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4195, - "end": 4196, - "loc": { - "start": { - "line": 141, - "column": 13 - }, - "end": { - "line": 141, - "column": 14 - } - } - }, - { - "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": 4197, - "end": 4201, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4201, - "end": 4202, - "loc": { - "start": { - "line": 141, - "column": 19 - }, - "end": { - "line": 141, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addStringAt", - "start": 4202, - "end": 4213, - "loc": { - "start": { - "line": 141, - "column": 20 - }, - "end": { - "line": 141, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4213, - "end": 4214, - "loc": { - "start": { - "line": 141, - "column": 31 - }, - "end": { - "line": 141, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 4214, - "end": 4220, - "loc": { - "start": { - "line": 141, - "column": 32 - }, - "end": { - "line": 141, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4220, - "end": 4221, - "loc": { - "start": { - "line": 141, - "column": 38 - }, - "end": { - "line": 141, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4222, - "end": 4228, - "loc": { - "start": { - "line": 141, - "column": 40 - }, - "end": { - "line": 141, - "column": 46 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4228, - "end": 4229, - "loc": { - "start": { - "line": 141, - "column": 46 - }, - "end": { - "line": 141, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4229, - "end": 4235, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 53 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4235, - "end": 4236, - "loc": { - "start": { - "line": 141, - "column": 53 - }, - "end": { - "line": 141, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 4236, - "end": 4242, - "loc": { - "start": { - "line": 141, - "column": 54 - }, - "end": { - "line": 141, - "column": 60 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 4243, - "end": 4244, - "loc": { - "start": { - "line": 141, - "column": 61 - }, - "end": { - "line": 141, - "column": 62 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 4245, - "end": 4246, - "loc": { - "start": { - "line": 141, - "column": 63 - }, - "end": { - "line": 141, - "column": 64 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4246, - "end": 4247, - "loc": { - "start": { - "line": 141, - "column": 64 - }, - "end": { - "line": 141, - "column": 65 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4247, - "end": 4248, - "loc": { - "start": { - "line": 141, - "column": 65 - }, - "end": { - "line": 141, - "column": 66 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretPos", - "start": 4249, - "end": 4257, - "loc": { - "start": { - "line": 141, - "column": 67 - }, - "end": { - "line": 141, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4257, - "end": 4258, - "loc": { - "start": { - "line": 141, - "column": 75 - }, - "end": { - "line": 141, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4258, - "end": 4259, - "loc": { - "start": { - "line": 141, - "column": 76 - }, - "end": { - "line": 141, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4265, - "end": 4266, - "loc": { - "start": { - "line": 142, - "column": 4 - }, - "end": { - "line": 142, - "column": 5 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 4272, - "end": 4276, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 143, - "column": 8 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4277, - "end": 4279, - "loc": { - "start": { - "line": 143, - "column": 9 - }, - "end": { - "line": 143, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4279, - "end": 4280, - "loc": { - "start": { - "line": 143, - "column": 11 - }, - "end": { - "line": 143, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 4280, - "end": 4286, - "loc": { - "start": { - "line": 143, - "column": 12 - }, - "end": { - "line": 143, - "column": 18 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 4287, - "end": 4290, - "loc": { - "start": { - "line": 143, - "column": 19 - }, - "end": { - "line": 143, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{numpaddivide}", - "start": 4291, + "start": 4306, "end": 4307, "loc": { "start": { - "line": 143, - "column": 23 + "line": 145, + "column": 112 }, "end": { - "line": 143, - "column": 39 + "line": 145, + "column": 113 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53094,12 +55328,12 @@ "end": 4308, "loc": { "start": { - "line": 143, - "column": 39 + "line": 145, + "column": 113 }, "end": { - "line": 143, - "column": 40 + "line": 145, + "column": 114 } } }, @@ -53120,11 +55354,11 @@ "end": 4322, "loc": { "start": { - "line": 144, + "line": 146, "column": 6 }, "end": { - "line": 144, + "line": 146, "column": 12 } } @@ -53147,11 +55381,11 @@ "end": 4324, "loc": { "start": { - "line": 144, + "line": 146, "column": 13 }, "end": { - "line": 144, + "line": 146, "column": 14 } } @@ -53175,11 +55409,11 @@ "end": 4329, "loc": { "start": { - "line": 144, + "line": 146, "column": 15 }, "end": { - "line": 144, + "line": 146, "column": 19 } } @@ -53201,11 +55435,11 @@ "end": 4330, "loc": { "start": { - "line": 144, + "line": 146, "column": 19 }, "end": { - "line": 144, + "line": 146, "column": 20 } } @@ -53227,11 +55461,11 @@ "end": 4341, "loc": { "start": { - "line": 144, + "line": 146, "column": 20 }, "end": { - "line": 144, + "line": 146, "column": 31 } } @@ -53252,11 +55486,11 @@ "end": 4342, "loc": { "start": { - "line": 144, + "line": 146, "column": 31 }, "end": { - "line": 144, + "line": 146, "column": 32 } } @@ -53278,11 +55512,11 @@ "end": 4348, "loc": { "start": { - "line": 144, + "line": 146, "column": 32 }, "end": { - "line": 144, + "line": 146, "column": 38 } } @@ -53304,11 +55538,2625 @@ "end": 4349, "loc": { "start": { - "line": 144, + "line": 146, "column": 38 }, "end": { - "line": 144, + "line": 146, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\t", + "start": 4350, + "end": 4354, + "loc": { + "start": { + "line": 146, + "column": 40 + }, + "end": { + "line": 146, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4354, + "end": 4355, + "loc": { + "start": { + "line": 146, + "column": 44 + }, + "end": { + "line": 146, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPos", + "start": 4356, + "end": 4364, + "loc": { + "start": { + "line": 146, + "column": 46 + }, + "end": { + "line": 146, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4364, + "end": 4365, + "loc": { + "start": { + "line": 146, + "column": 54 + }, + "end": { + "line": 146, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4365, + "end": 4366, + "loc": { + "start": { + "line": 146, + "column": 55 + }, + "end": { + "line": 146, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4374, + "end": 4375, + "loc": { + "start": { + "line": 148, + "column": 4 + }, + "end": { + "line": 148, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4376, + "end": 4380, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 10 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4381, + "end": 4383, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4383, + "end": 4384, + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4384, + "end": 4385, + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4385, + "end": 4391, + "loc": { + "start": { + "line": 148, + "column": 15 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4392, + "end": 4395, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{enter}", + "start": 4396, + "end": 4405, + "loc": { + "start": { + "line": 148, + "column": 26 + }, + "end": { + "line": 148, + "column": 35 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 4406, + "end": 4408, + "loc": { + "start": { + "line": 148, + "column": 36 + }, + "end": { + "line": 148, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4409, + "end": 4415, + "loc": { + "start": { + "line": 148, + "column": 39 + }, + "end": { + "line": 148, + "column": 45 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4416, + "end": 4419, + "loc": { + "start": { + "line": 148, + "column": 46 + }, + "end": { + "line": 148, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{numpadenter}", + "start": 4420, + "end": 4435, + "loc": { + "start": { + "line": 148, + "column": 50 + }, + "end": { + "line": 148, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4435, + "end": 4436, + "loc": { + "start": { + "line": 148, + "column": 65 + }, + "end": { + "line": 148, + "column": 66 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 4437, + "end": 4439, + "loc": { + "start": { + "line": 148, + "column": 67 + }, + "end": { + "line": 148, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 4440, + "end": 4447, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 77 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4447, + "end": 4448, + "loc": { + "start": { + "line": 148, + "column": 77 + }, + "end": { + "line": 148, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLineOnEnter", + "start": 4448, + "end": 4462, + "loc": { + "start": { + "line": 148, + "column": 78 + }, + "end": { + "line": 148, + "column": 92 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4462, + "end": 4463, + "loc": { + "start": { + "line": 148, + "column": 92 + }, + "end": { + "line": 148, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4471, + "end": 4477, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4478, + "end": 4479, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 14 + } + } + }, + { + "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": 4480, + "end": 4484, + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4484, + "end": 4485, + "loc": { + "start": { + "line": 149, + "column": 19 + }, + "end": { + "line": 149, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addStringAt", + "start": 4485, + "end": 4496, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4496, + "end": 4497, + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4497, + "end": 4503, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4503, + "end": 4504, + "loc": { + "start": { + "line": 149, + "column": 38 + }, + "end": { + "line": 149, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\n", + "start": 4505, + "end": 4509, + "loc": { + "start": { + "line": 149, + "column": 40 + }, + "end": { + "line": 149, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4509, + "end": 4510, + "loc": { + "start": { + "line": 149, + "column": 44 + }, + "end": { + "line": 149, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPos", + "start": 4511, + "end": 4519, + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4519, + "end": 4520, + "loc": { + "start": { + "line": 149, + "column": 54 + }, + "end": { + "line": 149, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4520, + "end": 4521, + "loc": { + "start": { + "line": 149, + "column": 55 + }, + "end": { + "line": 149, + "column": 56 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4529, + "end": 4533, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 8 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4534, + "end": 4536, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 151, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4536, + "end": 4537, + "loc": { + "start": { + "line": 151, + "column": 11 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4537, + "end": 4543, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4543, + "end": 4544, + "loc": { + "start": { + "line": 151, + "column": 18 + }, + "end": { + "line": 151, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 4544, + "end": 4552, + "loc": { + "start": { + "line": 151, + "column": 19 + }, + "end": { + "line": 151, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4552, + "end": 4553, + "loc": { + "start": { + "line": 151, + "column": 27 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "numpad", + "start": 4553, + "end": 4561, + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4561, + "end": 4562, + "loc": { + "start": { + "line": 151, + "column": 36 + }, + "end": { + "line": 151, + "column": 37 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 4563, + "end": 4565, + "loc": { + "start": { + "line": 151, + "column": 38 + }, + "end": { + "line": 151, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 4566, + "end": 4572, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4572, + "end": 4573, + "loc": { + "start": { + "line": 151, + "column": 47 + }, + "end": { + "line": 151, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isInteger", + "start": 4573, + "end": 4582, + "loc": { + "start": { + "line": 151, + "column": 48 + }, + "end": { + "line": 151, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4582, + "end": 4583, + "loc": { + "start": { + "line": 151, + "column": 57 + }, + "end": { + "line": 151, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 4583, + "end": 4589, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 64 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4589, + "end": 4590, + "loc": { + "start": { + "line": 151, + "column": 64 + }, + "end": { + "line": 151, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4590, + "end": 4596, + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 151, + "column": 71 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4596, + "end": 4597, + "loc": { + "start": { + "line": 151, + "column": 71 + }, + "end": { + "line": 151, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4597, + "end": 4603, + "loc": { + "start": { + "line": 151, + "column": 72 + }, + "end": { + "line": 151, + "column": 78 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4603, + "end": 4604, + "loc": { + "start": { + "line": 151, + "column": 78 + }, + "end": { + "line": 151, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 4604, + "end": 4610, + "loc": { + "start": { + "line": 151, + "column": 79 + }, + "end": { + "line": 151, + "column": 85 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4611, + "end": 4612, + "loc": { + "start": { + "line": 151, + "column": 86 + }, + "end": { + "line": 151, + "column": 87 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 4613, + "end": 4614, + "loc": { + "start": { + "line": 151, + "column": 88 + }, + "end": { + "line": 151, + "column": 89 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4614, + "end": 4615, + "loc": { + "start": { + "line": 151, + "column": 89 + }, + "end": { + "line": 151, + "column": 90 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4615, + "end": 4616, + "loc": { + "start": { + "line": 151, + "column": 90 + }, + "end": { + "line": 151, + "column": 91 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4616, + "end": 4617, + "loc": { + "start": { + "line": 151, + "column": 91 + }, + "end": { + "line": 151, + "column": 92 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4617, + "end": 4618, + "loc": { + "start": { + "line": 151, + "column": 92 + }, + "end": { + "line": 151, + "column": 93 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4618, + "end": 4619, + "loc": { + "start": { + "line": 151, + "column": 93 + }, + "end": { + "line": 151, + "column": 94 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4627, + "end": 4633, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4634, + "end": 4635, + "loc": { + "start": { + "line": 152, + "column": 13 + }, + "end": { + "line": 152, + "column": 14 + } + } + }, + { + "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": 4636, + "end": 4640, + "loc": { + "start": { + "line": 152, + "column": 15 + }, + "end": { + "line": 152, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4640, + "end": 4641, + "loc": { + "start": { + "line": 152, + "column": 19 + }, + "end": { + "line": 152, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addStringAt", + "start": 4641, + "end": 4652, + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4652, + "end": 4653, + "loc": { + "start": { + "line": 152, + "column": 31 + }, + "end": { + "line": 152, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4653, + "end": 4659, + "loc": { + "start": { + "line": 152, + "column": 32 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4659, + "end": 4660, + "loc": { + "start": { + "line": 152, + "column": 38 + }, + "end": { + "line": 152, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4661, + "end": 4667, + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 46 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4667, + "end": 4668, + "loc": { + "start": { + "line": 152, + "column": 46 + }, + "end": { + "line": 152, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4668, + "end": 4674, + "loc": { + "start": { + "line": 152, + "column": 47 + }, + "end": { + "line": 152, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4674, + "end": 4675, + "loc": { + "start": { + "line": 152, + "column": 53 + }, + "end": { + "line": 152, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 4675, + "end": 4681, + "loc": { + "start": { + "line": 152, + "column": 54 + }, + "end": { + "line": 152, + "column": 60 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4682, + "end": 4683, + "loc": { + "start": { + "line": 152, + "column": 61 + }, + "end": { + "line": 152, + "column": 62 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 4684, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 63 + }, + "end": { + "line": 152, + "column": 64 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4685, + "end": 4686, + "loc": { + "start": { + "line": 152, + "column": 64 + }, + "end": { + "line": 152, + "column": 65 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4686, + "end": 4687, + "loc": { + "start": { + "line": 152, + "column": 65 + }, + "end": { + "line": 152, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPos", + "start": 4688, + "end": 4696, + "loc": { + "start": { + "line": 152, + "column": 67 + }, + "end": { + "line": 152, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4696, + "end": 4697, + "loc": { + "start": { + "line": 152, + "column": 75 + }, + "end": { + "line": 152, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4697, + "end": 4698, + "loc": { + "start": { + "line": 152, + "column": 76 + }, + "end": { + "line": 152, + "column": 77 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4704, + "end": 4705, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4711, + "end": 4715, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4716, + "end": 4718, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 154, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4718, + "end": 4719, + "loc": { + "start": { + "line": 154, + "column": 11 + }, + "end": { + "line": 154, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4719, + "end": 4725, + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4726, + "end": 4729, + "loc": { + "start": { + "line": 154, + "column": 19 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{numpaddivide}", + "start": 4730, + "end": 4746, + "loc": { + "start": { + "line": 154, + "column": 23 + }, + "end": { + "line": 154, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4746, + "end": 4747, + "loc": { + "start": { + "line": 154, + "column": 39 + }, + "end": { + "line": 154, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4755, + "end": 4761, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4762, + "end": 4763, + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 14 + } + } + }, + { + "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": 4764, + "end": 4768, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4768, + "end": 4769, + "loc": { + "start": { + "line": 155, + "column": 19 + }, + "end": { + "line": 155, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addStringAt", + "start": 4769, + "end": 4780, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4780, + "end": 4781, + "loc": { + "start": { + "line": 155, + "column": 31 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4781, + "end": 4787, + "loc": { + "start": { + "line": 155, + "column": 32 + }, + "end": { + "line": 155, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4787, + "end": 4788, + "loc": { + "start": { + "line": 155, + "column": 38 + }, + "end": { + "line": 155, "column": 39 } } @@ -53327,15 +58175,15 @@ "updateContext": null }, "value": "/", - "start": 4350, - "end": 4353, + "start": 4789, + "end": 4792, "loc": { "start": { - "line": 144, + "line": 155, "column": 40 }, "end": { - "line": 144, + "line": 155, "column": 43 } } @@ -53353,15 +58201,15 @@ "binop": null, "updateContext": null }, - "start": 4353, - "end": 4354, + "start": 4792, + "end": 4793, "loc": { "start": { - "line": 144, + "line": 155, "column": 43 }, "end": { - "line": 144, + "line": 155, "column": 44 } } @@ -53379,15 +58227,15 @@ "binop": null }, "value": "caretPos", - "start": 4355, - "end": 4363, + "start": 4794, + "end": 4802, "loc": { "start": { - "line": 144, + "line": 155, "column": 45 }, "end": { - "line": 144, + "line": 155, "column": 53 } } @@ -53404,15 +58252,15 @@ "postfix": false, "binop": null }, - "start": 4363, - "end": 4364, + "start": 4802, + "end": 4803, "loc": { "start": { - "line": 144, + "line": 155, "column": 53 }, "end": { - "line": 144, + "line": 155, "column": 54 } } @@ -53430,15 +58278,15 @@ "binop": null, "updateContext": null }, - "start": 4364, - "end": 4365, + "start": 4803, + "end": 4804, "loc": { "start": { - "line": 144, + "line": 155, "column": 54 }, "end": { - "line": 144, + "line": 155, "column": 55 } } @@ -53458,15 +58306,15 @@ "updateContext": null }, "value": "else", - "start": 4373, - "end": 4377, + "start": 4812, + "end": 4816, "loc": { "start": { - "line": 146, + "line": 157, "column": 4 }, "end": { - "line": 146, + "line": 157, "column": 8 } } @@ -53486,15 +58334,15 @@ "updateContext": null }, "value": "if", - "start": 4378, - "end": 4380, + "start": 4817, + "end": 4819, "loc": { "start": { - "line": 146, + "line": 157, "column": 9 }, "end": { - "line": 146, + "line": 157, "column": 11 } } @@ -53511,15 +58359,15 @@ "postfix": false, "binop": null }, - "start": 4380, - "end": 4381, + "start": 4819, + "end": 4820, "loc": { "start": { - "line": 146, + "line": 157, "column": 11 }, "end": { - "line": 146, + "line": 157, "column": 12 } } @@ -53537,15 +58385,15 @@ "binop": null }, "value": "button", - "start": 4381, - "end": 4387, + "start": 4820, + "end": 4826, "loc": { "start": { - "line": 146, + "line": 157, "column": 12 }, "end": { - "line": 146, + "line": 157, "column": 18 } } @@ -53564,15 +58412,15 @@ "updateContext": null }, "value": "===", - "start": 4388, - "end": 4391, + "start": 4827, + "end": 4830, "loc": { "start": { - "line": 146, + "line": 157, "column": 19 }, "end": { - "line": 146, + "line": 157, "column": 22 } } @@ -53591,15 +58439,15 @@ "updateContext": null }, "value": "{numpadmultiply}", - "start": 4392, - "end": 4410, + "start": 4831, + "end": 4849, "loc": { "start": { - "line": 146, + "line": 157, "column": 23 }, "end": { - "line": 146, + "line": 157, "column": 41 } } @@ -53616,15 +58464,15 @@ "postfix": false, "binop": null }, - "start": 4410, - "end": 4411, + "start": 4849, + "end": 4850, "loc": { "start": { - "line": 146, + "line": 157, "column": 41 }, "end": { - "line": 146, + "line": 157, "column": 42 } } @@ -53642,15 +58490,15 @@ "binop": null }, "value": "output", - "start": 4419, - "end": 4425, + "start": 4858, + "end": 4864, "loc": { "start": { - "line": 147, + "line": 158, "column": 6 }, "end": { - "line": 147, + "line": 158, "column": 12 } } @@ -53669,15 +58517,15 @@ "updateContext": null }, "value": "=", - "start": 4426, - "end": 4427, + "start": 4865, + "end": 4866, "loc": { "start": { - "line": 147, + "line": 158, "column": 13 }, "end": { - "line": 147, + "line": 158, "column": 14 } } @@ -53697,15 +58545,15 @@ "updateContext": null }, "value": "this", - "start": 4428, - "end": 4432, + "start": 4867, + "end": 4871, "loc": { "start": { - "line": 147, + "line": 158, "column": 15 }, "end": { - "line": 147, + "line": 158, "column": 19 } } @@ -53723,15 +58571,15 @@ "binop": null, "updateContext": null }, - "start": 4432, - "end": 4433, + "start": 4871, + "end": 4872, "loc": { "start": { - "line": 147, + "line": 158, "column": 19 }, "end": { - "line": 147, + "line": 158, "column": 20 } } @@ -53749,15 +58597,15 @@ "binop": null }, "value": "addStringAt", - "start": 4433, - "end": 4444, + "start": 4872, + "end": 4883, "loc": { "start": { - "line": 147, + "line": 158, "column": 20 }, "end": { - "line": 147, + "line": 158, "column": 31 } } @@ -53774,15 +58622,15 @@ "postfix": false, "binop": null }, - "start": 4444, - "end": 4445, + "start": 4883, + "end": 4884, "loc": { "start": { - "line": 147, + "line": 158, "column": 31 }, "end": { - "line": 147, + "line": 158, "column": 32 } } @@ -53800,15 +58648,15 @@ "binop": null }, "value": "output", - "start": 4445, - "end": 4451, + "start": 4884, + "end": 4890, "loc": { "start": { - "line": 147, + "line": 158, "column": 32 }, "end": { - "line": 147, + "line": 158, "column": 38 } } @@ -53826,15 +58674,15 @@ "binop": null, "updateContext": null }, - "start": 4451, - "end": 4452, + "start": 4890, + "end": 4891, "loc": { "start": { - "line": 147, + "line": 158, "column": 38 }, "end": { - "line": 147, + "line": 158, "column": 39 } } @@ -53853,15 +58701,15 @@ "updateContext": null }, "value": "*", - "start": 4453, - "end": 4456, + "start": 4892, + "end": 4895, "loc": { "start": { - "line": 147, + "line": 158, "column": 40 }, "end": { - "line": 147, + "line": 158, "column": 43 } } @@ -53879,15 +58727,15 @@ "binop": null, "updateContext": null }, - "start": 4456, - "end": 4457, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 147, + "line": 158, "column": 43 }, "end": { - "line": 147, + "line": 158, "column": 44 } } @@ -53905,15 +58753,15 @@ "binop": null }, "value": "caretPos", - "start": 4458, - "end": 4466, + "start": 4897, + "end": 4905, "loc": { "start": { - "line": 147, + "line": 158, "column": 45 }, "end": { - "line": 147, + "line": 158, "column": 53 } } @@ -53930,15 +58778,15 @@ "postfix": false, "binop": null }, - "start": 4466, - "end": 4467, + "start": 4905, + "end": 4906, "loc": { "start": { - "line": 147, + "line": 158, "column": 53 }, "end": { - "line": 147, + "line": 158, "column": 54 } } @@ -53956,15 +58804,15 @@ "binop": null, "updateContext": null }, - "start": 4467, - "end": 4468, + "start": 4906, + "end": 4907, "loc": { "start": { - "line": 147, + "line": 158, "column": 54 }, "end": { - "line": 147, + "line": 158, "column": 55 } } @@ -53984,15 +58832,15 @@ "updateContext": null }, "value": "else", - "start": 4474, - "end": 4478, + "start": 4913, + "end": 4917, "loc": { "start": { - "line": 148, + "line": 159, "column": 4 }, "end": { - "line": 148, + "line": 159, "column": 8 } } @@ -54012,15 +58860,15 @@ "updateContext": null }, "value": "if", - "start": 4479, - "end": 4481, + "start": 4918, + "end": 4920, "loc": { "start": { - "line": 148, + "line": 159, "column": 9 }, "end": { - "line": 148, + "line": 159, "column": 11 } } @@ -54037,15 +58885,15 @@ "postfix": false, "binop": null }, - "start": 4481, - "end": 4482, + "start": 4920, + "end": 4921, "loc": { "start": { - "line": 148, + "line": 159, "column": 11 }, "end": { - "line": 148, + "line": 159, "column": 12 } } @@ -54063,15 +58911,15 @@ "binop": null }, "value": "button", - "start": 4482, - "end": 4488, + "start": 4921, + "end": 4927, "loc": { "start": { - "line": 148, + "line": 159, "column": 12 }, "end": { - "line": 148, + "line": 159, "column": 18 } } @@ -54090,15 +58938,15 @@ "updateContext": null }, "value": "===", - "start": 4489, - "end": 4492, + "start": 4928, + "end": 4931, "loc": { "start": { - "line": 148, + "line": 159, "column": 19 }, "end": { - "line": 148, + "line": 159, "column": 22 } } @@ -54117,15 +58965,15 @@ "updateContext": null }, "value": "{numpadsubtract}", - "start": 4493, - "end": 4511, + "start": 4932, + "end": 4950, "loc": { "start": { - "line": 148, + "line": 159, "column": 23 }, "end": { - "line": 148, + "line": 159, "column": 41 } } @@ -54142,15 +58990,15 @@ "postfix": false, "binop": null }, - "start": 4511, - "end": 4512, + "start": 4950, + "end": 4951, "loc": { "start": { - "line": 148, + "line": 159, "column": 41 }, "end": { - "line": 148, + "line": 159, "column": 42 } } @@ -54168,15 +59016,15 @@ "binop": null }, "value": "output", - "start": 4520, - "end": 4526, + "start": 4959, + "end": 4965, "loc": { "start": { - "line": 149, + "line": 160, "column": 6 }, "end": { - "line": 149, + "line": 160, "column": 12 } } @@ -54195,15 +59043,15 @@ "updateContext": null }, "value": "=", - "start": 4527, - "end": 4528, + "start": 4966, + "end": 4967, "loc": { "start": { - "line": 149, + "line": 160, "column": 13 }, "end": { - "line": 149, + "line": 160, "column": 14 } } @@ -54223,15 +59071,15 @@ "updateContext": null }, "value": "this", - "start": 4529, - "end": 4533, + "start": 4968, + "end": 4972, "loc": { "start": { - "line": 149, + "line": 160, "column": 15 }, "end": { - "line": 149, + "line": 160, "column": 19 } } @@ -54249,15 +59097,15 @@ "binop": null, "updateContext": null }, - "start": 4533, - "end": 4534, + "start": 4972, + "end": 4973, "loc": { "start": { - "line": 149, + "line": 160, "column": 19 }, "end": { - "line": 149, + "line": 160, "column": 20 } } @@ -54275,15 +59123,15 @@ "binop": null }, "value": "addStringAt", - "start": 4534, - "end": 4545, + "start": 4973, + "end": 4984, "loc": { "start": { - "line": 149, + "line": 160, "column": 20 }, "end": { - "line": 149, + "line": 160, "column": 31 } } @@ -54300,15 +59148,15 @@ "postfix": false, "binop": null }, - "start": 4545, - "end": 4546, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 149, + "line": 160, "column": 31 }, "end": { - "line": 149, + "line": 160, "column": 32 } } @@ -54326,15 +59174,15 @@ "binop": null }, "value": "output", - "start": 4546, - "end": 4552, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 149, + "line": 160, "column": 32 }, "end": { - "line": 149, + "line": 160, "column": 38 } } @@ -54352,15 +59200,15 @@ "binop": null, "updateContext": null }, - "start": 4552, - "end": 4553, + "start": 4991, + "end": 4992, "loc": { "start": { - "line": 149, + "line": 160, "column": 38 }, "end": { - "line": 149, + "line": 160, "column": 39 } } @@ -54379,15 +59227,15 @@ "updateContext": null }, "value": "-", - "start": 4554, - "end": 4557, + "start": 4993, + "end": 4996, "loc": { "start": { - "line": 149, + "line": 160, "column": 40 }, "end": { - "line": 149, + "line": 160, "column": 43 } } @@ -54405,15 +59253,15 @@ "binop": null, "updateContext": null }, - "start": 4557, - "end": 4558, + "start": 4996, + "end": 4997, "loc": { "start": { - "line": 149, + "line": 160, "column": 43 }, "end": { - "line": 149, + "line": 160, "column": 44 } } @@ -54431,15 +59279,15 @@ "binop": null }, "value": "caretPos", - "start": 4559, - "end": 4567, + "start": 4998, + "end": 5006, "loc": { "start": { - "line": 149, + "line": 160, "column": 45 }, "end": { - "line": 149, + "line": 160, "column": 53 } } @@ -54456,15 +59304,15 @@ "postfix": false, "binop": null }, - "start": 4567, - "end": 4568, + "start": 5006, + "end": 5007, "loc": { "start": { - "line": 149, + "line": 160, "column": 53 }, "end": { - "line": 149, + "line": 160, "column": 54 } } @@ -54482,15 +59330,15 @@ "binop": null, "updateContext": null }, - "start": 4568, - "end": 4569, + "start": 5007, + "end": 5008, "loc": { "start": { - "line": 149, + "line": 160, "column": 54 }, "end": { - "line": 149, + "line": 160, "column": 55 } } @@ -54510,15 +59358,15 @@ "updateContext": null }, "value": "else", - "start": 4577, - "end": 4581, + "start": 5016, + "end": 5020, "loc": { "start": { - "line": 151, + "line": 162, "column": 4 }, "end": { - "line": 151, + "line": 162, "column": 8 } } @@ -54538,15 +59386,15 @@ "updateContext": null }, "value": "if", - "start": 4582, - "end": 4584, + "start": 5021, + "end": 5023, "loc": { "start": { - "line": 151, + "line": 162, "column": 9 }, "end": { - "line": 151, + "line": 162, "column": 11 } } @@ -54563,15 +59411,15 @@ "postfix": false, "binop": null }, - "start": 4584, - "end": 4585, + "start": 5023, + "end": 5024, "loc": { "start": { - "line": 151, + "line": 162, "column": 11 }, "end": { - "line": 151, + "line": 162, "column": 12 } } @@ -54589,15 +59437,15 @@ "binop": null }, "value": "button", - "start": 4585, - "end": 4591, + "start": 5024, + "end": 5030, "loc": { "start": { - "line": 151, + "line": 162, "column": 12 }, "end": { - "line": 151, + "line": 162, "column": 18 } } @@ -54616,15 +59464,15 @@ "updateContext": null }, "value": "===", - "start": 4592, - "end": 4595, + "start": 5031, + "end": 5034, "loc": { "start": { - "line": 151, + "line": 162, "column": 19 }, "end": { - "line": 151, + "line": 162, "column": 22 } } @@ -54643,15 +59491,15 @@ "updateContext": null }, "value": "{numpadadd}", - "start": 4596, - "end": 4609, + "start": 5035, + "end": 5048, "loc": { "start": { - "line": 151, + "line": 162, "column": 23 }, "end": { - "line": 151, + "line": 162, "column": 36 } } @@ -54668,15 +59516,15 @@ "postfix": false, "binop": null }, - "start": 4609, - "end": 4610, + "start": 5048, + "end": 5049, "loc": { "start": { - "line": 151, + "line": 162, "column": 36 }, "end": { - "line": 151, + "line": 162, "column": 37 } } @@ -54694,15 +59542,15 @@ "binop": null }, "value": "output", - "start": 4618, - "end": 4624, + "start": 5057, + "end": 5063, "loc": { "start": { - "line": 152, + "line": 163, "column": 6 }, "end": { - "line": 152, + "line": 163, "column": 12 } } @@ -54721,15 +59569,15 @@ "updateContext": null }, "value": "=", - "start": 4625, - "end": 4626, + "start": 5064, + "end": 5065, "loc": { "start": { - "line": 152, + "line": 163, "column": 13 }, "end": { - "line": 152, + "line": 163, "column": 14 } } @@ -54749,15 +59597,15 @@ "updateContext": null }, "value": "this", - "start": 4627, - "end": 4631, + "start": 5066, + "end": 5070, "loc": { "start": { - "line": 152, + "line": 163, "column": 15 }, "end": { - "line": 152, + "line": 163, "column": 19 } } @@ -54775,15 +59623,15 @@ "binop": null, "updateContext": null }, - "start": 4631, - "end": 4632, + "start": 5070, + "end": 5071, "loc": { "start": { - "line": 152, + "line": 163, "column": 19 }, "end": { - "line": 152, + "line": 163, "column": 20 } } @@ -54801,15 +59649,15 @@ "binop": null }, "value": "addStringAt", - "start": 4632, - "end": 4643, + "start": 5071, + "end": 5082, "loc": { "start": { - "line": 152, + "line": 163, "column": 20 }, "end": { - "line": 152, + "line": 163, "column": 31 } } @@ -54826,15 +59674,15 @@ "postfix": false, "binop": null }, - "start": 4643, - "end": 4644, + "start": 5082, + "end": 5083, "loc": { "start": { - "line": 152, + "line": 163, "column": 31 }, "end": { - "line": 152, + "line": 163, "column": 32 } } @@ -54852,15 +59700,15 @@ "binop": null }, "value": "output", - "start": 4644, - "end": 4650, + "start": 5083, + "end": 5089, "loc": { "start": { - "line": 152, + "line": 163, "column": 32 }, "end": { - "line": 152, + "line": 163, "column": 38 } } @@ -54878,15 +59726,15 @@ "binop": null, "updateContext": null }, - "start": 4650, - "end": 4651, + "start": 5089, + "end": 5090, "loc": { "start": { - "line": 152, + "line": 163, "column": 38 }, "end": { - "line": 152, + "line": 163, "column": 39 } } @@ -54905,15 +59753,15 @@ "updateContext": null }, "value": "+", - "start": 4652, - "end": 4655, + "start": 5091, + "end": 5094, "loc": { "start": { - "line": 152, + "line": 163, "column": 40 }, "end": { - "line": 152, + "line": 163, "column": 43 } } @@ -54931,15 +59779,15 @@ "binop": null, "updateContext": null }, - "start": 4655, - "end": 4656, + "start": 5094, + "end": 5095, "loc": { "start": { - "line": 152, + "line": 163, "column": 43 }, "end": { - "line": 152, + "line": 163, "column": 44 } } @@ -54957,15 +59805,15 @@ "binop": null }, "value": "caretPos", - "start": 4657, - "end": 4665, + "start": 5096, + "end": 5104, "loc": { "start": { - "line": 152, + "line": 163, "column": 45 }, "end": { - "line": 152, + "line": 163, "column": 53 } } @@ -54982,15 +59830,15 @@ "postfix": false, "binop": null }, - "start": 4665, - "end": 4666, + "start": 5104, + "end": 5105, "loc": { "start": { - "line": 152, + "line": 163, "column": 53 }, "end": { - "line": 152, + "line": 163, "column": 54 } } @@ -55008,15 +59856,15 @@ "binop": null, "updateContext": null }, - "start": 4666, - "end": 4667, + "start": 5105, + "end": 5106, "loc": { "start": { - "line": 152, + "line": 163, "column": 54 }, "end": { - "line": 152, + "line": 163, "column": 55 } } @@ -55036,15 +59884,15 @@ "updateContext": null }, "value": "else", - "start": 4675, - "end": 4679, + "start": 5114, + "end": 5118, "loc": { "start": { - "line": 154, + "line": 165, "column": 4 }, "end": { - "line": 154, + "line": 165, "column": 8 } } @@ -55064,15 +59912,15 @@ "updateContext": null }, "value": "if", - "start": 4680, - "end": 4682, + "start": 5119, + "end": 5121, "loc": { "start": { - "line": 154, + "line": 165, "column": 9 }, "end": { - "line": 154, + "line": 165, "column": 11 } } @@ -55089,15 +59937,15 @@ "postfix": false, "binop": null }, - "start": 4682, - "end": 4683, + "start": 5121, + "end": 5122, "loc": { "start": { - "line": 154, + "line": 165, "column": 11 }, "end": { - "line": 154, + "line": 165, "column": 12 } } @@ -55115,15 +59963,15 @@ "binop": null }, "value": "button", - "start": 4683, - "end": 4689, + "start": 5122, + "end": 5128, "loc": { "start": { - "line": 154, + "line": 165, "column": 12 }, "end": { - "line": 154, + "line": 165, "column": 18 } } @@ -55142,15 +59990,15 @@ "updateContext": null }, "value": "===", - "start": 4690, - "end": 4693, + "start": 5129, + "end": 5132, "loc": { "start": { - "line": 154, + "line": 165, "column": 19 }, "end": { - "line": 154, + "line": 165, "column": 22 } } @@ -55169,15 +60017,15 @@ "updateContext": null }, "value": "{numpaddecimal}", - "start": 4694, - "end": 4711, + "start": 5133, + "end": 5150, "loc": { "start": { - "line": 154, + "line": 165, "column": 23 }, "end": { - "line": 154, + "line": 165, "column": 40 } } @@ -55194,15 +60042,15 @@ "postfix": false, "binop": null }, - "start": 4711, - "end": 4712, + "start": 5150, + "end": 5151, "loc": { "start": { - "line": 154, + "line": 165, "column": 40 }, "end": { - "line": 154, + "line": 165, "column": 41 } } @@ -55220,15 +60068,15 @@ "binop": null }, "value": "output", - "start": 4720, - "end": 4726, + "start": 5159, + "end": 5165, "loc": { "start": { - "line": 155, + "line": 166, "column": 6 }, "end": { - "line": 155, + "line": 166, "column": 12 } } @@ -55247,15 +60095,15 @@ "updateContext": null }, "value": "=", - "start": 4727, - "end": 4728, + "start": 5166, + "end": 5167, "loc": { "start": { - "line": 155, + "line": 166, "column": 13 }, "end": { - "line": 155, + "line": 166, "column": 14 } } @@ -55275,15 +60123,15 @@ "updateContext": null }, "value": "this", - "start": 4729, - "end": 4733, + "start": 5168, + "end": 5172, "loc": { "start": { - "line": 155, + "line": 166, "column": 15 }, "end": { - "line": 155, + "line": 166, "column": 19 } } @@ -55301,15 +60149,15 @@ "binop": null, "updateContext": null }, - "start": 4733, - "end": 4734, + "start": 5172, + "end": 5173, "loc": { "start": { - "line": 155, + "line": 166, "column": 19 }, "end": { - "line": 155, + "line": 166, "column": 20 } } @@ -55327,15 +60175,15 @@ "binop": null }, "value": "addStringAt", - "start": 4734, - "end": 4745, + "start": 5173, + "end": 5184, "loc": { "start": { - "line": 155, + "line": 166, "column": 20 }, "end": { - "line": 155, + "line": 166, "column": 31 } } @@ -55352,15 +60200,15 @@ "postfix": false, "binop": null }, - "start": 4745, - "end": 4746, + "start": 5184, + "end": 5185, "loc": { "start": { - "line": 155, + "line": 166, "column": 31 }, "end": { - "line": 155, + "line": 166, "column": 32 } } @@ -55378,15 +60226,15 @@ "binop": null }, "value": "output", - "start": 4746, - "end": 4752, + "start": 5185, + "end": 5191, "loc": { "start": { - "line": 155, + "line": 166, "column": 32 }, "end": { - "line": 155, + "line": 166, "column": 38 } } @@ -55404,15 +60252,15 @@ "binop": null, "updateContext": null }, - "start": 4752, - "end": 4753, + "start": 5191, + "end": 5192, "loc": { "start": { - "line": 155, + "line": 166, "column": 38 }, "end": { - "line": 155, + "line": 166, "column": 39 } } @@ -55431,15 +60279,15 @@ "updateContext": null }, "value": ".", - "start": 4754, - "end": 4757, + "start": 5193, + "end": 5196, "loc": { "start": { - "line": 155, + "line": 166, "column": 40 }, "end": { - "line": 155, + "line": 166, "column": 43 } } @@ -55457,15 +60305,15 @@ "binop": null, "updateContext": null }, - "start": 4757, - "end": 4758, + "start": 5196, + "end": 5197, "loc": { "start": { - "line": 155, + "line": 166, "column": 43 }, "end": { - "line": 155, + "line": 166, "column": 44 } } @@ -55483,15 +60331,15 @@ "binop": null }, "value": "caretPos", - "start": 4759, - "end": 4767, + "start": 5198, + "end": 5206, "loc": { "start": { - "line": 155, + "line": 166, "column": 45 }, "end": { - "line": 155, + "line": 166, "column": 53 } } @@ -55508,15 +60356,15 @@ "postfix": false, "binop": null }, - "start": 4767, - "end": 4768, + "start": 5206, + "end": 5207, "loc": { "start": { - "line": 155, + "line": 166, "column": 53 }, "end": { - "line": 155, + "line": 166, "column": 54 } } @@ -55534,15 +60382,15 @@ "binop": null, "updateContext": null }, - "start": 4768, - "end": 4769, + "start": 5207, + "end": 5208, "loc": { "start": { - "line": 155, + "line": 166, "column": 54 }, "end": { - "line": 155, + "line": 166, "column": 55 } } @@ -55562,15 +60410,15 @@ "updateContext": null }, "value": "else", - "start": 4777, - "end": 4781, + "start": 5216, + "end": 5220, "loc": { "start": { - "line": 157, + "line": 168, "column": 4 }, "end": { - "line": 157, + "line": 168, "column": 8 } } @@ -55590,15 +60438,15 @@ "updateContext": null }, "value": "if", - "start": 4782, - "end": 4784, + "start": 5221, + "end": 5223, "loc": { "start": { - "line": 157, + "line": 168, "column": 9 }, "end": { - "line": 157, + "line": 168, "column": 11 } } @@ -55615,15 +60463,15 @@ "postfix": false, "binop": null }, - "start": 4784, - "end": 4785, + "start": 5223, + "end": 5224, "loc": { "start": { - "line": 157, + "line": 168, "column": 11 }, "end": { - "line": 157, + "line": 168, "column": 12 } } @@ -55641,15 +60489,15 @@ "binop": null }, "value": "button", - "start": 4785, - "end": 4791, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 157, + "line": 168, "column": 12 }, "end": { - "line": 157, + "line": 168, "column": 18 } } @@ -55668,15 +60516,15 @@ "updateContext": null }, "value": "===", - "start": 4792, - "end": 4795, + "start": 5231, + "end": 5234, "loc": { "start": { - "line": 157, + "line": 168, "column": 19 }, "end": { - "line": 157, + "line": 168, "column": 22 } } @@ -55695,15 +60543,15 @@ "updateContext": null }, "value": "{", - "start": 4796, - "end": 4799, + "start": 5235, + "end": 5238, "loc": { "start": { - "line": 157, + "line": 168, "column": 23 }, "end": { - "line": 157, + "line": 168, "column": 26 } } @@ -55722,15 +60570,15 @@ "updateContext": null }, "value": "||", - "start": 4800, - "end": 4802, + "start": 5239, + "end": 5241, "loc": { "start": { - "line": 157, + "line": 168, "column": 27 }, "end": { - "line": 157, + "line": 168, "column": 29 } } @@ -55748,15 +60596,15 @@ "binop": null }, "value": "button", - "start": 4803, - "end": 4809, + "start": 5242, + "end": 5248, "loc": { "start": { - "line": 157, + "line": 168, "column": 30 }, "end": { - "line": 157, + "line": 168, "column": 36 } } @@ -55775,15 +60623,15 @@ "updateContext": null }, "value": "===", - "start": 4810, - "end": 4813, + "start": 5249, + "end": 5252, "loc": { "start": { - "line": 157, + "line": 168, "column": 37 }, "end": { - "line": 157, + "line": 168, "column": 40 } } @@ -55802,15 +60650,15 @@ "updateContext": null }, "value": "}", - "start": 4814, - "end": 4817, + "start": 5253, + "end": 5256, "loc": { "start": { - "line": 157, + "line": 168, "column": 41 }, "end": { - "line": 157, + "line": 168, "column": 44 } } @@ -55827,15 +60675,15 @@ "postfix": false, "binop": null }, - "start": 4817, - "end": 4818, + "start": 5256, + "end": 5257, "loc": { "start": { - "line": 157, + "line": 168, "column": 44 }, "end": { - "line": 157, + "line": 168, "column": 45 } } @@ -55853,15 +60701,15 @@ "binop": null }, "value": "output", - "start": 4826, - "end": 4832, + "start": 5265, + "end": 5271, "loc": { "start": { - "line": 158, + "line": 169, "column": 6 }, "end": { - "line": 158, + "line": 169, "column": 12 } } @@ -55880,15 +60728,15 @@ "updateContext": null }, "value": "=", - "start": 4833, - "end": 4834, + "start": 5272, + "end": 5273, "loc": { "start": { - "line": 158, + "line": 169, "column": 13 }, "end": { - "line": 158, + "line": 169, "column": 14 } } @@ -55908,15 +60756,15 @@ "updateContext": null }, "value": "this", - "start": 4835, - "end": 4839, + "start": 5274, + "end": 5278, "loc": { "start": { - "line": 158, + "line": 169, "column": 15 }, "end": { - "line": 158, + "line": 169, "column": 19 } } @@ -55934,15 +60782,15 @@ "binop": null, "updateContext": null }, - "start": 4839, - "end": 4840, + "start": 5278, + "end": 5279, "loc": { "start": { - "line": 158, + "line": 169, "column": 19 }, "end": { - "line": 158, + "line": 169, "column": 20 } } @@ -55960,15 +60808,15 @@ "binop": null }, "value": "addStringAt", - "start": 4840, - "end": 4851, + "start": 5279, + "end": 5290, "loc": { "start": { - "line": 158, + "line": 169, "column": 20 }, "end": { - "line": 158, + "line": 169, "column": 31 } } @@ -55985,15 +60833,15 @@ "postfix": false, "binop": null }, - "start": 4851, - "end": 4852, + "start": 5290, + "end": 5291, "loc": { "start": { - "line": 158, + "line": 169, "column": 31 }, "end": { - "line": 158, + "line": 169, "column": 32 } } @@ -56011,15 +60859,15 @@ "binop": null }, "value": "output", - "start": 4852, - "end": 4858, + "start": 5291, + "end": 5297, "loc": { "start": { - "line": 158, + "line": 169, "column": 32 }, "end": { - "line": 158, + "line": 169, "column": 38 } } @@ -56037,15 +60885,15 @@ "binop": null, "updateContext": null }, - "start": 4858, - "end": 4859, + "start": 5297, + "end": 5298, "loc": { "start": { - "line": 158, + "line": 169, "column": 38 }, "end": { - "line": 158, + "line": 169, "column": 39 } } @@ -56063,15 +60911,15 @@ "binop": null }, "value": "button", - "start": 4860, - "end": 4866, + "start": 5299, + "end": 5305, "loc": { "start": { - "line": 158, + "line": 169, "column": 40 }, "end": { - "line": 158, + "line": 169, "column": 46 } } @@ -56089,15 +60937,15 @@ "binop": null, "updateContext": null }, - "start": 4866, - "end": 4867, + "start": 5305, + "end": 5306, "loc": { "start": { - "line": 158, + "line": 169, "column": 46 }, "end": { - "line": 158, + "line": 169, "column": 47 } } @@ -56115,15 +60963,15 @@ "binop": null }, "value": "caretPos", - "start": 4868, - "end": 4876, + "start": 5307, + "end": 5315, "loc": { "start": { - "line": 158, + "line": 169, "column": 48 }, "end": { - "line": 158, + "line": 169, "column": 56 } } @@ -56140,15 +60988,15 @@ "postfix": false, "binop": null }, - "start": 4876, - "end": 4877, + "start": 5315, + "end": 5316, "loc": { "start": { - "line": 158, + "line": 169, "column": 56 }, "end": { - "line": 158, + "line": 169, "column": 57 } } @@ -56166,15 +61014,15 @@ "binop": null, "updateContext": null }, - "start": 4877, - "end": 4878, + "start": 5316, + "end": 5317, "loc": { "start": { - "line": 158, + "line": 169, "column": 57 }, "end": { - "line": 158, + "line": 169, "column": 58 } } @@ -56194,15 +61042,15 @@ "updateContext": null }, "value": "else", - "start": 4886, - "end": 4890, + "start": 5325, + "end": 5329, "loc": { "start": { - "line": 160, + "line": 171, "column": 4 }, "end": { - "line": 160, + "line": 171, "column": 8 } } @@ -56222,15 +61070,15 @@ "updateContext": null }, "value": "if", - "start": 4891, - "end": 4893, + "start": 5330, + "end": 5332, "loc": { "start": { - "line": 160, + "line": 171, "column": 9 }, "end": { - "line": 160, + "line": 171, "column": 11 } } @@ -56247,15 +61095,15 @@ "postfix": false, "binop": null }, - "start": 4893, - "end": 4894, + "start": 5332, + "end": 5333, "loc": { "start": { - "line": 160, + "line": 171, "column": 11 }, "end": { - "line": 160, + "line": 171, "column": 12 } } @@ -56274,15 +61122,15 @@ "updateContext": null }, "value": "!", - "start": 4894, - "end": 4895, + "start": 5333, + "end": 5334, "loc": { "start": { - "line": 160, + "line": 171, "column": 12 }, "end": { - "line": 160, + "line": 171, "column": 13 } } @@ -56300,15 +61148,15 @@ "binop": null }, "value": "button", - "start": 4895, - "end": 4901, + "start": 5334, + "end": 5340, "loc": { "start": { - "line": 160, + "line": 171, "column": 13 }, "end": { - "line": 160, + "line": 171, "column": 19 } } @@ -56326,15 +61174,15 @@ "binop": null, "updateContext": null }, - "start": 4901, - "end": 4902, + "start": 5340, + "end": 5341, "loc": { "start": { - "line": 160, + "line": 171, "column": 19 }, "end": { - "line": 160, + "line": 171, "column": 20 } } @@ -56352,15 +61200,15 @@ "binop": null }, "value": "includes", - "start": 4902, - "end": 4910, + "start": 5341, + "end": 5349, "loc": { "start": { - "line": 160, + "line": 171, "column": 20 }, "end": { - "line": 160, + "line": 171, "column": 28 } } @@ -56377,15 +61225,15 @@ "postfix": false, "binop": null }, - "start": 4910, - "end": 4911, + "start": 5349, + "end": 5350, "loc": { "start": { - "line": 160, + "line": 171, "column": 28 }, "end": { - "line": 160, + "line": 171, "column": 29 } } @@ -56404,15 +61252,15 @@ "updateContext": null }, "value": "{", - "start": 4911, - "end": 4914, + "start": 5350, + "end": 5353, "loc": { "start": { - "line": 160, + "line": 171, "column": 29 }, "end": { - "line": 160, + "line": 171, "column": 32 } } @@ -56429,15 +61277,15 @@ "postfix": false, "binop": null }, - "start": 4914, - "end": 4915, + "start": 5353, + "end": 5354, "loc": { "start": { - "line": 160, + "line": 171, "column": 32 }, "end": { - "line": 160, + "line": 171, "column": 33 } } @@ -56456,15 +61304,15 @@ "updateContext": null }, "value": "&&", - "start": 4916, - "end": 4918, + "start": 5355, + "end": 5357, "loc": { "start": { - "line": 160, + "line": 171, "column": 34 }, "end": { - "line": 160, + "line": 171, "column": 36 } } @@ -56483,15 +61331,15 @@ "updateContext": null }, "value": "!", - "start": 4919, - "end": 4920, + "start": 5358, + "end": 5359, "loc": { "start": { - "line": 160, + "line": 171, "column": 37 }, "end": { - "line": 160, + "line": 171, "column": 38 } } @@ -56509,15 +61357,15 @@ "binop": null }, "value": "button", - "start": 4920, - "end": 4926, + "start": 5359, + "end": 5365, "loc": { "start": { - "line": 160, + "line": 171, "column": 38 }, "end": { - "line": 160, + "line": 171, "column": 44 } } @@ -56535,15 +61383,15 @@ "binop": null, "updateContext": null }, - "start": 4926, - "end": 4927, + "start": 5365, + "end": 5366, "loc": { "start": { - "line": 160, + "line": 171, "column": 44 }, "end": { - "line": 160, + "line": 171, "column": 45 } } @@ -56561,15 +61409,15 @@ "binop": null }, "value": "includes", - "start": 4927, - "end": 4935, + "start": 5366, + "end": 5374, "loc": { "start": { - "line": 160, + "line": 171, "column": 45 }, "end": { - "line": 160, + "line": 171, "column": 53 } } @@ -56586,15 +61434,15 @@ "postfix": false, "binop": null }, - "start": 4935, - "end": 4936, + "start": 5374, + "end": 5375, "loc": { "start": { - "line": 160, + "line": 171, "column": 53 }, "end": { - "line": 160, + "line": 171, "column": 54 } } @@ -56613,15 +61461,15 @@ "updateContext": null }, "value": "}", - "start": 4936, - "end": 4939, + "start": 5375, + "end": 5378, "loc": { "start": { - "line": 160, + "line": 171, "column": 54 }, "end": { - "line": 160, + "line": 171, "column": 57 } } @@ -56638,15 +61486,15 @@ "postfix": false, "binop": null }, - "start": 4939, - "end": 4940, + "start": 5378, + "end": 5379, "loc": { "start": { - "line": 160, + "line": 171, "column": 57 }, "end": { - "line": 160, + "line": 171, "column": 58 } } @@ -56663,15 +61511,15 @@ "postfix": false, "binop": null }, - "start": 4940, - "end": 4941, + "start": 5379, + "end": 5380, "loc": { "start": { - "line": 160, + "line": 171, "column": 58 }, "end": { - "line": 160, + "line": 171, "column": 59 } } @@ -56689,15 +61537,15 @@ "binop": null }, "value": "output", - "start": 4949, - "end": 4955, + "start": 5388, + "end": 5394, "loc": { "start": { - "line": 161, + "line": 172, "column": 6 }, "end": { - "line": 161, + "line": 172, "column": 12 } } @@ -56716,15 +61564,15 @@ "updateContext": null }, "value": "=", - "start": 4956, - "end": 4957, + "start": 5395, + "end": 5396, "loc": { "start": { - "line": 161, + "line": 172, "column": 13 }, "end": { - "line": 161, + "line": 172, "column": 14 } } @@ -56744,15 +61592,15 @@ "updateContext": null }, "value": "this", - "start": 4958, - "end": 4962, + "start": 5397, + "end": 5401, "loc": { "start": { - "line": 161, + "line": 172, "column": 15 }, "end": { - "line": 161, + "line": 172, "column": 19 } } @@ -56770,15 +61618,15 @@ "binop": null, "updateContext": null }, - "start": 4962, - "end": 4963, + "start": 5401, + "end": 5402, "loc": { "start": { - "line": 161, + "line": 172, "column": 19 }, "end": { - "line": 161, + "line": 172, "column": 20 } } @@ -56796,15 +61644,15 @@ "binop": null }, "value": "addStringAt", - "start": 4963, - "end": 4974, + "start": 5402, + "end": 5413, "loc": { "start": { - "line": 161, + "line": 172, "column": 20 }, "end": { - "line": 161, + "line": 172, "column": 31 } } @@ -56821,15 +61669,15 @@ "postfix": false, "binop": null }, - "start": 4974, - "end": 4975, + "start": 5413, + "end": 5414, "loc": { "start": { - "line": 161, + "line": 172, "column": 31 }, "end": { - "line": 161, + "line": 172, "column": 32 } } @@ -56847,15 +61695,15 @@ "binop": null }, "value": "output", - "start": 4975, - "end": 4981, + "start": 5414, + "end": 5420, "loc": { "start": { - "line": 161, + "line": 172, "column": 32 }, "end": { - "line": 161, + "line": 172, "column": 38 } } @@ -56873,15 +61721,15 @@ "binop": null, "updateContext": null }, - "start": 4981, - "end": 4982, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 161, + "line": 172, "column": 38 }, "end": { - "line": 161, + "line": 172, "column": 39 } } @@ -56899,15 +61747,15 @@ "binop": null }, "value": "button", - "start": 4983, - "end": 4989, + "start": 5422, + "end": 5428, "loc": { "start": { - "line": 161, + "line": 172, "column": 40 }, "end": { - "line": 161, + "line": 172, "column": 46 } } @@ -56925,15 +61773,15 @@ "binop": null, "updateContext": null }, - "start": 4989, - "end": 4990, + "start": 5428, + "end": 5429, "loc": { "start": { - "line": 161, + "line": 172, "column": 46 }, "end": { - "line": 161, + "line": 172, "column": 47 } } @@ -56951,15 +61799,15 @@ "binop": null }, "value": "caretPos", - "start": 4991, - "end": 4999, + "start": 5430, + "end": 5438, "loc": { "start": { - "line": 161, + "line": 172, "column": 48 }, "end": { - "line": 161, + "line": 172, "column": 56 } } @@ -56976,15 +61824,15 @@ "postfix": false, "binop": null }, - "start": 4999, - "end": 5000, + "start": 5438, + "end": 5439, "loc": { "start": { - "line": 161, + "line": 172, "column": 56 }, "end": { - "line": 161, + "line": 172, "column": 57 } } @@ -57002,15 +61850,15 @@ "binop": null, "updateContext": null }, - "start": 5000, - "end": 5001, + "start": 5439, + "end": 5440, "loc": { "start": { - "line": 161, + "line": 172, "column": 57 }, "end": { - "line": 161, + "line": 172, "column": 58 } } @@ -57030,15 +61878,15 @@ "updateContext": null }, "value": "return", - "start": 5009, - "end": 5015, + "start": 5448, + "end": 5454, "loc": { "start": { - "line": 163, + "line": 174, "column": 4 }, "end": { - "line": 163, + "line": 174, "column": 10 } } @@ -57056,15 +61904,15 @@ "binop": null }, "value": "output", - "start": 5016, - "end": 5022, + "start": 5455, + "end": 5461, "loc": { "start": { - "line": 163, + "line": 174, "column": 11 }, "end": { - "line": 163, + "line": 174, "column": 17 } } @@ -57082,15 +61930,15 @@ "binop": null, "updateContext": null }, - "start": 5022, - "end": 5023, + "start": 5461, + "end": 5462, "loc": { "start": { - "line": 163, + "line": 174, "column": 17 }, "end": { - "line": 163, + "line": 174, "column": 18 } } @@ -57107,15 +61955,15 @@ "postfix": false, "binop": null }, - "start": 5027, - "end": 5028, + "start": 5466, + "end": 5467, "loc": { "start": { - "line": 164, + "line": 175, "column": 2 }, "end": { - "line": 164, + "line": 175, "column": 3 } } @@ -57123,15 +61971,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5032, - "end": 5274, + "start": 5471, + "end": 5713, "loc": { "start": { - "line": 165, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 181, "column": 5 } } @@ -57149,46 +61997,19 @@ "binop": null }, "value": "updateCaretPos", - "start": 5278, - "end": 5292, + "start": 5717, + "end": 5731, "loc": { "start": { - "line": 171, + "line": 182, "column": 2 }, "end": { - "line": 171, + "line": 182, "column": 16 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5293, - "end": 5294, - "loc": { - "start": { - "line": 171, - "column": 17 - }, - "end": { - "line": 171, - "column": 18 - } - } - }, { "type": { "label": "(", @@ -57201,16 +62022,16 @@ "postfix": false, "binop": null }, - "start": 5295, - "end": 5296, + "start": 5731, + "end": 5732, "loc": { "start": { - "line": 171, - "column": 19 + "line": 182, + "column": 16 }, "end": { - "line": 171, - "column": 20 + "line": 182, + "column": 17 } } }, @@ -57227,16 +62048,16 @@ "binop": null }, "value": "length", - "start": 5296, - "end": 5302, + "start": 5732, + "end": 5738, "loc": { "start": { - "line": 171, - "column": 20 + "line": 182, + "column": 17 }, "end": { - "line": 171, - "column": 26 + "line": 182, + "column": 23 } } }, @@ -57253,16 +62074,16 @@ "binop": null, "updateContext": null }, - "start": 5302, - "end": 5303, + "start": 5738, + "end": 5739, "loc": { "start": { - "line": 171, - "column": 26 + "line": 182, + "column": 23 }, "end": { - "line": 171, - "column": 27 + "line": 182, + "column": 24 } } }, @@ -57279,16 +62100,16 @@ "binop": null }, "value": "minus", - "start": 5304, - "end": 5309, + "start": 5740, + "end": 5745, "loc": { "start": { - "line": 171, - "column": 28 + "line": 182, + "column": 25 }, "end": { - "line": 171, - "column": 33 + "line": 182, + "column": 30 } } }, @@ -57304,42 +62125,16 @@ "postfix": false, "binop": null }, - "start": 5309, - "end": 5310, + "start": 5745, + "end": 5746, "loc": { "start": { - "line": 171, - "column": 33 + "line": 182, + "column": 30 }, "end": { - "line": 171, - "column": 34 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5311, - "end": 5313, - "loc": { - "start": { - "line": 171, - "column": 35 - }, - "end": { - "line": 171, - "column": 37 + "line": 182, + "column": 31 } } }, @@ -57355,16 +62150,16 @@ "postfix": false, "binop": null }, - "start": 5314, - "end": 5315, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 171, - "column": 38 + "line": 182, + "column": 31 }, "end": { - "line": 171, - "column": 39 + "line": 182, + "column": 32 } } }, @@ -57383,15 +62178,15 @@ "updateContext": null }, "value": "if", - "start": 5321, - "end": 5323, + "start": 5753, + "end": 5755, "loc": { "start": { - "line": 172, + "line": 183, "column": 4 }, "end": { - "line": 172, + "line": 183, "column": 6 } } @@ -57408,15 +62203,15 @@ "postfix": false, "binop": null }, - "start": 5323, - "end": 5324, + "start": 5755, + "end": 5756, "loc": { "start": { - "line": 172, + "line": 183, "column": 6 }, "end": { - "line": 172, + "line": 183, "column": 7 } } @@ -57434,15 +62229,15 @@ "binop": null }, "value": "minus", - "start": 5324, - "end": 5329, + "start": 5756, + "end": 5761, "loc": { "start": { - "line": 172, + "line": 183, "column": 7 }, "end": { - "line": 172, + "line": 183, "column": 12 } } @@ -57459,15 +62254,15 @@ "postfix": false, "binop": null }, - "start": 5329, - "end": 5330, + "start": 5761, + "end": 5762, "loc": { "start": { - "line": 172, + "line": 183, "column": 12 }, "end": { - "line": 172, + "line": 183, "column": 13 } } @@ -57484,15 +62279,15 @@ "postfix": false, "binop": null }, - "start": 5330, - "end": 5331, + "start": 5762, + "end": 5763, "loc": { "start": { - "line": 172, + "line": 183, "column": 13 }, "end": { - "line": 172, + "line": 183, "column": 14 } } @@ -57512,15 +62307,15 @@ "updateContext": null }, "value": "if", - "start": 5339, - "end": 5341, + "start": 5771, + "end": 5773, "loc": { "start": { - "line": 173, + "line": 184, "column": 6 }, "end": { - "line": 173, + "line": 184, "column": 8 } } @@ -57537,15 +62332,15 @@ "postfix": false, "binop": null }, - "start": 5341, - "end": 5342, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 173, + "line": 184, "column": 8 }, "end": { - "line": 173, + "line": 184, "column": 9 } } @@ -57565,15 +62360,15 @@ "updateContext": null }, "value": "this", - "start": 5342, - "end": 5346, + "start": 5774, + "end": 5778, "loc": { "start": { - "line": 173, + "line": 184, "column": 9 }, "end": { - "line": 173, + "line": 184, "column": 13 } } @@ -57591,15 +62386,15 @@ "binop": null, "updateContext": null }, - "start": 5346, - "end": 5347, + "start": 5778, + "end": 5779, "loc": { "start": { - "line": 173, + "line": 184, "column": 13 }, "end": { - "line": 173, + "line": 184, "column": 14 } } @@ -57617,15 +62412,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5347, - "end": 5369, + "start": 5779, + "end": 5801, "loc": { "start": { - "line": 173, + "line": 184, "column": 14 }, "end": { - "line": 173, + "line": 184, "column": 36 } } @@ -57643,15 +62438,15 @@ "binop": null, "updateContext": null }, - "start": 5369, - "end": 5370, + "start": 5801, + "end": 5802, "loc": { "start": { - "line": 173, + "line": 184, "column": 36 }, "end": { - "line": 173, + "line": 184, "column": 37 } } @@ -57669,15 +62464,15 @@ "binop": null }, "value": "caretPosition", - "start": 5370, - "end": 5383, + "start": 5802, + "end": 5815, "loc": { "start": { - "line": 173, + "line": 184, "column": 37 }, "end": { - "line": 173, + "line": 184, "column": 50 } } @@ -57696,15 +62491,15 @@ "updateContext": null }, "value": ">", - "start": 5384, - "end": 5385, + "start": 5816, + "end": 5817, "loc": { "start": { - "line": 173, + "line": 184, "column": 51 }, "end": { - "line": 173, + "line": 184, "column": 52 } } @@ -57723,15 +62518,15 @@ "updateContext": null }, "value": 0, - "start": 5386, - "end": 5387, + "start": 5818, + "end": 5819, "loc": { "start": { - "line": 173, + "line": 184, "column": 53 }, "end": { - "line": 173, + "line": 184, "column": 54 } } @@ -57748,15 +62543,15 @@ "postfix": false, "binop": null }, - "start": 5387, - "end": 5388, + "start": 5819, + "end": 5820, "loc": { "start": { - "line": 173, + "line": 184, "column": 54 }, "end": { - "line": 173, + "line": 184, "column": 55 } } @@ -57776,15 +62571,15 @@ "updateContext": null }, "value": "this", - "start": 5398, - "end": 5402, + "start": 5830, + "end": 5834, "loc": { "start": { - "line": 174, + "line": 185, "column": 8 }, "end": { - "line": 174, + "line": 185, "column": 12 } } @@ -57802,15 +62597,15 @@ "binop": null, "updateContext": null }, - "start": 5402, - "end": 5403, + "start": 5834, + "end": 5835, "loc": { "start": { - "line": 174, + "line": 185, "column": 12 }, "end": { - "line": 174, + "line": 185, "column": 13 } } @@ -57828,15 +62623,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5403, - "end": 5425, + "start": 5835, + "end": 5857, "loc": { "start": { - "line": 174, + "line": 185, "column": 13 }, "end": { - "line": 174, + "line": 185, "column": 35 } } @@ -57854,15 +62649,15 @@ "binop": null, "updateContext": null }, - "start": 5425, - "end": 5426, + "start": 5857, + "end": 5858, "loc": { "start": { - "line": 174, + "line": 185, "column": 35 }, "end": { - "line": 174, + "line": 185, "column": 36 } } @@ -57880,15 +62675,15 @@ "binop": null }, "value": "caretPosition", - "start": 5426, - "end": 5439, + "start": 5858, + "end": 5871, "loc": { "start": { - "line": 174, + "line": 185, "column": 36 }, "end": { - "line": 174, + "line": 185, "column": 49 } } @@ -57907,15 +62702,15 @@ "updateContext": null }, "value": "=", - "start": 5440, - "end": 5441, + "start": 5872, + "end": 5873, "loc": { "start": { - "line": 174, + "line": 185, "column": 50 }, "end": { - "line": 174, + "line": 185, "column": 51 } } @@ -57935,15 +62730,15 @@ "updateContext": null }, "value": "this", - "start": 5442, - "end": 5446, + "start": 5874, + "end": 5878, "loc": { "start": { - "line": 174, + "line": 185, "column": 52 }, "end": { - "line": 174, + "line": 185, "column": 56 } } @@ -57961,15 +62756,15 @@ "binop": null, "updateContext": null }, - "start": 5446, - "end": 5447, + "start": 5878, + "end": 5879, "loc": { "start": { - "line": 174, + "line": 185, "column": 56 }, "end": { - "line": 174, + "line": 185, "column": 57 } } @@ -57987,15 +62782,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5447, - "end": 5469, + "start": 5879, + "end": 5901, "loc": { "start": { - "line": 174, + "line": 185, "column": 57 }, "end": { - "line": 174, + "line": 185, "column": 79 } } @@ -58013,15 +62808,15 @@ "binop": null, "updateContext": null }, - "start": 5469, - "end": 5470, + "start": 5901, + "end": 5902, "loc": { "start": { - "line": 174, + "line": 185, "column": 79 }, "end": { - "line": 174, + "line": 185, "column": 80 } } @@ -58039,15 +62834,15 @@ "binop": null }, "value": "caretPosition", - "start": 5470, - "end": 5483, + "start": 5902, + "end": 5915, "loc": { "start": { - "line": 174, + "line": 185, "column": 80 }, "end": { - "line": 174, + "line": 185, "column": 93 } } @@ -58066,15 +62861,15 @@ "updateContext": null }, "value": "-", - "start": 5484, - "end": 5485, + "start": 5916, + "end": 5917, "loc": { "start": { - "line": 174, + "line": 185, "column": 94 }, "end": { - "line": 174, + "line": 185, "column": 95 } } @@ -58092,15 +62887,15 @@ "binop": null }, "value": "length", - "start": 5486, - "end": 5492, + "start": 5918, + "end": 5924, "loc": { "start": { - "line": 174, + "line": 185, "column": 96 }, "end": { - "line": 174, + "line": 185, "column": 102 } } @@ -58117,15 +62912,15 @@ "postfix": false, "binop": null }, - "start": 5498, - "end": 5499, + "start": 5930, + "end": 5931, "loc": { "start": { - "line": 175, + "line": 186, "column": 4 }, "end": { - "line": 175, + "line": 186, "column": 5 } } @@ -58145,15 +62940,15 @@ "updateContext": null }, "value": "else", - "start": 5500, - "end": 5504, + "start": 5932, + "end": 5936, "loc": { "start": { - "line": 175, + "line": 186, "column": 6 }, "end": { - "line": 175, + "line": 186, "column": 10 } } @@ -58170,15 +62965,15 @@ "postfix": false, "binop": null }, - "start": 5505, - "end": 5506, + "start": 5937, + "end": 5938, "loc": { "start": { - "line": 175, + "line": 186, "column": 11 }, "end": { - "line": 175, + "line": 186, "column": 12 } } @@ -58198,15 +62993,15 @@ "updateContext": null }, "value": "this", - "start": 5514, - "end": 5518, + "start": 5946, + "end": 5950, "loc": { "start": { - "line": 176, + "line": 187, "column": 6 }, "end": { - "line": 176, + "line": 187, "column": 10 } } @@ -58224,15 +63019,15 @@ "binop": null, "updateContext": null }, - "start": 5518, - "end": 5519, + "start": 5950, + "end": 5951, "loc": { "start": { - "line": 176, + "line": 187, "column": 10 }, "end": { - "line": 176, + "line": 187, "column": 11 } } @@ -58250,15 +63045,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5519, - "end": 5541, + "start": 5951, + "end": 5973, "loc": { "start": { - "line": 176, + "line": 187, "column": 11 }, "end": { - "line": 176, + "line": 187, "column": 33 } } @@ -58276,15 +63071,15 @@ "binop": null, "updateContext": null }, - "start": 5541, - "end": 5542, + "start": 5973, + "end": 5974, "loc": { "start": { - "line": 176, + "line": 187, "column": 33 }, "end": { - "line": 176, + "line": 187, "column": 34 } } @@ -58302,15 +63097,15 @@ "binop": null }, "value": "caretPosition", - "start": 5542, - "end": 5555, + "start": 5974, + "end": 5987, "loc": { "start": { - "line": 176, + "line": 187, "column": 34 }, "end": { - "line": 176, + "line": 187, "column": 47 } } @@ -58329,15 +63124,15 @@ "updateContext": null }, "value": "=", - "start": 5556, - "end": 5557, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 176, + "line": 187, "column": 48 }, "end": { - "line": 176, + "line": 187, "column": 49 } } @@ -58357,15 +63152,15 @@ "updateContext": null }, "value": "this", - "start": 5558, - "end": 5562, + "start": 5990, + "end": 5994, "loc": { "start": { - "line": 176, + "line": 187, "column": 50 }, "end": { - "line": 176, + "line": 187, "column": 54 } } @@ -58383,15 +63178,15 @@ "binop": null, "updateContext": null }, - "start": 5562, - "end": 5563, + "start": 5994, + "end": 5995, "loc": { "start": { - "line": 176, + "line": 187, "column": 54 }, "end": { - "line": 176, + "line": 187, "column": 55 } } @@ -58409,15 +63204,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5563, - "end": 5585, + "start": 5995, + "end": 6017, "loc": { "start": { - "line": 176, + "line": 187, "column": 55 }, "end": { - "line": 176, + "line": 187, "column": 77 } } @@ -58435,15 +63230,15 @@ "binop": null, "updateContext": null }, - "start": 5585, - "end": 5586, + "start": 6017, + "end": 6018, "loc": { "start": { - "line": 176, + "line": 187, "column": 77 }, "end": { - "line": 176, + "line": 187, "column": 78 } } @@ -58461,15 +63256,15 @@ "binop": null }, "value": "caretPosition", - "start": 5586, - "end": 5599, + "start": 6018, + "end": 6031, "loc": { "start": { - "line": 176, + "line": 187, "column": 78 }, "end": { - "line": 176, + "line": 187, "column": 91 } } @@ -58488,15 +63283,15 @@ "updateContext": null }, "value": "+", - "start": 5600, - "end": 5601, + "start": 6032, + "end": 6033, "loc": { "start": { - "line": 176, + "line": 187, "column": 92 }, "end": { - "line": 176, + "line": 187, "column": 93 } } @@ -58514,15 +63309,15 @@ "binop": null }, "value": "length", - "start": 5602, - "end": 5608, + "start": 6034, + "end": 6040, "loc": { "start": { - "line": 176, + "line": 187, "column": 94 }, "end": { - "line": 176, + "line": 187, "column": 100 } } @@ -58540,15 +63335,15 @@ "binop": null, "updateContext": null }, - "start": 5608, - "end": 5609, + "start": 6040, + "end": 6041, "loc": { "start": { - "line": 176, + "line": 187, "column": 100 }, "end": { - "line": 176, + "line": 187, "column": 101 } } @@ -58565,15 +63360,15 @@ "postfix": false, "binop": null }, - "start": 5615, - "end": 5616, + "start": 6047, + "end": 6048, "loc": { "start": { - "line": 177, + "line": 188, "column": 4 }, "end": { - "line": 177, + "line": 188, "column": 5 } } @@ -58590,15 +63385,15 @@ "postfix": false, "binop": null }, - "start": 5620, - "end": 5621, + "start": 6052, + "end": 6053, "loc": { "start": { - "line": 178, + "line": 189, "column": 2 }, "end": { - "line": 178, + "line": 189, "column": 3 } } @@ -58606,15 +63401,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 5627, - "end": 5879, + "start": 6059, + "end": 6311, "loc": { "start": { - "line": 180, + "line": 191, "column": 2 }, "end": { - "line": 186, + "line": 197, "column": 5 } } @@ -58632,15 +63427,15 @@ "binop": null }, "value": "addStringAt", - "start": 5883, - "end": 5894, + "start": 6315, + "end": 6326, "loc": { "start": { - "line": 187, + "line": 198, "column": 2 }, "end": { - "line": 187, + "line": 198, "column": 13 } } @@ -58657,15 +63452,15 @@ "postfix": false, "binop": null }, - "start": 5894, - "end": 5895, + "start": 6326, + "end": 6327, "loc": { "start": { - "line": 187, + "line": 198, "column": 13 }, "end": { - "line": 187, + "line": 198, "column": 14 } } @@ -58683,15 +63478,15 @@ "binop": null }, "value": "source", - "start": 5895, - "end": 5901, + "start": 6327, + "end": 6333, "loc": { "start": { - "line": 187, + "line": 198, "column": 14 }, "end": { - "line": 187, + "line": 198, "column": 20 } } @@ -58709,15 +63504,15 @@ "binop": null, "updateContext": null }, - "start": 5901, - "end": 5902, + "start": 6333, + "end": 6334, "loc": { "start": { - "line": 187, + "line": 198, "column": 20 }, "end": { - "line": 187, + "line": 198, "column": 21 } } @@ -58735,15 +63530,15 @@ "binop": null }, "value": "string", - "start": 5903, - "end": 5909, + "start": 6335, + "end": 6341, "loc": { "start": { - "line": 187, + "line": 198, "column": 22 }, "end": { - "line": 187, + "line": 198, "column": 28 } } @@ -58761,15 +63556,15 @@ "binop": null, "updateContext": null }, - "start": 5909, - "end": 5910, + "start": 6341, + "end": 6342, "loc": { "start": { - "line": 187, + "line": 198, "column": 28 }, "end": { - "line": 187, + "line": 198, "column": 29 } } @@ -58787,15 +63582,15 @@ "binop": null }, "value": "position", - "start": 5911, - "end": 5919, + "start": 6343, + "end": 6351, "loc": { "start": { - "line": 187, + "line": 198, "column": 30 }, "end": { - "line": 187, + "line": 198, "column": 38 } } @@ -58812,15 +63607,15 @@ "postfix": false, "binop": null }, - "start": 5919, - "end": 5920, + "start": 6351, + "end": 6352, "loc": { "start": { - "line": 187, + "line": 198, "column": 38 }, "end": { - "line": 187, + "line": 198, "column": 39 } } @@ -58837,15 +63632,15 @@ "postfix": false, "binop": null }, - "start": 5920, - "end": 5921, + "start": 6352, + "end": 6353, "loc": { "start": { - "line": 187, + "line": 198, "column": 39 }, "end": { - "line": 187, + "line": 198, "column": 40 } } @@ -58865,15 +63660,15 @@ "updateContext": null }, "value": "let", - "start": 5927, - "end": 5930, + "start": 6359, + "end": 6362, "loc": { "start": { - "line": 188, + "line": 199, "column": 4 }, "end": { - "line": 188, + "line": 199, "column": 7 } } @@ -58891,15 +63686,15 @@ "binop": null }, "value": "output", - "start": 5931, - "end": 5937, + "start": 6363, + "end": 6369, "loc": { "start": { - "line": 188, + "line": 199, "column": 8 }, "end": { - "line": 188, + "line": 199, "column": 14 } } @@ -58917,15 +63712,15 @@ "binop": null, "updateContext": null }, - "start": 5937, - "end": 5938, + "start": 6369, + "end": 6370, "loc": { "start": { - "line": 188, + "line": 199, "column": 14 }, "end": { - "line": 188, + "line": 199, "column": 15 } } @@ -58945,15 +63740,15 @@ "updateContext": null }, "value": "if", - "start": 5946, - "end": 5948, + "start": 6378, + "end": 6380, "loc": { "start": { - "line": 190, + "line": 201, "column": 4 }, "end": { - "line": 190, + "line": 201, "column": 6 } } @@ -58970,15 +63765,15 @@ "postfix": false, "binop": null }, - "start": 5948, - "end": 5949, + "start": 6380, + "end": 6381, "loc": { "start": { - "line": 190, + "line": 201, "column": 6 }, "end": { - "line": 190, + "line": 201, "column": 7 } } @@ -58998,15 +63793,15 @@ "updateContext": null }, "value": "this", - "start": 5949, - "end": 5953, + "start": 6381, + "end": 6385, "loc": { "start": { - "line": 190, + "line": 201, "column": 7 }, "end": { - "line": 190, + "line": 201, "column": 11 } } @@ -59024,15 +63819,15 @@ "binop": null, "updateContext": null }, - "start": 5953, - "end": 5954, + "start": 6385, + "end": 6386, "loc": { "start": { - "line": 190, + "line": 201, "column": 11 }, "end": { - "line": 190, + "line": 201, "column": 12 } } @@ -59050,15 +63845,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5954, - "end": 5976, + "start": 6386, + "end": 6408, "loc": { "start": { - "line": 190, + "line": 201, "column": 12 }, "end": { - "line": 190, + "line": 201, "column": 34 } } @@ -59076,15 +63871,15 @@ "binop": null, "updateContext": null }, - "start": 5976, - "end": 5977, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 190, + "line": 201, "column": 34 }, "end": { - "line": 190, + "line": 201, "column": 35 } } @@ -59102,15 +63897,15 @@ "binop": null }, "value": "options", - "start": 5977, - "end": 5984, + "start": 6409, + "end": 6416, "loc": { "start": { - "line": 190, + "line": 201, "column": 35 }, "end": { - "line": 190, + "line": 201, "column": 42 } } @@ -59128,15 +63923,15 @@ "binop": null, "updateContext": null }, - "start": 5984, - "end": 5985, + "start": 6416, + "end": 6417, "loc": { "start": { - "line": 190, + "line": 201, "column": 42 }, "end": { - "line": 190, + "line": 201, "column": 43 } } @@ -59154,15 +63949,15 @@ "binop": null }, "value": "debug", - "start": 5985, - "end": 5990, + "start": 6417, + "end": 6422, "loc": { "start": { - "line": 190, + "line": 201, "column": 43 }, "end": { - "line": 190, + "line": 201, "column": 48 } } @@ -59179,15 +63974,15 @@ "postfix": false, "binop": null }, - "start": 5990, - "end": 5991, + "start": 6422, + "end": 6423, "loc": { "start": { - "line": 190, + "line": 201, "column": 48 }, "end": { - "line": 190, + "line": 201, "column": 49 } } @@ -59204,15 +63999,15 @@ "postfix": false, "binop": null }, - "start": 5991, - "end": 5992, + "start": 6423, + "end": 6424, "loc": { "start": { - "line": 190, + "line": 201, "column": 49 }, "end": { - "line": 190, + "line": 201, "column": 50 } } @@ -59230,15 +64025,15 @@ "binop": null }, "value": "console", - "start": 6000, - "end": 6007, + "start": 6432, + "end": 6439, "loc": { "start": { - "line": 191, + "line": 202, "column": 6 }, "end": { - "line": 191, + "line": 202, "column": 13 } } @@ -59256,15 +64051,15 @@ "binop": null, "updateContext": null }, - "start": 6007, - "end": 6008, + "start": 6439, + "end": 6440, "loc": { "start": { - "line": 191, + "line": 202, "column": 13 }, "end": { - "line": 191, + "line": 202, "column": 14 } } @@ -59282,15 +64077,15 @@ "binop": null }, "value": "log", - "start": 6008, - "end": 6011, + "start": 6440, + "end": 6443, "loc": { "start": { - "line": 191, + "line": 202, "column": 14 }, "end": { - "line": 191, + "line": 202, "column": 17 } } @@ -59307,15 +64102,15 @@ "postfix": false, "binop": null }, - "start": 6011, - "end": 6012, + "start": 6443, + "end": 6444, "loc": { "start": { - "line": 191, + "line": 202, "column": 17 }, "end": { - "line": 191, + "line": 202, "column": 18 } } @@ -59334,15 +64129,15 @@ "updateContext": null }, "value": "Caret at:", - "start": 6012, - "end": 6023, + "start": 6444, + "end": 6455, "loc": { "start": { - "line": 191, + "line": 202, "column": 18 }, "end": { - "line": 191, + "line": 202, "column": 29 } } @@ -59360,15 +64155,15 @@ "binop": null, "updateContext": null }, - "start": 6023, - "end": 6024, + "start": 6455, + "end": 6456, "loc": { "start": { - "line": 191, + "line": 202, "column": 29 }, "end": { - "line": 191, + "line": 202, "column": 30 } } @@ -59386,15 +64181,15 @@ "binop": null }, "value": "position", - "start": 6025, - "end": 6033, + "start": 6457, + "end": 6465, "loc": { "start": { - "line": 191, + "line": 202, "column": 31 }, "end": { - "line": 191, + "line": 202, "column": 39 } } @@ -59411,15 +64206,15 @@ "postfix": false, "binop": null }, - "start": 6033, - "end": 6034, + "start": 6465, + "end": 6466, "loc": { "start": { - "line": 191, + "line": 202, "column": 39 }, "end": { - "line": 191, + "line": 202, "column": 40 } } @@ -59437,15 +64232,15 @@ "binop": null, "updateContext": null }, - "start": 6034, - "end": 6035, + "start": 6466, + "end": 6467, "loc": { "start": { - "line": 191, + "line": 202, "column": 40 }, "end": { - "line": 191, + "line": 202, "column": 41 } } @@ -59462,15 +64257,15 @@ "postfix": false, "binop": null }, - "start": 6041, - "end": 6042, + "start": 6473, + "end": 6474, "loc": { "start": { - "line": 192, + "line": 203, "column": 4 }, "end": { - "line": 192, + "line": 203, "column": 5 } } @@ -59490,15 +64285,15 @@ "updateContext": null }, "value": "if", - "start": 6050, - "end": 6052, + "start": 6482, + "end": 6484, "loc": { "start": { - "line": 194, + "line": 205, "column": 4 }, "end": { - "line": 194, + "line": 205, "column": 6 } } @@ -59515,15 +64310,15 @@ "postfix": false, "binop": null }, - "start": 6052, - "end": 6053, + "start": 6484, + "end": 6485, "loc": { "start": { - "line": 194, + "line": 205, "column": 6 }, "end": { - "line": 194, + "line": 205, "column": 7 } } @@ -59542,15 +64337,15 @@ "updateContext": null }, "value": "!", - "start": 6053, - "end": 6054, + "start": 6485, + "end": 6486, "loc": { "start": { - "line": 194, + "line": 205, "column": 7 }, "end": { - "line": 194, + "line": 205, "column": 8 } } @@ -59568,15 +64363,15 @@ "binop": null }, "value": "position", - "start": 6054, - "end": 6062, + "start": 6486, + "end": 6494, "loc": { "start": { - "line": 194, + "line": 205, "column": 8 }, "end": { - "line": 194, + "line": 205, "column": 16 } } @@ -59595,15 +64390,15 @@ "updateContext": null }, "value": "&&", - "start": 6063, - "end": 6065, + "start": 6495, + "end": 6497, "loc": { "start": { - "line": 194, + "line": 205, "column": 17 }, "end": { - "line": 194, + "line": 205, "column": 19 } } @@ -59621,15 +64416,15 @@ "binop": null }, "value": "position", - "start": 6066, - "end": 6074, + "start": 6498, + "end": 6506, "loc": { "start": { - "line": 194, + "line": 205, "column": 20 }, "end": { - "line": 194, + "line": 205, "column": 28 } } @@ -59648,15 +64443,15 @@ "updateContext": null }, "value": "!==", - "start": 6075, - "end": 6078, + "start": 6507, + "end": 6510, "loc": { "start": { - "line": 194, + "line": 205, "column": 29 }, "end": { - "line": 194, + "line": 205, "column": 32 } } @@ -59675,15 +64470,15 @@ "updateContext": null }, "value": 0, - "start": 6079, - "end": 6080, + "start": 6511, + "end": 6512, "loc": { "start": { - "line": 194, + "line": 205, "column": 33 }, "end": { - "line": 194, + "line": 205, "column": 34 } } @@ -59700,15 +64495,15 @@ "postfix": false, "binop": null }, - "start": 6080, - "end": 6081, + "start": 6512, + "end": 6513, "loc": { "start": { - "line": 194, + "line": 205, "column": 34 }, "end": { - "line": 194, + "line": 205, "column": 35 } } @@ -59725,15 +64520,15 @@ "postfix": false, "binop": null }, - "start": 6081, - "end": 6082, + "start": 6513, + "end": 6514, "loc": { "start": { - "line": 194, + "line": 205, "column": 35 }, "end": { - "line": 194, + "line": 205, "column": 36 } } @@ -59751,15 +64546,15 @@ "binop": null }, "value": "output", - "start": 6090, - "end": 6096, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 195, + "line": 206, "column": 6 }, "end": { - "line": 195, + "line": 206, "column": 12 } } @@ -59778,15 +64573,15 @@ "updateContext": null }, "value": "=", - "start": 6097, - "end": 6098, + "start": 6529, + "end": 6530, "loc": { "start": { - "line": 195, + "line": 206, "column": 13 }, "end": { - "line": 195, + "line": 206, "column": 14 } } @@ -59804,15 +64599,15 @@ "binop": null }, "value": "source", - "start": 6099, - "end": 6105, + "start": 6531, + "end": 6537, "loc": { "start": { - "line": 195, + "line": 206, "column": 15 }, "end": { - "line": 195, + "line": 206, "column": 21 } } @@ -59831,15 +64626,15 @@ "updateContext": null }, "value": "+", - "start": 6106, - "end": 6107, + "start": 6538, + "end": 6539, "loc": { "start": { - "line": 195, + "line": 206, "column": 22 }, "end": { - "line": 195, + "line": 206, "column": 23 } } @@ -59857,15 +64652,15 @@ "binop": null }, "value": "string", - "start": 6108, - "end": 6114, + "start": 6540, + "end": 6546, "loc": { "start": { - "line": 195, + "line": 206, "column": 24 }, "end": { - "line": 195, + "line": 206, "column": 30 } } @@ -59883,15 +64678,15 @@ "binop": null, "updateContext": null }, - "start": 6114, - "end": 6115, + "start": 6546, + "end": 6547, "loc": { "start": { - "line": 195, + "line": 206, "column": 30 }, "end": { - "line": 195, + "line": 206, "column": 31 } } @@ -59908,15 +64703,15 @@ "postfix": false, "binop": null }, - "start": 6121, - "end": 6122, + "start": 6553, + "end": 6554, "loc": { "start": { - "line": 196, + "line": 207, "column": 4 }, "end": { - "line": 196, + "line": 207, "column": 5 } } @@ -59936,15 +64731,15 @@ "updateContext": null }, "value": "else", - "start": 6123, - "end": 6127, + "start": 6555, + "end": 6559, "loc": { "start": { - "line": 196, + "line": 207, "column": 6 }, "end": { - "line": 196, + "line": 207, "column": 10 } } @@ -59961,15 +64756,15 @@ "postfix": false, "binop": null }, - "start": 6128, - "end": 6129, + "start": 6560, + "end": 6561, "loc": { "start": { - "line": 196, + "line": 207, "column": 11 }, "end": { - "line": 196, + "line": 207, "column": 12 } } @@ -59987,15 +64782,15 @@ "binop": null }, "value": "output", - "start": 6137, - "end": 6143, + "start": 6569, + "end": 6575, "loc": { "start": { - "line": 197, + "line": 208, "column": 6 }, "end": { - "line": 197, + "line": 208, "column": 12 } } @@ -60014,15 +64809,15 @@ "updateContext": null }, "value": "=", - "start": 6144, - "end": 6145, + "start": 6576, + "end": 6577, "loc": { "start": { - "line": 197, + "line": 208, "column": 13 }, "end": { - "line": 197, + "line": 208, "column": 14 } } @@ -60040,15 +64835,15 @@ "binop": null, "updateContext": null }, - "start": 6146, - "end": 6147, + "start": 6578, + "end": 6579, "loc": { "start": { - "line": 197, + "line": 208, "column": 15 }, "end": { - "line": 197, + "line": 208, "column": 16 } } @@ -60066,15 +64861,15 @@ "binop": null }, "value": "source", - "start": 6147, - "end": 6153, + "start": 6579, + "end": 6585, "loc": { "start": { - "line": 197, + "line": 208, "column": 16 }, "end": { - "line": 197, + "line": 208, "column": 22 } } @@ -60092,15 +64887,15 @@ "binop": null, "updateContext": null }, - "start": 6153, - "end": 6154, + "start": 6585, + "end": 6586, "loc": { "start": { - "line": 197, + "line": 208, "column": 22 }, "end": { - "line": 197, + "line": 208, "column": 23 } } @@ -60118,15 +64913,15 @@ "binop": null }, "value": "slice", - "start": 6154, - "end": 6159, + "start": 6586, + "end": 6591, "loc": { "start": { - "line": 197, + "line": 208, "column": 23 }, "end": { - "line": 197, + "line": 208, "column": 28 } } @@ -60143,15 +64938,15 @@ "postfix": false, "binop": null }, - "start": 6159, - "end": 6160, + "start": 6591, + "end": 6592, "loc": { "start": { - "line": 197, + "line": 208, "column": 28 }, "end": { - "line": 197, + "line": 208, "column": 29 } } @@ -60170,15 +64965,15 @@ "updateContext": null }, "value": 0, - "start": 6160, - "end": 6161, + "start": 6592, + "end": 6593, "loc": { "start": { - "line": 197, + "line": 208, "column": 29 }, "end": { - "line": 197, + "line": 208, "column": 30 } } @@ -60196,15 +64991,15 @@ "binop": null, "updateContext": null }, - "start": 6161, - "end": 6162, + "start": 6593, + "end": 6594, "loc": { "start": { - "line": 197, + "line": 208, "column": 30 }, "end": { - "line": 197, + "line": 208, "column": 31 } } @@ -60222,15 +65017,15 @@ "binop": null }, "value": "position", - "start": 6163, - "end": 6171, + "start": 6595, + "end": 6603, "loc": { "start": { - "line": 197, + "line": 208, "column": 32 }, "end": { - "line": 197, + "line": 208, "column": 40 } } @@ -60247,15 +65042,15 @@ "postfix": false, "binop": null }, - "start": 6171, - "end": 6172, + "start": 6603, + "end": 6604, "loc": { "start": { - "line": 197, + "line": 208, "column": 40 }, "end": { - "line": 197, + "line": 208, "column": 41 } } @@ -60273,15 +65068,15 @@ "binop": null, "updateContext": null }, - "start": 6172, - "end": 6173, + "start": 6604, + "end": 6605, "loc": { "start": { - "line": 197, + "line": 208, "column": 41 }, "end": { - "line": 197, + "line": 208, "column": 42 } } @@ -60299,15 +65094,15 @@ "binop": null }, "value": "string", - "start": 6174, - "end": 6180, + "start": 6606, + "end": 6612, "loc": { "start": { - "line": 197, + "line": 208, "column": 43 }, "end": { - "line": 197, + "line": 208, "column": 49 } } @@ -60325,15 +65120,15 @@ "binop": null, "updateContext": null }, - "start": 6180, - "end": 6181, + "start": 6612, + "end": 6613, "loc": { "start": { - "line": 197, + "line": 208, "column": 49 }, "end": { - "line": 197, + "line": 208, "column": 50 } } @@ -60351,15 +65146,15 @@ "binop": null }, "value": "source", - "start": 6182, - "end": 6188, + "start": 6614, + "end": 6620, "loc": { "start": { - "line": 197, + "line": 208, "column": 51 }, "end": { - "line": 197, + "line": 208, "column": 57 } } @@ -60377,15 +65172,15 @@ "binop": null, "updateContext": null }, - "start": 6188, - "end": 6189, + "start": 6620, + "end": 6621, "loc": { "start": { - "line": 197, + "line": 208, "column": 57 }, "end": { - "line": 197, + "line": 208, "column": 58 } } @@ -60403,15 +65198,15 @@ "binop": null }, "value": "slice", - "start": 6189, - "end": 6194, + "start": 6621, + "end": 6626, "loc": { "start": { - "line": 197, + "line": 208, "column": 58 }, "end": { - "line": 197, + "line": 208, "column": 63 } } @@ -60428,15 +65223,15 @@ "postfix": false, "binop": null }, - "start": 6194, - "end": 6195, + "start": 6626, + "end": 6627, "loc": { "start": { - "line": 197, + "line": 208, "column": 63 }, "end": { - "line": 197, + "line": 208, "column": 64 } } @@ -60454,15 +65249,15 @@ "binop": null }, "value": "position", - "start": 6195, - "end": 6203, + "start": 6627, + "end": 6635, "loc": { "start": { - "line": 197, + "line": 208, "column": 64 }, "end": { - "line": 197, + "line": 208, "column": 72 } } @@ -60479,15 +65274,15 @@ "postfix": false, "binop": null }, - "start": 6203, - "end": 6204, + "start": 6635, + "end": 6636, "loc": { "start": { - "line": 197, + "line": 208, "column": 72 }, "end": { - "line": 197, + "line": 208, "column": 73 } } @@ -60505,15 +65300,15 @@ "binop": null, "updateContext": null }, - "start": 6204, - "end": 6205, + "start": 6636, + "end": 6637, "loc": { "start": { - "line": 197, + "line": 208, "column": 73 }, "end": { - "line": 197, + "line": 208, "column": 74 } } @@ -60531,15 +65326,15 @@ "binop": null, "updateContext": null }, - "start": 6205, - "end": 6206, + "start": 6637, + "end": 6638, "loc": { "start": { - "line": 197, + "line": 208, "column": 74 }, "end": { - "line": 197, + "line": 208, "column": 75 } } @@ -60557,15 +65352,15 @@ "binop": null }, "value": "join", - "start": 6206, - "end": 6210, + "start": 6638, + "end": 6642, "loc": { "start": { - "line": 197, + "line": 208, "column": 75 }, "end": { - "line": 197, + "line": 208, "column": 79 } } @@ -60582,15 +65377,15 @@ "postfix": false, "binop": null }, - "start": 6210, - "end": 6211, + "start": 6642, + "end": 6643, "loc": { "start": { - "line": 197, + "line": 208, "column": 79 }, "end": { - "line": 197, + "line": 208, "column": 80 } } @@ -60609,15 +65404,15 @@ "updateContext": null }, "value": "", - "start": 6211, - "end": 6213, + "start": 6643, + "end": 6645, "loc": { "start": { - "line": 197, + "line": 208, "column": 80 }, "end": { - "line": 197, + "line": 208, "column": 82 } } @@ -60634,15 +65429,15 @@ "postfix": false, "binop": null }, - "start": 6213, - "end": 6214, + "start": 6645, + "end": 6646, "loc": { "start": { - "line": 197, + "line": 208, "column": 82 }, "end": { - "line": 197, + "line": 208, "column": 83 } } @@ -60660,15 +65455,15 @@ "binop": null, "updateContext": null }, - "start": 6214, - "end": 6215, + "start": 6646, + "end": 6647, "loc": { "start": { - "line": 197, + "line": 208, "column": 83 }, "end": { - "line": 197, + "line": 208, "column": 84 } } @@ -60676,15 +65471,15 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6225, - "end": 6299, + "start": 6657, + "end": 6731, "loc": { "start": { - "line": 199, + "line": 210, "column": 6 }, "end": { - "line": 201, + "line": 212, "column": 9 } } @@ -60704,15 +65499,15 @@ "updateContext": null }, "value": "if", - "start": 6307, - "end": 6309, + "start": 6739, + "end": 6741, "loc": { "start": { - "line": 202, + "line": 213, "column": 6 }, "end": { - "line": 202, + "line": 213, "column": 8 } } @@ -60729,15 +65524,15 @@ "postfix": false, "binop": null }, - "start": 6309, - "end": 6310, + "start": 6741, + "end": 6742, "loc": { "start": { - "line": 202, + "line": 213, "column": 8 }, "end": { - "line": 202, + "line": 213, "column": 9 } } @@ -60756,15 +65551,15 @@ "updateContext": null }, "value": "!", - "start": 6310, - "end": 6311, + "start": 6742, + "end": 6743, "loc": { "start": { - "line": 202, + "line": 213, "column": 9 }, "end": { - "line": 202, + "line": 213, "column": 10 } } @@ -60784,15 +65579,15 @@ "updateContext": null }, "value": "this", - "start": 6311, - "end": 6315, + "start": 6743, + "end": 6747, "loc": { "start": { - "line": 202, + "line": 213, "column": 10 }, "end": { - "line": 202, + "line": 213, "column": 14 } } @@ -60810,15 +65605,15 @@ "binop": null, "updateContext": null }, - "start": 6315, - "end": 6316, + "start": 6747, + "end": 6748, "loc": { "start": { - "line": 202, + "line": 213, "column": 14 }, "end": { - "line": 202, + "line": 213, "column": 15 } } @@ -60836,15 +65631,15 @@ "binop": null }, "value": "isMaxLengthReached", - "start": 6316, - "end": 6334, + "start": 6748, + "end": 6766, "loc": { "start": { - "line": 202, + "line": 213, "column": 15 }, "end": { - "line": 202, + "line": 213, "column": 33 } } @@ -60861,15 +65656,15 @@ "postfix": false, "binop": null }, - "start": 6334, - "end": 6335, + "start": 6766, + "end": 6767, "loc": { "start": { - "line": 202, + "line": 213, "column": 33 }, "end": { - "line": 202, + "line": 213, "column": 34 } } @@ -60886,15 +65681,15 @@ "postfix": false, "binop": null }, - "start": 6335, - "end": 6336, + "start": 6767, + "end": 6768, "loc": { "start": { - "line": 202, + "line": 213, "column": 34 }, "end": { - "line": 202, + "line": 213, "column": 35 } } @@ -60911,15 +65706,15 @@ "postfix": false, "binop": null }, - "start": 6336, - "end": 6337, + "start": 6768, + "end": 6769, "loc": { "start": { - "line": 202, + "line": 213, "column": 35 }, "end": { - "line": 202, + "line": 213, "column": 36 } } @@ -60936,15 +65731,15 @@ "postfix": false, "binop": null }, - "start": 6337, - "end": 6338, + "start": 6769, + "end": 6770, "loc": { "start": { - "line": 202, + "line": 213, "column": 36 }, "end": { - "line": 202, + "line": 213, "column": 37 } } @@ -60964,15 +65759,15 @@ "updateContext": null }, "value": "this", - "start": 6348, - "end": 6352, + "start": 6780, + "end": 6784, "loc": { "start": { - "line": 203, + "line": 214, "column": 8 }, "end": { - "line": 203, + "line": 214, "column": 12 } } @@ -60990,15 +65785,15 @@ "binop": null, "updateContext": null }, - "start": 6352, - "end": 6353, + "start": 6784, + "end": 6785, "loc": { "start": { - "line": 203, + "line": 214, "column": 12 }, "end": { - "line": 203, + "line": 214, "column": 13 } } @@ -61016,15 +65811,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 6353, - "end": 6367, + "start": 6785, + "end": 6799, "loc": { "start": { - "line": 203, + "line": 214, "column": 13 }, "end": { - "line": 203, + "line": 214, "column": 27 } } @@ -61041,15 +65836,15 @@ "postfix": false, "binop": null }, - "start": 6367, - "end": 6368, + "start": 6799, + "end": 6800, "loc": { "start": { - "line": 203, + "line": 214, "column": 27 }, "end": { - "line": 203, + "line": 214, "column": 28 } } @@ -61067,15 +65862,15 @@ "binop": null }, "value": "string", - "start": 6368, - "end": 6374, + "start": 6800, + "end": 6806, "loc": { "start": { - "line": 203, + "line": 214, "column": 28 }, "end": { - "line": 203, + "line": 214, "column": 34 } } @@ -61093,15 +65888,15 @@ "binop": null, "updateContext": null }, - "start": 6374, - "end": 6375, + "start": 6806, + "end": 6807, "loc": { "start": { - "line": 203, + "line": 214, "column": 34 }, "end": { - "line": 203, + "line": 214, "column": 35 } } @@ -61119,15 +65914,15 @@ "binop": null }, "value": "length", - "start": 6375, - "end": 6381, + "start": 6807, + "end": 6813, "loc": { "start": { - "line": 203, + "line": 214, "column": 35 }, "end": { - "line": 203, + "line": 214, "column": 41 } } @@ -61144,15 +65939,15 @@ "postfix": false, "binop": null }, - "start": 6381, - "end": 6382, + "start": 6813, + "end": 6814, "loc": { "start": { - "line": 203, + "line": 214, "column": 41 }, "end": { - "line": 203, + "line": 214, "column": 42 } } @@ -61170,15 +65965,15 @@ "binop": null, "updateContext": null }, - "start": 6382, - "end": 6383, + "start": 6814, + "end": 6815, "loc": { "start": { - "line": 203, + "line": 214, "column": 42 }, "end": { - "line": 203, + "line": 214, "column": 43 } } @@ -61195,15 +65990,15 @@ "postfix": false, "binop": null }, - "start": 6391, - "end": 6392, + "start": 6823, + "end": 6824, "loc": { "start": { - "line": 204, + "line": 215, "column": 6 }, "end": { - "line": 204, + "line": 215, "column": 7 } } @@ -61220,15 +66015,15 @@ "postfix": false, "binop": null }, - "start": 6400, - "end": 6401, + "start": 6832, + "end": 6833, "loc": { "start": { - "line": 206, + "line": 217, "column": 4 }, "end": { - "line": 206, + "line": 217, "column": 5 } } @@ -61248,15 +66043,15 @@ "updateContext": null }, "value": "return", - "start": 6409, - "end": 6415, + "start": 6841, + "end": 6847, "loc": { "start": { - "line": 208, + "line": 219, "column": 4 }, "end": { - "line": 208, + "line": 219, "column": 10 } } @@ -61274,15 +66069,15 @@ "binop": null }, "value": "output", - "start": 6416, - "end": 6422, + "start": 6848, + "end": 6854, "loc": { "start": { - "line": 208, + "line": 219, "column": 11 }, "end": { - "line": 208, + "line": 219, "column": 17 } } @@ -61300,15 +66095,15 @@ "binop": null, "updateContext": null }, - "start": 6422, - "end": 6423, + "start": 6854, + "end": 6855, "loc": { "start": { - "line": 208, + "line": 219, "column": 17 }, "end": { - "line": 208, + "line": 219, "column": 18 } } @@ -61325,15 +66120,15 @@ "postfix": false, "binop": null }, - "start": 6427, - "end": 6428, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 209, + "line": 220, "column": 2 }, "end": { - "line": 209, + "line": 220, "column": 3 } } @@ -61341,15 +66136,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6434, - "end": 6654, + "start": 6866, + "end": 7086, "loc": { "start": { - "line": 211, + "line": 222, "column": 2 }, "end": { - "line": 216, + "line": 227, "column": 5 } } @@ -61367,15 +66162,15 @@ "binop": null }, "value": "removeAt", - "start": 6658, - "end": 6666, + "start": 7090, + "end": 7098, "loc": { "start": { - "line": 217, + "line": 228, "column": 2 }, "end": { - "line": 217, + "line": 228, "column": 10 } } @@ -61392,15 +66187,15 @@ "postfix": false, "binop": null }, - "start": 6666, - "end": 6667, + "start": 7098, + "end": 7099, "loc": { "start": { - "line": 217, + "line": 228, "column": 10 }, "end": { - "line": 217, + "line": 228, "column": 11 } } @@ -61418,15 +66213,15 @@ "binop": null }, "value": "source", - "start": 6667, - "end": 6673, + "start": 7099, + "end": 7105, "loc": { "start": { - "line": 217, + "line": 228, "column": 11 }, "end": { - "line": 217, + "line": 228, "column": 17 } } @@ -61444,15 +66239,15 @@ "binop": null, "updateContext": null }, - "start": 6673, - "end": 6674, + "start": 7105, + "end": 7106, "loc": { "start": { - "line": 217, + "line": 228, "column": 17 }, "end": { - "line": 217, + "line": 228, "column": 18 } } @@ -61470,15 +66265,15 @@ "binop": null }, "value": "position", - "start": 6675, - "end": 6683, + "start": 7107, + "end": 7115, "loc": { "start": { - "line": 217, + "line": 228, "column": 19 }, "end": { - "line": 217, + "line": 228, "column": 27 } } @@ -61495,15 +66290,15 @@ "postfix": false, "binop": null }, - "start": 6683, - "end": 6684, + "start": 7115, + "end": 7116, "loc": { "start": { - "line": 217, + "line": 228, "column": 27 }, "end": { - "line": 217, + "line": 228, "column": 28 } } @@ -61520,15 +66315,15 @@ "postfix": false, "binop": null }, - "start": 6684, - "end": 6685, + "start": 7116, + "end": 7117, "loc": { "start": { - "line": 217, + "line": 228, "column": 28 }, "end": { - "line": 217, + "line": 228, "column": 29 } } @@ -61548,15 +66343,15 @@ "updateContext": null }, "value": "if", - "start": 6691, - "end": 6693, + "start": 7123, + "end": 7125, "loc": { "start": { - "line": 218, + "line": 229, "column": 4 }, "end": { - "line": 218, + "line": 229, "column": 6 } } @@ -61573,15 +66368,15 @@ "postfix": false, "binop": null }, - "start": 6693, - "end": 6694, + "start": 7125, + "end": 7126, "loc": { "start": { - "line": 218, + "line": 229, "column": 6 }, "end": { - "line": 218, + "line": 229, "column": 7 } } @@ -61601,15 +66396,15 @@ "updateContext": null }, "value": "this", - "start": 6694, - "end": 6698, + "start": 7126, + "end": 7130, "loc": { "start": { - "line": 218, + "line": 229, "column": 7 }, "end": { - "line": 218, + "line": 229, "column": 11 } } @@ -61627,15 +66422,15 @@ "binop": null, "updateContext": null }, - "start": 6698, - "end": 6699, + "start": 7130, + "end": 7131, "loc": { "start": { - "line": 218, + "line": 229, "column": 11 }, "end": { - "line": 218, + "line": 229, "column": 12 } } @@ -61653,15 +66448,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 6699, - "end": 6721, + "start": 7131, + "end": 7153, "loc": { "start": { - "line": 218, + "line": 229, "column": 12 }, "end": { - "line": 218, + "line": 229, "column": 34 } } @@ -61679,15 +66474,15 @@ "binop": null, "updateContext": null }, - "start": 6721, - "end": 6722, + "start": 7153, + "end": 7154, "loc": { "start": { - "line": 218, + "line": 229, "column": 34 }, "end": { - "line": 218, + "line": 229, "column": 35 } } @@ -61705,15 +66500,15 @@ "binop": null }, "value": "caretPosition", - "start": 6722, - "end": 6735, + "start": 7154, + "end": 7167, "loc": { "start": { - "line": 218, + "line": 229, "column": 35 }, "end": { - "line": 218, + "line": 229, "column": 48 } } @@ -61732,15 +66527,15 @@ "updateContext": null }, "value": "===", - "start": 6736, - "end": 6739, + "start": 7168, + "end": 7171, "loc": { "start": { - "line": 218, + "line": 229, "column": 49 }, "end": { - "line": 218, + "line": 229, "column": 52 } } @@ -61759,15 +66554,15 @@ "updateContext": null }, "value": 0, - "start": 6740, - "end": 6741, + "start": 7172, + "end": 7173, "loc": { "start": { - "line": 218, + "line": 229, "column": 53 }, "end": { - "line": 218, + "line": 229, "column": 54 } } @@ -61784,15 +66579,15 @@ "postfix": false, "binop": null }, - "start": 6741, - "end": 6742, + "start": 7173, + "end": 7174, "loc": { "start": { - "line": 218, + "line": 229, "column": 54 }, "end": { - "line": 218, + "line": 229, "column": 55 } } @@ -61809,15 +66604,15 @@ "postfix": false, "binop": null }, - "start": 6742, - "end": 6743, + "start": 7174, + "end": 7175, "loc": { "start": { - "line": 218, + "line": 229, "column": 55 }, "end": { - "line": 218, + "line": 229, "column": 56 } } @@ -61837,15 +66632,15 @@ "updateContext": null }, "value": "return", - "start": 6751, - "end": 6757, + "start": 7183, + "end": 7189, "loc": { "start": { - "line": 219, + "line": 230, "column": 6 }, "end": { - "line": 219, + "line": 230, "column": 12 } } @@ -61863,15 +66658,15 @@ "binop": null }, "value": "source", - "start": 6758, - "end": 6764, + "start": 7190, + "end": 7196, "loc": { "start": { - "line": 219, + "line": 230, "column": 13 }, "end": { - "line": 219, + "line": 230, "column": 19 } } @@ -61889,15 +66684,15 @@ "binop": null, "updateContext": null }, - "start": 6764, - "end": 6765, + "start": 7196, + "end": 7197, "loc": { "start": { - "line": 219, + "line": 230, "column": 19 }, "end": { - "line": 219, + "line": 230, "column": 20 } } @@ -61914,15 +66709,15 @@ "postfix": false, "binop": null }, - "start": 6771, - "end": 6772, + "start": 7203, + "end": 7204, "loc": { "start": { - "line": 220, + "line": 231, "column": 4 }, "end": { - "line": 220, + "line": 231, "column": 5 } } @@ -61942,15 +66737,15 @@ "updateContext": null }, "value": "let", - "start": 6780, - "end": 6783, + "start": 7212, + "end": 7215, "loc": { "start": { - "line": 222, + "line": 233, "column": 4 }, "end": { - "line": 222, + "line": 233, "column": 7 } } @@ -61968,15 +66763,15 @@ "binop": null }, "value": "output", - "start": 6784, - "end": 6790, + "start": 7216, + "end": 7222, "loc": { "start": { - "line": 222, + "line": 233, "column": 8 }, "end": { - "line": 222, + "line": 233, "column": 14 } } @@ -61994,15 +66789,15 @@ "binop": null, "updateContext": null }, - "start": 6790, - "end": 6791, + "start": 7222, + "end": 7223, "loc": { "start": { - "line": 222, + "line": 233, "column": 14 }, "end": { - "line": 222, + "line": 233, "column": 15 } } @@ -62022,15 +66817,15 @@ "updateContext": null }, "value": "let", - "start": 6797, - "end": 6800, + "start": 7229, + "end": 7232, "loc": { "start": { - "line": 223, + "line": 234, "column": 4 }, "end": { - "line": 223, + "line": 234, "column": 7 } } @@ -62048,15 +66843,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 6801, - "end": 6813, + "start": 7233, + "end": 7245, "loc": { "start": { - "line": 223, + "line": 234, "column": 8 }, "end": { - "line": 223, + "line": 234, "column": 20 } } @@ -62074,15 +66869,15 @@ "binop": null, "updateContext": null }, - "start": 6813, - "end": 6814, + "start": 7245, + "end": 7246, "loc": { "start": { - "line": 223, + "line": 234, "column": 20 }, "end": { - "line": 223, + "line": 234, "column": 21 } } @@ -62102,15 +66897,15 @@ "updateContext": null }, "value": "let", - "start": 6820, - "end": 6823, + "start": 7252, + "end": 7255, "loc": { "start": { - "line": 224, + "line": 235, "column": 4 }, "end": { - "line": 224, + "line": 235, "column": 7 } } @@ -62128,15 +66923,15 @@ "binop": null }, "value": "emojiMatched", - "start": 6824, - "end": 6836, + "start": 7256, + "end": 7268, "loc": { "start": { - "line": 224, + "line": 235, "column": 8 }, "end": { - "line": 224, + "line": 235, "column": 20 } } @@ -62154,15 +66949,15 @@ "binop": null, "updateContext": null }, - "start": 6836, - "end": 6837, + "start": 7268, + "end": 7269, "loc": { "start": { - "line": 224, + "line": 235, "column": 20 }, "end": { - "line": 224, + "line": 235, "column": 21 } } @@ -62182,15 +66977,15 @@ "updateContext": null }, "value": "let", - "start": 6843, - "end": 6846, + "start": 7275, + "end": 7278, "loc": { "start": { - "line": 225, + "line": 236, "column": 4 }, "end": { - "line": 225, + "line": 236, "column": 7 } } @@ -62208,15 +67003,15 @@ "binop": null }, "value": "emojiMatchedReg", - "start": 6847, - "end": 6862, + "start": 7279, + "end": 7294, "loc": { "start": { - "line": 225, + "line": 236, "column": 8 }, "end": { - "line": 225, + "line": 236, "column": 23 } } @@ -62235,15 +67030,15 @@ "updateContext": null }, "value": "=", - "start": 6863, - "end": 6864, + "start": 7295, + "end": 7296, "loc": { "start": { - "line": 225, + "line": 236, "column": 24 }, "end": { - "line": 225, + "line": 236, "column": 25 } } @@ -62265,15 +67060,15 @@ "pattern": "([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])", "flags": "g" }, - "start": 6865, - "end": 6900, + "start": 7297, + "end": 7332, "loc": { "start": { - "line": 225, + "line": 236, "column": 26 }, "end": { - "line": 225, + "line": 236, "column": 61 } } @@ -62291,15 +67086,15 @@ "binop": null, "updateContext": null }, - "start": 6900, - "end": 6901, + "start": 7332, + "end": 7333, "loc": { "start": { - "line": 225, + "line": 236, "column": 61 }, "end": { - "line": 225, + "line": 236, "column": 62 } } @@ -62307,15 +67102,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 6909, - "end": 7089, + "start": 7341, + "end": 7521, "loc": { "start": { - "line": 227, + "line": 238, "column": 4 }, "end": { - "line": 230, + "line": 241, "column": 7 } } @@ -62335,15 +67130,15 @@ "updateContext": null }, "value": "if", - "start": 7095, - "end": 7097, + "start": 7527, + "end": 7529, "loc": { "start": { - "line": 231, + "line": 242, "column": 4 }, "end": { - "line": 231, + "line": 242, "column": 6 } } @@ -62360,15 +67155,15 @@ "postfix": false, "binop": null }, - "start": 7097, - "end": 7098, + "start": 7529, + "end": 7530, "loc": { "start": { - "line": 231, + "line": 242, "column": 6 }, "end": { - "line": 231, + "line": 242, "column": 7 } } @@ -62386,15 +67181,15 @@ "binop": null }, "value": "position", - "start": 7098, - "end": 7106, + "start": 7530, + "end": 7538, "loc": { "start": { - "line": 231, + "line": 242, "column": 7 }, "end": { - "line": 231, + "line": 242, "column": 15 } } @@ -62413,15 +67208,15 @@ "updateContext": null }, "value": "&&", - "start": 7107, - "end": 7109, + "start": 7539, + "end": 7541, "loc": { "start": { - "line": 231, + "line": 242, "column": 16 }, "end": { - "line": 231, + "line": 242, "column": 18 } } @@ -62439,15 +67234,15 @@ "binop": null }, "value": "position", - "start": 7110, - "end": 7118, + "start": 7542, + "end": 7550, "loc": { "start": { - "line": 231, + "line": 242, "column": 19 }, "end": { - "line": 231, + "line": 242, "column": 27 } } @@ -62466,15 +67261,15 @@ "updateContext": null }, "value": ">=", - "start": 7119, - "end": 7121, + "start": 7551, + "end": 7553, "loc": { "start": { - "line": 231, + "line": 242, "column": 28 }, "end": { - "line": 231, + "line": 242, "column": 30 } } @@ -62493,15 +67288,15 @@ "updateContext": null }, "value": 0, - "start": 7122, - "end": 7123, + "start": 7554, + "end": 7555, "loc": { "start": { - "line": 231, + "line": 242, "column": 31 }, "end": { - "line": 231, + "line": 242, "column": 32 } } @@ -62518,15 +67313,15 @@ "postfix": false, "binop": null }, - "start": 7123, - "end": 7124, + "start": 7555, + "end": 7556, "loc": { "start": { - "line": 231, + "line": 242, "column": 32 }, "end": { - "line": 231, + "line": 242, "column": 33 } } @@ -62543,15 +67338,15 @@ "postfix": false, "binop": null }, - "start": 7124, - "end": 7125, + "start": 7556, + "end": 7557, "loc": { "start": { - "line": 231, + "line": 242, "column": 33 }, "end": { - "line": 231, + "line": 242, "column": 34 } } @@ -62569,15 +67364,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7133, - "end": 7145, + "start": 7565, + "end": 7577, "loc": { "start": { - "line": 232, + "line": 243, "column": 6 }, "end": { - "line": 232, + "line": 243, "column": 18 } } @@ -62596,15 +67391,15 @@ "updateContext": null }, "value": "=", - "start": 7146, - "end": 7147, + "start": 7578, + "end": 7579, "loc": { "start": { - "line": 232, + "line": 243, "column": 19 }, "end": { - "line": 232, + "line": 243, "column": 20 } } @@ -62622,15 +67417,15 @@ "binop": null }, "value": "source", - "start": 7148, - "end": 7154, + "start": 7580, + "end": 7586, "loc": { "start": { - "line": 232, + "line": 243, "column": 21 }, "end": { - "line": 232, + "line": 243, "column": 27 } } @@ -62648,15 +67443,15 @@ "binop": null, "updateContext": null }, - "start": 7154, - "end": 7155, + "start": 7586, + "end": 7587, "loc": { "start": { - "line": 232, + "line": 243, "column": 27 }, "end": { - "line": 232, + "line": 243, "column": 28 } } @@ -62674,15 +67469,15 @@ "binop": null }, "value": "substring", - "start": 7155, - "end": 7164, + "start": 7587, + "end": 7596, "loc": { "start": { - "line": 232, + "line": 243, "column": 28 }, "end": { - "line": 232, + "line": 243, "column": 37 } } @@ -62699,15 +67494,15 @@ "postfix": false, "binop": null }, - "start": 7164, - "end": 7165, + "start": 7596, + "end": 7597, "loc": { "start": { - "line": 232, + "line": 243, "column": 37 }, "end": { - "line": 232, + "line": 243, "column": 38 } } @@ -62725,15 +67520,15 @@ "binop": null }, "value": "position", - "start": 7165, - "end": 7173, + "start": 7597, + "end": 7605, "loc": { "start": { - "line": 232, + "line": 243, "column": 38 }, "end": { - "line": 232, + "line": 243, "column": 46 } } @@ -62752,15 +67547,15 @@ "updateContext": null }, "value": "-", - "start": 7174, - "end": 7175, + "start": 7606, + "end": 7607, "loc": { "start": { - "line": 232, + "line": 243, "column": 47 }, "end": { - "line": 232, + "line": 243, "column": 48 } } @@ -62779,15 +67574,15 @@ "updateContext": null }, "value": 2, - "start": 7176, - "end": 7177, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 232, + "line": 243, "column": 49 }, "end": { - "line": 232, + "line": 243, "column": 50 } } @@ -62805,15 +67600,15 @@ "binop": null, "updateContext": null }, - "start": 7177, - "end": 7178, + "start": 7609, + "end": 7610, "loc": { "start": { - "line": 232, + "line": 243, "column": 50 }, "end": { - "line": 232, + "line": 243, "column": 51 } } @@ -62831,15 +67626,15 @@ "binop": null }, "value": "position", - "start": 7179, - "end": 7187, + "start": 7611, + "end": 7619, "loc": { "start": { - "line": 232, + "line": 243, "column": 52 }, "end": { - "line": 232, + "line": 243, "column": 60 } } @@ -62856,15 +67651,15 @@ "postfix": false, "binop": null }, - "start": 7187, - "end": 7188, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 232, + "line": 243, "column": 60 }, "end": { - "line": 232, + "line": 243, "column": 61 } } @@ -62882,15 +67677,15 @@ "binop": null }, "value": "emojiMatched", - "start": 7196, - "end": 7208, + "start": 7628, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 244, "column": 6 }, "end": { - "line": 233, + "line": 244, "column": 18 } } @@ -62909,15 +67704,15 @@ "updateContext": null }, "value": "=", - "start": 7209, - "end": 7210, + "start": 7641, + "end": 7642, "loc": { "start": { - "line": 233, + "line": 244, "column": 19 }, "end": { - "line": 233, + "line": 244, "column": 20 } } @@ -62935,15 +67730,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7211, - "end": 7223, + "start": 7643, + "end": 7655, "loc": { "start": { - "line": 233, + "line": 244, "column": 21 }, "end": { - "line": 233, + "line": 244, "column": 33 } } @@ -62961,15 +67756,15 @@ "binop": null, "updateContext": null }, - "start": 7223, - "end": 7224, + "start": 7655, + "end": 7656, "loc": { "start": { - "line": 233, + "line": 244, "column": 33 }, "end": { - "line": 233, + "line": 244, "column": 34 } } @@ -62987,15 +67782,15 @@ "binop": null }, "value": "match", - "start": 7224, - "end": 7229, + "start": 7656, + "end": 7661, "loc": { "start": { - "line": 233, + "line": 244, "column": 34 }, "end": { - "line": 233, + "line": 244, "column": 39 } } @@ -63012,15 +67807,15 @@ "postfix": false, "binop": null }, - "start": 7229, - "end": 7230, + "start": 7661, + "end": 7662, "loc": { "start": { - "line": 233, + "line": 244, "column": 39 }, "end": { - "line": 233, + "line": 244, "column": 40 } } @@ -63038,15 +67833,15 @@ "binop": null }, "value": "emojiMatchedReg", - "start": 7230, - "end": 7245, + "start": 7662, + "end": 7677, "loc": { "start": { - "line": 233, + "line": 244, "column": 40 }, "end": { - "line": 233, + "line": 244, "column": 55 } } @@ -63063,15 +67858,15 @@ "postfix": false, "binop": null }, - "start": 7245, - "end": 7246, + "start": 7677, + "end": 7678, "loc": { "start": { - "line": 233, + "line": 244, "column": 55 }, "end": { - "line": 233, + "line": 244, "column": 56 } } @@ -63089,15 +67884,15 @@ "binop": null, "updateContext": null }, - "start": 7246, - "end": 7247, + "start": 7678, + "end": 7679, "loc": { "start": { - "line": 233, + "line": 244, "column": 56 }, "end": { - "line": 233, + "line": 244, "column": 57 } } @@ -63117,15 +67912,15 @@ "updateContext": null }, "value": "if", - "start": 7257, - "end": 7259, + "start": 7689, + "end": 7691, "loc": { "start": { - "line": 235, + "line": 246, "column": 6 }, "end": { - "line": 235, + "line": 246, "column": 8 } } @@ -63142,15 +67937,15 @@ "postfix": false, "binop": null }, - "start": 7259, - "end": 7260, + "start": 7691, + "end": 7692, "loc": { "start": { - "line": 235, + "line": 246, "column": 8 }, "end": { - "line": 235, + "line": 246, "column": 9 } } @@ -63168,15 +67963,15 @@ "binop": null }, "value": "emojiMatched", - "start": 7260, - "end": 7272, + "start": 7692, + "end": 7704, "loc": { "start": { - "line": 235, + "line": 246, "column": 9 }, "end": { - "line": 235, + "line": 246, "column": 21 } } @@ -63193,15 +67988,15 @@ "postfix": false, "binop": null }, - "start": 7272, - "end": 7273, + "start": 7704, + "end": 7705, "loc": { "start": { - "line": 235, + "line": 246, "column": 21 }, "end": { - "line": 235, + "line": 246, "column": 22 } } @@ -63218,15 +68013,15 @@ "postfix": false, "binop": null }, - "start": 7273, - "end": 7274, + "start": 7705, + "end": 7706, "loc": { "start": { - "line": 235, + "line": 246, "column": 22 }, "end": { - "line": 235, + "line": 246, "column": 23 } } @@ -63244,15 +68039,15 @@ "binop": null }, "value": "output", - "start": 7284, - "end": 7290, + "start": 7716, + "end": 7722, "loc": { "start": { - "line": 236, + "line": 247, "column": 8 }, "end": { - "line": 236, + "line": 247, "column": 14 } } @@ -63271,15 +68066,15 @@ "updateContext": null }, "value": "=", - "start": 7291, - "end": 7292, + "start": 7723, + "end": 7724, "loc": { "start": { - "line": 236, + "line": 247, "column": 15 }, "end": { - "line": 236, + "line": 247, "column": 16 } } @@ -63297,15 +68092,15 @@ "binop": null }, "value": "source", - "start": 7293, - "end": 7299, + "start": 7725, + "end": 7731, "loc": { "start": { - "line": 236, + "line": 247, "column": 17 }, "end": { - "line": 236, + "line": 247, "column": 23 } } @@ -63323,15 +68118,15 @@ "binop": null, "updateContext": null }, - "start": 7299, - "end": 7300, + "start": 7731, + "end": 7732, "loc": { "start": { - "line": 236, + "line": 247, "column": 23 }, "end": { - "line": 236, + "line": 247, "column": 24 } } @@ -63349,15 +68144,15 @@ "binop": null }, "value": "substr", - "start": 7300, - "end": 7306, + "start": 7732, + "end": 7738, "loc": { "start": { - "line": 236, + "line": 247, "column": 24 }, "end": { - "line": 236, + "line": 247, "column": 30 } } @@ -63374,15 +68169,15 @@ "postfix": false, "binop": null }, - "start": 7306, - "end": 7307, + "start": 7738, + "end": 7739, "loc": { "start": { - "line": 236, + "line": 247, "column": 30 }, "end": { - "line": 236, + "line": 247, "column": 31 } } @@ -63401,15 +68196,15 @@ "updateContext": null }, "value": 0, - "start": 7307, - "end": 7308, + "start": 7739, + "end": 7740, "loc": { "start": { - "line": 236, + "line": 247, "column": 31 }, "end": { - "line": 236, + "line": 247, "column": 32 } } @@ -63427,15 +68222,15 @@ "binop": null, "updateContext": null }, - "start": 7308, - "end": 7309, + "start": 7740, + "end": 7741, "loc": { "start": { - "line": 236, + "line": 247, "column": 32 }, "end": { - "line": 236, + "line": 247, "column": 33 } } @@ -63452,15 +68247,15 @@ "postfix": false, "binop": null }, - "start": 7310, - "end": 7311, + "start": 7742, + "end": 7743, "loc": { "start": { - "line": 236, + "line": 247, "column": 34 }, "end": { - "line": 236, + "line": 247, "column": 35 } } @@ -63478,15 +68273,15 @@ "binop": null }, "value": "position", - "start": 7311, - "end": 7319, + "start": 7743, + "end": 7751, "loc": { "start": { - "line": 236, + "line": 247, "column": 35 }, "end": { - "line": 236, + "line": 247, "column": 43 } } @@ -63505,15 +68300,15 @@ "updateContext": null }, "value": "-", - "start": 7320, - "end": 7321, + "start": 7752, + "end": 7753, "loc": { "start": { - "line": 236, + "line": 247, "column": 44 }, "end": { - "line": 236, + "line": 247, "column": 45 } } @@ -63532,15 +68327,15 @@ "updateContext": null }, "value": 2, - "start": 7322, - "end": 7323, + "start": 7754, + "end": 7755, "loc": { "start": { - "line": 236, + "line": 247, "column": 46 }, "end": { - "line": 236, + "line": 247, "column": 47 } } @@ -63557,15 +68352,15 @@ "postfix": false, "binop": null }, - "start": 7323, - "end": 7324, + "start": 7755, + "end": 7756, "loc": { "start": { - "line": 236, + "line": 247, "column": 47 }, "end": { - "line": 236, + "line": 247, "column": 48 } } @@ -63582,15 +68377,15 @@ "postfix": false, "binop": null }, - "start": 7324, - "end": 7325, + "start": 7756, + "end": 7757, "loc": { "start": { - "line": 236, + "line": 247, "column": 48 }, "end": { - "line": 236, + "line": 247, "column": 49 } } @@ -63609,15 +68404,15 @@ "updateContext": null }, "value": "+", - "start": 7326, - "end": 7327, + "start": 7758, + "end": 7759, "loc": { "start": { - "line": 236, + "line": 247, "column": 50 }, "end": { - "line": 236, + "line": 247, "column": 51 } } @@ -63635,15 +68430,15 @@ "binop": null }, "value": "source", - "start": 7328, - "end": 7334, + "start": 7760, + "end": 7766, "loc": { "start": { - "line": 236, + "line": 247, "column": 52 }, "end": { - "line": 236, + "line": 247, "column": 58 } } @@ -63661,15 +68456,15 @@ "binop": null, "updateContext": null }, - "start": 7334, - "end": 7335, + "start": 7766, + "end": 7767, "loc": { "start": { - "line": 236, + "line": 247, "column": 58 }, "end": { - "line": 236, + "line": 247, "column": 59 } } @@ -63687,15 +68482,15 @@ "binop": null }, "value": "substr", - "start": 7335, - "end": 7341, + "start": 7767, + "end": 7773, "loc": { "start": { - "line": 236, + "line": 247, "column": 59 }, "end": { - "line": 236, + "line": 247, "column": 65 } } @@ -63712,15 +68507,15 @@ "postfix": false, "binop": null }, - "start": 7341, - "end": 7342, + "start": 7773, + "end": 7774, "loc": { "start": { - "line": 236, + "line": 247, "column": 65 }, "end": { - "line": 236, + "line": 247, "column": 66 } } @@ -63738,15 +68533,15 @@ "binop": null }, "value": "position", - "start": 7342, - "end": 7350, + "start": 7774, + "end": 7782, "loc": { "start": { - "line": 236, + "line": 247, "column": 66 }, "end": { - "line": 236, + "line": 247, "column": 74 } } @@ -63763,15 +68558,15 @@ "postfix": false, "binop": null }, - "start": 7350, - "end": 7351, + "start": 7782, + "end": 7783, "loc": { "start": { - "line": 236, + "line": 247, "column": 74 }, "end": { - "line": 236, + "line": 247, "column": 75 } } @@ -63789,15 +68584,15 @@ "binop": null, "updateContext": null }, - "start": 7351, - "end": 7352, + "start": 7783, + "end": 7784, "loc": { "start": { - "line": 236, + "line": 247, "column": 75 }, "end": { - "line": 236, + "line": 247, "column": 76 } } @@ -63817,15 +68612,15 @@ "updateContext": null }, "value": "this", - "start": 7362, - "end": 7366, + "start": 7794, + "end": 7798, "loc": { "start": { - "line": 237, + "line": 248, "column": 8 }, "end": { - "line": 237, + "line": 248, "column": 12 } } @@ -63843,15 +68638,15 @@ "binop": null, "updateContext": null }, - "start": 7366, - "end": 7367, + "start": 7798, + "end": 7799, "loc": { "start": { - "line": 237, + "line": 248, "column": 12 }, "end": { - "line": 237, + "line": 248, "column": 13 } } @@ -63869,15 +68664,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 7367, - "end": 7381, + "start": 7799, + "end": 7813, "loc": { "start": { - "line": 237, + "line": 248, "column": 13 }, "end": { - "line": 237, + "line": 248, "column": 27 } } @@ -63894,15 +68689,15 @@ "postfix": false, "binop": null }, - "start": 7381, - "end": 7382, + "start": 7813, + "end": 7814, "loc": { "start": { - "line": 237, + "line": 248, "column": 27 }, "end": { - "line": 237, + "line": 248, "column": 28 } } @@ -63921,15 +68716,15 @@ "updateContext": null }, "value": 2, - "start": 7382, - "end": 7383, + "start": 7814, + "end": 7815, "loc": { "start": { - "line": 237, + "line": 248, "column": 28 }, "end": { - "line": 237, + "line": 248, "column": 29 } } @@ -63947,15 +68742,15 @@ "binop": null, "updateContext": null }, - "start": 7383, - "end": 7384, + "start": 7815, + "end": 7816, "loc": { "start": { - "line": 237, + "line": 248, "column": 29 }, "end": { - "line": 237, + "line": 248, "column": 30 } } @@ -63975,15 +68770,15 @@ "updateContext": null }, "value": "true", - "start": 7385, - "end": 7389, + "start": 7817, + "end": 7821, "loc": { "start": { - "line": 237, + "line": 248, "column": 31 }, "end": { - "line": 237, + "line": 248, "column": 35 } } @@ -64000,15 +68795,15 @@ "postfix": false, "binop": null }, - "start": 7389, - "end": 7390, + "start": 7821, + "end": 7822, "loc": { "start": { - "line": 237, + "line": 248, "column": 35 }, "end": { - "line": 237, + "line": 248, "column": 36 } } @@ -64026,15 +68821,15 @@ "binop": null, "updateContext": null }, - "start": 7390, - "end": 7391, + "start": 7822, + "end": 7823, "loc": { "start": { - "line": 237, + "line": 248, "column": 36 }, "end": { - "line": 237, + "line": 248, "column": 37 } } @@ -64051,15 +68846,15 @@ "postfix": false, "binop": null }, - "start": 7399, - "end": 7400, + "start": 7831, + "end": 7832, "loc": { "start": { - "line": 238, + "line": 249, "column": 6 }, "end": { - "line": 238, + "line": 249, "column": 7 } } @@ -64079,15 +68874,15 @@ "updateContext": null }, "value": "else", - "start": 7401, - "end": 7405, + "start": 7833, + "end": 7837, "loc": { "start": { - "line": 238, + "line": 249, "column": 8 }, "end": { - "line": 238, + "line": 249, "column": 12 } } @@ -64104,15 +68899,15 @@ "postfix": false, "binop": null }, - "start": 7406, - "end": 7407, + "start": 7838, + "end": 7839, "loc": { "start": { - "line": 238, + "line": 249, "column": 13 }, "end": { - "line": 238, + "line": 249, "column": 14 } } @@ -64130,15 +68925,15 @@ "binop": null }, "value": "output", - "start": 7417, - "end": 7423, + "start": 7849, + "end": 7855, "loc": { "start": { - "line": 239, + "line": 250, "column": 8 }, "end": { - "line": 239, + "line": 250, "column": 14 } } @@ -64157,15 +68952,15 @@ "updateContext": null }, "value": "=", - "start": 7424, - "end": 7425, + "start": 7856, + "end": 7857, "loc": { "start": { - "line": 239, + "line": 250, "column": 15 }, "end": { - "line": 239, + "line": 250, "column": 16 } } @@ -64183,15 +68978,15 @@ "binop": null }, "value": "source", - "start": 7426, - "end": 7432, + "start": 7858, + "end": 7864, "loc": { "start": { - "line": 239, + "line": 250, "column": 17 }, "end": { - "line": 239, + "line": 250, "column": 23 } } @@ -64209,15 +69004,15 @@ "binop": null, "updateContext": null }, - "start": 7432, - "end": 7433, + "start": 7864, + "end": 7865, "loc": { "start": { - "line": 239, + "line": 250, "column": 23 }, "end": { - "line": 239, + "line": 250, "column": 24 } } @@ -64235,15 +69030,15 @@ "binop": null }, "value": "substr", - "start": 7433, - "end": 7439, + "start": 7865, + "end": 7871, "loc": { "start": { - "line": 239, + "line": 250, "column": 24 }, "end": { - "line": 239, + "line": 250, "column": 30 } } @@ -64260,15 +69055,15 @@ "postfix": false, "binop": null }, - "start": 7439, - "end": 7440, + "start": 7871, + "end": 7872, "loc": { "start": { - "line": 239, + "line": 250, "column": 30 }, "end": { - "line": 239, + "line": 250, "column": 31 } } @@ -64287,15 +69082,15 @@ "updateContext": null }, "value": 0, - "start": 7440, - "end": 7441, + "start": 7872, + "end": 7873, "loc": { "start": { - "line": 239, + "line": 250, "column": 31 }, "end": { - "line": 239, + "line": 250, "column": 32 } } @@ -64313,15 +69108,15 @@ "binop": null, "updateContext": null }, - "start": 7441, - "end": 7442, + "start": 7873, + "end": 7874, "loc": { "start": { - "line": 239, + "line": 250, "column": 32 }, "end": { - "line": 239, + "line": 250, "column": 33 } } @@ -64338,15 +69133,15 @@ "postfix": false, "binop": null }, - "start": 7443, - "end": 7444, + "start": 7875, + "end": 7876, "loc": { "start": { - "line": 239, + "line": 250, "column": 34 }, "end": { - "line": 239, + "line": 250, "column": 35 } } @@ -64364,15 +69159,15 @@ "binop": null }, "value": "position", - "start": 7444, - "end": 7452, + "start": 7876, + "end": 7884, "loc": { "start": { - "line": 239, + "line": 250, "column": 35 }, "end": { - "line": 239, + "line": 250, "column": 43 } } @@ -64391,15 +69186,15 @@ "updateContext": null }, "value": "-", - "start": 7453, - "end": 7454, + "start": 7885, + "end": 7886, "loc": { "start": { - "line": 239, + "line": 250, "column": 44 }, "end": { - "line": 239, + "line": 250, "column": 45 } } @@ -64418,15 +69213,15 @@ "updateContext": null }, "value": 1, - "start": 7455, - "end": 7456, + "start": 7887, + "end": 7888, "loc": { "start": { - "line": 239, + "line": 250, "column": 46 }, "end": { - "line": 239, + "line": 250, "column": 47 } } @@ -64443,15 +69238,15 @@ "postfix": false, "binop": null }, - "start": 7456, - "end": 7457, + "start": 7888, + "end": 7889, "loc": { "start": { - "line": 239, + "line": 250, "column": 47 }, "end": { - "line": 239, + "line": 250, "column": 48 } } @@ -64468,15 +69263,15 @@ "postfix": false, "binop": null }, - "start": 7457, - "end": 7458, + "start": 7889, + "end": 7890, "loc": { "start": { - "line": 239, + "line": 250, "column": 48 }, "end": { - "line": 239, + "line": 250, "column": 49 } } @@ -64495,15 +69290,15 @@ "updateContext": null }, "value": "+", - "start": 7459, - "end": 7460, + "start": 7891, + "end": 7892, "loc": { "start": { - "line": 239, + "line": 250, "column": 50 }, "end": { - "line": 239, + "line": 250, "column": 51 } } @@ -64521,15 +69316,15 @@ "binop": null }, "value": "source", - "start": 7461, - "end": 7467, + "start": 7893, + "end": 7899, "loc": { "start": { - "line": 239, + "line": 250, "column": 52 }, "end": { - "line": 239, + "line": 250, "column": 58 } } @@ -64547,15 +69342,15 @@ "binop": null, "updateContext": null }, - "start": 7467, - "end": 7468, + "start": 7899, + "end": 7900, "loc": { "start": { - "line": 239, + "line": 250, "column": 58 }, "end": { - "line": 239, + "line": 250, "column": 59 } } @@ -64573,15 +69368,15 @@ "binop": null }, "value": "substr", - "start": 7468, - "end": 7474, + "start": 7900, + "end": 7906, "loc": { "start": { - "line": 239, + "line": 250, "column": 59 }, "end": { - "line": 239, + "line": 250, "column": 65 } } @@ -64598,15 +69393,15 @@ "postfix": false, "binop": null }, - "start": 7474, - "end": 7475, + "start": 7906, + "end": 7907, "loc": { "start": { - "line": 239, + "line": 250, "column": 65 }, "end": { - "line": 239, + "line": 250, "column": 66 } } @@ -64624,15 +69419,15 @@ "binop": null }, "value": "position", - "start": 7475, - "end": 7483, + "start": 7907, + "end": 7915, "loc": { "start": { - "line": 239, + "line": 250, "column": 66 }, "end": { - "line": 239, + "line": 250, "column": 74 } } @@ -64649,15 +69444,15 @@ "postfix": false, "binop": null }, - "start": 7483, - "end": 7484, + "start": 7915, + "end": 7916, "loc": { "start": { - "line": 239, + "line": 250, "column": 74 }, "end": { - "line": 239, + "line": 250, "column": 75 } } @@ -64675,15 +69470,15 @@ "binop": null, "updateContext": null }, - "start": 7484, - "end": 7485, + "start": 7916, + "end": 7917, "loc": { "start": { - "line": 239, + "line": 250, "column": 75 }, "end": { - "line": 239, + "line": 250, "column": 76 } } @@ -64703,15 +69498,15 @@ "updateContext": null }, "value": "this", - "start": 7495, - "end": 7499, + "start": 7927, + "end": 7931, "loc": { "start": { - "line": 240, + "line": 251, "column": 8 }, "end": { - "line": 240, + "line": 251, "column": 12 } } @@ -64729,15 +69524,15 @@ "binop": null, "updateContext": null }, - "start": 7499, - "end": 7500, + "start": 7931, + "end": 7932, "loc": { "start": { - "line": 240, + "line": 251, "column": 12 }, "end": { - "line": 240, + "line": 251, "column": 13 } } @@ -64755,15 +69550,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 7500, - "end": 7514, + "start": 7932, + "end": 7946, "loc": { "start": { - "line": 240, + "line": 251, "column": 13 }, "end": { - "line": 240, + "line": 251, "column": 27 } } @@ -64780,15 +69575,15 @@ "postfix": false, "binop": null }, - "start": 7514, - "end": 7515, + "start": 7946, + "end": 7947, "loc": { "start": { - "line": 240, + "line": 251, "column": 27 }, "end": { - "line": 240, + "line": 251, "column": 28 } } @@ -64807,15 +69602,15 @@ "updateContext": null }, "value": 1, - "start": 7515, - "end": 7516, + "start": 7947, + "end": 7948, "loc": { "start": { - "line": 240, + "line": 251, "column": 28 }, "end": { - "line": 240, + "line": 251, "column": 29 } } @@ -64833,15 +69628,15 @@ "binop": null, "updateContext": null }, - "start": 7516, - "end": 7517, + "start": 7948, + "end": 7949, "loc": { "start": { - "line": 240, + "line": 251, "column": 29 }, "end": { - "line": 240, + "line": 251, "column": 30 } } @@ -64861,15 +69656,15 @@ "updateContext": null }, "value": "true", - "start": 7518, - "end": 7522, + "start": 7950, + "end": 7954, "loc": { "start": { - "line": 240, + "line": 251, "column": 31 }, "end": { - "line": 240, + "line": 251, "column": 35 } } @@ -64886,15 +69681,15 @@ "postfix": false, "binop": null }, - "start": 7522, - "end": 7523, + "start": 7954, + "end": 7955, "loc": { "start": { - "line": 240, + "line": 251, "column": 35 }, "end": { - "line": 240, + "line": 251, "column": 36 } } @@ -64912,15 +69707,15 @@ "binop": null, "updateContext": null }, - "start": 7523, - "end": 7524, + "start": 7955, + "end": 7956, "loc": { "start": { - "line": 240, + "line": 251, "column": 36 }, "end": { - "line": 240, + "line": 251, "column": 37 } } @@ -64937,15 +69732,15 @@ "postfix": false, "binop": null }, - "start": 7532, - "end": 7533, + "start": 7964, + "end": 7965, "loc": { "start": { - "line": 241, + "line": 252, "column": 6 }, "end": { - "line": 241, + "line": 252, "column": 7 } } @@ -64962,15 +69757,15 @@ "postfix": false, "binop": null }, - "start": 7539, - "end": 7540, + "start": 7971, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 253, "column": 4 }, "end": { - "line": 242, + "line": 253, "column": 5 } } @@ -64990,15 +69785,15 @@ "updateContext": null }, "value": "else", - "start": 7541, - "end": 7545, + "start": 7973, + "end": 7977, "loc": { "start": { - "line": 242, + "line": 253, "column": 6 }, "end": { - "line": 242, + "line": 253, "column": 10 } } @@ -65015,15 +69810,15 @@ "postfix": false, "binop": null }, - "start": 7546, - "end": 7547, + "start": 7978, + "end": 7979, "loc": { "start": { - "line": 242, + "line": 253, "column": 11 }, "end": { - "line": 242, + "line": 253, "column": 12 } } @@ -65041,15 +69836,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7555, - "end": 7567, + "start": 7987, + "end": 7999, "loc": { "start": { - "line": 243, + "line": 254, "column": 6 }, "end": { - "line": 243, + "line": 254, "column": 18 } } @@ -65068,15 +69863,15 @@ "updateContext": null }, "value": "=", - "start": 7568, - "end": 7569, + "start": 8000, + "end": 8001, "loc": { "start": { - "line": 243, + "line": 254, "column": 19 }, "end": { - "line": 243, + "line": 254, "column": 20 } } @@ -65094,15 +69889,15 @@ "binop": null }, "value": "source", - "start": 7570, - "end": 7576, + "start": 8002, + "end": 8008, "loc": { "start": { - "line": 243, + "line": 254, "column": 21 }, "end": { - "line": 243, + "line": 254, "column": 27 } } @@ -65120,15 +69915,15 @@ "binop": null, "updateContext": null }, - "start": 7576, - "end": 7577, + "start": 8008, + "end": 8009, "loc": { "start": { - "line": 243, + "line": 254, "column": 27 }, "end": { - "line": 243, + "line": 254, "column": 28 } } @@ -65146,15 +69941,15 @@ "binop": null }, "value": "slice", - "start": 7577, - "end": 7582, + "start": 8009, + "end": 8014, "loc": { "start": { - "line": 243, + "line": 254, "column": 28 }, "end": { - "line": 243, + "line": 254, "column": 33 } } @@ -65171,15 +69966,15 @@ "postfix": false, "binop": null }, - "start": 7582, - "end": 7583, + "start": 8014, + "end": 8015, "loc": { "start": { - "line": 243, + "line": 254, "column": 33 }, "end": { - "line": 243, + "line": 254, "column": 34 } } @@ -65198,15 +69993,15 @@ "updateContext": null }, "value": "-", - "start": 7583, - "end": 7584, + "start": 8015, + "end": 8016, "loc": { "start": { - "line": 243, + "line": 254, "column": 34 }, "end": { - "line": 243, + "line": 254, "column": 35 } } @@ -65225,15 +70020,15 @@ "updateContext": null }, "value": 2, - "start": 7584, - "end": 7585, + "start": 8016, + "end": 8017, "loc": { "start": { - "line": 243, + "line": 254, "column": 35 }, "end": { - "line": 243, + "line": 254, "column": 36 } } @@ -65250,15 +70045,15 @@ "postfix": false, "binop": null }, - "start": 7585, - "end": 7586, + "start": 8017, + "end": 8018, "loc": { "start": { - "line": 243, + "line": 254, "column": 36 }, "end": { - "line": 243, + "line": 254, "column": 37 } } @@ -65276,15 +70071,15 @@ "binop": null, "updateContext": null }, - "start": 7586, - "end": 7587, + "start": 8018, + "end": 8019, "loc": { "start": { - "line": 243, + "line": 254, "column": 37 }, "end": { - "line": 243, + "line": 254, "column": 38 } } @@ -65302,15 +70097,15 @@ "binop": null }, "value": "emojiMatched", - "start": 7595, - "end": 7607, + "start": 8027, + "end": 8039, "loc": { "start": { - "line": 244, + "line": 255, "column": 6 }, "end": { - "line": 244, + "line": 255, "column": 18 } } @@ -65329,15 +70124,15 @@ "updateContext": null }, "value": "=", - "start": 7608, - "end": 7609, + "start": 8040, + "end": 8041, "loc": { "start": { - "line": 244, + "line": 255, "column": 19 }, "end": { - "line": 244, + "line": 255, "column": 20 } } @@ -65355,15 +70150,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7610, - "end": 7622, + "start": 8042, + "end": 8054, "loc": { "start": { - "line": 244, + "line": 255, "column": 21 }, "end": { - "line": 244, + "line": 255, "column": 33 } } @@ -65381,15 +70176,15 @@ "binop": null, "updateContext": null }, - "start": 7622, - "end": 7623, + "start": 8054, + "end": 8055, "loc": { "start": { - "line": 244, + "line": 255, "column": 33 }, "end": { - "line": 244, + "line": 255, "column": 34 } } @@ -65407,15 +70202,15 @@ "binop": null }, "value": "match", - "start": 7623, - "end": 7628, + "start": 8055, + "end": 8060, "loc": { "start": { - "line": 244, + "line": 255, "column": 34 }, "end": { - "line": 244, + "line": 255, "column": 39 } } @@ -65432,15 +70227,15 @@ "postfix": false, "binop": null }, - "start": 7628, - "end": 7629, + "start": 8060, + "end": 8061, "loc": { "start": { - "line": 244, + "line": 255, "column": 39 }, "end": { - "line": 244, + "line": 255, "column": 40 } } @@ -65458,15 +70253,15 @@ "binop": null }, "value": "emojiMatchedReg", - "start": 7629, - "end": 7644, + "start": 8061, + "end": 8076, "loc": { "start": { - "line": 244, + "line": 255, "column": 40 }, "end": { - "line": 244, + "line": 255, "column": 55 } } @@ -65483,15 +70278,15 @@ "postfix": false, "binop": null }, - "start": 7644, - "end": 7645, + "start": 8076, + "end": 8077, "loc": { "start": { - "line": 244, + "line": 255, "column": 55 }, "end": { - "line": 244, + "line": 255, "column": 56 } } @@ -65509,15 +70304,15 @@ "binop": null, "updateContext": null }, - "start": 7645, - "end": 7646, + "start": 8077, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 255, "column": 56 }, "end": { - "line": 244, + "line": 255, "column": 57 } } @@ -65537,15 +70332,15 @@ "updateContext": null }, "value": "if", - "start": 7656, - "end": 7658, + "start": 8088, + "end": 8090, "loc": { "start": { - "line": 246, + "line": 257, "column": 6 }, "end": { - "line": 246, + "line": 257, "column": 8 } } @@ -65562,15 +70357,15 @@ "postfix": false, "binop": null }, - "start": 7658, - "end": 7659, + "start": 8090, + "end": 8091, "loc": { "start": { - "line": 246, + "line": 257, "column": 8 }, "end": { - "line": 246, + "line": 257, "column": 9 } } @@ -65588,15 +70383,15 @@ "binop": null }, "value": "emojiMatched", - "start": 7659, - "end": 7671, + "start": 8091, + "end": 8103, "loc": { "start": { - "line": 246, + "line": 257, "column": 9 }, "end": { - "line": 246, + "line": 257, "column": 21 } } @@ -65613,15 +70408,15 @@ "postfix": false, "binop": null }, - "start": 7671, - "end": 7672, + "start": 8103, + "end": 8104, "loc": { "start": { - "line": 246, + "line": 257, "column": 21 }, "end": { - "line": 246, + "line": 257, "column": 22 } } @@ -65638,15 +70433,15 @@ "postfix": false, "binop": null }, - "start": 7672, - "end": 7673, + "start": 8104, + "end": 8105, "loc": { "start": { - "line": 246, + "line": 257, "column": 22 }, "end": { - "line": 246, + "line": 257, "column": 23 } } @@ -65664,15 +70459,15 @@ "binop": null }, "value": "output", - "start": 7683, - "end": 7689, + "start": 8115, + "end": 8121, "loc": { "start": { - "line": 247, + "line": 258, "column": 8 }, "end": { - "line": 247, + "line": 258, "column": 14 } } @@ -65691,15 +70486,15 @@ "updateContext": null }, "value": "=", - "start": 7690, - "end": 7691, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 247, + "line": 258, "column": 15 }, "end": { - "line": 247, + "line": 258, "column": 16 } } @@ -65717,15 +70512,15 @@ "binop": null }, "value": "source", - "start": 7692, - "end": 7698, + "start": 8124, + "end": 8130, "loc": { "start": { - "line": 247, + "line": 258, "column": 17 }, "end": { - "line": 247, + "line": 258, "column": 23 } } @@ -65743,15 +70538,15 @@ "binop": null, "updateContext": null }, - "start": 7698, - "end": 7699, + "start": 8130, + "end": 8131, "loc": { "start": { - "line": 247, + "line": 258, "column": 23 }, "end": { - "line": 247, + "line": 258, "column": 24 } } @@ -65769,15 +70564,15 @@ "binop": null }, "value": "slice", - "start": 7699, - "end": 7704, + "start": 8131, + "end": 8136, "loc": { "start": { - "line": 247, + "line": 258, "column": 24 }, "end": { - "line": 247, + "line": 258, "column": 29 } } @@ -65794,15 +70589,15 @@ "postfix": false, "binop": null }, - "start": 7704, - "end": 7705, + "start": 8136, + "end": 8137, "loc": { "start": { - "line": 247, + "line": 258, "column": 29 }, "end": { - "line": 247, + "line": 258, "column": 30 } } @@ -65821,15 +70616,15 @@ "updateContext": null }, "value": 0, - "start": 7705, - "end": 7706, + "start": 8137, + "end": 8138, "loc": { "start": { - "line": 247, + "line": 258, "column": 30 }, "end": { - "line": 247, + "line": 258, "column": 31 } } @@ -65847,15 +70642,15 @@ "binop": null, "updateContext": null }, - "start": 7706, - "end": 7707, + "start": 8138, + "end": 8139, "loc": { "start": { - "line": 247, + "line": 258, "column": 31 }, "end": { - "line": 247, + "line": 258, "column": 32 } } @@ -65874,15 +70669,15 @@ "updateContext": null }, "value": "-", - "start": 7708, - "end": 7709, + "start": 8140, + "end": 8141, "loc": { "start": { - "line": 247, + "line": 258, "column": 33 }, "end": { - "line": 247, + "line": 258, "column": 34 } } @@ -65901,15 +70696,15 @@ "updateContext": null }, "value": 2, - "start": 7709, - "end": 7710, + "start": 8141, + "end": 8142, "loc": { "start": { - "line": 247, + "line": 258, "column": 34 }, "end": { - "line": 247, + "line": 258, "column": 35 } } @@ -65926,15 +70721,15 @@ "postfix": false, "binop": null }, - "start": 7710, - "end": 7711, + "start": 8142, + "end": 8143, "loc": { "start": { - "line": 247, + "line": 258, "column": 35 }, "end": { - "line": 247, + "line": 258, "column": 36 } } @@ -65952,15 +70747,15 @@ "binop": null, "updateContext": null }, - "start": 7711, - "end": 7712, + "start": 8143, + "end": 8144, "loc": { "start": { - "line": 247, + "line": 258, "column": 36 }, "end": { - "line": 247, + "line": 258, "column": 37 } } @@ -65980,15 +70775,15 @@ "updateContext": null }, "value": "this", - "start": 7722, - "end": 7726, + "start": 8154, + "end": 8158, "loc": { "start": { - "line": 248, + "line": 259, "column": 8 }, "end": { - "line": 248, + "line": 259, "column": 12 } } @@ -66006,15 +70801,15 @@ "binop": null, "updateContext": null }, - "start": 7726, - "end": 7727, + "start": 8158, + "end": 8159, "loc": { "start": { - "line": 248, + "line": 259, "column": 12 }, "end": { - "line": 248, + "line": 259, "column": 13 } } @@ -66032,15 +70827,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 7727, - "end": 7741, + "start": 8159, + "end": 8173, "loc": { "start": { - "line": 248, + "line": 259, "column": 13 }, "end": { - "line": 248, + "line": 259, "column": 27 } } @@ -66057,15 +70852,15 @@ "postfix": false, "binop": null }, - "start": 7741, - "end": 7742, + "start": 8173, + "end": 8174, "loc": { "start": { - "line": 248, + "line": 259, "column": 27 }, "end": { - "line": 248, + "line": 259, "column": 28 } } @@ -66084,15 +70879,15 @@ "updateContext": null }, "value": 2, - "start": 7742, - "end": 7743, + "start": 8174, + "end": 8175, "loc": { "start": { - "line": 248, + "line": 259, "column": 28 }, "end": { - "line": 248, + "line": 259, "column": 29 } } @@ -66110,15 +70905,15 @@ "binop": null, "updateContext": null }, - "start": 7743, - "end": 7744, + "start": 8175, + "end": 8176, "loc": { "start": { - "line": 248, + "line": 259, "column": 29 }, "end": { - "line": 248, + "line": 259, "column": 30 } } @@ -66138,15 +70933,15 @@ "updateContext": null }, "value": "true", - "start": 7745, - "end": 7749, + "start": 8177, + "end": 8181, "loc": { "start": { - "line": 248, + "line": 259, "column": 31 }, "end": { - "line": 248, + "line": 259, "column": 35 } } @@ -66163,15 +70958,15 @@ "postfix": false, "binop": null }, - "start": 7749, - "end": 7750, + "start": 8181, + "end": 8182, "loc": { "start": { - "line": 248, + "line": 259, "column": 35 }, "end": { - "line": 248, + "line": 259, "column": 36 } } @@ -66189,15 +70984,15 @@ "binop": null, "updateContext": null }, - "start": 7750, - "end": 7751, + "start": 8182, + "end": 8183, "loc": { "start": { - "line": 248, + "line": 259, "column": 36 }, "end": { - "line": 248, + "line": 259, "column": 37 } } @@ -66214,15 +71009,15 @@ "postfix": false, "binop": null }, - "start": 7759, - "end": 7760, + "start": 8191, + "end": 8192, "loc": { "start": { - "line": 249, + "line": 260, "column": 6 }, "end": { - "line": 249, + "line": 260, "column": 7 } } @@ -66242,15 +71037,15 @@ "updateContext": null }, "value": "else", - "start": 7761, - "end": 7765, + "start": 8193, + "end": 8197, "loc": { "start": { - "line": 249, + "line": 260, "column": 8 }, "end": { - "line": 249, + "line": 260, "column": 12 } } @@ -66267,15 +71062,15 @@ "postfix": false, "binop": null }, - "start": 7766, - "end": 7767, + "start": 8198, + "end": 8199, "loc": { "start": { - "line": 249, + "line": 260, "column": 13 }, "end": { - "line": 249, + "line": 260, "column": 14 } } @@ -66293,15 +71088,15 @@ "binop": null }, "value": "output", - "start": 7777, - "end": 7783, + "start": 8209, + "end": 8215, "loc": { "start": { - "line": 250, + "line": 261, "column": 8 }, "end": { - "line": 250, + "line": 261, "column": 14 } } @@ -66320,15 +71115,15 @@ "updateContext": null }, "value": "=", - "start": 7784, - "end": 7785, + "start": 8216, + "end": 8217, "loc": { "start": { - "line": 250, + "line": 261, "column": 15 }, "end": { - "line": 250, + "line": 261, "column": 16 } } @@ -66346,15 +71141,15 @@ "binop": null }, "value": "source", - "start": 7786, - "end": 7792, + "start": 8218, + "end": 8224, "loc": { "start": { - "line": 250, + "line": 261, "column": 17 }, "end": { - "line": 250, + "line": 261, "column": 23 } } @@ -66372,15 +71167,15 @@ "binop": null, "updateContext": null }, - "start": 7792, - "end": 7793, + "start": 8224, + "end": 8225, "loc": { "start": { - "line": 250, + "line": 261, "column": 23 }, "end": { - "line": 250, + "line": 261, "column": 24 } } @@ -66398,15 +71193,15 @@ "binop": null }, "value": "slice", - "start": 7793, - "end": 7798, + "start": 8225, + "end": 8230, "loc": { "start": { - "line": 250, + "line": 261, "column": 24 }, "end": { - "line": 250, + "line": 261, "column": 29 } } @@ -66423,15 +71218,15 @@ "postfix": false, "binop": null }, - "start": 7798, - "end": 7799, + "start": 8230, + "end": 8231, "loc": { "start": { - "line": 250, + "line": 261, "column": 29 }, "end": { - "line": 250, + "line": 261, "column": 30 } } @@ -66450,15 +71245,15 @@ "updateContext": null }, "value": 0, - "start": 7799, - "end": 7800, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 250, + "line": 261, "column": 30 }, "end": { - "line": 250, + "line": 261, "column": 31 } } @@ -66476,15 +71271,15 @@ "binop": null, "updateContext": null }, - "start": 7800, - "end": 7801, + "start": 8232, + "end": 8233, "loc": { "start": { - "line": 250, + "line": 261, "column": 31 }, "end": { - "line": 250, + "line": 261, "column": 32 } } @@ -66503,15 +71298,15 @@ "updateContext": null }, "value": "-", - "start": 7802, - "end": 7803, + "start": 8234, + "end": 8235, "loc": { "start": { - "line": 250, + "line": 261, "column": 33 }, "end": { - "line": 250, + "line": 261, "column": 34 } } @@ -66530,15 +71325,15 @@ "updateContext": null }, "value": 1, - "start": 7803, - "end": 7804, + "start": 8235, + "end": 8236, "loc": { "start": { - "line": 250, + "line": 261, "column": 34 }, "end": { - "line": 250, + "line": 261, "column": 35 } } @@ -66555,15 +71350,15 @@ "postfix": false, "binop": null }, - "start": 7804, - "end": 7805, + "start": 8236, + "end": 8237, "loc": { "start": { - "line": 250, + "line": 261, "column": 35 }, "end": { - "line": 250, + "line": 261, "column": 36 } } @@ -66581,15 +71376,15 @@ "binop": null, "updateContext": null }, - "start": 7805, - "end": 7806, + "start": 8237, + "end": 8238, "loc": { "start": { - "line": 250, + "line": 261, "column": 36 }, "end": { - "line": 250, + "line": 261, "column": 37 } } @@ -66609,15 +71404,15 @@ "updateContext": null }, "value": "this", - "start": 7816, - "end": 7820, + "start": 8248, + "end": 8252, "loc": { "start": { - "line": 251, + "line": 262, "column": 8 }, "end": { - "line": 251, + "line": 262, "column": 12 } } @@ -66635,15 +71430,15 @@ "binop": null, "updateContext": null }, - "start": 7820, - "end": 7821, + "start": 8252, + "end": 8253, "loc": { "start": { - "line": 251, + "line": 262, "column": 12 }, "end": { - "line": 251, + "line": 262, "column": 13 } } @@ -66661,15 +71456,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 7821, - "end": 7835, + "start": 8253, + "end": 8267, "loc": { "start": { - "line": 251, + "line": 262, "column": 13 }, "end": { - "line": 251, + "line": 262, "column": 27 } } @@ -66686,15 +71481,15 @@ "postfix": false, "binop": null }, - "start": 7835, - "end": 7836, + "start": 8267, + "end": 8268, "loc": { "start": { - "line": 251, + "line": 262, "column": 27 }, "end": { - "line": 251, + "line": 262, "column": 28 } } @@ -66713,15 +71508,15 @@ "updateContext": null }, "value": 1, - "start": 7836, - "end": 7837, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 251, + "line": 262, "column": 28 }, "end": { - "line": 251, + "line": 262, "column": 29 } } @@ -66739,15 +71534,15 @@ "binop": null, "updateContext": null }, - "start": 7837, - "end": 7838, + "start": 8269, + "end": 8270, "loc": { "start": { - "line": 251, + "line": 262, "column": 29 }, "end": { - "line": 251, + "line": 262, "column": 30 } } @@ -66767,15 +71562,15 @@ "updateContext": null }, "value": "true", - "start": 7839, - "end": 7843, + "start": 8271, + "end": 8275, "loc": { "start": { - "line": 251, + "line": 262, "column": 31 }, "end": { - "line": 251, + "line": 262, "column": 35 } } @@ -66792,15 +71587,15 @@ "postfix": false, "binop": null }, - "start": 7843, - "end": 7844, + "start": 8275, + "end": 8276, "loc": { "start": { - "line": 251, + "line": 262, "column": 35 }, "end": { - "line": 251, + "line": 262, "column": 36 } } @@ -66818,15 +71613,15 @@ "binop": null, "updateContext": null }, - "start": 7844, - "end": 7845, + "start": 8276, + "end": 8277, "loc": { "start": { - "line": 251, + "line": 262, "column": 36 }, "end": { - "line": 251, + "line": 262, "column": 37 } } @@ -66843,15 +71638,15 @@ "postfix": false, "binop": null }, - "start": 7853, - "end": 7854, + "start": 8285, + "end": 8286, "loc": { "start": { - "line": 252, + "line": 263, "column": 6 }, "end": { - "line": 252, + "line": 263, "column": 7 } } @@ -66868,15 +71663,15 @@ "postfix": false, "binop": null }, - "start": 7860, - "end": 7861, + "start": 8292, + "end": 8293, "loc": { "start": { - "line": 253, + "line": 264, "column": 4 }, "end": { - "line": 253, + "line": 264, "column": 5 } } @@ -66896,15 +71691,15 @@ "updateContext": null }, "value": "return", - "start": 7869, - "end": 7875, + "start": 8301, + "end": 8307, "loc": { "start": { - "line": 255, + "line": 266, "column": 4 }, "end": { - "line": 255, + "line": 266, "column": 10 } } @@ -66922,15 +71717,15 @@ "binop": null }, "value": "output", - "start": 7876, - "end": 7882, + "start": 8308, + "end": 8314, "loc": { "start": { - "line": 255, + "line": 266, "column": 11 }, "end": { - "line": 255, + "line": 266, "column": 17 } } @@ -66948,15 +71743,15 @@ "binop": null, "updateContext": null }, - "start": 7882, - "end": 7883, + "start": 8314, + "end": 8315, "loc": { "start": { - "line": 255, + "line": 266, "column": 17 }, "end": { - "line": 255, + "line": 266, "column": 18 } } @@ -66973,15 +71768,15 @@ "postfix": false, "binop": null }, - "start": 7887, - "end": 7888, + "start": 8319, + "end": 8320, "loc": { "start": { - "line": 256, + "line": 267, "column": 2 }, "end": { - "line": 256, + "line": 267, "column": 3 } } @@ -66989,15 +71784,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 7892, - "end": 8123, + "start": 8324, + "end": 8555, "loc": { "start": { - "line": 257, + "line": 268, "column": 2 }, "end": { - "line": 263, + "line": 274, "column": 5 } } @@ -67015,15 +71810,15 @@ "binop": null }, "value": "handleMaxLength", - "start": 8127, - "end": 8142, + "start": 8559, + "end": 8574, "loc": { "start": { - "line": 264, + "line": 275, "column": 2 }, "end": { - "line": 264, + "line": 275, "column": 17 } } @@ -67040,15 +71835,15 @@ "postfix": false, "binop": null }, - "start": 8142, - "end": 8143, + "start": 8574, + "end": 8575, "loc": { "start": { - "line": 264, + "line": 275, "column": 17 }, "end": { - "line": 264, + "line": 275, "column": 18 } } @@ -67066,15 +71861,15 @@ "binop": null }, "value": "inputObj", - "start": 8143, - "end": 8151, + "start": 8575, + "end": 8583, "loc": { "start": { - "line": 264, + "line": 275, "column": 18 }, "end": { - "line": 264, + "line": 275, "column": 26 } } @@ -67092,15 +71887,15 @@ "binop": null, "updateContext": null }, - "start": 8151, - "end": 8152, + "start": 8583, + "end": 8584, "loc": { "start": { - "line": 264, + "line": 275, "column": 26 }, "end": { - "line": 264, + "line": 275, "column": 27 } } @@ -67118,15 +71913,15 @@ "binop": null }, "value": "options", - "start": 8153, - "end": 8160, + "start": 8585, + "end": 8592, "loc": { "start": { - "line": 264, + "line": 275, "column": 28 }, "end": { - "line": 264, + "line": 275, "column": 35 } } @@ -67144,15 +71939,15 @@ "binop": null, "updateContext": null }, - "start": 8160, - "end": 8161, + "start": 8592, + "end": 8593, "loc": { "start": { - "line": 264, + "line": 275, "column": 35 }, "end": { - "line": 264, + "line": 275, "column": 36 } } @@ -67170,15 +71965,15 @@ "binop": null }, "value": "updatedInput", - "start": 8162, - "end": 8174, + "start": 8594, + "end": 8606, "loc": { "start": { - "line": 264, + "line": 275, "column": 37 }, "end": { - "line": 264, + "line": 275, "column": 49 } } @@ -67195,15 +71990,15 @@ "postfix": false, "binop": null }, - "start": 8174, - "end": 8175, + "start": 8606, + "end": 8607, "loc": { "start": { - "line": 264, + "line": 275, "column": 49 }, "end": { - "line": 264, + "line": 275, "column": 50 } } @@ -67220,15 +72015,15 @@ "postfix": false, "binop": null }, - "start": 8175, - "end": 8176, + "start": 8607, + "end": 8608, "loc": { "start": { - "line": 264, + "line": 275, "column": 50 }, "end": { - "line": 264, + "line": 275, "column": 51 } } @@ -67248,15 +72043,15 @@ "updateContext": null }, "value": "let", - "start": 8182, - "end": 8185, + "start": 8614, + "end": 8617, "loc": { "start": { - "line": 265, + "line": 276, "column": 4 }, "end": { - "line": 265, + "line": 276, "column": 7 } } @@ -67274,15 +72069,15 @@ "binop": null }, "value": "maxLength", - "start": 8186, - "end": 8195, + "start": 8618, + "end": 8627, "loc": { "start": { - "line": 265, + "line": 276, "column": 8 }, "end": { - "line": 265, + "line": 276, "column": 17 } } @@ -67301,15 +72096,15 @@ "updateContext": null }, "value": "=", - "start": 8196, - "end": 8197, + "start": 8628, + "end": 8629, "loc": { "start": { - "line": 265, + "line": 276, "column": 18 }, "end": { - "line": 265, + "line": 276, "column": 19 } } @@ -67327,15 +72122,15 @@ "binop": null }, "value": "options", - "start": 8198, - "end": 8205, + "start": 8630, + "end": 8637, "loc": { "start": { - "line": 265, + "line": 276, "column": 20 }, "end": { - "line": 265, + "line": 276, "column": 27 } } @@ -67353,15 +72148,15 @@ "binop": null, "updateContext": null }, - "start": 8205, - "end": 8206, + "start": 8637, + "end": 8638, "loc": { "start": { - "line": 265, + "line": 276, "column": 27 }, "end": { - "line": 265, + "line": 276, "column": 28 } } @@ -67379,15 +72174,15 @@ "binop": null }, "value": "maxLength", - "start": 8206, - "end": 8215, + "start": 8638, + "end": 8647, "loc": { "start": { - "line": 265, + "line": 276, "column": 28 }, "end": { - "line": 265, + "line": 276, "column": 37 } } @@ -67405,15 +72200,15 @@ "binop": null, "updateContext": null }, - "start": 8215, - "end": 8216, + "start": 8647, + "end": 8648, "loc": { "start": { - "line": 265, + "line": 276, "column": 37 }, "end": { - "line": 265, + "line": 276, "column": 38 } } @@ -67433,15 +72228,15 @@ "updateContext": null }, "value": "let", - "start": 8222, - "end": 8225, + "start": 8654, + "end": 8657, "loc": { "start": { - "line": 266, + "line": 277, "column": 4 }, "end": { - "line": 266, + "line": 277, "column": 7 } } @@ -67459,15 +72254,15 @@ "binop": null }, "value": "currentInput", - "start": 8226, - "end": 8238, + "start": 8658, + "end": 8670, "loc": { "start": { - "line": 266, + "line": 277, "column": 8 }, "end": { - "line": 266, + "line": 277, "column": 20 } } @@ -67486,15 +72281,15 @@ "updateContext": null }, "value": "=", - "start": 8239, - "end": 8240, + "start": 8671, + "end": 8672, "loc": { "start": { - "line": 266, + "line": 277, "column": 21 }, "end": { - "line": 266, + "line": 277, "column": 22 } } @@ -67512,15 +72307,15 @@ "binop": null }, "value": "inputObj", - "start": 8241, - "end": 8249, + "start": 8673, + "end": 8681, "loc": { "start": { - "line": 266, + "line": 277, "column": 23 }, "end": { - "line": 266, + "line": 277, "column": 31 } } @@ -67538,15 +72333,15 @@ "binop": null, "updateContext": null }, - "start": 8249, - "end": 8250, + "start": 8681, + "end": 8682, "loc": { "start": { - "line": 266, + "line": 277, "column": 31 }, "end": { - "line": 266, + "line": 277, "column": 32 } } @@ -67564,15 +72359,15 @@ "binop": null }, "value": "options", - "start": 8250, - "end": 8257, + "start": 8682, + "end": 8689, "loc": { "start": { - "line": 266, + "line": 277, "column": 32 }, "end": { - "line": 266, + "line": 277, "column": 39 } } @@ -67590,15 +72385,15 @@ "binop": null, "updateContext": null }, - "start": 8257, - "end": 8258, + "start": 8689, + "end": 8690, "loc": { "start": { - "line": 266, + "line": 277, "column": 39 }, "end": { - "line": 266, + "line": 277, "column": 40 } } @@ -67616,15 +72411,15 @@ "binop": null }, "value": "inputName", - "start": 8258, - "end": 8267, + "start": 8690, + "end": 8699, "loc": { "start": { - "line": 266, + "line": 277, "column": 40 }, "end": { - "line": 266, + "line": 277, "column": 49 } } @@ -67642,15 +72437,15 @@ "binop": null, "updateContext": null }, - "start": 8267, - "end": 8268, + "start": 8699, + "end": 8700, "loc": { "start": { - "line": 266, + "line": 277, "column": 49 }, "end": { - "line": 266, + "line": 277, "column": 50 } } @@ -67668,15 +72463,15 @@ "binop": null, "updateContext": null }, - "start": 8268, - "end": 8269, + "start": 8700, + "end": 8701, "loc": { "start": { - "line": 266, + "line": 277, "column": 50 }, "end": { - "line": 266, + "line": 277, "column": 51 } } @@ -67696,15 +72491,15 @@ "updateContext": null }, "value": "let", - "start": 8275, - "end": 8278, + "start": 8707, + "end": 8710, "loc": { "start": { - "line": 267, + "line": 278, "column": 4 }, "end": { - "line": 267, + "line": 278, "column": 7 } } @@ -67722,15 +72517,15 @@ "binop": null }, "value": "condition", - "start": 8279, - "end": 8288, + "start": 8711, + "end": 8720, "loc": { "start": { - "line": 267, + "line": 278, "column": 8 }, "end": { - "line": 267, + "line": 278, "column": 17 } } @@ -67749,15 +72544,15 @@ "updateContext": null }, "value": "=", - "start": 8289, - "end": 8290, + "start": 8721, + "end": 8722, "loc": { "start": { - "line": 267, + "line": 278, "column": 18 }, "end": { - "line": 267, + "line": 278, "column": 19 } } @@ -67775,15 +72570,15 @@ "binop": null }, "value": "currentInput", - "start": 8291, - "end": 8303, + "start": 8723, + "end": 8735, "loc": { "start": { - "line": 267, + "line": 278, "column": 20 }, "end": { - "line": 267, + "line": 278, "column": 32 } } @@ -67801,15 +72596,15 @@ "binop": null, "updateContext": null }, - "start": 8303, - "end": 8304, + "start": 8735, + "end": 8736, "loc": { "start": { - "line": 267, + "line": 278, "column": 32 }, "end": { - "line": 267, + "line": 278, "column": 33 } } @@ -67827,15 +72622,15 @@ "binop": null }, "value": "length", - "start": 8304, - "end": 8310, + "start": 8736, + "end": 8742, "loc": { "start": { - "line": 267, + "line": 278, "column": 33 }, "end": { - "line": 267, + "line": 278, "column": 39 } } @@ -67854,15 +72649,15 @@ "updateContext": null }, "value": "===", - "start": 8311, - "end": 8314, + "start": 8743, + "end": 8746, "loc": { "start": { - "line": 267, + "line": 278, "column": 40 }, "end": { - "line": 267, + "line": 278, "column": 43 } } @@ -67880,15 +72675,15 @@ "binop": null }, "value": "maxLength", - "start": 8315, - "end": 8324, + "start": 8747, + "end": 8756, "loc": { "start": { - "line": 267, + "line": 278, "column": 44 }, "end": { - "line": 267, + "line": 278, "column": 53 } } @@ -67906,15 +72701,15 @@ "binop": null, "updateContext": null }, - "start": 8324, - "end": 8325, + "start": 8756, + "end": 8757, "loc": { "start": { - "line": 267, + "line": 278, "column": 53 }, "end": { - "line": 267, + "line": 278, "column": 54 } } @@ -67934,15 +72729,15 @@ "updateContext": null }, "value": "if", - "start": 8335, - "end": 8337, + "start": 8767, + "end": 8769, "loc": { "start": { - "line": 270, + "line": 281, "column": 4 }, "end": { - "line": 270, + "line": 281, "column": 6 } } @@ -67959,15 +72754,15 @@ "postfix": false, "binop": null }, - "start": 8337, - "end": 8338, + "start": 8769, + "end": 8770, "loc": { "start": { - "line": 270, + "line": 281, "column": 6 }, "end": { - "line": 270, + "line": 281, "column": 7 } } @@ -67975,15 +72770,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8346, - "end": 8467, + "start": 8778, + "end": 8899, "loc": { "start": { - "line": 271, + "line": 282, "column": 6 }, "end": { - "line": 274, + "line": 285, "column": 9 } } @@ -68001,15 +72796,15 @@ "binop": null }, "value": "updatedInput", - "start": 8475, - "end": 8487, + "start": 8907, + "end": 8919, "loc": { "start": { - "line": 275, + "line": 286, "column": 6 }, "end": { - "line": 275, + "line": 286, "column": 18 } } @@ -68027,15 +72822,15 @@ "binop": null, "updateContext": null }, - "start": 8487, - "end": 8488, + "start": 8919, + "end": 8920, "loc": { "start": { - "line": 275, + "line": 286, "column": 18 }, "end": { - "line": 275, + "line": 286, "column": 19 } } @@ -68053,15 +72848,15 @@ "binop": null }, "value": "length", - "start": 8488, - "end": 8494, + "start": 8920, + "end": 8926, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 25 } } @@ -68080,15 +72875,15 @@ "updateContext": null }, "value": "<=", - "start": 8495, - "end": 8497, + "start": 8927, + "end": 8929, "loc": { "start": { - "line": 275, + "line": 286, "column": 26 }, "end": { - "line": 275, + "line": 286, "column": 28 } } @@ -68106,15 +72901,15 @@ "binop": null }, "value": "currentInput", - "start": 8498, - "end": 8510, + "start": 8930, + "end": 8942, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 41 } } @@ -68132,15 +72927,15 @@ "binop": null, "updateContext": null }, - "start": 8510, - "end": 8511, + "start": 8942, + "end": 8943, "loc": { "start": { - "line": 275, + "line": 286, "column": 41 }, "end": { - "line": 275, + "line": 286, "column": 42 } } @@ -68158,15 +72953,15 @@ "binop": null }, "value": "length", - "start": 8511, - "end": 8517, + "start": 8943, + "end": 8949, "loc": { "start": { - "line": 275, + "line": 286, "column": 42 }, "end": { - "line": 275, + "line": 286, "column": 48 } } @@ -68183,15 +72978,15 @@ "postfix": false, "binop": null }, - "start": 8523, - "end": 8524, + "start": 8955, + "end": 8956, "loc": { "start": { - "line": 276, + "line": 287, "column": 4 }, "end": { - "line": 276, + "line": 287, "column": 5 } } @@ -68208,15 +73003,15 @@ "postfix": false, "binop": null }, - "start": 8524, - "end": 8525, + "start": 8956, + "end": 8957, "loc": { "start": { - "line": 276, + "line": 287, "column": 5 }, "end": { - "line": 276, + "line": 287, "column": 6 } } @@ -68236,15 +73031,15 @@ "updateContext": null }, "value": "return", - "start": 8533, - "end": 8539, + "start": 8965, + "end": 8971, "loc": { "start": { - "line": 277, + "line": 288, "column": 6 }, "end": { - "line": 277, + "line": 288, "column": 12 } } @@ -68264,15 +73059,15 @@ "updateContext": null }, "value": "false", - "start": 8540, - "end": 8545, + "start": 8972, + "end": 8977, "loc": { "start": { - "line": 277, + "line": 288, "column": 13 }, "end": { - "line": 277, + "line": 288, "column": 18 } } @@ -68290,15 +73085,15 @@ "binop": null, "updateContext": null }, - "start": 8545, - "end": 8546, + "start": 8977, + "end": 8978, "loc": { "start": { - "line": 277, + "line": 288, "column": 18 }, "end": { - "line": 277, + "line": 288, "column": 19 } } @@ -68315,15 +73110,15 @@ "postfix": false, "binop": null }, - "start": 8552, - "end": 8553, + "start": 8984, + "end": 8985, "loc": { "start": { - "line": 278, + "line": 289, "column": 4 }, "end": { - "line": 278, + "line": 289, "column": 5 } } @@ -68343,15 +73138,15 @@ "updateContext": null }, "value": "if", - "start": 8561, - "end": 8563, + "start": 8993, + "end": 8995, "loc": { "start": { - "line": 280, + "line": 291, "column": 4 }, "end": { - "line": 280, + "line": 291, "column": 6 } } @@ -68368,15 +73163,15 @@ "postfix": false, "binop": null }, - "start": 8563, - "end": 8564, + "start": 8995, + "end": 8996, "loc": { "start": { - "line": 280, + "line": 291, "column": 6 }, "end": { - "line": 280, + "line": 291, "column": 7 } } @@ -68394,15 +73189,15 @@ "binop": null }, "value": "Number", - "start": 8564, - "end": 8570, + "start": 8996, + "end": 9002, "loc": { "start": { - "line": 280, + "line": 291, "column": 7 }, "end": { - "line": 280, + "line": 291, "column": 13 } } @@ -68420,15 +73215,15 @@ "binop": null, "updateContext": null }, - "start": 8570, - "end": 8571, + "start": 9002, + "end": 9003, "loc": { "start": { - "line": 280, + "line": 291, "column": 13 }, "end": { - "line": 280, + "line": 291, "column": 14 } } @@ -68446,15 +73241,15 @@ "binop": null }, "value": "isInteger", - "start": 8571, - "end": 8580, + "start": 9003, + "end": 9012, "loc": { "start": { - "line": 280, + "line": 291, "column": 14 }, "end": { - "line": 280, + "line": 291, "column": 23 } } @@ -68471,15 +73266,15 @@ "postfix": false, "binop": null }, - "start": 8580, - "end": 8581, + "start": 9012, + "end": 9013, "loc": { "start": { - "line": 280, + "line": 291, "column": 23 }, "end": { - "line": 280, + "line": 291, "column": 24 } } @@ -68497,15 +73292,15 @@ "binop": null }, "value": "maxLength", - "start": 8581, - "end": 8590, + "start": 9013, + "end": 9022, "loc": { "start": { - "line": 280, + "line": 291, "column": 24 }, "end": { - "line": 280, + "line": 291, "column": 33 } } @@ -68522,1425 +73317,16 @@ "postfix": false, "binop": null }, - "start": 8590, - "end": 8591, - "loc": { - "start": { - "line": 280, - "column": 33 - }, - "end": { - "line": 280, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8591, - "end": 8592, - "loc": { - "start": { - "line": 280, - "column": 34 - }, - "end": { - "line": 280, - "column": 35 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8592, - "end": 8593, - "loc": { - "start": { - "line": 280, - "column": 35 - }, - "end": { - "line": 280, - "column": 36 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8601, - "end": 8603, - "loc": { - "start": { - "line": 281, - "column": 6 - }, - "end": { - "line": 281, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8603, - "end": 8604, - "loc": { - "start": { - "line": 281, - "column": 8 - }, - "end": { - "line": 281, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 8604, - "end": 8611, - "loc": { - "start": { - "line": 281, - "column": 9 - }, - "end": { - "line": 281, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8611, - "end": 8612, - "loc": { - "start": { - "line": 281, - "column": 16 - }, - "end": { - "line": 281, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 8612, - "end": 8617, - "loc": { - "start": { - "line": 281, - "column": 17 - }, - "end": { - "line": 281, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8617, - "end": 8618, - "loc": { - "start": { - "line": 281, - "column": 22 - }, - "end": { - "line": 281, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8618, - "end": 8619, - "loc": { - "start": { - "line": 281, - "column": 23 - }, - "end": { - "line": 281, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 8629, - "end": 8636, - "loc": { - "start": { - "line": 282, - "column": 8 - }, - "end": { - "line": 282, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8636, - "end": 8637, - "loc": { - "start": { - "line": 282, - "column": 15 - }, - "end": { - "line": 282, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 8637, - "end": 8640, - "loc": { - "start": { - "line": 282, - "column": 16 - }, - "end": { - "line": 282, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8640, - "end": 8641, - "loc": { - "start": { - "line": 282, - "column": 19 - }, - "end": { - "line": 282, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "maxLength (num) reached:", - "start": 8641, - "end": 8667, - "loc": { - "start": { - "line": 282, - "column": 20 - }, - "end": { - "line": 282, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8667, - "end": 8668, - "loc": { - "start": { - "line": 282, - "column": 46 - }, - "end": { - "line": 282, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "condition", - "start": 8669, - "end": 8678, - "loc": { - "start": { - "line": 282, - "column": 48 - }, - "end": { - "line": 282, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8678, - "end": 8679, - "loc": { - "start": { - "line": 282, - "column": 57 - }, - "end": { - "line": 282, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8679, - "end": 8680, - "loc": { - "start": { - "line": 282, - "column": 58 - }, - "end": { - "line": 282, - "column": 59 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8688, - "end": 8689, - "loc": { - "start": { - "line": 283, - "column": 6 - }, - "end": { - "line": 283, - "column": 7 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8699, - "end": 8701, - "loc": { - "start": { - "line": 285, - "column": 6 - }, - "end": { - "line": 285, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8701, - "end": 8702, - "loc": { - "start": { - "line": 285, - "column": 8 - }, - "end": { - "line": 285, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "condition", - "start": 8702, - "end": 8711, - "loc": { - "start": { - "line": 285, - "column": 9 - }, - "end": { - "line": 285, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8711, - "end": 8712, - "loc": { - "start": { - "line": 285, - "column": 18 - }, - "end": { - "line": 285, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8712, - "end": 8713, - "loc": { - "start": { - "line": 285, - "column": 19 - }, - "end": { - "line": 285, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 8723, - "end": 8827, - "loc": { - "start": { - "line": 286, - "column": 8 - }, - "end": { - "line": 288, - "column": 11 - } - } - }, - { - "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": 8837, - "end": 8841, - "loc": { - "start": { - "line": 289, - "column": 8 - }, - "end": { - "line": 289, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8841, - "end": 8842, - "loc": { - "start": { - "line": 289, - "column": 12 - }, - "end": { - "line": 289, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "maxLengthReached", - "start": 8842, - "end": 8858, - "loc": { - "start": { - "line": 289, - "column": 13 - }, - "end": { - "line": 289, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8859, - "end": 8860, - "loc": { - "start": { - "line": 289, - "column": 30 - }, - "end": { - "line": 289, - "column": 31 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 8861, - "end": 8865, - "loc": { - "start": { - "line": 289, - "column": 32 - }, - "end": { - "line": 289, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8865, - "end": 8866, - "loc": { - "start": { - "line": 289, - "column": 36 - }, - "end": { - "line": 289, - "column": 37 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 8876, - "end": 8882, - "loc": { - "start": { - "line": 290, - "column": 8 - }, - "end": { - "line": 290, - "column": 14 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 8883, - "end": 8887, - "loc": { - "start": { - "line": 290, - "column": 15 - }, - "end": { - "line": 290, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8887, - "end": 8888, - "loc": { - "start": { - "line": 290, - "column": 19 - }, - "end": { - "line": 290, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8896, - "end": 8897, - "loc": { - "start": { - "line": 291, - "column": 6 - }, - "end": { - "line": 291, - "column": 7 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 8898, - "end": 8902, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8903, - "end": 8904, - "loc": { - "start": { - "line": 291, - "column": 13 - }, - "end": { - "line": 291, - "column": 14 - } - } - }, - { - "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": 8914, - "end": 8918, - "loc": { - "start": { - "line": 292, - "column": 8 - }, - "end": { - "line": 292, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8918, - "end": 8919, - "loc": { - "start": { - "line": 292, - "column": 12 - }, - "end": { - "line": 292, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "maxLengthReached", - "start": 8919, - "end": 8935, - "loc": { - "start": { - "line": 292, - "column": 13 - }, - "end": { - "line": 292, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8936, - "end": 8937, - "loc": { - "start": { - "line": 292, - "column": 30 - }, - "end": { - "line": 292, - "column": 31 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 8938, - "end": 8943, - "loc": { - "start": { - "line": 292, - "column": 32 - }, - "end": { - "line": 292, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8943, - "end": 8944, - "loc": { - "start": { - "line": 292, - "column": 37 - }, - "end": { - "line": 292, - "column": 38 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 8954, - "end": 8960, - "loc": { - "start": { - "line": 293, - "column": 8 - }, - "end": { - "line": 293, - "column": 14 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 8961, - "end": 8966, - "loc": { - "start": { - "line": 293, - "column": 15 - }, - "end": { - "line": 293, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8966, - "end": 8967, - "loc": { - "start": { - "line": 293, - "column": 20 - }, - "end": { - "line": 293, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8975, - "end": 8976, - "loc": { - "start": { - "line": 294, - "column": 6 - }, - "end": { - "line": 294, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8982, - "end": 8983, - "loc": { - "start": { - "line": 295, - "column": 4 - }, - "end": { - "line": 295, - "column": 5 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8991, - "end": 8993, - "loc": { - "start": { - "line": 297, - "column": 4 - }, - "end": { - "line": 297, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8993, - "end": 8994, - "loc": { - "start": { - "line": 297, - "column": 6 - }, - "end": { - "line": 297, - "column": 7 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 8994, - "end": 9000, - "loc": { - "start": { - "line": 297, - "column": 7 - }, - "end": { - "line": 297, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "maxLength", - "start": 9001, - "end": 9010, - "loc": { - "start": { - "line": 297, - "column": 14 - }, - "end": { - "line": 297, - "column": 23 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 9011, - "end": 9014, - "loc": { - "start": { - "line": 297, - "column": 24 - }, - "end": { - "line": 297, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "object", - "start": 9015, + "start": 9022, "end": 9023, "loc": { "start": { - "line": 297, - "column": 28 + "line": 291, + "column": 33 }, "end": { - "line": 297, - "column": 36 + "line": 291, + "column": 34 } } }, @@ -69960,12 +73346,12 @@ "end": 9024, "loc": { "start": { - "line": 297, - "column": 36 + "line": 291, + "column": 34 }, "end": { - "line": 297, - "column": 37 + "line": 291, + "column": 35 } } }, @@ -69985,380 +73371,12 @@ "end": 9025, "loc": { "start": { - "line": 297, - "column": 37 - }, - "end": { - "line": 297, - "column": 38 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 9033, - "end": 9036, - "loc": { - "start": { - "line": 298, - "column": 6 - }, - "end": { - "line": 298, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "condition", - "start": 9037, - "end": 9046, - "loc": { - "start": { - "line": 298, - "column": 10 - }, - "end": { - "line": 298, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9047, - "end": 9048, - "loc": { - "start": { - "line": 298, - "column": 20 - }, - "end": { - "line": 298, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentInput", - "start": 9049, - "end": 9061, - "loc": { - "start": { - "line": 298, - "column": 22 - }, - "end": { - "line": 298, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9061, - "end": 9062, - "loc": { - "start": { - "line": 298, - "column": 34 - }, - "end": { - "line": 298, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 9062, - "end": 9068, - "loc": { - "start": { - "line": 298, + "line": 291, "column": 35 }, "end": { - "line": 298, - "column": 41 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 9069, - "end": 9072, - "loc": { - "start": { - "line": 298, - "column": 42 - }, - "end": { - "line": 298, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "maxLength", - "start": 9073, - "end": 9082, - "loc": { - "start": { - "line": 298, - "column": 46 - }, - "end": { - "line": 298, - "column": 55 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9082, - "end": 9083, - "loc": { - "start": { - "line": 298, - "column": 55 - }, - "end": { - "line": 298, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 9083, - "end": 9090, - "loc": { - "start": { - "line": 298, - "column": 56 - }, - "end": { - "line": 298, - "column": 63 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9090, - "end": 9091, - "loc": { - "start": { - "line": 298, - "column": 63 - }, - "end": { - "line": 298, - "column": 64 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 9091, - "end": 9100, - "loc": { - "start": { - "line": 298, - "column": 64 - }, - "end": { - "line": 298, - "column": 73 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9100, - "end": 9101, - "loc": { - "start": { - "line": 298, - "column": 73 - }, - "end": { - "line": 298, - "column": 74 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9101, - "end": 9102, - "loc": { - "start": { - "line": 298, - "column": 74 - }, - "end": { - "line": 298, - "column": 75 + "line": 291, + "column": 36 } } }, @@ -70377,15 +73395,15 @@ "updateContext": null }, "value": "if", - "start": 9112, - "end": 9114, + "start": 9033, + "end": 9035, "loc": { "start": { - "line": 300, + "line": 292, "column": 6 }, "end": { - "line": 300, + "line": 292, "column": 8 } } @@ -70402,15 +73420,15 @@ "postfix": false, "binop": null }, - "start": 9114, - "end": 9115, + "start": 9035, + "end": 9036, "loc": { "start": { - "line": 300, + "line": 292, "column": 8 }, "end": { - "line": 300, + "line": 292, "column": 9 } } @@ -70428,15 +73446,15 @@ "binop": null }, "value": "options", - "start": 9115, - "end": 9122, + "start": 9036, + "end": 9043, "loc": { "start": { - "line": 300, + "line": 292, "column": 9 }, "end": { - "line": 300, + "line": 292, "column": 16 } } @@ -70454,15 +73472,15 @@ "binop": null, "updateContext": null }, - "start": 9122, - "end": 9123, + "start": 9043, + "end": 9044, "loc": { "start": { - "line": 300, + "line": 292, "column": 16 }, "end": { - "line": 300, + "line": 292, "column": 17 } } @@ -70480,15 +73498,15 @@ "binop": null }, "value": "debug", - "start": 9123, - "end": 9128, + "start": 9044, + "end": 9049, "loc": { "start": { - "line": 300, + "line": 292, "column": 17 }, "end": { - "line": 300, + "line": 292, "column": 22 } } @@ -70505,15 +73523,15 @@ "postfix": false, "binop": null }, - "start": 9128, - "end": 9129, + "start": 9049, + "end": 9050, "loc": { "start": { - "line": 300, + "line": 292, "column": 22 }, "end": { - "line": 300, + "line": 292, "column": 23 } } @@ -70530,15 +73548,15 @@ "postfix": false, "binop": null }, - "start": 9129, - "end": 9130, + "start": 9050, + "end": 9051, "loc": { "start": { - "line": 300, + "line": 292, "column": 23 }, "end": { - "line": 300, + "line": 292, "column": 24 } } @@ -70556,15 +73574,15 @@ "binop": null }, "value": "console", - "start": 9140, - "end": 9147, + "start": 9061, + "end": 9068, "loc": { "start": { - "line": 301, + "line": 293, "column": 8 }, "end": { - "line": 301, + "line": 293, "column": 15 } } @@ -70582,15 +73600,15 @@ "binop": null, "updateContext": null }, - "start": 9147, - "end": 9148, + "start": 9068, + "end": 9069, "loc": { "start": { - "line": 301, + "line": 293, "column": 15 }, "end": { - "line": 301, + "line": 293, "column": 16 } } @@ -70608,15 +73626,15 @@ "binop": null }, "value": "log", - "start": 9148, - "end": 9151, + "start": 9069, + "end": 9072, "loc": { "start": { - "line": 301, + "line": 293, "column": 16 }, "end": { - "line": 301, + "line": 293, "column": 19 } } @@ -70633,15 +73651,15 @@ "postfix": false, "binop": null }, - "start": 9151, - "end": 9152, + "start": 9072, + "end": 9073, "loc": { "start": { - "line": 301, + "line": 293, "column": 19 }, "end": { - "line": 301, + "line": 293, "column": 20 } } @@ -70659,16 +73677,16 @@ "binop": null, "updateContext": null }, - "value": "maxLength (obj) reached:", - "start": 9152, - "end": 9178, + "value": "maxLength (num) reached:", + "start": 9073, + "end": 9099, "loc": { "start": { - "line": 301, + "line": 293, "column": 20 }, "end": { - "line": 301, + "line": 293, "column": 46 } } @@ -70686,15 +73704,15 @@ "binop": null, "updateContext": null }, - "start": 9178, - "end": 9179, + "start": 9099, + "end": 9100, "loc": { "start": { - "line": 301, + "line": 293, "column": 46 }, "end": { - "line": 301, + "line": 293, "column": 47 } } @@ -70712,15 +73730,15 @@ "binop": null }, "value": "condition", - "start": 9180, - "end": 9189, + "start": 9101, + "end": 9110, "loc": { "start": { - "line": 301, + "line": 293, "column": 48 }, "end": { - "line": 301, + "line": 293, "column": 57 } } @@ -70737,15 +73755,15 @@ "postfix": false, "binop": null }, - "start": 9189, - "end": 9190, + "start": 9110, + "end": 9111, "loc": { "start": { - "line": 301, + "line": 293, "column": 57 }, "end": { - "line": 301, + "line": 293, "column": 58 } } @@ -70763,15 +73781,15 @@ "binop": null, "updateContext": null }, - "start": 9190, - "end": 9191, + "start": 9111, + "end": 9112, "loc": { "start": { - "line": 301, + "line": 293, "column": 58 }, "end": { - "line": 301, + "line": 293, "column": 59 } } @@ -70788,15 +73806,15 @@ "postfix": false, "binop": null }, - "start": 9199, - "end": 9200, + "start": 9120, + "end": 9121, "loc": { "start": { - "line": 302, + "line": 294, "column": 6 }, "end": { - "line": 302, + "line": 294, "column": 7 } } @@ -70816,15 +73834,15 @@ "updateContext": null }, "value": "if", - "start": 9210, - "end": 9212, + "start": 9131, + "end": 9133, "loc": { "start": { - "line": 304, + "line": 296, "column": 6 }, "end": { - "line": 304, + "line": 296, "column": 8 } } @@ -70841,15 +73859,15 @@ "postfix": false, "binop": null }, - "start": 9212, - "end": 9213, + "start": 9133, + "end": 9134, "loc": { "start": { - "line": 304, + "line": 296, "column": 8 }, "end": { - "line": 304, + "line": 296, "column": 9 } } @@ -70867,15 +73885,15 @@ "binop": null }, "value": "condition", - "start": 9213, - "end": 9222, + "start": 9134, + "end": 9143, "loc": { "start": { - "line": 304, + "line": 296, "column": 9 }, "end": { - "line": 304, + "line": 296, "column": 18 } } @@ -70892,15 +73910,15 @@ "postfix": false, "binop": null }, - "start": 9222, - "end": 9223, + "start": 9143, + "end": 9144, "loc": { "start": { - "line": 304, + "line": 296, "column": 18 }, "end": { - "line": 304, + "line": 296, "column": 19 } } @@ -70917,19 +73935,35 @@ "postfix": false, "binop": null }, - "start": 9223, - "end": 9224, + "start": 9144, + "end": 9145, "loc": { "start": { - "line": 304, + "line": 296, "column": 19 }, "end": { - "line": 304, + "line": 296, "column": 20 } } }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", + "start": 9155, + "end": 9259, + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 299, + "column": 11 + } + } + }, { "type": { "label": "this", @@ -70945,15 +73979,15 @@ "updateContext": null }, "value": "this", - "start": 9234, - "end": 9238, + "start": 9269, + "end": 9273, "loc": { "start": { - "line": 305, + "line": 300, "column": 8 }, "end": { - "line": 305, + "line": 300, "column": 12 } } @@ -70971,15 +74005,15 @@ "binop": null, "updateContext": null }, - "start": 9238, - "end": 9239, + "start": 9273, + "end": 9274, "loc": { "start": { - "line": 305, + "line": 300, "column": 12 }, "end": { - "line": 305, + "line": 300, "column": 13 } } @@ -70997,15 +74031,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9239, - "end": 9255, + "start": 9274, + "end": 9290, "loc": { "start": { - "line": 305, + "line": 300, "column": 13 }, "end": { - "line": 305, + "line": 300, "column": 29 } } @@ -71024,15 +74058,15 @@ "updateContext": null }, "value": "=", - "start": 9256, - "end": 9257, + "start": 9291, + "end": 9292, "loc": { "start": { - "line": 305, + "line": 300, "column": 30 }, "end": { - "line": 305, + "line": 300, "column": 31 } } @@ -71052,15 +74086,15 @@ "updateContext": null }, "value": "true", - "start": 9258, - "end": 9262, + "start": 9293, + "end": 9297, "loc": { "start": { - "line": 305, + "line": 300, "column": 32 }, "end": { - "line": 305, + "line": 300, "column": 36 } } @@ -71078,15 +74112,15 @@ "binop": null, "updateContext": null }, - "start": 9262, - "end": 9263, + "start": 9297, + "end": 9298, "loc": { "start": { - "line": 305, + "line": 300, "column": 36 }, "end": { - "line": 305, + "line": 300, "column": 37 } } @@ -71106,15 +74140,15 @@ "updateContext": null }, "value": "return", - "start": 9273, - "end": 9279, + "start": 9308, + "end": 9314, "loc": { "start": { - "line": 306, + "line": 301, "column": 8 }, "end": { - "line": 306, + "line": 301, "column": 14 } } @@ -71134,15 +74168,15 @@ "updateContext": null }, "value": "true", - "start": 9280, - "end": 9284, + "start": 9315, + "end": 9319, "loc": { "start": { - "line": 306, + "line": 301, "column": 15 }, "end": { - "line": 306, + "line": 301, "column": 19 } } @@ -71160,15 +74194,15 @@ "binop": null, "updateContext": null }, - "start": 9284, - "end": 9285, + "start": 9319, + "end": 9320, "loc": { "start": { - "line": 306, + "line": 301, "column": 19 }, "end": { - "line": 306, + "line": 301, "column": 20 } } @@ -71185,15 +74219,15 @@ "postfix": false, "binop": null }, - "start": 9293, - "end": 9294, + "start": 9328, + "end": 9329, "loc": { "start": { - "line": 307, + "line": 302, "column": 6 }, "end": { - "line": 307, + "line": 302, "column": 7 } } @@ -71213,15 +74247,15 @@ "updateContext": null }, "value": "else", - "start": 9295, - "end": 9299, + "start": 9330, + "end": 9334, "loc": { "start": { - "line": 307, + "line": 302, "column": 8 }, "end": { - "line": 307, + "line": 302, "column": 12 } } @@ -71238,15 +74272,15 @@ "postfix": false, "binop": null }, - "start": 9300, - "end": 9301, + "start": 9335, + "end": 9336, "loc": { "start": { - "line": 307, + "line": 302, "column": 13 }, "end": { - "line": 307, + "line": 302, "column": 14 } } @@ -71266,15 +74300,15 @@ "updateContext": null }, "value": "this", - "start": 9311, - "end": 9315, + "start": 9346, + "end": 9350, "loc": { "start": { - "line": 308, + "line": 303, "column": 8 }, "end": { - "line": 308, + "line": 303, "column": 12 } } @@ -71292,15 +74326,15 @@ "binop": null, "updateContext": null }, - "start": 9315, - "end": 9316, + "start": 9350, + "end": 9351, "loc": { "start": { - "line": 308, + "line": 303, "column": 12 }, "end": { - "line": 308, + "line": 303, "column": 13 } } @@ -71318,15 +74352,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9316, - "end": 9332, + "start": 9351, + "end": 9367, "loc": { "start": { - "line": 308, + "line": 303, "column": 13 }, "end": { - "line": 308, + "line": 303, "column": 29 } } @@ -71345,15 +74379,15 @@ "updateContext": null }, "value": "=", - "start": 9333, - "end": 9334, + "start": 9368, + "end": 9369, "loc": { "start": { - "line": 308, + "line": 303, "column": 30 }, "end": { - "line": 308, + "line": 303, "column": 31 } } @@ -71373,15 +74407,15 @@ "updateContext": null }, "value": "false", - "start": 9335, - "end": 9340, + "start": 9370, + "end": 9375, "loc": { "start": { - "line": 308, + "line": 303, "column": 32 }, "end": { - "line": 308, + "line": 303, "column": 37 } } @@ -71399,15 +74433,15 @@ "binop": null, "updateContext": null }, - "start": 9340, - "end": 9341, + "start": 9375, + "end": 9376, "loc": { "start": { - "line": 308, + "line": 303, "column": 37 }, "end": { - "line": 308, + "line": 303, "column": 38 } } @@ -71427,15 +74461,15 @@ "updateContext": null }, "value": "return", - "start": 9351, - "end": 9357, + "start": 9386, + "end": 9392, "loc": { "start": { - "line": 309, + "line": 304, "column": 8 }, "end": { - "line": 309, + "line": 304, "column": 14 } } @@ -71455,15 +74489,15 @@ "updateContext": null }, "value": "false", - "start": 9358, - "end": 9363, + "start": 9393, + "end": 9398, "loc": { "start": { - "line": 309, + "line": 304, "column": 15 }, "end": { - "line": 309, + "line": 304, "column": 20 } } @@ -71481,15 +74515,15 @@ "binop": null, "updateContext": null }, - "start": 9363, - "end": 9364, + "start": 9398, + "end": 9399, "loc": { "start": { - "line": 309, + "line": 304, "column": 20 }, "end": { - "line": 309, + "line": 304, "column": 21 } } @@ -71506,15 +74540,15 @@ "postfix": false, "binop": null }, - "start": 9372, - "end": 9373, + "start": 9407, + "end": 9408, "loc": { "start": { - "line": 310, + "line": 305, "column": 6 }, "end": { - "line": 310, + "line": 305, "column": 7 } } @@ -71531,15 +74565,1776 @@ "postfix": false, "binop": null }, - "start": 9379, - "end": 9380, + "start": 9414, + "end": 9415, "loc": { "start": { - "line": 311, + "line": 306, "column": 4 }, "end": { + "line": 306, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9423, + "end": 9425, + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 308, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9425, + "end": 9426, + "loc": { + "start": { + "line": 308, + "column": 6 + }, + "end": { + "line": 308, + "column": 7 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 9426, + "end": 9432, + "loc": { + "start": { + "line": 308, + "column": 7 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxLength", + "start": 9433, + "end": 9442, + "loc": { + "start": { + "line": 308, + "column": 14 + }, + "end": { + "line": 308, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9443, + "end": 9446, + "loc": { + "start": { + "line": 308, + "column": 24 + }, + "end": { + "line": 308, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "object", + "start": 9447, + "end": 9455, + "loc": { + "start": { + "line": 308, + "column": 28 + }, + "end": { + "line": 308, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9455, + "end": 9456, + "loc": { + "start": { + "line": 308, + "column": 36 + }, + "end": { + "line": 308, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9456, + "end": 9457, + "loc": { + "start": { + "line": 308, + "column": 37 + }, + "end": { + "line": 308, + "column": 38 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 9465, + "end": 9468, + "loc": { + "start": { + "line": 309, + "column": 6 + }, + "end": { + "line": 309, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "condition", + "start": 9469, + "end": 9478, + "loc": { + "start": { + "line": 309, + "column": 10 + }, + "end": { + "line": 309, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9479, + "end": 9480, + "loc": { + "start": { + "line": 309, + "column": 20 + }, + "end": { + "line": 309, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentInput", + "start": 9481, + "end": 9493, + "loc": { + "start": { + "line": 309, + "column": 22 + }, + "end": { + "line": 309, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9493, + "end": 9494, + "loc": { + "start": { + "line": 309, + "column": 34 + }, + "end": { + "line": 309, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 9494, + "end": 9500, + "loc": { + "start": { + "line": 309, + "column": 35 + }, + "end": { + "line": 309, + "column": 41 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9501, + "end": 9504, + "loc": { + "start": { + "line": 309, + "column": 42 + }, + "end": { + "line": 309, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxLength", + "start": 9505, + "end": 9514, + "loc": { + "start": { + "line": 309, + "column": 46 + }, + "end": { + "line": 309, + "column": 55 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9514, + "end": 9515, + "loc": { + "start": { + "line": 309, + "column": 55 + }, + "end": { + "line": 309, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 9515, + "end": 9522, + "loc": { + "start": { + "line": 309, + "column": 56 + }, + "end": { + "line": 309, + "column": 63 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9522, + "end": 9523, + "loc": { + "start": { + "line": 309, + "column": 63 + }, + "end": { + "line": 309, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 9523, + "end": 9532, + "loc": { + "start": { + "line": 309, + "column": 64 + }, + "end": { + "line": 309, + "column": 73 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9532, + "end": 9533, + "loc": { + "start": { + "line": 309, + "column": 73 + }, + "end": { + "line": 309, + "column": 74 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9533, + "end": 9534, + "loc": { + "start": { + "line": 309, + "column": 74 + }, + "end": { + "line": 309, + "column": 75 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9544, + "end": 9546, + "loc": { + "start": { "line": 311, + "column": 6 + }, + "end": { + "line": 311, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9546, + "end": 9547, + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 9547, + "end": 9554, + "loc": { + "start": { + "line": 311, + "column": 9 + }, + "end": { + "line": 311, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9554, + "end": 9555, + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 9555, + "end": 9560, + "loc": { + "start": { + "line": 311, + "column": 17 + }, + "end": { + "line": 311, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9560, + "end": 9561, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9561, + "end": 9562, + "loc": { + "start": { + "line": 311, + "column": 23 + }, + "end": { + "line": 311, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 9572, + "end": 9579, + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9579, + "end": 9580, + "loc": { + "start": { + "line": 312, + "column": 15 + }, + "end": { + "line": 312, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 9580, + "end": 9583, + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9583, + "end": 9584, + "loc": { + "start": { + "line": 312, + "column": 19 + }, + "end": { + "line": 312, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "maxLength (obj) reached:", + "start": 9584, + "end": 9610, + "loc": { + "start": { + "line": 312, + "column": 20 + }, + "end": { + "line": 312, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9610, + "end": 9611, + "loc": { + "start": { + "line": 312, + "column": 46 + }, + "end": { + "line": 312, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "condition", + "start": 9612, + "end": 9621, + "loc": { + "start": { + "line": 312, + "column": 48 + }, + "end": { + "line": 312, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9621, + "end": 9622, + "loc": { + "start": { + "line": 312, + "column": 57 + }, + "end": { + "line": 312, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9622, + "end": 9623, + "loc": { + "start": { + "line": 312, + "column": 58 + }, + "end": { + "line": 312, + "column": 59 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9631, + "end": 9632, + "loc": { + "start": { + "line": 313, + "column": 6 + }, + "end": { + "line": 313, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9642, + "end": 9644, + "loc": { + "start": { + "line": 315, + "column": 6 + }, + "end": { + "line": 315, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9644, + "end": 9645, + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "condition", + "start": 9645, + "end": 9654, + "loc": { + "start": { + "line": 315, + "column": 9 + }, + "end": { + "line": 315, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9654, + "end": 9655, + "loc": { + "start": { + "line": 315, + "column": 18 + }, + "end": { + "line": 315, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9655, + "end": 9656, + "loc": { + "start": { + "line": 315, + "column": 19 + }, + "end": { + "line": 315, + "column": 20 + } + } + }, + { + "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": 9666, + "end": 9670, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9670, + "end": 9671, + "loc": { + "start": { + "line": 316, + "column": 12 + }, + "end": { + "line": 316, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxLengthReached", + "start": 9671, + "end": 9687, + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9688, + "end": 9689, + "loc": { + "start": { + "line": 316, + "column": 30 + }, + "end": { + "line": 316, + "column": 31 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 9690, + "end": 9694, + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9694, + "end": 9695, + "loc": { + "start": { + "line": 316, + "column": 36 + }, + "end": { + "line": 316, + "column": 37 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9705, + "end": 9711, + "loc": { + "start": { + "line": 317, + "column": 8 + }, + "end": { + "line": 317, + "column": 14 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 9712, + "end": 9716, + "loc": { + "start": { + "line": 317, + "column": 15 + }, + "end": { + "line": 317, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9716, + "end": 9717, + "loc": { + "start": { + "line": 317, + "column": 19 + }, + "end": { + "line": 317, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9725, + "end": 9726, + "loc": { + "start": { + "line": 318, + "column": 6 + }, + "end": { + "line": 318, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 9727, + "end": 9731, + "loc": { + "start": { + "line": 318, + "column": 8 + }, + "end": { + "line": 318, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9732, + "end": 9733, + "loc": { + "start": { + "line": 318, + "column": 13 + }, + "end": { + "line": 318, + "column": 14 + } + } + }, + { + "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": 9743, + "end": 9747, + "loc": { + "start": { + "line": 319, + "column": 8 + }, + "end": { + "line": 319, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9747, + "end": 9748, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxLengthReached", + "start": 9748, + "end": 9764, + "loc": { + "start": { + "line": 319, + "column": 13 + }, + "end": { + "line": 319, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9765, + "end": 9766, + "loc": { + "start": { + "line": 319, + "column": 30 + }, + "end": { + "line": 319, + "column": 31 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 9767, + "end": 9772, + "loc": { + "start": { + "line": 319, + "column": 32 + }, + "end": { + "line": 319, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9772, + "end": 9773, + "loc": { + "start": { + "line": 319, + "column": 37 + }, + "end": { + "line": 319, + "column": 38 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9783, + "end": 9789, + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 14 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 9790, + "end": 9795, + "loc": { + "start": { + "line": 320, + "column": 15 + }, + "end": { + "line": 320, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9795, + "end": 9796, + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9804, + "end": 9805, + "loc": { + "start": { + "line": 321, + "column": 6 + }, + "end": { + "line": 321, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9811, + "end": 9812, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, "column": 5 } } @@ -71556,15 +76351,15 @@ "postfix": false, "binop": null }, - "start": 9384, - "end": 9385, + "start": 9816, + "end": 9817, "loc": { "start": { - "line": 312, + "line": 323, "column": 2 }, "end": { - "line": 312, + "line": 323, "column": 3 } } @@ -71572,15 +76367,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9391, - "end": 9450, + "start": 9823, + "end": 9882, "loc": { "start": { - "line": 314, + "line": 325, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 5 } } @@ -71598,46 +76393,19 @@ "binop": null }, "value": "isMaxLengthReached", - "start": 9454, - "end": 9472, + "start": 9886, + "end": 9904, "loc": { "start": { - "line": 317, + "line": 328, "column": 2 }, "end": { - "line": 317, + "line": 328, "column": 20 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9473, - "end": 9474, - "loc": { - "start": { - "line": 317, - "column": 21 - }, - "end": { - "line": 317, - "column": 22 - } - } - }, { "type": { "label": "(", @@ -71650,16 +76418,16 @@ "postfix": false, "binop": null }, - "start": 9475, - "end": 9476, + "start": 9904, + "end": 9905, "loc": { "start": { - "line": 317, - "column": 23 + "line": 328, + "column": 20 }, "end": { - "line": 317, - "column": 24 + "line": 328, + "column": 21 } } }, @@ -71675,42 +76443,16 @@ "postfix": false, "binop": null }, - "start": 9476, - "end": 9477, + "start": 9905, + "end": 9906, "loc": { "start": { - "line": 317, - "column": 24 + "line": 328, + "column": 21 }, "end": { - "line": 317, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9478, - "end": 9480, - "loc": { - "start": { - "line": 317, - "column": 26 - }, - "end": { - "line": 317, - "column": 28 + "line": 328, + "column": 22 } } }, @@ -71726,16 +76468,16 @@ "postfix": false, "binop": null }, - "start": 9481, - "end": 9482, + "start": 9906, + "end": 9907, "loc": { "start": { - "line": 317, - "column": 29 + "line": 328, + "column": 22 }, "end": { - "line": 317, - "column": 30 + "line": 328, + "column": 23 } } }, @@ -71754,15 +76496,15 @@ "updateContext": null }, "value": "return", - "start": 9488, - "end": 9494, + "start": 9913, + "end": 9919, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 10 } } @@ -71780,15 +76522,15 @@ "binop": null }, "value": "Boolean", - "start": 9495, - "end": 9502, + "start": 9920, + "end": 9927, "loc": { "start": { - "line": 318, + "line": 329, "column": 11 }, "end": { - "line": 318, + "line": 329, "column": 18 } } @@ -71805,15 +76547,15 @@ "postfix": false, "binop": null }, - "start": 9502, - "end": 9503, + "start": 9927, + "end": 9928, "loc": { "start": { - "line": 318, + "line": 329, "column": 18 }, "end": { - "line": 318, + "line": 329, "column": 19 } } @@ -71833,15 +76575,15 @@ "updateContext": null }, "value": "this", - "start": 9503, - "end": 9507, + "start": 9928, + "end": 9932, "loc": { "start": { - "line": 318, + "line": 329, "column": 19 }, "end": { - "line": 318, + "line": 329, "column": 23 } } @@ -71859,15 +76601,15 @@ "binop": null, "updateContext": null }, - "start": 9507, - "end": 9508, + "start": 9932, + "end": 9933, "loc": { "start": { - "line": 318, + "line": 329, "column": 23 }, "end": { - "line": 318, + "line": 329, "column": 24 } } @@ -71885,15 +76627,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9508, - "end": 9524, + "start": 9933, + "end": 9949, "loc": { "start": { - "line": 318, + "line": 329, "column": 24 }, "end": { - "line": 318, + "line": 329, "column": 40 } } @@ -71910,15 +76652,15 @@ "postfix": false, "binop": null }, - "start": 9524, - "end": 9525, + "start": 9949, + "end": 9950, "loc": { "start": { - "line": 318, + "line": 329, "column": 40 }, "end": { - "line": 318, + "line": 329, "column": 41 } } @@ -71936,15 +76678,15 @@ "binop": null, "updateContext": null }, - "start": 9525, - "end": 9526, + "start": 9950, + "end": 9951, "loc": { "start": { - "line": 318, + "line": 329, "column": 41 }, "end": { - "line": 318, + "line": 329, "column": 42 } } @@ -71961,15 +76703,15 @@ "postfix": false, "binop": null }, - "start": 9530, - "end": 9531, + "start": 9955, + "end": 9956, "loc": { "start": { - "line": 319, + "line": 330, "column": 2 }, "end": { - "line": 319, + "line": 330, "column": 3 } } @@ -71977,15 +76719,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9537, - "end": 9659, + "start": 9962, + "end": 10084, "loc": { "start": { - "line": 321, + "line": 332, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 5 } } @@ -72003,46 +76745,19 @@ "binop": null }, "value": "camelCase", - "start": 9663, - "end": 9672, + "start": 10088, + "end": 10097, "loc": { "start": { - "line": 326, + "line": 337, "column": 2 }, "end": { - "line": 326, + "line": 337, "column": 11 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9673, - "end": 9674, - "loc": { - "start": { - "line": 326, - "column": 12 - }, - "end": { - "line": 326, - "column": 13 - } - } - }, { "type": { "label": "(", @@ -72055,16 +76770,16 @@ "postfix": false, "binop": null }, - "start": 9675, - "end": 9676, + "start": 10097, + "end": 10098, "loc": { "start": { - "line": 326, - "column": 14 + "line": 337, + "column": 11 }, "end": { - "line": 326, - "column": 15 + "line": 337, + "column": 12 } } }, @@ -72081,16 +76796,16 @@ "binop": null }, "value": "string", - "start": 9676, - "end": 9682, + "start": 10098, + "end": 10104, "loc": { "start": { - "line": 326, - "column": 15 + "line": 337, + "column": 12 }, "end": { - "line": 326, - "column": 21 + "line": 337, + "column": 18 } } }, @@ -72106,42 +76821,16 @@ "postfix": false, "binop": null }, - "start": 9682, - "end": 9683, + "start": 10104, + "end": 10105, "loc": { "start": { - "line": 326, - "column": 21 + "line": 337, + "column": 18 }, "end": { - "line": 326, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9684, - "end": 9686, - "loc": { - "start": { - "line": 326, - "column": 23 - }, - "end": { - "line": 326, - "column": 25 + "line": 337, + "column": 19 } } }, @@ -72157,16 +76846,16 @@ "postfix": false, "binop": null }, - "start": 9687, - "end": 9688, + "start": 10105, + "end": 10106, "loc": { "start": { - "line": 326, - "column": 26 + "line": 337, + "column": 19 }, "end": { - "line": 326, - "column": 27 + "line": 337, + "column": 20 } } }, @@ -72185,15 +76874,15 @@ "updateContext": null }, "value": "return", - "start": 9694, - "end": 9700, + "start": 10112, + "end": 10118, "loc": { "start": { - "line": 327, + "line": 338, "column": 4 }, "end": { - "line": 327, + "line": 338, "column": 10 } } @@ -72211,15 +76900,15 @@ "binop": null }, "value": "string", - "start": 9701, - "end": 9707, + "start": 10119, + "end": 10125, "loc": { "start": { - "line": 327, + "line": 338, "column": 11 }, "end": { - "line": 327, + "line": 338, "column": 17 } } @@ -72237,15 +76926,15 @@ "binop": null, "updateContext": null }, - "start": 9707, - "end": 9708, + "start": 10125, + "end": 10126, "loc": { "start": { - "line": 327, + "line": 338, "column": 17 }, "end": { - "line": 327, + "line": 338, "column": 18 } } @@ -72263,15 +76952,15 @@ "binop": null }, "value": "toLowerCase", - "start": 9708, - "end": 9719, + "start": 10126, + "end": 10137, "loc": { "start": { - "line": 327, + "line": 338, "column": 18 }, "end": { - "line": 327, + "line": 338, "column": 29 } } @@ -72288,15 +76977,15 @@ "postfix": false, "binop": null }, - "start": 9719, - "end": 9720, + "start": 10137, + "end": 10138, "loc": { "start": { - "line": 327, + "line": 338, "column": 29 }, "end": { - "line": 327, + "line": 338, "column": 30 } } @@ -72313,15 +77002,15 @@ "postfix": false, "binop": null }, - "start": 9720, - "end": 9721, + "start": 10138, + "end": 10139, "loc": { "start": { - "line": 327, + "line": 338, "column": 30 }, "end": { - "line": 327, + "line": 338, "column": 31 } } @@ -72339,15 +77028,15 @@ "binop": null, "updateContext": null }, - "start": 9721, - "end": 9722, + "start": 10139, + "end": 10140, "loc": { "start": { - "line": 327, + "line": 338, "column": 31 }, "end": { - "line": 327, + "line": 338, "column": 32 } } @@ -72365,15 +77054,15 @@ "binop": null }, "value": "trim", - "start": 9722, - "end": 9726, + "start": 10140, + "end": 10144, "loc": { "start": { - "line": 327, + "line": 338, "column": 32 }, "end": { - "line": 327, + "line": 338, "column": 36 } } @@ -72390,15 +77079,15 @@ "postfix": false, "binop": null }, - "start": 9726, - "end": 9727, + "start": 10144, + "end": 10145, "loc": { "start": { - "line": 327, + "line": 338, "column": 36 }, "end": { - "line": 327, + "line": 338, "column": 37 } } @@ -72415,15 +77104,15 @@ "postfix": false, "binop": null }, - "start": 9727, - "end": 9728, + "start": 10145, + "end": 10146, "loc": { "start": { - "line": 327, + "line": 338, "column": 37 }, "end": { - "line": 327, + "line": 338, "column": 38 } } @@ -72441,15 +77130,15 @@ "binop": null, "updateContext": null }, - "start": 9728, - "end": 9729, + "start": 10146, + "end": 10147, "loc": { "start": { - "line": 327, + "line": 338, "column": 38 }, "end": { - "line": 327, + "line": 338, "column": 39 } } @@ -72467,15 +77156,15 @@ "binop": null }, "value": "split", - "start": 9729, - "end": 9734, + "start": 10147, + "end": 10152, "loc": { "start": { - "line": 327, + "line": 338, "column": 39 }, "end": { - "line": 327, + "line": 338, "column": 44 } } @@ -72492,15 +77181,15 @@ "postfix": false, "binop": null }, - "start": 9734, - "end": 9735, + "start": 10152, + "end": 10153, "loc": { "start": { - "line": 327, + "line": 338, "column": 44 }, "end": { - "line": 327, + "line": 338, "column": 45 } } @@ -72522,15 +77211,15 @@ "pattern": "[.\\-_\\s]", "flags": "g" }, - "start": 9735, - "end": 9746, + "start": 10153, + "end": 10164, "loc": { "start": { - "line": 327, + "line": 338, "column": 45 }, "end": { - "line": 327, + "line": 338, "column": 56 } } @@ -72547,15 +77236,15 @@ "postfix": false, "binop": null }, - "start": 9746, - "end": 9747, + "start": 10164, + "end": 10165, "loc": { "start": { - "line": 327, + "line": 338, "column": 56 }, "end": { - "line": 327, + "line": 338, "column": 57 } } @@ -72573,15 +77262,15 @@ "binop": null, "updateContext": null }, - "start": 9747, - "end": 9748, + "start": 10165, + "end": 10166, "loc": { "start": { - "line": 327, + "line": 338, "column": 57 }, "end": { - "line": 327, + "line": 338, "column": 58 } } @@ -72599,15 +77288,15 @@ "binop": null }, "value": "reduce", - "start": 9748, - "end": 9754, + "start": 10166, + "end": 10172, "loc": { "start": { - "line": 327, + "line": 338, "column": 58 }, "end": { - "line": 327, + "line": 338, "column": 64 } } @@ -72624,15 +77313,15 @@ "postfix": false, "binop": null }, - "start": 9754, - "end": 9755, + "start": 10172, + "end": 10173, "loc": { "start": { - "line": 327, + "line": 338, "column": 64 }, "end": { - "line": 327, + "line": 338, "column": 65 } } @@ -72649,15 +77338,15 @@ "postfix": false, "binop": null }, - "start": 9755, - "end": 9756, + "start": 10173, + "end": 10174, "loc": { "start": { - "line": 327, + "line": 338, "column": 65 }, "end": { - "line": 327, + "line": 338, "column": 66 } } @@ -72675,15 +77364,15 @@ "binop": null }, "value": "string", - "start": 9756, - "end": 9762, + "start": 10174, + "end": 10180, "loc": { "start": { - "line": 327, + "line": 338, "column": 66 }, "end": { - "line": 327, + "line": 338, "column": 72 } } @@ -72701,15 +77390,15 @@ "binop": null, "updateContext": null }, - "start": 9762, - "end": 9763, + "start": 10180, + "end": 10181, "loc": { "start": { - "line": 327, + "line": 338, "column": 72 }, "end": { - "line": 327, + "line": 338, "column": 73 } } @@ -72727,15 +77416,15 @@ "binop": null }, "value": "word", - "start": 9764, - "end": 9768, + "start": 10182, + "end": 10186, "loc": { "start": { - "line": 327, + "line": 338, "column": 74 }, "end": { - "line": 327, + "line": 338, "column": 78 } } @@ -72752,15 +77441,15 @@ "postfix": false, "binop": null }, - "start": 9768, - "end": 9769, + "start": 10186, + "end": 10187, "loc": { "start": { - "line": 327, + "line": 338, "column": 78 }, "end": { - "line": 327, + "line": 338, "column": 79 } } @@ -72778,15 +77467,15 @@ "binop": null, "updateContext": null }, - "start": 9770, - "end": 9772, + "start": 10188, + "end": 10190, "loc": { "start": { - "line": 327, + "line": 338, "column": 80 }, "end": { - "line": 327, + "line": 338, "column": 82 } } @@ -72804,15 +77493,15 @@ "binop": null }, "value": "string", - "start": 9773, - "end": 9779, + "start": 10191, + "end": 10197, "loc": { "start": { - "line": 327, + "line": 338, "column": 83 }, "end": { - "line": 327, + "line": 338, "column": 89 } } @@ -72831,15 +77520,15 @@ "updateContext": null }, "value": "+", - "start": 9780, - "end": 9781, + "start": 10198, + "end": 10199, "loc": { "start": { - "line": 327, + "line": 338, "column": 90 }, "end": { - "line": 327, + "line": 338, "column": 91 } } @@ -72857,15 +77546,15 @@ "binop": null }, "value": "word", - "start": 9782, - "end": 9786, + "start": 10200, + "end": 10204, "loc": { "start": { - "line": 327, + "line": 338, "column": 92 }, "end": { - "line": 327, + "line": 338, "column": 96 } } @@ -72883,15 +77572,15 @@ "binop": null, "updateContext": null }, - "start": 9786, - "end": 9787, + "start": 10204, + "end": 10205, "loc": { "start": { - "line": 327, + "line": 338, "column": 96 }, "end": { - "line": 327, + "line": 338, "column": 97 } } @@ -72910,15 +77599,15 @@ "updateContext": null }, "value": 0, - "start": 9787, - "end": 9788, + "start": 10205, + "end": 10206, "loc": { "start": { - "line": 327, + "line": 338, "column": 97 }, "end": { - "line": 327, + "line": 338, "column": 98 } } @@ -72936,15 +77625,15 @@ "binop": null, "updateContext": null }, - "start": 9788, - "end": 9789, + "start": 10206, + "end": 10207, "loc": { "start": { - "line": 327, + "line": 338, "column": 98 }, "end": { - "line": 327, + "line": 338, "column": 99 } } @@ -72962,15 +77651,15 @@ "binop": null, "updateContext": null }, - "start": 9789, - "end": 9790, + "start": 10207, + "end": 10208, "loc": { "start": { - "line": 327, + "line": 338, "column": 99 }, "end": { - "line": 327, + "line": 338, "column": 100 } } @@ -72988,15 +77677,15 @@ "binop": null }, "value": "toUpperCase", - "start": 9790, - "end": 9801, + "start": 10208, + "end": 10219, "loc": { "start": { - "line": 327, + "line": 338, "column": 100 }, "end": { - "line": 327, + "line": 338, "column": 111 } } @@ -73013,15 +77702,15 @@ "postfix": false, "binop": null }, - "start": 9801, - "end": 9802, + "start": 10219, + "end": 10220, "loc": { "start": { - "line": 327, + "line": 338, "column": 111 }, "end": { - "line": 327, + "line": 338, "column": 112 } } @@ -73038,15 +77727,15 @@ "postfix": false, "binop": null }, - "start": 9802, - "end": 9803, + "start": 10220, + "end": 10221, "loc": { "start": { - "line": 327, + "line": 338, "column": 112 }, "end": { - "line": 327, + "line": 338, "column": 113 } } @@ -73065,15 +77754,15 @@ "updateContext": null }, "value": "+", - "start": 9804, - "end": 9805, + "start": 10222, + "end": 10223, "loc": { "start": { - "line": 327, + "line": 338, "column": 114 }, "end": { - "line": 327, + "line": 338, "column": 115 } } @@ -73091,15 +77780,15 @@ "binop": null }, "value": "word", - "start": 9806, - "end": 9810, + "start": 10224, + "end": 10228, "loc": { "start": { - "line": 327, + "line": 338, "column": 116 }, "end": { - "line": 327, + "line": 338, "column": 120 } } @@ -73117,15 +77806,15 @@ "binop": null, "updateContext": null }, - "start": 9810, - "end": 9811, + "start": 10228, + "end": 10229, "loc": { "start": { - "line": 327, + "line": 338, "column": 120 }, "end": { - "line": 327, + "line": 338, "column": 121 } } @@ -73143,15 +77832,15 @@ "binop": null }, "value": "slice", - "start": 9811, - "end": 9816, + "start": 10229, + "end": 10234, "loc": { "start": { - "line": 327, + "line": 338, "column": 121 }, "end": { - "line": 327, + "line": 338, "column": 126 } } @@ -73168,15 +77857,15 @@ "postfix": false, "binop": null }, - "start": 9816, - "end": 9817, + "start": 10234, + "end": 10235, "loc": { "start": { - "line": 327, + "line": 338, "column": 126 }, "end": { - "line": 327, + "line": 338, "column": 127 } } @@ -73195,15 +77884,15 @@ "updateContext": null }, "value": 1, - "start": 9817, - "end": 9818, + "start": 10235, + "end": 10236, "loc": { "start": { - "line": 327, + "line": 338, "column": 127 }, "end": { - "line": 327, + "line": 338, "column": 128 } } @@ -73220,15 +77909,15 @@ "postfix": false, "binop": null }, - "start": 9818, - "end": 9819, + "start": 10236, + "end": 10237, "loc": { "start": { - "line": 327, + "line": 338, "column": 128 }, "end": { - "line": 327, + "line": 338, "column": 129 } } @@ -73245,15 +77934,15 @@ "postfix": false, "binop": null }, - "start": 9819, - "end": 9820, + "start": 10237, + "end": 10238, "loc": { "start": { - "line": 327, + "line": 338, "column": 129 }, "end": { - "line": 327, + "line": 338, "column": 130 } } @@ -73271,15 +77960,15 @@ "binop": null, "updateContext": null }, - "start": 9820, - "end": 9821, + "start": 10238, + "end": 10239, "loc": { "start": { - "line": 327, + "line": 338, "column": 130 }, "end": { - "line": 327, + "line": 338, "column": 131 } } @@ -73296,15 +77985,15 @@ "postfix": false, "binop": null }, - "start": 9825, - "end": 9826, + "start": 10243, + "end": 10244, "loc": { "start": { - "line": 328, + "line": 339, "column": 2 }, "end": { - "line": 328, + "line": 339, "column": 3 } } @@ -73322,15 +78011,15 @@ "binop": null, "updateContext": null }, - "start": 9826, - "end": 9827, + "start": 10244, + "end": 10245, "loc": { "start": { - "line": 328, + "line": 339, "column": 3 }, "end": { - "line": 328, + "line": 339, "column": 4 } } @@ -73338,15 +78027,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 9833, - "end": 10013, + "start": 10251, + "end": 10431, "loc": { "start": { - "line": 330, + "line": 341, "column": 2 }, "end": { - "line": 335, + "line": 346, "column": 5 } } @@ -73364,46 +78053,19 @@ "binop": null }, "value": "countInArray", - "start": 10017, - "end": 10029, + "start": 10435, + "end": 10447, "loc": { "start": { - "line": 336, + "line": 347, "column": 2 }, "end": { - "line": 336, + "line": 347, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10030, - "end": 10031, - "loc": { - "start": { - "line": 336, - "column": 15 - }, - "end": { - "line": 336, - "column": 16 - } - } - }, { "type": { "label": "(", @@ -73416,16 +78078,16 @@ "postfix": false, "binop": null }, - "start": 10032, - "end": 10033, + "start": 10447, + "end": 10448, "loc": { "start": { - "line": 336, - "column": 17 + "line": 347, + "column": 14 }, "end": { - "line": 336, - "column": 18 + "line": 347, + "column": 15 } } }, @@ -73442,16 +78104,16 @@ "binop": null }, "value": "array", - "start": 10033, - "end": 10038, + "start": 10448, + "end": 10453, "loc": { "start": { - "line": 336, - "column": 18 + "line": 347, + "column": 15 }, "end": { - "line": 336, - "column": 23 + "line": 347, + "column": 20 } } }, @@ -73468,16 +78130,16 @@ "binop": null, "updateContext": null }, - "start": 10038, - "end": 10039, + "start": 10453, + "end": 10454, "loc": { "start": { - "line": 336, - "column": 23 + "line": 347, + "column": 20 }, "end": { - "line": 336, - "column": 24 + "line": 347, + "column": 21 } } }, @@ -73494,16 +78156,16 @@ "binop": null }, "value": "value", - "start": 10040, - "end": 10045, + "start": 10455, + "end": 10460, "loc": { "start": { - "line": 336, - "column": 25 + "line": 347, + "column": 22 }, "end": { - "line": 336, - "column": 30 + "line": 347, + "column": 27 } } }, @@ -73519,42 +78181,16 @@ "postfix": false, "binop": null }, - "start": 10045, - "end": 10046, + "start": 10460, + "end": 10461, "loc": { "start": { - "line": 336, - "column": 30 + "line": 347, + "column": 27 }, "end": { - "line": 336, - "column": 31 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10047, - "end": 10049, - "loc": { - "start": { - "line": 336, - "column": 32 - }, - "end": { - "line": 336, - "column": 34 + "line": 347, + "column": 28 } } }, @@ -73570,16 +78206,16 @@ "postfix": false, "binop": null }, - "start": 10050, - "end": 10051, + "start": 10461, + "end": 10462, "loc": { "start": { - "line": 336, - "column": 35 + "line": 347, + "column": 28 }, "end": { - "line": 336, - "column": 36 + "line": 347, + "column": 29 } } }, @@ -73598,15 +78234,15 @@ "updateContext": null }, "value": "return", - "start": 10057, - "end": 10063, + "start": 10468, + "end": 10474, "loc": { "start": { - "line": 337, + "line": 348, "column": 4 }, "end": { - "line": 337, + "line": 348, "column": 10 } } @@ -73624,15 +78260,15 @@ "binop": null }, "value": "array", - "start": 10064, - "end": 10069, + "start": 10475, + "end": 10480, "loc": { "start": { - "line": 337, + "line": 348, "column": 11 }, "end": { - "line": 337, + "line": 348, "column": 16 } } @@ -73650,15 +78286,15 @@ "binop": null, "updateContext": null }, - "start": 10069, - "end": 10070, + "start": 10480, + "end": 10481, "loc": { "start": { - "line": 337, + "line": 348, "column": 16 }, "end": { - "line": 337, + "line": 348, "column": 17 } } @@ -73676,15 +78312,15 @@ "binop": null }, "value": "reduce", - "start": 10070, - "end": 10076, + "start": 10481, + "end": 10487, "loc": { "start": { - "line": 337, + "line": 348, "column": 17 }, "end": { - "line": 337, + "line": 348, "column": 23 } } @@ -73701,15 +78337,15 @@ "postfix": false, "binop": null }, - "start": 10076, - "end": 10077, + "start": 10487, + "end": 10488, "loc": { "start": { - "line": 337, + "line": 348, "column": 23 }, "end": { - "line": 337, + "line": 348, "column": 24 } } @@ -73726,15 +78362,15 @@ "postfix": false, "binop": null }, - "start": 10077, - "end": 10078, + "start": 10488, + "end": 10489, "loc": { "start": { - "line": 337, + "line": 348, "column": 24 }, "end": { - "line": 337, + "line": 348, "column": 25 } } @@ -73752,15 +78388,15 @@ "binop": null }, "value": "n", - "start": 10078, - "end": 10079, + "start": 10489, + "end": 10490, "loc": { "start": { - "line": 337, + "line": 348, "column": 25 }, "end": { - "line": 337, + "line": 348, "column": 26 } } @@ -73778,15 +78414,15 @@ "binop": null, "updateContext": null }, - "start": 10079, - "end": 10080, + "start": 10490, + "end": 10491, "loc": { "start": { - "line": 337, + "line": 348, "column": 26 }, "end": { - "line": 337, + "line": 348, "column": 27 } } @@ -73804,15 +78440,15 @@ "binop": null }, "value": "x", - "start": 10081, - "end": 10082, + "start": 10492, + "end": 10493, "loc": { "start": { - "line": 337, + "line": 348, "column": 28 }, "end": { - "line": 337, + "line": 348, "column": 29 } } @@ -73829,15 +78465,15 @@ "postfix": false, "binop": null }, - "start": 10082, - "end": 10083, + "start": 10493, + "end": 10494, "loc": { "start": { - "line": 337, + "line": 348, "column": 29 }, "end": { - "line": 337, + "line": 348, "column": 30 } } @@ -73855,15 +78491,15 @@ "binop": null, "updateContext": null }, - "start": 10084, - "end": 10086, + "start": 10495, + "end": 10497, "loc": { "start": { - "line": 337, + "line": 348, "column": 31 }, "end": { - "line": 337, + "line": 348, "column": 33 } } @@ -73881,15 +78517,15 @@ "binop": null }, "value": "n", - "start": 10087, - "end": 10088, + "start": 10498, + "end": 10499, "loc": { "start": { - "line": 337, + "line": 348, "column": 34 }, "end": { - "line": 337, + "line": 348, "column": 35 } } @@ -73908,15 +78544,15 @@ "updateContext": null }, "value": "+", - "start": 10089, - "end": 10090, + "start": 10500, + "end": 10501, "loc": { "start": { - "line": 337, + "line": 348, "column": 36 }, "end": { - "line": 337, + "line": 348, "column": 37 } } @@ -73933,15 +78569,15 @@ "postfix": false, "binop": null }, - "start": 10091, - "end": 10092, + "start": 10502, + "end": 10503, "loc": { "start": { - "line": 337, + "line": 348, "column": 38 }, "end": { - "line": 337, + "line": 348, "column": 39 } } @@ -73959,15 +78595,15 @@ "binop": null }, "value": "x", - "start": 10092, - "end": 10093, + "start": 10503, + "end": 10504, "loc": { "start": { - "line": 337, + "line": 348, "column": 39 }, "end": { - "line": 337, + "line": 348, "column": 40 } } @@ -73986,15 +78622,15 @@ "updateContext": null }, "value": "===", - "start": 10094, - "end": 10097, + "start": 10505, + "end": 10508, "loc": { "start": { - "line": 337, + "line": 348, "column": 41 }, "end": { - "line": 337, + "line": 348, "column": 44 } } @@ -74012,15 +78648,15 @@ "binop": null }, "value": "value", - "start": 10098, - "end": 10103, + "start": 10509, + "end": 10514, "loc": { "start": { - "line": 337, + "line": 348, "column": 45 }, "end": { - "line": 337, + "line": 348, "column": 50 } } @@ -74037,15 +78673,15 @@ "postfix": false, "binop": null }, - "start": 10103, - "end": 10104, + "start": 10514, + "end": 10515, "loc": { "start": { - "line": 337, + "line": 348, "column": 50 }, "end": { - "line": 337, + "line": 348, "column": 51 } } @@ -74063,15 +78699,15 @@ "binop": null, "updateContext": null }, - "start": 10104, - "end": 10105, + "start": 10515, + "end": 10516, "loc": { "start": { - "line": 337, + "line": 348, "column": 51 }, "end": { - "line": 337, + "line": 348, "column": 52 } } @@ -74090,15 +78726,15 @@ "updateContext": null }, "value": 0, - "start": 10106, - "end": 10107, + "start": 10517, + "end": 10518, "loc": { "start": { - "line": 337, + "line": 348, "column": 53 }, "end": { - "line": 337, + "line": 348, "column": 54 } } @@ -74115,15 +78751,15 @@ "postfix": false, "binop": null }, - "start": 10107, - "end": 10108, + "start": 10518, + "end": 10519, "loc": { "start": { - "line": 337, + "line": 348, "column": 54 }, "end": { - "line": 337, + "line": 348, "column": 55 } } @@ -74141,15 +78777,15 @@ "binop": null, "updateContext": null }, - "start": 10108, - "end": 10109, + "start": 10519, + "end": 10520, "loc": { "start": { - "line": 337, + "line": 348, "column": 55 }, "end": { - "line": 337, + "line": 348, "column": 56 } } @@ -74166,15 +78802,15 @@ "postfix": false, "binop": null }, - "start": 10113, - "end": 10114, + "start": 10524, + "end": 10525, "loc": { "start": { - "line": 338, + "line": 349, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 3 } } @@ -74191,15 +78827,15 @@ "postfix": false, "binop": null }, - "start": 10118, - "end": 10119, + "start": 10529, + "end": 10530, "loc": { "start": { - "line": 340, + "line": 351, "column": 0 }, "end": { - "line": 340, + "line": 351, "column": 1 } } @@ -74219,15 +78855,15 @@ "updateContext": null }, "value": "export", - "start": 10123, - "end": 10129, + "start": 10534, + "end": 10540, "loc": { "start": { - "line": 342, + "line": 353, "column": 0 }, "end": { - "line": 342, + "line": 353, "column": 6 } } @@ -74247,15 +78883,15 @@ "updateContext": null }, "value": "default", - "start": 10130, - "end": 10137, + "start": 10541, + "end": 10548, "loc": { "start": { - "line": 342, + "line": 353, "column": 7 }, "end": { - "line": 342, + "line": 353, "column": 14 } } @@ -74273,15 +78909,15 @@ "binop": null }, "value": "Utilities", - "start": 10138, - "end": 10147, + "start": 10549, + "end": 10558, "loc": { "start": { - "line": 342, + "line": 353, "column": 15 }, "end": { - "line": 342, + "line": 353, "column": 24 } } @@ -74299,15 +78935,15 @@ "binop": null, "updateContext": null }, - "start": 10147, - "end": 10148, + "start": 10558, + "end": 10559, "loc": { "start": { - "line": 342, + "line": 353, "column": 24 }, "end": { - "line": 342, + "line": 353, "column": 25 } } @@ -74325,15 +78961,15 @@ "binop": null, "updateContext": null }, - "start": 10148, - "end": 10148, + "start": 10559, + "end": 10559, "loc": { "start": { - "line": 342, + "line": 353, "column": 25 }, "end": { - "line": 342, + "line": 353, "column": 25 } } diff --git a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html index 5a412ddf..99cbe10d 100644 --- a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html +++ b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html @@ -133,35 +133,6 @@ This class:

- - - -
-

- - - - addButtonTheme(buttons: string, className: string): * -

-
-
- - -

Adds/Modifies an entry to the buttonTheme.

-
-
- - - - - - - - - public - - - @@ -198,13 +169,14 @@ This class:

- caretEventHandler: * + caretPosition: *

-

Called by handleCaret when an event that warrants a cursor position update is triggered

+

Tracks current cursor position +As keys are pressed, text will be added/removed at that position within the input.

@@ -227,13 +199,13 @@ This class:

- clear: * + getModuleProp: *

-

Remove all keyboard rows and reset keyboard values.

+

Get module prop

@@ -256,13 +228,13 @@ This class:

- clearInput(inputName: string): * + getModulesList: *

-

Clear the keyboard’s input.

+

getModulesList

@@ -285,129 +257,13 @@ This class:

- dispatch(callback: function(instance: object, key: string)): * + initialized: boolean

-

Send a command to all simple-keyboard instances at once (if you have multiple instances).

-
-
- - - - - - - - - public - - - - - - -
-

- - - - getButtonElement(button: string): * -

-
-
- - -

Get the DOM Element of a button.

-
-
- - - - - - - - - public - - - - - - -
-

- - - - getInput(inputName: string): * -

-
-
- - -

Get the keyboard’s input (You can also get it from the onChange prop).

-
-
- - - - - - - - - public - - - - - - -
-

- - - - handleButtonClicked(button: string): * -

-
-
- - -

Handles clicks made to keyboard buttons

-
-
- - - - - - - - - public - - - - - - -
-

- - - - handleCaret: * -

-
-
- - -

Retrieves the current cursor position within a input or textarea (if any)

+

Ensures that onInit is only called once per instantiation

@@ -516,42 +372,13 @@ This class:

- onInit: * + modules: {}

-

Executes the callback function once simple-keyboard is rendered for the first time (on initialization).

-
-
- - - - - - - - - public - - - - - - -
-

- - - - onRender: * -

-
-
- - -

Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).

+

Module namespace

@@ -631,100 +458,13 @@ This class:

- removeButtonTheme(buttons: string, className: string): * + registerModule: *

-

Removes/Amends an entry to the buttonTheme.

-
-
- - - - - - - - - public - - - - - - -
-

- - - - render: * -

-
-
- - -

Renders rows and buttons as per options

-
-
- - - - - - - - - public - - - - - - -
-

- - - - replaceInput(inputObj: object): * -

-
-
- - -

Replace the input object (keyboard.input)

-
-
- - - - - - - - - public - - - - - - -
-

- - - - setInput(input: string, inputName: string): * -

-
-
- - -

Set the keyboard’s input.

+

Register module

@@ -776,13 +516,49 @@ This class:

- syncInstanceInputs: * + utilities: *

-

Send a command to all simple-keyboard instances (if you have several instances).

+

Initializing Utilities

+
+
+ + + + + + + + +
+

Method Summary

+ + + + + + @@ -805,13 +581,419 @@ This class:

- utilities: * + caretEventHandler(event: *)

-

Initializing Utilities

+

Called by handleCaret when an event that warrants a cursor position update is triggered

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -828,7 +1010,6 @@ This class:

-

Public Constructors

@@ -895,50 +1076,6 @@ This class:

Public Members

-
-

- public - - - - - - addButtonTheme(buttons: string, className: string): * - - - - source - -

- - - - -

Adds/Modifies an entry to the buttonTheme. Basically a way to add a class to a button.

-
- - - -
-
- - - - - - - - - - - - - - - - - -

public @@ -951,7 +1088,7 @@ This class:

- source + source

@@ -983,25 +1120,26 @@ This class:

-

+

public - caretEventHandler: * + caretPosition: * - source + source

-

Called by handleCaret when an event that warrants a cursor position update is triggered

+

Tracks current cursor position +As keys are pressed, text will be added/removed at that position within the input.

@@ -1027,26 +1165,25 @@ This class:

-

+

public - clear: * + getModuleProp: * - source + source

-

Remove all keyboard rows and reset keyboard values. -Used interally between re-renders.

+

Get module prop

@@ -1072,25 +1209,25 @@ Used interally between re-renders.

-

+

public - clearInput(inputName: string): * + getModulesList: * - source + source

-

Clear the keyboard’s input.

+

getModulesList

@@ -1116,201 +1253,25 @@ Used interally between re-renders.

-

+

public - dispatch(callback: function(instance: object, key: string)): * + initialized: boolean - source + source

-

Send a command to all simple-keyboard instances at once (if you have multiple instances).

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - getButtonElement(button: string): * - - - - source - -

- - - - -

Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - getInput(inputName: string): * - - - - source - -

- - - - -

Get the keyboard’s input (You can also get it from the onChange prop).

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - handleButtonClicked(button: string): * - - - - source - -

- - - - -

Handles clicks made to keyboard buttons

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - handleCaret: * - - - - source - -

- - - - -

Retrieves the current cursor position within a input or textarea (if any)

+

Ensures that onInit is only called once per instantiation

@@ -1347,7 +1308,7 @@ Used interally between re-renders.

- source + source @@ -1471,7 +1432,7 @@ keyboard.clearInput(); - source + source @@ -1503,69 +1464,25 @@ keyboard.clearInput();
-

+

public - onInit: * + modules: {} - source + source

-

Executes the callback function once simple-keyboard is rendered for the first time (on initialization).

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - onRender: * - - - - source - -

- - - - -

Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).

+

Module namespace

@@ -1802,7 +1719,7 @@ keyboard.clearInput(); - source + source @@ -1835,157 +1752,25 @@ keyboard.clearInput();
-

+

public - removeButtonTheme(buttons: string, className: string): * + registerModule: * - source + source

-

Removes/Amends an entry to the buttonTheme. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - render: * - - - - source - -

- - - - -

Renders rows and buttons as per options

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - replaceInput(inputObj: object): * - - - - source - -

- - - - -

Replace the input object (keyboard.input)

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - setInput(input: string, inputName: string): * - - - - source - -

- - - - -

Set the keyboard’s input.

+

Register module

@@ -2022,7 +1807,7 @@ keyboard.clearInput(); - source + source @@ -2053,50 +1838,6 @@ keyboard.clearInput(); -
-
-

- public - - - - - - syncInstanceInputs: * - - - - source - -

- - - - -

Send a command to all simple-keyboard instances (if you have several instances).

-
- - - -
-
- - - - - - - - - - - - - - - - -

@@ -2143,7 +1884,976 @@ keyboard.clearInput();

+

Public Methods

+
+

+ public + + + + + + addButtonTheme(buttons: string, className: string): boolean + + + + source + +

+ + + + +

Adds/Modifies an entry to the buttonTheme. Basically a way to add a class to a button.

+
+ + + +
+

Params:

+
Public Methods
+ public + + + + + +
+

+ + + + addButtonTheme(buttons: string, className: string): boolean +

+
+
+ + +

Adds/Modifies an entry to the buttonTheme.

+ + +
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Remove all keyboard rows and reset keyboard values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + clearInput(inputName: string) +

+
+
+ + +

Clear the keyboard’s input.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + dispatch(callback: function(instance: object, key: string)): * +

+
+
+ + +

Send a command to all simple-keyboard instances at once (if you have multiple instances).

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getButtonElement(button: string): * +

+
+
+ + +

Get the DOM Element of a button.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getInput(inputName: string): * +

+
+
+ + +

Get the keyboard’s input (You can also get it from the onChange prop).

+
+
+
+ + +
+ public + + + + + +
+

+ + + + handleButtonClicked(button: string): boolean +

+
+
+ + +

Handles clicks made to keyboard buttons

+
+
+
+ + +
+ public + + + + + +
+

+ + + + handleCaret() +

+
+
+ + +

Retrieves the current cursor position within a input or textarea (if any)

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onInit() +

+
+
+ + +

Executes the callback function once simple-keyboard is rendered for the first time (on initialization).

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onRender() +

+
+
+ + +

Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).

+
+
+
+ + +
+ public + + + + + +
+

+ + + + removeButtonTheme(buttons: string, className: string): boolean +

+
+
+ + +

Removes/Amends an entry to the buttonTheme.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + render() +

+
+
+ + +

Renders rows and buttons as per options

+
+
+
+ + +
+ public + + + + + +
+

+ + + + replaceInput(inputObj: object) +

+
+
+ + +

Replace the input object (keyboard.input)

+
+
+
+ + +
+ public + + + + + +
+

+ + + + setInput(input: string, inputName: string) +

+
+
+ + +

Set the keyboard’s input.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + syncInstanceInputs() +

+
+
+ + +

Send a command to all simple-keyboard instances (if you have several instances).

+ + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
buttonsstring

List of buttons to select (separated by a space).

+
classNamestring

Classes to give to the selected buttons (separated by space).

+
+
+ + +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + + +
+

+ public + + + + + + caretEventHandler(event: *) + + + + source + +

+ + + + +

Called by handleCaret when an event that warrants a cursor position update is triggered

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
event*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + clear() + + + + source + +

+ + + + +

Remove all keyboard rows and reset keyboard values. +Used interally between re-renders.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + clearInput(inputName: string) + + + + source + +

+ + + + +

Clear the keyboard’s input.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
inputNamestring
  • optional

optional - the internal input to select

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + dispatch(callback: function(instance: object, key: string)): * + + + + source + +

+ + + + +

Send a command to all simple-keyboard instances at once (if you have multiple instances).

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
callbackfunction(instance: object, key: string)

Function to run on every instance

+
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getButtonElement(button: string): * + + + + source + +

+ + + + +

Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
buttonstring

The button layout name to select

+
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getInput(inputName: string): * + + + + source + +

+ + + + +

Get the keyboard’s input (You can also get it from the onChange prop).

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
inputNamestring
  • optional

optional - the internal input to select

+
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + handleButtonClicked(button: string): boolean + + + + source + +

+ + + + +

Handles clicks made to keyboard buttons

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
buttonstring

The button's layout name.

+
+
+
+ +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + handleCaret() + + + + source + +

+ + + + +

Retrieves the current cursor position within a input or textarea (if any)

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onInit() + + + + source + +

+ + + + +

Executes the callback function once simple-keyboard is rendered for the first time (on initialization).

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onRender() + + + + source + +

+ + + + +

Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + removeButtonTheme(buttons: string, className: string): boolean + + + + source + +

+ + + + +

Removes/Amends an entry to the buttonTheme. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
buttonsstring

List of buttons to select (separated by a space).

+
classNamestring

Classes to give to the selected buttons (separated by space).

+
+
+
+ +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + render() + + + + source + +

+ + + + +

Renders rows and buttons as per options

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + replaceInput(inputObj: object) + + + + source + +

+ + + + +

Replace the input object (keyboard.input)

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
inputObjobject

The input object

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + setInput(input: string, inputName: string) + + + + source + +

+ + + + +

Set the keyboard’s input.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
inputstring

the input value

+
inputNamestring

optional - the internal input to select

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + syncInstanceInputs() + + + + source + +

+ + + + +

Send a command to all simple-keyboard instances (if you have several instances).

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+